@tripsam/onboarding 1.0.63 → 1.0.65

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.
@@ -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$5: z.ZodObject<{
22
+ declare const get$7: 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>>;
@@ -35,30 +35,30 @@ declare const get$5: z.ZodObject<{
35
35
  jungle_safari: "jungle_safari";
36
36
  }>;
37
37
  }, z.core.$strip>;
38
- declare const create$5: z.ZodObject<{
38
+ declare const create$6: z.ZodObject<{
39
39
  name: z.ZodString;
40
40
  countryCode: z.ZodDefault<z.ZodOptional<z.ZodString>>;
41
41
  phone: z.ZodString;
42
42
  type: z.ZodString;
43
43
  }, z.core.$strip>;
44
- declare const update$3: z.ZodObject<{
44
+ declare const update$5: z.ZodObject<{
45
45
  id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
46
46
  name: z.ZodString;
47
47
  countryCode: z.ZodDefault<z.ZodOptional<z.ZodString>>;
48
48
  phone: z.ZodString;
49
49
  type: z.ZodString;
50
50
  }, z.core.$strip>;
51
- type SafeGet$4 = z.infer<typeof get$5>;
52
- type SafeUpdate$3 = z.output<typeof update$3>;
53
- type SafeCreate$5 = z.output<typeof create$5>;
54
- declare const defaultBasicDetails: SafeGet$4;
51
+ type SafeGet$6 = z.infer<typeof get$7>;
52
+ type SafeUpdate$5 = z.output<typeof update$5>;
53
+ type SafeCreate$6 = z.output<typeof create$6>;
54
+ declare const defaultBasicDetails: SafeGet$6;
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$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 };
61
+ export { type basicDetails_SafariType as SafariType, type SafeCreate$6 as SafeCreate, type SafeGet$6 as SafeGet, type SafeUpdate$5 as SafeUpdate, create$6 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<{
@@ -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$4: z.ZodObject<{
70
+ declare const get$6: z.ZodObject<{
71
71
  id: z.ZodString;
72
72
  location: z.ZodObject<{
73
73
  id: z.ZodString;
@@ -98,7 +98,7 @@ declare const get$4: z.ZodObject<{
98
98
  distanceKm: z.ZodCoercedNumber<unknown>;
99
99
  }, z.core.$strip>>;
100
100
  }, z.core.$strip>;
101
- declare const create$4: z.ZodObject<{
101
+ declare const create$5: z.ZodObject<{
102
102
  locationId: z.ZodString;
103
103
  safariLocation: z.ZodString;
104
104
  pickupLocation: z.ZodString;
@@ -109,7 +109,7 @@ declare const create$4: z.ZodObject<{
109
109
  distanceKm: z.ZodCoercedNumber<unknown>;
110
110
  }, z.core.$strip>>;
111
111
  }, z.core.$strip>;
112
- declare const update$2: z.ZodObject<{
112
+ declare const update$4: z.ZodObject<{
113
113
  id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
114
114
  locationId: z.ZodString;
115
115
  safariLocation: z.ZodString;
@@ -121,21 +121,21 @@ declare const update$2: z.ZodObject<{
121
121
  distanceKm: z.ZodCoercedNumber<unknown>;
122
122
  }, z.core.$strip>>;
123
123
  }, z.core.$strip>;
124
- type SafeGet$3 = z.output<typeof get$4>;
125
- type SafeCreate$4 = z.output<typeof create$4>;
126
- type SafeUpdate$2 = z.output<typeof update$2>;
124
+ type SafeGet$5 = z.output<typeof get$6>;
125
+ type SafeCreate$5 = z.output<typeof create$5>;
126
+ type SafeUpdate$4 = z.output<typeof update$4>;
127
127
  type SafePickupLandmark = z.output<typeof pickupLandmark>;
128
- declare const defaultLocation: SafeGet$3;
128
+ declare const defaultLocation: SafeGet$5;
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$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 };
134
+ export { type SafeCreate$5 as SafeCreate, type SafeGet$5 as SafeGet, type location_SafePickupLandmark as SafePickupLandmark, type SafeUpdate$4 as SafeUpdate, create$5 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>>;
138
- declare const update$1: z.ZodObject<{
138
+ declare const update$3: z.ZodObject<{
139
139
  id: z.ZodOptional<z.ZodString>;
140
140
  name: z.ZodString;
141
141
  description: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -143,7 +143,7 @@ declare const update$1: 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$3: z.ZodObject<{
146
+ declare const create$4: z.ZodObject<{
147
147
  name: z.ZodString;
148
148
  description: z.ZodDefault<z.ZodOptional<z.ZodString>>;
149
149
  startTime: z.ZodCoercedNumber<unknown>;
@@ -153,7 +153,7 @@ declare const create$3: z.ZodObject<{
153
153
  declare const remove$2: z.ZodObject<{
154
154
  id: z.ZodString;
155
155
  }, z.core.$strip>;
156
- declare const get$3: z.ZodObject<{
156
+ declare const get$5: z.ZodObject<{
157
157
  id: z.ZodString;
158
158
  name: z.ZodString;
159
159
  description: z.ZodOptional<z.ZodString>;
@@ -169,15 +169,15 @@ declare const list$1: z.ZodArray<z.ZodObject<{
169
169
  endTime: z.ZodCoercedNumber<unknown>;
170
170
  minHour: z.ZodCoercedNumber<unknown>;
171
171
  }, z.core.$strip>>;
172
- type SafeGet$2 = z.output<typeof get$3>;
172
+ type SafeGet$4 = z.output<typeof get$5>;
173
173
  type SafeList$2 = z.output<typeof list$1>;
174
- type SafeCreate$3 = z.output<typeof create$3>;
175
- type SafeUpdate$1 = z.output<typeof update$1>;
174
+ type SafeCreate$4 = z.output<typeof create$4>;
175
+ type SafeUpdate$3 = z.output<typeof update$3>;
176
176
  type SafeRemove$2 = z.output<typeof remove$2>;
177
177
 
178
178
  declare const slot_time12h: typeof time12h;
179
179
  declare namespace slot {
180
- export { type SafeCreate$3 as SafeCreate, type SafeGet$2 as SafeGet, type SafeList$2 as SafeList, type SafeRemove$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 };
180
+ export { type SafeCreate$4 as SafeCreate, type SafeGet$4 as SafeGet, type SafeList$2 as SafeList, type SafeRemove$2 as SafeRemove, type SafeUpdate$3 as SafeUpdate, create$4 as create, get$5 as get, list$1 as list, remove$2 as remove, slot_time12h as time12h, update$3 as update };
181
181
  }
182
182
 
183
183
  declare const Weekday: z.ZodEnum<{
@@ -189,7 +189,7 @@ declare const Weekday: z.ZodEnum<{
189
189
  friday: "friday";
190
190
  saturday: "saturday";
191
191
  }>;
192
- declare const get$2: z.ZodObject<{
192
+ declare const get$4: z.ZodObject<{
193
193
  id: z.ZodString;
194
194
  operationalDays: z.ZodPipe<z.ZodArray<z.ZodEnum<{
195
195
  sunday: "sunday";
@@ -201,7 +201,7 @@ declare const get$2: z.ZodObject<{
201
201
  saturday: "saturday";
202
202
  }>>, z.ZodTransform<("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[], ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[]>>;
203
203
  }, z.core.$strip>;
204
- declare const create$2: z.ZodObject<{
204
+ declare const create$3: z.ZodObject<{
205
205
  operationalDays: z.ZodPipe<z.ZodArray<z.ZodEnum<{
206
206
  sunday: "sunday";
207
207
  monday: "monday";
@@ -212,7 +212,7 @@ declare const create$2: z.ZodObject<{
212
212
  saturday: "saturday";
213
213
  }>>, z.ZodTransform<("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[], ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[]>>;
214
214
  }, z.core.$strip>;
215
- declare const update: z.ZodObject<{
215
+ declare const update$2: z.ZodObject<{
216
216
  id: z.ZodOptional<z.ZodString>;
217
217
  operationalDays: z.ZodPipe<z.ZodArray<z.ZodEnum<{
218
218
  sunday: "sunday";
@@ -224,20 +224,18 @@ declare const update: z.ZodObject<{
224
224
  saturday: "saturday";
225
225
  }>>, z.ZodTransform<("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[], ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[]>>;
226
226
  }, z.core.$strip>;
227
- type SafeGet$1 = z.output<typeof get$2>;
227
+ type SafeGet$3 = z.output<typeof get$4>;
228
228
  type SafeWeekdays = z.output<typeof Weekday>;
229
- type SafeCreate$2 = z.output<typeof create$2>;
230
- type SafeUpdate = z.output<typeof update>;
229
+ type SafeCreate$3 = z.output<typeof create$3>;
230
+ type SafeUpdate$2 = z.output<typeof update$2>;
231
231
 
232
- type operationalDays_SafeUpdate = SafeUpdate;
233
232
  type operationalDays_SafeWeekdays = SafeWeekdays;
234
233
  declare const operationalDays_Weekday: typeof Weekday;
235
- declare const operationalDays_update: typeof update;
236
234
  declare namespace operationalDays {
237
- export { type SafeCreate$2 as SafeCreate, type SafeGet$1 as SafeGet, type operationalDays_SafeUpdate as SafeUpdate, type operationalDays_SafeWeekdays as SafeWeekdays, operationalDays_Weekday as Weekday, create$2 as create, get$2 as get, operationalDays_update as update };
235
+ export { type SafeCreate$3 as SafeCreate, type SafeGet$3 as SafeGet, type SafeUpdate$2 as SafeUpdate, type operationalDays_SafeWeekdays as SafeWeekdays, operationalDays_Weekday as Weekday, create$3 as create, get$4 as get, update$2 as update };
238
236
  }
239
237
 
240
- declare const get$1: z.ZodObject<{
238
+ declare const get$3: z.ZodObject<{
241
239
  id: z.ZodString;
242
240
  vehicleName: z.ZodString;
243
241
  registrationNumber: z.ZodString;
@@ -263,15 +261,14 @@ declare const list: z.ZodArray<z.ZodObject<{
263
261
  operatedSince: z.ZodCoercedNumber<unknown>;
264
262
  maxCapacity: z.ZodCoercedNumber<unknown>;
265
263
  }, z.core.$strip>>;
266
- type SafeGet = z.infer<typeof get$1>;
264
+ type SafeGet$2 = z.infer<typeof get$3>;
267
265
  type SafeSave$1 = z.output<typeof save$1>;
268
266
  type SafeRemove$1 = z.output<typeof remove$1>;
269
267
  type SafeList$1 = z.output<typeof list>;
270
268
 
271
- type vehicleDetails_SafeGet = SafeGet;
272
269
  declare const vehicleDetails_list: typeof list;
273
270
  declare namespace vehicleDetails {
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 };
271
+ export { type SafeGet$2 as SafeGet, type SafeList$1 as SafeList, type SafeRemove$1 as SafeRemove, type SafeSave$1 as SafeSave, get$3 as get, vehicleDetails_list as list, remove$1 as remove, save$1 as save };
275
272
  }
276
273
 
277
274
  declare const languageKnownEnum: z.ZodEnum<{
@@ -280,7 +277,7 @@ declare const languageKnownEnum: z.ZodEnum<{
280
277
  gujurati: "gujurati";
281
278
  marathi: "marathi";
282
279
  }>;
283
- declare const get: z.ZodObject<{
280
+ declare const get$2: z.ZodObject<{
284
281
  id: z.ZodString;
285
282
  driverName: z.ZodString;
286
283
  drivingLicenseNumber: z.ZodString;
@@ -292,7 +289,7 @@ declare const get: z.ZodObject<{
292
289
  marathi: "marathi";
293
290
  }>>;
294
291
  }, z.core.$strip>;
295
- declare const create$1: z.ZodObject<{
292
+ declare const create$2: z.ZodObject<{
296
293
  driverName: z.ZodString;
297
294
  drivingLicenseNumber: z.ZodString;
298
295
  experience: z.ZodCoercedNumber<unknown>;
@@ -318,44 +315,54 @@ declare const getList: z.ZodArray<z.ZodObject<{
318
315
  marathi: "marathi";
319
316
  }>>;
320
317
  }, z.core.$strip>>;
321
- type SafeMe$3 = z.infer<typeof get>;
322
- type SafeCreate$1 = z.output<typeof create$1>;
318
+ type SafeMe$2 = z.infer<typeof get$2>;
319
+ type SafeCreate$2 = z.output<typeof create$2>;
323
320
  type SafeList = z.output<typeof getList>;
324
321
  type SafeRemove = z.output<typeof remove>;
325
322
 
326
323
  type driverDetails_SafeList = SafeList;
327
324
  type driverDetails_SafeRemove = SafeRemove;
328
- declare const driverDetails_get: typeof get;
329
325
  declare const driverDetails_getList: typeof getList;
330
326
  declare const driverDetails_languageKnownEnum: typeof languageKnownEnum;
331
327
  declare const driverDetails_remove: typeof remove;
332
328
  declare namespace driverDetails {
333
- export { type SafeCreate$1 as SafeCreate, type driverDetails_SafeList as SafeList, type SafeMe$3 as SafeMe, type driverDetails_SafeRemove as SafeRemove, create$1 as create, driverDetails_get as get, driverDetails_getList as getList, driverDetails_languageKnownEnum as languageKnownEnum, driverDetails_remove as remove };
329
+ export { type SafeCreate$2 as SafeCreate, type driverDetails_SafeList as SafeList, type SafeMe$2 as SafeMe, type driverDetails_SafeRemove as SafeRemove, create$2 as create, get$2 as get, driverDetails_getList as getList, driverDetails_languageKnownEnum as languageKnownEnum, driverDetails_remove as remove };
334
330
  }
335
331
 
336
- declare const me$2: z.ZodObject<{
332
+ declare const get$1: z.ZodObject<{
337
333
  bankAccountNumber: z.ZodString;
338
334
  bankName: z.ZodString;
339
335
  accountHolderName: z.ZodString;
340
- gstNumber: z.ZodOptional<z.ZodString>;
341
- businessNumber: z.ZodOptional<z.ZodString>;
342
- ifscCode: z.ZodString;
336
+ bankIFSCCode: z.ZodString;
337
+ adhaarNumber: z.ZodString;
338
+ GstNumber: z.ZodOptional<z.ZodString>;
339
+ businessIdNumber: z.ZodOptional<z.ZodString>;
343
340
  }, z.core.$strip>;
344
- declare const create: z.ZodObject<{
341
+ declare const create$1: z.ZodObject<{
345
342
  bankAccountNumber: z.ZodString;
346
343
  bankName: z.ZodString;
347
344
  accountHolderName: z.ZodString;
348
- ifscCode: z.ZodString;
349
- gstNumber: z.ZodOptional<z.ZodString>;
350
- businessNumber: z.ZodOptional<z.ZodString>;
345
+ bankIFSCCode: z.ZodString;
346
+ adhaarNumber: z.ZodString;
347
+ GstNumber: z.ZodOptional<z.ZodString>;
348
+ businessIdNumber: z.ZodOptional<z.ZodString>;
351
349
  }, z.core.$strip>;
352
- type SafeMe$2 = z.infer<typeof me$2>;
353
- type SafeCreate = z.output<typeof create>;
350
+ declare const update$1: z.ZodObject<{
351
+ bankAccountNumber: z.ZodString;
352
+ bankName: z.ZodString;
353
+ accountHolderName: z.ZodString;
354
+ bankIFSCCode: z.ZodString;
355
+ adhaarNumber: z.ZodString;
356
+ GstNumber: z.ZodOptional<z.ZodString>;
357
+ businessIdNumber: z.ZodOptional<z.ZodString>;
358
+ id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
359
+ }, z.core.$strip>;
360
+ type SafeGet$1 = z.infer<typeof get$1>;
361
+ type SafeCreate$1 = z.output<typeof create$1>;
362
+ type SafeUpdate$1 = z.output<typeof update$1>;
354
363
 
355
- type businessDetails_SafeCreate = SafeCreate;
356
- declare const businessDetails_create: typeof create;
357
364
  declare namespace businessDetails {
358
- export { type businessDetails_SafeCreate as SafeCreate, type SafeMe$2 as SafeMe, businessDetails_create as create, me$2 as me };
365
+ export { type SafeCreate$1 as SafeCreate, type SafeGet$1 as SafeGet, type SafeUpdate$1 as SafeUpdate, create$1 as create, get$1 as get, update$1 as update };
359
366
  }
360
367
 
361
368
  declare const me$1: z.ZodObject<{
@@ -375,6 +382,34 @@ declare namespace personalDetails {
375
382
  export { type SafeMe$1 as SafeMe, type personalDetails_SafeSave as SafeSave, me$1 as me, personalDetails_save as save };
376
383
  }
377
384
 
385
+ declare const get: z.ZodObject<{
386
+ id: z.ZodString;
387
+ baseRate: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
388
+ discount: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
389
+ }, z.core.$strip>;
390
+ declare const create: z.ZodObject<{
391
+ baseRate: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
392
+ discount: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
393
+ }, z.core.$strip>;
394
+ declare const update: z.ZodObject<{
395
+ id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
396
+ baseRate: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
397
+ discount: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
398
+ }, z.core.$strip>;
399
+ type SafeGet = z.infer<typeof get>;
400
+ type SafeUpdate = z.output<typeof update>;
401
+ type SafeCreate = z.output<typeof create>;
402
+
403
+ type rateCard_SafeCreate = SafeCreate;
404
+ type rateCard_SafeGet = SafeGet;
405
+ type rateCard_SafeUpdate = SafeUpdate;
406
+ declare const rateCard_create: typeof create;
407
+ declare const rateCard_get: typeof get;
408
+ declare const rateCard_update: typeof update;
409
+ declare namespace rateCard {
410
+ export { type rateCard_SafeCreate as SafeCreate, type rateCard_SafeGet as SafeGet, type rateCard_SafeUpdate as SafeUpdate, rateCard_create as create, rateCard_get as get, rateCard_update as update };
411
+ }
412
+
378
413
  declare const steps: z.ZodEnum<{
379
414
  location: "location";
380
415
  basic_info: "basic_info";
@@ -408,7 +443,7 @@ declare namespace step {
408
443
  }
409
444
 
410
445
  declare namespace index {
411
- 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 };
446
+ export { basicDetails as BasicDetails, businessDetails as BusinessDetails, driverDetails as DriverDetails, location as Location, operationalDays as OperationalDays, personalDetails as PersonalDetails, rateCard as RateMatrix, slot as Slot, step as Step, vehicleDetails as VehicleDetails };
412
447
  }
413
448
 
414
- 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 };
449
+ 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, rateCard as r, slot as s, vehicleDetails as v };