@tripsam/onboarding 1.0.63 → 1.0.64
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-zE10voY_.d.cts → index-DuhHwUSi.d.cts} +71 -49
- package/dist/{index-zE10voY_.d.ts → index-DuhHwUSi.d.ts} +71 -49
- package/dist/index.cjs +49 -25
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +49 -25
- package/dist/safari/index.cjs +36 -11
- package/dist/safari/index.d.cts +1 -1
- package/dist/safari/index.d.ts +1 -1
- package/dist/safari/index.js +35 -11
- 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$6: 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$
|
|
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$
|
|
44
|
+
declare const update$4: 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$
|
|
52
|
-
type SafeUpdate$
|
|
53
|
-
type SafeCreate$
|
|
54
|
-
declare const defaultBasicDetails: SafeGet$
|
|
51
|
+
type SafeGet$5 = z.infer<typeof get$6>;
|
|
52
|
+
type SafeUpdate$4 = z.output<typeof update$4>;
|
|
53
|
+
type SafeCreate$6 = z.output<typeof create$6>;
|
|
54
|
+
declare const defaultBasicDetails: SafeGet$5;
|
|
55
55
|
|
|
56
56
|
type basicDetails_SafariType = SafariType;
|
|
57
57
|
declare const basicDetails_defaultBasicDetails: typeof defaultBasicDetails;
|
|
58
58
|
declare const basicDetails_safariTypes: typeof safariTypes;
|
|
59
59
|
declare const basicDetails_safeSas: typeof safeSas;
|
|
60
60
|
declare namespace basicDetails {
|
|
61
|
-
export { type basicDetails_SafariType as SafariType, type SafeCreate$
|
|
61
|
+
export { type basicDetails_SafariType as SafariType, type SafeCreate$6 as SafeCreate, type SafeGet$5 as SafeGet, type SafeUpdate$4 as SafeUpdate, create$6 as create, basicDetails_defaultBasicDetails as defaultBasicDetails, get$6 as get, basicDetails_safariTypes as safariTypes, basicDetails_safeSas as safeSas, update$4 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$5: 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$
|
|
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$
|
|
112
|
+
declare const update$3: 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$
|
|
125
|
-
type SafeCreate$
|
|
126
|
-
type SafeUpdate$
|
|
124
|
+
type SafeGet$4 = z.output<typeof get$5>;
|
|
125
|
+
type SafeCreate$5 = z.output<typeof create$5>;
|
|
126
|
+
type SafeUpdate$3 = z.output<typeof update$3>;
|
|
127
127
|
type SafePickupLandmark = z.output<typeof pickupLandmark>;
|
|
128
|
-
declare const defaultLocation: SafeGet$
|
|
128
|
+
declare const defaultLocation: SafeGet$4;
|
|
129
129
|
|
|
130
130
|
type location_SafePickupLandmark = SafePickupLandmark;
|
|
131
131
|
declare const location_defaultLocation: typeof defaultLocation;
|
|
132
132
|
declare const location_pickupLandmark: typeof pickupLandmark;
|
|
133
133
|
declare namespace location {
|
|
134
|
-
export { type SafeCreate$
|
|
134
|
+
export { type SafeCreate$5 as SafeCreate, type SafeGet$4 as SafeGet, type location_SafePickupLandmark as SafePickupLandmark, type SafeUpdate$3 as SafeUpdate, create$5 as create, location_defaultLocation as defaultLocation, get$5 as get, location_pickupLandmark as pickupLandmark, update$3 as update };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
declare const time12h: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
|
|
138
|
-
declare const update$
|
|
138
|
+
declare const update$2: 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$
|
|
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$
|
|
156
|
+
declare const get$4: 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$
|
|
172
|
+
type SafeGet$3 = z.output<typeof get$4>;
|
|
173
173
|
type SafeList$2 = z.output<typeof list$1>;
|
|
174
|
-
type SafeCreate$
|
|
175
|
-
type SafeUpdate$
|
|
174
|
+
type SafeCreate$4 = z.output<typeof create$4>;
|
|
175
|
+
type SafeUpdate$2 = z.output<typeof update$2>;
|
|
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$
|
|
180
|
+
export { type SafeCreate$4 as SafeCreate, type SafeGet$3 as SafeGet, type SafeList$2 as SafeList, type SafeRemove$2 as SafeRemove, type SafeUpdate$2 as SafeUpdate, create$4 as create, get$4 as get, list$1 as list, remove$2 as remove, slot_time12h as time12h, update$2 as update };
|
|
181
181
|
}
|
|
182
182
|
|
|
183
183
|
declare const Weekday: z.ZodEnum<{
|
|
@@ -189,7 +189,7 @@ declare const Weekday: z.ZodEnum<{
|
|
|
189
189
|
friday: "friday";
|
|
190
190
|
saturday: "saturday";
|
|
191
191
|
}>;
|
|
192
|
-
declare const get$
|
|
192
|
+
declare const get$3: 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$
|
|
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$1: 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$
|
|
227
|
+
type SafeGet$2 = z.output<typeof get$3>;
|
|
228
228
|
type SafeWeekdays = z.output<typeof Weekday>;
|
|
229
|
-
type SafeCreate$
|
|
230
|
-
type SafeUpdate = z.output<typeof update>;
|
|
229
|
+
type SafeCreate$3 = z.output<typeof create$3>;
|
|
230
|
+
type SafeUpdate$1 = z.output<typeof update$1>;
|
|
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$
|
|
235
|
+
export { type SafeCreate$3 as SafeCreate, type SafeGet$2 as SafeGet, type SafeUpdate$1 as SafeUpdate, type operationalDays_SafeWeekdays as SafeWeekdays, operationalDays_Weekday as Weekday, create$3 as create, get$3 as get, update$1 as update };
|
|
238
236
|
}
|
|
239
237
|
|
|
240
|
-
declare const get$
|
|
238
|
+
declare const get$2: 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$
|
|
264
|
+
type SafeGet$1 = z.infer<typeof get$2>;
|
|
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
|
|
271
|
+
export { type SafeGet$1 as SafeGet, type SafeList$1 as SafeList, type SafeRemove$1 as SafeRemove, type SafeSave$1 as SafeSave, get$2 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$1: 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$
|
|
292
|
+
declare const create$2: z.ZodObject<{
|
|
296
293
|
driverName: z.ZodString;
|
|
297
294
|
drivingLicenseNumber: z.ZodString;
|
|
298
295
|
experience: z.ZodCoercedNumber<unknown>;
|
|
@@ -318,19 +315,18 @@ 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$
|
|
318
|
+
type SafeMe$3 = z.infer<typeof get$1>;
|
|
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$
|
|
329
|
+
export { type SafeCreate$2 as SafeCreate, type driverDetails_SafeList as SafeList, type SafeMe$3 as SafeMe, type driverDetails_SafeRemove as SafeRemove, create$2 as create, get$1 as get, driverDetails_getList as getList, driverDetails_languageKnownEnum as languageKnownEnum, driverDetails_remove as remove };
|
|
334
330
|
}
|
|
335
331
|
|
|
336
332
|
declare const me$2: z.ZodObject<{
|
|
@@ -341,7 +337,7 @@ declare const me$2: z.ZodObject<{
|
|
|
341
337
|
businessNumber: z.ZodOptional<z.ZodString>;
|
|
342
338
|
ifscCode: z.ZodString;
|
|
343
339
|
}, z.core.$strip>;
|
|
344
|
-
declare const create: z.ZodObject<{
|
|
340
|
+
declare const create$1: z.ZodObject<{
|
|
345
341
|
bankAccountNumber: z.ZodString;
|
|
346
342
|
bankName: z.ZodString;
|
|
347
343
|
accountHolderName: z.ZodString;
|
|
@@ -350,12 +346,10 @@ declare const create: z.ZodObject<{
|
|
|
350
346
|
businessNumber: z.ZodOptional<z.ZodString>;
|
|
351
347
|
}, z.core.$strip>;
|
|
352
348
|
type SafeMe$2 = z.infer<typeof me$2>;
|
|
353
|
-
type SafeCreate = z.output<typeof create>;
|
|
349
|
+
type SafeCreate$1 = z.output<typeof create$1>;
|
|
354
350
|
|
|
355
|
-
type businessDetails_SafeCreate = SafeCreate;
|
|
356
|
-
declare const businessDetails_create: typeof create;
|
|
357
351
|
declare namespace businessDetails {
|
|
358
|
-
export { type
|
|
352
|
+
export { type SafeCreate$1 as SafeCreate, type SafeMe$2 as SafeMe, create$1 as create, me$2 as me };
|
|
359
353
|
}
|
|
360
354
|
|
|
361
355
|
declare const me$1: z.ZodObject<{
|
|
@@ -375,6 +369,34 @@ declare namespace personalDetails {
|
|
|
375
369
|
export { type SafeMe$1 as SafeMe, type personalDetails_SafeSave as SafeSave, me$1 as me, personalDetails_save as save };
|
|
376
370
|
}
|
|
377
371
|
|
|
372
|
+
declare const get: z.ZodObject<{
|
|
373
|
+
id: z.ZodString;
|
|
374
|
+
baseRate: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
375
|
+
discount: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
376
|
+
}, z.core.$strip>;
|
|
377
|
+
declare const create: z.ZodObject<{
|
|
378
|
+
baseRate: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
379
|
+
discount: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
380
|
+
}, z.core.$strip>;
|
|
381
|
+
declare const update: z.ZodObject<{
|
|
382
|
+
id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
383
|
+
baseRate: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
384
|
+
discount: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
385
|
+
}, z.core.$strip>;
|
|
386
|
+
type SafeGet = z.infer<typeof get>;
|
|
387
|
+
type SafeUpdate = z.output<typeof update>;
|
|
388
|
+
type SafeCreate = z.output<typeof create>;
|
|
389
|
+
|
|
390
|
+
type rateCard_SafeCreate = SafeCreate;
|
|
391
|
+
type rateCard_SafeGet = SafeGet;
|
|
392
|
+
type rateCard_SafeUpdate = SafeUpdate;
|
|
393
|
+
declare const rateCard_create: typeof create;
|
|
394
|
+
declare const rateCard_get: typeof get;
|
|
395
|
+
declare const rateCard_update: typeof update;
|
|
396
|
+
declare namespace rateCard {
|
|
397
|
+
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 };
|
|
398
|
+
}
|
|
399
|
+
|
|
378
400
|
declare const steps: z.ZodEnum<{
|
|
379
401
|
location: "location";
|
|
380
402
|
basic_info: "basic_info";
|
|
@@ -408,7 +430,7 @@ declare namespace step {
|
|
|
408
430
|
}
|
|
409
431
|
|
|
410
432
|
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 };
|
|
433
|
+
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
434
|
}
|
|
413
435
|
|
|
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 };
|
|
436
|
+
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 };
|
|
@@ -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$6: 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$
|
|
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$
|
|
44
|
+
declare const update$4: 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$
|
|
52
|
-
type SafeUpdate$
|
|
53
|
-
type SafeCreate$
|
|
54
|
-
declare const defaultBasicDetails: SafeGet$
|
|
51
|
+
type SafeGet$5 = z.infer<typeof get$6>;
|
|
52
|
+
type SafeUpdate$4 = z.output<typeof update$4>;
|
|
53
|
+
type SafeCreate$6 = z.output<typeof create$6>;
|
|
54
|
+
declare const defaultBasicDetails: SafeGet$5;
|
|
55
55
|
|
|
56
56
|
type basicDetails_SafariType = SafariType;
|
|
57
57
|
declare const basicDetails_defaultBasicDetails: typeof defaultBasicDetails;
|
|
58
58
|
declare const basicDetails_safariTypes: typeof safariTypes;
|
|
59
59
|
declare const basicDetails_safeSas: typeof safeSas;
|
|
60
60
|
declare namespace basicDetails {
|
|
61
|
-
export { type basicDetails_SafariType as SafariType, type SafeCreate$
|
|
61
|
+
export { type basicDetails_SafariType as SafariType, type SafeCreate$6 as SafeCreate, type SafeGet$5 as SafeGet, type SafeUpdate$4 as SafeUpdate, create$6 as create, basicDetails_defaultBasicDetails as defaultBasicDetails, get$6 as get, basicDetails_safariTypes as safariTypes, basicDetails_safeSas as safeSas, update$4 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$5: 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$
|
|
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$
|
|
112
|
+
declare const update$3: 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$
|
|
125
|
-
type SafeCreate$
|
|
126
|
-
type SafeUpdate$
|
|
124
|
+
type SafeGet$4 = z.output<typeof get$5>;
|
|
125
|
+
type SafeCreate$5 = z.output<typeof create$5>;
|
|
126
|
+
type SafeUpdate$3 = z.output<typeof update$3>;
|
|
127
127
|
type SafePickupLandmark = z.output<typeof pickupLandmark>;
|
|
128
|
-
declare const defaultLocation: SafeGet$
|
|
128
|
+
declare const defaultLocation: SafeGet$4;
|
|
129
129
|
|
|
130
130
|
type location_SafePickupLandmark = SafePickupLandmark;
|
|
131
131
|
declare const location_defaultLocation: typeof defaultLocation;
|
|
132
132
|
declare const location_pickupLandmark: typeof pickupLandmark;
|
|
133
133
|
declare namespace location {
|
|
134
|
-
export { type SafeCreate$
|
|
134
|
+
export { type SafeCreate$5 as SafeCreate, type SafeGet$4 as SafeGet, type location_SafePickupLandmark as SafePickupLandmark, type SafeUpdate$3 as SafeUpdate, create$5 as create, location_defaultLocation as defaultLocation, get$5 as get, location_pickupLandmark as pickupLandmark, update$3 as update };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
declare const time12h: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
|
|
138
|
-
declare const update$
|
|
138
|
+
declare const update$2: 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$
|
|
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$
|
|
156
|
+
declare const get$4: 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$
|
|
172
|
+
type SafeGet$3 = z.output<typeof get$4>;
|
|
173
173
|
type SafeList$2 = z.output<typeof list$1>;
|
|
174
|
-
type SafeCreate$
|
|
175
|
-
type SafeUpdate$
|
|
174
|
+
type SafeCreate$4 = z.output<typeof create$4>;
|
|
175
|
+
type SafeUpdate$2 = z.output<typeof update$2>;
|
|
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$
|
|
180
|
+
export { type SafeCreate$4 as SafeCreate, type SafeGet$3 as SafeGet, type SafeList$2 as SafeList, type SafeRemove$2 as SafeRemove, type SafeUpdate$2 as SafeUpdate, create$4 as create, get$4 as get, list$1 as list, remove$2 as remove, slot_time12h as time12h, update$2 as update };
|
|
181
181
|
}
|
|
182
182
|
|
|
183
183
|
declare const Weekday: z.ZodEnum<{
|
|
@@ -189,7 +189,7 @@ declare const Weekday: z.ZodEnum<{
|
|
|
189
189
|
friday: "friday";
|
|
190
190
|
saturday: "saturday";
|
|
191
191
|
}>;
|
|
192
|
-
declare const get$
|
|
192
|
+
declare const get$3: 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$
|
|
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$1: 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$
|
|
227
|
+
type SafeGet$2 = z.output<typeof get$3>;
|
|
228
228
|
type SafeWeekdays = z.output<typeof Weekday>;
|
|
229
|
-
type SafeCreate$
|
|
230
|
-
type SafeUpdate = z.output<typeof update>;
|
|
229
|
+
type SafeCreate$3 = z.output<typeof create$3>;
|
|
230
|
+
type SafeUpdate$1 = z.output<typeof update$1>;
|
|
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$
|
|
235
|
+
export { type SafeCreate$3 as SafeCreate, type SafeGet$2 as SafeGet, type SafeUpdate$1 as SafeUpdate, type operationalDays_SafeWeekdays as SafeWeekdays, operationalDays_Weekday as Weekday, create$3 as create, get$3 as get, update$1 as update };
|
|
238
236
|
}
|
|
239
237
|
|
|
240
|
-
declare const get$
|
|
238
|
+
declare const get$2: 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$
|
|
264
|
+
type SafeGet$1 = z.infer<typeof get$2>;
|
|
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
|
|
271
|
+
export { type SafeGet$1 as SafeGet, type SafeList$1 as SafeList, type SafeRemove$1 as SafeRemove, type SafeSave$1 as SafeSave, get$2 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$1: 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$
|
|
292
|
+
declare const create$2: z.ZodObject<{
|
|
296
293
|
driverName: z.ZodString;
|
|
297
294
|
drivingLicenseNumber: z.ZodString;
|
|
298
295
|
experience: z.ZodCoercedNumber<unknown>;
|
|
@@ -318,19 +315,18 @@ 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$
|
|
318
|
+
type SafeMe$3 = z.infer<typeof get$1>;
|
|
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$
|
|
329
|
+
export { type SafeCreate$2 as SafeCreate, type driverDetails_SafeList as SafeList, type SafeMe$3 as SafeMe, type driverDetails_SafeRemove as SafeRemove, create$2 as create, get$1 as get, driverDetails_getList as getList, driverDetails_languageKnownEnum as languageKnownEnum, driverDetails_remove as remove };
|
|
334
330
|
}
|
|
335
331
|
|
|
336
332
|
declare const me$2: z.ZodObject<{
|
|
@@ -341,7 +337,7 @@ declare const me$2: z.ZodObject<{
|
|
|
341
337
|
businessNumber: z.ZodOptional<z.ZodString>;
|
|
342
338
|
ifscCode: z.ZodString;
|
|
343
339
|
}, z.core.$strip>;
|
|
344
|
-
declare const create: z.ZodObject<{
|
|
340
|
+
declare const create$1: z.ZodObject<{
|
|
345
341
|
bankAccountNumber: z.ZodString;
|
|
346
342
|
bankName: z.ZodString;
|
|
347
343
|
accountHolderName: z.ZodString;
|
|
@@ -350,12 +346,10 @@ declare const create: z.ZodObject<{
|
|
|
350
346
|
businessNumber: z.ZodOptional<z.ZodString>;
|
|
351
347
|
}, z.core.$strip>;
|
|
352
348
|
type SafeMe$2 = z.infer<typeof me$2>;
|
|
353
|
-
type SafeCreate = z.output<typeof create>;
|
|
349
|
+
type SafeCreate$1 = z.output<typeof create$1>;
|
|
354
350
|
|
|
355
|
-
type businessDetails_SafeCreate = SafeCreate;
|
|
356
|
-
declare const businessDetails_create: typeof create;
|
|
357
351
|
declare namespace businessDetails {
|
|
358
|
-
export { type
|
|
352
|
+
export { type SafeCreate$1 as SafeCreate, type SafeMe$2 as SafeMe, create$1 as create, me$2 as me };
|
|
359
353
|
}
|
|
360
354
|
|
|
361
355
|
declare const me$1: z.ZodObject<{
|
|
@@ -375,6 +369,34 @@ declare namespace personalDetails {
|
|
|
375
369
|
export { type SafeMe$1 as SafeMe, type personalDetails_SafeSave as SafeSave, me$1 as me, personalDetails_save as save };
|
|
376
370
|
}
|
|
377
371
|
|
|
372
|
+
declare const get: z.ZodObject<{
|
|
373
|
+
id: z.ZodString;
|
|
374
|
+
baseRate: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
375
|
+
discount: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
376
|
+
}, z.core.$strip>;
|
|
377
|
+
declare const create: z.ZodObject<{
|
|
378
|
+
baseRate: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
379
|
+
discount: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
380
|
+
}, z.core.$strip>;
|
|
381
|
+
declare const update: z.ZodObject<{
|
|
382
|
+
id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
383
|
+
baseRate: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
384
|
+
discount: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
385
|
+
}, z.core.$strip>;
|
|
386
|
+
type SafeGet = z.infer<typeof get>;
|
|
387
|
+
type SafeUpdate = z.output<typeof update>;
|
|
388
|
+
type SafeCreate = z.output<typeof create>;
|
|
389
|
+
|
|
390
|
+
type rateCard_SafeCreate = SafeCreate;
|
|
391
|
+
type rateCard_SafeGet = SafeGet;
|
|
392
|
+
type rateCard_SafeUpdate = SafeUpdate;
|
|
393
|
+
declare const rateCard_create: typeof create;
|
|
394
|
+
declare const rateCard_get: typeof get;
|
|
395
|
+
declare const rateCard_update: typeof update;
|
|
396
|
+
declare namespace rateCard {
|
|
397
|
+
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 };
|
|
398
|
+
}
|
|
399
|
+
|
|
378
400
|
declare const steps: z.ZodEnum<{
|
|
379
401
|
location: "location";
|
|
380
402
|
basic_info: "basic_info";
|
|
@@ -408,7 +430,7 @@ declare namespace step {
|
|
|
408
430
|
}
|
|
409
431
|
|
|
410
432
|
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 };
|
|
433
|
+
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
434
|
}
|
|
413
435
|
|
|
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 };
|
|
436
|
+
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 };
|
package/dist/index.cjs
CHANGED
|
@@ -44,6 +44,7 @@ __export(safari_exports, {
|
|
|
44
44
|
Location: () => location_exports2,
|
|
45
45
|
OperationalDays: () => operational_days_exports,
|
|
46
46
|
PersonalDetails: () => personal_details_exports,
|
|
47
|
+
RateMatrix: () => rate_card_exports,
|
|
47
48
|
Slot: () => slot_exports,
|
|
48
49
|
Step: () => step_exports,
|
|
49
50
|
VehicleDetails: () => vehicle_details_exports
|
|
@@ -359,24 +360,47 @@ var save2 = import_zod9.z.object({
|
|
|
359
360
|
address: import_zod9.z.string().trim().nonempty("required")
|
|
360
361
|
});
|
|
361
362
|
|
|
363
|
+
// src/safari/rate-card.ts
|
|
364
|
+
var rate_card_exports = {};
|
|
365
|
+
__export(rate_card_exports, {
|
|
366
|
+
create: () => create7,
|
|
367
|
+
get: () => get7,
|
|
368
|
+
update: () => update5
|
|
369
|
+
});
|
|
370
|
+
var import_zod10 = require("zod");
|
|
371
|
+
var get7 = import_zod10.z.object({
|
|
372
|
+
id: import_zod10.z.string(),
|
|
373
|
+
baseRate: import_zod10.z.coerce.number().default(0),
|
|
374
|
+
discount: import_zod10.z.coerce.number().default(0)
|
|
375
|
+
});
|
|
376
|
+
var create7 = import_zod10.z.object({
|
|
377
|
+
baseRate: import_zod10.z.coerce.number().default(0),
|
|
378
|
+
discount: import_zod10.z.coerce.number().default(0)
|
|
379
|
+
});
|
|
380
|
+
var update5 = import_zod10.z.object({
|
|
381
|
+
id: import_zod10.z.string().optional().default(""),
|
|
382
|
+
baseRate: import_zod10.z.coerce.number().default(0),
|
|
383
|
+
discount: import_zod10.z.coerce.number().default(0)
|
|
384
|
+
});
|
|
385
|
+
|
|
362
386
|
// src/safari/step.ts
|
|
363
387
|
var step_exports = {};
|
|
364
388
|
__export(step_exports, {
|
|
365
389
|
me: () => me3,
|
|
366
390
|
steps: () => steps
|
|
367
391
|
});
|
|
368
|
-
var
|
|
369
|
-
var steps =
|
|
370
|
-
var me3 =
|
|
371
|
-
email:
|
|
372
|
-
name:
|
|
373
|
-
countryCode:
|
|
374
|
-
phoneNumber:
|
|
375
|
-
isPhoneVerified:
|
|
376
|
-
type:
|
|
377
|
-
status:
|
|
392
|
+
var import_zod11 = require("zod");
|
|
393
|
+
var steps = import_zod11.z.enum(["basic_info", "location"]);
|
|
394
|
+
var me3 = import_zod11.z.object({
|
|
395
|
+
email: import_zod11.z.string(),
|
|
396
|
+
name: import_zod11.z.string().trim().optional().default(""),
|
|
397
|
+
countryCode: import_zod11.z.string().optional().default("+91"),
|
|
398
|
+
phoneNumber: import_zod11.z.string().optional().default(""),
|
|
399
|
+
isPhoneVerified: import_zod11.z.boolean().optional().default(false),
|
|
400
|
+
type: import_zod11.z.string().optional().default(""),
|
|
401
|
+
status: import_zod11.z.enum(["pending", "in_review", "approved", "rejected"]).optional().default("pending"),
|
|
378
402
|
currentStep: steps,
|
|
379
|
-
remarks:
|
|
403
|
+
remarks: import_zod11.z.string().optional().default("")
|
|
380
404
|
});
|
|
381
405
|
|
|
382
406
|
// src/common/index.ts
|
|
@@ -394,16 +418,16 @@ __export(verify_email_exports, {
|
|
|
394
418
|
verifyOtp: () => verifyOtp,
|
|
395
419
|
verifyOtpResponse: () => verifyOtpResponse
|
|
396
420
|
});
|
|
397
|
-
var
|
|
398
|
-
var sendOtp =
|
|
399
|
-
email:
|
|
421
|
+
var import_zod12 = require("zod");
|
|
422
|
+
var sendOtp = import_zod12.z.object({
|
|
423
|
+
email: import_zod12.z.email("invalid").nonempty("required").trim().toLowerCase()
|
|
400
424
|
});
|
|
401
|
-
var verifyOtp =
|
|
402
|
-
otp:
|
|
403
|
-
email:
|
|
425
|
+
var verifyOtp = import_zod12.z.object({
|
|
426
|
+
otp: import_zod12.z.string().min(4, { message: "required" }),
|
|
427
|
+
email: import_zod12.z.string().optional()
|
|
404
428
|
});
|
|
405
|
-
var verifyOtpResponse =
|
|
406
|
-
id:
|
|
429
|
+
var verifyOtpResponse = import_zod12.z.object({
|
|
430
|
+
id: import_zod12.z.string()
|
|
407
431
|
});
|
|
408
432
|
|
|
409
433
|
// src/common/onboard.ts
|
|
@@ -411,12 +435,12 @@ var onboard_exports = {};
|
|
|
411
435
|
__export(onboard_exports, {
|
|
412
436
|
onboard: () => onboard
|
|
413
437
|
});
|
|
414
|
-
var
|
|
415
|
-
var onboard =
|
|
416
|
-
id:
|
|
417
|
-
status:
|
|
418
|
-
remark:
|
|
419
|
-
currentStep:
|
|
438
|
+
var import_zod13 = require("zod");
|
|
439
|
+
var onboard = import_zod13.z.object({
|
|
440
|
+
id: import_zod13.z.string(),
|
|
441
|
+
status: import_zod13.z.enum(["pending", "in_review", "approved", "rejected", "completed"]),
|
|
442
|
+
remark: import_zod13.z.string().optional().default(""),
|
|
443
|
+
currentStep: import_zod13.z.number().default(1)
|
|
420
444
|
});
|
|
421
445
|
// Annotate the CommonJS export names for ESM import in node:
|
|
422
446
|
0 && (module.exports = {
|
package/dist/index.d.cts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -13,6 +13,7 @@ __export(safari_exports, {
|
|
|
13
13
|
Location: () => location_exports2,
|
|
14
14
|
OperationalDays: () => operational_days_exports,
|
|
15
15
|
PersonalDetails: () => personal_details_exports,
|
|
16
|
+
RateMatrix: () => rate_card_exports,
|
|
16
17
|
Slot: () => slot_exports,
|
|
17
18
|
Step: () => step_exports,
|
|
18
19
|
VehicleDetails: () => vehicle_details_exports
|
|
@@ -328,24 +329,47 @@ var save2 = z9.object({
|
|
|
328
329
|
address: z9.string().trim().nonempty("required")
|
|
329
330
|
});
|
|
330
331
|
|
|
332
|
+
// src/safari/rate-card.ts
|
|
333
|
+
var rate_card_exports = {};
|
|
334
|
+
__export(rate_card_exports, {
|
|
335
|
+
create: () => create7,
|
|
336
|
+
get: () => get7,
|
|
337
|
+
update: () => update5
|
|
338
|
+
});
|
|
339
|
+
import { z as z10 } from "zod";
|
|
340
|
+
var get7 = z10.object({
|
|
341
|
+
id: z10.string(),
|
|
342
|
+
baseRate: z10.coerce.number().default(0),
|
|
343
|
+
discount: z10.coerce.number().default(0)
|
|
344
|
+
});
|
|
345
|
+
var create7 = z10.object({
|
|
346
|
+
baseRate: z10.coerce.number().default(0),
|
|
347
|
+
discount: z10.coerce.number().default(0)
|
|
348
|
+
});
|
|
349
|
+
var update5 = z10.object({
|
|
350
|
+
id: z10.string().optional().default(""),
|
|
351
|
+
baseRate: z10.coerce.number().default(0),
|
|
352
|
+
discount: z10.coerce.number().default(0)
|
|
353
|
+
});
|
|
354
|
+
|
|
331
355
|
// src/safari/step.ts
|
|
332
356
|
var step_exports = {};
|
|
333
357
|
__export(step_exports, {
|
|
334
358
|
me: () => me3,
|
|
335
359
|
steps: () => steps
|
|
336
360
|
});
|
|
337
|
-
import { z as
|
|
338
|
-
var steps =
|
|
339
|
-
var me3 =
|
|
340
|
-
email:
|
|
341
|
-
name:
|
|
342
|
-
countryCode:
|
|
343
|
-
phoneNumber:
|
|
344
|
-
isPhoneVerified:
|
|
345
|
-
type:
|
|
346
|
-
status:
|
|
361
|
+
import { z as z11 } from "zod";
|
|
362
|
+
var steps = z11.enum(["basic_info", "location"]);
|
|
363
|
+
var me3 = z11.object({
|
|
364
|
+
email: z11.string(),
|
|
365
|
+
name: z11.string().trim().optional().default(""),
|
|
366
|
+
countryCode: z11.string().optional().default("+91"),
|
|
367
|
+
phoneNumber: z11.string().optional().default(""),
|
|
368
|
+
isPhoneVerified: z11.boolean().optional().default(false),
|
|
369
|
+
type: z11.string().optional().default(""),
|
|
370
|
+
status: z11.enum(["pending", "in_review", "approved", "rejected"]).optional().default("pending"),
|
|
347
371
|
currentStep: steps,
|
|
348
|
-
remarks:
|
|
372
|
+
remarks: z11.string().optional().default("")
|
|
349
373
|
});
|
|
350
374
|
|
|
351
375
|
// src/common/index.ts
|
|
@@ -363,16 +387,16 @@ __export(verify_email_exports, {
|
|
|
363
387
|
verifyOtp: () => verifyOtp,
|
|
364
388
|
verifyOtpResponse: () => verifyOtpResponse
|
|
365
389
|
});
|
|
366
|
-
import { z as
|
|
367
|
-
var sendOtp =
|
|
368
|
-
email:
|
|
390
|
+
import { z as z12 } from "zod";
|
|
391
|
+
var sendOtp = z12.object({
|
|
392
|
+
email: z12.email("invalid").nonempty("required").trim().toLowerCase()
|
|
369
393
|
});
|
|
370
|
-
var verifyOtp =
|
|
371
|
-
otp:
|
|
372
|
-
email:
|
|
394
|
+
var verifyOtp = z12.object({
|
|
395
|
+
otp: z12.string().min(4, { message: "required" }),
|
|
396
|
+
email: z12.string().optional()
|
|
373
397
|
});
|
|
374
|
-
var verifyOtpResponse =
|
|
375
|
-
id:
|
|
398
|
+
var verifyOtpResponse = z12.object({
|
|
399
|
+
id: z12.string()
|
|
376
400
|
});
|
|
377
401
|
|
|
378
402
|
// src/common/onboard.ts
|
|
@@ -380,12 +404,12 @@ var onboard_exports = {};
|
|
|
380
404
|
__export(onboard_exports, {
|
|
381
405
|
onboard: () => onboard
|
|
382
406
|
});
|
|
383
|
-
import { z as
|
|
384
|
-
var onboard =
|
|
385
|
-
id:
|
|
386
|
-
status:
|
|
387
|
-
remark:
|
|
388
|
-
currentStep:
|
|
407
|
+
import { z as z13 } from "zod";
|
|
408
|
+
var onboard = z13.object({
|
|
409
|
+
id: z13.string(),
|
|
410
|
+
status: z13.enum(["pending", "in_review", "approved", "rejected", "completed"]),
|
|
411
|
+
remark: z13.string().optional().default(""),
|
|
412
|
+
currentStep: z13.number().default(1)
|
|
389
413
|
});
|
|
390
414
|
export {
|
|
391
415
|
common_exports as CommonOnboarding,
|
package/dist/safari/index.cjs
CHANGED
|
@@ -36,6 +36,7 @@ __export(safari_exports, {
|
|
|
36
36
|
Location: () => location_exports,
|
|
37
37
|
OperationalDays: () => operational_days_exports,
|
|
38
38
|
PersonalDetails: () => personal_details_exports,
|
|
39
|
+
RateMatrix: () => rate_card_exports,
|
|
39
40
|
Slot: () => slot_exports,
|
|
40
41
|
Step: () => step_exports,
|
|
41
42
|
VehicleDetails: () => vehicle_details_exports
|
|
@@ -346,24 +347,47 @@ var save2 = import_zod9.z.object({
|
|
|
346
347
|
address: import_zod9.z.string().trim().nonempty("required")
|
|
347
348
|
});
|
|
348
349
|
|
|
350
|
+
// src/safari/rate-card.ts
|
|
351
|
+
var rate_card_exports = {};
|
|
352
|
+
__export(rate_card_exports, {
|
|
353
|
+
create: () => create7,
|
|
354
|
+
get: () => get7,
|
|
355
|
+
update: () => update5
|
|
356
|
+
});
|
|
357
|
+
var import_zod10 = require("zod");
|
|
358
|
+
var get7 = import_zod10.z.object({
|
|
359
|
+
id: import_zod10.z.string(),
|
|
360
|
+
baseRate: import_zod10.z.coerce.number().default(0),
|
|
361
|
+
discount: import_zod10.z.coerce.number().default(0)
|
|
362
|
+
});
|
|
363
|
+
var create7 = import_zod10.z.object({
|
|
364
|
+
baseRate: import_zod10.z.coerce.number().default(0),
|
|
365
|
+
discount: import_zod10.z.coerce.number().default(0)
|
|
366
|
+
});
|
|
367
|
+
var update5 = import_zod10.z.object({
|
|
368
|
+
id: import_zod10.z.string().optional().default(""),
|
|
369
|
+
baseRate: import_zod10.z.coerce.number().default(0),
|
|
370
|
+
discount: import_zod10.z.coerce.number().default(0)
|
|
371
|
+
});
|
|
372
|
+
|
|
349
373
|
// src/safari/step.ts
|
|
350
374
|
var step_exports = {};
|
|
351
375
|
__export(step_exports, {
|
|
352
376
|
me: () => me3,
|
|
353
377
|
steps: () => steps
|
|
354
378
|
});
|
|
355
|
-
var
|
|
356
|
-
var steps =
|
|
357
|
-
var me3 =
|
|
358
|
-
email:
|
|
359
|
-
name:
|
|
360
|
-
countryCode:
|
|
361
|
-
phoneNumber:
|
|
362
|
-
isPhoneVerified:
|
|
363
|
-
type:
|
|
364
|
-
status:
|
|
379
|
+
var import_zod11 = require("zod");
|
|
380
|
+
var steps = import_zod11.z.enum(["basic_info", "location"]);
|
|
381
|
+
var me3 = import_zod11.z.object({
|
|
382
|
+
email: import_zod11.z.string(),
|
|
383
|
+
name: import_zod11.z.string().trim().optional().default(""),
|
|
384
|
+
countryCode: import_zod11.z.string().optional().default("+91"),
|
|
385
|
+
phoneNumber: import_zod11.z.string().optional().default(""),
|
|
386
|
+
isPhoneVerified: import_zod11.z.boolean().optional().default(false),
|
|
387
|
+
type: import_zod11.z.string().optional().default(""),
|
|
388
|
+
status: import_zod11.z.enum(["pending", "in_review", "approved", "rejected"]).optional().default("pending"),
|
|
365
389
|
currentStep: steps,
|
|
366
|
-
remarks:
|
|
390
|
+
remarks: import_zod11.z.string().optional().default("")
|
|
367
391
|
});
|
|
368
392
|
// Annotate the CommonJS export names for ESM import in node:
|
|
369
393
|
0 && (module.exports = {
|
|
@@ -373,6 +397,7 @@ var me3 = import_zod10.z.object({
|
|
|
373
397
|
Location,
|
|
374
398
|
OperationalDays,
|
|
375
399
|
PersonalDetails,
|
|
400
|
+
RateMatrix,
|
|
376
401
|
Slot,
|
|
377
402
|
Step,
|
|
378
403
|
VehicleDetails
|
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, r as RateMatrix, s as Slot, c as Step, v as VehicleDetails } from '../index-DuhHwUSi.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, r as RateMatrix, s as Slot, c as Step, v as VehicleDetails } from '../index-DuhHwUSi.js';
|
|
2
2
|
import 'zod';
|
package/dist/safari/index.js
CHANGED
|
@@ -308,24 +308,47 @@ var save2 = z9.object({
|
|
|
308
308
|
address: z9.string().trim().nonempty("required")
|
|
309
309
|
});
|
|
310
310
|
|
|
311
|
+
// src/safari/rate-card.ts
|
|
312
|
+
var rate_card_exports = {};
|
|
313
|
+
__export(rate_card_exports, {
|
|
314
|
+
create: () => create7,
|
|
315
|
+
get: () => get7,
|
|
316
|
+
update: () => update5
|
|
317
|
+
});
|
|
318
|
+
import { z as z10 } from "zod";
|
|
319
|
+
var get7 = z10.object({
|
|
320
|
+
id: z10.string(),
|
|
321
|
+
baseRate: z10.coerce.number().default(0),
|
|
322
|
+
discount: z10.coerce.number().default(0)
|
|
323
|
+
});
|
|
324
|
+
var create7 = z10.object({
|
|
325
|
+
baseRate: z10.coerce.number().default(0),
|
|
326
|
+
discount: z10.coerce.number().default(0)
|
|
327
|
+
});
|
|
328
|
+
var update5 = z10.object({
|
|
329
|
+
id: z10.string().optional().default(""),
|
|
330
|
+
baseRate: z10.coerce.number().default(0),
|
|
331
|
+
discount: z10.coerce.number().default(0)
|
|
332
|
+
});
|
|
333
|
+
|
|
311
334
|
// src/safari/step.ts
|
|
312
335
|
var step_exports = {};
|
|
313
336
|
__export(step_exports, {
|
|
314
337
|
me: () => me3,
|
|
315
338
|
steps: () => steps
|
|
316
339
|
});
|
|
317
|
-
import { z as
|
|
318
|
-
var steps =
|
|
319
|
-
var me3 =
|
|
320
|
-
email:
|
|
321
|
-
name:
|
|
322
|
-
countryCode:
|
|
323
|
-
phoneNumber:
|
|
324
|
-
isPhoneVerified:
|
|
325
|
-
type:
|
|
326
|
-
status:
|
|
340
|
+
import { z as z11 } from "zod";
|
|
341
|
+
var steps = z11.enum(["basic_info", "location"]);
|
|
342
|
+
var me3 = z11.object({
|
|
343
|
+
email: z11.string(),
|
|
344
|
+
name: z11.string().trim().optional().default(""),
|
|
345
|
+
countryCode: z11.string().optional().default("+91"),
|
|
346
|
+
phoneNumber: z11.string().optional().default(""),
|
|
347
|
+
isPhoneVerified: z11.boolean().optional().default(false),
|
|
348
|
+
type: z11.string().optional().default(""),
|
|
349
|
+
status: z11.enum(["pending", "in_review", "approved", "rejected"]).optional().default("pending"),
|
|
327
350
|
currentStep: steps,
|
|
328
|
-
remarks:
|
|
351
|
+
remarks: z11.string().optional().default("")
|
|
329
352
|
});
|
|
330
353
|
export {
|
|
331
354
|
basic_details_exports as BasicDetails,
|
|
@@ -334,6 +357,7 @@ export {
|
|
|
334
357
|
location_exports as Location,
|
|
335
358
|
operational_days_exports as OperationalDays,
|
|
336
359
|
personal_details_exports as PersonalDetails,
|
|
360
|
+
rate_card_exports as RateMatrix,
|
|
337
361
|
slot_exports as Slot,
|
|
338
362
|
step_exports as Step,
|
|
339
363
|
vehicle_details_exports as VehicleDetails
|