@tripsam/onboarding 1.0.42 → 1.0.44

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.
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
 
3
- declare const me$7: z.ZodObject<{
3
+ declare const me$8: z.ZodObject<{
4
4
  id: z.ZodString;
5
5
  email: z.ZodString;
6
6
  name: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -26,11 +26,11 @@ declare const update$1: z.ZodObject<{
26
26
  phoneNumber: z.ZodString;
27
27
  type: z.ZodString;
28
28
  }, z.core.$strip>;
29
- type SafeMe$7 = z.infer<typeof me$7>;
29
+ type SafeMe$8 = z.infer<typeof me$8>;
30
30
  type SafeUpdate$1 = z.output<typeof update$1>;
31
31
 
32
32
  declare namespace basicDetails {
33
- export { type SafeMe$7 as SafeMe, type SafeUpdate$1 as SafeUpdate, me$7 as me, update$1 as update };
33
+ export { type SafeMe$8 as SafeMe, type SafeUpdate$1 as SafeUpdate, me$8 as me, update$1 as update };
34
34
  }
35
35
 
36
36
  declare const suggest: z.ZodObject<{
@@ -76,7 +76,7 @@ declare const save$2: z.ZodObject<{
76
76
  distanceKm: z.ZodCoercedNumber<unknown>;
77
77
  }, z.core.$strip>>;
78
78
  }, z.core.$strip>;
79
- declare const me$6: z.ZodObject<{
79
+ declare const me$7: z.ZodObject<{
80
80
  location: z.ZodObject<{
81
81
  id: z.ZodString;
82
82
  name: z.ZodString;
@@ -131,7 +131,7 @@ type SafeMinimum = z.output<typeof minimum>;
131
131
  type SafeMinimumList = z.output<typeof minimum>;
132
132
  type SafeSuggest = z.output<typeof suggest>;
133
133
  type SafeSave$2 = z.output<typeof save$2>;
134
- type SafeMe$6 = z.output<typeof me$6>;
134
+ type SafeMe$7 = z.output<typeof me$7>;
135
135
  type SafePickupLandmark = z.output<typeof pickupLandmark>;
136
136
 
137
137
  type location_SafeMinimum = SafeMinimum;
@@ -143,7 +143,7 @@ declare const location_minimumList: typeof minimumList;
143
143
  declare const location_pickupLandmark: typeof pickupLandmark;
144
144
  declare const location_suggest: typeof suggest;
145
145
  declare namespace location {
146
- export { type SafeMe$6 as SafeMe, type location_SafeMinimum as SafeMinimum, type location_SafeMinimumList as SafeMinimumList, type location_SafePickupLandmark as SafePickupLandmark, type SafeSave$2 as SafeSave, type location_SafeSuggest as SafeSuggest, me$6 as me, location_minimum as minimum, location_minimumList as minimumList, location_pickupLandmark as pickupLandmark, save$2 as save, location_suggest as suggest };
146
+ export { type SafeMe$7 as SafeMe, type location_SafeMinimum as SafeMinimum, type location_SafeMinimumList as SafeMinimumList, type location_SafePickupLandmark as SafePickupLandmark, type SafeSave$2 as SafeSave, type location_SafeSuggest as SafeSuggest, me$7 as me, location_minimum as minimum, location_minimumList as minimumList, location_pickupLandmark as pickupLandmark, save$2 as save, location_suggest as suggest };
147
147
  }
148
148
 
149
149
  declare const time12h: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
@@ -162,7 +162,7 @@ declare const create$2: z.ZodObject<{
162
162
  endTime: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
163
163
  minHour: z.ZodCoercedNumber<unknown>;
164
164
  }, z.core.$strip>;
165
- declare const me$5: z.ZodObject<{
165
+ declare const me$6: z.ZodObject<{
166
166
  id: z.ZodString;
167
167
  name: z.ZodString;
168
168
  description: z.ZodOptional<z.ZodString>;
@@ -178,7 +178,7 @@ declare const meList$1: z.ZodArray<z.ZodObject<{
178
178
  endTime: z.ZodCoercedNumber<unknown>;
179
179
  minHour: z.ZodCoercedNumber<unknown>;
180
180
  }, z.core.$strip>>;
181
- type SafeMe$5 = z.output<typeof me$5>;
181
+ type SafeMe$6 = z.output<typeof me$6>;
182
182
  type SafeList$1 = z.output<typeof meList$1>;
183
183
  type SafeCreate$2 = z.output<typeof create$2>;
184
184
  type SafeUpdate = z.output<typeof update>;
@@ -187,7 +187,7 @@ type slot_SafeUpdate = SafeUpdate;
187
187
  declare const slot_time12h: typeof time12h;
188
188
  declare const slot_update: typeof update;
189
189
  declare namespace slot {
190
- export { type SafeCreate$2 as SafeCreate, type SafeList$1 as SafeList, type SafeMe$5 as SafeMe, type slot_SafeUpdate as SafeUpdate, create$2 as create, me$5 as me, meList$1 as meList, slot_time12h as time12h, slot_update as update };
190
+ export { type SafeCreate$2 as SafeCreate, type SafeList$1 as SafeList, type SafeMe$6 as SafeMe, type slot_SafeUpdate as SafeUpdate, create$2 as create, me$6 as me, meList$1 as meList, slot_time12h as time12h, slot_update as update };
191
191
  }
192
192
 
193
193
  declare const Weekday: z.ZodEnum<{
@@ -199,7 +199,7 @@ declare const Weekday: z.ZodEnum<{
199
199
  friday: "friday";
200
200
  saturday: "saturday";
201
201
  }>;
202
- declare const me$4: z.ZodObject<{
202
+ declare const me$5: z.ZodObject<{
203
203
  operationalDays: z.ZodPipe<z.ZodArray<z.ZodEnum<{
204
204
  sunday: "sunday";
205
205
  monday: "monday";
@@ -210,16 +210,16 @@ declare const me$4: z.ZodObject<{
210
210
  saturday: "saturday";
211
211
  }>>, z.ZodTransform<("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[], ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[]>>;
212
212
  }, z.core.$strip>;
213
- type SafeMe$4 = z.output<typeof me$4>;
213
+ type SafeMe$5 = z.output<typeof me$5>;
214
214
  type SafeWeekdays = z.output<typeof Weekday>;
215
215
 
216
216
  type operationalDays_SafeWeekdays = SafeWeekdays;
217
217
  declare const operationalDays_Weekday: typeof Weekday;
218
218
  declare namespace operationalDays {
219
- export { type SafeMe$4 as SafeMe, type operationalDays_SafeWeekdays as SafeWeekdays, operationalDays_Weekday as Weekday, me$4 as me };
219
+ export { type SafeMe$5 as SafeMe, type operationalDays_SafeWeekdays as SafeWeekdays, operationalDays_Weekday as Weekday, me$5 as me };
220
220
  }
221
221
 
222
- declare const me$3: z.ZodObject<{
222
+ declare const me$4: z.ZodObject<{
223
223
  id: z.ZodString;
224
224
  vehicleName: z.ZodString;
225
225
  registrationNumber: z.ZodString;
@@ -234,14 +234,14 @@ declare const save$1: z.ZodObject<{
234
234
  operatedSince: z.ZodCoercedNumber<unknown>;
235
235
  maxCapacity: z.ZodCoercedNumber<unknown>;
236
236
  }, z.core.$strip>;
237
- type SafeMe$3 = z.infer<typeof me$3>;
237
+ type SafeMe$4 = z.infer<typeof me$4>;
238
238
  type SafeSave$1 = z.output<typeof save$1>;
239
239
 
240
240
  declare namespace vehicleDetails {
241
- export { type SafeMe$3 as SafeMe, type SafeSave$1 as SafeSave, me$3 as me, save$1 as save };
241
+ export { type SafeMe$4 as SafeMe, type SafeSave$1 as SafeSave, me$4 as me, save$1 as save };
242
242
  }
243
243
 
244
- declare const me$2: z.ZodObject<{
244
+ declare const me$3: z.ZodObject<{
245
245
  id: z.ZodString;
246
246
  driverName: z.ZodString;
247
247
  licenseNumber: z.ZodString;
@@ -258,17 +258,17 @@ declare const meList: z.ZodArray<z.ZodObject<{
258
258
  licenseNumber: z.ZodString;
259
259
  experience: z.ZodCoercedNumber<unknown>;
260
260
  }, z.core.$strip>>;
261
- type SafeMe$2 = z.infer<typeof me$2>;
261
+ type SafeMe$3 = z.infer<typeof me$3>;
262
262
  type SafeCreate$1 = z.output<typeof create$1>;
263
263
  type SafeList = z.output<typeof meList>;
264
264
 
265
265
  type driverDetails_SafeList = SafeList;
266
266
  declare const driverDetails_meList: typeof meList;
267
267
  declare namespace driverDetails {
268
- export { type SafeCreate$1 as SafeCreate, type driverDetails_SafeList as SafeList, type SafeMe$2 as SafeMe, create$1 as create, me$2 as me, driverDetails_meList as meList };
268
+ export { type SafeCreate$1 as SafeCreate, type driverDetails_SafeList as SafeList, type SafeMe$3 as SafeMe, create$1 as create, me$3 as me, driverDetails_meList as meList };
269
269
  }
270
270
 
271
- declare const me$1: z.ZodObject<{
271
+ declare const me$2: z.ZodObject<{
272
272
  bankAccountNumber: z.ZodString;
273
273
  bankName: z.ZodString;
274
274
  accountHolderName: z.ZodString;
@@ -284,16 +284,16 @@ declare const create: z.ZodObject<{
284
284
  gstNumber: z.ZodOptional<z.ZodString>;
285
285
  businessNumber: z.ZodOptional<z.ZodString>;
286
286
  }, z.core.$strip>;
287
- type SafeMe$1 = z.infer<typeof me$1>;
287
+ type SafeMe$2 = z.infer<typeof me$2>;
288
288
  type SafeCreate = z.output<typeof create>;
289
289
 
290
290
  type businessDetails_SafeCreate = SafeCreate;
291
291
  declare const businessDetails_create: typeof create;
292
292
  declare namespace businessDetails {
293
- export { type businessDetails_SafeCreate as SafeCreate, type SafeMe$1 as SafeMe, businessDetails_create as create, me$1 as me };
293
+ export { type businessDetails_SafeCreate as SafeCreate, type SafeMe$2 as SafeMe, businessDetails_create as create, me$2 as me };
294
294
  }
295
295
 
296
- declare const me: z.ZodObject<{
296
+ declare const me$1: z.ZodObject<{
297
297
  adhaarNumber: z.ZodString;
298
298
  address: z.ZodString;
299
299
  }, z.core.$strip>;
@@ -301,19 +301,49 @@ declare const save: z.ZodObject<{
301
301
  adhaarNumber: z.ZodString;
302
302
  address: z.ZodString;
303
303
  }, z.core.$strip>;
304
- type SafeMe = z.infer<typeof me>;
304
+ type SafeMe$1 = z.infer<typeof me$1>;
305
305
  type SafeSave = z.output<typeof save>;
306
306
 
307
- type personalDetails_SafeMe = SafeMe;
308
307
  type personalDetails_SafeSave = SafeSave;
309
- declare const personalDetails_me: typeof me;
310
308
  declare const personalDetails_save: typeof save;
311
309
  declare namespace personalDetails {
312
- export { type personalDetails_SafeMe as SafeMe, type personalDetails_SafeSave as SafeSave, personalDetails_me as me, personalDetails_save as save };
310
+ export { type SafeMe$1 as SafeMe, type personalDetails_SafeSave as SafeSave, me$1 as me, personalDetails_save as save };
311
+ }
312
+
313
+ declare const steps: z.ZodEnum<{
314
+ basic_info: "basic_info";
315
+ location: "location";
316
+ }>;
317
+ declare const me: z.ZodObject<{
318
+ email: z.ZodString;
319
+ name: z.ZodDefault<z.ZodOptional<z.ZodString>>;
320
+ countryCode: z.ZodDefault<z.ZodOptional<z.ZodString>>;
321
+ phoneNumber: z.ZodDefault<z.ZodOptional<z.ZodString>>;
322
+ isPhoneVerified: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
323
+ type: z.ZodDefault<z.ZodOptional<z.ZodString>>;
324
+ status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
325
+ pending: "pending";
326
+ in_review: "in_review";
327
+ approved: "approved";
328
+ rejected: "rejected";
329
+ }>>>;
330
+ currentStep: z.ZodEnum<{
331
+ basic_info: "basic_info";
332
+ location: "location";
333
+ }>;
334
+ remarks: z.ZodDefault<z.ZodOptional<z.ZodString>>;
335
+ }, z.core.$strip>;
336
+ type SafeMe = z.infer<typeof me>;
337
+
338
+ type step_SafeMe = SafeMe;
339
+ declare const step_me: typeof me;
340
+ declare const step_steps: typeof steps;
341
+ declare namespace step {
342
+ export { type step_SafeMe as SafeMe, step_me as me, step_steps as steps };
313
343
  }
314
344
 
315
345
  declare namespace index {
316
- export { basicDetails as BasicDetails, businessDetails as BusinessDetails, driverDetails as DriverDetails, location as Location, operationalDays as OperationalDays, personalDetails as PersonalDetails, slot as Slot, vehicleDetails as VehicleDetails };
346
+ export { basicDetails as BasicDetails, businessDetails as BusinessDetails, driverDetails as DriverDetails, location as Location, operationalDays as OperationalDays, personalDetails as PersonalDetails, slot as Slot, step as Step, vehicleDetails as VehicleDetails };
317
347
  }
318
348
 
319
- export { businessDetails as a, basicDetails as b, driverDetails as d, index as i, location as l, operationalDays as o, personalDetails as p, slot as s, vehicleDetails as v };
349
+ export { businessDetails as a, basicDetails as b, step as c, driverDetails as d, index as i, location as l, operationalDays as o, personalDetails as p, slot as s, vehicleDetails as v };
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
 
3
- declare const me$7: z.ZodObject<{
3
+ declare const me$8: z.ZodObject<{
4
4
  id: z.ZodString;
5
5
  email: z.ZodString;
6
6
  name: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -26,11 +26,11 @@ declare const update$1: z.ZodObject<{
26
26
  phoneNumber: z.ZodString;
27
27
  type: z.ZodString;
28
28
  }, z.core.$strip>;
29
- type SafeMe$7 = z.infer<typeof me$7>;
29
+ type SafeMe$8 = z.infer<typeof me$8>;
30
30
  type SafeUpdate$1 = z.output<typeof update$1>;
31
31
 
32
32
  declare namespace basicDetails {
33
- export { type SafeMe$7 as SafeMe, type SafeUpdate$1 as SafeUpdate, me$7 as me, update$1 as update };
33
+ export { type SafeMe$8 as SafeMe, type SafeUpdate$1 as SafeUpdate, me$8 as me, update$1 as update };
34
34
  }
35
35
 
36
36
  declare const suggest: z.ZodObject<{
@@ -76,7 +76,7 @@ declare const save$2: z.ZodObject<{
76
76
  distanceKm: z.ZodCoercedNumber<unknown>;
77
77
  }, z.core.$strip>>;
78
78
  }, z.core.$strip>;
79
- declare const me$6: z.ZodObject<{
79
+ declare const me$7: z.ZodObject<{
80
80
  location: z.ZodObject<{
81
81
  id: z.ZodString;
82
82
  name: z.ZodString;
@@ -131,7 +131,7 @@ type SafeMinimum = z.output<typeof minimum>;
131
131
  type SafeMinimumList = z.output<typeof minimum>;
132
132
  type SafeSuggest = z.output<typeof suggest>;
133
133
  type SafeSave$2 = z.output<typeof save$2>;
134
- type SafeMe$6 = z.output<typeof me$6>;
134
+ type SafeMe$7 = z.output<typeof me$7>;
135
135
  type SafePickupLandmark = z.output<typeof pickupLandmark>;
136
136
 
137
137
  type location_SafeMinimum = SafeMinimum;
@@ -143,7 +143,7 @@ declare const location_minimumList: typeof minimumList;
143
143
  declare const location_pickupLandmark: typeof pickupLandmark;
144
144
  declare const location_suggest: typeof suggest;
145
145
  declare namespace location {
146
- export { type SafeMe$6 as SafeMe, type location_SafeMinimum as SafeMinimum, type location_SafeMinimumList as SafeMinimumList, type location_SafePickupLandmark as SafePickupLandmark, type SafeSave$2 as SafeSave, type location_SafeSuggest as SafeSuggest, me$6 as me, location_minimum as minimum, location_minimumList as minimumList, location_pickupLandmark as pickupLandmark, save$2 as save, location_suggest as suggest };
146
+ export { type SafeMe$7 as SafeMe, type location_SafeMinimum as SafeMinimum, type location_SafeMinimumList as SafeMinimumList, type location_SafePickupLandmark as SafePickupLandmark, type SafeSave$2 as SafeSave, type location_SafeSuggest as SafeSuggest, me$7 as me, location_minimum as minimum, location_minimumList as minimumList, location_pickupLandmark as pickupLandmark, save$2 as save, location_suggest as suggest };
147
147
  }
148
148
 
149
149
  declare const time12h: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
@@ -162,7 +162,7 @@ declare const create$2: z.ZodObject<{
162
162
  endTime: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
163
163
  minHour: z.ZodCoercedNumber<unknown>;
164
164
  }, z.core.$strip>;
165
- declare const me$5: z.ZodObject<{
165
+ declare const me$6: z.ZodObject<{
166
166
  id: z.ZodString;
167
167
  name: z.ZodString;
168
168
  description: z.ZodOptional<z.ZodString>;
@@ -178,7 +178,7 @@ declare const meList$1: z.ZodArray<z.ZodObject<{
178
178
  endTime: z.ZodCoercedNumber<unknown>;
179
179
  minHour: z.ZodCoercedNumber<unknown>;
180
180
  }, z.core.$strip>>;
181
- type SafeMe$5 = z.output<typeof me$5>;
181
+ type SafeMe$6 = z.output<typeof me$6>;
182
182
  type SafeList$1 = z.output<typeof meList$1>;
183
183
  type SafeCreate$2 = z.output<typeof create$2>;
184
184
  type SafeUpdate = z.output<typeof update>;
@@ -187,7 +187,7 @@ type slot_SafeUpdate = SafeUpdate;
187
187
  declare const slot_time12h: typeof time12h;
188
188
  declare const slot_update: typeof update;
189
189
  declare namespace slot {
190
- export { type SafeCreate$2 as SafeCreate, type SafeList$1 as SafeList, type SafeMe$5 as SafeMe, type slot_SafeUpdate as SafeUpdate, create$2 as create, me$5 as me, meList$1 as meList, slot_time12h as time12h, slot_update as update };
190
+ export { type SafeCreate$2 as SafeCreate, type SafeList$1 as SafeList, type SafeMe$6 as SafeMe, type slot_SafeUpdate as SafeUpdate, create$2 as create, me$6 as me, meList$1 as meList, slot_time12h as time12h, slot_update as update };
191
191
  }
192
192
 
193
193
  declare const Weekday: z.ZodEnum<{
@@ -199,7 +199,7 @@ declare const Weekday: z.ZodEnum<{
199
199
  friday: "friday";
200
200
  saturday: "saturday";
201
201
  }>;
202
- declare const me$4: z.ZodObject<{
202
+ declare const me$5: z.ZodObject<{
203
203
  operationalDays: z.ZodPipe<z.ZodArray<z.ZodEnum<{
204
204
  sunday: "sunday";
205
205
  monday: "monday";
@@ -210,16 +210,16 @@ declare const me$4: z.ZodObject<{
210
210
  saturday: "saturday";
211
211
  }>>, z.ZodTransform<("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[], ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[]>>;
212
212
  }, z.core.$strip>;
213
- type SafeMe$4 = z.output<typeof me$4>;
213
+ type SafeMe$5 = z.output<typeof me$5>;
214
214
  type SafeWeekdays = z.output<typeof Weekday>;
215
215
 
216
216
  type operationalDays_SafeWeekdays = SafeWeekdays;
217
217
  declare const operationalDays_Weekday: typeof Weekday;
218
218
  declare namespace operationalDays {
219
- export { type SafeMe$4 as SafeMe, type operationalDays_SafeWeekdays as SafeWeekdays, operationalDays_Weekday as Weekday, me$4 as me };
219
+ export { type SafeMe$5 as SafeMe, type operationalDays_SafeWeekdays as SafeWeekdays, operationalDays_Weekday as Weekday, me$5 as me };
220
220
  }
221
221
 
222
- declare const me$3: z.ZodObject<{
222
+ declare const me$4: z.ZodObject<{
223
223
  id: z.ZodString;
224
224
  vehicleName: z.ZodString;
225
225
  registrationNumber: z.ZodString;
@@ -234,14 +234,14 @@ declare const save$1: z.ZodObject<{
234
234
  operatedSince: z.ZodCoercedNumber<unknown>;
235
235
  maxCapacity: z.ZodCoercedNumber<unknown>;
236
236
  }, z.core.$strip>;
237
- type SafeMe$3 = z.infer<typeof me$3>;
237
+ type SafeMe$4 = z.infer<typeof me$4>;
238
238
  type SafeSave$1 = z.output<typeof save$1>;
239
239
 
240
240
  declare namespace vehicleDetails {
241
- export { type SafeMe$3 as SafeMe, type SafeSave$1 as SafeSave, me$3 as me, save$1 as save };
241
+ export { type SafeMe$4 as SafeMe, type SafeSave$1 as SafeSave, me$4 as me, save$1 as save };
242
242
  }
243
243
 
244
- declare const me$2: z.ZodObject<{
244
+ declare const me$3: z.ZodObject<{
245
245
  id: z.ZodString;
246
246
  driverName: z.ZodString;
247
247
  licenseNumber: z.ZodString;
@@ -258,17 +258,17 @@ declare const meList: z.ZodArray<z.ZodObject<{
258
258
  licenseNumber: z.ZodString;
259
259
  experience: z.ZodCoercedNumber<unknown>;
260
260
  }, z.core.$strip>>;
261
- type SafeMe$2 = z.infer<typeof me$2>;
261
+ type SafeMe$3 = z.infer<typeof me$3>;
262
262
  type SafeCreate$1 = z.output<typeof create$1>;
263
263
  type SafeList = z.output<typeof meList>;
264
264
 
265
265
  type driverDetails_SafeList = SafeList;
266
266
  declare const driverDetails_meList: typeof meList;
267
267
  declare namespace driverDetails {
268
- export { type SafeCreate$1 as SafeCreate, type driverDetails_SafeList as SafeList, type SafeMe$2 as SafeMe, create$1 as create, me$2 as me, driverDetails_meList as meList };
268
+ export { type SafeCreate$1 as SafeCreate, type driverDetails_SafeList as SafeList, type SafeMe$3 as SafeMe, create$1 as create, me$3 as me, driverDetails_meList as meList };
269
269
  }
270
270
 
271
- declare const me$1: z.ZodObject<{
271
+ declare const me$2: z.ZodObject<{
272
272
  bankAccountNumber: z.ZodString;
273
273
  bankName: z.ZodString;
274
274
  accountHolderName: z.ZodString;
@@ -284,16 +284,16 @@ declare const create: z.ZodObject<{
284
284
  gstNumber: z.ZodOptional<z.ZodString>;
285
285
  businessNumber: z.ZodOptional<z.ZodString>;
286
286
  }, z.core.$strip>;
287
- type SafeMe$1 = z.infer<typeof me$1>;
287
+ type SafeMe$2 = z.infer<typeof me$2>;
288
288
  type SafeCreate = z.output<typeof create>;
289
289
 
290
290
  type businessDetails_SafeCreate = SafeCreate;
291
291
  declare const businessDetails_create: typeof create;
292
292
  declare namespace businessDetails {
293
- export { type businessDetails_SafeCreate as SafeCreate, type SafeMe$1 as SafeMe, businessDetails_create as create, me$1 as me };
293
+ export { type businessDetails_SafeCreate as SafeCreate, type SafeMe$2 as SafeMe, businessDetails_create as create, me$2 as me };
294
294
  }
295
295
 
296
- declare const me: z.ZodObject<{
296
+ declare const me$1: z.ZodObject<{
297
297
  adhaarNumber: z.ZodString;
298
298
  address: z.ZodString;
299
299
  }, z.core.$strip>;
@@ -301,19 +301,49 @@ declare const save: z.ZodObject<{
301
301
  adhaarNumber: z.ZodString;
302
302
  address: z.ZodString;
303
303
  }, z.core.$strip>;
304
- type SafeMe = z.infer<typeof me>;
304
+ type SafeMe$1 = z.infer<typeof me$1>;
305
305
  type SafeSave = z.output<typeof save>;
306
306
 
307
- type personalDetails_SafeMe = SafeMe;
308
307
  type personalDetails_SafeSave = SafeSave;
309
- declare const personalDetails_me: typeof me;
310
308
  declare const personalDetails_save: typeof save;
311
309
  declare namespace personalDetails {
312
- export { type personalDetails_SafeMe as SafeMe, type personalDetails_SafeSave as SafeSave, personalDetails_me as me, personalDetails_save as save };
310
+ export { type SafeMe$1 as SafeMe, type personalDetails_SafeSave as SafeSave, me$1 as me, personalDetails_save as save };
311
+ }
312
+
313
+ declare const steps: z.ZodEnum<{
314
+ basic_info: "basic_info";
315
+ location: "location";
316
+ }>;
317
+ declare const me: z.ZodObject<{
318
+ email: z.ZodString;
319
+ name: z.ZodDefault<z.ZodOptional<z.ZodString>>;
320
+ countryCode: z.ZodDefault<z.ZodOptional<z.ZodString>>;
321
+ phoneNumber: z.ZodDefault<z.ZodOptional<z.ZodString>>;
322
+ isPhoneVerified: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
323
+ type: z.ZodDefault<z.ZodOptional<z.ZodString>>;
324
+ status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
325
+ pending: "pending";
326
+ in_review: "in_review";
327
+ approved: "approved";
328
+ rejected: "rejected";
329
+ }>>>;
330
+ currentStep: z.ZodEnum<{
331
+ basic_info: "basic_info";
332
+ location: "location";
333
+ }>;
334
+ remarks: z.ZodDefault<z.ZodOptional<z.ZodString>>;
335
+ }, z.core.$strip>;
336
+ type SafeMe = z.infer<typeof me>;
337
+
338
+ type step_SafeMe = SafeMe;
339
+ declare const step_me: typeof me;
340
+ declare const step_steps: typeof steps;
341
+ declare namespace step {
342
+ export { type step_SafeMe as SafeMe, step_me as me, step_steps as steps };
313
343
  }
314
344
 
315
345
  declare namespace index {
316
- export { basicDetails as BasicDetails, businessDetails as BusinessDetails, driverDetails as DriverDetails, location as Location, operationalDays as OperationalDays, personalDetails as PersonalDetails, slot as Slot, vehicleDetails as VehicleDetails };
346
+ export { basicDetails as BasicDetails, businessDetails as BusinessDetails, driverDetails as DriverDetails, location as Location, operationalDays as OperationalDays, personalDetails as PersonalDetails, slot as Slot, step as Step, vehicleDetails as VehicleDetails };
317
347
  }
318
348
 
319
- export { businessDetails as a, basicDetails as b, driverDetails as d, index as i, location as l, operationalDays as o, personalDetails as p, slot as s, vehicleDetails as v };
349
+ export { businessDetails as a, basicDetails as b, step as c, driverDetails as d, index as i, location as l, operationalDays as o, personalDetails as p, slot as s, vehicleDetails as v };
package/dist/index.cjs CHANGED
@@ -35,6 +35,7 @@ __export(safari_exports, {
35
35
  OperationalDays: () => operational_days_exports,
36
36
  PersonalDetails: () => personal_details_exports,
37
37
  Slot: () => slot_exports,
38
+ Step: () => step_exports,
38
39
  VehicleDetails: () => vehicle_details_exports
39
40
  });
40
41
 
@@ -271,6 +272,26 @@ var save3 = import_zod8.z.object({
271
272
  address: import_zod8.z.string().trim().nonempty("required")
272
273
  });
273
274
 
275
+ // src/safari/step.ts
276
+ var step_exports = {};
277
+ __export(step_exports, {
278
+ me: () => me9,
279
+ steps: () => steps
280
+ });
281
+ var import_zod9 = require("zod");
282
+ var steps = import_zod9.z.enum(["basic_info", "location"]);
283
+ var me9 = import_zod9.z.object({
284
+ email: import_zod9.z.string(),
285
+ name: import_zod9.z.string().trim().optional().default(""),
286
+ countryCode: import_zod9.z.string().optional().default("+91"),
287
+ phoneNumber: import_zod9.z.string().optional().default(""),
288
+ isPhoneVerified: import_zod9.z.boolean().optional().default(false),
289
+ type: import_zod9.z.string().optional().default(""),
290
+ status: import_zod9.z.enum(["pending", "in_review", "approved", "rejected"]).optional().default("pending"),
291
+ currentStep: steps,
292
+ remarks: import_zod9.z.string().optional().default("")
293
+ });
294
+
274
295
  // src/common/index.ts
275
296
  var common_exports = {};
276
297
  __export(common_exports, {
@@ -284,16 +305,16 @@ __export(verify_email_exports, {
284
305
  verifyOtp: () => verifyOtp,
285
306
  verifyOtpResponse: () => verifyOtpResponse
286
307
  });
287
- var import_zod9 = require("zod");
288
- var sendOtp = import_zod9.z.object({
289
- email: import_zod9.z.email("invalid").nonempty("required").trim().toLowerCase()
308
+ var import_zod10 = require("zod");
309
+ var sendOtp = import_zod10.z.object({
310
+ email: import_zod10.z.email("invalid").nonempty("required").trim().toLowerCase()
290
311
  });
291
- var verifyOtp = import_zod9.z.object({
292
- otp: import_zod9.z.string().min(4, { message: "required" }),
293
- email: import_zod9.z.string().optional()
312
+ var verifyOtp = import_zod10.z.object({
313
+ otp: import_zod10.z.string().min(4, { message: "required" }),
314
+ email: import_zod10.z.string().optional()
294
315
  });
295
- var verifyOtpResponse = import_zod9.z.object({
296
- id: import_zod9.z.string()
316
+ var verifyOtpResponse = import_zod10.z.object({
317
+ id: import_zod10.z.string()
297
318
  });
298
319
  // Annotate the CommonJS export names for ESM import in node:
299
320
  0 && (module.exports = {
package/dist/index.d.cts CHANGED
@@ -1,3 +1,3 @@
1
- export { i as SafariOnboarding } from './index-DHzg7Ubb.cjs';
1
+ export { i as SafariOnboarding } from './index-Wj1jWQ1j.cjs';
2
2
  export { i as CommonOnboarding } from './index-Bv8ss_jR.cjs';
3
3
  import 'zod';
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export { i as SafariOnboarding } from './index-DHzg7Ubb.js';
1
+ export { i as SafariOnboarding } from './index-Wj1jWQ1j.js';
2
2
  export { i as CommonOnboarding } from './index-Bv8ss_jR.js';
3
3
  import 'zod';
package/dist/index.js CHANGED
@@ -14,6 +14,7 @@ __export(safari_exports, {
14
14
  OperationalDays: () => operational_days_exports,
15
15
  PersonalDetails: () => personal_details_exports,
16
16
  Slot: () => slot_exports,
17
+ Step: () => step_exports,
17
18
  VehicleDetails: () => vehicle_details_exports
18
19
  });
19
20
 
@@ -250,6 +251,26 @@ var save3 = z8.object({
250
251
  address: z8.string().trim().nonempty("required")
251
252
  });
252
253
 
254
+ // src/safari/step.ts
255
+ var step_exports = {};
256
+ __export(step_exports, {
257
+ me: () => me9,
258
+ steps: () => steps
259
+ });
260
+ import { z as z9 } from "zod";
261
+ var steps = z9.enum(["basic_info", "location"]);
262
+ var me9 = z9.object({
263
+ email: z9.string(),
264
+ name: z9.string().trim().optional().default(""),
265
+ countryCode: z9.string().optional().default("+91"),
266
+ phoneNumber: z9.string().optional().default(""),
267
+ isPhoneVerified: z9.boolean().optional().default(false),
268
+ type: z9.string().optional().default(""),
269
+ status: z9.enum(["pending", "in_review", "approved", "rejected"]).optional().default("pending"),
270
+ currentStep: steps,
271
+ remarks: z9.string().optional().default("")
272
+ });
273
+
253
274
  // src/common/index.ts
254
275
  var common_exports = {};
255
276
  __export(common_exports, {
@@ -263,16 +284,16 @@ __export(verify_email_exports, {
263
284
  verifyOtp: () => verifyOtp,
264
285
  verifyOtpResponse: () => verifyOtpResponse
265
286
  });
266
- import { z as z9 } from "zod";
267
- var sendOtp = z9.object({
268
- email: z9.email("invalid").nonempty("required").trim().toLowerCase()
287
+ import { z as z10 } from "zod";
288
+ var sendOtp = z10.object({
289
+ email: z10.email("invalid").nonempty("required").trim().toLowerCase()
269
290
  });
270
- var verifyOtp = z9.object({
271
- otp: z9.string().min(4, { message: "required" }),
272
- email: z9.string().optional()
291
+ var verifyOtp = z10.object({
292
+ otp: z10.string().min(4, { message: "required" }),
293
+ email: z10.string().optional()
273
294
  });
274
- var verifyOtpResponse = z9.object({
275
- id: z9.string()
295
+ var verifyOtpResponse = z10.object({
296
+ id: z10.string()
276
297
  });
277
298
  export {
278
299
  common_exports as CommonOnboarding,
@@ -27,6 +27,7 @@ __export(safari_exports, {
27
27
  OperationalDays: () => operational_days_exports,
28
28
  PersonalDetails: () => personal_details_exports,
29
29
  Slot: () => slot_exports,
30
+ Step: () => step_exports,
30
31
  VehicleDetails: () => vehicle_details_exports
31
32
  });
32
33
  module.exports = __toCommonJS(safari_exports);
@@ -263,6 +264,26 @@ var save3 = import_zod8.z.object({
263
264
  adhaarNumber: import_zod8.z.string().trim().nonempty("required"),
264
265
  address: import_zod8.z.string().trim().nonempty("required")
265
266
  });
267
+
268
+ // src/safari/step.ts
269
+ var step_exports = {};
270
+ __export(step_exports, {
271
+ me: () => me9,
272
+ steps: () => steps
273
+ });
274
+ var import_zod9 = require("zod");
275
+ var steps = import_zod9.z.enum(["basic_info", "location"]);
276
+ var me9 = import_zod9.z.object({
277
+ email: import_zod9.z.string(),
278
+ name: import_zod9.z.string().trim().optional().default(""),
279
+ countryCode: import_zod9.z.string().optional().default("+91"),
280
+ phoneNumber: import_zod9.z.string().optional().default(""),
281
+ isPhoneVerified: import_zod9.z.boolean().optional().default(false),
282
+ type: import_zod9.z.string().optional().default(""),
283
+ status: import_zod9.z.enum(["pending", "in_review", "approved", "rejected"]).optional().default("pending"),
284
+ currentStep: steps,
285
+ remarks: import_zod9.z.string().optional().default("")
286
+ });
266
287
  // Annotate the CommonJS export names for ESM import in node:
267
288
  0 && (module.exports = {
268
289
  BasicDetails,
@@ -272,5 +293,6 @@ var save3 = import_zod8.z.object({
272
293
  OperationalDays,
273
294
  PersonalDetails,
274
295
  Slot,
296
+ Step,
275
297
  VehicleDetails
276
298
  });
@@ -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, v as VehicleDetails } from '../index-DHzg7Ubb.cjs';
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-Wj1jWQ1j.cjs';
2
2
  import 'zod';
@@ -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, v as VehicleDetails } from '../index-DHzg7Ubb.js';
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-Wj1jWQ1j.js';
2
2
  import 'zod';
@@ -236,6 +236,26 @@ var save3 = z8.object({
236
236
  adhaarNumber: z8.string().trim().nonempty("required"),
237
237
  address: z8.string().trim().nonempty("required")
238
238
  });
239
+
240
+ // src/safari/step.ts
241
+ var step_exports = {};
242
+ __export(step_exports, {
243
+ me: () => me9,
244
+ steps: () => steps
245
+ });
246
+ import { z as z9 } from "zod";
247
+ var steps = z9.enum(["basic_info", "location"]);
248
+ var me9 = z9.object({
249
+ email: z9.string(),
250
+ name: z9.string().trim().optional().default(""),
251
+ countryCode: z9.string().optional().default("+91"),
252
+ phoneNumber: z9.string().optional().default(""),
253
+ isPhoneVerified: z9.boolean().optional().default(false),
254
+ type: z9.string().optional().default(""),
255
+ status: z9.enum(["pending", "in_review", "approved", "rejected"]).optional().default("pending"),
256
+ currentStep: steps,
257
+ remarks: z9.string().optional().default("")
258
+ });
239
259
  export {
240
260
  basic_details_exports as BasicDetails,
241
261
  business_details_exports as BusinessDetails,
@@ -244,5 +264,6 @@ export {
244
264
  operational_days_exports as OperationalDays,
245
265
  personal_details_exports as PersonalDetails,
246
266
  slot_exports as Slot,
267
+ step_exports as Step,
247
268
  vehicle_details_exports as VehicleDetails
248
269
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tripsam/onboarding",
3
- "version": "1.0.42",
3
+ "version": "1.0.44",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",