@tripsam/onboarding 1.0.22 → 1.0.23
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.cjs +24 -2
- package/dist/index.d.cts +42 -13
- package/dist/index.d.ts +42 -13
- package/dist/index.js +22 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -23,7 +23,8 @@ __export(index_exports, {
|
|
|
23
23
|
BasicDetails: () => basic_details_exports,
|
|
24
24
|
Location: () => location_exports,
|
|
25
25
|
Slot: () => slot_exports,
|
|
26
|
-
VerifyEmail: () => verify_email_exports
|
|
26
|
+
VerifyEmail: () => verify_email_exports,
|
|
27
|
+
operationalDays: () => operational_days_exports
|
|
27
28
|
});
|
|
28
29
|
module.exports = __toCommonJS(index_exports);
|
|
29
30
|
|
|
@@ -170,10 +171,31 @@ var me3 = import_zod4.z.object({
|
|
|
170
171
|
minHour: import_zod4.z.coerce.number("invalid")
|
|
171
172
|
});
|
|
172
173
|
var meList = import_zod4.z.array(me3);
|
|
174
|
+
|
|
175
|
+
// src/operational-days.ts
|
|
176
|
+
var operational_days_exports = {};
|
|
177
|
+
__export(operational_days_exports, {
|
|
178
|
+
Weekday: () => Weekday,
|
|
179
|
+
me: () => me4
|
|
180
|
+
});
|
|
181
|
+
var import_zod5 = require("zod");
|
|
182
|
+
var Weekday = import_zod5.z.enum([
|
|
183
|
+
"sunday",
|
|
184
|
+
"monday",
|
|
185
|
+
"tuesday",
|
|
186
|
+
"wednesday",
|
|
187
|
+
"thursday",
|
|
188
|
+
"friday",
|
|
189
|
+
"saturday"
|
|
190
|
+
]);
|
|
191
|
+
var me4 = import_zod5.z.object({
|
|
192
|
+
operationalDays: import_zod5.z.array(Weekday).transform((arr) => Array.from(new Set(arr)))
|
|
193
|
+
});
|
|
173
194
|
// Annotate the CommonJS export names for ESM import in node:
|
|
174
195
|
0 && (module.exports = {
|
|
175
196
|
BasicDetails,
|
|
176
197
|
Location,
|
|
177
198
|
Slot,
|
|
178
|
-
VerifyEmail
|
|
199
|
+
VerifyEmail,
|
|
200
|
+
operationalDays
|
|
179
201
|
});
|
package/dist/index.d.cts
CHANGED
|
@@ -24,7 +24,7 @@ declare namespace verifyEmail {
|
|
|
24
24
|
export { type verifyEmail_SafeSendOtp as SafeSendOtp, type verifyEmail_SafeVerifyOtp as SafeVerifyOtp, type verifyEmail_SafeVerifyOtpResponse as SafeVerifyOtpResponse, verifyEmail_sendOtp as sendOtp, verifyEmail_verifyOtp as verifyOtp, verifyEmail_verifyOtpResponse as verifyOtpResponse };
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
declare const me$
|
|
27
|
+
declare const me$3: z.ZodObject<{
|
|
28
28
|
id: z.ZodString;
|
|
29
29
|
email: z.ZodString;
|
|
30
30
|
name: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -38,11 +38,11 @@ declare const update$1: z.ZodObject<{
|
|
|
38
38
|
countryCode: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
39
39
|
phoneNumber: z.ZodString;
|
|
40
40
|
}, z.core.$strip>;
|
|
41
|
-
type SafeMe$2 = z.infer<typeof me$
|
|
41
|
+
type SafeMe$2 = z.infer<typeof me$3>;
|
|
42
42
|
type SafeUpdate$1 = z.output<typeof update$1>;
|
|
43
43
|
|
|
44
44
|
declare namespace basicDetails {
|
|
45
|
-
export { type SafeMe$2 as SafeMe, type SafeUpdate$1 as SafeUpdate, me$
|
|
45
|
+
export { type SafeMe$2 as SafeMe, type SafeUpdate$1 as SafeUpdate, me$3 as me, update$1 as update };
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
declare const suggest: z.ZodObject<{
|
|
@@ -88,7 +88,7 @@ declare const save: z.ZodObject<{
|
|
|
88
88
|
distanceKm: z.ZodCoercedNumber<unknown>;
|
|
89
89
|
}, z.core.$strip>>;
|
|
90
90
|
}, z.core.$strip>;
|
|
91
|
-
declare const me$
|
|
91
|
+
declare const me$2: z.ZodObject<{
|
|
92
92
|
location: z.ZodObject<{
|
|
93
93
|
id: z.ZodString;
|
|
94
94
|
name: z.ZodString;
|
|
@@ -143,12 +143,11 @@ type SafeMinimum = z.output<typeof minimum>;
|
|
|
143
143
|
type SafeMinimumList = z.output<typeof minimum>;
|
|
144
144
|
type SafeSuggest = z.output<typeof suggest>;
|
|
145
145
|
type SafeSave = z.output<typeof save>;
|
|
146
|
-
type SafeMe$1 = z.output<typeof me$
|
|
147
|
-
type SafePickupLandmark = z.output<typeof pickupLandmark>;
|
|
146
|
+
type SafeMe$1 = z.output<typeof me$2>;
|
|
147
|
+
type SafePickupLandmark$1 = z.output<typeof pickupLandmark>;
|
|
148
148
|
|
|
149
149
|
type location_SafeMinimum = SafeMinimum;
|
|
150
150
|
type location_SafeMinimumList = SafeMinimumList;
|
|
151
|
-
type location_SafePickupLandmark = SafePickupLandmark;
|
|
152
151
|
type location_SafeSave = SafeSave;
|
|
153
152
|
type location_SafeSuggest = SafeSuggest;
|
|
154
153
|
declare const location_minimum: typeof minimum;
|
|
@@ -157,7 +156,7 @@ declare const location_pickupLandmark: typeof pickupLandmark;
|
|
|
157
156
|
declare const location_save: typeof save;
|
|
158
157
|
declare const location_suggest: typeof suggest;
|
|
159
158
|
declare namespace location {
|
|
160
|
-
export { type SafeMe$1 as SafeMe, type location_SafeMinimum as SafeMinimum, type location_SafeMinimumList as SafeMinimumList, type
|
|
159
|
+
export { type SafeMe$1 as SafeMe, type location_SafeMinimum as SafeMinimum, type location_SafeMinimumList as SafeMinimumList, type SafePickupLandmark$1 as SafePickupLandmark, type location_SafeSave as SafeSave, type location_SafeSuggest as SafeSuggest, me$2 as me, location_minimum as minimum, location_minimumList as minimumList, location_pickupLandmark as pickupLandmark, location_save as save, location_suggest as suggest };
|
|
161
160
|
}
|
|
162
161
|
|
|
163
162
|
declare const time12h: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
|
|
@@ -176,7 +175,7 @@ declare const create: z.ZodObject<{
|
|
|
176
175
|
endTime: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
|
|
177
176
|
minHour: z.ZodCoercedNumber<unknown>;
|
|
178
177
|
}, z.core.$strip>;
|
|
179
|
-
declare const me: z.ZodObject<{
|
|
178
|
+
declare const me$1: z.ZodObject<{
|
|
180
179
|
id: z.ZodString;
|
|
181
180
|
name: z.ZodString;
|
|
182
181
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -192,7 +191,7 @@ declare const meList: z.ZodArray<z.ZodObject<{
|
|
|
192
191
|
endTime: z.ZodCoercedNumber<unknown>;
|
|
193
192
|
minHour: z.ZodCoercedNumber<unknown>;
|
|
194
193
|
}, z.core.$strip>>;
|
|
195
|
-
type SafeMe = z.output<typeof me>;
|
|
194
|
+
type SafeMe = z.output<typeof me$1>;
|
|
196
195
|
type SafeList = z.output<typeof meList>;
|
|
197
196
|
type SafeCreate = z.output<typeof create>;
|
|
198
197
|
type SafeUpdate = z.output<typeof update>;
|
|
@@ -202,12 +201,42 @@ type slot_SafeList = SafeList;
|
|
|
202
201
|
type slot_SafeMe = SafeMe;
|
|
203
202
|
type slot_SafeUpdate = SafeUpdate;
|
|
204
203
|
declare const slot_create: typeof create;
|
|
205
|
-
declare const slot_me: typeof me;
|
|
206
204
|
declare const slot_meList: typeof meList;
|
|
207
205
|
declare const slot_time12h: typeof time12h;
|
|
208
206
|
declare const slot_update: typeof update;
|
|
209
207
|
declare namespace slot {
|
|
210
|
-
export { type slot_SafeCreate as SafeCreate, type slot_SafeList as SafeList, type slot_SafeMe as SafeMe, type slot_SafeUpdate as SafeUpdate, slot_create as create,
|
|
208
|
+
export { type slot_SafeCreate as SafeCreate, type slot_SafeList as SafeList, type slot_SafeMe as SafeMe, type slot_SafeUpdate as SafeUpdate, slot_create as create, me$1 as me, slot_meList as meList, slot_time12h as time12h, slot_update as update };
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
declare const Weekday: z.ZodEnum<{
|
|
212
|
+
sunday: "sunday";
|
|
213
|
+
monday: "monday";
|
|
214
|
+
tuesday: "tuesday";
|
|
215
|
+
wednesday: "wednesday";
|
|
216
|
+
thursday: "thursday";
|
|
217
|
+
friday: "friday";
|
|
218
|
+
saturday: "saturday";
|
|
219
|
+
}>;
|
|
220
|
+
declare const me: z.ZodObject<{
|
|
221
|
+
operationalDays: z.ZodPipe<z.ZodArray<z.ZodEnum<{
|
|
222
|
+
sunday: "sunday";
|
|
223
|
+
monday: "monday";
|
|
224
|
+
tuesday: "tuesday";
|
|
225
|
+
wednesday: "wednesday";
|
|
226
|
+
thursday: "thursday";
|
|
227
|
+
friday: "friday";
|
|
228
|
+
saturday: "saturday";
|
|
229
|
+
}>>, z.ZodTransform<("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[], ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[]>>;
|
|
230
|
+
}, z.core.$strip>;
|
|
231
|
+
type SafePickupLandmark = z.output<typeof me>;
|
|
232
|
+
type SafeWeekdays = z.output<typeof Weekday>;
|
|
233
|
+
|
|
234
|
+
type operationalDays_SafePickupLandmark = SafePickupLandmark;
|
|
235
|
+
type operationalDays_SafeWeekdays = SafeWeekdays;
|
|
236
|
+
declare const operationalDays_Weekday: typeof Weekday;
|
|
237
|
+
declare const operationalDays_me: typeof me;
|
|
238
|
+
declare namespace operationalDays {
|
|
239
|
+
export { type operationalDays_SafePickupLandmark as SafePickupLandmark, type operationalDays_SafeWeekdays as SafeWeekdays, operationalDays_Weekday as Weekday, operationalDays_me as me };
|
|
211
240
|
}
|
|
212
241
|
|
|
213
|
-
export { basicDetails as BasicDetails, location as Location, slot as Slot, verifyEmail as VerifyEmail };
|
|
242
|
+
export { basicDetails as BasicDetails, location as Location, slot as Slot, verifyEmail as VerifyEmail, operationalDays };
|
package/dist/index.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ declare namespace verifyEmail {
|
|
|
24
24
|
export { type verifyEmail_SafeSendOtp as SafeSendOtp, type verifyEmail_SafeVerifyOtp as SafeVerifyOtp, type verifyEmail_SafeVerifyOtpResponse as SafeVerifyOtpResponse, verifyEmail_sendOtp as sendOtp, verifyEmail_verifyOtp as verifyOtp, verifyEmail_verifyOtpResponse as verifyOtpResponse };
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
declare const me$
|
|
27
|
+
declare const me$3: z.ZodObject<{
|
|
28
28
|
id: z.ZodString;
|
|
29
29
|
email: z.ZodString;
|
|
30
30
|
name: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -38,11 +38,11 @@ declare const update$1: z.ZodObject<{
|
|
|
38
38
|
countryCode: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
39
39
|
phoneNumber: z.ZodString;
|
|
40
40
|
}, z.core.$strip>;
|
|
41
|
-
type SafeMe$2 = z.infer<typeof me$
|
|
41
|
+
type SafeMe$2 = z.infer<typeof me$3>;
|
|
42
42
|
type SafeUpdate$1 = z.output<typeof update$1>;
|
|
43
43
|
|
|
44
44
|
declare namespace basicDetails {
|
|
45
|
-
export { type SafeMe$2 as SafeMe, type SafeUpdate$1 as SafeUpdate, me$
|
|
45
|
+
export { type SafeMe$2 as SafeMe, type SafeUpdate$1 as SafeUpdate, me$3 as me, update$1 as update };
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
declare const suggest: z.ZodObject<{
|
|
@@ -88,7 +88,7 @@ declare const save: z.ZodObject<{
|
|
|
88
88
|
distanceKm: z.ZodCoercedNumber<unknown>;
|
|
89
89
|
}, z.core.$strip>>;
|
|
90
90
|
}, z.core.$strip>;
|
|
91
|
-
declare const me$
|
|
91
|
+
declare const me$2: z.ZodObject<{
|
|
92
92
|
location: z.ZodObject<{
|
|
93
93
|
id: z.ZodString;
|
|
94
94
|
name: z.ZodString;
|
|
@@ -143,12 +143,11 @@ type SafeMinimum = z.output<typeof minimum>;
|
|
|
143
143
|
type SafeMinimumList = z.output<typeof minimum>;
|
|
144
144
|
type SafeSuggest = z.output<typeof suggest>;
|
|
145
145
|
type SafeSave = z.output<typeof save>;
|
|
146
|
-
type SafeMe$1 = z.output<typeof me$
|
|
147
|
-
type SafePickupLandmark = z.output<typeof pickupLandmark>;
|
|
146
|
+
type SafeMe$1 = z.output<typeof me$2>;
|
|
147
|
+
type SafePickupLandmark$1 = z.output<typeof pickupLandmark>;
|
|
148
148
|
|
|
149
149
|
type location_SafeMinimum = SafeMinimum;
|
|
150
150
|
type location_SafeMinimumList = SafeMinimumList;
|
|
151
|
-
type location_SafePickupLandmark = SafePickupLandmark;
|
|
152
151
|
type location_SafeSave = SafeSave;
|
|
153
152
|
type location_SafeSuggest = SafeSuggest;
|
|
154
153
|
declare const location_minimum: typeof minimum;
|
|
@@ -157,7 +156,7 @@ declare const location_pickupLandmark: typeof pickupLandmark;
|
|
|
157
156
|
declare const location_save: typeof save;
|
|
158
157
|
declare const location_suggest: typeof suggest;
|
|
159
158
|
declare namespace location {
|
|
160
|
-
export { type SafeMe$1 as SafeMe, type location_SafeMinimum as SafeMinimum, type location_SafeMinimumList as SafeMinimumList, type
|
|
159
|
+
export { type SafeMe$1 as SafeMe, type location_SafeMinimum as SafeMinimum, type location_SafeMinimumList as SafeMinimumList, type SafePickupLandmark$1 as SafePickupLandmark, type location_SafeSave as SafeSave, type location_SafeSuggest as SafeSuggest, me$2 as me, location_minimum as minimum, location_minimumList as minimumList, location_pickupLandmark as pickupLandmark, location_save as save, location_suggest as suggest };
|
|
161
160
|
}
|
|
162
161
|
|
|
163
162
|
declare const time12h: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
|
|
@@ -176,7 +175,7 @@ declare const create: z.ZodObject<{
|
|
|
176
175
|
endTime: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
|
|
177
176
|
minHour: z.ZodCoercedNumber<unknown>;
|
|
178
177
|
}, z.core.$strip>;
|
|
179
|
-
declare const me: z.ZodObject<{
|
|
178
|
+
declare const me$1: z.ZodObject<{
|
|
180
179
|
id: z.ZodString;
|
|
181
180
|
name: z.ZodString;
|
|
182
181
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -192,7 +191,7 @@ declare const meList: z.ZodArray<z.ZodObject<{
|
|
|
192
191
|
endTime: z.ZodCoercedNumber<unknown>;
|
|
193
192
|
minHour: z.ZodCoercedNumber<unknown>;
|
|
194
193
|
}, z.core.$strip>>;
|
|
195
|
-
type SafeMe = z.output<typeof me>;
|
|
194
|
+
type SafeMe = z.output<typeof me$1>;
|
|
196
195
|
type SafeList = z.output<typeof meList>;
|
|
197
196
|
type SafeCreate = z.output<typeof create>;
|
|
198
197
|
type SafeUpdate = z.output<typeof update>;
|
|
@@ -202,12 +201,42 @@ type slot_SafeList = SafeList;
|
|
|
202
201
|
type slot_SafeMe = SafeMe;
|
|
203
202
|
type slot_SafeUpdate = SafeUpdate;
|
|
204
203
|
declare const slot_create: typeof create;
|
|
205
|
-
declare const slot_me: typeof me;
|
|
206
204
|
declare const slot_meList: typeof meList;
|
|
207
205
|
declare const slot_time12h: typeof time12h;
|
|
208
206
|
declare const slot_update: typeof update;
|
|
209
207
|
declare namespace slot {
|
|
210
|
-
export { type slot_SafeCreate as SafeCreate, type slot_SafeList as SafeList, type slot_SafeMe as SafeMe, type slot_SafeUpdate as SafeUpdate, slot_create as create,
|
|
208
|
+
export { type slot_SafeCreate as SafeCreate, type slot_SafeList as SafeList, type slot_SafeMe as SafeMe, type slot_SafeUpdate as SafeUpdate, slot_create as create, me$1 as me, slot_meList as meList, slot_time12h as time12h, slot_update as update };
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
declare const Weekday: z.ZodEnum<{
|
|
212
|
+
sunday: "sunday";
|
|
213
|
+
monday: "monday";
|
|
214
|
+
tuesday: "tuesday";
|
|
215
|
+
wednesday: "wednesday";
|
|
216
|
+
thursday: "thursday";
|
|
217
|
+
friday: "friday";
|
|
218
|
+
saturday: "saturday";
|
|
219
|
+
}>;
|
|
220
|
+
declare const me: z.ZodObject<{
|
|
221
|
+
operationalDays: z.ZodPipe<z.ZodArray<z.ZodEnum<{
|
|
222
|
+
sunday: "sunday";
|
|
223
|
+
monday: "monday";
|
|
224
|
+
tuesday: "tuesday";
|
|
225
|
+
wednesday: "wednesday";
|
|
226
|
+
thursday: "thursday";
|
|
227
|
+
friday: "friday";
|
|
228
|
+
saturday: "saturday";
|
|
229
|
+
}>>, z.ZodTransform<("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[], ("sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday")[]>>;
|
|
230
|
+
}, z.core.$strip>;
|
|
231
|
+
type SafePickupLandmark = z.output<typeof me>;
|
|
232
|
+
type SafeWeekdays = z.output<typeof Weekday>;
|
|
233
|
+
|
|
234
|
+
type operationalDays_SafePickupLandmark = SafePickupLandmark;
|
|
235
|
+
type operationalDays_SafeWeekdays = SafeWeekdays;
|
|
236
|
+
declare const operationalDays_Weekday: typeof Weekday;
|
|
237
|
+
declare const operationalDays_me: typeof me;
|
|
238
|
+
declare namespace operationalDays {
|
|
239
|
+
export { type operationalDays_SafePickupLandmark as SafePickupLandmark, type operationalDays_SafeWeekdays as SafeWeekdays, operationalDays_Weekday as Weekday, operationalDays_me as me };
|
|
211
240
|
}
|
|
212
241
|
|
|
213
|
-
export { basicDetails as BasicDetails, location as Location, slot as Slot, verifyEmail as VerifyEmail };
|
|
242
|
+
export { basicDetails as BasicDetails, location as Location, slot as Slot, verifyEmail as VerifyEmail, operationalDays };
|
package/dist/index.js
CHANGED
|
@@ -147,9 +147,30 @@ var me3 = z4.object({
|
|
|
147
147
|
minHour: z4.coerce.number("invalid")
|
|
148
148
|
});
|
|
149
149
|
var meList = z4.array(me3);
|
|
150
|
+
|
|
151
|
+
// src/operational-days.ts
|
|
152
|
+
var operational_days_exports = {};
|
|
153
|
+
__export(operational_days_exports, {
|
|
154
|
+
Weekday: () => Weekday,
|
|
155
|
+
me: () => me4
|
|
156
|
+
});
|
|
157
|
+
import { z as z5 } from "zod";
|
|
158
|
+
var Weekday = z5.enum([
|
|
159
|
+
"sunday",
|
|
160
|
+
"monday",
|
|
161
|
+
"tuesday",
|
|
162
|
+
"wednesday",
|
|
163
|
+
"thursday",
|
|
164
|
+
"friday",
|
|
165
|
+
"saturday"
|
|
166
|
+
]);
|
|
167
|
+
var me4 = z5.object({
|
|
168
|
+
operationalDays: z5.array(Weekday).transform((arr) => Array.from(new Set(arr)))
|
|
169
|
+
});
|
|
150
170
|
export {
|
|
151
171
|
basic_details_exports as BasicDetails,
|
|
152
172
|
location_exports as Location,
|
|
153
173
|
slot_exports as Slot,
|
|
154
|
-
verify_email_exports as VerifyEmail
|
|
174
|
+
verify_email_exports as VerifyEmail,
|
|
175
|
+
operational_days_exports as operationalDays
|
|
155
176
|
};
|