@tripsam/onboarding 1.0.55 → 1.0.57
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-BRPQSVMf.d.cts → index-mfbil-IP.d.cts} +56 -30
- package/dist/{index-BRPQSVMf.d.ts → index-mfbil-IP.d.ts} +56 -30
- package/dist/index.cjs +27 -17
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +27 -17
- package/dist/safari/index.cjs +27 -17
- package/dist/safari/index.d.cts +1 -1
- package/dist/safari/index.d.ts +1 -1
- package/dist/safari/index.js +27 -17
- 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$3: 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$2: z.ZodObject<{
|
|
|
35
35
|
jungle_safari: "jungle_safari";
|
|
36
36
|
}>;
|
|
37
37
|
}, z.core.$strip>;
|
|
38
|
-
declare const create$
|
|
38
|
+
declare const create$5: 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$3: 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$3 = z.infer<typeof get$3>;
|
|
52
|
+
type SafeUpdate$3 = z.output<typeof update$3>;
|
|
53
|
+
type SafeCreate$5 = z.output<typeof create$5>;
|
|
54
|
+
declare const defaultBasicDetails: SafeGet$3;
|
|
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$5 as SafeCreate, type SafeGet$3 as SafeGet, type SafeUpdate$3 as SafeUpdate, create$5 as create, basicDetails_defaultBasicDetails as defaultBasicDetails, get$3 as get, basicDetails_safariTypes as safariTypes, basicDetails_safeSas as safeSas, update$3 as update };
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
declare const pickupLandmark: z.ZodObject<{
|
|
@@ -67,7 +67,7 @@ declare const pickupLandmark: z.ZodObject<{
|
|
|
67
67
|
type: z.ZodOptional<z.ZodString>;
|
|
68
68
|
distanceKm: z.ZodCoercedNumber<unknown>;
|
|
69
69
|
}, z.core.$strip>;
|
|
70
|
-
declare const get$
|
|
70
|
+
declare const get$2: z.ZodObject<{
|
|
71
71
|
id: z.ZodString;
|
|
72
72
|
location: z.ZodObject<{
|
|
73
73
|
id: z.ZodString;
|
|
@@ -98,7 +98,7 @@ declare const get$1: 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$4: z.ZodObject<{
|
|
102
102
|
locationId: z.ZodString;
|
|
103
103
|
safariLocation: z.ZodString;
|
|
104
104
|
pickupLocation: z.ZodString;
|
|
@@ -109,7 +109,7 @@ declare const create$3: 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$2: 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$1: 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$2 = z.output<typeof get$2>;
|
|
125
|
+
type SafeCreate$4 = z.output<typeof create$4>;
|
|
126
|
+
type SafeUpdate$2 = z.output<typeof update$2>;
|
|
127
127
|
type SafePickupLandmark = z.output<typeof pickupLandmark>;
|
|
128
|
-
declare const defaultLocation: SafeGet$
|
|
128
|
+
declare const defaultLocation: SafeGet$2;
|
|
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$4 as SafeCreate, type SafeGet$2 as SafeGet, type location_SafePickupLandmark as SafePickupLandmark, type SafeUpdate$2 as SafeUpdate, create$4 as create, location_defaultLocation as defaultLocation, get$2 as get, location_pickupLandmark as pickupLandmark, update$2 as update };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
declare const time12h: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
|
|
138
|
-
declare const update: z.ZodObject<{
|
|
138
|
+
declare const update$1: 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: 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$3: 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$2: z.ZodObject<{
|
|
|
153
153
|
declare const remove: z.ZodObject<{
|
|
154
154
|
id: z.ZodString;
|
|
155
155
|
}, z.core.$strip>;
|
|
156
|
-
declare const get: z.ZodObject<{
|
|
156
|
+
declare const get$1: z.ZodObject<{
|
|
157
157
|
id: z.ZodString;
|
|
158
158
|
name: z.ZodString;
|
|
159
159
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -169,22 +169,18 @@ declare const list: z.ZodArray<z.ZodObject<{
|
|
|
169
169
|
endTime: z.ZodCoercedNumber<unknown>;
|
|
170
170
|
minHour: z.ZodCoercedNumber<unknown>;
|
|
171
171
|
}, z.core.$strip>>;
|
|
172
|
-
type SafeGet = z.output<typeof get>;
|
|
172
|
+
type SafeGet$1 = z.output<typeof get$1>;
|
|
173
173
|
type SafeList$1 = z.output<typeof list>;
|
|
174
|
-
type SafeCreate$
|
|
175
|
-
type SafeUpdate = z.output<typeof update>;
|
|
174
|
+
type SafeCreate$3 = z.output<typeof create$3>;
|
|
175
|
+
type SafeUpdate$1 = z.output<typeof update$1>;
|
|
176
176
|
type SafeRemove = z.output<typeof remove>;
|
|
177
177
|
|
|
178
|
-
type slot_SafeGet = SafeGet;
|
|
179
178
|
type slot_SafeRemove = SafeRemove;
|
|
180
|
-
type slot_SafeUpdate = SafeUpdate;
|
|
181
|
-
declare const slot_get: typeof get;
|
|
182
179
|
declare const slot_list: typeof list;
|
|
183
180
|
declare const slot_remove: typeof remove;
|
|
184
181
|
declare const slot_time12h: typeof time12h;
|
|
185
|
-
declare const slot_update: typeof update;
|
|
186
182
|
declare namespace slot {
|
|
187
|
-
export { type SafeCreate$
|
|
183
|
+
export { type SafeCreate$3 as SafeCreate, type SafeGet$1 as SafeGet, type SafeList$1 as SafeList, type slot_SafeRemove as SafeRemove, type SafeUpdate$1 as SafeUpdate, create$3 as create, get$1 as get, slot_list as list, slot_remove as remove, slot_time12h as time12h, update$1 as update };
|
|
188
184
|
}
|
|
189
185
|
|
|
190
186
|
declare const Weekday: z.ZodEnum<{
|
|
@@ -196,7 +192,8 @@ declare const Weekday: z.ZodEnum<{
|
|
|
196
192
|
friday: "friday";
|
|
197
193
|
saturday: "saturday";
|
|
198
194
|
}>;
|
|
199
|
-
declare const
|
|
195
|
+
declare const get: z.ZodObject<{
|
|
196
|
+
id: z.ZodString;
|
|
200
197
|
operationalDays: z.ZodPipe<z.ZodArray<z.ZodEnum<{
|
|
201
198
|
sunday: "sunday";
|
|
202
199
|
monday: "monday";
|
|
@@ -207,13 +204,42 @@ declare const me$5: z.ZodObject<{
|
|
|
207
204
|
saturday: "saturday";
|
|
208
205
|
}>>, z.ZodTransform<("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[], ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[]>>;
|
|
209
206
|
}, z.core.$strip>;
|
|
210
|
-
|
|
207
|
+
declare const create$2: z.ZodObject<{
|
|
208
|
+
OperationalDays: z.ZodPipe<z.ZodArray<z.ZodEnum<{
|
|
209
|
+
sunday: "sunday";
|
|
210
|
+
monday: "monday";
|
|
211
|
+
tuesday: "tuesday";
|
|
212
|
+
wednesday: "wednesday";
|
|
213
|
+
thursday: "thursday";
|
|
214
|
+
friday: "friday";
|
|
215
|
+
saturday: "saturday";
|
|
216
|
+
}>>, z.ZodTransform<("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[], ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[]>>;
|
|
217
|
+
}, z.core.$strip>;
|
|
218
|
+
declare const update: z.ZodObject<{
|
|
219
|
+
id: z.ZodString;
|
|
220
|
+
OperationalDays: z.ZodPipe<z.ZodArray<z.ZodEnum<{
|
|
221
|
+
sunday: "sunday";
|
|
222
|
+
monday: "monday";
|
|
223
|
+
tuesday: "tuesday";
|
|
224
|
+
wednesday: "wednesday";
|
|
225
|
+
thursday: "thursday";
|
|
226
|
+
friday: "friday";
|
|
227
|
+
saturday: "saturday";
|
|
228
|
+
}>>, z.ZodTransform<("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[], ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[]>>;
|
|
229
|
+
}, z.core.$strip>;
|
|
230
|
+
type SafeGet = z.output<typeof get>;
|
|
211
231
|
type SafeWeekdays = z.output<typeof Weekday>;
|
|
232
|
+
type SafeCreate$2 = z.output<typeof create$2>;
|
|
233
|
+
type SafeUpdate = z.output<typeof update>;
|
|
212
234
|
|
|
235
|
+
type operationalDays_SafeGet = SafeGet;
|
|
236
|
+
type operationalDays_SafeUpdate = SafeUpdate;
|
|
213
237
|
type operationalDays_SafeWeekdays = SafeWeekdays;
|
|
214
238
|
declare const operationalDays_Weekday: typeof Weekday;
|
|
239
|
+
declare const operationalDays_get: typeof get;
|
|
240
|
+
declare const operationalDays_update: typeof update;
|
|
215
241
|
declare namespace operationalDays {
|
|
216
|
-
export { type
|
|
242
|
+
export { type SafeCreate$2 as SafeCreate, type operationalDays_SafeGet as SafeGet, type operationalDays_SafeUpdate as SafeUpdate, type operationalDays_SafeWeekdays as SafeWeekdays, operationalDays_Weekday as Weekday, create$2 as create, operationalDays_get as get, operationalDays_update as update };
|
|
217
243
|
}
|
|
218
244
|
|
|
219
245
|
declare const me$4: 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$3: 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$2: z.ZodObject<{
|
|
|
35
35
|
jungle_safari: "jungle_safari";
|
|
36
36
|
}>;
|
|
37
37
|
}, z.core.$strip>;
|
|
38
|
-
declare const create$
|
|
38
|
+
declare const create$5: 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$3: 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$3 = z.infer<typeof get$3>;
|
|
52
|
+
type SafeUpdate$3 = z.output<typeof update$3>;
|
|
53
|
+
type SafeCreate$5 = z.output<typeof create$5>;
|
|
54
|
+
declare const defaultBasicDetails: SafeGet$3;
|
|
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$5 as SafeCreate, type SafeGet$3 as SafeGet, type SafeUpdate$3 as SafeUpdate, create$5 as create, basicDetails_defaultBasicDetails as defaultBasicDetails, get$3 as get, basicDetails_safariTypes as safariTypes, basicDetails_safeSas as safeSas, update$3 as update };
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
declare const pickupLandmark: z.ZodObject<{
|
|
@@ -67,7 +67,7 @@ declare const pickupLandmark: z.ZodObject<{
|
|
|
67
67
|
type: z.ZodOptional<z.ZodString>;
|
|
68
68
|
distanceKm: z.ZodCoercedNumber<unknown>;
|
|
69
69
|
}, z.core.$strip>;
|
|
70
|
-
declare const get$
|
|
70
|
+
declare const get$2: z.ZodObject<{
|
|
71
71
|
id: z.ZodString;
|
|
72
72
|
location: z.ZodObject<{
|
|
73
73
|
id: z.ZodString;
|
|
@@ -98,7 +98,7 @@ declare const get$1: 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$4: z.ZodObject<{
|
|
102
102
|
locationId: z.ZodString;
|
|
103
103
|
safariLocation: z.ZodString;
|
|
104
104
|
pickupLocation: z.ZodString;
|
|
@@ -109,7 +109,7 @@ declare const create$3: 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$2: 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$1: 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$2 = z.output<typeof get$2>;
|
|
125
|
+
type SafeCreate$4 = z.output<typeof create$4>;
|
|
126
|
+
type SafeUpdate$2 = z.output<typeof update$2>;
|
|
127
127
|
type SafePickupLandmark = z.output<typeof pickupLandmark>;
|
|
128
|
-
declare const defaultLocation: SafeGet$
|
|
128
|
+
declare const defaultLocation: SafeGet$2;
|
|
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$4 as SafeCreate, type SafeGet$2 as SafeGet, type location_SafePickupLandmark as SafePickupLandmark, type SafeUpdate$2 as SafeUpdate, create$4 as create, location_defaultLocation as defaultLocation, get$2 as get, location_pickupLandmark as pickupLandmark, update$2 as update };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
declare const time12h: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
|
|
138
|
-
declare const update: z.ZodObject<{
|
|
138
|
+
declare const update$1: 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: 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$3: 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$2: z.ZodObject<{
|
|
|
153
153
|
declare const remove: z.ZodObject<{
|
|
154
154
|
id: z.ZodString;
|
|
155
155
|
}, z.core.$strip>;
|
|
156
|
-
declare const get: z.ZodObject<{
|
|
156
|
+
declare const get$1: z.ZodObject<{
|
|
157
157
|
id: z.ZodString;
|
|
158
158
|
name: z.ZodString;
|
|
159
159
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -169,22 +169,18 @@ declare const list: z.ZodArray<z.ZodObject<{
|
|
|
169
169
|
endTime: z.ZodCoercedNumber<unknown>;
|
|
170
170
|
minHour: z.ZodCoercedNumber<unknown>;
|
|
171
171
|
}, z.core.$strip>>;
|
|
172
|
-
type SafeGet = z.output<typeof get>;
|
|
172
|
+
type SafeGet$1 = z.output<typeof get$1>;
|
|
173
173
|
type SafeList$1 = z.output<typeof list>;
|
|
174
|
-
type SafeCreate$
|
|
175
|
-
type SafeUpdate = z.output<typeof update>;
|
|
174
|
+
type SafeCreate$3 = z.output<typeof create$3>;
|
|
175
|
+
type SafeUpdate$1 = z.output<typeof update$1>;
|
|
176
176
|
type SafeRemove = z.output<typeof remove>;
|
|
177
177
|
|
|
178
|
-
type slot_SafeGet = SafeGet;
|
|
179
178
|
type slot_SafeRemove = SafeRemove;
|
|
180
|
-
type slot_SafeUpdate = SafeUpdate;
|
|
181
|
-
declare const slot_get: typeof get;
|
|
182
179
|
declare const slot_list: typeof list;
|
|
183
180
|
declare const slot_remove: typeof remove;
|
|
184
181
|
declare const slot_time12h: typeof time12h;
|
|
185
|
-
declare const slot_update: typeof update;
|
|
186
182
|
declare namespace slot {
|
|
187
|
-
export { type SafeCreate$
|
|
183
|
+
export { type SafeCreate$3 as SafeCreate, type SafeGet$1 as SafeGet, type SafeList$1 as SafeList, type slot_SafeRemove as SafeRemove, type SafeUpdate$1 as SafeUpdate, create$3 as create, get$1 as get, slot_list as list, slot_remove as remove, slot_time12h as time12h, update$1 as update };
|
|
188
184
|
}
|
|
189
185
|
|
|
190
186
|
declare const Weekday: z.ZodEnum<{
|
|
@@ -196,7 +192,8 @@ declare const Weekday: z.ZodEnum<{
|
|
|
196
192
|
friday: "friday";
|
|
197
193
|
saturday: "saturday";
|
|
198
194
|
}>;
|
|
199
|
-
declare const
|
|
195
|
+
declare const get: z.ZodObject<{
|
|
196
|
+
id: z.ZodString;
|
|
200
197
|
operationalDays: z.ZodPipe<z.ZodArray<z.ZodEnum<{
|
|
201
198
|
sunday: "sunday";
|
|
202
199
|
monday: "monday";
|
|
@@ -207,13 +204,42 @@ declare const me$5: z.ZodObject<{
|
|
|
207
204
|
saturday: "saturday";
|
|
208
205
|
}>>, z.ZodTransform<("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[], ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[]>>;
|
|
209
206
|
}, z.core.$strip>;
|
|
210
|
-
|
|
207
|
+
declare const create$2: z.ZodObject<{
|
|
208
|
+
OperationalDays: z.ZodPipe<z.ZodArray<z.ZodEnum<{
|
|
209
|
+
sunday: "sunday";
|
|
210
|
+
monday: "monday";
|
|
211
|
+
tuesday: "tuesday";
|
|
212
|
+
wednesday: "wednesday";
|
|
213
|
+
thursday: "thursday";
|
|
214
|
+
friday: "friday";
|
|
215
|
+
saturday: "saturday";
|
|
216
|
+
}>>, z.ZodTransform<("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[], ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[]>>;
|
|
217
|
+
}, z.core.$strip>;
|
|
218
|
+
declare const update: z.ZodObject<{
|
|
219
|
+
id: z.ZodString;
|
|
220
|
+
OperationalDays: z.ZodPipe<z.ZodArray<z.ZodEnum<{
|
|
221
|
+
sunday: "sunday";
|
|
222
|
+
monday: "monday";
|
|
223
|
+
tuesday: "tuesday";
|
|
224
|
+
wednesday: "wednesday";
|
|
225
|
+
thursday: "thursday";
|
|
226
|
+
friday: "friday";
|
|
227
|
+
saturday: "saturday";
|
|
228
|
+
}>>, z.ZodTransform<("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[], ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[]>>;
|
|
229
|
+
}, z.core.$strip>;
|
|
230
|
+
type SafeGet = z.output<typeof get>;
|
|
211
231
|
type SafeWeekdays = z.output<typeof Weekday>;
|
|
232
|
+
type SafeCreate$2 = z.output<typeof create$2>;
|
|
233
|
+
type SafeUpdate = z.output<typeof update>;
|
|
212
234
|
|
|
235
|
+
type operationalDays_SafeGet = SafeGet;
|
|
236
|
+
type operationalDays_SafeUpdate = SafeUpdate;
|
|
213
237
|
type operationalDays_SafeWeekdays = SafeWeekdays;
|
|
214
238
|
declare const operationalDays_Weekday: typeof Weekday;
|
|
239
|
+
declare const operationalDays_get: typeof get;
|
|
240
|
+
declare const operationalDays_update: typeof update;
|
|
215
241
|
declare namespace operationalDays {
|
|
216
|
-
export { type
|
|
242
|
+
export { type SafeCreate$2 as SafeCreate, type operationalDays_SafeGet as SafeGet, type operationalDays_SafeUpdate as SafeUpdate, type operationalDays_SafeWeekdays as SafeWeekdays, operationalDays_Weekday as Weekday, create$2 as create, operationalDays_get as get, operationalDays_update as update };
|
|
217
243
|
}
|
|
218
244
|
|
|
219
245
|
declare const me$4: z.ZodObject<{
|
package/dist/index.cjs
CHANGED
|
@@ -235,7 +235,9 @@ var list = import_zod4.z.array(get3);
|
|
|
235
235
|
var operational_days_exports = {};
|
|
236
236
|
__export(operational_days_exports, {
|
|
237
237
|
Weekday: () => Weekday,
|
|
238
|
-
|
|
238
|
+
create: () => create4,
|
|
239
|
+
get: () => get4,
|
|
240
|
+
update: () => update4
|
|
239
241
|
});
|
|
240
242
|
var import_zod5 = require("zod");
|
|
241
243
|
var Weekday = import_zod5.z.enum([
|
|
@@ -247,18 +249,26 @@ var Weekday = import_zod5.z.enum([
|
|
|
247
249
|
"friday",
|
|
248
250
|
"saturday"
|
|
249
251
|
]);
|
|
250
|
-
var
|
|
252
|
+
var get4 = import_zod5.z.object({
|
|
253
|
+
id: import_zod5.z.string(),
|
|
251
254
|
operationalDays: import_zod5.z.array(Weekday).transform((arr) => Array.from(new Set(arr)))
|
|
252
255
|
});
|
|
256
|
+
var create4 = import_zod5.z.object({
|
|
257
|
+
OperationalDays: import_zod5.z.array(Weekday).transform((arr) => Array.from(new Set(arr)))
|
|
258
|
+
});
|
|
259
|
+
var update4 = import_zod5.z.object({
|
|
260
|
+
id: import_zod5.z.string(),
|
|
261
|
+
OperationalDays: import_zod5.z.array(Weekday).transform((arr) => Array.from(new Set(arr)))
|
|
262
|
+
});
|
|
253
263
|
|
|
254
264
|
// src/safari/vehicle-details.ts
|
|
255
265
|
var vehicle_details_exports = {};
|
|
256
266
|
__export(vehicle_details_exports, {
|
|
257
|
-
me: () =>
|
|
267
|
+
me: () => me,
|
|
258
268
|
save: () => save
|
|
259
269
|
});
|
|
260
270
|
var import_zod6 = require("zod");
|
|
261
|
-
var
|
|
271
|
+
var me = import_zod6.z.object({
|
|
262
272
|
id: import_zod6.z.string(),
|
|
263
273
|
vehicleName: import_zod6.z.string().trim(),
|
|
264
274
|
registrationNumber: import_zod6.z.string().trim().toUpperCase(),
|
|
@@ -277,32 +287,32 @@ var save = import_zod6.z.object({
|
|
|
277
287
|
// src/safari/driver-details.ts
|
|
278
288
|
var driver_details_exports = {};
|
|
279
289
|
__export(driver_details_exports, {
|
|
280
|
-
create: () =>
|
|
281
|
-
me: () =>
|
|
290
|
+
create: () => create5,
|
|
291
|
+
me: () => me2,
|
|
282
292
|
meList: () => meList
|
|
283
293
|
});
|
|
284
294
|
var import_zod7 = require("zod");
|
|
285
|
-
var
|
|
295
|
+
var me2 = import_zod7.z.object({
|
|
286
296
|
id: import_zod7.z.string(),
|
|
287
297
|
driverName: import_zod7.z.string().trim(),
|
|
288
298
|
licenseNumber: import_zod7.z.string().trim().toUpperCase(),
|
|
289
299
|
experience: import_zod7.z.coerce.number()
|
|
290
300
|
});
|
|
291
|
-
var
|
|
301
|
+
var create5 = import_zod7.z.object({
|
|
292
302
|
driverName: import_zod7.z.string().trim().nonempty("required"),
|
|
293
303
|
licenseNumber: import_zod7.z.string().trim().nonempty("required").toUpperCase(),
|
|
294
304
|
experience: import_zod7.z.coerce.number().min(1, "min")
|
|
295
305
|
});
|
|
296
|
-
var meList = import_zod7.z.array(
|
|
306
|
+
var meList = import_zod7.z.array(me2);
|
|
297
307
|
|
|
298
308
|
// src/safari/business-details.ts
|
|
299
309
|
var business_details_exports = {};
|
|
300
310
|
__export(business_details_exports, {
|
|
301
|
-
create: () =>
|
|
302
|
-
me: () =>
|
|
311
|
+
create: () => create6,
|
|
312
|
+
me: () => me3
|
|
303
313
|
});
|
|
304
314
|
var import_zod8 = require("zod");
|
|
305
|
-
var
|
|
315
|
+
var me3 = import_zod8.z.object({
|
|
306
316
|
bankAccountNumber: import_zod8.z.string().trim(),
|
|
307
317
|
bankName: import_zod8.z.string().trim(),
|
|
308
318
|
accountHolderName: import_zod8.z.string().trim(),
|
|
@@ -310,7 +320,7 @@ var me4 = import_zod8.z.object({
|
|
|
310
320
|
businessNumber: import_zod8.z.string().trim().optional(),
|
|
311
321
|
ifscCode: import_zod8.z.string().trim()
|
|
312
322
|
});
|
|
313
|
-
var
|
|
323
|
+
var create6 = import_zod8.z.object({
|
|
314
324
|
bankAccountNumber: import_zod8.z.string().trim().nonempty("required"),
|
|
315
325
|
bankName: import_zod8.z.string().trim().nonempty("required"),
|
|
316
326
|
accountHolderName: import_zod8.z.string().trim().nonempty("required"),
|
|
@@ -322,11 +332,11 @@ var create5 = import_zod8.z.object({
|
|
|
322
332
|
// src/safari/personal-details.ts
|
|
323
333
|
var personal_details_exports = {};
|
|
324
334
|
__export(personal_details_exports, {
|
|
325
|
-
me: () =>
|
|
335
|
+
me: () => me4,
|
|
326
336
|
save: () => save2
|
|
327
337
|
});
|
|
328
338
|
var import_zod9 = require("zod");
|
|
329
|
-
var
|
|
339
|
+
var me4 = import_zod9.z.object({
|
|
330
340
|
adhaarNumber: import_zod9.z.string().trim(),
|
|
331
341
|
address: import_zod9.z.string().trim()
|
|
332
342
|
});
|
|
@@ -338,12 +348,12 @@ var save2 = import_zod9.z.object({
|
|
|
338
348
|
// src/safari/step.ts
|
|
339
349
|
var step_exports = {};
|
|
340
350
|
__export(step_exports, {
|
|
341
|
-
me: () =>
|
|
351
|
+
me: () => me5,
|
|
342
352
|
steps: () => steps
|
|
343
353
|
});
|
|
344
354
|
var import_zod10 = require("zod");
|
|
345
355
|
var steps = import_zod10.z.enum(["basic_info", "location"]);
|
|
346
|
-
var
|
|
356
|
+
var me5 = import_zod10.z.object({
|
|
347
357
|
email: import_zod10.z.string(),
|
|
348
358
|
name: import_zod10.z.string().trim().optional().default(""),
|
|
349
359
|
countryCode: import_zod10.z.string().optional().default("+91"),
|
package/dist/index.d.cts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -204,7 +204,9 @@ var list = z4.array(get3);
|
|
|
204
204
|
var operational_days_exports = {};
|
|
205
205
|
__export(operational_days_exports, {
|
|
206
206
|
Weekday: () => Weekday,
|
|
207
|
-
|
|
207
|
+
create: () => create4,
|
|
208
|
+
get: () => get4,
|
|
209
|
+
update: () => update4
|
|
208
210
|
});
|
|
209
211
|
import { z as z5 } from "zod";
|
|
210
212
|
var Weekday = z5.enum([
|
|
@@ -216,18 +218,26 @@ var Weekday = z5.enum([
|
|
|
216
218
|
"friday",
|
|
217
219
|
"saturday"
|
|
218
220
|
]);
|
|
219
|
-
var
|
|
221
|
+
var get4 = z5.object({
|
|
222
|
+
id: z5.string(),
|
|
220
223
|
operationalDays: z5.array(Weekday).transform((arr) => Array.from(new Set(arr)))
|
|
221
224
|
});
|
|
225
|
+
var create4 = z5.object({
|
|
226
|
+
OperationalDays: z5.array(Weekday).transform((arr) => Array.from(new Set(arr)))
|
|
227
|
+
});
|
|
228
|
+
var update4 = z5.object({
|
|
229
|
+
id: z5.string(),
|
|
230
|
+
OperationalDays: z5.array(Weekday).transform((arr) => Array.from(new Set(arr)))
|
|
231
|
+
});
|
|
222
232
|
|
|
223
233
|
// src/safari/vehicle-details.ts
|
|
224
234
|
var vehicle_details_exports = {};
|
|
225
235
|
__export(vehicle_details_exports, {
|
|
226
|
-
me: () =>
|
|
236
|
+
me: () => me,
|
|
227
237
|
save: () => save
|
|
228
238
|
});
|
|
229
239
|
import { z as z6 } from "zod";
|
|
230
|
-
var
|
|
240
|
+
var me = z6.object({
|
|
231
241
|
id: z6.string(),
|
|
232
242
|
vehicleName: z6.string().trim(),
|
|
233
243
|
registrationNumber: z6.string().trim().toUpperCase(),
|
|
@@ -246,32 +256,32 @@ var save = z6.object({
|
|
|
246
256
|
// src/safari/driver-details.ts
|
|
247
257
|
var driver_details_exports = {};
|
|
248
258
|
__export(driver_details_exports, {
|
|
249
|
-
create: () =>
|
|
250
|
-
me: () =>
|
|
259
|
+
create: () => create5,
|
|
260
|
+
me: () => me2,
|
|
251
261
|
meList: () => meList
|
|
252
262
|
});
|
|
253
263
|
import { z as z7 } from "zod";
|
|
254
|
-
var
|
|
264
|
+
var me2 = z7.object({
|
|
255
265
|
id: z7.string(),
|
|
256
266
|
driverName: z7.string().trim(),
|
|
257
267
|
licenseNumber: z7.string().trim().toUpperCase(),
|
|
258
268
|
experience: z7.coerce.number()
|
|
259
269
|
});
|
|
260
|
-
var
|
|
270
|
+
var create5 = z7.object({
|
|
261
271
|
driverName: z7.string().trim().nonempty("required"),
|
|
262
272
|
licenseNumber: z7.string().trim().nonempty("required").toUpperCase(),
|
|
263
273
|
experience: z7.coerce.number().min(1, "min")
|
|
264
274
|
});
|
|
265
|
-
var meList = z7.array(
|
|
275
|
+
var meList = z7.array(me2);
|
|
266
276
|
|
|
267
277
|
// src/safari/business-details.ts
|
|
268
278
|
var business_details_exports = {};
|
|
269
279
|
__export(business_details_exports, {
|
|
270
|
-
create: () =>
|
|
271
|
-
me: () =>
|
|
280
|
+
create: () => create6,
|
|
281
|
+
me: () => me3
|
|
272
282
|
});
|
|
273
283
|
import { z as z8 } from "zod";
|
|
274
|
-
var
|
|
284
|
+
var me3 = z8.object({
|
|
275
285
|
bankAccountNumber: z8.string().trim(),
|
|
276
286
|
bankName: z8.string().trim(),
|
|
277
287
|
accountHolderName: z8.string().trim(),
|
|
@@ -279,7 +289,7 @@ var me4 = z8.object({
|
|
|
279
289
|
businessNumber: z8.string().trim().optional(),
|
|
280
290
|
ifscCode: z8.string().trim()
|
|
281
291
|
});
|
|
282
|
-
var
|
|
292
|
+
var create6 = z8.object({
|
|
283
293
|
bankAccountNumber: z8.string().trim().nonempty("required"),
|
|
284
294
|
bankName: z8.string().trim().nonempty("required"),
|
|
285
295
|
accountHolderName: z8.string().trim().nonempty("required"),
|
|
@@ -291,11 +301,11 @@ var create5 = z8.object({
|
|
|
291
301
|
// src/safari/personal-details.ts
|
|
292
302
|
var personal_details_exports = {};
|
|
293
303
|
__export(personal_details_exports, {
|
|
294
|
-
me: () =>
|
|
304
|
+
me: () => me4,
|
|
295
305
|
save: () => save2
|
|
296
306
|
});
|
|
297
307
|
import { z as z9 } from "zod";
|
|
298
|
-
var
|
|
308
|
+
var me4 = z9.object({
|
|
299
309
|
adhaarNumber: z9.string().trim(),
|
|
300
310
|
address: z9.string().trim()
|
|
301
311
|
});
|
|
@@ -307,12 +317,12 @@ var save2 = z9.object({
|
|
|
307
317
|
// src/safari/step.ts
|
|
308
318
|
var step_exports = {};
|
|
309
319
|
__export(step_exports, {
|
|
310
|
-
me: () =>
|
|
320
|
+
me: () => me5,
|
|
311
321
|
steps: () => steps
|
|
312
322
|
});
|
|
313
323
|
import { z as z10 } from "zod";
|
|
314
324
|
var steps = z10.enum(["basic_info", "location"]);
|
|
315
|
-
var
|
|
325
|
+
var me5 = z10.object({
|
|
316
326
|
email: z10.string(),
|
|
317
327
|
name: z10.string().trim().optional().default(""),
|
|
318
328
|
countryCode: z10.string().optional().default("+91"),
|
package/dist/safari/index.cjs
CHANGED
|
@@ -222,7 +222,9 @@ var list = import_zod4.z.array(get3);
|
|
|
222
222
|
var operational_days_exports = {};
|
|
223
223
|
__export(operational_days_exports, {
|
|
224
224
|
Weekday: () => Weekday,
|
|
225
|
-
|
|
225
|
+
create: () => create4,
|
|
226
|
+
get: () => get4,
|
|
227
|
+
update: () => update4
|
|
226
228
|
});
|
|
227
229
|
var import_zod5 = require("zod");
|
|
228
230
|
var Weekday = import_zod5.z.enum([
|
|
@@ -234,18 +236,26 @@ var Weekday = import_zod5.z.enum([
|
|
|
234
236
|
"friday",
|
|
235
237
|
"saturday"
|
|
236
238
|
]);
|
|
237
|
-
var
|
|
239
|
+
var get4 = import_zod5.z.object({
|
|
240
|
+
id: import_zod5.z.string(),
|
|
238
241
|
operationalDays: import_zod5.z.array(Weekday).transform((arr) => Array.from(new Set(arr)))
|
|
239
242
|
});
|
|
243
|
+
var create4 = import_zod5.z.object({
|
|
244
|
+
OperationalDays: import_zod5.z.array(Weekday).transform((arr) => Array.from(new Set(arr)))
|
|
245
|
+
});
|
|
246
|
+
var update4 = import_zod5.z.object({
|
|
247
|
+
id: import_zod5.z.string(),
|
|
248
|
+
OperationalDays: import_zod5.z.array(Weekday).transform((arr) => Array.from(new Set(arr)))
|
|
249
|
+
});
|
|
240
250
|
|
|
241
251
|
// src/safari/vehicle-details.ts
|
|
242
252
|
var vehicle_details_exports = {};
|
|
243
253
|
__export(vehicle_details_exports, {
|
|
244
|
-
me: () =>
|
|
254
|
+
me: () => me,
|
|
245
255
|
save: () => save
|
|
246
256
|
});
|
|
247
257
|
var import_zod6 = require("zod");
|
|
248
|
-
var
|
|
258
|
+
var me = import_zod6.z.object({
|
|
249
259
|
id: import_zod6.z.string(),
|
|
250
260
|
vehicleName: import_zod6.z.string().trim(),
|
|
251
261
|
registrationNumber: import_zod6.z.string().trim().toUpperCase(),
|
|
@@ -264,32 +274,32 @@ var save = import_zod6.z.object({
|
|
|
264
274
|
// src/safari/driver-details.ts
|
|
265
275
|
var driver_details_exports = {};
|
|
266
276
|
__export(driver_details_exports, {
|
|
267
|
-
create: () =>
|
|
268
|
-
me: () =>
|
|
277
|
+
create: () => create5,
|
|
278
|
+
me: () => me2,
|
|
269
279
|
meList: () => meList
|
|
270
280
|
});
|
|
271
281
|
var import_zod7 = require("zod");
|
|
272
|
-
var
|
|
282
|
+
var me2 = import_zod7.z.object({
|
|
273
283
|
id: import_zod7.z.string(),
|
|
274
284
|
driverName: import_zod7.z.string().trim(),
|
|
275
285
|
licenseNumber: import_zod7.z.string().trim().toUpperCase(),
|
|
276
286
|
experience: import_zod7.z.coerce.number()
|
|
277
287
|
});
|
|
278
|
-
var
|
|
288
|
+
var create5 = import_zod7.z.object({
|
|
279
289
|
driverName: import_zod7.z.string().trim().nonempty("required"),
|
|
280
290
|
licenseNumber: import_zod7.z.string().trim().nonempty("required").toUpperCase(),
|
|
281
291
|
experience: import_zod7.z.coerce.number().min(1, "min")
|
|
282
292
|
});
|
|
283
|
-
var meList = import_zod7.z.array(
|
|
293
|
+
var meList = import_zod7.z.array(me2);
|
|
284
294
|
|
|
285
295
|
// src/safari/business-details.ts
|
|
286
296
|
var business_details_exports = {};
|
|
287
297
|
__export(business_details_exports, {
|
|
288
|
-
create: () =>
|
|
289
|
-
me: () =>
|
|
298
|
+
create: () => create6,
|
|
299
|
+
me: () => me3
|
|
290
300
|
});
|
|
291
301
|
var import_zod8 = require("zod");
|
|
292
|
-
var
|
|
302
|
+
var me3 = import_zod8.z.object({
|
|
293
303
|
bankAccountNumber: import_zod8.z.string().trim(),
|
|
294
304
|
bankName: import_zod8.z.string().trim(),
|
|
295
305
|
accountHolderName: import_zod8.z.string().trim(),
|
|
@@ -297,7 +307,7 @@ var me4 = import_zod8.z.object({
|
|
|
297
307
|
businessNumber: import_zod8.z.string().trim().optional(),
|
|
298
308
|
ifscCode: import_zod8.z.string().trim()
|
|
299
309
|
});
|
|
300
|
-
var
|
|
310
|
+
var create6 = import_zod8.z.object({
|
|
301
311
|
bankAccountNumber: import_zod8.z.string().trim().nonempty("required"),
|
|
302
312
|
bankName: import_zod8.z.string().trim().nonempty("required"),
|
|
303
313
|
accountHolderName: import_zod8.z.string().trim().nonempty("required"),
|
|
@@ -309,11 +319,11 @@ var create5 = import_zod8.z.object({
|
|
|
309
319
|
// src/safari/personal-details.ts
|
|
310
320
|
var personal_details_exports = {};
|
|
311
321
|
__export(personal_details_exports, {
|
|
312
|
-
me: () =>
|
|
322
|
+
me: () => me4,
|
|
313
323
|
save: () => save2
|
|
314
324
|
});
|
|
315
325
|
var import_zod9 = require("zod");
|
|
316
|
-
var
|
|
326
|
+
var me4 = import_zod9.z.object({
|
|
317
327
|
adhaarNumber: import_zod9.z.string().trim(),
|
|
318
328
|
address: import_zod9.z.string().trim()
|
|
319
329
|
});
|
|
@@ -325,12 +335,12 @@ var save2 = import_zod9.z.object({
|
|
|
325
335
|
// src/safari/step.ts
|
|
326
336
|
var step_exports = {};
|
|
327
337
|
__export(step_exports, {
|
|
328
|
-
me: () =>
|
|
338
|
+
me: () => me5,
|
|
329
339
|
steps: () => steps
|
|
330
340
|
});
|
|
331
341
|
var import_zod10 = require("zod");
|
|
332
342
|
var steps = import_zod10.z.enum(["basic_info", "location"]);
|
|
333
|
-
var
|
|
343
|
+
var me5 = import_zod10.z.object({
|
|
334
344
|
email: import_zod10.z.string(),
|
|
335
345
|
name: import_zod10.z.string().trim().optional().default(""),
|
|
336
346
|
countryCode: import_zod10.z.string().optional().default("+91"),
|
package/dist/safari/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { b as BasicDetails, a as BusinessDetails, d as DriverDetails, l as Location, o as OperationalDays, p as PersonalDetails, s as Slot, c as Step, v as VehicleDetails } from '../index-
|
|
1
|
+
export { b as BasicDetails, a as BusinessDetails, d as DriverDetails, l as Location, o as OperationalDays, p as PersonalDetails, s as Slot, c as Step, v as VehicleDetails } from '../index-mfbil-IP.cjs';
|
|
2
2
|
import 'zod';
|
package/dist/safari/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { b as BasicDetails, a as BusinessDetails, d as DriverDetails, l as Location, o as OperationalDays, p as PersonalDetails, s as Slot, c as Step, v as VehicleDetails } from '../index-
|
|
1
|
+
export { b as BasicDetails, a as BusinessDetails, d as DriverDetails, l as Location, o as OperationalDays, p as PersonalDetails, s as Slot, c as Step, v as VehicleDetails } from '../index-mfbil-IP.js';
|
|
2
2
|
import 'zod';
|
package/dist/safari/index.js
CHANGED
|
@@ -184,7 +184,9 @@ var list = z4.array(get3);
|
|
|
184
184
|
var operational_days_exports = {};
|
|
185
185
|
__export(operational_days_exports, {
|
|
186
186
|
Weekday: () => Weekday,
|
|
187
|
-
|
|
187
|
+
create: () => create4,
|
|
188
|
+
get: () => get4,
|
|
189
|
+
update: () => update4
|
|
188
190
|
});
|
|
189
191
|
import { z as z5 } from "zod";
|
|
190
192
|
var Weekday = z5.enum([
|
|
@@ -196,18 +198,26 @@ var Weekday = z5.enum([
|
|
|
196
198
|
"friday",
|
|
197
199
|
"saturday"
|
|
198
200
|
]);
|
|
199
|
-
var
|
|
201
|
+
var get4 = z5.object({
|
|
202
|
+
id: z5.string(),
|
|
200
203
|
operationalDays: z5.array(Weekday).transform((arr) => Array.from(new Set(arr)))
|
|
201
204
|
});
|
|
205
|
+
var create4 = z5.object({
|
|
206
|
+
OperationalDays: z5.array(Weekday).transform((arr) => Array.from(new Set(arr)))
|
|
207
|
+
});
|
|
208
|
+
var update4 = z5.object({
|
|
209
|
+
id: z5.string(),
|
|
210
|
+
OperationalDays: z5.array(Weekday).transform((arr) => Array.from(new Set(arr)))
|
|
211
|
+
});
|
|
202
212
|
|
|
203
213
|
// src/safari/vehicle-details.ts
|
|
204
214
|
var vehicle_details_exports = {};
|
|
205
215
|
__export(vehicle_details_exports, {
|
|
206
|
-
me: () =>
|
|
216
|
+
me: () => me,
|
|
207
217
|
save: () => save
|
|
208
218
|
});
|
|
209
219
|
import { z as z6 } from "zod";
|
|
210
|
-
var
|
|
220
|
+
var me = z6.object({
|
|
211
221
|
id: z6.string(),
|
|
212
222
|
vehicleName: z6.string().trim(),
|
|
213
223
|
registrationNumber: z6.string().trim().toUpperCase(),
|
|
@@ -226,32 +236,32 @@ var save = z6.object({
|
|
|
226
236
|
// src/safari/driver-details.ts
|
|
227
237
|
var driver_details_exports = {};
|
|
228
238
|
__export(driver_details_exports, {
|
|
229
|
-
create: () =>
|
|
230
|
-
me: () =>
|
|
239
|
+
create: () => create5,
|
|
240
|
+
me: () => me2,
|
|
231
241
|
meList: () => meList
|
|
232
242
|
});
|
|
233
243
|
import { z as z7 } from "zod";
|
|
234
|
-
var
|
|
244
|
+
var me2 = z7.object({
|
|
235
245
|
id: z7.string(),
|
|
236
246
|
driverName: z7.string().trim(),
|
|
237
247
|
licenseNumber: z7.string().trim().toUpperCase(),
|
|
238
248
|
experience: z7.coerce.number()
|
|
239
249
|
});
|
|
240
|
-
var
|
|
250
|
+
var create5 = z7.object({
|
|
241
251
|
driverName: z7.string().trim().nonempty("required"),
|
|
242
252
|
licenseNumber: z7.string().trim().nonempty("required").toUpperCase(),
|
|
243
253
|
experience: z7.coerce.number().min(1, "min")
|
|
244
254
|
});
|
|
245
|
-
var meList = z7.array(
|
|
255
|
+
var meList = z7.array(me2);
|
|
246
256
|
|
|
247
257
|
// src/safari/business-details.ts
|
|
248
258
|
var business_details_exports = {};
|
|
249
259
|
__export(business_details_exports, {
|
|
250
|
-
create: () =>
|
|
251
|
-
me: () =>
|
|
260
|
+
create: () => create6,
|
|
261
|
+
me: () => me3
|
|
252
262
|
});
|
|
253
263
|
import { z as z8 } from "zod";
|
|
254
|
-
var
|
|
264
|
+
var me3 = z8.object({
|
|
255
265
|
bankAccountNumber: z8.string().trim(),
|
|
256
266
|
bankName: z8.string().trim(),
|
|
257
267
|
accountHolderName: z8.string().trim(),
|
|
@@ -259,7 +269,7 @@ var me4 = z8.object({
|
|
|
259
269
|
businessNumber: z8.string().trim().optional(),
|
|
260
270
|
ifscCode: z8.string().trim()
|
|
261
271
|
});
|
|
262
|
-
var
|
|
272
|
+
var create6 = z8.object({
|
|
263
273
|
bankAccountNumber: z8.string().trim().nonempty("required"),
|
|
264
274
|
bankName: z8.string().trim().nonempty("required"),
|
|
265
275
|
accountHolderName: z8.string().trim().nonempty("required"),
|
|
@@ -271,11 +281,11 @@ var create5 = z8.object({
|
|
|
271
281
|
// src/safari/personal-details.ts
|
|
272
282
|
var personal_details_exports = {};
|
|
273
283
|
__export(personal_details_exports, {
|
|
274
|
-
me: () =>
|
|
284
|
+
me: () => me4,
|
|
275
285
|
save: () => save2
|
|
276
286
|
});
|
|
277
287
|
import { z as z9 } from "zod";
|
|
278
|
-
var
|
|
288
|
+
var me4 = z9.object({
|
|
279
289
|
adhaarNumber: z9.string().trim(),
|
|
280
290
|
address: z9.string().trim()
|
|
281
291
|
});
|
|
@@ -287,12 +297,12 @@ var save2 = z9.object({
|
|
|
287
297
|
// src/safari/step.ts
|
|
288
298
|
var step_exports = {};
|
|
289
299
|
__export(step_exports, {
|
|
290
|
-
me: () =>
|
|
300
|
+
me: () => me5,
|
|
291
301
|
steps: () => steps
|
|
292
302
|
});
|
|
293
303
|
import { z as z10 } from "zod";
|
|
294
304
|
var steps = z10.enum(["basic_info", "location"]);
|
|
295
|
-
var
|
|
305
|
+
var me5 = z10.object({
|
|
296
306
|
email: z10.string(),
|
|
297
307
|
name: z10.string().trim().optional().default(""),
|
|
298
308
|
countryCode: z10.string().optional().default("+91"),
|