@nikthegeek/dreamsforlittles-shared 0.15.2 → 0.16.0
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/access.d.ts +216 -3
- package/dist/access.js +6 -1
- package/dist/access.js.map +1 -1
- package/dist/activity-import-readers.d.ts +18 -0
- package/dist/activity-import-readers.js +26 -0
- package/dist/activity-import-readers.js.map +1 -0
- package/dist/admin.d.ts +526 -23
- package/dist/analysis-teaser.test.d.ts +1 -0
- package/dist/analysis-teaser.test.js +22 -0
- package/dist/analysis-teaser.test.js.map +1 -0
- package/dist/analysis.d.ts +638 -26
- package/dist/analysis.js +7 -0
- package/dist/analysis.js.map +1 -1
- package/dist/archive-zip.d.ts +5 -0
- package/dist/archive-zip.js +39 -0
- package/dist/archive-zip.js.map +1 -0
- package/dist/auth.d.ts +68 -0
- package/dist/auth.js +2 -0
- package/dist/auth.js.map +1 -1
- package/dist/booking-coach-setup.d.ts +385 -0
- package/dist/booking-coach-setup.js +48 -0
- package/dist/booking-coach-setup.js.map +1 -0
- package/dist/booking-embed-preferences.d.ts +58 -0
- package/dist/booking-embed-preferences.js +17 -0
- package/dist/booking-embed-preferences.js.map +1 -0
- package/dist/booking-enquiries.d.ts +10 -10
- package/dist/booking-family-email-content.d.ts +2 -2
- package/dist/booking-family-scope.d.ts +29 -0
- package/dist/booking-family-scope.js +6 -0
- package/dist/booking-family-scope.js.map +1 -0
- package/dist/booking-forms.d.ts +6 -6
- package/dist/booking-system.d.ts +845 -323
- package/dist/booking-system.js +96 -9
- package/dist/booking-system.js.map +1 -1
- package/dist/booking-system.test.js +21 -0
- package/dist/booking-system.test.js.map +1 -1
- package/dist/booking-team-selection.d.ts +11 -0
- package/dist/booking-team-selection.js +6 -0
- package/dist/booking-team-selection.js.map +1 -0
- package/dist/booking-team.d.ts +196 -0
- package/dist/booking-team.js +23 -0
- package/dist/booking-team.js.map +1 -0
- package/dist/calendar-connections.d.ts +6 -6
- package/dist/chat-archives.d.ts +100 -0
- package/dist/chat-archives.js +10 -0
- package/dist/chat-archives.js.map +1 -0
- package/dist/coach-activity-notifications.d.ts +36 -36
- package/dist/coach-family-chat-photos.d.ts +9 -9
- package/dist/coach-family-chat-voice-notes.d.ts +4 -4
- package/dist/coach-family-chat.d.ts +87 -59
- package/dist/coach-family-chat.js +10 -2
- package/dist/coach-family-chat.js.map +1 -1
- package/dist/coach-family-chat.test.js +18 -0
- package/dist/coach-family-chat.test.js.map +1 -1
- package/dist/coach-family-roster.d.ts +39 -0
- package/dist/coach-family-roster.js +63 -0
- package/dist/coach-family-roster.js.map +1 -0
- package/dist/coach-messaging-policy.d.ts +219 -0
- package/dist/coach-messaging-policy.js +24 -0
- package/dist/coach-messaging-policy.js.map +1 -0
- package/dist/coach-portal-link.test.d.ts +1 -0
- package/dist/coach-portal-link.test.js +35 -0
- package/dist/coach-portal-link.test.js.map +1 -0
- package/dist/coach-sleep-plan-templates.d.ts +531 -0
- package/dist/coach-sleep-plan-templates.js +32 -0
- package/dist/coach-sleep-plan-templates.js.map +1 -0
- package/dist/coach-sleep-plans.d.ts +985 -0
- package/dist/coach-sleep-plans.js +9 -0
- package/dist/coach-sleep-plans.js.map +1 -0
- package/dist/coach-today.d.ts +206 -0
- package/dist/coach-today.js +33 -0
- package/dist/coach-today.js.map +1 -0
- package/dist/coach.d.ts +6373 -1192
- package/dist/coach.js +63 -1
- package/dist/coach.js.map +1 -1
- package/dist/enums.d.ts +2 -2
- package/dist/enums.js +10 -2
- package/dist/enums.js.map +1 -1
- package/dist/family-account-retention.d.ts +57 -0
- package/dist/family-account-retention.js +14 -0
- package/dist/family-account-retention.js.map +1 -0
- package/dist/family-artifact-summary.d.ts +49 -0
- package/dist/family-artifact-summary.js +28 -0
- package/dist/family-artifact-summary.js.map +1 -0
- package/dist/family-consent.d.ts +39 -0
- package/dist/family-consent.js +20 -0
- package/dist/family-consent.js.map +1 -0
- package/dist/family-invitations.d.ts +195 -14
- package/dist/family-invitations.js +21 -0
- package/dist/family-invitations.js.map +1 -1
- package/dist/family-profile-artifacts.d.ts +84 -57
- package/dist/family-profile-artifacts.js +11 -0
- package/dist/family-profile-artifacts.js.map +1 -1
- package/dist/family-recovery.d.ts +123 -0
- package/dist/family-recovery.js +13 -0
- package/dist/family-recovery.js.map +1 -0
- package/dist/family-retention-policy.d.ts +65 -0
- package/dist/family-retention-policy.js +41 -0
- package/dist/family-retention-policy.js.map +1 -0
- package/dist/family.d.ts +17669 -1810
- package/dist/family.js +112 -13
- package/dist/family.js.map +1 -1
- package/dist/family.test.js +107 -1
- package/dist/family.test.js.map +1 -1
- package/dist/files.d.ts +4 -4
- package/dist/history-export-csv.d.ts +5 -0
- package/dist/history-export-csv.js +63 -0
- package/dist/history-export-csv.js.map +1 -0
- package/dist/history-export.d.ts +605 -0
- package/dist/history-export.js +40 -0
- package/dist/history-export.js.map +1 -0
- package/dist/huckleberry-import.d.ts +452 -0
- package/dist/huckleberry-import.js +37 -0
- package/dist/huckleberry-import.js.map +1 -0
- package/dist/index.d.ts +30 -0
- package/dist/index.js +30 -0
- package/dist/index.js.map +1 -1
- package/dist/invites.d.ts +63 -10
- package/dist/invites.js +5 -2
- package/dist/invites.js.map +1 -1
- package/dist/lead-insights.d.ts +1242 -51
- package/dist/lead-insights.js +53 -2
- package/dist/lead-insights.js.map +1 -1
- package/dist/lead-insights.test.js +35 -1
- package/dist/lead-insights.test.js.map +1 -1
- package/dist/lead-management.d.ts +1252 -96
- package/dist/lead-management.js +59 -5
- package/dist/lead-management.js.map +1 -1
- package/dist/lead-management.test.js +54 -0
- package/dist/lead-management.test.js.map +1 -1
- package/dist/milestone-photos.d.ts +492 -0
- package/dist/milestone-photos.js +35 -0
- package/dist/milestone-photos.js.map +1 -0
- package/dist/milestone-photos.test.d.ts +1 -0
- package/dist/milestone-photos.test.js +11 -0
- package/dist/milestone-photos.test.js.map +1 -0
- package/dist/milestones.d.ts +28 -28
- package/dist/native-timer-state.d.ts +7182 -0
- package/dist/native-timer-state.js +104 -0
- package/dist/native-timer-state.js.map +1 -0
- package/dist/parent-check-ins.d.ts +196 -0
- package/dist/parent-check-ins.js +37 -0
- package/dist/parent-check-ins.js.map +1 -0
- package/dist/parent-check-ins.test.d.ts +1 -0
- package/dist/parent-check-ins.test.js +27 -0
- package/dist/parent-check-ins.test.js.map +1 -0
- package/dist/practice-bookings.d.ts +261 -0
- package/dist/practice-bookings.js +22 -0
- package/dist/practice-bookings.js.map +1 -0
- package/dist/practice-insights.d.ts +437 -0
- package/dist/practice-insights.js +42 -0
- package/dist/practice-insights.js.map +1 -0
- package/dist/practice-profile.d.ts +22 -0
- package/dist/practice-profile.js +4 -0
- package/dist/practice-profile.js.map +1 -0
- package/dist/practice-teams.d.ts +1259 -0
- package/dist/practice-teams.js +100 -0
- package/dist/practice-teams.js.map +1 -0
- package/dist/product-analytics.d.ts +101 -68
- package/dist/product-analytics.js +18 -1
- package/dist/product-analytics.js.map +1 -1
- package/dist/questionnaire-imports.d.ts +5 -5
- package/dist/questionnaire-photos.d.ts +4 -4
- package/dist/sleep-awake-state.d.ts +191 -0
- package/dist/sleep-awake-state.js +25 -0
- package/dist/sleep-awake-state.js.map +1 -0
- package/dist/sleep-awake-state.test.d.ts +1 -0
- package/dist/sleep-awake-state.test.js +31 -0
- package/dist/sleep-awake-state.test.js.map +1 -0
- package/dist/sleep-completed-night.d.ts +2223 -0
- package/dist/sleep-completed-night.js +31 -0
- package/dist/sleep-completed-night.js.map +1 -0
- package/dist/sleep-methods.d.ts +15 -0
- package/dist/sleep-methods.js +9 -0
- package/dist/sleep-methods.js.map +1 -0
- package/dist/subscription-cancellation-feedback.d.ts +24 -24
- package/dist/support-faqs.d.ts +6 -6
- package/dist/support-tickets.d.ts +18 -18
- package/dist/trial-cards.test.d.ts +1 -0
- package/dist/trial-cards.test.js +30 -0
- package/dist/trial-cards.test.js.map +1 -0
- package/dist/website-feedback.d.ts +8 -8
- package/dist/zoom-meetings.d.ts +4 -4
- package/package.json +1 -1
package/dist/analysis.js
CHANGED
|
@@ -20,4 +20,11 @@ export const analysisActivitiesQuerySchema = z.object({
|
|
|
20
20
|
export const analysisActivitiesResponseSchema = z.object({
|
|
21
21
|
activities: z.array(activitySchema)
|
|
22
22
|
});
|
|
23
|
+
/** Self-family only. The server owns the seven-day window. */
|
|
24
|
+
export const analysisTeaserQuerySchema = z.object({ babyId: idSchema }).strict();
|
|
25
|
+
export const analysisTeaserResponseSchema = z.object({
|
|
26
|
+
entryCount: z.number().int().nonnegative(),
|
|
27
|
+
averageSleepMinutes: z.number().int().nonnegative().nullable(),
|
|
28
|
+
dayLevels: z.array(z.number().int().min(0).max(3)).length(7)
|
|
29
|
+
}).strict();
|
|
23
30
|
//# sourceMappingURL=analysis.js.map
|
package/dist/analysis.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"analysis.js","sourceRoot":"","sources":["../src/analysis.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEzD,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,CAAC,MAAM,CAAC;IACpD,YAAY,EAAE,QAAQ,CAAC,QAAQ,EAAE;IACjC,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,mBAAmB,CAAC,QAAQ,EAAE;IACpC,EAAE,EAAE,mBAAmB,CAAC,QAAQ,EAAE;IAClC,YAAY,EAAE,kBAAkB,CAAC,QAAQ,EAAE;CAC5C,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,EAAE,OAAO,EAAE,EAAE;IAChC,IAAI,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QAA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QACjD,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC;KACrC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,CAAC,MAAM,CAAC;IACvD,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC;CACpC,CAAC,CAAC;AAKH,8DAA8D;AAC9D,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;AACjF,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,MAAM,CAAC;IACnD,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IAC1C,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE,CAAC,QAAQ,EAAE;IAC9D,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;CAC7D,CAAC,CAAC,MAAM,EAAE,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { HISTORY_EXPORT_MAX_BYTES, HISTORY_EXPORT_MAX_FILES } from "./history-export.js";
|
|
2
|
+
const crc32 = (bytes) => { let crc = 0xffffffff; for (const byte of bytes) {
|
|
3
|
+
crc ^= byte;
|
|
4
|
+
for (let bit = 0; bit < 8; bit++)
|
|
5
|
+
crc = (crc >>> 1) ^ (0xedb88320 & -(crc & 1));
|
|
6
|
+
} return (crc ^ 0xffffffff) >>> 0; };
|
|
7
|
+
const header = (size, fields) => { const bytes = new Uint8Array(size), view = new DataView(bytes.buffer); for (const [offset, value, width] of fields) {
|
|
8
|
+
if (width === 2)
|
|
9
|
+
view.setUint16(offset, value, true);
|
|
10
|
+
else
|
|
11
|
+
view.setUint32(offset, value, true);
|
|
12
|
+
} return bytes; };
|
|
13
|
+
/** The existing bounded store-only ZIP format, shared by history and authorized chat downloads. */
|
|
14
|
+
export const buildPrivateArchiveBytes = (files) => {
|
|
15
|
+
if (!files.length || files.length > HISTORY_EXPORT_MAX_FILES)
|
|
16
|
+
throw new Error("This download has too many files. Download a smaller selection.");
|
|
17
|
+
const local = [], central = [], paths = new Set();
|
|
18
|
+
let offset = 0, centralSize = 0;
|
|
19
|
+
for (const { path: value, bytes } of files) {
|
|
20
|
+
if (!value || value.startsWith("/") || value.split("/").some(part => !part || part === "." || part === "..") || paths.has(value))
|
|
21
|
+
throw new Error("The download contains an invalid file name.");
|
|
22
|
+
paths.add(value);
|
|
23
|
+
const path = new TextEncoder().encode(value), crc = crc32(bytes);
|
|
24
|
+
local.push(header(30, [[0, 0x04034b50, 4], [4, 20, 2], [6, 0x800, 2], [12, 33, 2], [14, crc, 4], [18, bytes.length, 4], [22, bytes.length, 4], [26, path.length, 2]]), path, bytes);
|
|
25
|
+
central.push(header(46, [[0, 0x02014b50, 4], [4, 20, 2], [6, 20, 2], [8, 0x800, 2], [14, 33, 2], [16, crc, 4], [20, bytes.length, 4], [24, bytes.length, 4], [28, path.length, 2], [42, offset, 4]]), path);
|
|
26
|
+
offset += 30 + path.length + bytes.length;
|
|
27
|
+
centralSize += 46 + path.length;
|
|
28
|
+
if (offset + centralSize + 22 > HISTORY_EXPORT_MAX_BYTES)
|
|
29
|
+
throw new Error("This download is larger than 12 MB.");
|
|
30
|
+
}
|
|
31
|
+
const end = header(22, [[0, 0x06054b50, 4], [8, files.length, 2], [10, files.length, 2], [12, centralSize, 4], [16, offset, 4]]), result = new Uint8Array(offset + centralSize + end.length);
|
|
32
|
+
let position = 0;
|
|
33
|
+
for (const chunk of [...local, ...central, end]) {
|
|
34
|
+
result.set(chunk, position);
|
|
35
|
+
position += chunk.length;
|
|
36
|
+
}
|
|
37
|
+
return result;
|
|
38
|
+
};
|
|
39
|
+
//# sourceMappingURL=archive-zip.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"archive-zip.js","sourceRoot":"","sources":["../src/archive-zip.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AACzF,MAAM,KAAK,GAAG,CAAC,KAAiB,EAAE,EAAE,GAAG,IAAI,GAAG,GAAG,UAAU,CAAC,CAAC,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;IAAC,GAAG,IAAI,IAAI,CAAC;IAAC,KAAK,IAAI,GAAG,GAAG,CAAC,EAAE,GAAG,GAAG,CAAC,EAAE,GAAG,EAAE;QAAE,GAAG,GAAG,CAAC,GAAG,KAAK,CAAC,CAAC,GAAG,CAAC,UAAU,GAAG,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC;AAAC,CAAC,CAAC,OAAO,CAAC,GAAG,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;AAC5N,MAAM,MAAM,GAAG,CAAC,IAAY,EAAE,MAAqD,EAAE,EAAE,GAAG,MAAM,KAAK,GAAG,IAAI,UAAU,CAAC,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC,MAAM,EAAE,KAAK,EAAE,KAAK,CAAC,IAAI,MAAM,EAAE,CAAC;IAAC,IAAI,KAAK,KAAK,CAAC;QAAE,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,EAAE,IAAI,CAAC,CAAC;;QAAM,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,EAAE,IAAI,CAAC,CAAC;AAAC,CAAC,CAAC,OA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KAAK,CAAC,MAAM,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,WAAW,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI,UAAU,CAAC,MAAM,GAAG,WAAW,GAAG,GAAG,CAAC,MAAM,CAAC,CAAC;IAC7L,IAAI,QAAQ,GAAG,CAAC,CAAC;IAAC,KAAK,MAAM,KAAK,IAAI,CAAC,GAAG,KAAK,EAAE,GAAG,OAAO,EAAE,GAAG,CAAC,EAAE,CAAC;QAAC,MAAM,CAAC,GAAG,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;QAAC,QAAQ,IAAI,KAAK,CAAC,MAAM,CAAC;IAAC,CAAC;IAAC,OAAO,MAAM,CAAC;AAC9I,CAAC,CAAC"}
|
package/dist/auth.d.ts
CHANGED
|
@@ -4,6 +4,16 @@ export declare const onboardFamilyRequestSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
4
4
|
name: z.ZodString;
|
|
5
5
|
email: z.ZodOptional<z.ZodString>;
|
|
6
6
|
timeZone: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
7
|
+
healthConsent: z.ZodOptional<z.ZodObject<{
|
|
8
|
+
accepted: z.ZodLiteral<true>;
|
|
9
|
+
version: z.ZodLiteral<"family-health-storage-2026-10-10-v1">;
|
|
10
|
+
}, "strict", z.ZodTypeAny, {
|
|
11
|
+
version: "family-health-storage-2026-10-10-v1";
|
|
12
|
+
accepted: true;
|
|
13
|
+
}, {
|
|
14
|
+
version: "family-health-storage-2026-10-10-v1";
|
|
15
|
+
accepted: true;
|
|
16
|
+
}>>;
|
|
7
17
|
communicationPreferences: z.ZodOptional<z.ZodObject<{
|
|
8
18
|
hintsTips: z.ZodOptional<z.ZodBoolean>;
|
|
9
19
|
appUpdatesNewFeatures: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -26,6 +36,10 @@ export declare const onboardFamilyRequestSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
26
36
|
appUpdatesNewFeatures?: boolean | undefined;
|
|
27
37
|
promotionsOffers?: boolean | undefined;
|
|
28
38
|
} | undefined;
|
|
39
|
+
healthConsent?: {
|
|
40
|
+
version: "family-health-storage-2026-10-10-v1";
|
|
41
|
+
accepted: true;
|
|
42
|
+
} | undefined;
|
|
29
43
|
}, {
|
|
30
44
|
name: string;
|
|
31
45
|
email?: string | undefined;
|
|
@@ -35,6 +49,10 @@ export declare const onboardFamilyRequestSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
35
49
|
appUpdatesNewFeatures?: boolean | undefined;
|
|
36
50
|
promotionsOffers?: boolean | undefined;
|
|
37
51
|
} | undefined;
|
|
52
|
+
healthConsent?: {
|
|
53
|
+
version: "family-health-storage-2026-10-10-v1";
|
|
54
|
+
accepted: true;
|
|
55
|
+
} | undefined;
|
|
38
56
|
}>, z.ZodEffects<z.ZodObject<{
|
|
39
57
|
acquisitionSource: z.ZodOptional<z.ZodNullable<z.ZodEnum<["searchEngine", "socialMedia", "referral", "sleepCoach", "healthcareProfessional", "advertisement", "instagram", "facebook", "tikTok", "appStoreOrGooglePlay", "podcastOrBlog", "other", "preferNotToSay"]>>>;
|
|
40
58
|
acquisitionSourceOtherText: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
|
|
@@ -218,6 +236,8 @@ export declare const onboardingResponseSchema: z.ZodObject<{
|
|
|
218
236
|
email: z.ZodString;
|
|
219
237
|
name: z.ZodString;
|
|
220
238
|
profileAssetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
239
|
+
coachBio: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
240
|
+
coachReplyHours: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
221
241
|
relationship: z.ZodOptional<z.ZodNullable<z.ZodEnum<["mother", "father", "grandfather", "grandmother", "uncle", "aunt", "guardian", "other"]>>>;
|
|
222
242
|
timeZone: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
|
|
223
243
|
communicationPreferences: z.ZodOptional<z.ZodObject<{
|
|
@@ -262,6 +282,8 @@ export declare const onboardingResponseSchema: z.ZodObject<{
|
|
|
262
282
|
};
|
|
263
283
|
createdAt: string;
|
|
264
284
|
profileAssetId?: string | null | undefined;
|
|
285
|
+
coachBio?: string | null | undefined;
|
|
286
|
+
coachReplyHours?: string | null | undefined;
|
|
265
287
|
relationship?: "mother" | "father" | "grandfather" | "grandmother" | "uncle" | "aunt" | "guardian" | "other" | null | undefined;
|
|
266
288
|
timeZone?: string | null | undefined;
|
|
267
289
|
communicationPreferences?: {
|
|
@@ -283,6 +305,8 @@ export declare const onboardingResponseSchema: z.ZodObject<{
|
|
|
283
305
|
};
|
|
284
306
|
createdAt: string;
|
|
285
307
|
profileAssetId?: string | null | undefined;
|
|
308
|
+
coachBio?: string | null | undefined;
|
|
309
|
+
coachReplyHours?: string | null | undefined;
|
|
286
310
|
relationship?: "mother" | "father" | "grandfather" | "grandmother" | "uncle" | "aunt" | "guardian" | "other" | null | undefined;
|
|
287
311
|
timeZone?: string | null | undefined;
|
|
288
312
|
communicationPreferences?: {
|
|
@@ -312,6 +336,8 @@ export declare const onboardingResponseSchema: z.ZodObject<{
|
|
|
312
336
|
email: z.ZodString;
|
|
313
337
|
name: z.ZodString;
|
|
314
338
|
profileAssetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
339
|
+
coachBio: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
340
|
+
coachReplyHours: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
315
341
|
relationship: z.ZodOptional<z.ZodNullable<z.ZodEnum<["mother", "father", "grandfather", "grandmother", "uncle", "aunt", "guardian", "other"]>>>;
|
|
316
342
|
timeZone: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
|
|
317
343
|
communicationPreferences: z.ZodOptional<z.ZodObject<{
|
|
@@ -356,6 +382,8 @@ export declare const onboardingResponseSchema: z.ZodObject<{
|
|
|
356
382
|
};
|
|
357
383
|
createdAt: string;
|
|
358
384
|
profileAssetId?: string | null | undefined;
|
|
385
|
+
coachBio?: string | null | undefined;
|
|
386
|
+
coachReplyHours?: string | null | undefined;
|
|
359
387
|
relationship?: "mother" | "father" | "grandfather" | "grandmother" | "uncle" | "aunt" | "guardian" | "other" | null | undefined;
|
|
360
388
|
timeZone?: string | null | undefined;
|
|
361
389
|
communicationPreferences?: {
|
|
@@ -377,6 +405,8 @@ export declare const onboardingResponseSchema: z.ZodObject<{
|
|
|
377
405
|
};
|
|
378
406
|
createdAt: string;
|
|
379
407
|
profileAssetId?: string | null | undefined;
|
|
408
|
+
coachBio?: string | null | undefined;
|
|
409
|
+
coachReplyHours?: string | null | undefined;
|
|
380
410
|
relationship?: "mother" | "father" | "grandfather" | "grandmother" | "uncle" | "aunt" | "guardian" | "other" | null | undefined;
|
|
381
411
|
timeZone?: string | null | undefined;
|
|
382
412
|
communicationPreferences?: {
|
|
@@ -392,6 +422,8 @@ export declare const onboardingResponseSchema: z.ZodObject<{
|
|
|
392
422
|
email: z.ZodString;
|
|
393
423
|
name: z.ZodString;
|
|
394
424
|
profileAssetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
425
|
+
coachBio: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
426
|
+
coachReplyHours: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
395
427
|
relationship: z.ZodOptional<z.ZodNullable<z.ZodEnum<["mother", "father", "grandfather", "grandmother", "uncle", "aunt", "guardian", "other"]>>>;
|
|
396
428
|
timeZone: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
|
|
397
429
|
communicationPreferences: z.ZodOptional<z.ZodObject<{
|
|
@@ -436,6 +468,8 @@ export declare const onboardingResponseSchema: z.ZodObject<{
|
|
|
436
468
|
};
|
|
437
469
|
createdAt: string;
|
|
438
470
|
profileAssetId?: string | null | undefined;
|
|
471
|
+
coachBio?: string | null | undefined;
|
|
472
|
+
coachReplyHours?: string | null | undefined;
|
|
439
473
|
relationship?: "mother" | "father" | "grandfather" | "grandmother" | "uncle" | "aunt" | "guardian" | "other" | null | undefined;
|
|
440
474
|
timeZone?: string | null | undefined;
|
|
441
475
|
communicationPreferences?: {
|
|
@@ -457,6 +491,8 @@ export declare const onboardingResponseSchema: z.ZodObject<{
|
|
|
457
491
|
};
|
|
458
492
|
createdAt: string;
|
|
459
493
|
profileAssetId?: string | null | undefined;
|
|
494
|
+
coachBio?: string | null | undefined;
|
|
495
|
+
coachReplyHours?: string | null | undefined;
|
|
460
496
|
relationship?: "mother" | "father" | "grandfather" | "grandmother" | "uncle" | "aunt" | "guardian" | "other" | null | undefined;
|
|
461
497
|
timeZone?: string | null | undefined;
|
|
462
498
|
communicationPreferences?: {
|
|
@@ -483,6 +519,8 @@ export declare const onboardingResponseSchema: z.ZodObject<{
|
|
|
483
519
|
};
|
|
484
520
|
createdAt: string;
|
|
485
521
|
profileAssetId?: string | null | undefined;
|
|
522
|
+
coachBio?: string | null | undefined;
|
|
523
|
+
coachReplyHours?: string | null | undefined;
|
|
486
524
|
relationship?: "mother" | "father" | "grandfather" | "grandmother" | "uncle" | "aunt" | "guardian" | "other" | null | undefined;
|
|
487
525
|
timeZone?: string | null | undefined;
|
|
488
526
|
communicationPreferences?: {
|
|
@@ -505,6 +543,8 @@ export declare const onboardingResponseSchema: z.ZodObject<{
|
|
|
505
543
|
};
|
|
506
544
|
createdAt: string;
|
|
507
545
|
profileAssetId?: string | null | undefined;
|
|
546
|
+
coachBio?: string | null | undefined;
|
|
547
|
+
coachReplyHours?: string | null | undefined;
|
|
508
548
|
relationship?: "mother" | "father" | "grandfather" | "grandmother" | "uncle" | "aunt" | "guardian" | "other" | null | undefined;
|
|
509
549
|
timeZone?: string | null | undefined;
|
|
510
550
|
communicationPreferences?: {
|
|
@@ -531,6 +571,8 @@ export declare const onboardingResponseSchema: z.ZodObject<{
|
|
|
531
571
|
};
|
|
532
572
|
createdAt: string;
|
|
533
573
|
profileAssetId?: string | null | undefined;
|
|
574
|
+
coachBio?: string | null | undefined;
|
|
575
|
+
coachReplyHours?: string | null | undefined;
|
|
534
576
|
relationship?: "mother" | "father" | "grandfather" | "grandmother" | "uncle" | "aunt" | "guardian" | "other" | null | undefined;
|
|
535
577
|
timeZone?: string | null | undefined;
|
|
536
578
|
communicationPreferences?: {
|
|
@@ -553,6 +595,8 @@ export declare const onboardingResponseSchema: z.ZodObject<{
|
|
|
553
595
|
};
|
|
554
596
|
createdAt: string;
|
|
555
597
|
profileAssetId?: string | null | undefined;
|
|
598
|
+
coachBio?: string | null | undefined;
|
|
599
|
+
coachReplyHours?: string | null | undefined;
|
|
556
600
|
relationship?: "mother" | "father" | "grandfather" | "grandmother" | "uncle" | "aunt" | "guardian" | "other" | null | undefined;
|
|
557
601
|
timeZone?: string | null | undefined;
|
|
558
602
|
communicationPreferences?: {
|
|
@@ -586,6 +630,8 @@ export declare const onboardingResponseSchema: z.ZodObject<{
|
|
|
586
630
|
};
|
|
587
631
|
createdAt: string;
|
|
588
632
|
profileAssetId?: string | null | undefined;
|
|
633
|
+
coachBio?: string | null | undefined;
|
|
634
|
+
coachReplyHours?: string | null | undefined;
|
|
589
635
|
relationship?: "mother" | "father" | "grandfather" | "grandmother" | "uncle" | "aunt" | "guardian" | "other" | null | undefined;
|
|
590
636
|
timeZone?: string | null | undefined;
|
|
591
637
|
communicationPreferences?: {
|
|
@@ -614,6 +660,8 @@ export declare const onboardingResponseSchema: z.ZodObject<{
|
|
|
614
660
|
};
|
|
615
661
|
createdAt: string;
|
|
616
662
|
profileAssetId?: string | null | undefined;
|
|
663
|
+
coachBio?: string | null | undefined;
|
|
664
|
+
coachReplyHours?: string | null | undefined;
|
|
617
665
|
relationship?: "mother" | "father" | "grandfather" | "grandmother" | "uncle" | "aunt" | "guardian" | "other" | null | undefined;
|
|
618
666
|
timeZone?: string | null | undefined;
|
|
619
667
|
communicationPreferences?: {
|
|
@@ -636,6 +684,8 @@ export declare const onboardingResponseSchema: z.ZodObject<{
|
|
|
636
684
|
};
|
|
637
685
|
createdAt: string;
|
|
638
686
|
profileAssetId?: string | null | undefined;
|
|
687
|
+
coachBio?: string | null | undefined;
|
|
688
|
+
coachReplyHours?: string | null | undefined;
|
|
639
689
|
relationship?: "mother" | "father" | "grandfather" | "grandmother" | "uncle" | "aunt" | "guardian" | "other" | null | undefined;
|
|
640
690
|
timeZone?: string | null | undefined;
|
|
641
691
|
communicationPreferences?: {
|
|
@@ -669,6 +719,8 @@ export declare const onboardingResponseSchema: z.ZodObject<{
|
|
|
669
719
|
};
|
|
670
720
|
createdAt: string;
|
|
671
721
|
profileAssetId?: string | null | undefined;
|
|
722
|
+
coachBio?: string | null | undefined;
|
|
723
|
+
coachReplyHours?: string | null | undefined;
|
|
672
724
|
relationship?: "mother" | "father" | "grandfather" | "grandmother" | "uncle" | "aunt" | "guardian" | "other" | null | undefined;
|
|
673
725
|
timeZone?: string | null | undefined;
|
|
674
726
|
communicationPreferences?: {
|
|
@@ -697,6 +749,8 @@ export declare const onboardingResponseSchema: z.ZodObject<{
|
|
|
697
749
|
};
|
|
698
750
|
createdAt: string;
|
|
699
751
|
profileAssetId?: string | null | undefined;
|
|
752
|
+
coachBio?: string | null | undefined;
|
|
753
|
+
coachReplyHours?: string | null | undefined;
|
|
700
754
|
relationship?: "mother" | "father" | "grandfather" | "grandmother" | "uncle" | "aunt" | "guardian" | "other" | null | undefined;
|
|
701
755
|
timeZone?: string | null | undefined;
|
|
702
756
|
communicationPreferences?: {
|
|
@@ -719,6 +773,8 @@ export declare const onboardingResponseSchema: z.ZodObject<{
|
|
|
719
773
|
};
|
|
720
774
|
createdAt: string;
|
|
721
775
|
profileAssetId?: string | null | undefined;
|
|
776
|
+
coachBio?: string | null | undefined;
|
|
777
|
+
coachReplyHours?: string | null | undefined;
|
|
722
778
|
relationship?: "mother" | "father" | "grandfather" | "grandmother" | "uncle" | "aunt" | "guardian" | "other" | null | undefined;
|
|
723
779
|
timeZone?: string | null | undefined;
|
|
724
780
|
communicationPreferences?: {
|
|
@@ -754,6 +810,8 @@ export declare const onboardingResponseSchema: z.ZodObject<{
|
|
|
754
810
|
};
|
|
755
811
|
createdAt: string;
|
|
756
812
|
profileAssetId?: string | null | undefined;
|
|
813
|
+
coachBio?: string | null | undefined;
|
|
814
|
+
coachReplyHours?: string | null | undefined;
|
|
757
815
|
relationship?: "mother" | "father" | "grandfather" | "grandmother" | "uncle" | "aunt" | "guardian" | "other" | null | undefined;
|
|
758
816
|
timeZone?: string | null | undefined;
|
|
759
817
|
communicationPreferences?: {
|
|
@@ -782,6 +840,8 @@ export declare const onboardingResponseSchema: z.ZodObject<{
|
|
|
782
840
|
};
|
|
783
841
|
createdAt: string;
|
|
784
842
|
profileAssetId?: string | null | undefined;
|
|
843
|
+
coachBio?: string | null | undefined;
|
|
844
|
+
coachReplyHours?: string | null | undefined;
|
|
785
845
|
relationship?: "mother" | "father" | "grandfather" | "grandmother" | "uncle" | "aunt" | "guardian" | "other" | null | undefined;
|
|
786
846
|
timeZone?: string | null | undefined;
|
|
787
847
|
communicationPreferences?: {
|
|
@@ -804,6 +864,8 @@ export declare const onboardingResponseSchema: z.ZodObject<{
|
|
|
804
864
|
};
|
|
805
865
|
createdAt: string;
|
|
806
866
|
profileAssetId?: string | null | undefined;
|
|
867
|
+
coachBio?: string | null | undefined;
|
|
868
|
+
coachReplyHours?: string | null | undefined;
|
|
807
869
|
relationship?: "mother" | "father" | "grandfather" | "grandmother" | "uncle" | "aunt" | "guardian" | "other" | null | undefined;
|
|
808
870
|
timeZone?: string | null | undefined;
|
|
809
871
|
communicationPreferences?: {
|
|
@@ -839,6 +901,8 @@ export declare const onboardingResponseSchema: z.ZodObject<{
|
|
|
839
901
|
};
|
|
840
902
|
createdAt: string;
|
|
841
903
|
profileAssetId?: string | null | undefined;
|
|
904
|
+
coachBio?: string | null | undefined;
|
|
905
|
+
coachReplyHours?: string | null | undefined;
|
|
842
906
|
relationship?: "mother" | "father" | "grandfather" | "grandmother" | "uncle" | "aunt" | "guardian" | "other" | null | undefined;
|
|
843
907
|
timeZone?: string | null | undefined;
|
|
844
908
|
communicationPreferences?: {
|
|
@@ -867,6 +931,8 @@ export declare const onboardingResponseSchema: z.ZodObject<{
|
|
|
867
931
|
};
|
|
868
932
|
createdAt: string;
|
|
869
933
|
profileAssetId?: string | null | undefined;
|
|
934
|
+
coachBio?: string | null | undefined;
|
|
935
|
+
coachReplyHours?: string | null | undefined;
|
|
870
936
|
relationship?: "mother" | "father" | "grandfather" | "grandmother" | "uncle" | "aunt" | "guardian" | "other" | null | undefined;
|
|
871
937
|
timeZone?: string | null | undefined;
|
|
872
938
|
communicationPreferences?: {
|
|
@@ -889,6 +955,8 @@ export declare const onboardingResponseSchema: z.ZodObject<{
|
|
|
889
955
|
};
|
|
890
956
|
createdAt: string;
|
|
891
957
|
profileAssetId?: string | null | undefined;
|
|
958
|
+
coachBio?: string | null | undefined;
|
|
959
|
+
coachReplyHours?: string | null | undefined;
|
|
892
960
|
relationship?: "mother" | "father" | "grandfather" | "grandmother" | "uncle" | "aunt" | "guardian" | "other" | null | undefined;
|
|
893
961
|
timeZone?: string | null | undefined;
|
|
894
962
|
communicationPreferences?: {
|
package/dist/auth.js
CHANGED
|
@@ -5,11 +5,13 @@ import { coachAcquisitionSourceFieldsSchema } from "./coach-acquisition.js";
|
|
|
5
5
|
import { communicationPreferencesSchema } from "./communication-preferences.js";
|
|
6
6
|
import { familyAcquisitionSourceFieldsSchema } from "./family-acquisition.js";
|
|
7
7
|
import { businessCountryCodeSchema } from "./geography.js";
|
|
8
|
+
import { familyHealthConsentSchema } from "./family-consent.js";
|
|
8
9
|
export const onboardFamilyRequestSchema = z
|
|
9
10
|
.object({
|
|
10
11
|
name: z.string().min(1),
|
|
11
12
|
email: z.string().email().optional(),
|
|
12
13
|
timeZone: ianaTimeZoneSchema.optional(),
|
|
14
|
+
healthConsent: familyHealthConsentSchema.optional(),
|
|
13
15
|
communicationPreferences: communicationPreferencesSchema.partial().optional()
|
|
14
16
|
})
|
|
15
17
|
.and(familyAcquisitionSourceFieldsSchema);
|
package/dist/auth.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.js","sourceRoot":"","sources":["../src/auth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,oBAAoB,EAAE,yBAAyB,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AACpG,OAAO,EAAE,kBAAkB,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AACxD,OAAO,EAAE,kCAAkC,EAAE,MAAM,wBAAwB,CAAC;AAC5E,OAAO,EAAE,8BAA8B,EAAE,MAAM,gCAAgC,CAAC;AAChF,OAAO,EAAE,mCAAmC,EAAE,MAAM,yBAAyB,CAAC;AAC9E,OAAO,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"auth.js","sourceRoot":"","sources":["../src/auth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,oBAAoB,EAAE,yBAAyB,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AACpG,OAAO,EAAE,kBAAkB,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AACxD,OAAO,EAAE,kCAAkC,EAAE,MAAM,wBAAwB,CAAC;AAC5E,OAAO,EAAE,8BAA8B,EAAE,MAAM,gCAAgC,CAAC;AAChF,OAAO,EAAE,mCAAmC,EAAE,MAAM,yBAAyB,CAAC;AAC9E,OAAO,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CA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