@tripsam/onboarding 1.0.64 → 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.
- package/dist/{index-DuhHwUSi.d.cts → index-BTyULru0.d.cts} +50 -37
- package/dist/{index-DuhHwUSi.d.ts → index-BTyULru0.d.ts} +50 -37
- package/dist/index.cjs +34 -21
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +34 -21
- package/dist/safari/index.cjs +34 -21
- package/dist/safari/index.d.cts +1 -1
- package/dist/safari/index.d.ts +1 -1
- package/dist/safari/index.js +34 -21
- 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$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>>;
|
|
@@ -41,24 +41,24 @@ declare const create$6: z.ZodObject<{
|
|
|
41
41
|
phone: z.ZodString;
|
|
42
42
|
type: z.ZodString;
|
|
43
43
|
}, z.core.$strip>;
|
|
44
|
-
declare const update$
|
|
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$
|
|
52
|
-
type SafeUpdate$
|
|
51
|
+
type SafeGet$6 = z.infer<typeof get$7>;
|
|
52
|
+
type SafeUpdate$5 = z.output<typeof update$5>;
|
|
53
53
|
type SafeCreate$6 = z.output<typeof create$6>;
|
|
54
|
-
declare const defaultBasicDetails: SafeGet$
|
|
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$6 as SafeCreate, type SafeGet$
|
|
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$
|
|
70
|
+
declare const get$6: z.ZodObject<{
|
|
71
71
|
id: z.ZodString;
|
|
72
72
|
location: z.ZodObject<{
|
|
73
73
|
id: z.ZodString;
|
|
@@ -109,7 +109,7 @@ declare const create$5: 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$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$3: z.ZodObject<{
|
|
|
121
121
|
distanceKm: z.ZodCoercedNumber<unknown>;
|
|
122
122
|
}, z.core.$strip>>;
|
|
123
123
|
}, z.core.$strip>;
|
|
124
|
-
type SafeGet$
|
|
124
|
+
type SafeGet$5 = z.output<typeof get$6>;
|
|
125
125
|
type SafeCreate$5 = z.output<typeof create$5>;
|
|
126
|
-
type SafeUpdate$
|
|
126
|
+
type SafeUpdate$4 = z.output<typeof update$4>;
|
|
127
127
|
type SafePickupLandmark = z.output<typeof pickupLandmark>;
|
|
128
|
-
declare const defaultLocation: SafeGet$
|
|
128
|
+
declare const defaultLocation: SafeGet$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$5 as SafeCreate, type SafeGet$
|
|
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$
|
|
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>>;
|
|
@@ -153,7 +153,7 @@ declare const create$4: 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$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$
|
|
172
|
+
type SafeGet$4 = z.output<typeof get$5>;
|
|
173
173
|
type SafeList$2 = z.output<typeof list$1>;
|
|
174
174
|
type SafeCreate$4 = z.output<typeof create$4>;
|
|
175
|
-
type SafeUpdate$
|
|
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$4 as SafeCreate, type SafeGet$
|
|
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$
|
|
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";
|
|
@@ -212,7 +212,7 @@ declare const create$3: 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$
|
|
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,18 +224,18 @@ declare const update$1: 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$3 = z.output<typeof get$4>;
|
|
228
228
|
type SafeWeekdays = z.output<typeof Weekday>;
|
|
229
229
|
type SafeCreate$3 = z.output<typeof create$3>;
|
|
230
|
-
type SafeUpdate$
|
|
230
|
+
type SafeUpdate$2 = z.output<typeof update$2>;
|
|
231
231
|
|
|
232
232
|
type operationalDays_SafeWeekdays = SafeWeekdays;
|
|
233
233
|
declare const operationalDays_Weekday: typeof Weekday;
|
|
234
234
|
declare namespace operationalDays {
|
|
235
|
-
export { type SafeCreate$3 as SafeCreate, type SafeGet$
|
|
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 };
|
|
236
236
|
}
|
|
237
237
|
|
|
238
|
-
declare const get$
|
|
238
|
+
declare const get$3: z.ZodObject<{
|
|
239
239
|
id: z.ZodString;
|
|
240
240
|
vehicleName: z.ZodString;
|
|
241
241
|
registrationNumber: z.ZodString;
|
|
@@ -261,14 +261,14 @@ declare const list: z.ZodArray<z.ZodObject<{
|
|
|
261
261
|
operatedSince: z.ZodCoercedNumber<unknown>;
|
|
262
262
|
maxCapacity: z.ZodCoercedNumber<unknown>;
|
|
263
263
|
}, z.core.$strip>>;
|
|
264
|
-
type SafeGet$
|
|
264
|
+
type SafeGet$2 = z.infer<typeof get$3>;
|
|
265
265
|
type SafeSave$1 = z.output<typeof save$1>;
|
|
266
266
|
type SafeRemove$1 = z.output<typeof remove$1>;
|
|
267
267
|
type SafeList$1 = z.output<typeof list>;
|
|
268
268
|
|
|
269
269
|
declare const vehicleDetails_list: typeof list;
|
|
270
270
|
declare namespace vehicleDetails {
|
|
271
|
-
export { type SafeGet$
|
|
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 };
|
|
272
272
|
}
|
|
273
273
|
|
|
274
274
|
declare const languageKnownEnum: z.ZodEnum<{
|
|
@@ -277,7 +277,7 @@ declare const languageKnownEnum: z.ZodEnum<{
|
|
|
277
277
|
gujurati: "gujurati";
|
|
278
278
|
marathi: "marathi";
|
|
279
279
|
}>;
|
|
280
|
-
declare const get$
|
|
280
|
+
declare const get$2: z.ZodObject<{
|
|
281
281
|
id: z.ZodString;
|
|
282
282
|
driverName: z.ZodString;
|
|
283
283
|
drivingLicenseNumber: z.ZodString;
|
|
@@ -315,7 +315,7 @@ declare const getList: z.ZodArray<z.ZodObject<{
|
|
|
315
315
|
marathi: "marathi";
|
|
316
316
|
}>>;
|
|
317
317
|
}, z.core.$strip>>;
|
|
318
|
-
type SafeMe$
|
|
318
|
+
type SafeMe$2 = z.infer<typeof get$2>;
|
|
319
319
|
type SafeCreate$2 = z.output<typeof create$2>;
|
|
320
320
|
type SafeList = z.output<typeof getList>;
|
|
321
321
|
type SafeRemove = z.output<typeof remove>;
|
|
@@ -326,30 +326,43 @@ declare const driverDetails_getList: typeof getList;
|
|
|
326
326
|
declare const driverDetails_languageKnownEnum: typeof languageKnownEnum;
|
|
327
327
|
declare const driverDetails_remove: typeof remove;
|
|
328
328
|
declare namespace driverDetails {
|
|
329
|
-
export { type SafeCreate$2 as SafeCreate, type driverDetails_SafeList as SafeList, type SafeMe$
|
|
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 };
|
|
330
330
|
}
|
|
331
331
|
|
|
332
|
-
declare const
|
|
332
|
+
declare const get$1: z.ZodObject<{
|
|
333
333
|
bankAccountNumber: z.ZodString;
|
|
334
334
|
bankName: z.ZodString;
|
|
335
335
|
accountHolderName: z.ZodString;
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
336
|
+
bankIFSCCode: z.ZodString;
|
|
337
|
+
adhaarNumber: z.ZodString;
|
|
338
|
+
GstNumber: z.ZodOptional<z.ZodString>;
|
|
339
|
+
businessIdNumber: z.ZodOptional<z.ZodString>;
|
|
339
340
|
}, z.core.$strip>;
|
|
340
341
|
declare const create$1: z.ZodObject<{
|
|
341
342
|
bankAccountNumber: z.ZodString;
|
|
342
343
|
bankName: z.ZodString;
|
|
343
344
|
accountHolderName: z.ZodString;
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
345
|
+
bankIFSCCode: z.ZodString;
|
|
346
|
+
adhaarNumber: z.ZodString;
|
|
347
|
+
GstNumber: z.ZodOptional<z.ZodString>;
|
|
348
|
+
businessIdNumber: z.ZodOptional<z.ZodString>;
|
|
349
|
+
}, z.core.$strip>;
|
|
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>>;
|
|
347
359
|
}, z.core.$strip>;
|
|
348
|
-
type
|
|
360
|
+
type SafeGet$1 = z.infer<typeof get$1>;
|
|
349
361
|
type SafeCreate$1 = z.output<typeof create$1>;
|
|
362
|
+
type SafeUpdate$1 = z.output<typeof update$1>;
|
|
350
363
|
|
|
351
364
|
declare namespace businessDetails {
|
|
352
|
-
export { type SafeCreate$1 as SafeCreate, type
|
|
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 };
|
|
353
366
|
}
|
|
354
367
|
|
|
355
368
|
declare const me$1: z.ZodObject<{
|
|
@@ -19,7 +19,7 @@ declare const safeSas: z.ZodEnum<{
|
|
|
19
19
|
jungle_safari: "jungle_safari";
|
|
20
20
|
}>;
|
|
21
21
|
type SafariType = keyof typeof safariTypes;
|
|
22
|
-
declare const get$
|
|
22
|
+
declare const get$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>>;
|
|
@@ -41,24 +41,24 @@ declare const create$6: z.ZodObject<{
|
|
|
41
41
|
phone: z.ZodString;
|
|
42
42
|
type: z.ZodString;
|
|
43
43
|
}, z.core.$strip>;
|
|
44
|
-
declare const update$
|
|
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$
|
|
52
|
-
type SafeUpdate$
|
|
51
|
+
type SafeGet$6 = z.infer<typeof get$7>;
|
|
52
|
+
type SafeUpdate$5 = z.output<typeof update$5>;
|
|
53
53
|
type SafeCreate$6 = z.output<typeof create$6>;
|
|
54
|
-
declare const defaultBasicDetails: SafeGet$
|
|
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$6 as SafeCreate, type SafeGet$
|
|
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$
|
|
70
|
+
declare const get$6: z.ZodObject<{
|
|
71
71
|
id: z.ZodString;
|
|
72
72
|
location: z.ZodObject<{
|
|
73
73
|
id: z.ZodString;
|
|
@@ -109,7 +109,7 @@ declare const create$5: 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$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$3: z.ZodObject<{
|
|
|
121
121
|
distanceKm: z.ZodCoercedNumber<unknown>;
|
|
122
122
|
}, z.core.$strip>>;
|
|
123
123
|
}, z.core.$strip>;
|
|
124
|
-
type SafeGet$
|
|
124
|
+
type SafeGet$5 = z.output<typeof get$6>;
|
|
125
125
|
type SafeCreate$5 = z.output<typeof create$5>;
|
|
126
|
-
type SafeUpdate$
|
|
126
|
+
type SafeUpdate$4 = z.output<typeof update$4>;
|
|
127
127
|
type SafePickupLandmark = z.output<typeof pickupLandmark>;
|
|
128
|
-
declare const defaultLocation: SafeGet$
|
|
128
|
+
declare const defaultLocation: SafeGet$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$5 as SafeCreate, type SafeGet$
|
|
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$
|
|
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>>;
|
|
@@ -153,7 +153,7 @@ declare const create$4: 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$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$
|
|
172
|
+
type SafeGet$4 = z.output<typeof get$5>;
|
|
173
173
|
type SafeList$2 = z.output<typeof list$1>;
|
|
174
174
|
type SafeCreate$4 = z.output<typeof create$4>;
|
|
175
|
-
type SafeUpdate$
|
|
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$4 as SafeCreate, type SafeGet$
|
|
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$
|
|
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";
|
|
@@ -212,7 +212,7 @@ declare const create$3: 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$
|
|
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,18 +224,18 @@ declare const update$1: 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$3 = z.output<typeof get$4>;
|
|
228
228
|
type SafeWeekdays = z.output<typeof Weekday>;
|
|
229
229
|
type SafeCreate$3 = z.output<typeof create$3>;
|
|
230
|
-
type SafeUpdate$
|
|
230
|
+
type SafeUpdate$2 = z.output<typeof update$2>;
|
|
231
231
|
|
|
232
232
|
type operationalDays_SafeWeekdays = SafeWeekdays;
|
|
233
233
|
declare const operationalDays_Weekday: typeof Weekday;
|
|
234
234
|
declare namespace operationalDays {
|
|
235
|
-
export { type SafeCreate$3 as SafeCreate, type SafeGet$
|
|
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 };
|
|
236
236
|
}
|
|
237
237
|
|
|
238
|
-
declare const get$
|
|
238
|
+
declare const get$3: z.ZodObject<{
|
|
239
239
|
id: z.ZodString;
|
|
240
240
|
vehicleName: z.ZodString;
|
|
241
241
|
registrationNumber: z.ZodString;
|
|
@@ -261,14 +261,14 @@ declare const list: z.ZodArray<z.ZodObject<{
|
|
|
261
261
|
operatedSince: z.ZodCoercedNumber<unknown>;
|
|
262
262
|
maxCapacity: z.ZodCoercedNumber<unknown>;
|
|
263
263
|
}, z.core.$strip>>;
|
|
264
|
-
type SafeGet$
|
|
264
|
+
type SafeGet$2 = z.infer<typeof get$3>;
|
|
265
265
|
type SafeSave$1 = z.output<typeof save$1>;
|
|
266
266
|
type SafeRemove$1 = z.output<typeof remove$1>;
|
|
267
267
|
type SafeList$1 = z.output<typeof list>;
|
|
268
268
|
|
|
269
269
|
declare const vehicleDetails_list: typeof list;
|
|
270
270
|
declare namespace vehicleDetails {
|
|
271
|
-
export { type SafeGet$
|
|
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 };
|
|
272
272
|
}
|
|
273
273
|
|
|
274
274
|
declare const languageKnownEnum: z.ZodEnum<{
|
|
@@ -277,7 +277,7 @@ declare const languageKnownEnum: z.ZodEnum<{
|
|
|
277
277
|
gujurati: "gujurati";
|
|
278
278
|
marathi: "marathi";
|
|
279
279
|
}>;
|
|
280
|
-
declare const get$
|
|
280
|
+
declare const get$2: z.ZodObject<{
|
|
281
281
|
id: z.ZodString;
|
|
282
282
|
driverName: z.ZodString;
|
|
283
283
|
drivingLicenseNumber: z.ZodString;
|
|
@@ -315,7 +315,7 @@ declare const getList: z.ZodArray<z.ZodObject<{
|
|
|
315
315
|
marathi: "marathi";
|
|
316
316
|
}>>;
|
|
317
317
|
}, z.core.$strip>>;
|
|
318
|
-
type SafeMe$
|
|
318
|
+
type SafeMe$2 = z.infer<typeof get$2>;
|
|
319
319
|
type SafeCreate$2 = z.output<typeof create$2>;
|
|
320
320
|
type SafeList = z.output<typeof getList>;
|
|
321
321
|
type SafeRemove = z.output<typeof remove>;
|
|
@@ -326,30 +326,43 @@ declare const driverDetails_getList: typeof getList;
|
|
|
326
326
|
declare const driverDetails_languageKnownEnum: typeof languageKnownEnum;
|
|
327
327
|
declare const driverDetails_remove: typeof remove;
|
|
328
328
|
declare namespace driverDetails {
|
|
329
|
-
export { type SafeCreate$2 as SafeCreate, type driverDetails_SafeList as SafeList, type SafeMe$
|
|
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 };
|
|
330
330
|
}
|
|
331
331
|
|
|
332
|
-
declare const
|
|
332
|
+
declare const get$1: z.ZodObject<{
|
|
333
333
|
bankAccountNumber: z.ZodString;
|
|
334
334
|
bankName: z.ZodString;
|
|
335
335
|
accountHolderName: z.ZodString;
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
336
|
+
bankIFSCCode: z.ZodString;
|
|
337
|
+
adhaarNumber: z.ZodString;
|
|
338
|
+
GstNumber: z.ZodOptional<z.ZodString>;
|
|
339
|
+
businessIdNumber: z.ZodOptional<z.ZodString>;
|
|
339
340
|
}, z.core.$strip>;
|
|
340
341
|
declare const create$1: z.ZodObject<{
|
|
341
342
|
bankAccountNumber: z.ZodString;
|
|
342
343
|
bankName: z.ZodString;
|
|
343
344
|
accountHolderName: z.ZodString;
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
345
|
+
bankIFSCCode: z.ZodString;
|
|
346
|
+
adhaarNumber: z.ZodString;
|
|
347
|
+
GstNumber: z.ZodOptional<z.ZodString>;
|
|
348
|
+
businessIdNumber: z.ZodOptional<z.ZodString>;
|
|
349
|
+
}, z.core.$strip>;
|
|
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>>;
|
|
347
359
|
}, z.core.$strip>;
|
|
348
|
-
type
|
|
360
|
+
type SafeGet$1 = z.infer<typeof get$1>;
|
|
349
361
|
type SafeCreate$1 = z.output<typeof create$1>;
|
|
362
|
+
type SafeUpdate$1 = z.output<typeof update$1>;
|
|
350
363
|
|
|
351
364
|
declare namespace businessDetails {
|
|
352
|
-
export { type SafeCreate$1 as SafeCreate, type
|
|
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 };
|
|
353
366
|
}
|
|
354
367
|
|
|
355
368
|
declare const me$1: z.ZodObject<{
|
package/dist/index.cjs
CHANGED
|
@@ -324,34 +324,47 @@ var getList = import_zod7.z.array(get6);
|
|
|
324
324
|
var business_details_exports = {};
|
|
325
325
|
__export(business_details_exports, {
|
|
326
326
|
create: () => create6,
|
|
327
|
-
|
|
327
|
+
get: () => get7,
|
|
328
|
+
update: () => update5
|
|
328
329
|
});
|
|
329
330
|
var import_zod8 = require("zod");
|
|
330
|
-
var
|
|
331
|
+
var get7 = import_zod8.z.object({
|
|
331
332
|
bankAccountNumber: import_zod8.z.string().trim(),
|
|
332
|
-
bankName: import_zod8.z.string().trim(),
|
|
333
|
-
accountHolderName: import_zod8.z.string().trim(),
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
333
|
+
bankName: import_zod8.z.string().trim().toUpperCase(),
|
|
334
|
+
accountHolderName: import_zod8.z.string().trim().toUpperCase(),
|
|
335
|
+
bankIFSCCode: import_zod8.z.string().trim().toUpperCase(),
|
|
336
|
+
adhaarNumber: import_zod8.z.string().trim(),
|
|
337
|
+
GstNumber: import_zod8.z.string().trim().optional(),
|
|
338
|
+
businessIdNumber: import_zod8.z.string().trim().optional()
|
|
337
339
|
});
|
|
338
340
|
var create6 = import_zod8.z.object({
|
|
339
|
-
bankAccountNumber: import_zod8.z.string().trim()
|
|
340
|
-
bankName: import_zod8.z.string().trim().
|
|
341
|
-
accountHolderName: import_zod8.z.string().trim().
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
341
|
+
bankAccountNumber: import_zod8.z.string().trim(),
|
|
342
|
+
bankName: import_zod8.z.string().trim().toUpperCase(),
|
|
343
|
+
accountHolderName: import_zod8.z.string().trim().toUpperCase(),
|
|
344
|
+
bankIFSCCode: import_zod8.z.string().trim().toUpperCase(),
|
|
345
|
+
adhaarNumber: import_zod8.z.string().trim(),
|
|
346
|
+
GstNumber: import_zod8.z.string().trim().optional(),
|
|
347
|
+
businessIdNumber: import_zod8.z.string().trim().optional()
|
|
348
|
+
});
|
|
349
|
+
var update5 = import_zod8.z.object({
|
|
350
|
+
bankAccountNumber: import_zod8.z.string().trim(),
|
|
351
|
+
bankName: import_zod8.z.string().trim().toUpperCase(),
|
|
352
|
+
accountHolderName: import_zod8.z.string().trim().toUpperCase(),
|
|
353
|
+
bankIFSCCode: import_zod8.z.string().trim().toUpperCase(),
|
|
354
|
+
adhaarNumber: import_zod8.z.string().trim(),
|
|
355
|
+
GstNumber: import_zod8.z.string().trim().optional(),
|
|
356
|
+
businessIdNumber: import_zod8.z.string().trim().optional(),
|
|
357
|
+
id: import_zod8.z.string().optional().default("")
|
|
345
358
|
});
|
|
346
359
|
|
|
347
360
|
// src/safari/personal-details.ts
|
|
348
361
|
var personal_details_exports = {};
|
|
349
362
|
__export(personal_details_exports, {
|
|
350
|
-
me: () =>
|
|
363
|
+
me: () => me,
|
|
351
364
|
save: () => save2
|
|
352
365
|
});
|
|
353
366
|
var import_zod9 = require("zod");
|
|
354
|
-
var
|
|
367
|
+
var me = import_zod9.z.object({
|
|
355
368
|
adhaarNumber: import_zod9.z.string().trim(),
|
|
356
369
|
address: import_zod9.z.string().trim()
|
|
357
370
|
});
|
|
@@ -364,11 +377,11 @@ var save2 = import_zod9.z.object({
|
|
|
364
377
|
var rate_card_exports = {};
|
|
365
378
|
__export(rate_card_exports, {
|
|
366
379
|
create: () => create7,
|
|
367
|
-
get: () =>
|
|
368
|
-
update: () =>
|
|
380
|
+
get: () => get8,
|
|
381
|
+
update: () => update6
|
|
369
382
|
});
|
|
370
383
|
var import_zod10 = require("zod");
|
|
371
|
-
var
|
|
384
|
+
var get8 = import_zod10.z.object({
|
|
372
385
|
id: import_zod10.z.string(),
|
|
373
386
|
baseRate: import_zod10.z.coerce.number().default(0),
|
|
374
387
|
discount: import_zod10.z.coerce.number().default(0)
|
|
@@ -377,7 +390,7 @@ var create7 = import_zod10.z.object({
|
|
|
377
390
|
baseRate: import_zod10.z.coerce.number().default(0),
|
|
378
391
|
discount: import_zod10.z.coerce.number().default(0)
|
|
379
392
|
});
|
|
380
|
-
var
|
|
393
|
+
var update6 = import_zod10.z.object({
|
|
381
394
|
id: import_zod10.z.string().optional().default(""),
|
|
382
395
|
baseRate: import_zod10.z.coerce.number().default(0),
|
|
383
396
|
discount: import_zod10.z.coerce.number().default(0)
|
|
@@ -386,12 +399,12 @@ var update5 = import_zod10.z.object({
|
|
|
386
399
|
// src/safari/step.ts
|
|
387
400
|
var step_exports = {};
|
|
388
401
|
__export(step_exports, {
|
|
389
|
-
me: () =>
|
|
402
|
+
me: () => me2,
|
|
390
403
|
steps: () => steps
|
|
391
404
|
});
|
|
392
405
|
var import_zod11 = require("zod");
|
|
393
406
|
var steps = import_zod11.z.enum(["basic_info", "location"]);
|
|
394
|
-
var
|
|
407
|
+
var me2 = import_zod11.z.object({
|
|
395
408
|
email: import_zod11.z.string(),
|
|
396
409
|
name: import_zod11.z.string().trim().optional().default(""),
|
|
397
410
|
countryCode: import_zod11.z.string().optional().default("+91"),
|
package/dist/index.d.cts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -293,34 +293,47 @@ var getList = z7.array(get6);
|
|
|
293
293
|
var business_details_exports = {};
|
|
294
294
|
__export(business_details_exports, {
|
|
295
295
|
create: () => create6,
|
|
296
|
-
|
|
296
|
+
get: () => get7,
|
|
297
|
+
update: () => update5
|
|
297
298
|
});
|
|
298
299
|
import { z as z8 } from "zod";
|
|
299
|
-
var
|
|
300
|
+
var get7 = z8.object({
|
|
300
301
|
bankAccountNumber: z8.string().trim(),
|
|
301
|
-
bankName: z8.string().trim(),
|
|
302
|
-
accountHolderName: z8.string().trim(),
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
302
|
+
bankName: z8.string().trim().toUpperCase(),
|
|
303
|
+
accountHolderName: z8.string().trim().toUpperCase(),
|
|
304
|
+
bankIFSCCode: z8.string().trim().toUpperCase(),
|
|
305
|
+
adhaarNumber: z8.string().trim(),
|
|
306
|
+
GstNumber: z8.string().trim().optional(),
|
|
307
|
+
businessIdNumber: z8.string().trim().optional()
|
|
306
308
|
});
|
|
307
309
|
var create6 = z8.object({
|
|
308
|
-
bankAccountNumber: z8.string().trim()
|
|
309
|
-
bankName: z8.string().trim().
|
|
310
|
-
accountHolderName: z8.string().trim().
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
310
|
+
bankAccountNumber: z8.string().trim(),
|
|
311
|
+
bankName: z8.string().trim().toUpperCase(),
|
|
312
|
+
accountHolderName: z8.string().trim().toUpperCase(),
|
|
313
|
+
bankIFSCCode: z8.string().trim().toUpperCase(),
|
|
314
|
+
adhaarNumber: z8.string().trim(),
|
|
315
|
+
GstNumber: z8.string().trim().optional(),
|
|
316
|
+
businessIdNumber: z8.string().trim().optional()
|
|
317
|
+
});
|
|
318
|
+
var update5 = z8.object({
|
|
319
|
+
bankAccountNumber: z8.string().trim(),
|
|
320
|
+
bankName: z8.string().trim().toUpperCase(),
|
|
321
|
+
accountHolderName: z8.string().trim().toUpperCase(),
|
|
322
|
+
bankIFSCCode: z8.string().trim().toUpperCase(),
|
|
323
|
+
adhaarNumber: z8.string().trim(),
|
|
324
|
+
GstNumber: z8.string().trim().optional(),
|
|
325
|
+
businessIdNumber: z8.string().trim().optional(),
|
|
326
|
+
id: z8.string().optional().default("")
|
|
314
327
|
});
|
|
315
328
|
|
|
316
329
|
// src/safari/personal-details.ts
|
|
317
330
|
var personal_details_exports = {};
|
|
318
331
|
__export(personal_details_exports, {
|
|
319
|
-
me: () =>
|
|
332
|
+
me: () => me,
|
|
320
333
|
save: () => save2
|
|
321
334
|
});
|
|
322
335
|
import { z as z9 } from "zod";
|
|
323
|
-
var
|
|
336
|
+
var me = z9.object({
|
|
324
337
|
adhaarNumber: z9.string().trim(),
|
|
325
338
|
address: z9.string().trim()
|
|
326
339
|
});
|
|
@@ -333,11 +346,11 @@ var save2 = z9.object({
|
|
|
333
346
|
var rate_card_exports = {};
|
|
334
347
|
__export(rate_card_exports, {
|
|
335
348
|
create: () => create7,
|
|
336
|
-
get: () =>
|
|
337
|
-
update: () =>
|
|
349
|
+
get: () => get8,
|
|
350
|
+
update: () => update6
|
|
338
351
|
});
|
|
339
352
|
import { z as z10 } from "zod";
|
|
340
|
-
var
|
|
353
|
+
var get8 = z10.object({
|
|
341
354
|
id: z10.string(),
|
|
342
355
|
baseRate: z10.coerce.number().default(0),
|
|
343
356
|
discount: z10.coerce.number().default(0)
|
|
@@ -346,7 +359,7 @@ var create7 = z10.object({
|
|
|
346
359
|
baseRate: z10.coerce.number().default(0),
|
|
347
360
|
discount: z10.coerce.number().default(0)
|
|
348
361
|
});
|
|
349
|
-
var
|
|
362
|
+
var update6 = z10.object({
|
|
350
363
|
id: z10.string().optional().default(""),
|
|
351
364
|
baseRate: z10.coerce.number().default(0),
|
|
352
365
|
discount: z10.coerce.number().default(0)
|
|
@@ -355,12 +368,12 @@ var update5 = z10.object({
|
|
|
355
368
|
// src/safari/step.ts
|
|
356
369
|
var step_exports = {};
|
|
357
370
|
__export(step_exports, {
|
|
358
|
-
me: () =>
|
|
371
|
+
me: () => me2,
|
|
359
372
|
steps: () => steps
|
|
360
373
|
});
|
|
361
374
|
import { z as z11 } from "zod";
|
|
362
375
|
var steps = z11.enum(["basic_info", "location"]);
|
|
363
|
-
var
|
|
376
|
+
var me2 = z11.object({
|
|
364
377
|
email: z11.string(),
|
|
365
378
|
name: z11.string().trim().optional().default(""),
|
|
366
379
|
countryCode: z11.string().optional().default("+91"),
|
package/dist/safari/index.cjs
CHANGED
|
@@ -311,34 +311,47 @@ var getList = import_zod7.z.array(get6);
|
|
|
311
311
|
var business_details_exports = {};
|
|
312
312
|
__export(business_details_exports, {
|
|
313
313
|
create: () => create6,
|
|
314
|
-
|
|
314
|
+
get: () => get7,
|
|
315
|
+
update: () => update5
|
|
315
316
|
});
|
|
316
317
|
var import_zod8 = require("zod");
|
|
317
|
-
var
|
|
318
|
+
var get7 = import_zod8.z.object({
|
|
318
319
|
bankAccountNumber: import_zod8.z.string().trim(),
|
|
319
|
-
bankName: import_zod8.z.string().trim(),
|
|
320
|
-
accountHolderName: import_zod8.z.string().trim(),
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
320
|
+
bankName: import_zod8.z.string().trim().toUpperCase(),
|
|
321
|
+
accountHolderName: import_zod8.z.string().trim().toUpperCase(),
|
|
322
|
+
bankIFSCCode: import_zod8.z.string().trim().toUpperCase(),
|
|
323
|
+
adhaarNumber: import_zod8.z.string().trim(),
|
|
324
|
+
GstNumber: import_zod8.z.string().trim().optional(),
|
|
325
|
+
businessIdNumber: import_zod8.z.string().trim().optional()
|
|
324
326
|
});
|
|
325
327
|
var create6 = import_zod8.z.object({
|
|
326
|
-
bankAccountNumber: import_zod8.z.string().trim()
|
|
327
|
-
bankName: import_zod8.z.string().trim().
|
|
328
|
-
accountHolderName: import_zod8.z.string().trim().
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
328
|
+
bankAccountNumber: import_zod8.z.string().trim(),
|
|
329
|
+
bankName: import_zod8.z.string().trim().toUpperCase(),
|
|
330
|
+
accountHolderName: import_zod8.z.string().trim().toUpperCase(),
|
|
331
|
+
bankIFSCCode: import_zod8.z.string().trim().toUpperCase(),
|
|
332
|
+
adhaarNumber: import_zod8.z.string().trim(),
|
|
333
|
+
GstNumber: import_zod8.z.string().trim().optional(),
|
|
334
|
+
businessIdNumber: import_zod8.z.string().trim().optional()
|
|
335
|
+
});
|
|
336
|
+
var update5 = import_zod8.z.object({
|
|
337
|
+
bankAccountNumber: import_zod8.z.string().trim(),
|
|
338
|
+
bankName: import_zod8.z.string().trim().toUpperCase(),
|
|
339
|
+
accountHolderName: import_zod8.z.string().trim().toUpperCase(),
|
|
340
|
+
bankIFSCCode: import_zod8.z.string().trim().toUpperCase(),
|
|
341
|
+
adhaarNumber: import_zod8.z.string().trim(),
|
|
342
|
+
GstNumber: import_zod8.z.string().trim().optional(),
|
|
343
|
+
businessIdNumber: import_zod8.z.string().trim().optional(),
|
|
344
|
+
id: import_zod8.z.string().optional().default("")
|
|
332
345
|
});
|
|
333
346
|
|
|
334
347
|
// src/safari/personal-details.ts
|
|
335
348
|
var personal_details_exports = {};
|
|
336
349
|
__export(personal_details_exports, {
|
|
337
|
-
me: () =>
|
|
350
|
+
me: () => me,
|
|
338
351
|
save: () => save2
|
|
339
352
|
});
|
|
340
353
|
var import_zod9 = require("zod");
|
|
341
|
-
var
|
|
354
|
+
var me = import_zod9.z.object({
|
|
342
355
|
adhaarNumber: import_zod9.z.string().trim(),
|
|
343
356
|
address: import_zod9.z.string().trim()
|
|
344
357
|
});
|
|
@@ -351,11 +364,11 @@ var save2 = import_zod9.z.object({
|
|
|
351
364
|
var rate_card_exports = {};
|
|
352
365
|
__export(rate_card_exports, {
|
|
353
366
|
create: () => create7,
|
|
354
|
-
get: () =>
|
|
355
|
-
update: () =>
|
|
367
|
+
get: () => get8,
|
|
368
|
+
update: () => update6
|
|
356
369
|
});
|
|
357
370
|
var import_zod10 = require("zod");
|
|
358
|
-
var
|
|
371
|
+
var get8 = import_zod10.z.object({
|
|
359
372
|
id: import_zod10.z.string(),
|
|
360
373
|
baseRate: import_zod10.z.coerce.number().default(0),
|
|
361
374
|
discount: import_zod10.z.coerce.number().default(0)
|
|
@@ -364,7 +377,7 @@ var create7 = import_zod10.z.object({
|
|
|
364
377
|
baseRate: import_zod10.z.coerce.number().default(0),
|
|
365
378
|
discount: import_zod10.z.coerce.number().default(0)
|
|
366
379
|
});
|
|
367
|
-
var
|
|
380
|
+
var update6 = import_zod10.z.object({
|
|
368
381
|
id: import_zod10.z.string().optional().default(""),
|
|
369
382
|
baseRate: import_zod10.z.coerce.number().default(0),
|
|
370
383
|
discount: import_zod10.z.coerce.number().default(0)
|
|
@@ -373,12 +386,12 @@ var update5 = import_zod10.z.object({
|
|
|
373
386
|
// src/safari/step.ts
|
|
374
387
|
var step_exports = {};
|
|
375
388
|
__export(step_exports, {
|
|
376
|
-
me: () =>
|
|
389
|
+
me: () => me2,
|
|
377
390
|
steps: () => steps
|
|
378
391
|
});
|
|
379
392
|
var import_zod11 = require("zod");
|
|
380
393
|
var steps = import_zod11.z.enum(["basic_info", "location"]);
|
|
381
|
-
var
|
|
394
|
+
var me2 = import_zod11.z.object({
|
|
382
395
|
email: import_zod11.z.string(),
|
|
383
396
|
name: import_zod11.z.string().trim().optional().default(""),
|
|
384
397
|
countryCode: import_zod11.z.string().optional().default("+91"),
|
package/dist/safari/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { b as BasicDetails, a as BusinessDetails, d as DriverDetails, l as Location, o as OperationalDays, p as PersonalDetails, r as RateMatrix, s as Slot, c as Step, v as VehicleDetails } from '../index-
|
|
1
|
+
export { b as BasicDetails, a as BusinessDetails, d as DriverDetails, l as Location, o as OperationalDays, p as PersonalDetails, r as RateMatrix, s as Slot, c as Step, v as VehicleDetails } from '../index-BTyULru0.cjs';
|
|
2
2
|
import 'zod';
|
package/dist/safari/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { b as BasicDetails, a as BusinessDetails, d as DriverDetails, l as Location, o as OperationalDays, p as PersonalDetails, r as RateMatrix, s as Slot, c as Step, v as VehicleDetails } from '../index-
|
|
1
|
+
export { b as BasicDetails, a as BusinessDetails, d as DriverDetails, l as Location, o as OperationalDays, p as PersonalDetails, r as RateMatrix, s as Slot, c as Step, v as VehicleDetails } from '../index-BTyULru0.js';
|
|
2
2
|
import 'zod';
|
package/dist/safari/index.js
CHANGED
|
@@ -272,34 +272,47 @@ var getList = z7.array(get6);
|
|
|
272
272
|
var business_details_exports = {};
|
|
273
273
|
__export(business_details_exports, {
|
|
274
274
|
create: () => create6,
|
|
275
|
-
|
|
275
|
+
get: () => get7,
|
|
276
|
+
update: () => update5
|
|
276
277
|
});
|
|
277
278
|
import { z as z8 } from "zod";
|
|
278
|
-
var
|
|
279
|
+
var get7 = z8.object({
|
|
279
280
|
bankAccountNumber: z8.string().trim(),
|
|
280
|
-
bankName: z8.string().trim(),
|
|
281
|
-
accountHolderName: z8.string().trim(),
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
281
|
+
bankName: z8.string().trim().toUpperCase(),
|
|
282
|
+
accountHolderName: z8.string().trim().toUpperCase(),
|
|
283
|
+
bankIFSCCode: z8.string().trim().toUpperCase(),
|
|
284
|
+
adhaarNumber: z8.string().trim(),
|
|
285
|
+
GstNumber: z8.string().trim().optional(),
|
|
286
|
+
businessIdNumber: z8.string().trim().optional()
|
|
285
287
|
});
|
|
286
288
|
var create6 = z8.object({
|
|
287
|
-
bankAccountNumber: z8.string().trim()
|
|
288
|
-
bankName: z8.string().trim().
|
|
289
|
-
accountHolderName: z8.string().trim().
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
289
|
+
bankAccountNumber: z8.string().trim(),
|
|
290
|
+
bankName: z8.string().trim().toUpperCase(),
|
|
291
|
+
accountHolderName: z8.string().trim().toUpperCase(),
|
|
292
|
+
bankIFSCCode: z8.string().trim().toUpperCase(),
|
|
293
|
+
adhaarNumber: z8.string().trim(),
|
|
294
|
+
GstNumber: z8.string().trim().optional(),
|
|
295
|
+
businessIdNumber: z8.string().trim().optional()
|
|
296
|
+
});
|
|
297
|
+
var update5 = z8.object({
|
|
298
|
+
bankAccountNumber: z8.string().trim(),
|
|
299
|
+
bankName: z8.string().trim().toUpperCase(),
|
|
300
|
+
accountHolderName: z8.string().trim().toUpperCase(),
|
|
301
|
+
bankIFSCCode: z8.string().trim().toUpperCase(),
|
|
302
|
+
adhaarNumber: z8.string().trim(),
|
|
303
|
+
GstNumber: z8.string().trim().optional(),
|
|
304
|
+
businessIdNumber: z8.string().trim().optional(),
|
|
305
|
+
id: z8.string().optional().default("")
|
|
293
306
|
});
|
|
294
307
|
|
|
295
308
|
// src/safari/personal-details.ts
|
|
296
309
|
var personal_details_exports = {};
|
|
297
310
|
__export(personal_details_exports, {
|
|
298
|
-
me: () =>
|
|
311
|
+
me: () => me,
|
|
299
312
|
save: () => save2
|
|
300
313
|
});
|
|
301
314
|
import { z as z9 } from "zod";
|
|
302
|
-
var
|
|
315
|
+
var me = z9.object({
|
|
303
316
|
adhaarNumber: z9.string().trim(),
|
|
304
317
|
address: z9.string().trim()
|
|
305
318
|
});
|
|
@@ -312,11 +325,11 @@ var save2 = z9.object({
|
|
|
312
325
|
var rate_card_exports = {};
|
|
313
326
|
__export(rate_card_exports, {
|
|
314
327
|
create: () => create7,
|
|
315
|
-
get: () =>
|
|
316
|
-
update: () =>
|
|
328
|
+
get: () => get8,
|
|
329
|
+
update: () => update6
|
|
317
330
|
});
|
|
318
331
|
import { z as z10 } from "zod";
|
|
319
|
-
var
|
|
332
|
+
var get8 = z10.object({
|
|
320
333
|
id: z10.string(),
|
|
321
334
|
baseRate: z10.coerce.number().default(0),
|
|
322
335
|
discount: z10.coerce.number().default(0)
|
|
@@ -325,7 +338,7 @@ var create7 = z10.object({
|
|
|
325
338
|
baseRate: z10.coerce.number().default(0),
|
|
326
339
|
discount: z10.coerce.number().default(0)
|
|
327
340
|
});
|
|
328
|
-
var
|
|
341
|
+
var update6 = z10.object({
|
|
329
342
|
id: z10.string().optional().default(""),
|
|
330
343
|
baseRate: z10.coerce.number().default(0),
|
|
331
344
|
discount: z10.coerce.number().default(0)
|
|
@@ -334,12 +347,12 @@ var update5 = z10.object({
|
|
|
334
347
|
// src/safari/step.ts
|
|
335
348
|
var step_exports = {};
|
|
336
349
|
__export(step_exports, {
|
|
337
|
-
me: () =>
|
|
350
|
+
me: () => me2,
|
|
338
351
|
steps: () => steps
|
|
339
352
|
});
|
|
340
353
|
import { z as z11 } from "zod";
|
|
341
354
|
var steps = z11.enum(["basic_info", "location"]);
|
|
342
|
-
var
|
|
355
|
+
var me2 = z11.object({
|
|
343
356
|
email: z11.string(),
|
|
344
357
|
name: z11.string().trim().optional().default(""),
|
|
345
358
|
countryCode: z11.string().optional().default("+91"),
|