@tripsam/onboarding 1.0.22 → 1.0.24
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 +22 -0
- package/dist/index.d.cts +41 -12
- package/dist/index.d.ts +41 -12
- package/dist/index.js +21 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -22,6 +22,7 @@ var index_exports = {};
|
|
|
22
22
|
__export(index_exports, {
|
|
23
23
|
BasicDetails: () => basic_details_exports,
|
|
24
24
|
Location: () => location_exports,
|
|
25
|
+
OperationalDays: () => operational_days_exports,
|
|
25
26
|
Slot: () => slot_exports,
|
|
26
27
|
VerifyEmail: () => verify_email_exports
|
|
27
28
|
});
|
|
@@ -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,
|
|
198
|
+
OperationalDays,
|
|
177
199
|
Slot,
|
|
178
200
|
VerifyEmail
|
|
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$
|
|
41
|
+
type SafeMe$3 = 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$
|
|
45
|
+
export { type SafeMe$3 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,7 +143,7 @@ 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$
|
|
146
|
+
type SafeMe$2 = z.output<typeof me$2>;
|
|
147
147
|
type SafePickupLandmark = z.output<typeof pickupLandmark>;
|
|
148
148
|
|
|
149
149
|
type location_SafeMinimum = SafeMinimum;
|
|
@@ -157,7 +157,7 @@ declare const location_pickupLandmark: typeof pickupLandmark;
|
|
|
157
157
|
declare const location_save: typeof save;
|
|
158
158
|
declare const location_suggest: typeof suggest;
|
|
159
159
|
declare namespace location {
|
|
160
|
-
export { type SafeMe$
|
|
160
|
+
export { type SafeMe$2 as SafeMe, type location_SafeMinimum as SafeMinimum, type location_SafeMinimumList as SafeMinimumList, type location_SafePickupLandmark 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
161
|
}
|
|
162
162
|
|
|
163
163
|
declare const time12h: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
|
|
@@ -176,7 +176,7 @@ declare const create: z.ZodObject<{
|
|
|
176
176
|
endTime: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
|
|
177
177
|
minHour: z.ZodCoercedNumber<unknown>;
|
|
178
178
|
}, z.core.$strip>;
|
|
179
|
-
declare const me: z.ZodObject<{
|
|
179
|
+
declare const me$1: z.ZodObject<{
|
|
180
180
|
id: z.ZodString;
|
|
181
181
|
name: z.ZodString;
|
|
182
182
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -192,22 +192,51 @@ declare const meList: z.ZodArray<z.ZodObject<{
|
|
|
192
192
|
endTime: z.ZodCoercedNumber<unknown>;
|
|
193
193
|
minHour: z.ZodCoercedNumber<unknown>;
|
|
194
194
|
}, z.core.$strip>>;
|
|
195
|
-
type SafeMe = z.output<typeof me>;
|
|
195
|
+
type SafeMe$1 = z.output<typeof me$1>;
|
|
196
196
|
type SafeList = z.output<typeof meList>;
|
|
197
197
|
type SafeCreate = z.output<typeof create>;
|
|
198
198
|
type SafeUpdate = z.output<typeof update>;
|
|
199
199
|
|
|
200
200
|
type slot_SafeCreate = SafeCreate;
|
|
201
201
|
type slot_SafeList = SafeList;
|
|
202
|
-
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
|
|
208
|
+
export { type slot_SafeCreate as SafeCreate, type slot_SafeList as SafeList, type SafeMe$1 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 SafeMe = z.output<typeof me>;
|
|
232
|
+
type SafeWeekdays = z.output<typeof Weekday>;
|
|
233
|
+
|
|
234
|
+
type operationalDays_SafeMe = SafeMe;
|
|
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_SafeMe as SafeMe, 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, operationalDays as OperationalDays, slot as Slot, verifyEmail as VerifyEmail };
|
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$
|
|
41
|
+
type SafeMe$3 = 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$
|
|
45
|
+
export { type SafeMe$3 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,7 +143,7 @@ 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$
|
|
146
|
+
type SafeMe$2 = z.output<typeof me$2>;
|
|
147
147
|
type SafePickupLandmark = z.output<typeof pickupLandmark>;
|
|
148
148
|
|
|
149
149
|
type location_SafeMinimum = SafeMinimum;
|
|
@@ -157,7 +157,7 @@ declare const location_pickupLandmark: typeof pickupLandmark;
|
|
|
157
157
|
declare const location_save: typeof save;
|
|
158
158
|
declare const location_suggest: typeof suggest;
|
|
159
159
|
declare namespace location {
|
|
160
|
-
export { type SafeMe$
|
|
160
|
+
export { type SafeMe$2 as SafeMe, type location_SafeMinimum as SafeMinimum, type location_SafeMinimumList as SafeMinimumList, type location_SafePickupLandmark 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
161
|
}
|
|
162
162
|
|
|
163
163
|
declare const time12h: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
|
|
@@ -176,7 +176,7 @@ declare const create: z.ZodObject<{
|
|
|
176
176
|
endTime: z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>;
|
|
177
177
|
minHour: z.ZodCoercedNumber<unknown>;
|
|
178
178
|
}, z.core.$strip>;
|
|
179
|
-
declare const me: z.ZodObject<{
|
|
179
|
+
declare const me$1: z.ZodObject<{
|
|
180
180
|
id: z.ZodString;
|
|
181
181
|
name: z.ZodString;
|
|
182
182
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -192,22 +192,51 @@ declare const meList: z.ZodArray<z.ZodObject<{
|
|
|
192
192
|
endTime: z.ZodCoercedNumber<unknown>;
|
|
193
193
|
minHour: z.ZodCoercedNumber<unknown>;
|
|
194
194
|
}, z.core.$strip>>;
|
|
195
|
-
type SafeMe = z.output<typeof me>;
|
|
195
|
+
type SafeMe$1 = z.output<typeof me$1>;
|
|
196
196
|
type SafeList = z.output<typeof meList>;
|
|
197
197
|
type SafeCreate = z.output<typeof create>;
|
|
198
198
|
type SafeUpdate = z.output<typeof update>;
|
|
199
199
|
|
|
200
200
|
type slot_SafeCreate = SafeCreate;
|
|
201
201
|
type slot_SafeList = SafeList;
|
|
202
|
-
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
|
|
208
|
+
export { type slot_SafeCreate as SafeCreate, type slot_SafeList as SafeList, type SafeMe$1 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 SafeMe = z.output<typeof me>;
|
|
232
|
+
type SafeWeekdays = z.output<typeof Weekday>;
|
|
233
|
+
|
|
234
|
+
type operationalDays_SafeMe = SafeMe;
|
|
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_SafeMe as SafeMe, 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, operationalDays as OperationalDays, slot as Slot, verifyEmail as VerifyEmail };
|
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,
|
|
173
|
+
operational_days_exports as OperationalDays,
|
|
153
174
|
slot_exports as Slot,
|
|
154
175
|
verify_email_exports as VerifyEmail
|
|
155
176
|
};
|