@tripsam/onboarding 1.0.59 → 1.0.61
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-D9n8kAom.d.cts → index-B7pJenUb.d.cts} +67 -32
- package/dist/{index-D9n8kAom.d.ts → index-B7pJenUb.d.ts} +67 -32
- package/dist/index.cjs +27 -14
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +27 -14
- package/dist/safari/index.cjs +27 -14
- package/dist/safari/index.d.cts +1 -1
- package/dist/safari/index.d.ts +1 -1
- package/dist/safari/index.js +27 -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,17 +48,17 @@ declare const update$3: z.ZodObject<{
|
|
|
48
48
|
phone: z.ZodString;
|
|
49
49
|
type: z.ZodString;
|
|
50
50
|
}, z.core.$strip>;
|
|
51
|
-
type SafeGet$
|
|
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
|
-
declare const defaultBasicDetails: SafeGet$
|
|
54
|
+
declare const defaultBasicDetails: SafeGet$4;
|
|
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$5 as SafeCreate, type SafeGet$
|
|
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,17 +121,17 @@ 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$
|
|
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>;
|
|
128
|
-
declare const defaultLocation: SafeGet$
|
|
128
|
+
declare const defaultLocation: SafeGet$3;
|
|
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$4 as SafeCreate, type SafeGet$
|
|
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: z.ZodObject<{
|
|
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>;
|
|
@@ -161,7 +161,7 @@ declare const get$1: z.ZodObject<{
|
|
|
161
161
|
endTime: z.ZodCoercedNumber<unknown>;
|
|
162
162
|
minHour: z.ZodCoercedNumber<unknown>;
|
|
163
163
|
}, z.core.$strip>;
|
|
164
|
-
declare const list: z.ZodArray<z.ZodObject<{
|
|
164
|
+
declare const list$1: z.ZodArray<z.ZodObject<{
|
|
165
165
|
id: z.ZodString;
|
|
166
166
|
name: z.ZodString;
|
|
167
167
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -169,18 +169,15 @@ declare const list: z.ZodArray<z.ZodObject<{
|
|
|
169
169
|
endTime: z.ZodCoercedNumber<unknown>;
|
|
170
170
|
minHour: z.ZodCoercedNumber<unknown>;
|
|
171
171
|
}, z.core.$strip>>;
|
|
172
|
-
type SafeGet$
|
|
173
|
-
type SafeList$
|
|
172
|
+
type SafeGet$2 = z.output<typeof get$3>;
|
|
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 = z.output<typeof remove>;
|
|
176
|
+
type SafeRemove$2 = z.output<typeof remove$2>;
|
|
177
177
|
|
|
178
|
-
type slot_SafeRemove = SafeRemove;
|
|
179
|
-
declare const slot_list: typeof list;
|
|
180
|
-
declare const slot_remove: typeof remove;
|
|
181
178
|
declare const slot_time12h: typeof time12h;
|
|
182
179
|
declare namespace slot {
|
|
183
|
-
export { type SafeCreate$3 as SafeCreate, type SafeGet$
|
|
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 };
|
|
184
181
|
}
|
|
185
182
|
|
|
186
183
|
declare const Weekday: z.ZodEnum<{
|
|
@@ -192,7 +189,7 @@ declare const Weekday: z.ZodEnum<{
|
|
|
192
189
|
friday: "friday";
|
|
193
190
|
saturday: "saturday";
|
|
194
191
|
}>;
|
|
195
|
-
declare const get: z.ZodObject<{
|
|
192
|
+
declare const get$2: z.ZodObject<{
|
|
196
193
|
id: z.ZodString;
|
|
197
194
|
operationalDays: z.ZodPipe<z.ZodArray<z.ZodEnum<{
|
|
198
195
|
sunday: "sunday";
|
|
@@ -227,22 +224,20 @@ declare const update: z.ZodObject<{
|
|
|
227
224
|
saturday: "saturday";
|
|
228
225
|
}>>, z.ZodTransform<("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[], ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[]>>;
|
|
229
226
|
}, z.core.$strip>;
|
|
230
|
-
type SafeGet = z.output<typeof get>;
|
|
227
|
+
type SafeGet$1 = z.output<typeof get$2>;
|
|
231
228
|
type SafeWeekdays = z.output<typeof Weekday>;
|
|
232
229
|
type SafeCreate$2 = z.output<typeof create$2>;
|
|
233
230
|
type SafeUpdate = z.output<typeof update>;
|
|
234
231
|
|
|
235
|
-
type operationalDays_SafeGet = SafeGet;
|
|
236
232
|
type operationalDays_SafeUpdate = SafeUpdate;
|
|
237
233
|
type operationalDays_SafeWeekdays = SafeWeekdays;
|
|
238
234
|
declare const operationalDays_Weekday: typeof Weekday;
|
|
239
|
-
declare const operationalDays_get: typeof get;
|
|
240
235
|
declare const operationalDays_update: typeof update;
|
|
241
236
|
declare namespace operationalDays {
|
|
242
|
-
export { type SafeCreate$2 as SafeCreate, type
|
|
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 };
|
|
243
238
|
}
|
|
244
239
|
|
|
245
|
-
declare const
|
|
240
|
+
declare const get$1: z.ZodObject<{
|
|
246
241
|
id: z.ZodString;
|
|
247
242
|
vehicleName: z.ZodString;
|
|
248
243
|
registrationNumber: z.ZodString;
|
|
@@ -257,38 +252,78 @@ declare const save$1: z.ZodObject<{
|
|
|
257
252
|
operatedSince: z.ZodCoercedNumber<unknown>;
|
|
258
253
|
maxCapacity: z.ZodCoercedNumber<unknown>;
|
|
259
254
|
}, z.core.$strip>;
|
|
260
|
-
|
|
255
|
+
declare const remove$1: z.ZodObject<{
|
|
256
|
+
id: z.ZodString;
|
|
257
|
+
}, z.core.$strip>;
|
|
258
|
+
declare const list: z.ZodArray<z.ZodObject<{
|
|
259
|
+
id: z.ZodString;
|
|
260
|
+
vehicleName: z.ZodString;
|
|
261
|
+
registrationNumber: z.ZodString;
|
|
262
|
+
serviceRoutine: z.ZodCoercedNumber<unknown>;
|
|
263
|
+
operatedSince: z.ZodCoercedNumber<unknown>;
|
|
264
|
+
maxCapacity: z.ZodCoercedNumber<unknown>;
|
|
265
|
+
}, z.core.$strip>>;
|
|
266
|
+
type SafeGet = z.infer<typeof get$1>;
|
|
261
267
|
type SafeSave$1 = z.output<typeof save$1>;
|
|
268
|
+
type SafeRemove$1 = z.output<typeof remove$1>;
|
|
269
|
+
type SafeList$1 = z.output<typeof list>;
|
|
262
270
|
|
|
271
|
+
type vehicleDetails_SafeGet = SafeGet;
|
|
272
|
+
declare const vehicleDetails_list: typeof list;
|
|
263
273
|
declare namespace vehicleDetails {
|
|
264
|
-
export { 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 };
|
|
265
275
|
}
|
|
266
276
|
|
|
267
|
-
declare const
|
|
277
|
+
declare const get: z.ZodObject<{
|
|
268
278
|
id: z.ZodString;
|
|
269
279
|
driverName: z.ZodString;
|
|
270
280
|
licenseNumber: z.ZodString;
|
|
271
281
|
experience: z.ZodCoercedNumber<unknown>;
|
|
282
|
+
languageKnowledge: z.ZodArray<z.ZodEnum<{
|
|
283
|
+
english: "english";
|
|
284
|
+
hindi: "hindi";
|
|
285
|
+
gujurati: "gujurati";
|
|
286
|
+
marathi: "marathi";
|
|
287
|
+
}>>;
|
|
272
288
|
}, z.core.$strip>;
|
|
273
289
|
declare const create$1: z.ZodObject<{
|
|
274
290
|
driverName: z.ZodString;
|
|
275
291
|
licenseNumber: z.ZodString;
|
|
276
292
|
experience: z.ZodCoercedNumber<unknown>;
|
|
293
|
+
languageKnowledge: z.ZodArray<z.ZodEnum<{
|
|
294
|
+
english: "english";
|
|
295
|
+
hindi: "hindi";
|
|
296
|
+
gujurati: "gujurati";
|
|
297
|
+
marathi: "marathi";
|
|
298
|
+
}>>;
|
|
299
|
+
}, z.core.$strip>;
|
|
300
|
+
declare const remove: z.ZodObject<{
|
|
301
|
+
id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
277
302
|
}, z.core.$strip>;
|
|
278
|
-
declare const
|
|
303
|
+
declare const getList: z.ZodArray<z.ZodObject<{
|
|
279
304
|
id: z.ZodString;
|
|
280
305
|
driverName: z.ZodString;
|
|
281
306
|
licenseNumber: z.ZodString;
|
|
282
307
|
experience: z.ZodCoercedNumber<unknown>;
|
|
308
|
+
languageKnowledge: z.ZodArray<z.ZodEnum<{
|
|
309
|
+
english: "english";
|
|
310
|
+
hindi: "hindi";
|
|
311
|
+
gujurati: "gujurati";
|
|
312
|
+
marathi: "marathi";
|
|
313
|
+
}>>;
|
|
283
314
|
}, z.core.$strip>>;
|
|
284
|
-
type SafeMe$3 = z.infer<typeof
|
|
315
|
+
type SafeMe$3 = z.infer<typeof get>;
|
|
285
316
|
type SafeCreate$1 = z.output<typeof create$1>;
|
|
286
|
-
type SafeList = z.output<typeof
|
|
317
|
+
type SafeList = z.output<typeof getList>;
|
|
318
|
+
type SafeRemove = z.output<typeof remove>;
|
|
287
319
|
|
|
288
320
|
type driverDetails_SafeList = SafeList;
|
|
289
|
-
|
|
321
|
+
type driverDetails_SafeRemove = SafeRemove;
|
|
322
|
+
declare const driverDetails_get: typeof get;
|
|
323
|
+
declare const driverDetails_getList: typeof getList;
|
|
324
|
+
declare const driverDetails_remove: typeof remove;
|
|
290
325
|
declare namespace driverDetails {
|
|
291
|
-
export { type SafeCreate$1 as SafeCreate, type driverDetails_SafeList as SafeList, type SafeMe$3 as SafeMe, create$1 as create,
|
|
326
|
+
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_remove as remove };
|
|
292
327
|
}
|
|
293
328
|
|
|
294
329
|
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,17 +48,17 @@ declare const update$3: z.ZodObject<{
|
|
|
48
48
|
phone: z.ZodString;
|
|
49
49
|
type: z.ZodString;
|
|
50
50
|
}, z.core.$strip>;
|
|
51
|
-
type SafeGet$
|
|
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
|
-
declare const defaultBasicDetails: SafeGet$
|
|
54
|
+
declare const defaultBasicDetails: SafeGet$4;
|
|
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$5 as SafeCreate, type SafeGet$
|
|
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,17 +121,17 @@ 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$
|
|
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>;
|
|
128
|
-
declare const defaultLocation: SafeGet$
|
|
128
|
+
declare const defaultLocation: SafeGet$3;
|
|
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$4 as SafeCreate, type SafeGet$
|
|
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: z.ZodObject<{
|
|
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>;
|
|
@@ -161,7 +161,7 @@ declare const get$1: z.ZodObject<{
|
|
|
161
161
|
endTime: z.ZodCoercedNumber<unknown>;
|
|
162
162
|
minHour: z.ZodCoercedNumber<unknown>;
|
|
163
163
|
}, z.core.$strip>;
|
|
164
|
-
declare const list: z.ZodArray<z.ZodObject<{
|
|
164
|
+
declare const list$1: z.ZodArray<z.ZodObject<{
|
|
165
165
|
id: z.ZodString;
|
|
166
166
|
name: z.ZodString;
|
|
167
167
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -169,18 +169,15 @@ declare const list: z.ZodArray<z.ZodObject<{
|
|
|
169
169
|
endTime: z.ZodCoercedNumber<unknown>;
|
|
170
170
|
minHour: z.ZodCoercedNumber<unknown>;
|
|
171
171
|
}, z.core.$strip>>;
|
|
172
|
-
type SafeGet$
|
|
173
|
-
type SafeList$
|
|
172
|
+
type SafeGet$2 = z.output<typeof get$3>;
|
|
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 = z.output<typeof remove>;
|
|
176
|
+
type SafeRemove$2 = z.output<typeof remove$2>;
|
|
177
177
|
|
|
178
|
-
type slot_SafeRemove = SafeRemove;
|
|
179
|
-
declare const slot_list: typeof list;
|
|
180
|
-
declare const slot_remove: typeof remove;
|
|
181
178
|
declare const slot_time12h: typeof time12h;
|
|
182
179
|
declare namespace slot {
|
|
183
|
-
export { type SafeCreate$3 as SafeCreate, type SafeGet$
|
|
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 };
|
|
184
181
|
}
|
|
185
182
|
|
|
186
183
|
declare const Weekday: z.ZodEnum<{
|
|
@@ -192,7 +189,7 @@ declare const Weekday: z.ZodEnum<{
|
|
|
192
189
|
friday: "friday";
|
|
193
190
|
saturday: "saturday";
|
|
194
191
|
}>;
|
|
195
|
-
declare const get: z.ZodObject<{
|
|
192
|
+
declare const get$2: z.ZodObject<{
|
|
196
193
|
id: z.ZodString;
|
|
197
194
|
operationalDays: z.ZodPipe<z.ZodArray<z.ZodEnum<{
|
|
198
195
|
sunday: "sunday";
|
|
@@ -227,22 +224,20 @@ declare const update: z.ZodObject<{
|
|
|
227
224
|
saturday: "saturday";
|
|
228
225
|
}>>, z.ZodTransform<("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[], ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[]>>;
|
|
229
226
|
}, z.core.$strip>;
|
|
230
|
-
type SafeGet = z.output<typeof get>;
|
|
227
|
+
type SafeGet$1 = z.output<typeof get$2>;
|
|
231
228
|
type SafeWeekdays = z.output<typeof Weekday>;
|
|
232
229
|
type SafeCreate$2 = z.output<typeof create$2>;
|
|
233
230
|
type SafeUpdate = z.output<typeof update>;
|
|
234
231
|
|
|
235
|
-
type operationalDays_SafeGet = SafeGet;
|
|
236
232
|
type operationalDays_SafeUpdate = SafeUpdate;
|
|
237
233
|
type operationalDays_SafeWeekdays = SafeWeekdays;
|
|
238
234
|
declare const operationalDays_Weekday: typeof Weekday;
|
|
239
|
-
declare const operationalDays_get: typeof get;
|
|
240
235
|
declare const operationalDays_update: typeof update;
|
|
241
236
|
declare namespace operationalDays {
|
|
242
|
-
export { type SafeCreate$2 as SafeCreate, type
|
|
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 };
|
|
243
238
|
}
|
|
244
239
|
|
|
245
|
-
declare const
|
|
240
|
+
declare const get$1: z.ZodObject<{
|
|
246
241
|
id: z.ZodString;
|
|
247
242
|
vehicleName: z.ZodString;
|
|
248
243
|
registrationNumber: z.ZodString;
|
|
@@ -257,38 +252,78 @@ declare const save$1: z.ZodObject<{
|
|
|
257
252
|
operatedSince: z.ZodCoercedNumber<unknown>;
|
|
258
253
|
maxCapacity: z.ZodCoercedNumber<unknown>;
|
|
259
254
|
}, z.core.$strip>;
|
|
260
|
-
|
|
255
|
+
declare const remove$1: z.ZodObject<{
|
|
256
|
+
id: z.ZodString;
|
|
257
|
+
}, z.core.$strip>;
|
|
258
|
+
declare const list: z.ZodArray<z.ZodObject<{
|
|
259
|
+
id: z.ZodString;
|
|
260
|
+
vehicleName: z.ZodString;
|
|
261
|
+
registrationNumber: z.ZodString;
|
|
262
|
+
serviceRoutine: z.ZodCoercedNumber<unknown>;
|
|
263
|
+
operatedSince: z.ZodCoercedNumber<unknown>;
|
|
264
|
+
maxCapacity: z.ZodCoercedNumber<unknown>;
|
|
265
|
+
}, z.core.$strip>>;
|
|
266
|
+
type SafeGet = z.infer<typeof get$1>;
|
|
261
267
|
type SafeSave$1 = z.output<typeof save$1>;
|
|
268
|
+
type SafeRemove$1 = z.output<typeof remove$1>;
|
|
269
|
+
type SafeList$1 = z.output<typeof list>;
|
|
262
270
|
|
|
271
|
+
type vehicleDetails_SafeGet = SafeGet;
|
|
272
|
+
declare const vehicleDetails_list: typeof list;
|
|
263
273
|
declare namespace vehicleDetails {
|
|
264
|
-
export { 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 };
|
|
265
275
|
}
|
|
266
276
|
|
|
267
|
-
declare const
|
|
277
|
+
declare const get: z.ZodObject<{
|
|
268
278
|
id: z.ZodString;
|
|
269
279
|
driverName: z.ZodString;
|
|
270
280
|
licenseNumber: z.ZodString;
|
|
271
281
|
experience: z.ZodCoercedNumber<unknown>;
|
|
282
|
+
languageKnowledge: z.ZodArray<z.ZodEnum<{
|
|
283
|
+
english: "english";
|
|
284
|
+
hindi: "hindi";
|
|
285
|
+
gujurati: "gujurati";
|
|
286
|
+
marathi: "marathi";
|
|
287
|
+
}>>;
|
|
272
288
|
}, z.core.$strip>;
|
|
273
289
|
declare const create$1: z.ZodObject<{
|
|
274
290
|
driverName: z.ZodString;
|
|
275
291
|
licenseNumber: z.ZodString;
|
|
276
292
|
experience: z.ZodCoercedNumber<unknown>;
|
|
293
|
+
languageKnowledge: z.ZodArray<z.ZodEnum<{
|
|
294
|
+
english: "english";
|
|
295
|
+
hindi: "hindi";
|
|
296
|
+
gujurati: "gujurati";
|
|
297
|
+
marathi: "marathi";
|
|
298
|
+
}>>;
|
|
299
|
+
}, z.core.$strip>;
|
|
300
|
+
declare const remove: z.ZodObject<{
|
|
301
|
+
id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
277
302
|
}, z.core.$strip>;
|
|
278
|
-
declare const
|
|
303
|
+
declare const getList: z.ZodArray<z.ZodObject<{
|
|
279
304
|
id: z.ZodString;
|
|
280
305
|
driverName: z.ZodString;
|
|
281
306
|
licenseNumber: z.ZodString;
|
|
282
307
|
experience: z.ZodCoercedNumber<unknown>;
|
|
308
|
+
languageKnowledge: z.ZodArray<z.ZodEnum<{
|
|
309
|
+
english: "english";
|
|
310
|
+
hindi: "hindi";
|
|
311
|
+
gujurati: "gujurati";
|
|
312
|
+
marathi: "marathi";
|
|
313
|
+
}>>;
|
|
283
314
|
}, z.core.$strip>>;
|
|
284
|
-
type SafeMe$3 = z.infer<typeof
|
|
315
|
+
type SafeMe$3 = z.infer<typeof get>;
|
|
285
316
|
type SafeCreate$1 = z.output<typeof create$1>;
|
|
286
|
-
type SafeList = z.output<typeof
|
|
317
|
+
type SafeList = z.output<typeof getList>;
|
|
318
|
+
type SafeRemove = z.output<typeof remove>;
|
|
287
319
|
|
|
288
320
|
type driverDetails_SafeList = SafeList;
|
|
289
|
-
|
|
321
|
+
type driverDetails_SafeRemove = SafeRemove;
|
|
322
|
+
declare const driverDetails_get: typeof get;
|
|
323
|
+
declare const driverDetails_getList: typeof getList;
|
|
324
|
+
declare const driverDetails_remove: typeof remove;
|
|
290
325
|
declare namespace driverDetails {
|
|
291
|
-
export { type SafeCreate$1 as SafeCreate, type driverDetails_SafeList as SafeList, type SafeMe$3 as SafeMe, create$1 as create,
|
|
326
|
+
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_remove as remove };
|
|
292
327
|
}
|
|
293
328
|
|
|
294
329
|
declare const me$2: z.ZodObject<{
|
package/dist/index.cjs
CHANGED
|
@@ -264,11 +264,13 @@ var update4 = import_zod5.z.object({
|
|
|
264
264
|
// src/safari/vehicle-details.ts
|
|
265
265
|
var vehicle_details_exports = {};
|
|
266
266
|
__export(vehicle_details_exports, {
|
|
267
|
-
|
|
267
|
+
get: () => get5,
|
|
268
|
+
list: () => list2,
|
|
269
|
+
remove: () => remove2,
|
|
268
270
|
save: () => save
|
|
269
271
|
});
|
|
270
272
|
var import_zod6 = require("zod");
|
|
271
|
-
var
|
|
273
|
+
var get5 = import_zod6.z.object({
|
|
272
274
|
id: import_zod6.z.string(),
|
|
273
275
|
vehicleName: import_zod6.z.string().trim(),
|
|
274
276
|
registrationNumber: import_zod6.z.string().trim().toUpperCase(),
|
|
@@ -283,36 +285,47 @@ var save = import_zod6.z.object({
|
|
|
283
285
|
operatedSince: import_zod6.z.coerce.number("invalid").min(2010, "min"),
|
|
284
286
|
maxCapacity: import_zod6.z.coerce.number("invalid").min(2, "min").max(15, "max")
|
|
285
287
|
});
|
|
288
|
+
var remove2 = import_zod6.z.object({
|
|
289
|
+
id: import_zod6.z.string().trim()
|
|
290
|
+
});
|
|
291
|
+
var list2 = import_zod6.z.array(get5);
|
|
286
292
|
|
|
287
293
|
// src/safari/driver-details.ts
|
|
288
294
|
var driver_details_exports = {};
|
|
289
295
|
__export(driver_details_exports, {
|
|
290
296
|
create: () => create5,
|
|
291
|
-
|
|
292
|
-
|
|
297
|
+
get: () => get6,
|
|
298
|
+
getList: () => getList,
|
|
299
|
+
remove: () => remove3
|
|
293
300
|
});
|
|
294
301
|
var import_zod7 = require("zod");
|
|
295
|
-
var
|
|
302
|
+
var languageKnowledgeEnum = import_zod7.z.enum(["english", "hindi", "gujurati", "marathi"]);
|
|
303
|
+
var get6 = import_zod7.z.object({
|
|
296
304
|
id: import_zod7.z.string(),
|
|
297
305
|
driverName: import_zod7.z.string().trim(),
|
|
298
306
|
licenseNumber: import_zod7.z.string().trim().toUpperCase(),
|
|
299
|
-
experience: import_zod7.z.coerce.number()
|
|
307
|
+
experience: import_zod7.z.coerce.number(),
|
|
308
|
+
languageKnowledge: import_zod7.z.array(languageKnowledgeEnum)
|
|
300
309
|
});
|
|
301
310
|
var create5 = import_zod7.z.object({
|
|
302
311
|
driverName: import_zod7.z.string().trim().nonempty("required"),
|
|
303
312
|
licenseNumber: import_zod7.z.string().trim().nonempty("required").toUpperCase(),
|
|
304
|
-
experience: import_zod7.z.coerce.number().min(1, "min")
|
|
313
|
+
experience: import_zod7.z.coerce.number().min(1, "min"),
|
|
314
|
+
languageKnowledge: import_zod7.z.array(languageKnowledgeEnum)
|
|
305
315
|
});
|
|
306
|
-
var
|
|
316
|
+
var remove3 = import_zod7.z.object({
|
|
317
|
+
id: import_zod7.z.string().trim().optional().default("")
|
|
318
|
+
});
|
|
319
|
+
var getList = import_zod7.z.array(get6);
|
|
307
320
|
|
|
308
321
|
// src/safari/business-details.ts
|
|
309
322
|
var business_details_exports = {};
|
|
310
323
|
__export(business_details_exports, {
|
|
311
324
|
create: () => create6,
|
|
312
|
-
me: () =>
|
|
325
|
+
me: () => me
|
|
313
326
|
});
|
|
314
327
|
var import_zod8 = require("zod");
|
|
315
|
-
var
|
|
328
|
+
var me = import_zod8.z.object({
|
|
316
329
|
bankAccountNumber: import_zod8.z.string().trim(),
|
|
317
330
|
bankName: import_zod8.z.string().trim(),
|
|
318
331
|
accountHolderName: import_zod8.z.string().trim(),
|
|
@@ -332,11 +345,11 @@ var create6 = import_zod8.z.object({
|
|
|
332
345
|
// src/safari/personal-details.ts
|
|
333
346
|
var personal_details_exports = {};
|
|
334
347
|
__export(personal_details_exports, {
|
|
335
|
-
me: () =>
|
|
348
|
+
me: () => me2,
|
|
336
349
|
save: () => save2
|
|
337
350
|
});
|
|
338
351
|
var import_zod9 = require("zod");
|
|
339
|
-
var
|
|
352
|
+
var me2 = import_zod9.z.object({
|
|
340
353
|
adhaarNumber: import_zod9.z.string().trim(),
|
|
341
354
|
address: import_zod9.z.string().trim()
|
|
342
355
|
});
|
|
@@ -348,12 +361,12 @@ var save2 = import_zod9.z.object({
|
|
|
348
361
|
// src/safari/step.ts
|
|
349
362
|
var step_exports = {};
|
|
350
363
|
__export(step_exports, {
|
|
351
|
-
me: () =>
|
|
364
|
+
me: () => me3,
|
|
352
365
|
steps: () => steps
|
|
353
366
|
});
|
|
354
367
|
var import_zod10 = require("zod");
|
|
355
368
|
var steps = import_zod10.z.enum(["basic_info", "location"]);
|
|
356
|
-
var
|
|
369
|
+
var me3 = import_zod10.z.object({
|
|
357
370
|
email: import_zod10.z.string(),
|
|
358
371
|
name: import_zod10.z.string().trim().optional().default(""),
|
|
359
372
|
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
|
@@ -233,11 +233,13 @@ var update4 = z5.object({
|
|
|
233
233
|
// src/safari/vehicle-details.ts
|
|
234
234
|
var vehicle_details_exports = {};
|
|
235
235
|
__export(vehicle_details_exports, {
|
|
236
|
-
|
|
236
|
+
get: () => get5,
|
|
237
|
+
list: () => list2,
|
|
238
|
+
remove: () => remove2,
|
|
237
239
|
save: () => save
|
|
238
240
|
});
|
|
239
241
|
import { z as z6 } from "zod";
|
|
240
|
-
var
|
|
242
|
+
var get5 = z6.object({
|
|
241
243
|
id: z6.string(),
|
|
242
244
|
vehicleName: z6.string().trim(),
|
|
243
245
|
registrationNumber: z6.string().trim().toUpperCase(),
|
|
@@ -252,36 +254,47 @@ var save = z6.object({
|
|
|
252
254
|
operatedSince: z6.coerce.number("invalid").min(2010, "min"),
|
|
253
255
|
maxCapacity: z6.coerce.number("invalid").min(2, "min").max(15, "max")
|
|
254
256
|
});
|
|
257
|
+
var remove2 = z6.object({
|
|
258
|
+
id: z6.string().trim()
|
|
259
|
+
});
|
|
260
|
+
var list2 = z6.array(get5);
|
|
255
261
|
|
|
256
262
|
// src/safari/driver-details.ts
|
|
257
263
|
var driver_details_exports = {};
|
|
258
264
|
__export(driver_details_exports, {
|
|
259
265
|
create: () => create5,
|
|
260
|
-
|
|
261
|
-
|
|
266
|
+
get: () => get6,
|
|
267
|
+
getList: () => getList,
|
|
268
|
+
remove: () => remove3
|
|
262
269
|
});
|
|
263
270
|
import { z as z7 } from "zod";
|
|
264
|
-
var
|
|
271
|
+
var languageKnowledgeEnum = z7.enum(["english", "hindi", "gujurati", "marathi"]);
|
|
272
|
+
var get6 = z7.object({
|
|
265
273
|
id: z7.string(),
|
|
266
274
|
driverName: z7.string().trim(),
|
|
267
275
|
licenseNumber: z7.string().trim().toUpperCase(),
|
|
268
|
-
experience: z7.coerce.number()
|
|
276
|
+
experience: z7.coerce.number(),
|
|
277
|
+
languageKnowledge: z7.array(languageKnowledgeEnum)
|
|
269
278
|
});
|
|
270
279
|
var create5 = z7.object({
|
|
271
280
|
driverName: z7.string().trim().nonempty("required"),
|
|
272
281
|
licenseNumber: z7.string().trim().nonempty("required").toUpperCase(),
|
|
273
|
-
experience: z7.coerce.number().min(1, "min")
|
|
282
|
+
experience: z7.coerce.number().min(1, "min"),
|
|
283
|
+
languageKnowledge: z7.array(languageKnowledgeEnum)
|
|
274
284
|
});
|
|
275
|
-
var
|
|
285
|
+
var remove3 = z7.object({
|
|
286
|
+
id: z7.string().trim().optional().default("")
|
|
287
|
+
});
|
|
288
|
+
var getList = z7.array(get6);
|
|
276
289
|
|
|
277
290
|
// src/safari/business-details.ts
|
|
278
291
|
var business_details_exports = {};
|
|
279
292
|
__export(business_details_exports, {
|
|
280
293
|
create: () => create6,
|
|
281
|
-
me: () =>
|
|
294
|
+
me: () => me
|
|
282
295
|
});
|
|
283
296
|
import { z as z8 } from "zod";
|
|
284
|
-
var
|
|
297
|
+
var me = z8.object({
|
|
285
298
|
bankAccountNumber: z8.string().trim(),
|
|
286
299
|
bankName: z8.string().trim(),
|
|
287
300
|
accountHolderName: z8.string().trim(),
|
|
@@ -301,11 +314,11 @@ var create6 = z8.object({
|
|
|
301
314
|
// src/safari/personal-details.ts
|
|
302
315
|
var personal_details_exports = {};
|
|
303
316
|
__export(personal_details_exports, {
|
|
304
|
-
me: () =>
|
|
317
|
+
me: () => me2,
|
|
305
318
|
save: () => save2
|
|
306
319
|
});
|
|
307
320
|
import { z as z9 } from "zod";
|
|
308
|
-
var
|
|
321
|
+
var me2 = z9.object({
|
|
309
322
|
adhaarNumber: z9.string().trim(),
|
|
310
323
|
address: z9.string().trim()
|
|
311
324
|
});
|
|
@@ -317,12 +330,12 @@ var save2 = z9.object({
|
|
|
317
330
|
// src/safari/step.ts
|
|
318
331
|
var step_exports = {};
|
|
319
332
|
__export(step_exports, {
|
|
320
|
-
me: () =>
|
|
333
|
+
me: () => me3,
|
|
321
334
|
steps: () => steps
|
|
322
335
|
});
|
|
323
336
|
import { z as z10 } from "zod";
|
|
324
337
|
var steps = z10.enum(["basic_info", "location"]);
|
|
325
|
-
var
|
|
338
|
+
var me3 = z10.object({
|
|
326
339
|
email: z10.string(),
|
|
327
340
|
name: z10.string().trim().optional().default(""),
|
|
328
341
|
countryCode: z10.string().optional().default("+91"),
|
package/dist/safari/index.cjs
CHANGED
|
@@ -251,11 +251,13 @@ var update4 = import_zod5.z.object({
|
|
|
251
251
|
// src/safari/vehicle-details.ts
|
|
252
252
|
var vehicle_details_exports = {};
|
|
253
253
|
__export(vehicle_details_exports, {
|
|
254
|
-
|
|
254
|
+
get: () => get5,
|
|
255
|
+
list: () => list2,
|
|
256
|
+
remove: () => remove2,
|
|
255
257
|
save: () => save
|
|
256
258
|
});
|
|
257
259
|
var import_zod6 = require("zod");
|
|
258
|
-
var
|
|
260
|
+
var get5 = import_zod6.z.object({
|
|
259
261
|
id: import_zod6.z.string(),
|
|
260
262
|
vehicleName: import_zod6.z.string().trim(),
|
|
261
263
|
registrationNumber: import_zod6.z.string().trim().toUpperCase(),
|
|
@@ -270,36 +272,47 @@ var save = import_zod6.z.object({
|
|
|
270
272
|
operatedSince: import_zod6.z.coerce.number("invalid").min(2010, "min"),
|
|
271
273
|
maxCapacity: import_zod6.z.coerce.number("invalid").min(2, "min").max(15, "max")
|
|
272
274
|
});
|
|
275
|
+
var remove2 = import_zod6.z.object({
|
|
276
|
+
id: import_zod6.z.string().trim()
|
|
277
|
+
});
|
|
278
|
+
var list2 = import_zod6.z.array(get5);
|
|
273
279
|
|
|
274
280
|
// src/safari/driver-details.ts
|
|
275
281
|
var driver_details_exports = {};
|
|
276
282
|
__export(driver_details_exports, {
|
|
277
283
|
create: () => create5,
|
|
278
|
-
|
|
279
|
-
|
|
284
|
+
get: () => get6,
|
|
285
|
+
getList: () => getList,
|
|
286
|
+
remove: () => remove3
|
|
280
287
|
});
|
|
281
288
|
var import_zod7 = require("zod");
|
|
282
|
-
var
|
|
289
|
+
var languageKnowledgeEnum = import_zod7.z.enum(["english", "hindi", "gujurati", "marathi"]);
|
|
290
|
+
var get6 = import_zod7.z.object({
|
|
283
291
|
id: import_zod7.z.string(),
|
|
284
292
|
driverName: import_zod7.z.string().trim(),
|
|
285
293
|
licenseNumber: import_zod7.z.string().trim().toUpperCase(),
|
|
286
|
-
experience: import_zod7.z.coerce.number()
|
|
294
|
+
experience: import_zod7.z.coerce.number(),
|
|
295
|
+
languageKnowledge: import_zod7.z.array(languageKnowledgeEnum)
|
|
287
296
|
});
|
|
288
297
|
var create5 = import_zod7.z.object({
|
|
289
298
|
driverName: import_zod7.z.string().trim().nonempty("required"),
|
|
290
299
|
licenseNumber: import_zod7.z.string().trim().nonempty("required").toUpperCase(),
|
|
291
|
-
experience: import_zod7.z.coerce.number().min(1, "min")
|
|
300
|
+
experience: import_zod7.z.coerce.number().min(1, "min"),
|
|
301
|
+
languageKnowledge: import_zod7.z.array(languageKnowledgeEnum)
|
|
292
302
|
});
|
|
293
|
-
var
|
|
303
|
+
var remove3 = import_zod7.z.object({
|
|
304
|
+
id: import_zod7.z.string().trim().optional().default("")
|
|
305
|
+
});
|
|
306
|
+
var getList = import_zod7.z.array(get6);
|
|
294
307
|
|
|
295
308
|
// src/safari/business-details.ts
|
|
296
309
|
var business_details_exports = {};
|
|
297
310
|
__export(business_details_exports, {
|
|
298
311
|
create: () => create6,
|
|
299
|
-
me: () =>
|
|
312
|
+
me: () => me
|
|
300
313
|
});
|
|
301
314
|
var import_zod8 = require("zod");
|
|
302
|
-
var
|
|
315
|
+
var me = import_zod8.z.object({
|
|
303
316
|
bankAccountNumber: import_zod8.z.string().trim(),
|
|
304
317
|
bankName: import_zod8.z.string().trim(),
|
|
305
318
|
accountHolderName: import_zod8.z.string().trim(),
|
|
@@ -319,11 +332,11 @@ var create6 = import_zod8.z.object({
|
|
|
319
332
|
// src/safari/personal-details.ts
|
|
320
333
|
var personal_details_exports = {};
|
|
321
334
|
__export(personal_details_exports, {
|
|
322
|
-
me: () =>
|
|
335
|
+
me: () => me2,
|
|
323
336
|
save: () => save2
|
|
324
337
|
});
|
|
325
338
|
var import_zod9 = require("zod");
|
|
326
|
-
var
|
|
339
|
+
var me2 = import_zod9.z.object({
|
|
327
340
|
adhaarNumber: import_zod9.z.string().trim(),
|
|
328
341
|
address: import_zod9.z.string().trim()
|
|
329
342
|
});
|
|
@@ -335,12 +348,12 @@ var save2 = import_zod9.z.object({
|
|
|
335
348
|
// src/safari/step.ts
|
|
336
349
|
var step_exports = {};
|
|
337
350
|
__export(step_exports, {
|
|
338
|
-
me: () =>
|
|
351
|
+
me: () => me3,
|
|
339
352
|
steps: () => steps
|
|
340
353
|
});
|
|
341
354
|
var import_zod10 = require("zod");
|
|
342
355
|
var steps = import_zod10.z.enum(["basic_info", "location"]);
|
|
343
|
-
var
|
|
356
|
+
var me3 = import_zod10.z.object({
|
|
344
357
|
email: import_zod10.z.string(),
|
|
345
358
|
name: import_zod10.z.string().trim().optional().default(""),
|
|
346
359
|
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-B7pJenUb.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-B7pJenUb.js';
|
|
2
2
|
import 'zod';
|
package/dist/safari/index.js
CHANGED
|
@@ -213,11 +213,13 @@ var update4 = z5.object({
|
|
|
213
213
|
// src/safari/vehicle-details.ts
|
|
214
214
|
var vehicle_details_exports = {};
|
|
215
215
|
__export(vehicle_details_exports, {
|
|
216
|
-
|
|
216
|
+
get: () => get5,
|
|
217
|
+
list: () => list2,
|
|
218
|
+
remove: () => remove2,
|
|
217
219
|
save: () => save
|
|
218
220
|
});
|
|
219
221
|
import { z as z6 } from "zod";
|
|
220
|
-
var
|
|
222
|
+
var get5 = z6.object({
|
|
221
223
|
id: z6.string(),
|
|
222
224
|
vehicleName: z6.string().trim(),
|
|
223
225
|
registrationNumber: z6.string().trim().toUpperCase(),
|
|
@@ -232,36 +234,47 @@ var save = z6.object({
|
|
|
232
234
|
operatedSince: z6.coerce.number("invalid").min(2010, "min"),
|
|
233
235
|
maxCapacity: z6.coerce.number("invalid").min(2, "min").max(15, "max")
|
|
234
236
|
});
|
|
237
|
+
var remove2 = z6.object({
|
|
238
|
+
id: z6.string().trim()
|
|
239
|
+
});
|
|
240
|
+
var list2 = z6.array(get5);
|
|
235
241
|
|
|
236
242
|
// src/safari/driver-details.ts
|
|
237
243
|
var driver_details_exports = {};
|
|
238
244
|
__export(driver_details_exports, {
|
|
239
245
|
create: () => create5,
|
|
240
|
-
|
|
241
|
-
|
|
246
|
+
get: () => get6,
|
|
247
|
+
getList: () => getList,
|
|
248
|
+
remove: () => remove3
|
|
242
249
|
});
|
|
243
250
|
import { z as z7 } from "zod";
|
|
244
|
-
var
|
|
251
|
+
var languageKnowledgeEnum = z7.enum(["english", "hindi", "gujurati", "marathi"]);
|
|
252
|
+
var get6 = z7.object({
|
|
245
253
|
id: z7.string(),
|
|
246
254
|
driverName: z7.string().trim(),
|
|
247
255
|
licenseNumber: z7.string().trim().toUpperCase(),
|
|
248
|
-
experience: z7.coerce.number()
|
|
256
|
+
experience: z7.coerce.number(),
|
|
257
|
+
languageKnowledge: z7.array(languageKnowledgeEnum)
|
|
249
258
|
});
|
|
250
259
|
var create5 = z7.object({
|
|
251
260
|
driverName: z7.string().trim().nonempty("required"),
|
|
252
261
|
licenseNumber: z7.string().trim().nonempty("required").toUpperCase(),
|
|
253
|
-
experience: z7.coerce.number().min(1, "min")
|
|
262
|
+
experience: z7.coerce.number().min(1, "min"),
|
|
263
|
+
languageKnowledge: z7.array(languageKnowledgeEnum)
|
|
254
264
|
});
|
|
255
|
-
var
|
|
265
|
+
var remove3 = z7.object({
|
|
266
|
+
id: z7.string().trim().optional().default("")
|
|
267
|
+
});
|
|
268
|
+
var getList = z7.array(get6);
|
|
256
269
|
|
|
257
270
|
// src/safari/business-details.ts
|
|
258
271
|
var business_details_exports = {};
|
|
259
272
|
__export(business_details_exports, {
|
|
260
273
|
create: () => create6,
|
|
261
|
-
me: () =>
|
|
274
|
+
me: () => me
|
|
262
275
|
});
|
|
263
276
|
import { z as z8 } from "zod";
|
|
264
|
-
var
|
|
277
|
+
var me = z8.object({
|
|
265
278
|
bankAccountNumber: z8.string().trim(),
|
|
266
279
|
bankName: z8.string().trim(),
|
|
267
280
|
accountHolderName: z8.string().trim(),
|
|
@@ -281,11 +294,11 @@ var create6 = z8.object({
|
|
|
281
294
|
// src/safari/personal-details.ts
|
|
282
295
|
var personal_details_exports = {};
|
|
283
296
|
__export(personal_details_exports, {
|
|
284
|
-
me: () =>
|
|
297
|
+
me: () => me2,
|
|
285
298
|
save: () => save2
|
|
286
299
|
});
|
|
287
300
|
import { z as z9 } from "zod";
|
|
288
|
-
var
|
|
301
|
+
var me2 = z9.object({
|
|
289
302
|
adhaarNumber: z9.string().trim(),
|
|
290
303
|
address: z9.string().trim()
|
|
291
304
|
});
|
|
@@ -297,12 +310,12 @@ var save2 = z9.object({
|
|
|
297
310
|
// src/safari/step.ts
|
|
298
311
|
var step_exports = {};
|
|
299
312
|
__export(step_exports, {
|
|
300
|
-
me: () =>
|
|
313
|
+
me: () => me3,
|
|
301
314
|
steps: () => steps
|
|
302
315
|
});
|
|
303
316
|
import { z as z10 } from "zod";
|
|
304
317
|
var steps = z10.enum(["basic_info", "location"]);
|
|
305
|
-
var
|
|
318
|
+
var me3 = z10.object({
|
|
306
319
|
email: z10.string(),
|
|
307
320
|
name: z10.string().trim().optional().default(""),
|
|
308
321
|
countryCode: z10.string().optional().default("+91"),
|