@nikthegeek/dreamsforlittles-shared 0.15.2 → 0.17.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 +52 -0
- package/dist/analysis-teaser.test.js.map +1 -0
- package/dist/analysis.d.ts +1400 -26
- package/dist/analysis.js +20 -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 +626 -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 +1069 -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 +14881 -2356
- 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 +1540 -72
- package/dist/family-profile-artifacts.js +33 -2
- 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-sleep-plan.test.js +17 -0
- package/dist/family-sleep-plan.test.js.map +1 -1
- package/dist/family.d.ts +36596 -4989
- package/dist/family.js +139 -14
- package/dist/family.js.map +1 -1
- package/dist/family.test.js +149 -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 +67 -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/home-activity-context.d.ts +6396 -0
- package/dist/home-activity-context.js +97 -0
- package/dist/home-activity-context.js.map +1 -0
- package/dist/home-activity-context.test.d.ts +1 -0
- package/dist/home-activity-context.test.js +111 -0
- package/dist/home-activity-context.test.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 +34 -0
- package/dist/index.js +34 -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 +267 -23
- package/dist/milestones.js +10 -0
- package/dist/milestones.js.map +1 -1
- package/dist/milestones.test.js +23 -1
- package/dist/milestones.test.js.map +1 -1
- package/dist/native-timer-state.d.ts +8807 -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 +113 -80
- package/dist/product-analytics.js +18 -1
- package/dist/product-analytics.js.map +1 -1
- package/dist/pumping.d.ts +486 -0
- package/dist/pumping.js +94 -0
- package/dist/pumping.js.map +1 -0
- package/dist/pumping.test.d.ts +1 -0
- package/dist/pumping.test.js +62 -0
- package/dist/pumping.test.js.map +1 -0
- package/dist/questionnaire-imports.d.ts +197 -5
- package/dist/questionnaire-photos.d.ts +4 -4
- package/dist/sleep-average-context.d.ts +570 -0
- package/dist/sleep-average-context.js +286 -0
- package/dist/sleep-average-context.js.map +1 -0
- package/dist/sleep-average-context.test.d.ts +1 -0
- package/dist/sleep-average-context.test.js +290 -0
- package/dist/sleep-average-context.test.js.map +1 -0
- package/dist/sleep-average-summary.d.ts +46 -0
- package/dist/sleep-average-summary.js +127 -0
- package/dist/sleep-average-summary.js.map +1 -0
- package/dist/sleep-average-summary.test.d.ts +1 -0
- package/dist/sleep-average-summary.test.js +169 -0
- package/dist/sleep-average-summary.test.js.map +1 -0
- package/dist/sleep-awake-state.d.ts +197 -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 +47 -0
- package/dist/sleep-awake-state.test.js.map +1 -0
- package/dist/sleep-completed-night.d.ts +2786 -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 +12 -12
- package/dist/zoom-meetings.d.ts +4 -4
- package/package.json +1 -1
package/dist/booking-system.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const bookingStatusSchema: z.ZodEnum<["scheduled", "completed", "cancelled", "noShow"]>;
|
|
3
3
|
export declare const bookingServiceCallMethodSchema: z.ZodEnum<["phone", "whatsappVoice", "whatsappVideo", "zoom", "otherVideo", "inPerson"]>;
|
|
4
|
-
export declare const bookingServiceDeliveryModeSchema: z.ZodEnum<["singleCoach", "chooseCoach", "firstAvailable"]>;
|
|
4
|
+
export declare const bookingServiceDeliveryModeSchema: z.ZodEnum<["singleCoach", "chooseCoach", "firstAvailable", "familyCoach"]>;
|
|
5
5
|
export declare const bookingCollectionStatusSchema: z.ZodEnum<["active", "paused"]>;
|
|
6
6
|
export declare const bookingCallMethodSchema: z.ZodEnum<["video", "phone", "whatsappVoice", "whatsappVideo", "zoom", "otherVideo", "inPerson"]>;
|
|
7
7
|
export declare const bookingCallMethodLabels: {
|
|
@@ -25,7 +25,7 @@ export declare const bookingAgeBandLabels: {
|
|
|
25
25
|
readonly "19To24Months": "19–24 months";
|
|
26
26
|
readonly over2Years: "Over 2 years";
|
|
27
27
|
};
|
|
28
|
-
export declare const leadFamilyReportedSourceSchema: z.ZodEnum<["googleSearch", "instagram", "recommendation", "existingClient", "other"]>;
|
|
28
|
+
export declare const leadFamilyReportedSourceSchema: z.ZodEnum<["googleSearch", "instagram", "recommendation", "existingClient", "other", "facebook", "anotherFamily"]>;
|
|
29
29
|
export declare const bookingNotificationModeSchema: z.ZodEnum<["none", "confirmationEmail"]>;
|
|
30
30
|
export declare const bookingPushEventSchema: z.ZodEnum<["created", "rescheduled", "cancelled"]>;
|
|
31
31
|
export declare const bookingPushSource: "littles-baby-tracker-booking";
|
|
@@ -47,43 +47,43 @@ export declare const bookingFamilySourceOptionSchema: z.ZodObject<{
|
|
|
47
47
|
id: z.ZodString;
|
|
48
48
|
label: z.ZodString;
|
|
49
49
|
requiresDetail: z.ZodBoolean;
|
|
50
|
-
legacyValue: z.ZodNullable<z.ZodEnum<["googleSearch", "instagram", "recommendation", "existingClient", "other"]>>;
|
|
50
|
+
legacyValue: z.ZodNullable<z.ZodEnum<["googleSearch", "instagram", "recommendation", "existingClient", "other", "facebook", "anotherFamily"]>>;
|
|
51
51
|
}, "strict", z.ZodTypeAny, {
|
|
52
52
|
id: string;
|
|
53
53
|
label: string;
|
|
54
54
|
requiresDetail: boolean;
|
|
55
|
-
legacyValue: "other" | "instagram" | "googleSearch" | "recommendation" | "existingClient" | null;
|
|
55
|
+
legacyValue: "other" | "instagram" | "facebook" | "googleSearch" | "recommendation" | "existingClient" | "anotherFamily" | null;
|
|
56
56
|
}, {
|
|
57
57
|
id: string;
|
|
58
58
|
label: string;
|
|
59
59
|
requiresDetail: boolean;
|
|
60
|
-
legacyValue: "other" | "instagram" | "googleSearch" | "recommendation" | "existingClient" | null;
|
|
60
|
+
legacyValue: "other" | "instagram" | "facebook" | "googleSearch" | "recommendation" | "existingClient" | "anotherFamily" | null;
|
|
61
61
|
}>;
|
|
62
62
|
export declare const bookingFamilySourceOptionsSchema: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
63
63
|
id: z.ZodString;
|
|
64
64
|
label: z.ZodString;
|
|
65
65
|
requiresDetail: z.ZodBoolean;
|
|
66
|
-
legacyValue: z.ZodNullable<z.ZodEnum<["googleSearch", "instagram", "recommendation", "existingClient", "other"]>>;
|
|
66
|
+
legacyValue: z.ZodNullable<z.ZodEnum<["googleSearch", "instagram", "recommendation", "existingClient", "other", "facebook", "anotherFamily"]>>;
|
|
67
67
|
}, "strict", z.ZodTypeAny, {
|
|
68
68
|
id: string;
|
|
69
69
|
label: string;
|
|
70
70
|
requiresDetail: boolean;
|
|
71
|
-
legacyValue: "other" | "instagram" | "googleSearch" | "recommendation" | "existingClient" | null;
|
|
71
|
+
legacyValue: "other" | "instagram" | "facebook" | "googleSearch" | "recommendation" | "existingClient" | "anotherFamily" | null;
|
|
72
72
|
}, {
|
|
73
73
|
id: string;
|
|
74
74
|
label: string;
|
|
75
75
|
requiresDetail: boolean;
|
|
76
|
-
legacyValue: "other" | "instagram" | "googleSearch" | "recommendation" | "existingClient" | null;
|
|
76
|
+
legacyValue: "other" | "instagram" | "facebook" | "googleSearch" | "recommendation" | "existingClient" | "anotherFamily" | null;
|
|
77
77
|
}>, "many">, {
|
|
78
78
|
id: string;
|
|
79
79
|
label: string;
|
|
80
80
|
requiresDetail: boolean;
|
|
81
|
-
legacyValue: "other" | "instagram" | "googleSearch" | "recommendation" | "existingClient" | null;
|
|
81
|
+
legacyValue: "other" | "instagram" | "facebook" | "googleSearch" | "recommendation" | "existingClient" | "anotherFamily" | null;
|
|
82
82
|
}[], {
|
|
83
83
|
id: string;
|
|
84
84
|
label: string;
|
|
85
85
|
requiresDetail: boolean;
|
|
86
|
-
legacyValue: "other" | "instagram" | "googleSearch" | "recommendation" | "existingClient" | null;
|
|
86
|
+
legacyValue: "other" | "instagram" | "facebook" | "googleSearch" | "recommendation" | "existingClient" | "anotherFamily" | null;
|
|
87
87
|
}[]>;
|
|
88
88
|
export declare const defaultBookingFamilySourceOptions: readonly [{
|
|
89
89
|
readonly id: "source-google-search";
|
|
@@ -128,6 +128,22 @@ export declare const bookingPageSchema: z.ZodObject<{
|
|
|
128
128
|
primaryColor: z.ZodNullable<z.ZodString>;
|
|
129
129
|
accentColor: z.ZodNullable<z.ZodString>;
|
|
130
130
|
pageSurface: z.ZodOptional<z.ZodEnum<["brand", "neutral"]>>;
|
|
131
|
+
embedPreferences: z.ZodOptional<z.ZodObject<{
|
|
132
|
+
colours: z.ZodEnum<["brand", "white"]>;
|
|
133
|
+
branding: z.ZodEnum<["show", "hide"]>;
|
|
134
|
+
corners: z.ZodEnum<["rounded", "square"]>;
|
|
135
|
+
font: z.ZodEnum<["website", "littles"]>;
|
|
136
|
+
}, "strict", z.ZodTypeAny, {
|
|
137
|
+
branding: "show" | "hide";
|
|
138
|
+
colours: "brand" | "white";
|
|
139
|
+
corners: "rounded" | "square";
|
|
140
|
+
font: "website" | "littles";
|
|
141
|
+
}, {
|
|
142
|
+
branding: "show" | "hide";
|
|
143
|
+
colours: "brand" | "white";
|
|
144
|
+
corners: "rounded" | "square";
|
|
145
|
+
font: "website" | "littles";
|
|
146
|
+
}>>;
|
|
131
147
|
logoAssetId: z.ZodNullable<z.ZodString>;
|
|
132
148
|
privacyNoticeVersion: z.ZodString;
|
|
133
149
|
privacyNoticeUrl: z.ZodUnion<[z.ZodLiteral<"">, z.ZodEffects<z.ZodString, string, string>]>;
|
|
@@ -142,13 +158,13 @@ export declare const bookingPageSchema: z.ZodObject<{
|
|
|
142
158
|
cancelled: z.ZodEffects<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>>, string | null, string | null>;
|
|
143
159
|
}, "strict", z.ZodTypeAny, {
|
|
144
160
|
cancelled: string | null;
|
|
145
|
-
reminder: string | null;
|
|
146
161
|
confirmation: string | null;
|
|
162
|
+
reminder: string | null;
|
|
147
163
|
rescheduled: string | null;
|
|
148
164
|
}, {
|
|
149
165
|
cancelled: string | null;
|
|
150
|
-
reminder: string | null;
|
|
151
166
|
confirmation: string | null;
|
|
167
|
+
reminder: string | null;
|
|
152
168
|
rescheduled: string | null;
|
|
153
169
|
}>>;
|
|
154
170
|
familyEmailContentRevision: z.ZodOptional<z.ZodString>;
|
|
@@ -156,27 +172,27 @@ export declare const bookingPageSchema: z.ZodObject<{
|
|
|
156
172
|
id: z.ZodString;
|
|
157
173
|
label: z.ZodString;
|
|
158
174
|
requiresDetail: z.ZodBoolean;
|
|
159
|
-
legacyValue: z.ZodNullable<z.ZodEnum<["googleSearch", "instagram", "recommendation", "existingClient", "other"]>>;
|
|
175
|
+
legacyValue: z.ZodNullable<z.ZodEnum<["googleSearch", "instagram", "recommendation", "existingClient", "other", "facebook", "anotherFamily"]>>;
|
|
160
176
|
}, "strict", z.ZodTypeAny, {
|
|
161
177
|
id: string;
|
|
162
178
|
label: string;
|
|
163
179
|
requiresDetail: boolean;
|
|
164
|
-
legacyValue: "other" | "instagram" | "googleSearch" | "recommendation" | "existingClient" | null;
|
|
180
|
+
legacyValue: "other" | "instagram" | "facebook" | "googleSearch" | "recommendation" | "existingClient" | "anotherFamily" | null;
|
|
165
181
|
}, {
|
|
166
182
|
id: string;
|
|
167
183
|
label: string;
|
|
168
184
|
requiresDetail: boolean;
|
|
169
|
-
legacyValue: "other" | "instagram" | "googleSearch" | "recommendation" | "existingClient" | null;
|
|
185
|
+
legacyValue: "other" | "instagram" | "facebook" | "googleSearch" | "recommendation" | "existingClient" | "anotherFamily" | null;
|
|
170
186
|
}>, "many">, {
|
|
171
187
|
id: string;
|
|
172
188
|
label: string;
|
|
173
189
|
requiresDetail: boolean;
|
|
174
|
-
legacyValue: "other" | "instagram" | "googleSearch" | "recommendation" | "existingClient" | null;
|
|
190
|
+
legacyValue: "other" | "instagram" | "facebook" | "googleSearch" | "recommendation" | "existingClient" | "anotherFamily" | null;
|
|
175
191
|
}[], {
|
|
176
192
|
id: string;
|
|
177
193
|
label: string;
|
|
178
194
|
requiresDetail: boolean;
|
|
179
|
-
legacyValue: "other" | "instagram" | "googleSearch" | "recommendation" | "existingClient" | null;
|
|
195
|
+
legacyValue: "other" | "instagram" | "facebook" | "googleSearch" | "recommendation" | "existingClient" | "anotherFamily" | null;
|
|
180
196
|
}[]>;
|
|
181
197
|
createdAt: z.ZodString;
|
|
182
198
|
updatedAt: z.ZodString;
|
|
@@ -192,27 +208,33 @@ export declare const bookingPageSchema: z.ZodObject<{
|
|
|
192
208
|
organizationId: string;
|
|
193
209
|
coachUserId: string;
|
|
194
210
|
displayName: string;
|
|
195
|
-
privacyNoticeVersion: string;
|
|
196
|
-
privacyNoticeUrl: string;
|
|
197
|
-
familyReportedSourceRevision: string;
|
|
198
211
|
slug: string;
|
|
199
212
|
consultancyName: string;
|
|
213
|
+
privacyNoticeVersion: string;
|
|
214
|
+
privacyNoticeUrl: string;
|
|
200
215
|
minimumNoticeMinutes: number;
|
|
201
216
|
bookingHorizonDays: number;
|
|
202
217
|
reminderMinutesBefore: number | null;
|
|
218
|
+
familyReportedSourceRevision: string;
|
|
203
219
|
familyReportedSourceOptions: {
|
|
204
220
|
id: string;
|
|
205
221
|
label: string;
|
|
206
222
|
requiresDetail: boolean;
|
|
207
|
-
legacyValue: "other" | "instagram" | "googleSearch" | "recommendation" | "existingClient" | null;
|
|
223
|
+
legacyValue: "other" | "instagram" | "facebook" | "googleSearch" | "recommendation" | "existingClient" | "anotherFamily" | null;
|
|
208
224
|
}[];
|
|
209
225
|
welcomeMessage?: string | null | undefined;
|
|
210
226
|
coachDisplayName?: string | null | undefined;
|
|
211
227
|
pageSurface?: "brand" | "neutral" | undefined;
|
|
228
|
+
embedPreferences?: {
|
|
229
|
+
branding: "show" | "hide";
|
|
230
|
+
colours: "brand" | "white";
|
|
231
|
+
corners: "rounded" | "square";
|
|
232
|
+
font: "website" | "littles";
|
|
233
|
+
} | undefined;
|
|
212
234
|
familyEmailContent?: {
|
|
213
235
|
cancelled: string | null;
|
|
214
|
-
reminder: string | null;
|
|
215
236
|
confirmation: string | null;
|
|
237
|
+
reminder: string | null;
|
|
216
238
|
rescheduled: string | null;
|
|
217
239
|
} | undefined;
|
|
218
240
|
familyEmailContentRevision?: string | undefined;
|
|
@@ -228,27 +250,33 @@ export declare const bookingPageSchema: z.ZodObject<{
|
|
|
228
250
|
organizationId: string;
|
|
229
251
|
coachUserId: string;
|
|
230
252
|
displayName: string;
|
|
231
|
-
privacyNoticeVersion: string;
|
|
232
|
-
privacyNoticeUrl: string;
|
|
233
|
-
familyReportedSourceRevision: string;
|
|
234
253
|
slug: string;
|
|
235
254
|
consultancyName: string;
|
|
255
|
+
privacyNoticeVersion: string;
|
|
256
|
+
privacyNoticeUrl: string;
|
|
236
257
|
minimumNoticeMinutes: number;
|
|
237
258
|
bookingHorizonDays: number;
|
|
238
259
|
reminderMinutesBefore: number | null;
|
|
260
|
+
familyReportedSourceRevision: string;
|
|
239
261
|
familyReportedSourceOptions: {
|
|
240
262
|
id: string;
|
|
241
263
|
label: string;
|
|
242
264
|
requiresDetail: boolean;
|
|
243
|
-
legacyValue: "other" | "instagram" | "googleSearch" | "recommendation" | "existingClient" | null;
|
|
265
|
+
legacyValue: "other" | "instagram" | "facebook" | "googleSearch" | "recommendation" | "existingClient" | "anotherFamily" | null;
|
|
244
266
|
}[];
|
|
245
267
|
welcomeMessage?: string | null | undefined;
|
|
246
268
|
coachDisplayName?: string | null | undefined;
|
|
247
269
|
pageSurface?: "brand" | "neutral" | undefined;
|
|
270
|
+
embedPreferences?: {
|
|
271
|
+
branding: "show" | "hide";
|
|
272
|
+
colours: "brand" | "white";
|
|
273
|
+
corners: "rounded" | "square";
|
|
274
|
+
font: "website" | "littles";
|
|
275
|
+
} | undefined;
|
|
248
276
|
familyEmailContent?: {
|
|
249
277
|
cancelled: string | null;
|
|
250
|
-
reminder: string | null;
|
|
251
278
|
confirmation: string | null;
|
|
279
|
+
reminder: string | null;
|
|
252
280
|
rescheduled: string | null;
|
|
253
281
|
} | undefined;
|
|
254
282
|
familyEmailContentRevision?: string | undefined;
|
|
@@ -276,27 +304,27 @@ export declare const bookingPageWriteSchema: z.ZodEffects<z.ZodObject<{
|
|
|
276
304
|
id: z.ZodString;
|
|
277
305
|
label: z.ZodString;
|
|
278
306
|
requiresDetail: z.ZodBoolean;
|
|
279
|
-
legacyValue: z.ZodNullable<z.ZodEnum<["googleSearch", "instagram", "recommendation", "existingClient", "other"]>>;
|
|
307
|
+
legacyValue: z.ZodNullable<z.ZodEnum<["googleSearch", "instagram", "recommendation", "existingClient", "other", "facebook", "anotherFamily"]>>;
|
|
280
308
|
}, "strict", z.ZodTypeAny, {
|
|
281
309
|
id: string;
|
|
282
310
|
label: string;
|
|
283
311
|
requiresDetail: boolean;
|
|
284
|
-
legacyValue: "other" | "instagram" | "googleSearch" | "recommendation" | "existingClient" | null;
|
|
312
|
+
legacyValue: "other" | "instagram" | "facebook" | "googleSearch" | "recommendation" | "existingClient" | "anotherFamily" | null;
|
|
285
313
|
}, {
|
|
286
314
|
id: string;
|
|
287
315
|
label: string;
|
|
288
316
|
requiresDetail: boolean;
|
|
289
|
-
legacyValue: "other" | "instagram" | "googleSearch" | "recommendation" | "existingClient" | null;
|
|
317
|
+
legacyValue: "other" | "instagram" | "facebook" | "googleSearch" | "recommendation" | "existingClient" | "anotherFamily" | null;
|
|
290
318
|
}>, "many">, {
|
|
291
319
|
id: string;
|
|
292
320
|
label: string;
|
|
293
321
|
requiresDetail: boolean;
|
|
294
|
-
legacyValue: "other" | "instagram" | "googleSearch" | "recommendation" | "existingClient" | null;
|
|
322
|
+
legacyValue: "other" | "instagram" | "facebook" | "googleSearch" | "recommendation" | "existingClient" | "anotherFamily" | null;
|
|
295
323
|
}[], {
|
|
296
324
|
id: string;
|
|
297
325
|
label: string;
|
|
298
326
|
requiresDetail: boolean;
|
|
299
|
-
legacyValue: "other" | "instagram" | "googleSearch" | "recommendation" | "existingClient" | null;
|
|
327
|
+
legacyValue: "other" | "instagram" | "facebook" | "googleSearch" | "recommendation" | "existingClient" | "anotherFamily" | null;
|
|
300
328
|
}[]>>;
|
|
301
329
|
familyEmailContent: z.ZodOptional<z.ZodObject<{
|
|
302
330
|
confirmation: z.ZodEffects<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>>, string | null, string | null>;
|
|
@@ -305,13 +333,13 @@ export declare const bookingPageWriteSchema: z.ZodEffects<z.ZodObject<{
|
|
|
305
333
|
cancelled: z.ZodEffects<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>>, string | null, string | null>;
|
|
306
334
|
}, "strict", z.ZodTypeAny, {
|
|
307
335
|
cancelled: string | null;
|
|
308
|
-
reminder: string | null;
|
|
309
336
|
confirmation: string | null;
|
|
337
|
+
reminder: string | null;
|
|
310
338
|
rescheduled: string | null;
|
|
311
339
|
}, {
|
|
312
340
|
cancelled: string | null;
|
|
313
|
-
reminder: string | null;
|
|
314
341
|
confirmation: string | null;
|
|
342
|
+
reminder: string | null;
|
|
315
343
|
rescheduled: string | null;
|
|
316
344
|
}>>;
|
|
317
345
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -320,8 +348,8 @@ export declare const bookingPageWriteSchema: z.ZodEffects<z.ZodObject<{
|
|
|
320
348
|
organizationId: string;
|
|
321
349
|
coachUserId: string;
|
|
322
350
|
displayName: string;
|
|
323
|
-
privacyNoticeUrl: string;
|
|
324
351
|
slug: string;
|
|
352
|
+
privacyNoticeUrl: string;
|
|
325
353
|
minimumNoticeMinutes: number;
|
|
326
354
|
bookingHorizonDays: number;
|
|
327
355
|
reminderMinutesBefore: number | null;
|
|
@@ -329,61 +357,61 @@ export declare const bookingPageWriteSchema: z.ZodEffects<z.ZodObject<{
|
|
|
329
357
|
accentColor?: string | null | undefined;
|
|
330
358
|
logoAssetId?: string | null | undefined;
|
|
331
359
|
welcomeMessage?: string | null | undefined;
|
|
332
|
-
privacyNoticeVersion?: string | undefined;
|
|
333
360
|
consultancyName?: string | undefined;
|
|
334
361
|
coachDisplayName?: string | null | undefined;
|
|
335
362
|
pageSurface?: "brand" | "neutral" | undefined;
|
|
336
|
-
|
|
337
|
-
id: string;
|
|
338
|
-
label: string;
|
|
339
|
-
requiresDetail: boolean;
|
|
340
|
-
legacyValue: "other" | "instagram" | "googleSearch" | "recommendation" | "existingClient" | null;
|
|
341
|
-
}[] | undefined;
|
|
363
|
+
privacyNoticeVersion?: string | undefined;
|
|
342
364
|
familyEmailContent?: {
|
|
343
365
|
cancelled: string | null;
|
|
344
|
-
reminder: string | null;
|
|
345
366
|
confirmation: string | null;
|
|
367
|
+
reminder: string | null;
|
|
346
368
|
rescheduled: string | null;
|
|
347
369
|
} | undefined;
|
|
370
|
+
familyReportedSourceOptions?: {
|
|
371
|
+
id: string;
|
|
372
|
+
label: string;
|
|
373
|
+
requiresDetail: boolean;
|
|
374
|
+
legacyValue: "other" | "instagram" | "facebook" | "googleSearch" | "recommendation" | "existingClient" | "anotherFamily" | null;
|
|
375
|
+
}[] | undefined;
|
|
348
376
|
}, {
|
|
349
377
|
status: "paused" | "draft" | "published";
|
|
350
378
|
timeZone: string;
|
|
351
379
|
organizationId: string;
|
|
352
380
|
coachUserId: string;
|
|
353
381
|
displayName: string;
|
|
354
|
-
privacyNoticeUrl: string;
|
|
355
382
|
slug: string;
|
|
383
|
+
privacyNoticeUrl: string;
|
|
356
384
|
primaryColor?: string | null | undefined;
|
|
357
385
|
accentColor?: string | null | undefined;
|
|
358
386
|
logoAssetId?: string | null | undefined;
|
|
359
387
|
welcomeMessage?: string | null | undefined;
|
|
360
|
-
privacyNoticeVersion?: string | undefined;
|
|
361
388
|
consultancyName?: string | undefined;
|
|
362
389
|
coachDisplayName?: string | null | undefined;
|
|
363
390
|
pageSurface?: "brand" | "neutral" | undefined;
|
|
391
|
+
privacyNoticeVersion?: string | undefined;
|
|
364
392
|
minimumNoticeMinutes?: number | undefined;
|
|
365
393
|
bookingHorizonDays?: number | undefined;
|
|
366
394
|
reminderMinutesBefore?: number | null | undefined;
|
|
367
|
-
familyReportedSourceOptions?: {
|
|
368
|
-
id: string;
|
|
369
|
-
label: string;
|
|
370
|
-
requiresDetail: boolean;
|
|
371
|
-
legacyValue: "other" | "instagram" | "googleSearch" | "recommendation" | "existingClient" | null;
|
|
372
|
-
}[] | undefined;
|
|
373
395
|
familyEmailContent?: {
|
|
374
396
|
cancelled: string | null;
|
|
375
|
-
reminder: string | null;
|
|
376
397
|
confirmation: string | null;
|
|
398
|
+
reminder: string | null;
|
|
377
399
|
rescheduled: string | null;
|
|
378
400
|
} | undefined;
|
|
401
|
+
familyReportedSourceOptions?: {
|
|
402
|
+
id: string;
|
|
403
|
+
label: string;
|
|
404
|
+
requiresDetail: boolean;
|
|
405
|
+
legacyValue: "other" | "instagram" | "facebook" | "googleSearch" | "recommendation" | "existingClient" | "anotherFamily" | null;
|
|
406
|
+
}[] | undefined;
|
|
379
407
|
}>, {
|
|
380
408
|
status: "paused" | "draft" | "published";
|
|
381
409
|
timeZone: string;
|
|
382
410
|
organizationId: string;
|
|
383
411
|
coachUserId: string;
|
|
384
412
|
displayName: string;
|
|
385
|
-
privacyNoticeUrl: string;
|
|
386
413
|
slug: string;
|
|
414
|
+
privacyNoticeUrl: string;
|
|
387
415
|
minimumNoticeMinutes: number;
|
|
388
416
|
bookingHorizonDays: number;
|
|
389
417
|
reminderMinutesBefore: number | null;
|
|
@@ -391,60 +419,60 @@ export declare const bookingPageWriteSchema: z.ZodEffects<z.ZodObject<{
|
|
|
391
419
|
accentColor?: string | null | undefined;
|
|
392
420
|
logoAssetId?: string | null | undefined;
|
|
393
421
|
welcomeMessage?: string | null | undefined;
|
|
394
|
-
privacyNoticeVersion?: string | undefined;
|
|
395
422
|
consultancyName?: string | undefined;
|
|
396
423
|
coachDisplayName?: string | null | undefined;
|
|
397
424
|
pageSurface?: "brand" | "neutral" | undefined;
|
|
398
|
-
|
|
399
|
-
id: string;
|
|
400
|
-
label: string;
|
|
401
|
-
requiresDetail: boolean;
|
|
402
|
-
legacyValue: "other" | "instagram" | "googleSearch" | "recommendation" | "existingClient" | null;
|
|
403
|
-
}[] | undefined;
|
|
425
|
+
privacyNoticeVersion?: string | undefined;
|
|
404
426
|
familyEmailContent?: {
|
|
405
427
|
cancelled: string | null;
|
|
406
|
-
reminder: string | null;
|
|
407
428
|
confirmation: string | null;
|
|
429
|
+
reminder: string | null;
|
|
408
430
|
rescheduled: string | null;
|
|
409
431
|
} | undefined;
|
|
432
|
+
familyReportedSourceOptions?: {
|
|
433
|
+
id: string;
|
|
434
|
+
label: string;
|
|
435
|
+
requiresDetail: boolean;
|
|
436
|
+
legacyValue: "other" | "instagram" | "facebook" | "googleSearch" | "recommendation" | "existingClient" | "anotherFamily" | null;
|
|
437
|
+
}[] | undefined;
|
|
410
438
|
}, {
|
|
411
439
|
status: "paused" | "draft" | "published";
|
|
412
440
|
timeZone: string;
|
|
413
441
|
organizationId: string;
|
|
414
442
|
coachUserId: string;
|
|
415
443
|
displayName: string;
|
|
416
|
-
privacyNoticeUrl: string;
|
|
417
444
|
slug: string;
|
|
445
|
+
privacyNoticeUrl: string;
|
|
418
446
|
primaryColor?: string | null | undefined;
|
|
419
447
|
accentColor?: string | null | undefined;
|
|
420
448
|
logoAssetId?: string | null | undefined;
|
|
421
449
|
welcomeMessage?: string | null | undefined;
|
|
422
|
-
privacyNoticeVersion?: string | undefined;
|
|
423
450
|
consultancyName?: string | undefined;
|
|
424
451
|
coachDisplayName?: string | null | undefined;
|
|
425
452
|
pageSurface?: "brand" | "neutral" | undefined;
|
|
453
|
+
privacyNoticeVersion?: string | undefined;
|
|
426
454
|
minimumNoticeMinutes?: number | undefined;
|
|
427
455
|
bookingHorizonDays?: number | undefined;
|
|
428
456
|
reminderMinutesBefore?: number | null | undefined;
|
|
429
|
-
familyReportedSourceOptions?: {
|
|
430
|
-
id: string;
|
|
431
|
-
label: string;
|
|
432
|
-
requiresDetail: boolean;
|
|
433
|
-
legacyValue: "other" | "instagram" | "googleSearch" | "recommendation" | "existingClient" | null;
|
|
434
|
-
}[] | undefined;
|
|
435
457
|
familyEmailContent?: {
|
|
436
458
|
cancelled: string | null;
|
|
437
|
-
reminder: string | null;
|
|
438
459
|
confirmation: string | null;
|
|
460
|
+
reminder: string | null;
|
|
439
461
|
rescheduled: string | null;
|
|
440
462
|
} | undefined;
|
|
463
|
+
familyReportedSourceOptions?: {
|
|
464
|
+
id: string;
|
|
465
|
+
label: string;
|
|
466
|
+
requiresDetail: boolean;
|
|
467
|
+
legacyValue: "other" | "instagram" | "facebook" | "googleSearch" | "recommendation" | "existingClient" | "anotherFamily" | null;
|
|
468
|
+
}[] | undefined;
|
|
441
469
|
}>;
|
|
442
470
|
export declare const bookingServiceSchema: z.ZodObject<{
|
|
443
471
|
id: z.ZodString;
|
|
444
472
|
publicSlug: z.ZodString;
|
|
445
473
|
organizationId: z.ZodString;
|
|
446
474
|
coachUserId: z.ZodString;
|
|
447
|
-
deliveryMode: z.ZodEnum<["singleCoach", "chooseCoach", "firstAvailable"]>;
|
|
475
|
+
deliveryMode: z.ZodEnum<["singleCoach", "chooseCoach", "firstAvailable", "familyCoach"]>;
|
|
448
476
|
eligibleCoachUserIds: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
449
477
|
name: z.ZodString;
|
|
450
478
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -569,6 +597,7 @@ export declare const bookingServiceSchema: z.ZodObject<{
|
|
|
569
597
|
}[];
|
|
570
598
|
}[]>;
|
|
571
599
|
}, "strict", z.ZodTypeAny, {
|
|
600
|
+
revision: string;
|
|
572
601
|
questions: {
|
|
573
602
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
574
603
|
id: string;
|
|
@@ -581,8 +610,8 @@ export declare const bookingServiceSchema: z.ZodObject<{
|
|
|
581
610
|
label: string;
|
|
582
611
|
}[];
|
|
583
612
|
}[];
|
|
584
|
-
revision: string;
|
|
585
613
|
}, {
|
|
614
|
+
revision: string;
|
|
586
615
|
questions: {
|
|
587
616
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
588
617
|
id: string;
|
|
@@ -595,7 +624,6 @@ export declare const bookingServiceSchema: z.ZodObject<{
|
|
|
595
624
|
label: string;
|
|
596
625
|
}[];
|
|
597
626
|
}[];
|
|
598
|
-
revision: string;
|
|
599
627
|
}>;
|
|
600
628
|
active: z.ZodBoolean;
|
|
601
629
|
publicVisible: z.ZodBoolean;
|
|
@@ -609,7 +637,10 @@ export declare const bookingServiceSchema: z.ZodObject<{
|
|
|
609
637
|
updatedAt: string;
|
|
610
638
|
organizationId: string;
|
|
611
639
|
coachUserId: string;
|
|
640
|
+
deliveryMode: "singleCoach" | "chooseCoach" | "firstAvailable" | "familyCoach";
|
|
641
|
+
publicVisible: boolean;
|
|
612
642
|
bookingForm: {
|
|
643
|
+
revision: string;
|
|
613
644
|
questions: {
|
|
614
645
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
615
646
|
id: string;
|
|
@@ -622,10 +653,8 @@ export declare const bookingServiceSchema: z.ZodObject<{
|
|
|
622
653
|
label: string;
|
|
623
654
|
}[];
|
|
624
655
|
}[];
|
|
625
|
-
revision: string;
|
|
626
656
|
};
|
|
627
657
|
publicSlug: string;
|
|
628
|
-
deliveryMode: "singleCoach" | "chooseCoach" | "firstAvailable";
|
|
629
658
|
eligibleCoachUserIds: string[];
|
|
630
659
|
durationMinutes: number;
|
|
631
660
|
bufferBeforeMinutes: number;
|
|
@@ -636,7 +665,6 @@ export declare const bookingServiceSchema: z.ZodObject<{
|
|
|
636
665
|
automaticMeeting: boolean;
|
|
637
666
|
callInstructions?: string | null | undefined;
|
|
638
667
|
}[];
|
|
639
|
-
publicVisible: boolean;
|
|
640
668
|
description?: string | null | undefined;
|
|
641
669
|
callInstructions?: string | null | undefined;
|
|
642
670
|
}, {
|
|
@@ -647,7 +675,10 @@ export declare const bookingServiceSchema: z.ZodObject<{
|
|
|
647
675
|
updatedAt: string;
|
|
648
676
|
organizationId: string;
|
|
649
677
|
coachUserId: string;
|
|
678
|
+
deliveryMode: "singleCoach" | "chooseCoach" | "firstAvailable" | "familyCoach";
|
|
679
|
+
publicVisible: boolean;
|
|
650
680
|
bookingForm: {
|
|
681
|
+
revision: string;
|
|
651
682
|
questions: {
|
|
652
683
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
653
684
|
id: string;
|
|
@@ -660,10 +691,8 @@ export declare const bookingServiceSchema: z.ZodObject<{
|
|
|
660
691
|
label: string;
|
|
661
692
|
}[];
|
|
662
693
|
}[];
|
|
663
|
-
revision: string;
|
|
664
694
|
};
|
|
665
695
|
publicSlug: string;
|
|
666
|
-
deliveryMode: "singleCoach" | "chooseCoach" | "firstAvailable";
|
|
667
696
|
eligibleCoachUserIds: string[];
|
|
668
697
|
durationMinutes: number;
|
|
669
698
|
bufferBeforeMinutes: number;
|
|
@@ -674,14 +703,13 @@ export declare const bookingServiceSchema: z.ZodObject<{
|
|
|
674
703
|
callInstructions?: string | null | undefined;
|
|
675
704
|
automaticMeeting?: boolean | undefined;
|
|
676
705
|
}[];
|
|
677
|
-
publicVisible: boolean;
|
|
678
706
|
description?: string | null | undefined;
|
|
679
707
|
callInstructions?: string | null | undefined;
|
|
680
708
|
}>;
|
|
681
709
|
export declare const bookingServiceWriteSchema: z.ZodEffects<z.ZodObject<{
|
|
682
710
|
organizationId: z.ZodString;
|
|
683
711
|
coachUserId: z.ZodString;
|
|
684
|
-
deliveryMode: z.ZodOptional<z.ZodEnum<["singleCoach", "chooseCoach", "firstAvailable"]>>;
|
|
712
|
+
deliveryMode: z.ZodOptional<z.ZodEnum<["singleCoach", "chooseCoach", "firstAvailable", "familyCoach"]>>;
|
|
685
713
|
eligibleCoachUserIds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
686
714
|
name: z.ZodString;
|
|
687
715
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -832,13 +860,13 @@ export declare const bookingServiceWriteSchema: z.ZodEffects<z.ZodObject<{
|
|
|
832
860
|
active: boolean;
|
|
833
861
|
organizationId: string;
|
|
834
862
|
coachUserId: string;
|
|
863
|
+
publicVisible: boolean;
|
|
835
864
|
durationMinutes: number;
|
|
836
865
|
bufferBeforeMinutes: number;
|
|
837
866
|
bufferAfterMinutes: number;
|
|
838
867
|
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
839
|
-
publicVisible: boolean;
|
|
840
868
|
description?: string | null | undefined;
|
|
841
|
-
deliveryMode?: "singleCoach" | "chooseCoach" | "firstAvailable" | undefined;
|
|
869
|
+
deliveryMode?: "singleCoach" | "chooseCoach" | "firstAvailable" | "familyCoach" | undefined;
|
|
842
870
|
eligibleCoachUserIds?: string[] | undefined;
|
|
843
871
|
callInstructions?: string | null | undefined;
|
|
844
872
|
callMethods?: {
|
|
@@ -866,7 +894,8 @@ export declare const bookingServiceWriteSchema: z.ZodEffects<z.ZodObject<{
|
|
|
866
894
|
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
867
895
|
active?: boolean | undefined;
|
|
868
896
|
description?: string | null | undefined;
|
|
869
|
-
deliveryMode?: "singleCoach" | "chooseCoach" | "firstAvailable" | undefined;
|
|
897
|
+
deliveryMode?: "singleCoach" | "chooseCoach" | "firstAvailable" | "familyCoach" | undefined;
|
|
898
|
+
publicVisible?: boolean | undefined;
|
|
870
899
|
eligibleCoachUserIds?: string[] | undefined;
|
|
871
900
|
bufferBeforeMinutes?: number | undefined;
|
|
872
901
|
bufferAfterMinutes?: number | undefined;
|
|
@@ -876,7 +905,6 @@ export declare const bookingServiceWriteSchema: z.ZodEffects<z.ZodObject<{
|
|
|
876
905
|
callInstructions?: string | null | undefined;
|
|
877
906
|
automaticMeeting?: boolean | undefined;
|
|
878
907
|
}[] | undefined;
|
|
879
|
-
publicVisible?: boolean | undefined;
|
|
880
908
|
bookingFormQuestions?: {
|
|
881
909
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
882
910
|
id: string;
|
|
@@ -894,13 +922,13 @@ export declare const bookingServiceWriteSchema: z.ZodEffects<z.ZodObject<{
|
|
|
894
922
|
active: boolean;
|
|
895
923
|
organizationId: string;
|
|
896
924
|
coachUserId: string;
|
|
925
|
+
publicVisible: boolean;
|
|
897
926
|
durationMinutes: number;
|
|
898
927
|
bufferBeforeMinutes: number;
|
|
899
928
|
bufferAfterMinutes: number;
|
|
900
929
|
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
901
|
-
publicVisible: boolean;
|
|
902
930
|
description?: string | null | undefined;
|
|
903
|
-
deliveryMode?: "singleCoach" | "chooseCoach" | "firstAvailable" | undefined;
|
|
931
|
+
deliveryMode?: "singleCoach" | "chooseCoach" | "firstAvailable" | "familyCoach" | undefined;
|
|
904
932
|
eligibleCoachUserIds?: string[] | undefined;
|
|
905
933
|
callInstructions?: string | null | undefined;
|
|
906
934
|
callMethods?: {
|
|
@@ -928,7 +956,8 @@ export declare const bookingServiceWriteSchema: z.ZodEffects<z.ZodObject<{
|
|
|
928
956
|
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
929
957
|
active?: boolean | undefined;
|
|
930
958
|
description?: string | null | undefined;
|
|
931
|
-
deliveryMode?: "singleCoach" | "chooseCoach" | "firstAvailable" | undefined;
|
|
959
|
+
deliveryMode?: "singleCoach" | "chooseCoach" | "firstAvailable" | "familyCoach" | undefined;
|
|
960
|
+
publicVisible?: boolean | undefined;
|
|
932
961
|
eligibleCoachUserIds?: string[] | undefined;
|
|
933
962
|
bufferBeforeMinutes?: number | undefined;
|
|
934
963
|
bufferAfterMinutes?: number | undefined;
|
|
@@ -938,7 +967,6 @@ export declare const bookingServiceWriteSchema: z.ZodEffects<z.ZodObject<{
|
|
|
938
967
|
callInstructions?: string | null | undefined;
|
|
939
968
|
automaticMeeting?: boolean | undefined;
|
|
940
969
|
}[] | undefined;
|
|
941
|
-
publicVisible?: boolean | undefined;
|
|
942
970
|
bookingFormQuestions?: {
|
|
943
971
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
944
972
|
id: string;
|
|
@@ -955,7 +983,7 @@ export declare const bookingServiceWriteSchema: z.ZodEffects<z.ZodObject<{
|
|
|
955
983
|
export declare const bookingServiceCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
956
984
|
organizationId: z.ZodString;
|
|
957
985
|
coachUserId: z.ZodString;
|
|
958
|
-
deliveryMode: z.ZodOptional<z.ZodEnum<["singleCoach", "chooseCoach", "firstAvailable"]>>;
|
|
986
|
+
deliveryMode: z.ZodOptional<z.ZodEnum<["singleCoach", "chooseCoach", "firstAvailable", "familyCoach"]>>;
|
|
959
987
|
eligibleCoachUserIds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
960
988
|
name: z.ZodString;
|
|
961
989
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1108,14 +1136,14 @@ export declare const bookingServiceCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1108
1136
|
active: boolean;
|
|
1109
1137
|
organizationId: string;
|
|
1110
1138
|
coachUserId: string;
|
|
1139
|
+
publicVisible: boolean;
|
|
1111
1140
|
idempotencyKey: string;
|
|
1112
1141
|
durationMinutes: number;
|
|
1113
1142
|
bufferBeforeMinutes: number;
|
|
1114
1143
|
bufferAfterMinutes: number;
|
|
1115
1144
|
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
1116
|
-
publicVisible: boolean;
|
|
1117
1145
|
description?: string | null | undefined;
|
|
1118
|
-
deliveryMode?: "singleCoach" | "chooseCoach" | "firstAvailable" | undefined;
|
|
1146
|
+
deliveryMode?: "singleCoach" | "chooseCoach" | "firstAvailable" | "familyCoach" | undefined;
|
|
1119
1147
|
eligibleCoachUserIds?: string[] | undefined;
|
|
1120
1148
|
callInstructions?: string | null | undefined;
|
|
1121
1149
|
callMethods?: {
|
|
@@ -1144,7 +1172,8 @@ export declare const bookingServiceCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1144
1172
|
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
1145
1173
|
active?: boolean | undefined;
|
|
1146
1174
|
description?: string | null | undefined;
|
|
1147
|
-
deliveryMode?: "singleCoach" | "chooseCoach" | "firstAvailable" | undefined;
|
|
1175
|
+
deliveryMode?: "singleCoach" | "chooseCoach" | "firstAvailable" | "familyCoach" | undefined;
|
|
1176
|
+
publicVisible?: boolean | undefined;
|
|
1148
1177
|
eligibleCoachUserIds?: string[] | undefined;
|
|
1149
1178
|
bufferBeforeMinutes?: number | undefined;
|
|
1150
1179
|
bufferAfterMinutes?: number | undefined;
|
|
@@ -1154,7 +1183,6 @@ export declare const bookingServiceCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1154
1183
|
callInstructions?: string | null | undefined;
|
|
1155
1184
|
automaticMeeting?: boolean | undefined;
|
|
1156
1185
|
}[] | undefined;
|
|
1157
|
-
publicVisible?: boolean | undefined;
|
|
1158
1186
|
bookingFormQuestions?: {
|
|
1159
1187
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
1160
1188
|
id: string;
|
|
@@ -1172,14 +1200,14 @@ export declare const bookingServiceCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1172
1200
|
active: boolean;
|
|
1173
1201
|
organizationId: string;
|
|
1174
1202
|
coachUserId: string;
|
|
1203
|
+
publicVisible: boolean;
|
|
1175
1204
|
idempotencyKey: string;
|
|
1176
1205
|
durationMinutes: number;
|
|
1177
1206
|
bufferBeforeMinutes: number;
|
|
1178
1207
|
bufferAfterMinutes: number;
|
|
1179
1208
|
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
1180
|
-
publicVisible: boolean;
|
|
1181
1209
|
description?: string | null | undefined;
|
|
1182
|
-
deliveryMode?: "singleCoach" | "chooseCoach" | "firstAvailable" | undefined;
|
|
1210
|
+
deliveryMode?: "singleCoach" | "chooseCoach" | "firstAvailable" | "familyCoach" | undefined;
|
|
1183
1211
|
eligibleCoachUserIds?: string[] | undefined;
|
|
1184
1212
|
callInstructions?: string | null | undefined;
|
|
1185
1213
|
callMethods?: {
|
|
@@ -1208,7 +1236,8 @@ export declare const bookingServiceCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1208
1236
|
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
1209
1237
|
active?: boolean | undefined;
|
|
1210
1238
|
description?: string | null | undefined;
|
|
1211
|
-
deliveryMode?: "singleCoach" | "chooseCoach" | "firstAvailable" | undefined;
|
|
1239
|
+
deliveryMode?: "singleCoach" | "chooseCoach" | "firstAvailable" | "familyCoach" | undefined;
|
|
1240
|
+
publicVisible?: boolean | undefined;
|
|
1212
1241
|
eligibleCoachUserIds?: string[] | undefined;
|
|
1213
1242
|
bufferBeforeMinutes?: number | undefined;
|
|
1214
1243
|
bufferAfterMinutes?: number | undefined;
|
|
@@ -1218,7 +1247,6 @@ export declare const bookingServiceCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1218
1247
|
callInstructions?: string | null | undefined;
|
|
1219
1248
|
automaticMeeting?: boolean | undefined;
|
|
1220
1249
|
}[] | undefined;
|
|
1221
|
-
publicVisible?: boolean | undefined;
|
|
1222
1250
|
bookingFormQuestions?: {
|
|
1223
1251
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
1224
1252
|
id: string;
|
|
@@ -1592,6 +1620,9 @@ export declare const bookingSummarySchema: z.ZodObject<{
|
|
|
1592
1620
|
callMethod: z.ZodEnum<["video", "phone", "whatsappVoice", "whatsappVideo", "zoom", "otherVideo", "inPerson"]>;
|
|
1593
1621
|
callInstructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1594
1622
|
joiningDetailsStatus: z.ZodEnum<["ready", "preparing", "attention"]>;
|
|
1623
|
+
rebookingEmailStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["queued", "sent", "failed", "ambiguous", "suppressed"]>>>;
|
|
1624
|
+
rebookingLinkAvailable: z.ZodOptional<z.ZodBoolean>;
|
|
1625
|
+
emailNotificationsEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
1595
1626
|
bookingForm: z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
1596
1627
|
revision: z.ZodString;
|
|
1597
1628
|
questions: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
@@ -1785,6 +1816,7 @@ export declare const bookingSummarySchema: z.ZodObject<{
|
|
|
1785
1816
|
questionId: string;
|
|
1786
1817
|
})[]>;
|
|
1787
1818
|
}, "strict", z.ZodTypeAny, {
|
|
1819
|
+
revision: string;
|
|
1788
1820
|
questions: {
|
|
1789
1821
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
1790
1822
|
id: string;
|
|
@@ -1797,7 +1829,6 @@ export declare const bookingSummarySchema: z.ZodObject<{
|
|
|
1797
1829
|
label: string;
|
|
1798
1830
|
}[];
|
|
1799
1831
|
}[];
|
|
1800
|
-
revision: string;
|
|
1801
1832
|
answers: ({
|
|
1802
1833
|
value: string;
|
|
1803
1834
|
type: "shortText";
|
|
@@ -1820,6 +1851,7 @@ export declare const bookingSummarySchema: z.ZodObject<{
|
|
|
1820
1851
|
questionId: string;
|
|
1821
1852
|
})[];
|
|
1822
1853
|
}, {
|
|
1854
|
+
revision: string;
|
|
1823
1855
|
questions: {
|
|
1824
1856
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
1825
1857
|
id: string;
|
|
@@ -1832,7 +1864,6 @@ export declare const bookingSummarySchema: z.ZodObject<{
|
|
|
1832
1864
|
label: string;
|
|
1833
1865
|
}[];
|
|
1834
1866
|
}[];
|
|
1835
|
-
revision: string;
|
|
1836
1867
|
answers: ({
|
|
1837
1868
|
value: string;
|
|
1838
1869
|
type: "shortText";
|
|
@@ -1855,6 +1886,7 @@ export declare const bookingSummarySchema: z.ZodObject<{
|
|
|
1855
1886
|
questionId: string;
|
|
1856
1887
|
})[];
|
|
1857
1888
|
}>, {
|
|
1889
|
+
revision: string;
|
|
1858
1890
|
questions: {
|
|
1859
1891
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
1860
1892
|
id: string;
|
|
@@ -1867,7 +1899,6 @@ export declare const bookingSummarySchema: z.ZodObject<{
|
|
|
1867
1899
|
label: string;
|
|
1868
1900
|
}[];
|
|
1869
1901
|
}[];
|
|
1870
|
-
revision: string;
|
|
1871
1902
|
answers: ({
|
|
1872
1903
|
value: string;
|
|
1873
1904
|
type: "shortText";
|
|
@@ -1890,6 +1921,7 @@ export declare const bookingSummarySchema: z.ZodObject<{
|
|
|
1890
1921
|
questionId: string;
|
|
1891
1922
|
})[];
|
|
1892
1923
|
}, {
|
|
1924
|
+
revision: string;
|
|
1893
1925
|
questions: {
|
|
1894
1926
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
1895
1927
|
id: string;
|
|
@@ -1902,7 +1934,6 @@ export declare const bookingSummarySchema: z.ZodObject<{
|
|
|
1902
1934
|
label: string;
|
|
1903
1935
|
}[];
|
|
1904
1936
|
}[];
|
|
1905
|
-
revision: string;
|
|
1906
1937
|
answers: ({
|
|
1907
1938
|
value: string;
|
|
1908
1939
|
type: "shortText";
|
|
@@ -1952,6 +1983,7 @@ export declare const bookingSummarySchema: z.ZodObject<{
|
|
|
1952
1983
|
endsAt: string;
|
|
1953
1984
|
cancelledAt: string | null;
|
|
1954
1985
|
bookingForm: {
|
|
1986
|
+
revision: string;
|
|
1955
1987
|
questions: {
|
|
1956
1988
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
1957
1989
|
id: string;
|
|
@@ -1964,7 +1996,6 @@ export declare const bookingSummarySchema: z.ZodObject<{
|
|
|
1964
1996
|
label: string;
|
|
1965
1997
|
}[];
|
|
1966
1998
|
}[];
|
|
1967
|
-
revision: string;
|
|
1968
1999
|
answers: ({
|
|
1969
2000
|
value: string;
|
|
1970
2001
|
type: "shortText";
|
|
@@ -1987,9 +2018,9 @@ export declare const bookingSummarySchema: z.ZodObject<{
|
|
|
1987
2018
|
questionId: string;
|
|
1988
2019
|
})[];
|
|
1989
2020
|
} | null;
|
|
2021
|
+
serviceName: string;
|
|
1990
2022
|
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
1991
2023
|
serviceId: string;
|
|
1992
|
-
serviceName: string;
|
|
1993
2024
|
contact: {
|
|
1994
2025
|
caregiverEmail: string;
|
|
1995
2026
|
childFirstName: string;
|
|
@@ -1998,12 +2029,15 @@ export declare const bookingSummarySchema: z.ZodObject<{
|
|
|
1998
2029
|
caregiverPhone?: string | null | undefined;
|
|
1999
2030
|
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
2000
2031
|
};
|
|
2001
|
-
joiningDetailsStatus: "ready" | "
|
|
2032
|
+
joiningDetailsStatus: "ready" | "attention" | "preparing";
|
|
2002
2033
|
callInstructions?: string | null | undefined;
|
|
2003
2034
|
familyReportedSource?: {
|
|
2004
2035
|
optionLabel: string;
|
|
2005
2036
|
detail?: string | null | undefined;
|
|
2006
2037
|
} | null | undefined;
|
|
2038
|
+
rebookingEmailStatus?: "suppressed" | "failed" | "queued" | "sent" | "ambiguous" | null | undefined;
|
|
2039
|
+
rebookingLinkAvailable?: boolean | undefined;
|
|
2040
|
+
emailNotificationsEnabled?: boolean | undefined;
|
|
2007
2041
|
}, {
|
|
2008
2042
|
status: "scheduled" | "completed" | "cancelled" | "noShow";
|
|
2009
2043
|
id: string;
|
|
@@ -2017,6 +2051,7 @@ export declare const bookingSummarySchema: z.ZodObject<{
|
|
|
2017
2051
|
endsAt: string;
|
|
2018
2052
|
cancelledAt: string | null;
|
|
2019
2053
|
bookingForm: {
|
|
2054
|
+
revision: string;
|
|
2020
2055
|
questions: {
|
|
2021
2056
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
2022
2057
|
id: string;
|
|
@@ -2029,7 +2064,6 @@ export declare const bookingSummarySchema: z.ZodObject<{
|
|
|
2029
2064
|
label: string;
|
|
2030
2065
|
}[];
|
|
2031
2066
|
}[];
|
|
2032
|
-
revision: string;
|
|
2033
2067
|
answers: ({
|
|
2034
2068
|
value: string;
|
|
2035
2069
|
type: "shortText";
|
|
@@ -2052,9 +2086,9 @@ export declare const bookingSummarySchema: z.ZodObject<{
|
|
|
2052
2086
|
questionId: string;
|
|
2053
2087
|
})[];
|
|
2054
2088
|
} | null;
|
|
2089
|
+
serviceName: string;
|
|
2055
2090
|
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
2056
2091
|
serviceId: string;
|
|
2057
|
-
serviceName: string;
|
|
2058
2092
|
contact: {
|
|
2059
2093
|
caregiverEmail: string;
|
|
2060
2094
|
childFirstName: string;
|
|
@@ -2063,12 +2097,15 @@ export declare const bookingSummarySchema: z.ZodObject<{
|
|
|
2063
2097
|
caregiverPhone?: string | null | undefined;
|
|
2064
2098
|
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
2065
2099
|
};
|
|
2066
|
-
joiningDetailsStatus: "ready" | "
|
|
2100
|
+
joiningDetailsStatus: "ready" | "attention" | "preparing";
|
|
2067
2101
|
callInstructions?: string | null | undefined;
|
|
2068
2102
|
familyReportedSource?: {
|
|
2069
2103
|
optionLabel: string;
|
|
2070
2104
|
detail?: string | null | undefined;
|
|
2071
2105
|
} | null | undefined;
|
|
2106
|
+
rebookingEmailStatus?: "suppressed" | "failed" | "queued" | "sent" | "ambiguous" | null | undefined;
|
|
2107
|
+
rebookingLinkAvailable?: boolean | undefined;
|
|
2108
|
+
emailNotificationsEnabled?: boolean | undefined;
|
|
2072
2109
|
}>;
|
|
2073
2110
|
export declare const bookingListItemSchema: z.ZodObject<Omit<{
|
|
2074
2111
|
id: z.ZodString;
|
|
@@ -2105,6 +2142,9 @@ export declare const bookingListItemSchema: z.ZodObject<Omit<{
|
|
|
2105
2142
|
callMethod: z.ZodEnum<["video", "phone", "whatsappVoice", "whatsappVideo", "zoom", "otherVideo", "inPerson"]>;
|
|
2106
2143
|
callInstructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2107
2144
|
joiningDetailsStatus: z.ZodEnum<["ready", "preparing", "attention"]>;
|
|
2145
|
+
rebookingEmailStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["queued", "sent", "failed", "ambiguous", "suppressed"]>>>;
|
|
2146
|
+
rebookingLinkAvailable: z.ZodOptional<z.ZodBoolean>;
|
|
2147
|
+
emailNotificationsEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
2108
2148
|
bookingForm: z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
2109
2149
|
revision: z.ZodString;
|
|
2110
2150
|
questions: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
@@ -2298,6 +2338,7 @@ export declare const bookingListItemSchema: z.ZodObject<Omit<{
|
|
|
2298
2338
|
questionId: string;
|
|
2299
2339
|
})[]>;
|
|
2300
2340
|
}, "strict", z.ZodTypeAny, {
|
|
2341
|
+
revision: string;
|
|
2301
2342
|
questions: {
|
|
2302
2343
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
2303
2344
|
id: string;
|
|
@@ -2310,7 +2351,6 @@ export declare const bookingListItemSchema: z.ZodObject<Omit<{
|
|
|
2310
2351
|
label: string;
|
|
2311
2352
|
}[];
|
|
2312
2353
|
}[];
|
|
2313
|
-
revision: string;
|
|
2314
2354
|
answers: ({
|
|
2315
2355
|
value: string;
|
|
2316
2356
|
type: "shortText";
|
|
@@ -2333,6 +2373,7 @@ export declare const bookingListItemSchema: z.ZodObject<Omit<{
|
|
|
2333
2373
|
questionId: string;
|
|
2334
2374
|
})[];
|
|
2335
2375
|
}, {
|
|
2376
|
+
revision: string;
|
|
2336
2377
|
questions: {
|
|
2337
2378
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
2338
2379
|
id: string;
|
|
@@ -2345,7 +2386,6 @@ export declare const bookingListItemSchema: z.ZodObject<Omit<{
|
|
|
2345
2386
|
label: string;
|
|
2346
2387
|
}[];
|
|
2347
2388
|
}[];
|
|
2348
|
-
revision: string;
|
|
2349
2389
|
answers: ({
|
|
2350
2390
|
value: string;
|
|
2351
2391
|
type: "shortText";
|
|
@@ -2368,6 +2408,7 @@ export declare const bookingListItemSchema: z.ZodObject<Omit<{
|
|
|
2368
2408
|
questionId: string;
|
|
2369
2409
|
})[];
|
|
2370
2410
|
}>, {
|
|
2411
|
+
revision: string;
|
|
2371
2412
|
questions: {
|
|
2372
2413
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
2373
2414
|
id: string;
|
|
@@ -2380,7 +2421,6 @@ export declare const bookingListItemSchema: z.ZodObject<Omit<{
|
|
|
2380
2421
|
label: string;
|
|
2381
2422
|
}[];
|
|
2382
2423
|
}[];
|
|
2383
|
-
revision: string;
|
|
2384
2424
|
answers: ({
|
|
2385
2425
|
value: string;
|
|
2386
2426
|
type: "shortText";
|
|
@@ -2403,6 +2443,7 @@ export declare const bookingListItemSchema: z.ZodObject<Omit<{
|
|
|
2403
2443
|
questionId: string;
|
|
2404
2444
|
})[];
|
|
2405
2445
|
}, {
|
|
2446
|
+
revision: string;
|
|
2406
2447
|
questions: {
|
|
2407
2448
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
2408
2449
|
id: string;
|
|
@@ -2415,7 +2456,6 @@ export declare const bookingListItemSchema: z.ZodObject<Omit<{
|
|
|
2415
2456
|
label: string;
|
|
2416
2457
|
}[];
|
|
2417
2458
|
}[];
|
|
2418
|
-
revision: string;
|
|
2419
2459
|
answers: ({
|
|
2420
2460
|
value: string;
|
|
2421
2461
|
type: "shortText";
|
|
@@ -2466,9 +2506,9 @@ export declare const bookingListItemSchema: z.ZodObject<Omit<{
|
|
|
2466
2506
|
startsAt: string;
|
|
2467
2507
|
endsAt: string;
|
|
2468
2508
|
cancelledAt: string | null;
|
|
2509
|
+
serviceName: string;
|
|
2469
2510
|
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
2470
2511
|
serviceId: string;
|
|
2471
|
-
serviceName: string;
|
|
2472
2512
|
contact: {
|
|
2473
2513
|
caregiverEmail: string;
|
|
2474
2514
|
childFirstName: string;
|
|
@@ -2477,13 +2517,16 @@ export declare const bookingListItemSchema: z.ZodObject<Omit<{
|
|
|
2477
2517
|
caregiverPhone?: string | null | undefined;
|
|
2478
2518
|
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
2479
2519
|
};
|
|
2480
|
-
joiningDetailsStatus: "ready" | "
|
|
2520
|
+
joiningDetailsStatus: "ready" | "attention" | "preparing";
|
|
2481
2521
|
hasBookingFormAnswers: boolean;
|
|
2482
2522
|
callInstructions?: string | null | undefined;
|
|
2483
2523
|
familyReportedSource?: {
|
|
2484
2524
|
optionLabel: string;
|
|
2485
2525
|
detail?: string | null | undefined;
|
|
2486
2526
|
} | null | undefined;
|
|
2527
|
+
rebookingEmailStatus?: "suppressed" | "failed" | "queued" | "sent" | "ambiguous" | null | undefined;
|
|
2528
|
+
rebookingLinkAvailable?: boolean | undefined;
|
|
2529
|
+
emailNotificationsEnabled?: boolean | undefined;
|
|
2487
2530
|
}, {
|
|
2488
2531
|
status: "scheduled" | "completed" | "cancelled" | "noShow";
|
|
2489
2532
|
id: string;
|
|
@@ -2496,9 +2539,9 @@ export declare const bookingListItemSchema: z.ZodObject<Omit<{
|
|
|
2496
2539
|
startsAt: string;
|
|
2497
2540
|
endsAt: string;
|
|
2498
2541
|
cancelledAt: string | null;
|
|
2542
|
+
serviceName: string;
|
|
2499
2543
|
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
2500
2544
|
serviceId: string;
|
|
2501
|
-
serviceName: string;
|
|
2502
2545
|
contact: {
|
|
2503
2546
|
caregiverEmail: string;
|
|
2504
2547
|
childFirstName: string;
|
|
@@ -2507,13 +2550,16 @@ export declare const bookingListItemSchema: z.ZodObject<Omit<{
|
|
|
2507
2550
|
caregiverPhone?: string | null | undefined;
|
|
2508
2551
|
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
2509
2552
|
};
|
|
2510
|
-
joiningDetailsStatus: "ready" | "
|
|
2553
|
+
joiningDetailsStatus: "ready" | "attention" | "preparing";
|
|
2511
2554
|
hasBookingFormAnswers: boolean;
|
|
2512
2555
|
callInstructions?: string | null | undefined;
|
|
2513
2556
|
familyReportedSource?: {
|
|
2514
2557
|
optionLabel: string;
|
|
2515
2558
|
detail?: string | null | undefined;
|
|
2516
2559
|
} | null | undefined;
|
|
2560
|
+
rebookingEmailStatus?: "suppressed" | "failed" | "queued" | "sent" | "ambiguous" | null | undefined;
|
|
2561
|
+
rebookingLinkAvailable?: boolean | undefined;
|
|
2562
|
+
emailNotificationsEnabled?: boolean | undefined;
|
|
2517
2563
|
}>;
|
|
2518
2564
|
export declare const bookingListQuerySchema: z.ZodObject<{
|
|
2519
2565
|
organizationId: z.ZodString;
|
|
@@ -2547,22 +2593,256 @@ export declare const bookingAdminTargetQuerySchema: z.ZodObject<{
|
|
|
2547
2593
|
organizationId: string;
|
|
2548
2594
|
coachUserId: string;
|
|
2549
2595
|
}>;
|
|
2550
|
-
export declare const manualBookingAvailabilityQuerySchema: z.ZodObject<{
|
|
2596
|
+
export declare const manualBookingAvailabilityQuerySchema: z.ZodEffects<z.ZodObject<{
|
|
2551
2597
|
organizationId: z.ZodString;
|
|
2552
2598
|
coachUserId: z.ZodString;
|
|
2553
2599
|
} & {
|
|
2554
2600
|
serviceId: z.ZodString;
|
|
2555
2601
|
localDate: z.ZodString;
|
|
2602
|
+
durationMinutes: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
|
|
2603
|
+
deliveryCoachUserId: z.ZodOptional<z.ZodString>;
|
|
2604
|
+
whoeverIsFree: z.ZodOptional<z.ZodEnum<["true"]>>;
|
|
2605
|
+
familyUserId: z.ZodOptional<z.ZodString>;
|
|
2606
|
+
leadId: z.ZodOptional<z.ZodString>;
|
|
2607
|
+
leadCoachUserId: z.ZodOptional<z.ZodString>;
|
|
2556
2608
|
}, "strict", z.ZodTypeAny, {
|
|
2557
2609
|
organizationId: string;
|
|
2558
2610
|
coachUserId: string;
|
|
2559
2611
|
localDate: string;
|
|
2560
2612
|
serviceId: string;
|
|
2613
|
+
familyUserId?: string | undefined;
|
|
2614
|
+
durationMinutes?: number | undefined;
|
|
2615
|
+
deliveryCoachUserId?: string | undefined;
|
|
2616
|
+
whoeverIsFree?: "true" | undefined;
|
|
2617
|
+
leadId?: string | undefined;
|
|
2618
|
+
leadCoachUserId?: string | undefined;
|
|
2561
2619
|
}, {
|
|
2562
2620
|
organizationId: string;
|
|
2563
2621
|
coachUserId: string;
|
|
2564
2622
|
localDate: string;
|
|
2565
2623
|
serviceId: string;
|
|
2624
|
+
familyUserId?: string | undefined;
|
|
2625
|
+
durationMinutes?: number | undefined;
|
|
2626
|
+
deliveryCoachUserId?: string | undefined;
|
|
2627
|
+
whoeverIsFree?: "true" | undefined;
|
|
2628
|
+
leadId?: string | undefined;
|
|
2629
|
+
leadCoachUserId?: string | undefined;
|
|
2630
|
+
}>, {
|
|
2631
|
+
organizationId: string;
|
|
2632
|
+
coachUserId: string;
|
|
2633
|
+
localDate: string;
|
|
2634
|
+
serviceId: string;
|
|
2635
|
+
familyUserId?: string | undefined;
|
|
2636
|
+
durationMinutes?: number | undefined;
|
|
2637
|
+
deliveryCoachUserId?: string | undefined;
|
|
2638
|
+
whoeverIsFree?: "true" | undefined;
|
|
2639
|
+
leadId?: string | undefined;
|
|
2640
|
+
leadCoachUserId?: string | undefined;
|
|
2641
|
+
}, {
|
|
2642
|
+
organizationId: string;
|
|
2643
|
+
coachUserId: string;
|
|
2644
|
+
localDate: string;
|
|
2645
|
+
serviceId: string;
|
|
2646
|
+
familyUserId?: string | undefined;
|
|
2647
|
+
durationMinutes?: number | undefined;
|
|
2648
|
+
deliveryCoachUserId?: string | undefined;
|
|
2649
|
+
whoeverIsFree?: "true" | undefined;
|
|
2650
|
+
leadId?: string | undefined;
|
|
2651
|
+
leadCoachUserId?: string | undefined;
|
|
2652
|
+
}>;
|
|
2653
|
+
export declare const manualBookingOptionsQuerySchema: z.ZodEffects<z.ZodObject<{
|
|
2654
|
+
organizationId: z.ZodString;
|
|
2655
|
+
coachUserId: z.ZodString;
|
|
2656
|
+
} & {
|
|
2657
|
+
serviceId: z.ZodString;
|
|
2658
|
+
familyUserId: z.ZodOptional<z.ZodString>;
|
|
2659
|
+
leadId: z.ZodOptional<z.ZodString>;
|
|
2660
|
+
leadCoachUserId: z.ZodOptional<z.ZodString>;
|
|
2661
|
+
}, "strict", z.ZodTypeAny, {
|
|
2662
|
+
organizationId: string;
|
|
2663
|
+
coachUserId: string;
|
|
2664
|
+
serviceId: string;
|
|
2665
|
+
familyUserId?: string | undefined;
|
|
2666
|
+
leadId?: string | undefined;
|
|
2667
|
+
leadCoachUserId?: string | undefined;
|
|
2668
|
+
}, {
|
|
2669
|
+
organizationId: string;
|
|
2670
|
+
coachUserId: string;
|
|
2671
|
+
serviceId: string;
|
|
2672
|
+
familyUserId?: string | undefined;
|
|
2673
|
+
leadId?: string | undefined;
|
|
2674
|
+
leadCoachUserId?: string | undefined;
|
|
2675
|
+
}>, {
|
|
2676
|
+
organizationId: string;
|
|
2677
|
+
coachUserId: string;
|
|
2678
|
+
serviceId: string;
|
|
2679
|
+
familyUserId?: string | undefined;
|
|
2680
|
+
leadId?: string | undefined;
|
|
2681
|
+
leadCoachUserId?: string | undefined;
|
|
2682
|
+
}, {
|
|
2683
|
+
organizationId: string;
|
|
2684
|
+
coachUserId: string;
|
|
2685
|
+
serviceId: string;
|
|
2686
|
+
familyUserId?: string | undefined;
|
|
2687
|
+
leadId?: string | undefined;
|
|
2688
|
+
leadCoachUserId?: string | undefined;
|
|
2689
|
+
}>;
|
|
2690
|
+
export declare const manualBookingOptionsResponseSchema: z.ZodObject<{
|
|
2691
|
+
serviceId: z.ZodString;
|
|
2692
|
+
deliveryMode: z.ZodEnum<["singleCoach", "chooseCoach", "firstAvailable", "familyCoach"]>;
|
|
2693
|
+
coaches: z.ZodArray<z.ZodObject<{
|
|
2694
|
+
coachUserId: z.ZodString;
|
|
2695
|
+
name: z.ZodString;
|
|
2696
|
+
}, "strict", z.ZodTypeAny, {
|
|
2697
|
+
name: string;
|
|
2698
|
+
coachUserId: string;
|
|
2699
|
+
}, {
|
|
2700
|
+
name: string;
|
|
2701
|
+
coachUserId: string;
|
|
2702
|
+
}>, "many">;
|
|
2703
|
+
canChooseWhoeverIsFree: z.ZodBoolean;
|
|
2704
|
+
canChooseFamilies: z.ZodBoolean;
|
|
2705
|
+
}, "strict", z.ZodTypeAny, {
|
|
2706
|
+
coaches: {
|
|
2707
|
+
name: string;
|
|
2708
|
+
coachUserId: string;
|
|
2709
|
+
}[];
|
|
2710
|
+
deliveryMode: "singleCoach" | "chooseCoach" | "firstAvailable" | "familyCoach";
|
|
2711
|
+
serviceId: string;
|
|
2712
|
+
canChooseWhoeverIsFree: boolean;
|
|
2713
|
+
canChooseFamilies: boolean;
|
|
2714
|
+
}, {
|
|
2715
|
+
coaches: {
|
|
2716
|
+
name: string;
|
|
2717
|
+
coachUserId: string;
|
|
2718
|
+
}[];
|
|
2719
|
+
deliveryMode: "singleCoach" | "chooseCoach" | "firstAvailable" | "familyCoach";
|
|
2720
|
+
serviceId: string;
|
|
2721
|
+
canChooseWhoeverIsFree: boolean;
|
|
2722
|
+
canChooseFamilies: boolean;
|
|
2723
|
+
}>;
|
|
2724
|
+
export declare const manualBookingFamiliesQuerySchema: z.ZodObject<{
|
|
2725
|
+
organizationId: z.ZodString;
|
|
2726
|
+
coachUserId: z.ZodString;
|
|
2727
|
+
} & {
|
|
2728
|
+
search: z.ZodOptional<z.ZodString>;
|
|
2729
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
2730
|
+
}, "strict", z.ZodTypeAny, {
|
|
2731
|
+
organizationId: string;
|
|
2732
|
+
coachUserId: string;
|
|
2733
|
+
cursor?: string | undefined;
|
|
2734
|
+
search?: string | undefined;
|
|
2735
|
+
}, {
|
|
2736
|
+
organizationId: string;
|
|
2737
|
+
coachUserId: string;
|
|
2738
|
+
cursor?: string | undefined;
|
|
2739
|
+
search?: string | undefined;
|
|
2740
|
+
}>;
|
|
2741
|
+
export declare const manualBookingFamiliesResponseSchema: z.ZodObject<{
|
|
2742
|
+
families: z.ZodArray<z.ZodObject<{
|
|
2743
|
+
familyUserId: z.ZodString;
|
|
2744
|
+
assignmentId: z.ZodString;
|
|
2745
|
+
revision: z.ZodString;
|
|
2746
|
+
name: z.ZodString;
|
|
2747
|
+
bookingName: z.ZodString;
|
|
2748
|
+
email: z.ZodString;
|
|
2749
|
+
leadCoachUserId: z.ZodString;
|
|
2750
|
+
children: z.ZodArray<z.ZodObject<{
|
|
2751
|
+
babyId: z.ZodString;
|
|
2752
|
+
name: z.ZodString;
|
|
2753
|
+
bookingName: z.ZodString;
|
|
2754
|
+
ageText: z.ZodString;
|
|
2755
|
+
}, "strict", z.ZodTypeAny, {
|
|
2756
|
+
name: string;
|
|
2757
|
+
babyId: string;
|
|
2758
|
+
bookingName: string;
|
|
2759
|
+
ageText: string;
|
|
2760
|
+
}, {
|
|
2761
|
+
name: string;
|
|
2762
|
+
babyId: string;
|
|
2763
|
+
bookingName: string;
|
|
2764
|
+
ageText: string;
|
|
2765
|
+
}>, "many">;
|
|
2766
|
+
}, "strict", z.ZodTypeAny, {
|
|
2767
|
+
email: string;
|
|
2768
|
+
name: string;
|
|
2769
|
+
familyUserId: string;
|
|
2770
|
+
revision: string;
|
|
2771
|
+
leadCoachUserId: string;
|
|
2772
|
+
assignmentId: string;
|
|
2773
|
+
bookingName: string;
|
|
2774
|
+
children: {
|
|
2775
|
+
name: string;
|
|
2776
|
+
babyId: string;
|
|
2777
|
+
bookingName: string;
|
|
2778
|
+
ageText: string;
|
|
2779
|
+
}[];
|
|
2780
|
+
}, {
|
|
2781
|
+
email: string;
|
|
2782
|
+
name: string;
|
|
2783
|
+
familyUserId: string;
|
|
2784
|
+
revision: string;
|
|
2785
|
+
leadCoachUserId: string;
|
|
2786
|
+
assignmentId: string;
|
|
2787
|
+
bookingName: string;
|
|
2788
|
+
children: {
|
|
2789
|
+
name: string;
|
|
2790
|
+
babyId: string;
|
|
2791
|
+
bookingName: string;
|
|
2792
|
+
ageText: string;
|
|
2793
|
+
}[];
|
|
2794
|
+
}>, "many">;
|
|
2795
|
+
nextCursor: z.ZodNullable<z.ZodString>;
|
|
2796
|
+
}, "strict", z.ZodTypeAny, {
|
|
2797
|
+
families: {
|
|
2798
|
+
email: string;
|
|
2799
|
+
name: string;
|
|
2800
|
+
familyUserId: string;
|
|
2801
|
+
revision: string;
|
|
2802
|
+
leadCoachUserId: string;
|
|
2803
|
+
assignmentId: string;
|
|
2804
|
+
bookingName: string;
|
|
2805
|
+
children: {
|
|
2806
|
+
name: string;
|
|
2807
|
+
babyId: string;
|
|
2808
|
+
bookingName: string;
|
|
2809
|
+
ageText: string;
|
|
2810
|
+
}[];
|
|
2811
|
+
}[];
|
|
2812
|
+
nextCursor: string | null;
|
|
2813
|
+
}, {
|
|
2814
|
+
families: {
|
|
2815
|
+
email: string;
|
|
2816
|
+
name: string;
|
|
2817
|
+
familyUserId: string;
|
|
2818
|
+
revision: string;
|
|
2819
|
+
leadCoachUserId: string;
|
|
2820
|
+
assignmentId: string;
|
|
2821
|
+
bookingName: string;
|
|
2822
|
+
children: {
|
|
2823
|
+
name: string;
|
|
2824
|
+
babyId: string;
|
|
2825
|
+
bookingName: string;
|
|
2826
|
+
ageText: string;
|
|
2827
|
+
}[];
|
|
2828
|
+
}[];
|
|
2829
|
+
nextCursor: string | null;
|
|
2830
|
+
}>;
|
|
2831
|
+
export declare const manualBookingFamilyRecipientSchema: z.ZodObject<{
|
|
2832
|
+
familyUserId: z.ZodString;
|
|
2833
|
+
assignmentId: z.ZodString;
|
|
2834
|
+
expectedRevision: z.ZodString;
|
|
2835
|
+
babyId: z.ZodString;
|
|
2836
|
+
}, "strict", z.ZodTypeAny, {
|
|
2837
|
+
familyUserId: string;
|
|
2838
|
+
babyId: string;
|
|
2839
|
+
expectedRevision: string;
|
|
2840
|
+
assignmentId: string;
|
|
2841
|
+
}, {
|
|
2842
|
+
familyUserId: string;
|
|
2843
|
+
babyId: string;
|
|
2844
|
+
expectedRevision: string;
|
|
2845
|
+
assignmentId: string;
|
|
2566
2846
|
}>;
|
|
2567
2847
|
export declare const manualBookingAvailabilitySlotSchema: z.ZodObject<{
|
|
2568
2848
|
startsAt: z.ZodString;
|
|
@@ -2761,6 +3041,9 @@ export declare const bookingListResponseSchema: z.ZodObject<{
|
|
|
2761
3041
|
callMethod: z.ZodEnum<["video", "phone", "whatsappVoice", "whatsappVideo", "zoom", "otherVideo", "inPerson"]>;
|
|
2762
3042
|
callInstructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2763
3043
|
joiningDetailsStatus: z.ZodEnum<["ready", "preparing", "attention"]>;
|
|
3044
|
+
rebookingEmailStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["queued", "sent", "failed", "ambiguous", "suppressed"]>>>;
|
|
3045
|
+
rebookingLinkAvailable: z.ZodOptional<z.ZodBoolean>;
|
|
3046
|
+
emailNotificationsEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
2764
3047
|
bookingForm: z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
2765
3048
|
revision: z.ZodString;
|
|
2766
3049
|
questions: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
@@ -2954,6 +3237,7 @@ export declare const bookingListResponseSchema: z.ZodObject<{
|
|
|
2954
3237
|
questionId: string;
|
|
2955
3238
|
})[]>;
|
|
2956
3239
|
}, "strict", z.ZodTypeAny, {
|
|
3240
|
+
revision: string;
|
|
2957
3241
|
questions: {
|
|
2958
3242
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
2959
3243
|
id: string;
|
|
@@ -2966,7 +3250,6 @@ export declare const bookingListResponseSchema: z.ZodObject<{
|
|
|
2966
3250
|
label: string;
|
|
2967
3251
|
}[];
|
|
2968
3252
|
}[];
|
|
2969
|
-
revision: string;
|
|
2970
3253
|
answers: ({
|
|
2971
3254
|
value: string;
|
|
2972
3255
|
type: "shortText";
|
|
@@ -2989,6 +3272,7 @@ export declare const bookingListResponseSchema: z.ZodObject<{
|
|
|
2989
3272
|
questionId: string;
|
|
2990
3273
|
})[];
|
|
2991
3274
|
}, {
|
|
3275
|
+
revision: string;
|
|
2992
3276
|
questions: {
|
|
2993
3277
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
2994
3278
|
id: string;
|
|
@@ -3001,7 +3285,6 @@ export declare const bookingListResponseSchema: z.ZodObject<{
|
|
|
3001
3285
|
label: string;
|
|
3002
3286
|
}[];
|
|
3003
3287
|
}[];
|
|
3004
|
-
revision: string;
|
|
3005
3288
|
answers: ({
|
|
3006
3289
|
value: string;
|
|
3007
3290
|
type: "shortText";
|
|
@@ -3024,6 +3307,7 @@ export declare const bookingListResponseSchema: z.ZodObject<{
|
|
|
3024
3307
|
questionId: string;
|
|
3025
3308
|
})[];
|
|
3026
3309
|
}>, {
|
|
3310
|
+
revision: string;
|
|
3027
3311
|
questions: {
|
|
3028
3312
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
3029
3313
|
id: string;
|
|
@@ -3036,7 +3320,6 @@ export declare const bookingListResponseSchema: z.ZodObject<{
|
|
|
3036
3320
|
label: string;
|
|
3037
3321
|
}[];
|
|
3038
3322
|
}[];
|
|
3039
|
-
revision: string;
|
|
3040
3323
|
answers: ({
|
|
3041
3324
|
value: string;
|
|
3042
3325
|
type: "shortText";
|
|
@@ -3059,6 +3342,7 @@ export declare const bookingListResponseSchema: z.ZodObject<{
|
|
|
3059
3342
|
questionId: string;
|
|
3060
3343
|
})[];
|
|
3061
3344
|
}, {
|
|
3345
|
+
revision: string;
|
|
3062
3346
|
questions: {
|
|
3063
3347
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
3064
3348
|
id: string;
|
|
@@ -3071,7 +3355,6 @@ export declare const bookingListResponseSchema: z.ZodObject<{
|
|
|
3071
3355
|
label: string;
|
|
3072
3356
|
}[];
|
|
3073
3357
|
}[];
|
|
3074
|
-
revision: string;
|
|
3075
3358
|
answers: ({
|
|
3076
3359
|
value: string;
|
|
3077
3360
|
type: "shortText";
|
|
@@ -3122,9 +3405,9 @@ export declare const bookingListResponseSchema: z.ZodObject<{
|
|
|
3122
3405
|
startsAt: string;
|
|
3123
3406
|
endsAt: string;
|
|
3124
3407
|
cancelledAt: string | null;
|
|
3408
|
+
serviceName: string;
|
|
3125
3409
|
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
3126
3410
|
serviceId: string;
|
|
3127
|
-
serviceName: string;
|
|
3128
3411
|
contact: {
|
|
3129
3412
|
caregiverEmail: string;
|
|
3130
3413
|
childFirstName: string;
|
|
@@ -3133,13 +3416,16 @@ export declare const bookingListResponseSchema: z.ZodObject<{
|
|
|
3133
3416
|
caregiverPhone?: string | null | undefined;
|
|
3134
3417
|
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
3135
3418
|
};
|
|
3136
|
-
joiningDetailsStatus: "ready" | "
|
|
3419
|
+
joiningDetailsStatus: "ready" | "attention" | "preparing";
|
|
3137
3420
|
hasBookingFormAnswers: boolean;
|
|
3138
3421
|
callInstructions?: string | null | undefined;
|
|
3139
3422
|
familyReportedSource?: {
|
|
3140
3423
|
optionLabel: string;
|
|
3141
3424
|
detail?: string | null | undefined;
|
|
3142
3425
|
} | null | undefined;
|
|
3426
|
+
rebookingEmailStatus?: "suppressed" | "failed" | "queued" | "sent" | "ambiguous" | null | undefined;
|
|
3427
|
+
rebookingLinkAvailable?: boolean | undefined;
|
|
3428
|
+
emailNotificationsEnabled?: boolean | undefined;
|
|
3143
3429
|
}, {
|
|
3144
3430
|
status: "scheduled" | "completed" | "cancelled" | "noShow";
|
|
3145
3431
|
id: string;
|
|
@@ -3152,9 +3438,9 @@ export declare const bookingListResponseSchema: z.ZodObject<{
|
|
|
3152
3438
|
startsAt: string;
|
|
3153
3439
|
endsAt: string;
|
|
3154
3440
|
cancelledAt: string | null;
|
|
3441
|
+
serviceName: string;
|
|
3155
3442
|
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
3156
3443
|
serviceId: string;
|
|
3157
|
-
serviceName: string;
|
|
3158
3444
|
contact: {
|
|
3159
3445
|
caregiverEmail: string;
|
|
3160
3446
|
childFirstName: string;
|
|
@@ -3163,13 +3449,16 @@ export declare const bookingListResponseSchema: z.ZodObject<{
|
|
|
3163
3449
|
caregiverPhone?: string | null | undefined;
|
|
3164
3450
|
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
3165
3451
|
};
|
|
3166
|
-
joiningDetailsStatus: "ready" | "
|
|
3452
|
+
joiningDetailsStatus: "ready" | "attention" | "preparing";
|
|
3167
3453
|
hasBookingFormAnswers: boolean;
|
|
3168
3454
|
callInstructions?: string | null | undefined;
|
|
3169
3455
|
familyReportedSource?: {
|
|
3170
3456
|
optionLabel: string;
|
|
3171
3457
|
detail?: string | null | undefined;
|
|
3172
3458
|
} | null | undefined;
|
|
3459
|
+
rebookingEmailStatus?: "suppressed" | "failed" | "queued" | "sent" | "ambiguous" | null | undefined;
|
|
3460
|
+
rebookingLinkAvailable?: boolean | undefined;
|
|
3461
|
+
emailNotificationsEnabled?: boolean | undefined;
|
|
3173
3462
|
}>, "many">;
|
|
3174
3463
|
nextCursor: z.ZodNullable<z.ZodString>;
|
|
3175
3464
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3185,9 +3474,9 @@ export declare const bookingListResponseSchema: z.ZodObject<{
|
|
|
3185
3474
|
startsAt: string;
|
|
3186
3475
|
endsAt: string;
|
|
3187
3476
|
cancelledAt: string | null;
|
|
3477
|
+
serviceName: string;
|
|
3188
3478
|
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
3189
3479
|
serviceId: string;
|
|
3190
|
-
serviceName: string;
|
|
3191
3480
|
contact: {
|
|
3192
3481
|
caregiverEmail: string;
|
|
3193
3482
|
childFirstName: string;
|
|
@@ -3196,13 +3485,16 @@ export declare const bookingListResponseSchema: z.ZodObject<{
|
|
|
3196
3485
|
caregiverPhone?: string | null | undefined;
|
|
3197
3486
|
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
3198
3487
|
};
|
|
3199
|
-
joiningDetailsStatus: "ready" | "
|
|
3488
|
+
joiningDetailsStatus: "ready" | "attention" | "preparing";
|
|
3200
3489
|
hasBookingFormAnswers: boolean;
|
|
3201
3490
|
callInstructions?: string | null | undefined;
|
|
3202
3491
|
familyReportedSource?: {
|
|
3203
3492
|
optionLabel: string;
|
|
3204
3493
|
detail?: string | null | undefined;
|
|
3205
3494
|
} | null | undefined;
|
|
3495
|
+
rebookingEmailStatus?: "suppressed" | "failed" | "queued" | "sent" | "ambiguous" | null | undefined;
|
|
3496
|
+
rebookingLinkAvailable?: boolean | undefined;
|
|
3497
|
+
emailNotificationsEnabled?: boolean | undefined;
|
|
3206
3498
|
}[];
|
|
3207
3499
|
nextCursor: string | null;
|
|
3208
3500
|
}, {
|
|
@@ -3218,9 +3510,9 @@ export declare const bookingListResponseSchema: z.ZodObject<{
|
|
|
3218
3510
|
startsAt: string;
|
|
3219
3511
|
endsAt: string;
|
|
3220
3512
|
cancelledAt: string | null;
|
|
3513
|
+
serviceName: string;
|
|
3221
3514
|
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
3222
3515
|
serviceId: string;
|
|
3223
|
-
serviceName: string;
|
|
3224
3516
|
contact: {
|
|
3225
3517
|
caregiverEmail: string;
|
|
3226
3518
|
childFirstName: string;
|
|
@@ -3229,13 +3521,16 @@ export declare const bookingListResponseSchema: z.ZodObject<{
|
|
|
3229
3521
|
caregiverPhone?: string | null | undefined;
|
|
3230
3522
|
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
3231
3523
|
};
|
|
3232
|
-
joiningDetailsStatus: "ready" | "
|
|
3524
|
+
joiningDetailsStatus: "ready" | "attention" | "preparing";
|
|
3233
3525
|
hasBookingFormAnswers: boolean;
|
|
3234
3526
|
callInstructions?: string | null | undefined;
|
|
3235
3527
|
familyReportedSource?: {
|
|
3236
3528
|
optionLabel: string;
|
|
3237
3529
|
detail?: string | null | undefined;
|
|
3238
3530
|
} | null | undefined;
|
|
3531
|
+
rebookingEmailStatus?: "suppressed" | "failed" | "queued" | "sent" | "ambiguous" | null | undefined;
|
|
3532
|
+
rebookingLinkAvailable?: boolean | undefined;
|
|
3533
|
+
emailNotificationsEnabled?: boolean | undefined;
|
|
3239
3534
|
}[];
|
|
3240
3535
|
nextCursor: string | null;
|
|
3241
3536
|
}>;
|
|
@@ -3294,6 +3589,9 @@ export declare const mobileBookingListItemSchema: z.ZodObject<Pick<{
|
|
|
3294
3589
|
callMethod: z.ZodEnum<["video", "phone", "whatsappVoice", "whatsappVideo", "zoom", "otherVideo", "inPerson"]>;
|
|
3295
3590
|
callInstructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3296
3591
|
joiningDetailsStatus: z.ZodEnum<["ready", "preparing", "attention"]>;
|
|
3592
|
+
rebookingEmailStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["queued", "sent", "failed", "ambiguous", "suppressed"]>>>;
|
|
3593
|
+
rebookingLinkAvailable: z.ZodOptional<z.ZodBoolean>;
|
|
3594
|
+
emailNotificationsEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
3297
3595
|
bookingForm: z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
3298
3596
|
revision: z.ZodString;
|
|
3299
3597
|
questions: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
@@ -3487,6 +3785,7 @@ export declare const mobileBookingListItemSchema: z.ZodObject<Pick<{
|
|
|
3487
3785
|
questionId: string;
|
|
3488
3786
|
})[]>;
|
|
3489
3787
|
}, "strict", z.ZodTypeAny, {
|
|
3788
|
+
revision: string;
|
|
3490
3789
|
questions: {
|
|
3491
3790
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
3492
3791
|
id: string;
|
|
@@ -3499,7 +3798,6 @@ export declare const mobileBookingListItemSchema: z.ZodObject<Pick<{
|
|
|
3499
3798
|
label: string;
|
|
3500
3799
|
}[];
|
|
3501
3800
|
}[];
|
|
3502
|
-
revision: string;
|
|
3503
3801
|
answers: ({
|
|
3504
3802
|
value: string;
|
|
3505
3803
|
type: "shortText";
|
|
@@ -3522,6 +3820,7 @@ export declare const mobileBookingListItemSchema: z.ZodObject<Pick<{
|
|
|
3522
3820
|
questionId: string;
|
|
3523
3821
|
})[];
|
|
3524
3822
|
}, {
|
|
3823
|
+
revision: string;
|
|
3525
3824
|
questions: {
|
|
3526
3825
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
3527
3826
|
id: string;
|
|
@@ -3534,7 +3833,6 @@ export declare const mobileBookingListItemSchema: z.ZodObject<Pick<{
|
|
|
3534
3833
|
label: string;
|
|
3535
3834
|
}[];
|
|
3536
3835
|
}[];
|
|
3537
|
-
revision: string;
|
|
3538
3836
|
answers: ({
|
|
3539
3837
|
value: string;
|
|
3540
3838
|
type: "shortText";
|
|
@@ -3557,6 +3855,7 @@ export declare const mobileBookingListItemSchema: z.ZodObject<Pick<{
|
|
|
3557
3855
|
questionId: string;
|
|
3558
3856
|
})[];
|
|
3559
3857
|
}>, {
|
|
3858
|
+
revision: string;
|
|
3560
3859
|
questions: {
|
|
3561
3860
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
3562
3861
|
id: string;
|
|
@@ -3569,7 +3868,6 @@ export declare const mobileBookingListItemSchema: z.ZodObject<Pick<{
|
|
|
3569
3868
|
label: string;
|
|
3570
3869
|
}[];
|
|
3571
3870
|
}[];
|
|
3572
|
-
revision: string;
|
|
3573
3871
|
answers: ({
|
|
3574
3872
|
value: string;
|
|
3575
3873
|
type: "shortText";
|
|
@@ -3592,6 +3890,7 @@ export declare const mobileBookingListItemSchema: z.ZodObject<Pick<{
|
|
|
3592
3890
|
questionId: string;
|
|
3593
3891
|
})[];
|
|
3594
3892
|
}, {
|
|
3893
|
+
revision: string;
|
|
3595
3894
|
questions: {
|
|
3596
3895
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
3597
3896
|
id: string;
|
|
@@ -3604,7 +3903,6 @@ export declare const mobileBookingListItemSchema: z.ZodObject<Pick<{
|
|
|
3604
3903
|
label: string;
|
|
3605
3904
|
}[];
|
|
3606
3905
|
}[];
|
|
3607
|
-
revision: string;
|
|
3608
3906
|
answers: ({
|
|
3609
3907
|
value: string;
|
|
3610
3908
|
type: "shortText";
|
|
@@ -3641,7 +3939,7 @@ export declare const mobileBookingListItemSchema: z.ZodObject<Pick<{
|
|
|
3641
3939
|
cancelledAt: z.ZodNullable<z.ZodString>;
|
|
3642
3940
|
createdAt: z.ZodString;
|
|
3643
3941
|
updatedAt: z.ZodString;
|
|
3644
|
-
}, "status" | "id" | "timeZone" | "organizationId" | "coachUserId" | "startsAt" | "endsAt" | "
|
|
3942
|
+
}, "status" | "id" | "timeZone" | "organizationId" | "coachUserId" | "startsAt" | "endsAt" | "serviceName" | "callMethod" | "serviceId"> & {
|
|
3645
3943
|
contact: z.ZodObject<Pick<{
|
|
3646
3944
|
caregiverName: z.ZodString;
|
|
3647
3945
|
caregiverEmail: z.ZodString;
|
|
@@ -3669,9 +3967,9 @@ export declare const mobileBookingListItemSchema: z.ZodObject<Pick<{
|
|
|
3669
3967
|
coachUserId: string;
|
|
3670
3968
|
startsAt: string;
|
|
3671
3969
|
endsAt: string;
|
|
3970
|
+
serviceName: string;
|
|
3672
3971
|
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
3673
3972
|
serviceId: string;
|
|
3674
|
-
serviceName: string;
|
|
3675
3973
|
contact: {
|
|
3676
3974
|
childFirstName: string;
|
|
3677
3975
|
childAgeText: string;
|
|
@@ -3687,9 +3985,9 @@ export declare const mobileBookingListItemSchema: z.ZodObject<Pick<{
|
|
|
3687
3985
|
coachUserId: string;
|
|
3688
3986
|
startsAt: string;
|
|
3689
3987
|
endsAt: string;
|
|
3988
|
+
serviceName: string;
|
|
3690
3989
|
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
3691
3990
|
serviceId: string;
|
|
3692
|
-
serviceName: string;
|
|
3693
3991
|
contact: {
|
|
3694
3992
|
childFirstName: string;
|
|
3695
3993
|
childAgeText: string;
|
|
@@ -3734,6 +4032,9 @@ export declare const mobileBookingListResponseSchema: z.ZodObject<{
|
|
|
3734
4032
|
callMethod: z.ZodEnum<["video", "phone", "whatsappVoice", "whatsappVideo", "zoom", "otherVideo", "inPerson"]>;
|
|
3735
4033
|
callInstructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3736
4034
|
joiningDetailsStatus: z.ZodEnum<["ready", "preparing", "attention"]>;
|
|
4035
|
+
rebookingEmailStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["queued", "sent", "failed", "ambiguous", "suppressed"]>>>;
|
|
4036
|
+
rebookingLinkAvailable: z.ZodOptional<z.ZodBoolean>;
|
|
4037
|
+
emailNotificationsEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
3737
4038
|
bookingForm: z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
3738
4039
|
revision: z.ZodString;
|
|
3739
4040
|
questions: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
@@ -3927,6 +4228,7 @@ export declare const mobileBookingListResponseSchema: z.ZodObject<{
|
|
|
3927
4228
|
questionId: string;
|
|
3928
4229
|
})[]>;
|
|
3929
4230
|
}, "strict", z.ZodTypeAny, {
|
|
4231
|
+
revision: string;
|
|
3930
4232
|
questions: {
|
|
3931
4233
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
3932
4234
|
id: string;
|
|
@@ -3939,7 +4241,6 @@ export declare const mobileBookingListResponseSchema: z.ZodObject<{
|
|
|
3939
4241
|
label: string;
|
|
3940
4242
|
}[];
|
|
3941
4243
|
}[];
|
|
3942
|
-
revision: string;
|
|
3943
4244
|
answers: ({
|
|
3944
4245
|
value: string;
|
|
3945
4246
|
type: "shortText";
|
|
@@ -3962,6 +4263,7 @@ export declare const mobileBookingListResponseSchema: z.ZodObject<{
|
|
|
3962
4263
|
questionId: string;
|
|
3963
4264
|
})[];
|
|
3964
4265
|
}, {
|
|
4266
|
+
revision: string;
|
|
3965
4267
|
questions: {
|
|
3966
4268
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
3967
4269
|
id: string;
|
|
@@ -3974,7 +4276,6 @@ export declare const mobileBookingListResponseSchema: z.ZodObject<{
|
|
|
3974
4276
|
label: string;
|
|
3975
4277
|
}[];
|
|
3976
4278
|
}[];
|
|
3977
|
-
revision: string;
|
|
3978
4279
|
answers: ({
|
|
3979
4280
|
value: string;
|
|
3980
4281
|
type: "shortText";
|
|
@@ -3997,6 +4298,7 @@ export declare const mobileBookingListResponseSchema: z.ZodObject<{
|
|
|
3997
4298
|
questionId: string;
|
|
3998
4299
|
})[];
|
|
3999
4300
|
}>, {
|
|
4301
|
+
revision: string;
|
|
4000
4302
|
questions: {
|
|
4001
4303
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
4002
4304
|
id: string;
|
|
@@ -4009,7 +4311,6 @@ export declare const mobileBookingListResponseSchema: z.ZodObject<{
|
|
|
4009
4311
|
label: string;
|
|
4010
4312
|
}[];
|
|
4011
4313
|
}[];
|
|
4012
|
-
revision: string;
|
|
4013
4314
|
answers: ({
|
|
4014
4315
|
value: string;
|
|
4015
4316
|
type: "shortText";
|
|
@@ -4032,6 +4333,7 @@ export declare const mobileBookingListResponseSchema: z.ZodObject<{
|
|
|
4032
4333
|
questionId: string;
|
|
4033
4334
|
})[];
|
|
4034
4335
|
}, {
|
|
4336
|
+
revision: string;
|
|
4035
4337
|
questions: {
|
|
4036
4338
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
4037
4339
|
id: string;
|
|
@@ -4044,7 +4346,6 @@ export declare const mobileBookingListResponseSchema: z.ZodObject<{
|
|
|
4044
4346
|
label: string;
|
|
4045
4347
|
}[];
|
|
4046
4348
|
}[];
|
|
4047
|
-
revision: string;
|
|
4048
4349
|
answers: ({
|
|
4049
4350
|
value: string;
|
|
4050
4351
|
type: "shortText";
|
|
@@ -4081,7 +4382,7 @@ export declare const mobileBookingListResponseSchema: z.ZodObject<{
|
|
|
4081
4382
|
cancelledAt: z.ZodNullable<z.ZodString>;
|
|
4082
4383
|
createdAt: z.ZodString;
|
|
4083
4384
|
updatedAt: z.ZodString;
|
|
4084
|
-
}, "status" | "id" | "timeZone" | "organizationId" | "coachUserId" | "startsAt" | "endsAt" | "
|
|
4385
|
+
}, "status" | "id" | "timeZone" | "organizationId" | "coachUserId" | "startsAt" | "endsAt" | "serviceName" | "callMethod" | "serviceId"> & {
|
|
4085
4386
|
contact: z.ZodObject<Pick<{
|
|
4086
4387
|
caregiverName: z.ZodString;
|
|
4087
4388
|
caregiverEmail: z.ZodString;
|
|
@@ -4109,9 +4410,9 @@ export declare const mobileBookingListResponseSchema: z.ZodObject<{
|
|
|
4109
4410
|
coachUserId: string;
|
|
4110
4411
|
startsAt: string;
|
|
4111
4412
|
endsAt: string;
|
|
4413
|
+
serviceName: string;
|
|
4112
4414
|
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
4113
4415
|
serviceId: string;
|
|
4114
|
-
serviceName: string;
|
|
4115
4416
|
contact: {
|
|
4116
4417
|
childFirstName: string;
|
|
4117
4418
|
childAgeText: string;
|
|
@@ -4127,9 +4428,9 @@ export declare const mobileBookingListResponseSchema: z.ZodObject<{
|
|
|
4127
4428
|
coachUserId: string;
|
|
4128
4429
|
startsAt: string;
|
|
4129
4430
|
endsAt: string;
|
|
4431
|
+
serviceName: string;
|
|
4130
4432
|
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
4131
4433
|
serviceId: string;
|
|
4132
|
-
serviceName: string;
|
|
4133
4434
|
contact: {
|
|
4134
4435
|
childFirstName: string;
|
|
4135
4436
|
childAgeText: string;
|
|
@@ -4148,9 +4449,9 @@ export declare const mobileBookingListResponseSchema: z.ZodObject<{
|
|
|
4148
4449
|
coachUserId: string;
|
|
4149
4450
|
startsAt: string;
|
|
4150
4451
|
endsAt: string;
|
|
4452
|
+
serviceName: string;
|
|
4151
4453
|
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
4152
4454
|
serviceId: string;
|
|
4153
|
-
serviceName: string;
|
|
4154
4455
|
contact: {
|
|
4155
4456
|
childFirstName: string;
|
|
4156
4457
|
childAgeText: string;
|
|
@@ -4169,9 +4470,9 @@ export declare const mobileBookingListResponseSchema: z.ZodObject<{
|
|
|
4169
4470
|
coachUserId: string;
|
|
4170
4471
|
startsAt: string;
|
|
4171
4472
|
endsAt: string;
|
|
4473
|
+
serviceName: string;
|
|
4172
4474
|
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
4173
4475
|
serviceId: string;
|
|
4174
|
-
serviceName: string;
|
|
4175
4476
|
contact: {
|
|
4176
4477
|
childFirstName: string;
|
|
4177
4478
|
childAgeText: string;
|
|
@@ -4217,6 +4518,9 @@ export declare const mobileBookingDetailSchema: z.ZodObject<Pick<{
|
|
|
4217
4518
|
callMethod: z.ZodEnum<["video", "phone", "whatsappVoice", "whatsappVideo", "zoom", "otherVideo", "inPerson"]>;
|
|
4218
4519
|
callInstructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4219
4520
|
joiningDetailsStatus: z.ZodEnum<["ready", "preparing", "attention"]>;
|
|
4521
|
+
rebookingEmailStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["queued", "sent", "failed", "ambiguous", "suppressed"]>>>;
|
|
4522
|
+
rebookingLinkAvailable: z.ZodOptional<z.ZodBoolean>;
|
|
4523
|
+
emailNotificationsEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
4220
4524
|
bookingForm: z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
4221
4525
|
revision: z.ZodString;
|
|
4222
4526
|
questions: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
@@ -4410,6 +4714,7 @@ export declare const mobileBookingDetailSchema: z.ZodObject<Pick<{
|
|
|
4410
4714
|
questionId: string;
|
|
4411
4715
|
})[]>;
|
|
4412
4716
|
}, "strict", z.ZodTypeAny, {
|
|
4717
|
+
revision: string;
|
|
4413
4718
|
questions: {
|
|
4414
4719
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
4415
4720
|
id: string;
|
|
@@ -4422,7 +4727,6 @@ export declare const mobileBookingDetailSchema: z.ZodObject<Pick<{
|
|
|
4422
4727
|
label: string;
|
|
4423
4728
|
}[];
|
|
4424
4729
|
}[];
|
|
4425
|
-
revision: string;
|
|
4426
4730
|
answers: ({
|
|
4427
4731
|
value: string;
|
|
4428
4732
|
type: "shortText";
|
|
@@ -4445,6 +4749,7 @@ export declare const mobileBookingDetailSchema: z.ZodObject<Pick<{
|
|
|
4445
4749
|
questionId: string;
|
|
4446
4750
|
})[];
|
|
4447
4751
|
}, {
|
|
4752
|
+
revision: string;
|
|
4448
4753
|
questions: {
|
|
4449
4754
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
4450
4755
|
id: string;
|
|
@@ -4457,7 +4762,6 @@ export declare const mobileBookingDetailSchema: z.ZodObject<Pick<{
|
|
|
4457
4762
|
label: string;
|
|
4458
4763
|
}[];
|
|
4459
4764
|
}[];
|
|
4460
|
-
revision: string;
|
|
4461
4765
|
answers: ({
|
|
4462
4766
|
value: string;
|
|
4463
4767
|
type: "shortText";
|
|
@@ -4480,6 +4784,7 @@ export declare const mobileBookingDetailSchema: z.ZodObject<Pick<{
|
|
|
4480
4784
|
questionId: string;
|
|
4481
4785
|
})[];
|
|
4482
4786
|
}>, {
|
|
4787
|
+
revision: string;
|
|
4483
4788
|
questions: {
|
|
4484
4789
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
4485
4790
|
id: string;
|
|
@@ -4492,7 +4797,6 @@ export declare const mobileBookingDetailSchema: z.ZodObject<Pick<{
|
|
|
4492
4797
|
label: string;
|
|
4493
4798
|
}[];
|
|
4494
4799
|
}[];
|
|
4495
|
-
revision: string;
|
|
4496
4800
|
answers: ({
|
|
4497
4801
|
value: string;
|
|
4498
4802
|
type: "shortText";
|
|
@@ -4515,6 +4819,7 @@ export declare const mobileBookingDetailSchema: z.ZodObject<Pick<{
|
|
|
4515
4819
|
questionId: string;
|
|
4516
4820
|
})[];
|
|
4517
4821
|
}, {
|
|
4822
|
+
revision: string;
|
|
4518
4823
|
questions: {
|
|
4519
4824
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
4520
4825
|
id: string;
|
|
@@ -4527,7 +4832,6 @@ export declare const mobileBookingDetailSchema: z.ZodObject<Pick<{
|
|
|
4527
4832
|
label: string;
|
|
4528
4833
|
}[];
|
|
4529
4834
|
}[];
|
|
4530
|
-
revision: string;
|
|
4531
4835
|
answers: ({
|
|
4532
4836
|
value: string;
|
|
4533
4837
|
type: "shortText";
|
|
@@ -4564,7 +4868,7 @@ export declare const mobileBookingDetailSchema: z.ZodObject<Pick<{
|
|
|
4564
4868
|
cancelledAt: z.ZodNullable<z.ZodString>;
|
|
4565
4869
|
createdAt: z.ZodString;
|
|
4566
4870
|
updatedAt: z.ZodString;
|
|
4567
|
-
}, "status" | "id" | "timeZone" | "organizationId" | "coachUserId" | "startsAt" | "endsAt" | "
|
|
4871
|
+
}, "status" | "id" | "timeZone" | "organizationId" | "coachUserId" | "startsAt" | "endsAt" | "serviceName" | "callMethod" | "serviceId"> & {
|
|
4568
4872
|
contact: z.ZodObject<{
|
|
4569
4873
|
caregiverName: z.ZodString;
|
|
4570
4874
|
caregiverEmail: z.ZodString;
|
|
@@ -4780,6 +5084,7 @@ export declare const mobileBookingDetailSchema: z.ZodObject<Pick<{
|
|
|
4780
5084
|
questionId: string;
|
|
4781
5085
|
})[]>;
|
|
4782
5086
|
}, "strict", z.ZodTypeAny, {
|
|
5087
|
+
revision: string;
|
|
4783
5088
|
questions: {
|
|
4784
5089
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
4785
5090
|
id: string;
|
|
@@ -4792,7 +5097,6 @@ export declare const mobileBookingDetailSchema: z.ZodObject<Pick<{
|
|
|
4792
5097
|
label: string;
|
|
4793
5098
|
}[];
|
|
4794
5099
|
}[];
|
|
4795
|
-
revision: string;
|
|
4796
5100
|
answers: ({
|
|
4797
5101
|
value: string;
|
|
4798
5102
|
type: "shortText";
|
|
@@ -4815,6 +5119,7 @@ export declare const mobileBookingDetailSchema: z.ZodObject<Pick<{
|
|
|
4815
5119
|
questionId: string;
|
|
4816
5120
|
})[];
|
|
4817
5121
|
}, {
|
|
5122
|
+
revision: string;
|
|
4818
5123
|
questions: {
|
|
4819
5124
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
4820
5125
|
id: string;
|
|
@@ -4827,7 +5132,6 @@ export declare const mobileBookingDetailSchema: z.ZodObject<Pick<{
|
|
|
4827
5132
|
label: string;
|
|
4828
5133
|
}[];
|
|
4829
5134
|
}[];
|
|
4830
|
-
revision: string;
|
|
4831
5135
|
answers: ({
|
|
4832
5136
|
value: string;
|
|
4833
5137
|
type: "shortText";
|
|
@@ -4850,6 +5154,7 @@ export declare const mobileBookingDetailSchema: z.ZodObject<Pick<{
|
|
|
4850
5154
|
questionId: string;
|
|
4851
5155
|
})[];
|
|
4852
5156
|
}>, {
|
|
5157
|
+
revision: string;
|
|
4853
5158
|
questions: {
|
|
4854
5159
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
4855
5160
|
id: string;
|
|
@@ -4862,7 +5167,6 @@ export declare const mobileBookingDetailSchema: z.ZodObject<Pick<{
|
|
|
4862
5167
|
label: string;
|
|
4863
5168
|
}[];
|
|
4864
5169
|
}[];
|
|
4865
|
-
revision: string;
|
|
4866
5170
|
answers: ({
|
|
4867
5171
|
value: string;
|
|
4868
5172
|
type: "shortText";
|
|
@@ -4885,6 +5189,7 @@ export declare const mobileBookingDetailSchema: z.ZodObject<Pick<{
|
|
|
4885
5189
|
questionId: string;
|
|
4886
5190
|
})[];
|
|
4887
5191
|
}, {
|
|
5192
|
+
revision: string;
|
|
4888
5193
|
questions: {
|
|
4889
5194
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
4890
5195
|
id: string;
|
|
@@ -4897,7 +5202,6 @@ export declare const mobileBookingDetailSchema: z.ZodObject<Pick<{
|
|
|
4897
5202
|
label: string;
|
|
4898
5203
|
}[];
|
|
4899
5204
|
}[];
|
|
4900
|
-
revision: string;
|
|
4901
5205
|
answers: ({
|
|
4902
5206
|
value: string;
|
|
4903
5207
|
type: "shortText";
|
|
@@ -4929,6 +5233,7 @@ export declare const mobileBookingDetailSchema: z.ZodObject<Pick<{
|
|
|
4929
5233
|
startsAt: string;
|
|
4930
5234
|
endsAt: string;
|
|
4931
5235
|
bookingForm: {
|
|
5236
|
+
revision: string;
|
|
4932
5237
|
questions: {
|
|
4933
5238
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
4934
5239
|
id: string;
|
|
@@ -4941,7 +5246,6 @@ export declare const mobileBookingDetailSchema: z.ZodObject<Pick<{
|
|
|
4941
5246
|
label: string;
|
|
4942
5247
|
}[];
|
|
4943
5248
|
}[];
|
|
4944
|
-
revision: string;
|
|
4945
5249
|
answers: ({
|
|
4946
5250
|
value: string;
|
|
4947
5251
|
type: "shortText";
|
|
@@ -4964,9 +5268,9 @@ export declare const mobileBookingDetailSchema: z.ZodObject<Pick<{
|
|
|
4964
5268
|
questionId: string;
|
|
4965
5269
|
})[];
|
|
4966
5270
|
} | null;
|
|
5271
|
+
serviceName: string;
|
|
4967
5272
|
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
4968
5273
|
serviceId: string;
|
|
4969
|
-
serviceName: string;
|
|
4970
5274
|
contact: {
|
|
4971
5275
|
caregiverEmail: string;
|
|
4972
5276
|
childFirstName: string;
|
|
@@ -4984,6 +5288,7 @@ export declare const mobileBookingDetailSchema: z.ZodObject<Pick<{
|
|
|
4984
5288
|
startsAt: string;
|
|
4985
5289
|
endsAt: string;
|
|
4986
5290
|
bookingForm: {
|
|
5291
|
+
revision: string;
|
|
4987
5292
|
questions: {
|
|
4988
5293
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
4989
5294
|
id: string;
|
|
@@ -4996,7 +5301,6 @@ export declare const mobileBookingDetailSchema: z.ZodObject<Pick<{
|
|
|
4996
5301
|
label: string;
|
|
4997
5302
|
}[];
|
|
4998
5303
|
}[];
|
|
4999
|
-
revision: string;
|
|
5000
5304
|
answers: ({
|
|
5001
5305
|
value: string;
|
|
5002
5306
|
type: "shortText";
|
|
@@ -5019,9 +5323,9 @@ export declare const mobileBookingDetailSchema: z.ZodObject<Pick<{
|
|
|
5019
5323
|
questionId: string;
|
|
5020
5324
|
})[];
|
|
5021
5325
|
} | null;
|
|
5326
|
+
serviceName: string;
|
|
5022
5327
|
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
5023
5328
|
serviceId: string;
|
|
5024
|
-
serviceName: string;
|
|
5025
5329
|
contact: {
|
|
5026
5330
|
caregiverEmail: string;
|
|
5027
5331
|
childFirstName: string;
|
|
@@ -5077,12 +5381,12 @@ export declare const bookingFamilyEmailPreviewSchema: z.ZodObject<{
|
|
|
5077
5381
|
text: z.ZodString;
|
|
5078
5382
|
}, "strict", z.ZodTypeAny, {
|
|
5079
5383
|
subject: string;
|
|
5080
|
-
eventKind: "cancelled" | "
|
|
5384
|
+
eventKind: "cancelled" | "confirmation" | "reminder" | "rescheduled";
|
|
5081
5385
|
joiningVariant: "automaticZoom" | "coachInstructions" | "coachWillContact";
|
|
5082
5386
|
text: string;
|
|
5083
5387
|
}, {
|
|
5084
5388
|
subject: string;
|
|
5085
|
-
eventKind: "cancelled" | "
|
|
5389
|
+
eventKind: "cancelled" | "confirmation" | "reminder" | "rescheduled";
|
|
5086
5390
|
joiningVariant: "automaticZoom" | "coachInstructions" | "coachWillContact";
|
|
5087
5391
|
text: string;
|
|
5088
5392
|
}>;
|
|
@@ -5094,40 +5398,40 @@ export declare const bookingFamilyEmailPreviewsSchema: z.ZodEffects<z.ZodObject<
|
|
|
5094
5398
|
text: z.ZodString;
|
|
5095
5399
|
}, "strict", z.ZodTypeAny, {
|
|
5096
5400
|
subject: string;
|
|
5097
|
-
eventKind: "cancelled" | "
|
|
5401
|
+
eventKind: "cancelled" | "confirmation" | "reminder" | "rescheduled";
|
|
5098
5402
|
joiningVariant: "automaticZoom" | "coachInstructions" | "coachWillContact";
|
|
5099
5403
|
text: string;
|
|
5100
5404
|
}, {
|
|
5101
5405
|
subject: string;
|
|
5102
|
-
eventKind: "cancelled" | "
|
|
5406
|
+
eventKind: "cancelled" | "confirmation" | "reminder" | "rescheduled";
|
|
5103
5407
|
joiningVariant: "automaticZoom" | "coachInstructions" | "coachWillContact";
|
|
5104
5408
|
text: string;
|
|
5105
5409
|
}>, "many">;
|
|
5106
5410
|
}, "strict", z.ZodTypeAny, {
|
|
5107
5411
|
events: {
|
|
5108
5412
|
subject: string;
|
|
5109
|
-
eventKind: "cancelled" | "
|
|
5413
|
+
eventKind: "cancelled" | "confirmation" | "reminder" | "rescheduled";
|
|
5110
5414
|
joiningVariant: "automaticZoom" | "coachInstructions" | "coachWillContact";
|
|
5111
5415
|
text: string;
|
|
5112
5416
|
}[];
|
|
5113
5417
|
}, {
|
|
5114
5418
|
events: {
|
|
5115
5419
|
subject: string;
|
|
5116
|
-
eventKind: "cancelled" | "
|
|
5420
|
+
eventKind: "cancelled" | "confirmation" | "reminder" | "rescheduled";
|
|
5117
5421
|
joiningVariant: "automaticZoom" | "coachInstructions" | "coachWillContact";
|
|
5118
5422
|
text: string;
|
|
5119
5423
|
}[];
|
|
5120
5424
|
}>, {
|
|
5121
5425
|
events: {
|
|
5122
5426
|
subject: string;
|
|
5123
|
-
eventKind: "cancelled" | "
|
|
5427
|
+
eventKind: "cancelled" | "confirmation" | "reminder" | "rescheduled";
|
|
5124
5428
|
joiningVariant: "automaticZoom" | "coachInstructions" | "coachWillContact";
|
|
5125
5429
|
text: string;
|
|
5126
5430
|
}[];
|
|
5127
5431
|
}, {
|
|
5128
5432
|
events: {
|
|
5129
5433
|
subject: string;
|
|
5130
|
-
eventKind: "cancelled" | "
|
|
5434
|
+
eventKind: "cancelled" | "confirmation" | "reminder" | "rescheduled";
|
|
5131
5435
|
joiningVariant: "automaticZoom" | "coachInstructions" | "coachWillContact";
|
|
5132
5436
|
text: string;
|
|
5133
5437
|
}[];
|
|
@@ -5139,13 +5443,13 @@ export declare const bookingCoachNotificationChannelsSchema: z.ZodObject<{
|
|
|
5139
5443
|
coachEmail: z.ZodEnum<["active", "off", "unavailable", "notOffered"]>;
|
|
5140
5444
|
}, "strict", z.ZodTypeAny, {
|
|
5141
5445
|
push: "active" | "unavailable" | "off" | "needsCompatibleApp";
|
|
5446
|
+
calendar: "active" | "unavailable" | "needsAttention" | "notConnected";
|
|
5142
5447
|
webList: "active";
|
|
5143
|
-
calendar: "active" | "needsAttention" | "notConnected" | "unavailable";
|
|
5144
5448
|
coachEmail: "active" | "unavailable" | "off" | "notOffered";
|
|
5145
5449
|
}, {
|
|
5146
5450
|
push: "active" | "unavailable" | "off" | "needsCompatibleApp";
|
|
5451
|
+
calendar: "active" | "unavailable" | "needsAttention" | "notConnected";
|
|
5147
5452
|
webList: "active";
|
|
5148
|
-
calendar: "active" | "needsAttention" | "notConnected" | "unavailable";
|
|
5149
5453
|
coachEmail: "active" | "unavailable" | "off" | "notOffered";
|
|
5150
5454
|
}>;
|
|
5151
5455
|
export declare const bookingAdminWorkspaceSchema: z.ZodObject<{
|
|
@@ -5163,6 +5467,22 @@ export declare const bookingAdminWorkspaceSchema: z.ZodObject<{
|
|
|
5163
5467
|
primaryColor: z.ZodNullable<z.ZodString>;
|
|
5164
5468
|
accentColor: z.ZodNullable<z.ZodString>;
|
|
5165
5469
|
pageSurface: z.ZodOptional<z.ZodEnum<["brand", "neutral"]>>;
|
|
5470
|
+
embedPreferences: z.ZodOptional<z.ZodObject<{
|
|
5471
|
+
colours: z.ZodEnum<["brand", "white"]>;
|
|
5472
|
+
branding: z.ZodEnum<["show", "hide"]>;
|
|
5473
|
+
corners: z.ZodEnum<["rounded", "square"]>;
|
|
5474
|
+
font: z.ZodEnum<["website", "littles"]>;
|
|
5475
|
+
}, "strict", z.ZodTypeAny, {
|
|
5476
|
+
branding: "show" | "hide";
|
|
5477
|
+
colours: "brand" | "white";
|
|
5478
|
+
corners: "rounded" | "square";
|
|
5479
|
+
font: "website" | "littles";
|
|
5480
|
+
}, {
|
|
5481
|
+
branding: "show" | "hide";
|
|
5482
|
+
colours: "brand" | "white";
|
|
5483
|
+
corners: "rounded" | "square";
|
|
5484
|
+
font: "website" | "littles";
|
|
5485
|
+
}>>;
|
|
5166
5486
|
logoAssetId: z.ZodNullable<z.ZodString>;
|
|
5167
5487
|
privacyNoticeVersion: z.ZodString;
|
|
5168
5488
|
privacyNoticeUrl: z.ZodUnion<[z.ZodLiteral<"">, z.ZodEffects<z.ZodString, string, string>]>;
|
|
@@ -5177,13 +5497,13 @@ export declare const bookingAdminWorkspaceSchema: z.ZodObject<{
|
|
|
5177
5497
|
cancelled: z.ZodEffects<z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, string, string>, string, string>>, string | null, string | null>;
|
|
5178
5498
|
}, "strict", z.ZodTypeAny, {
|
|
5179
5499
|
cancelled: string | null;
|
|
5180
|
-
reminder: string | null;
|
|
5181
5500
|
confirmation: string | null;
|
|
5501
|
+
reminder: string | null;
|
|
5182
5502
|
rescheduled: string | null;
|
|
5183
5503
|
}, {
|
|
5184
5504
|
cancelled: string | null;
|
|
5185
|
-
reminder: string | null;
|
|
5186
5505
|
confirmation: string | null;
|
|
5506
|
+
reminder: string | null;
|
|
5187
5507
|
rescheduled: string | null;
|
|
5188
5508
|
}>>;
|
|
5189
5509
|
familyEmailContentRevision: z.ZodOptional<z.ZodString>;
|
|
@@ -5191,27 +5511,27 @@ export declare const bookingAdminWorkspaceSchema: z.ZodObject<{
|
|
|
5191
5511
|
id: z.ZodString;
|
|
5192
5512
|
label: z.ZodString;
|
|
5193
5513
|
requiresDetail: z.ZodBoolean;
|
|
5194
|
-
legacyValue: z.ZodNullable<z.ZodEnum<["googleSearch", "instagram", "recommendation", "existingClient", "other"]>>;
|
|
5514
|
+
legacyValue: z.ZodNullable<z.ZodEnum<["googleSearch", "instagram", "recommendation", "existingClient", "other", "facebook", "anotherFamily"]>>;
|
|
5195
5515
|
}, "strict", z.ZodTypeAny, {
|
|
5196
5516
|
id: string;
|
|
5197
5517
|
label: string;
|
|
5198
5518
|
requiresDetail: boolean;
|
|
5199
|
-
legacyValue: "other" | "instagram" | "googleSearch" | "recommendation" | "existingClient" | null;
|
|
5519
|
+
legacyValue: "other" | "instagram" | "facebook" | "googleSearch" | "recommendation" | "existingClient" | "anotherFamily" | null;
|
|
5200
5520
|
}, {
|
|
5201
5521
|
id: string;
|
|
5202
5522
|
label: string;
|
|
5203
5523
|
requiresDetail: boolean;
|
|
5204
|
-
legacyValue: "other" | "instagram" | "googleSearch" | "recommendation" | "existingClient" | null;
|
|
5524
|
+
legacyValue: "other" | "instagram" | "facebook" | "googleSearch" | "recommendation" | "existingClient" | "anotherFamily" | null;
|
|
5205
5525
|
}>, "many">, {
|
|
5206
5526
|
id: string;
|
|
5207
5527
|
label: string;
|
|
5208
5528
|
requiresDetail: boolean;
|
|
5209
|
-
legacyValue: "other" | "instagram" | "googleSearch" | "recommendation" | "existingClient" | null;
|
|
5529
|
+
legacyValue: "other" | "instagram" | "facebook" | "googleSearch" | "recommendation" | "existingClient" | "anotherFamily" | null;
|
|
5210
5530
|
}[], {
|
|
5211
5531
|
id: string;
|
|
5212
5532
|
label: string;
|
|
5213
5533
|
requiresDetail: boolean;
|
|
5214
|
-
legacyValue: "other" | "instagram" | "googleSearch" | "recommendation" | "existingClient" | null;
|
|
5534
|
+
legacyValue: "other" | "instagram" | "facebook" | "googleSearch" | "recommendation" | "existingClient" | "anotherFamily" | null;
|
|
5215
5535
|
}[]>;
|
|
5216
5536
|
createdAt: z.ZodString;
|
|
5217
5537
|
updatedAt: z.ZodString;
|
|
@@ -5227,27 +5547,33 @@ export declare const bookingAdminWorkspaceSchema: z.ZodObject<{
|
|
|
5227
5547
|
organizationId: string;
|
|
5228
5548
|
coachUserId: string;
|
|
5229
5549
|
displayName: string;
|
|
5230
|
-
privacyNoticeVersion: string;
|
|
5231
|
-
privacyNoticeUrl: string;
|
|
5232
|
-
familyReportedSourceRevision: string;
|
|
5233
5550
|
slug: string;
|
|
5234
5551
|
consultancyName: string;
|
|
5552
|
+
privacyNoticeVersion: string;
|
|
5553
|
+
privacyNoticeUrl: string;
|
|
5235
5554
|
minimumNoticeMinutes: number;
|
|
5236
5555
|
bookingHorizonDays: number;
|
|
5237
5556
|
reminderMinutesBefore: number | null;
|
|
5557
|
+
familyReportedSourceRevision: string;
|
|
5238
5558
|
familyReportedSourceOptions: {
|
|
5239
5559
|
id: string;
|
|
5240
5560
|
label: string;
|
|
5241
5561
|
requiresDetail: boolean;
|
|
5242
|
-
legacyValue: "other" | "instagram" | "googleSearch" | "recommendation" | "existingClient" | null;
|
|
5562
|
+
legacyValue: "other" | "instagram" | "facebook" | "googleSearch" | "recommendation" | "existingClient" | "anotherFamily" | null;
|
|
5243
5563
|
}[];
|
|
5244
5564
|
welcomeMessage?: string | null | undefined;
|
|
5245
5565
|
coachDisplayName?: string | null | undefined;
|
|
5246
5566
|
pageSurface?: "brand" | "neutral" | undefined;
|
|
5567
|
+
embedPreferences?: {
|
|
5568
|
+
branding: "show" | "hide";
|
|
5569
|
+
colours: "brand" | "white";
|
|
5570
|
+
corners: "rounded" | "square";
|
|
5571
|
+
font: "website" | "littles";
|
|
5572
|
+
} | undefined;
|
|
5247
5573
|
familyEmailContent?: {
|
|
5248
5574
|
cancelled: string | null;
|
|
5249
|
-
reminder: string | null;
|
|
5250
5575
|
confirmation: string | null;
|
|
5576
|
+
reminder: string | null;
|
|
5251
5577
|
rescheduled: string | null;
|
|
5252
5578
|
} | undefined;
|
|
5253
5579
|
familyEmailContentRevision?: string | undefined;
|
|
@@ -5263,27 +5589,33 @@ export declare const bookingAdminWorkspaceSchema: z.ZodObject<{
|
|
|
5263
5589
|
organizationId: string;
|
|
5264
5590
|
coachUserId: string;
|
|
5265
5591
|
displayName: string;
|
|
5266
|
-
privacyNoticeVersion: string;
|
|
5267
|
-
privacyNoticeUrl: string;
|
|
5268
|
-
familyReportedSourceRevision: string;
|
|
5269
5592
|
slug: string;
|
|
5270
5593
|
consultancyName: string;
|
|
5594
|
+
privacyNoticeVersion: string;
|
|
5595
|
+
privacyNoticeUrl: string;
|
|
5271
5596
|
minimumNoticeMinutes: number;
|
|
5272
5597
|
bookingHorizonDays: number;
|
|
5273
5598
|
reminderMinutesBefore: number | null;
|
|
5599
|
+
familyReportedSourceRevision: string;
|
|
5274
5600
|
familyReportedSourceOptions: {
|
|
5275
5601
|
id: string;
|
|
5276
5602
|
label: string;
|
|
5277
5603
|
requiresDetail: boolean;
|
|
5278
|
-
legacyValue: "other" | "instagram" | "googleSearch" | "recommendation" | "existingClient" | null;
|
|
5604
|
+
legacyValue: "other" | "instagram" | "facebook" | "googleSearch" | "recommendation" | "existingClient" | "anotherFamily" | null;
|
|
5279
5605
|
}[];
|
|
5280
5606
|
welcomeMessage?: string | null | undefined;
|
|
5281
5607
|
coachDisplayName?: string | null | undefined;
|
|
5282
5608
|
pageSurface?: "brand" | "neutral" | undefined;
|
|
5609
|
+
embedPreferences?: {
|
|
5610
|
+
branding: "show" | "hide";
|
|
5611
|
+
colours: "brand" | "white";
|
|
5612
|
+
corners: "rounded" | "square";
|
|
5613
|
+
font: "website" | "littles";
|
|
5614
|
+
} | undefined;
|
|
5283
5615
|
familyEmailContent?: {
|
|
5284
5616
|
cancelled: string | null;
|
|
5285
|
-
reminder: string | null;
|
|
5286
5617
|
confirmation: string | null;
|
|
5618
|
+
reminder: string | null;
|
|
5287
5619
|
rescheduled: string | null;
|
|
5288
5620
|
} | undefined;
|
|
5289
5621
|
familyEmailContentRevision?: string | undefined;
|
|
@@ -5293,7 +5625,7 @@ export declare const bookingAdminWorkspaceSchema: z.ZodObject<{
|
|
|
5293
5625
|
publicSlug: z.ZodString;
|
|
5294
5626
|
organizationId: z.ZodString;
|
|
5295
5627
|
coachUserId: z.ZodString;
|
|
5296
|
-
deliveryMode: z.ZodEnum<["singleCoach", "chooseCoach", "firstAvailable"]>;
|
|
5628
|
+
deliveryMode: z.ZodEnum<["singleCoach", "chooseCoach", "firstAvailable", "familyCoach"]>;
|
|
5297
5629
|
eligibleCoachUserIds: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
5298
5630
|
name: z.ZodString;
|
|
5299
5631
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -5418,6 +5750,7 @@ export declare const bookingAdminWorkspaceSchema: z.ZodObject<{
|
|
|
5418
5750
|
}[];
|
|
5419
5751
|
}[]>;
|
|
5420
5752
|
}, "strict", z.ZodTypeAny, {
|
|
5753
|
+
revision: string;
|
|
5421
5754
|
questions: {
|
|
5422
5755
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
5423
5756
|
id: string;
|
|
@@ -5430,8 +5763,8 @@ export declare const bookingAdminWorkspaceSchema: z.ZodObject<{
|
|
|
5430
5763
|
label: string;
|
|
5431
5764
|
}[];
|
|
5432
5765
|
}[];
|
|
5433
|
-
revision: string;
|
|
5434
5766
|
}, {
|
|
5767
|
+
revision: string;
|
|
5435
5768
|
questions: {
|
|
5436
5769
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
5437
5770
|
id: string;
|
|
@@ -5444,7 +5777,6 @@ export declare const bookingAdminWorkspaceSchema: z.ZodObject<{
|
|
|
5444
5777
|
label: string;
|
|
5445
5778
|
}[];
|
|
5446
5779
|
}[];
|
|
5447
|
-
revision: string;
|
|
5448
5780
|
}>;
|
|
5449
5781
|
active: z.ZodBoolean;
|
|
5450
5782
|
publicVisible: z.ZodBoolean;
|
|
@@ -5458,7 +5790,10 @@ export declare const bookingAdminWorkspaceSchema: z.ZodObject<{
|
|
|
5458
5790
|
updatedAt: string;
|
|
5459
5791
|
organizationId: string;
|
|
5460
5792
|
coachUserId: string;
|
|
5793
|
+
deliveryMode: "singleCoach" | "chooseCoach" | "firstAvailable" | "familyCoach";
|
|
5794
|
+
publicVisible: boolean;
|
|
5461
5795
|
bookingForm: {
|
|
5796
|
+
revision: string;
|
|
5462
5797
|
questions: {
|
|
5463
5798
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
5464
5799
|
id: string;
|
|
@@ -5471,10 +5806,8 @@ export declare const bookingAdminWorkspaceSchema: z.ZodObject<{
|
|
|
5471
5806
|
label: string;
|
|
5472
5807
|
}[];
|
|
5473
5808
|
}[];
|
|
5474
|
-
revision: string;
|
|
5475
5809
|
};
|
|
5476
5810
|
publicSlug: string;
|
|
5477
|
-
deliveryMode: "singleCoach" | "chooseCoach" | "firstAvailable";
|
|
5478
5811
|
eligibleCoachUserIds: string[];
|
|
5479
5812
|
durationMinutes: number;
|
|
5480
5813
|
bufferBeforeMinutes: number;
|
|
@@ -5485,7 +5818,6 @@ export declare const bookingAdminWorkspaceSchema: z.ZodObject<{
|
|
|
5485
5818
|
automaticMeeting: boolean;
|
|
5486
5819
|
callInstructions?: string | null | undefined;
|
|
5487
5820
|
}[];
|
|
5488
|
-
publicVisible: boolean;
|
|
5489
5821
|
description?: string | null | undefined;
|
|
5490
5822
|
callInstructions?: string | null | undefined;
|
|
5491
5823
|
}, {
|
|
@@ -5496,7 +5828,10 @@ export declare const bookingAdminWorkspaceSchema: z.ZodObject<{
|
|
|
5496
5828
|
updatedAt: string;
|
|
5497
5829
|
organizationId: string;
|
|
5498
5830
|
coachUserId: string;
|
|
5831
|
+
deliveryMode: "singleCoach" | "chooseCoach" | "firstAvailable" | "familyCoach";
|
|
5832
|
+
publicVisible: boolean;
|
|
5499
5833
|
bookingForm: {
|
|
5834
|
+
revision: string;
|
|
5500
5835
|
questions: {
|
|
5501
5836
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
5502
5837
|
id: string;
|
|
@@ -5509,10 +5844,8 @@ export declare const bookingAdminWorkspaceSchema: z.ZodObject<{
|
|
|
5509
5844
|
label: string;
|
|
5510
5845
|
}[];
|
|
5511
5846
|
}[];
|
|
5512
|
-
revision: string;
|
|
5513
5847
|
};
|
|
5514
5848
|
publicSlug: string;
|
|
5515
|
-
deliveryMode: "singleCoach" | "chooseCoach" | "firstAvailable";
|
|
5516
5849
|
eligibleCoachUserIds: string[];
|
|
5517
5850
|
durationMinutes: number;
|
|
5518
5851
|
bufferBeforeMinutes: number;
|
|
@@ -5523,7 +5856,6 @@ export declare const bookingAdminWorkspaceSchema: z.ZodObject<{
|
|
|
5523
5856
|
callInstructions?: string | null | undefined;
|
|
5524
5857
|
automaticMeeting?: boolean | undefined;
|
|
5525
5858
|
}[];
|
|
5526
|
-
publicVisible: boolean;
|
|
5527
5859
|
description?: string | null | undefined;
|
|
5528
5860
|
callInstructions?: string | null | undefined;
|
|
5529
5861
|
}>, "many">;
|
|
@@ -5721,40 +6053,40 @@ export declare const bookingAdminWorkspaceSchema: z.ZodObject<{
|
|
|
5721
6053
|
text: z.ZodString;
|
|
5722
6054
|
}, "strict", z.ZodTypeAny, {
|
|
5723
6055
|
subject: string;
|
|
5724
|
-
eventKind: "cancelled" | "
|
|
6056
|
+
eventKind: "cancelled" | "confirmation" | "reminder" | "rescheduled";
|
|
5725
6057
|
joiningVariant: "automaticZoom" | "coachInstructions" | "coachWillContact";
|
|
5726
6058
|
text: string;
|
|
5727
6059
|
}, {
|
|
5728
6060
|
subject: string;
|
|
5729
|
-
eventKind: "cancelled" | "
|
|
6061
|
+
eventKind: "cancelled" | "confirmation" | "reminder" | "rescheduled";
|
|
5730
6062
|
joiningVariant: "automaticZoom" | "coachInstructions" | "coachWillContact";
|
|
5731
6063
|
text: string;
|
|
5732
6064
|
}>, "many">;
|
|
5733
6065
|
}, "strict", z.ZodTypeAny, {
|
|
5734
6066
|
events: {
|
|
5735
6067
|
subject: string;
|
|
5736
|
-
eventKind: "cancelled" | "
|
|
6068
|
+
eventKind: "cancelled" | "confirmation" | "reminder" | "rescheduled";
|
|
5737
6069
|
joiningVariant: "automaticZoom" | "coachInstructions" | "coachWillContact";
|
|
5738
6070
|
text: string;
|
|
5739
6071
|
}[];
|
|
5740
6072
|
}, {
|
|
5741
6073
|
events: {
|
|
5742
6074
|
subject: string;
|
|
5743
|
-
eventKind: "cancelled" | "
|
|
6075
|
+
eventKind: "cancelled" | "confirmation" | "reminder" | "rescheduled";
|
|
5744
6076
|
joiningVariant: "automaticZoom" | "coachInstructions" | "coachWillContact";
|
|
5745
6077
|
text: string;
|
|
5746
6078
|
}[];
|
|
5747
6079
|
}>, {
|
|
5748
6080
|
events: {
|
|
5749
6081
|
subject: string;
|
|
5750
|
-
eventKind: "cancelled" | "
|
|
6082
|
+
eventKind: "cancelled" | "confirmation" | "reminder" | "rescheduled";
|
|
5751
6083
|
joiningVariant: "automaticZoom" | "coachInstructions" | "coachWillContact";
|
|
5752
6084
|
text: string;
|
|
5753
6085
|
}[];
|
|
5754
6086
|
}, {
|
|
5755
6087
|
events: {
|
|
5756
6088
|
subject: string;
|
|
5757
|
-
eventKind: "cancelled" | "
|
|
6089
|
+
eventKind: "cancelled" | "confirmation" | "reminder" | "rescheduled";
|
|
5758
6090
|
joiningVariant: "automaticZoom" | "coachInstructions" | "coachWillContact";
|
|
5759
6091
|
text: string;
|
|
5760
6092
|
}[];
|
|
@@ -5766,13 +6098,13 @@ export declare const bookingAdminWorkspaceSchema: z.ZodObject<{
|
|
|
5766
6098
|
coachEmail: z.ZodEnum<["active", "off", "unavailable", "notOffered"]>;
|
|
5767
6099
|
}, "strict", z.ZodTypeAny, {
|
|
5768
6100
|
push: "active" | "unavailable" | "off" | "needsCompatibleApp";
|
|
6101
|
+
calendar: "active" | "unavailable" | "needsAttention" | "notConnected";
|
|
5769
6102
|
webList: "active";
|
|
5770
|
-
calendar: "active" | "needsAttention" | "notConnected" | "unavailable";
|
|
5771
6103
|
coachEmail: "active" | "unavailable" | "off" | "notOffered";
|
|
5772
6104
|
}, {
|
|
5773
6105
|
push: "active" | "unavailable" | "off" | "needsCompatibleApp";
|
|
6106
|
+
calendar: "active" | "unavailable" | "needsAttention" | "notConnected";
|
|
5774
6107
|
webList: "active";
|
|
5775
|
-
calendar: "active" | "needsAttention" | "notConnected" | "unavailable";
|
|
5776
6108
|
coachEmail: "active" | "unavailable" | "off" | "notOffered";
|
|
5777
6109
|
}>>;
|
|
5778
6110
|
publicEligibility: z.ZodObject<{
|
|
@@ -5794,7 +6126,10 @@ export declare const bookingAdminWorkspaceSchema: z.ZodObject<{
|
|
|
5794
6126
|
updatedAt: string;
|
|
5795
6127
|
organizationId: string;
|
|
5796
6128
|
coachUserId: string;
|
|
6129
|
+
deliveryMode: "singleCoach" | "chooseCoach" | "firstAvailable" | "familyCoach";
|
|
6130
|
+
publicVisible: boolean;
|
|
5797
6131
|
bookingForm: {
|
|
6132
|
+
revision: string;
|
|
5798
6133
|
questions: {
|
|
5799
6134
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
5800
6135
|
id: string;
|
|
@@ -5807,10 +6142,8 @@ export declare const bookingAdminWorkspaceSchema: z.ZodObject<{
|
|
|
5807
6142
|
label: string;
|
|
5808
6143
|
}[];
|
|
5809
6144
|
}[];
|
|
5810
|
-
revision: string;
|
|
5811
6145
|
};
|
|
5812
6146
|
publicSlug: string;
|
|
5813
|
-
deliveryMode: "singleCoach" | "chooseCoach" | "firstAvailable";
|
|
5814
6147
|
eligibleCoachUserIds: string[];
|
|
5815
6148
|
durationMinutes: number;
|
|
5816
6149
|
bufferBeforeMinutes: number;
|
|
@@ -5821,7 +6154,6 @@ export declare const bookingAdminWorkspaceSchema: z.ZodObject<{
|
|
|
5821
6154
|
automaticMeeting: boolean;
|
|
5822
6155
|
callInstructions?: string | null | undefined;
|
|
5823
6156
|
}[];
|
|
5824
|
-
publicVisible: boolean;
|
|
5825
6157
|
description?: string | null | undefined;
|
|
5826
6158
|
callInstructions?: string | null | undefined;
|
|
5827
6159
|
}[];
|
|
@@ -5843,27 +6175,33 @@ export declare const bookingAdminWorkspaceSchema: z.ZodObject<{
|
|
|
5843
6175
|
organizationId: string;
|
|
5844
6176
|
coachUserId: string;
|
|
5845
6177
|
displayName: string;
|
|
5846
|
-
privacyNoticeVersion: string;
|
|
5847
|
-
privacyNoticeUrl: string;
|
|
5848
|
-
familyReportedSourceRevision: string;
|
|
5849
6178
|
slug: string;
|
|
5850
6179
|
consultancyName: string;
|
|
6180
|
+
privacyNoticeVersion: string;
|
|
6181
|
+
privacyNoticeUrl: string;
|
|
5851
6182
|
minimumNoticeMinutes: number;
|
|
5852
6183
|
bookingHorizonDays: number;
|
|
5853
6184
|
reminderMinutesBefore: number | null;
|
|
6185
|
+
familyReportedSourceRevision: string;
|
|
5854
6186
|
familyReportedSourceOptions: {
|
|
5855
6187
|
id: string;
|
|
5856
6188
|
label: string;
|
|
5857
6189
|
requiresDetail: boolean;
|
|
5858
|
-
legacyValue: "other" | "instagram" | "googleSearch" | "recommendation" | "existingClient" | null;
|
|
6190
|
+
legacyValue: "other" | "instagram" | "facebook" | "googleSearch" | "recommendation" | "existingClient" | "anotherFamily" | null;
|
|
5859
6191
|
}[];
|
|
5860
6192
|
welcomeMessage?: string | null | undefined;
|
|
5861
6193
|
coachDisplayName?: string | null | undefined;
|
|
5862
6194
|
pageSurface?: "brand" | "neutral" | undefined;
|
|
6195
|
+
embedPreferences?: {
|
|
6196
|
+
branding: "show" | "hide";
|
|
6197
|
+
colours: "brand" | "white";
|
|
6198
|
+
corners: "rounded" | "square";
|
|
6199
|
+
font: "website" | "littles";
|
|
6200
|
+
} | undefined;
|
|
5863
6201
|
familyEmailContent?: {
|
|
5864
6202
|
cancelled: string | null;
|
|
5865
|
-
reminder: string | null;
|
|
5866
6203
|
confirmation: string | null;
|
|
6204
|
+
reminder: string | null;
|
|
5867
6205
|
rescheduled: string | null;
|
|
5868
6206
|
} | undefined;
|
|
5869
6207
|
familyEmailContentRevision?: string | undefined;
|
|
@@ -5926,15 +6264,15 @@ export declare const bookingAdminWorkspaceSchema: z.ZodObject<{
|
|
|
5926
6264
|
familyEmailPreviews?: {
|
|
5927
6265
|
events: {
|
|
5928
6266
|
subject: string;
|
|
5929
|
-
eventKind: "cancelled" | "
|
|
6267
|
+
eventKind: "cancelled" | "confirmation" | "reminder" | "rescheduled";
|
|
5930
6268
|
joiningVariant: "automaticZoom" | "coachInstructions" | "coachWillContact";
|
|
5931
6269
|
text: string;
|
|
5932
6270
|
}[];
|
|
5933
6271
|
} | undefined;
|
|
5934
6272
|
notificationChannels?: {
|
|
5935
6273
|
push: "active" | "unavailable" | "off" | "needsCompatibleApp";
|
|
6274
|
+
calendar: "active" | "unavailable" | "needsAttention" | "notConnected";
|
|
5936
6275
|
webList: "active";
|
|
5937
|
-
calendar: "active" | "needsAttention" | "notConnected" | "unavailable";
|
|
5938
6276
|
coachEmail: "active" | "unavailable" | "off" | "notOffered";
|
|
5939
6277
|
} | undefined;
|
|
5940
6278
|
}, {
|
|
@@ -5946,7 +6284,10 @@ export declare const bookingAdminWorkspaceSchema: z.ZodObject<{
|
|
|
5946
6284
|
updatedAt: string;
|
|
5947
6285
|
organizationId: string;
|
|
5948
6286
|
coachUserId: string;
|
|
6287
|
+
deliveryMode: "singleCoach" | "chooseCoach" | "firstAvailable" | "familyCoach";
|
|
6288
|
+
publicVisible: boolean;
|
|
5949
6289
|
bookingForm: {
|
|
6290
|
+
revision: string;
|
|
5950
6291
|
questions: {
|
|
5951
6292
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
5952
6293
|
id: string;
|
|
@@ -5959,10 +6300,8 @@ export declare const bookingAdminWorkspaceSchema: z.ZodObject<{
|
|
|
5959
6300
|
label: string;
|
|
5960
6301
|
}[];
|
|
5961
6302
|
}[];
|
|
5962
|
-
revision: string;
|
|
5963
6303
|
};
|
|
5964
6304
|
publicSlug: string;
|
|
5965
|
-
deliveryMode: "singleCoach" | "chooseCoach" | "firstAvailable";
|
|
5966
6305
|
eligibleCoachUserIds: string[];
|
|
5967
6306
|
durationMinutes: number;
|
|
5968
6307
|
bufferBeforeMinutes: number;
|
|
@@ -5973,7 +6312,6 @@ export declare const bookingAdminWorkspaceSchema: z.ZodObject<{
|
|
|
5973
6312
|
callInstructions?: string | null | undefined;
|
|
5974
6313
|
automaticMeeting?: boolean | undefined;
|
|
5975
6314
|
}[];
|
|
5976
|
-
publicVisible: boolean;
|
|
5977
6315
|
description?: string | null | undefined;
|
|
5978
6316
|
callInstructions?: string | null | undefined;
|
|
5979
6317
|
}[];
|
|
@@ -5995,27 +6333,33 @@ export declare const bookingAdminWorkspaceSchema: z.ZodObject<{
|
|
|
5995
6333
|
organizationId: string;
|
|
5996
6334
|
coachUserId: string;
|
|
5997
6335
|
displayName: string;
|
|
5998
|
-
privacyNoticeVersion: string;
|
|
5999
|
-
privacyNoticeUrl: string;
|
|
6000
|
-
familyReportedSourceRevision: string;
|
|
6001
6336
|
slug: string;
|
|
6002
6337
|
consultancyName: string;
|
|
6338
|
+
privacyNoticeVersion: string;
|
|
6339
|
+
privacyNoticeUrl: string;
|
|
6003
6340
|
minimumNoticeMinutes: number;
|
|
6004
6341
|
bookingHorizonDays: number;
|
|
6005
6342
|
reminderMinutesBefore: number | null;
|
|
6343
|
+
familyReportedSourceRevision: string;
|
|
6006
6344
|
familyReportedSourceOptions: {
|
|
6007
6345
|
id: string;
|
|
6008
6346
|
label: string;
|
|
6009
6347
|
requiresDetail: boolean;
|
|
6010
|
-
legacyValue: "other" | "instagram" | "googleSearch" | "recommendation" | "existingClient" | null;
|
|
6348
|
+
legacyValue: "other" | "instagram" | "facebook" | "googleSearch" | "recommendation" | "existingClient" | "anotherFamily" | null;
|
|
6011
6349
|
}[];
|
|
6012
6350
|
welcomeMessage?: string | null | undefined;
|
|
6013
6351
|
coachDisplayName?: string | null | undefined;
|
|
6014
6352
|
pageSurface?: "brand" | "neutral" | undefined;
|
|
6353
|
+
embedPreferences?: {
|
|
6354
|
+
branding: "show" | "hide";
|
|
6355
|
+
colours: "brand" | "white";
|
|
6356
|
+
corners: "rounded" | "square";
|
|
6357
|
+
font: "website" | "littles";
|
|
6358
|
+
} | undefined;
|
|
6015
6359
|
familyEmailContent?: {
|
|
6016
6360
|
cancelled: string | null;
|
|
6017
|
-
reminder: string | null;
|
|
6018
6361
|
confirmation: string | null;
|
|
6362
|
+
reminder: string | null;
|
|
6019
6363
|
rescheduled: string | null;
|
|
6020
6364
|
} | undefined;
|
|
6021
6365
|
familyEmailContentRevision?: string | undefined;
|
|
@@ -6078,15 +6422,15 @@ export declare const bookingAdminWorkspaceSchema: z.ZodObject<{
|
|
|
6078
6422
|
familyEmailPreviews?: {
|
|
6079
6423
|
events: {
|
|
6080
6424
|
subject: string;
|
|
6081
|
-
eventKind: "cancelled" | "
|
|
6425
|
+
eventKind: "cancelled" | "confirmation" | "reminder" | "rescheduled";
|
|
6082
6426
|
joiningVariant: "automaticZoom" | "coachInstructions" | "coachWillContact";
|
|
6083
6427
|
text: string;
|
|
6084
6428
|
}[];
|
|
6085
6429
|
} | undefined;
|
|
6086
6430
|
notificationChannels?: {
|
|
6087
6431
|
push: "active" | "unavailable" | "off" | "needsCompatibleApp";
|
|
6432
|
+
calendar: "active" | "unavailable" | "needsAttention" | "notConnected";
|
|
6088
6433
|
webList: "active";
|
|
6089
|
-
calendar: "active" | "needsAttention" | "notConnected" | "unavailable";
|
|
6090
6434
|
coachEmail: "active" | "unavailable" | "off" | "notOffered";
|
|
6091
6435
|
} | undefined;
|
|
6092
6436
|
}>;
|
|
@@ -6096,6 +6440,7 @@ export declare const bookingAdminTargetsSchema: z.ZodObject<{
|
|
|
6096
6440
|
organizationName: z.ZodString;
|
|
6097
6441
|
coachUserId: z.ZodString;
|
|
6098
6442
|
coachName: z.ZodString;
|
|
6443
|
+
canManagePractice: z.ZodOptional<z.ZodBoolean>;
|
|
6099
6444
|
actorCapability: z.ZodEnum<["self", "organizationManager"]>;
|
|
6100
6445
|
}, "strip", z.ZodTypeAny, {
|
|
6101
6446
|
organizationId: string;
|
|
@@ -6103,12 +6448,14 @@ export declare const bookingAdminTargetsSchema: z.ZodObject<{
|
|
|
6103
6448
|
coachName: string;
|
|
6104
6449
|
organizationName: string;
|
|
6105
6450
|
actorCapability: "self" | "organizationManager";
|
|
6451
|
+
canManagePractice?: boolean | undefined;
|
|
6106
6452
|
}, {
|
|
6107
6453
|
organizationId: string;
|
|
6108
6454
|
coachUserId: string;
|
|
6109
6455
|
coachName: string;
|
|
6110
6456
|
organizationName: string;
|
|
6111
6457
|
actorCapability: "self" | "organizationManager";
|
|
6458
|
+
canManagePractice?: boolean | undefined;
|
|
6112
6459
|
}>, "many">;
|
|
6113
6460
|
}, "strip", z.ZodTypeAny, {
|
|
6114
6461
|
targets: {
|
|
@@ -6117,6 +6464,7 @@ export declare const bookingAdminTargetsSchema: z.ZodObject<{
|
|
|
6117
6464
|
coachName: string;
|
|
6118
6465
|
organizationName: string;
|
|
6119
6466
|
actorCapability: "self" | "organizationManager";
|
|
6467
|
+
canManagePractice?: boolean | undefined;
|
|
6120
6468
|
}[];
|
|
6121
6469
|
}, {
|
|
6122
6470
|
targets: {
|
|
@@ -6125,6 +6473,7 @@ export declare const bookingAdminTargetsSchema: z.ZodObject<{
|
|
|
6125
6473
|
coachName: string;
|
|
6126
6474
|
organizationName: string;
|
|
6127
6475
|
actorCapability: "self" | "organizationManager";
|
|
6476
|
+
canManagePractice?: boolean | undefined;
|
|
6128
6477
|
}[];
|
|
6129
6478
|
}>;
|
|
6130
6479
|
export declare const bookingPublicPageSchema: z.ZodObject<{
|
|
@@ -6136,6 +6485,22 @@ export declare const bookingPublicPageSchema: z.ZodObject<{
|
|
|
6136
6485
|
primaryColor: z.ZodNullable<z.ZodString>;
|
|
6137
6486
|
accentColor: z.ZodNullable<z.ZodString>;
|
|
6138
6487
|
pageSurface: z.ZodOptional<z.ZodEnum<["brand", "neutral"]>>;
|
|
6488
|
+
embedPreferences: z.ZodOptional<z.ZodObject<{
|
|
6489
|
+
colours: z.ZodEnum<["brand", "white"]>;
|
|
6490
|
+
branding: z.ZodEnum<["show", "hide"]>;
|
|
6491
|
+
corners: z.ZodEnum<["rounded", "square"]>;
|
|
6492
|
+
font: z.ZodEnum<["website", "littles"]>;
|
|
6493
|
+
}, "strict", z.ZodTypeAny, {
|
|
6494
|
+
branding: "show" | "hide";
|
|
6495
|
+
colours: "brand" | "white";
|
|
6496
|
+
corners: "rounded" | "square";
|
|
6497
|
+
font: "website" | "littles";
|
|
6498
|
+
}, {
|
|
6499
|
+
branding: "show" | "hide";
|
|
6500
|
+
colours: "brand" | "white";
|
|
6501
|
+
corners: "rounded" | "square";
|
|
6502
|
+
font: "website" | "littles";
|
|
6503
|
+
}>>;
|
|
6139
6504
|
logoUrl: z.ZodNullable<z.ZodString>;
|
|
6140
6505
|
timeZone: z.ZodEffects<z.ZodString, string, string>;
|
|
6141
6506
|
bookingHorizonDays: z.ZodNumber;
|
|
@@ -6147,7 +6512,7 @@ export declare const bookingPublicPageSchema: z.ZodObject<{
|
|
|
6147
6512
|
id: z.ZodString;
|
|
6148
6513
|
label: z.ZodString;
|
|
6149
6514
|
requiresDetail: z.ZodBoolean;
|
|
6150
|
-
legacyValue: z.ZodNullable<z.ZodEnum<["googleSearch", "instagram", "recommendation", "existingClient", "other"]>>;
|
|
6515
|
+
legacyValue: z.ZodNullable<z.ZodEnum<["googleSearch", "instagram", "recommendation", "existingClient", "other", "facebook", "anotherFamily"]>>;
|
|
6151
6516
|
}, "legacyValue">, "strict", z.ZodTypeAny, {
|
|
6152
6517
|
id: string;
|
|
6153
6518
|
label: string;
|
|
@@ -6172,7 +6537,7 @@ export declare const bookingPublicPageSchema: z.ZodObject<{
|
|
|
6172
6537
|
publicSlug: z.ZodString;
|
|
6173
6538
|
organizationId: z.ZodString;
|
|
6174
6539
|
coachUserId: z.ZodString;
|
|
6175
|
-
deliveryMode: z.ZodEnum<["singleCoach", "chooseCoach", "firstAvailable"]>;
|
|
6540
|
+
deliveryMode: z.ZodEnum<["singleCoach", "chooseCoach", "firstAvailable", "familyCoach"]>;
|
|
6176
6541
|
eligibleCoachUserIds: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
6177
6542
|
name: z.ZodString;
|
|
6178
6543
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -6297,6 +6662,7 @@ export declare const bookingPublicPageSchema: z.ZodObject<{
|
|
|
6297
6662
|
}[];
|
|
6298
6663
|
}[]>;
|
|
6299
6664
|
}, "strict", z.ZodTypeAny, {
|
|
6665
|
+
revision: string;
|
|
6300
6666
|
questions: {
|
|
6301
6667
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
6302
6668
|
id: string;
|
|
@@ -6309,8 +6675,8 @@ export declare const bookingPublicPageSchema: z.ZodObject<{
|
|
|
6309
6675
|
label: string;
|
|
6310
6676
|
}[];
|
|
6311
6677
|
}[];
|
|
6312
|
-
revision: string;
|
|
6313
6678
|
}, {
|
|
6679
|
+
revision: string;
|
|
6314
6680
|
questions: {
|
|
6315
6681
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
6316
6682
|
id: string;
|
|
@@ -6323,23 +6689,25 @@ export declare const bookingPublicPageSchema: z.ZodObject<{
|
|
|
6323
6689
|
label: string;
|
|
6324
6690
|
}[];
|
|
6325
6691
|
}[];
|
|
6326
|
-
revision: string;
|
|
6327
6692
|
}>;
|
|
6328
6693
|
active: z.ZodBoolean;
|
|
6329
6694
|
publicVisible: z.ZodBoolean;
|
|
6330
6695
|
createdAt: z.ZodString;
|
|
6331
6696
|
updatedAt: z.ZodString;
|
|
6332
6697
|
}, "id" | "name" | "description" | "durationMinutes" | "callMethod"> & {
|
|
6333
|
-
deliveryMode: z.ZodEnum<["singleCoach", "chooseCoach", "firstAvailable"]>;
|
|
6698
|
+
deliveryMode: z.ZodEnum<["singleCoach", "chooseCoach", "firstAvailable", "familyCoach"]>;
|
|
6334
6699
|
eligibleCoaches: z.ZodArray<z.ZodObject<{
|
|
6335
6700
|
coachUserId: z.ZodString;
|
|
6336
6701
|
coachName: z.ZodString;
|
|
6702
|
+
about: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6337
6703
|
}, "strict", z.ZodTypeAny, {
|
|
6338
6704
|
coachUserId: string;
|
|
6339
6705
|
coachName: string;
|
|
6706
|
+
about?: string | null | undefined;
|
|
6340
6707
|
}, {
|
|
6341
6708
|
coachUserId: string;
|
|
6342
6709
|
coachName: string;
|
|
6710
|
+
about?: string | null | undefined;
|
|
6343
6711
|
}>, "many">;
|
|
6344
6712
|
callMethods: z.ZodArray<z.ZodEnum<["phone", "whatsappVoice", "whatsappVideo", "zoom", "otherVideo", "inPerson"]>, "many">;
|
|
6345
6713
|
bookingForm: z.ZodObject<{
|
|
@@ -6429,6 +6797,7 @@ export declare const bookingPublicPageSchema: z.ZodObject<{
|
|
|
6429
6797
|
}[];
|
|
6430
6798
|
}[]>;
|
|
6431
6799
|
}, "strict", z.ZodTypeAny, {
|
|
6800
|
+
revision: string;
|
|
6432
6801
|
questions: {
|
|
6433
6802
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
6434
6803
|
id: string;
|
|
@@ -6441,8 +6810,8 @@ export declare const bookingPublicPageSchema: z.ZodObject<{
|
|
|
6441
6810
|
label: string;
|
|
6442
6811
|
}[];
|
|
6443
6812
|
}[];
|
|
6444
|
-
revision: string;
|
|
6445
6813
|
}, {
|
|
6814
|
+
revision: string;
|
|
6446
6815
|
questions: {
|
|
6447
6816
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
6448
6817
|
id: string;
|
|
@@ -6455,12 +6824,13 @@ export declare const bookingPublicPageSchema: z.ZodObject<{
|
|
|
6455
6824
|
label: string;
|
|
6456
6825
|
}[];
|
|
6457
6826
|
}[];
|
|
6458
|
-
revision: string;
|
|
6459
6827
|
}>;
|
|
6460
6828
|
}, "strip", z.ZodTypeAny, {
|
|
6461
6829
|
id: string;
|
|
6462
6830
|
name: string;
|
|
6831
|
+
deliveryMode: "singleCoach" | "chooseCoach" | "firstAvailable" | "familyCoach";
|
|
6463
6832
|
bookingForm: {
|
|
6833
|
+
revision: string;
|
|
6464
6834
|
questions: {
|
|
6465
6835
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
6466
6836
|
id: string;
|
|
@@ -6473,21 +6843,22 @@ export declare const bookingPublicPageSchema: z.ZodObject<{
|
|
|
6473
6843
|
label: string;
|
|
6474
6844
|
}[];
|
|
6475
6845
|
}[];
|
|
6476
|
-
revision: string;
|
|
6477
6846
|
};
|
|
6478
|
-
deliveryMode: "singleCoach" | "chooseCoach" | "firstAvailable";
|
|
6479
6847
|
durationMinutes: number;
|
|
6480
6848
|
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
6481
6849
|
callMethods: ("otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson")[];
|
|
6482
6850
|
eligibleCoaches: {
|
|
6483
6851
|
coachUserId: string;
|
|
6484
6852
|
coachName: string;
|
|
6853
|
+
about?: string | null | undefined;
|
|
6485
6854
|
}[];
|
|
6486
6855
|
description?: string | null | undefined;
|
|
6487
6856
|
}, {
|
|
6488
6857
|
id: string;
|
|
6489
6858
|
name: string;
|
|
6859
|
+
deliveryMode: "singleCoach" | "chooseCoach" | "firstAvailable" | "familyCoach";
|
|
6490
6860
|
bookingForm: {
|
|
6861
|
+
revision: string;
|
|
6491
6862
|
questions: {
|
|
6492
6863
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
6493
6864
|
id: string;
|
|
@@ -6500,15 +6871,14 @@ export declare const bookingPublicPageSchema: z.ZodObject<{
|
|
|
6500
6871
|
label: string;
|
|
6501
6872
|
}[];
|
|
6502
6873
|
}[];
|
|
6503
|
-
revision: string;
|
|
6504
6874
|
};
|
|
6505
|
-
deliveryMode: "singleCoach" | "chooseCoach" | "firstAvailable";
|
|
6506
6875
|
durationMinutes: number;
|
|
6507
6876
|
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
6508
6877
|
callMethods: ("otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson")[];
|
|
6509
6878
|
eligibleCoaches: {
|
|
6510
6879
|
coachUserId: string;
|
|
6511
6880
|
coachName: string;
|
|
6881
|
+
about?: string | null | undefined;
|
|
6512
6882
|
}[];
|
|
6513
6883
|
description?: string | null | undefined;
|
|
6514
6884
|
}>, "many">;
|
|
@@ -6518,23 +6888,23 @@ export declare const bookingPublicPageSchema: z.ZodObject<{
|
|
|
6518
6888
|
accentColor: string | null;
|
|
6519
6889
|
welcomeMessage: string | null;
|
|
6520
6890
|
displayName: string;
|
|
6521
|
-
privacyNoticeVersion: string;
|
|
6522
|
-
privacyNoticeUrl: string;
|
|
6523
|
-
familyReportedSourceRevision: string;
|
|
6524
6891
|
slug: string;
|
|
6525
6892
|
consultancyName: string;
|
|
6893
|
+
privacyNoticeVersion: string;
|
|
6894
|
+
privacyNoticeUrl: string;
|
|
6526
6895
|
bookingHorizonDays: number;
|
|
6896
|
+
familyReportedSourceRevision: string;
|
|
6527
6897
|
familyReportedSourceOptions: {
|
|
6528
6898
|
id: string;
|
|
6529
6899
|
label: string;
|
|
6530
6900
|
requiresDetail: boolean;
|
|
6531
6901
|
}[];
|
|
6532
|
-
logoUrl: string | null;
|
|
6533
|
-
leadCaptureEnabled: boolean;
|
|
6534
6902
|
services: {
|
|
6535
6903
|
id: string;
|
|
6536
6904
|
name: string;
|
|
6905
|
+
deliveryMode: "singleCoach" | "chooseCoach" | "firstAvailable" | "familyCoach";
|
|
6537
6906
|
bookingForm: {
|
|
6907
|
+
revision: string;
|
|
6538
6908
|
questions: {
|
|
6539
6909
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
6540
6910
|
id: string;
|
|
@@ -6547,20 +6917,27 @@ export declare const bookingPublicPageSchema: z.ZodObject<{
|
|
|
6547
6917
|
label: string;
|
|
6548
6918
|
}[];
|
|
6549
6919
|
}[];
|
|
6550
|
-
revision: string;
|
|
6551
6920
|
};
|
|
6552
|
-
deliveryMode: "singleCoach" | "chooseCoach" | "firstAvailable";
|
|
6553
6921
|
durationMinutes: number;
|
|
6554
6922
|
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
6555
6923
|
callMethods: ("otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson")[];
|
|
6556
6924
|
eligibleCoaches: {
|
|
6557
6925
|
coachUserId: string;
|
|
6558
6926
|
coachName: string;
|
|
6927
|
+
about?: string | null | undefined;
|
|
6559
6928
|
}[];
|
|
6560
6929
|
description?: string | null | undefined;
|
|
6561
6930
|
}[];
|
|
6931
|
+
logoUrl: string | null;
|
|
6932
|
+
leadCaptureEnabled: boolean;
|
|
6562
6933
|
coachDisplayName?: string | null | undefined;
|
|
6563
6934
|
pageSurface?: "brand" | "neutral" | undefined;
|
|
6935
|
+
embedPreferences?: {
|
|
6936
|
+
branding: "show" | "hide";
|
|
6937
|
+
colours: "brand" | "white";
|
|
6938
|
+
corners: "rounded" | "square";
|
|
6939
|
+
font: "website" | "littles";
|
|
6940
|
+
} | undefined;
|
|
6564
6941
|
collection?: {
|
|
6565
6942
|
title?: string | null | undefined;
|
|
6566
6943
|
introduction?: string | null | undefined;
|
|
@@ -6571,23 +6948,23 @@ export declare const bookingPublicPageSchema: z.ZodObject<{
|
|
|
6571
6948
|
accentColor: string | null;
|
|
6572
6949
|
welcomeMessage: string | null;
|
|
6573
6950
|
displayName: string;
|
|
6574
|
-
privacyNoticeVersion: string;
|
|
6575
|
-
privacyNoticeUrl: string;
|
|
6576
|
-
familyReportedSourceRevision: string;
|
|
6577
6951
|
slug: string;
|
|
6578
6952
|
consultancyName: string;
|
|
6953
|
+
privacyNoticeVersion: string;
|
|
6954
|
+
privacyNoticeUrl: string;
|
|
6579
6955
|
bookingHorizonDays: number;
|
|
6956
|
+
familyReportedSourceRevision: string;
|
|
6580
6957
|
familyReportedSourceOptions: {
|
|
6581
6958
|
id: string;
|
|
6582
6959
|
label: string;
|
|
6583
6960
|
requiresDetail: boolean;
|
|
6584
6961
|
}[];
|
|
6585
|
-
logoUrl: string | null;
|
|
6586
|
-
leadCaptureEnabled: boolean;
|
|
6587
6962
|
services: {
|
|
6588
6963
|
id: string;
|
|
6589
6964
|
name: string;
|
|
6965
|
+
deliveryMode: "singleCoach" | "chooseCoach" | "firstAvailable" | "familyCoach";
|
|
6590
6966
|
bookingForm: {
|
|
6967
|
+
revision: string;
|
|
6591
6968
|
questions: {
|
|
6592
6969
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
6593
6970
|
id: string;
|
|
@@ -6600,20 +6977,27 @@ export declare const bookingPublicPageSchema: z.ZodObject<{
|
|
|
6600
6977
|
label: string;
|
|
6601
6978
|
}[];
|
|
6602
6979
|
}[];
|
|
6603
|
-
revision: string;
|
|
6604
6980
|
};
|
|
6605
|
-
deliveryMode: "singleCoach" | "chooseCoach" | "firstAvailable";
|
|
6606
6981
|
durationMinutes: number;
|
|
6607
6982
|
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
6608
6983
|
callMethods: ("otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson")[];
|
|
6609
6984
|
eligibleCoaches: {
|
|
6610
6985
|
coachUserId: string;
|
|
6611
6986
|
coachName: string;
|
|
6987
|
+
about?: string | null | undefined;
|
|
6612
6988
|
}[];
|
|
6613
6989
|
description?: string | null | undefined;
|
|
6614
6990
|
}[];
|
|
6991
|
+
logoUrl: string | null;
|
|
6992
|
+
leadCaptureEnabled: boolean;
|
|
6615
6993
|
coachDisplayName?: string | null | undefined;
|
|
6616
6994
|
pageSurface?: "brand" | "neutral" | undefined;
|
|
6995
|
+
embedPreferences?: {
|
|
6996
|
+
branding: "show" | "hide";
|
|
6997
|
+
colours: "brand" | "white";
|
|
6998
|
+
corners: "rounded" | "square";
|
|
6999
|
+
font: "website" | "littles";
|
|
7000
|
+
} | undefined;
|
|
6617
7001
|
collection?: {
|
|
6618
7002
|
title?: string | null | undefined;
|
|
6619
7003
|
introduction?: string | null | undefined;
|
|
@@ -6628,6 +7012,22 @@ export declare const bookingPreviewPageSchema: z.ZodObject<Omit<{
|
|
|
6628
7012
|
primaryColor: z.ZodNullable<z.ZodString>;
|
|
6629
7013
|
accentColor: z.ZodNullable<z.ZodString>;
|
|
6630
7014
|
pageSurface: z.ZodOptional<z.ZodEnum<["brand", "neutral"]>>;
|
|
7015
|
+
embedPreferences: z.ZodOptional<z.ZodObject<{
|
|
7016
|
+
colours: z.ZodEnum<["brand", "white"]>;
|
|
7017
|
+
branding: z.ZodEnum<["show", "hide"]>;
|
|
7018
|
+
corners: z.ZodEnum<["rounded", "square"]>;
|
|
7019
|
+
font: z.ZodEnum<["website", "littles"]>;
|
|
7020
|
+
}, "strict", z.ZodTypeAny, {
|
|
7021
|
+
branding: "show" | "hide";
|
|
7022
|
+
colours: "brand" | "white";
|
|
7023
|
+
corners: "rounded" | "square";
|
|
7024
|
+
font: "website" | "littles";
|
|
7025
|
+
}, {
|
|
7026
|
+
branding: "show" | "hide";
|
|
7027
|
+
colours: "brand" | "white";
|
|
7028
|
+
corners: "rounded" | "square";
|
|
7029
|
+
font: "website" | "littles";
|
|
7030
|
+
}>>;
|
|
6631
7031
|
logoUrl: z.ZodNullable<z.ZodString>;
|
|
6632
7032
|
timeZone: z.ZodEffects<z.ZodString, string, string>;
|
|
6633
7033
|
bookingHorizonDays: z.ZodNumber;
|
|
@@ -6639,7 +7039,7 @@ export declare const bookingPreviewPageSchema: z.ZodObject<Omit<{
|
|
|
6639
7039
|
id: z.ZodString;
|
|
6640
7040
|
label: z.ZodString;
|
|
6641
7041
|
requiresDetail: z.ZodBoolean;
|
|
6642
|
-
legacyValue: z.ZodNullable<z.ZodEnum<["googleSearch", "instagram", "recommendation", "existingClient", "other"]>>;
|
|
7042
|
+
legacyValue: z.ZodNullable<z.ZodEnum<["googleSearch", "instagram", "recommendation", "existingClient", "other", "facebook", "anotherFamily"]>>;
|
|
6643
7043
|
}, "legacyValue">, "strict", z.ZodTypeAny, {
|
|
6644
7044
|
id: string;
|
|
6645
7045
|
label: string;
|
|
@@ -6664,7 +7064,7 @@ export declare const bookingPreviewPageSchema: z.ZodObject<Omit<{
|
|
|
6664
7064
|
publicSlug: z.ZodString;
|
|
6665
7065
|
organizationId: z.ZodString;
|
|
6666
7066
|
coachUserId: z.ZodString;
|
|
6667
|
-
deliveryMode: z.ZodEnum<["singleCoach", "chooseCoach", "firstAvailable"]>;
|
|
7067
|
+
deliveryMode: z.ZodEnum<["singleCoach", "chooseCoach", "firstAvailable", "familyCoach"]>;
|
|
6668
7068
|
eligibleCoachUserIds: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
6669
7069
|
name: z.ZodString;
|
|
6670
7070
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -6789,6 +7189,7 @@ export declare const bookingPreviewPageSchema: z.ZodObject<Omit<{
|
|
|
6789
7189
|
}[];
|
|
6790
7190
|
}[]>;
|
|
6791
7191
|
}, "strict", z.ZodTypeAny, {
|
|
7192
|
+
revision: string;
|
|
6792
7193
|
questions: {
|
|
6793
7194
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
6794
7195
|
id: string;
|
|
@@ -6801,8 +7202,8 @@ export declare const bookingPreviewPageSchema: z.ZodObject<Omit<{
|
|
|
6801
7202
|
label: string;
|
|
6802
7203
|
}[];
|
|
6803
7204
|
}[];
|
|
6804
|
-
revision: string;
|
|
6805
7205
|
}, {
|
|
7206
|
+
revision: string;
|
|
6806
7207
|
questions: {
|
|
6807
7208
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
6808
7209
|
id: string;
|
|
@@ -6815,23 +7216,25 @@ export declare const bookingPreviewPageSchema: z.ZodObject<Omit<{
|
|
|
6815
7216
|
label: string;
|
|
6816
7217
|
}[];
|
|
6817
7218
|
}[];
|
|
6818
|
-
revision: string;
|
|
6819
7219
|
}>;
|
|
6820
7220
|
active: z.ZodBoolean;
|
|
6821
7221
|
publicVisible: z.ZodBoolean;
|
|
6822
7222
|
createdAt: z.ZodString;
|
|
6823
7223
|
updatedAt: z.ZodString;
|
|
6824
7224
|
}, "id" | "name" | "description" | "durationMinutes" | "callMethod"> & {
|
|
6825
|
-
deliveryMode: z.ZodEnum<["singleCoach", "chooseCoach", "firstAvailable"]>;
|
|
7225
|
+
deliveryMode: z.ZodEnum<["singleCoach", "chooseCoach", "firstAvailable", "familyCoach"]>;
|
|
6826
7226
|
eligibleCoaches: z.ZodArray<z.ZodObject<{
|
|
6827
7227
|
coachUserId: z.ZodString;
|
|
6828
7228
|
coachName: z.ZodString;
|
|
7229
|
+
about: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6829
7230
|
}, "strict", z.ZodTypeAny, {
|
|
6830
7231
|
coachUserId: string;
|
|
6831
7232
|
coachName: string;
|
|
7233
|
+
about?: string | null | undefined;
|
|
6832
7234
|
}, {
|
|
6833
7235
|
coachUserId: string;
|
|
6834
7236
|
coachName: string;
|
|
7237
|
+
about?: string | null | undefined;
|
|
6835
7238
|
}>, "many">;
|
|
6836
7239
|
callMethods: z.ZodArray<z.ZodEnum<["phone", "whatsappVoice", "whatsappVideo", "zoom", "otherVideo", "inPerson"]>, "many">;
|
|
6837
7240
|
bookingForm: z.ZodObject<{
|
|
@@ -6921,6 +7324,7 @@ export declare const bookingPreviewPageSchema: z.ZodObject<Omit<{
|
|
|
6921
7324
|
}[];
|
|
6922
7325
|
}[]>;
|
|
6923
7326
|
}, "strict", z.ZodTypeAny, {
|
|
7327
|
+
revision: string;
|
|
6924
7328
|
questions: {
|
|
6925
7329
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
6926
7330
|
id: string;
|
|
@@ -6933,8 +7337,8 @@ export declare const bookingPreviewPageSchema: z.ZodObject<Omit<{
|
|
|
6933
7337
|
label: string;
|
|
6934
7338
|
}[];
|
|
6935
7339
|
}[];
|
|
6936
|
-
revision: string;
|
|
6937
7340
|
}, {
|
|
7341
|
+
revision: string;
|
|
6938
7342
|
questions: {
|
|
6939
7343
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
6940
7344
|
id: string;
|
|
@@ -6947,12 +7351,13 @@ export declare const bookingPreviewPageSchema: z.ZodObject<Omit<{
|
|
|
6947
7351
|
label: string;
|
|
6948
7352
|
}[];
|
|
6949
7353
|
}[];
|
|
6950
|
-
revision: string;
|
|
6951
7354
|
}>;
|
|
6952
7355
|
}, "strip", z.ZodTypeAny, {
|
|
6953
7356
|
id: string;
|
|
6954
7357
|
name: string;
|
|
7358
|
+
deliveryMode: "singleCoach" | "chooseCoach" | "firstAvailable" | "familyCoach";
|
|
6955
7359
|
bookingForm: {
|
|
7360
|
+
revision: string;
|
|
6956
7361
|
questions: {
|
|
6957
7362
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
6958
7363
|
id: string;
|
|
@@ -6965,21 +7370,22 @@ export declare const bookingPreviewPageSchema: z.ZodObject<Omit<{
|
|
|
6965
7370
|
label: string;
|
|
6966
7371
|
}[];
|
|
6967
7372
|
}[];
|
|
6968
|
-
revision: string;
|
|
6969
7373
|
};
|
|
6970
|
-
deliveryMode: "singleCoach" | "chooseCoach" | "firstAvailable";
|
|
6971
7374
|
durationMinutes: number;
|
|
6972
7375
|
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
6973
7376
|
callMethods: ("otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson")[];
|
|
6974
7377
|
eligibleCoaches: {
|
|
6975
7378
|
coachUserId: string;
|
|
6976
7379
|
coachName: string;
|
|
7380
|
+
about?: string | null | undefined;
|
|
6977
7381
|
}[];
|
|
6978
7382
|
description?: string | null | undefined;
|
|
6979
7383
|
}, {
|
|
6980
7384
|
id: string;
|
|
6981
7385
|
name: string;
|
|
7386
|
+
deliveryMode: "singleCoach" | "chooseCoach" | "firstAvailable" | "familyCoach";
|
|
6982
7387
|
bookingForm: {
|
|
7388
|
+
revision: string;
|
|
6983
7389
|
questions: {
|
|
6984
7390
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
6985
7391
|
id: string;
|
|
@@ -6992,15 +7398,14 @@ export declare const bookingPreviewPageSchema: z.ZodObject<Omit<{
|
|
|
6992
7398
|
label: string;
|
|
6993
7399
|
}[];
|
|
6994
7400
|
}[];
|
|
6995
|
-
revision: string;
|
|
6996
7401
|
};
|
|
6997
|
-
deliveryMode: "singleCoach" | "chooseCoach" | "firstAvailable";
|
|
6998
7402
|
durationMinutes: number;
|
|
6999
7403
|
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
7000
7404
|
callMethods: ("otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson")[];
|
|
7001
7405
|
eligibleCoaches: {
|
|
7002
7406
|
coachUserId: string;
|
|
7003
7407
|
coachName: string;
|
|
7408
|
+
about?: string | null | undefined;
|
|
7004
7409
|
}[];
|
|
7005
7410
|
description?: string | null | undefined;
|
|
7006
7411
|
}>, "many">;
|
|
@@ -7014,23 +7419,23 @@ export declare const bookingPreviewPageSchema: z.ZodObject<Omit<{
|
|
|
7014
7419
|
accentColor: string | null;
|
|
7015
7420
|
welcomeMessage: string | null;
|
|
7016
7421
|
displayName: string;
|
|
7017
|
-
privacyNoticeVersion: string;
|
|
7018
|
-
privacyNoticeUrl: string;
|
|
7019
|
-
familyReportedSourceRevision: string;
|
|
7020
7422
|
slug: string;
|
|
7021
7423
|
consultancyName: string;
|
|
7424
|
+
privacyNoticeVersion: string;
|
|
7425
|
+
privacyNoticeUrl: string;
|
|
7022
7426
|
bookingHorizonDays: number;
|
|
7427
|
+
familyReportedSourceRevision: string;
|
|
7023
7428
|
familyReportedSourceOptions: {
|
|
7024
7429
|
id: string;
|
|
7025
7430
|
label: string;
|
|
7026
7431
|
requiresDetail: boolean;
|
|
7027
7432
|
}[];
|
|
7028
|
-
logoUrl: string | null;
|
|
7029
|
-
leadCaptureEnabled: boolean;
|
|
7030
7433
|
services: {
|
|
7031
7434
|
id: string;
|
|
7032
7435
|
name: string;
|
|
7436
|
+
deliveryMode: "singleCoach" | "chooseCoach" | "firstAvailable" | "familyCoach";
|
|
7033
7437
|
bookingForm: {
|
|
7438
|
+
revision: string;
|
|
7034
7439
|
questions: {
|
|
7035
7440
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
7036
7441
|
id: string;
|
|
@@ -7043,20 +7448,27 @@ export declare const bookingPreviewPageSchema: z.ZodObject<Omit<{
|
|
|
7043
7448
|
label: string;
|
|
7044
7449
|
}[];
|
|
7045
7450
|
}[];
|
|
7046
|
-
revision: string;
|
|
7047
7451
|
};
|
|
7048
|
-
deliveryMode: "singleCoach" | "chooseCoach" | "firstAvailable";
|
|
7049
7452
|
durationMinutes: number;
|
|
7050
7453
|
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
7051
7454
|
callMethods: ("otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson")[];
|
|
7052
7455
|
eligibleCoaches: {
|
|
7053
7456
|
coachUserId: string;
|
|
7054
7457
|
coachName: string;
|
|
7458
|
+
about?: string | null | undefined;
|
|
7055
7459
|
}[];
|
|
7056
7460
|
description?: string | null | undefined;
|
|
7057
7461
|
}[];
|
|
7462
|
+
logoUrl: string | null;
|
|
7463
|
+
leadCaptureEnabled: boolean;
|
|
7058
7464
|
coachDisplayName?: string | null | undefined;
|
|
7059
7465
|
pageSurface?: "brand" | "neutral" | undefined;
|
|
7466
|
+
embedPreferences?: {
|
|
7467
|
+
branding: "show" | "hide";
|
|
7468
|
+
colours: "brand" | "white";
|
|
7469
|
+
corners: "rounded" | "square";
|
|
7470
|
+
font: "website" | "littles";
|
|
7471
|
+
} | undefined;
|
|
7060
7472
|
collection?: {
|
|
7061
7473
|
title?: string | null | undefined;
|
|
7062
7474
|
introduction?: string | null | undefined;
|
|
@@ -7068,23 +7480,23 @@ export declare const bookingPreviewPageSchema: z.ZodObject<Omit<{
|
|
|
7068
7480
|
accentColor: string | null;
|
|
7069
7481
|
welcomeMessage: string | null;
|
|
7070
7482
|
displayName: string;
|
|
7071
|
-
privacyNoticeVersion: string;
|
|
7072
|
-
privacyNoticeUrl: string;
|
|
7073
|
-
familyReportedSourceRevision: string;
|
|
7074
7483
|
slug: string;
|
|
7075
7484
|
consultancyName: string;
|
|
7485
|
+
privacyNoticeVersion: string;
|
|
7486
|
+
privacyNoticeUrl: string;
|
|
7076
7487
|
bookingHorizonDays: number;
|
|
7488
|
+
familyReportedSourceRevision: string;
|
|
7077
7489
|
familyReportedSourceOptions: {
|
|
7078
7490
|
id: string;
|
|
7079
7491
|
label: string;
|
|
7080
7492
|
requiresDetail: boolean;
|
|
7081
7493
|
}[];
|
|
7082
|
-
logoUrl: string | null;
|
|
7083
|
-
leadCaptureEnabled: boolean;
|
|
7084
7494
|
services: {
|
|
7085
7495
|
id: string;
|
|
7086
7496
|
name: string;
|
|
7497
|
+
deliveryMode: "singleCoach" | "chooseCoach" | "firstAvailable" | "familyCoach";
|
|
7087
7498
|
bookingForm: {
|
|
7499
|
+
revision: string;
|
|
7088
7500
|
questions: {
|
|
7089
7501
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
7090
7502
|
id: string;
|
|
@@ -7097,20 +7509,27 @@ export declare const bookingPreviewPageSchema: z.ZodObject<Omit<{
|
|
|
7097
7509
|
label: string;
|
|
7098
7510
|
}[];
|
|
7099
7511
|
}[];
|
|
7100
|
-
revision: string;
|
|
7101
7512
|
};
|
|
7102
|
-
deliveryMode: "singleCoach" | "chooseCoach" | "firstAvailable";
|
|
7103
7513
|
durationMinutes: number;
|
|
7104
7514
|
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
7105
7515
|
callMethods: ("otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson")[];
|
|
7106
7516
|
eligibleCoaches: {
|
|
7107
7517
|
coachUserId: string;
|
|
7108
7518
|
coachName: string;
|
|
7519
|
+
about?: string | null | undefined;
|
|
7109
7520
|
}[];
|
|
7110
7521
|
description?: string | null | undefined;
|
|
7111
7522
|
}[];
|
|
7523
|
+
logoUrl: string | null;
|
|
7524
|
+
leadCaptureEnabled: boolean;
|
|
7112
7525
|
coachDisplayName?: string | null | undefined;
|
|
7113
7526
|
pageSurface?: "brand" | "neutral" | undefined;
|
|
7527
|
+
embedPreferences?: {
|
|
7528
|
+
branding: "show" | "hide";
|
|
7529
|
+
colours: "brand" | "white";
|
|
7530
|
+
corners: "rounded" | "square";
|
|
7531
|
+
font: "website" | "littles";
|
|
7532
|
+
} | undefined;
|
|
7114
7533
|
collection?: {
|
|
7115
7534
|
title?: string | null | undefined;
|
|
7116
7535
|
introduction?: string | null | undefined;
|
|
@@ -7181,7 +7600,7 @@ export declare const publicBookingCreateRequestSchema: z.ZodEffects<z.ZodObject<
|
|
|
7181
7600
|
privacyNoticeVersion: z.ZodString;
|
|
7182
7601
|
callMethod: z.ZodOptional<z.ZodEnum<["phone", "whatsappVoice", "whatsappVideo", "zoom", "otherVideo", "inPerson"]>>;
|
|
7183
7602
|
displayTimeZone: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
7184
|
-
familyReportedSource: z.ZodOptional<z.ZodEnum<["googleSearch", "instagram", "recommendation", "existingClient", "other"]>>;
|
|
7603
|
+
familyReportedSource: z.ZodOptional<z.ZodEnum<["googleSearch", "instagram", "recommendation", "existingClient", "other", "facebook", "anotherFamily"]>>;
|
|
7185
7604
|
familyReportedSourceOtherText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7186
7605
|
familyReportedSourceOptionId: z.ZodOptional<z.ZodString>;
|
|
7187
7606
|
familyReportedSourceRevision: z.ZodOptional<z.ZodString>;
|
|
@@ -7348,17 +7767,17 @@ export declare const publicBookingCreateRequestSchema: z.ZodEffects<z.ZodObject<
|
|
|
7348
7767
|
childAgeText: z.ZodOptional<z.ZodString>;
|
|
7349
7768
|
childAgeBand: z.ZodOptional<z.ZodEnum<["expecting", "under3Months", "3To5Months", "6To8Months", "9To12Months", "13To18Months", "19To24Months", "over2Years"]>>;
|
|
7350
7769
|
}, "strict", z.ZodTypeAny, {
|
|
7770
|
+
privacyNoticeVersion: string;
|
|
7351
7771
|
caregiverEmail: string;
|
|
7352
7772
|
childFirstName: string;
|
|
7353
7773
|
privacyAccepted: true;
|
|
7354
|
-
privacyNoticeVersion: string;
|
|
7355
7774
|
idempotencyKey: string;
|
|
7356
7775
|
challengeToken: string;
|
|
7357
7776
|
offer: string;
|
|
7358
7777
|
caregiverName: string;
|
|
7778
|
+
familyReportedSourceRevision?: string | undefined;
|
|
7359
7779
|
caregiverPhone?: string | null | undefined;
|
|
7360
7780
|
childAgeText?: string | undefined;
|
|
7361
|
-
familyReportedSourceRevision?: string | undefined;
|
|
7362
7781
|
familyReportedSourceOptionId?: string | undefined;
|
|
7363
7782
|
familyReportedSourceDetail?: string | null | undefined;
|
|
7364
7783
|
bookingForm?: {
|
|
@@ -7387,21 +7806,21 @@ export declare const publicBookingCreateRequestSchema: z.ZodEffects<z.ZodObject<
|
|
|
7387
7806
|
} | undefined;
|
|
7388
7807
|
callMethod?: "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson" | undefined;
|
|
7389
7808
|
displayTimeZone?: string | undefined;
|
|
7390
|
-
familyReportedSource?: "other" | "instagram" | "googleSearch" | "recommendation" | "existingClient" | undefined;
|
|
7809
|
+
familyReportedSource?: "other" | "instagram" | "facebook" | "googleSearch" | "recommendation" | "existingClient" | "anotherFamily" | undefined;
|
|
7391
7810
|
familyReportedSourceOtherText?: string | null | undefined;
|
|
7392
7811
|
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
7393
7812
|
}, {
|
|
7813
|
+
privacyNoticeVersion: string;
|
|
7394
7814
|
caregiverEmail: string;
|
|
7395
7815
|
childFirstName: string;
|
|
7396
7816
|
privacyAccepted: true;
|
|
7397
|
-
privacyNoticeVersion: string;
|
|
7398
7817
|
idempotencyKey: string;
|
|
7399
7818
|
challengeToken: string;
|
|
7400
7819
|
offer: string;
|
|
7401
7820
|
caregiverName: string;
|
|
7821
|
+
familyReportedSourceRevision?: string | undefined;
|
|
7402
7822
|
caregiverPhone?: string | null | undefined;
|
|
7403
7823
|
childAgeText?: string | undefined;
|
|
7404
|
-
familyReportedSourceRevision?: string | undefined;
|
|
7405
7824
|
familyReportedSourceOptionId?: string | undefined;
|
|
7406
7825
|
familyReportedSourceDetail?: string | null | undefined;
|
|
7407
7826
|
bookingForm?: {
|
|
@@ -7430,21 +7849,21 @@ export declare const publicBookingCreateRequestSchema: z.ZodEffects<z.ZodObject<
|
|
|
7430
7849
|
} | undefined;
|
|
7431
7850
|
callMethod?: "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson" | undefined;
|
|
7432
7851
|
displayTimeZone?: string | undefined;
|
|
7433
|
-
familyReportedSource?: "other" | "instagram" | "googleSearch" | "recommendation" | "existingClient" | undefined;
|
|
7852
|
+
familyReportedSource?: "other" | "instagram" | "facebook" | "googleSearch" | "recommendation" | "existingClient" | "anotherFamily" | undefined;
|
|
7434
7853
|
familyReportedSourceOtherText?: string | null | undefined;
|
|
7435
7854
|
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
7436
7855
|
}>, {
|
|
7856
|
+
privacyNoticeVersion: string;
|
|
7437
7857
|
caregiverEmail: string;
|
|
7438
7858
|
childFirstName: string;
|
|
7439
7859
|
privacyAccepted: true;
|
|
7440
|
-
privacyNoticeVersion: string;
|
|
7441
7860
|
idempotencyKey: string;
|
|
7442
7861
|
challengeToken: string;
|
|
7443
7862
|
offer: string;
|
|
7444
7863
|
caregiverName: string;
|
|
7864
|
+
familyReportedSourceRevision?: string | undefined;
|
|
7445
7865
|
caregiverPhone?: string | null | undefined;
|
|
7446
7866
|
childAgeText?: string | undefined;
|
|
7447
|
-
familyReportedSourceRevision?: string | undefined;
|
|
7448
7867
|
familyReportedSourceOptionId?: string | undefined;
|
|
7449
7868
|
familyReportedSourceDetail?: string | null | undefined;
|
|
7450
7869
|
bookingForm?: {
|
|
@@ -7473,21 +7892,21 @@ export declare const publicBookingCreateRequestSchema: z.ZodEffects<z.ZodObject<
|
|
|
7473
7892
|
} | undefined;
|
|
7474
7893
|
callMethod?: "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson" | undefined;
|
|
7475
7894
|
displayTimeZone?: string | undefined;
|
|
7476
|
-
familyReportedSource?: "other" | "instagram" | "googleSearch" | "recommendation" | "existingClient" | undefined;
|
|
7895
|
+
familyReportedSource?: "other" | "instagram" | "facebook" | "googleSearch" | "recommendation" | "existingClient" | "anotherFamily" | undefined;
|
|
7477
7896
|
familyReportedSourceOtherText?: string | null | undefined;
|
|
7478
7897
|
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
7479
7898
|
}, {
|
|
7899
|
+
privacyNoticeVersion: string;
|
|
7480
7900
|
caregiverEmail: string;
|
|
7481
7901
|
childFirstName: string;
|
|
7482
7902
|
privacyAccepted: true;
|
|
7483
|
-
privacyNoticeVersion: string;
|
|
7484
7903
|
idempotencyKey: string;
|
|
7485
7904
|
challengeToken: string;
|
|
7486
7905
|
offer: string;
|
|
7487
7906
|
caregiverName: string;
|
|
7907
|
+
familyReportedSourceRevision?: string | undefined;
|
|
7488
7908
|
caregiverPhone?: string | null | undefined;
|
|
7489
7909
|
childAgeText?: string | undefined;
|
|
7490
|
-
familyReportedSourceRevision?: string | undefined;
|
|
7491
7910
|
familyReportedSourceOptionId?: string | undefined;
|
|
7492
7911
|
familyReportedSourceDetail?: string | null | undefined;
|
|
7493
7912
|
bookingForm?: {
|
|
@@ -7516,7 +7935,7 @@ export declare const publicBookingCreateRequestSchema: z.ZodEffects<z.ZodObject<
|
|
|
7516
7935
|
} | undefined;
|
|
7517
7936
|
callMethod?: "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson" | undefined;
|
|
7518
7937
|
displayTimeZone?: string | undefined;
|
|
7519
|
-
familyReportedSource?: "other" | "instagram" | "googleSearch" | "recommendation" | "existingClient" | undefined;
|
|
7938
|
+
familyReportedSource?: "other" | "instagram" | "facebook" | "googleSearch" | "recommendation" | "existingClient" | "anotherFamily" | undefined;
|
|
7520
7939
|
familyReportedSourceOtherText?: string | null | undefined;
|
|
7521
7940
|
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
7522
7941
|
}>;
|
|
@@ -7556,6 +7975,9 @@ export declare const publicBookingCreateResponseSchema: z.ZodObject<{
|
|
|
7556
7975
|
callMethod: z.ZodEnum<["video", "phone", "whatsappVoice", "whatsappVideo", "zoom", "otherVideo", "inPerson"]>;
|
|
7557
7976
|
callInstructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7558
7977
|
joiningDetailsStatus: z.ZodEnum<["ready", "preparing", "attention"]>;
|
|
7978
|
+
rebookingEmailStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["queued", "sent", "failed", "ambiguous", "suppressed"]>>>;
|
|
7979
|
+
rebookingLinkAvailable: z.ZodOptional<z.ZodBoolean>;
|
|
7980
|
+
emailNotificationsEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
7559
7981
|
bookingForm: z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
7560
7982
|
revision: z.ZodString;
|
|
7561
7983
|
questions: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
@@ -7749,6 +8171,7 @@ export declare const publicBookingCreateResponseSchema: z.ZodObject<{
|
|
|
7749
8171
|
questionId: string;
|
|
7750
8172
|
})[]>;
|
|
7751
8173
|
}, "strict", z.ZodTypeAny, {
|
|
8174
|
+
revision: string;
|
|
7752
8175
|
questions: {
|
|
7753
8176
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
7754
8177
|
id: string;
|
|
@@ -7761,7 +8184,6 @@ export declare const publicBookingCreateResponseSchema: z.ZodObject<{
|
|
|
7761
8184
|
label: string;
|
|
7762
8185
|
}[];
|
|
7763
8186
|
}[];
|
|
7764
|
-
revision: string;
|
|
7765
8187
|
answers: ({
|
|
7766
8188
|
value: string;
|
|
7767
8189
|
type: "shortText";
|
|
@@ -7784,6 +8206,7 @@ export declare const publicBookingCreateResponseSchema: z.ZodObject<{
|
|
|
7784
8206
|
questionId: string;
|
|
7785
8207
|
})[];
|
|
7786
8208
|
}, {
|
|
8209
|
+
revision: string;
|
|
7787
8210
|
questions: {
|
|
7788
8211
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
7789
8212
|
id: string;
|
|
@@ -7796,7 +8219,6 @@ export declare const publicBookingCreateResponseSchema: z.ZodObject<{
|
|
|
7796
8219
|
label: string;
|
|
7797
8220
|
}[];
|
|
7798
8221
|
}[];
|
|
7799
|
-
revision: string;
|
|
7800
8222
|
answers: ({
|
|
7801
8223
|
value: string;
|
|
7802
8224
|
type: "shortText";
|
|
@@ -7819,6 +8241,7 @@ export declare const publicBookingCreateResponseSchema: z.ZodObject<{
|
|
|
7819
8241
|
questionId: string;
|
|
7820
8242
|
})[];
|
|
7821
8243
|
}>, {
|
|
8244
|
+
revision: string;
|
|
7822
8245
|
questions: {
|
|
7823
8246
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
7824
8247
|
id: string;
|
|
@@ -7831,7 +8254,6 @@ export declare const publicBookingCreateResponseSchema: z.ZodObject<{
|
|
|
7831
8254
|
label: string;
|
|
7832
8255
|
}[];
|
|
7833
8256
|
}[];
|
|
7834
|
-
revision: string;
|
|
7835
8257
|
answers: ({
|
|
7836
8258
|
value: string;
|
|
7837
8259
|
type: "shortText";
|
|
@@ -7854,6 +8276,7 @@ export declare const publicBookingCreateResponseSchema: z.ZodObject<{
|
|
|
7854
8276
|
questionId: string;
|
|
7855
8277
|
})[];
|
|
7856
8278
|
}, {
|
|
8279
|
+
revision: string;
|
|
7857
8280
|
questions: {
|
|
7858
8281
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
7859
8282
|
id: string;
|
|
@@ -7866,7 +8289,6 @@ export declare const publicBookingCreateResponseSchema: z.ZodObject<{
|
|
|
7866
8289
|
label: string;
|
|
7867
8290
|
}[];
|
|
7868
8291
|
}[];
|
|
7869
|
-
revision: string;
|
|
7870
8292
|
answers: ({
|
|
7871
8293
|
value: string;
|
|
7872
8294
|
type: "shortText";
|
|
@@ -7903,7 +8325,7 @@ export declare const publicBookingCreateResponseSchema: z.ZodObject<{
|
|
|
7903
8325
|
cancelledAt: z.ZodNullable<z.ZodString>;
|
|
7904
8326
|
createdAt: z.ZodString;
|
|
7905
8327
|
updatedAt: z.ZodString;
|
|
7906
|
-
}, "organizationId" | "coachUserId" | "bookingForm" | "callInstructions" | "contact">, "strip", z.ZodTypeAny, {
|
|
8328
|
+
}, "organizationId" | "coachUserId" | "bookingForm" | "callInstructions" | "contact" | "rebookingEmailStatus" | "rebookingLinkAvailable" | "emailNotificationsEnabled">, "strip", z.ZodTypeAny, {
|
|
7907
8329
|
status: "scheduled" | "completed" | "cancelled" | "noShow";
|
|
7908
8330
|
id: string;
|
|
7909
8331
|
timeZone: string;
|
|
@@ -7913,10 +8335,10 @@ export declare const publicBookingCreateResponseSchema: z.ZodObject<{
|
|
|
7913
8335
|
startsAt: string;
|
|
7914
8336
|
endsAt: string;
|
|
7915
8337
|
cancelledAt: string | null;
|
|
8338
|
+
serviceName: string;
|
|
7916
8339
|
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
7917
8340
|
serviceId: string;
|
|
7918
|
-
|
|
7919
|
-
joiningDetailsStatus: "ready" | "preparing" | "attention";
|
|
8341
|
+
joiningDetailsStatus: "ready" | "attention" | "preparing";
|
|
7920
8342
|
familyReportedSource?: {
|
|
7921
8343
|
optionLabel: string;
|
|
7922
8344
|
detail?: string | null | undefined;
|
|
@@ -7931,10 +8353,10 @@ export declare const publicBookingCreateResponseSchema: z.ZodObject<{
|
|
|
7931
8353
|
startsAt: string;
|
|
7932
8354
|
endsAt: string;
|
|
7933
8355
|
cancelledAt: string | null;
|
|
8356
|
+
serviceName: string;
|
|
7934
8357
|
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
7935
8358
|
serviceId: string;
|
|
7936
|
-
|
|
7937
|
-
joiningDetailsStatus: "ready" | "preparing" | "attention";
|
|
8359
|
+
joiningDetailsStatus: "ready" | "attention" | "preparing";
|
|
7938
8360
|
familyReportedSource?: {
|
|
7939
8361
|
optionLabel: string;
|
|
7940
8362
|
detail?: string | null | undefined;
|
|
@@ -7953,10 +8375,10 @@ export declare const publicBookingCreateResponseSchema: z.ZodObject<{
|
|
|
7953
8375
|
startsAt: string;
|
|
7954
8376
|
endsAt: string;
|
|
7955
8377
|
cancelledAt: string | null;
|
|
8378
|
+
serviceName: string;
|
|
7956
8379
|
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
7957
8380
|
serviceId: string;
|
|
7958
|
-
|
|
7959
|
-
joiningDetailsStatus: "ready" | "preparing" | "attention";
|
|
8381
|
+
joiningDetailsStatus: "ready" | "attention" | "preparing";
|
|
7960
8382
|
familyReportedSource?: {
|
|
7961
8383
|
optionLabel: string;
|
|
7962
8384
|
detail?: string | null | undefined;
|
|
@@ -7975,10 +8397,10 @@ export declare const publicBookingCreateResponseSchema: z.ZodObject<{
|
|
|
7975
8397
|
startsAt: string;
|
|
7976
8398
|
endsAt: string;
|
|
7977
8399
|
cancelledAt: string | null;
|
|
8400
|
+
serviceName: string;
|
|
7978
8401
|
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
7979
8402
|
serviceId: string;
|
|
7980
|
-
|
|
7981
|
-
joiningDetailsStatus: "ready" | "preparing" | "attention";
|
|
8403
|
+
joiningDetailsStatus: "ready" | "attention" | "preparing";
|
|
7982
8404
|
familyReportedSource?: {
|
|
7983
8405
|
optionLabel: string;
|
|
7984
8406
|
detail?: string | null | undefined;
|
|
@@ -8023,6 +8445,9 @@ export declare const publicBookingManageResponseSchema: z.ZodObject<{
|
|
|
8023
8445
|
callMethod: z.ZodEnum<["video", "phone", "whatsappVoice", "whatsappVideo", "zoom", "otherVideo", "inPerson"]>;
|
|
8024
8446
|
callInstructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8025
8447
|
joiningDetailsStatus: z.ZodEnum<["ready", "preparing", "attention"]>;
|
|
8448
|
+
rebookingEmailStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["queued", "sent", "failed", "ambiguous", "suppressed"]>>>;
|
|
8449
|
+
rebookingLinkAvailable: z.ZodOptional<z.ZodBoolean>;
|
|
8450
|
+
emailNotificationsEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
8026
8451
|
bookingForm: z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
8027
8452
|
revision: z.ZodString;
|
|
8028
8453
|
questions: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
@@ -8216,6 +8641,7 @@ export declare const publicBookingManageResponseSchema: z.ZodObject<{
|
|
|
8216
8641
|
questionId: string;
|
|
8217
8642
|
})[]>;
|
|
8218
8643
|
}, "strict", z.ZodTypeAny, {
|
|
8644
|
+
revision: string;
|
|
8219
8645
|
questions: {
|
|
8220
8646
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
8221
8647
|
id: string;
|
|
@@ -8228,7 +8654,6 @@ export declare const publicBookingManageResponseSchema: z.ZodObject<{
|
|
|
8228
8654
|
label: string;
|
|
8229
8655
|
}[];
|
|
8230
8656
|
}[];
|
|
8231
|
-
revision: string;
|
|
8232
8657
|
answers: ({
|
|
8233
8658
|
value: string;
|
|
8234
8659
|
type: "shortText";
|
|
@@ -8251,6 +8676,7 @@ export declare const publicBookingManageResponseSchema: z.ZodObject<{
|
|
|
8251
8676
|
questionId: string;
|
|
8252
8677
|
})[];
|
|
8253
8678
|
}, {
|
|
8679
|
+
revision: string;
|
|
8254
8680
|
questions: {
|
|
8255
8681
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
8256
8682
|
id: string;
|
|
@@ -8263,7 +8689,6 @@ export declare const publicBookingManageResponseSchema: z.ZodObject<{
|
|
|
8263
8689
|
label: string;
|
|
8264
8690
|
}[];
|
|
8265
8691
|
}[];
|
|
8266
|
-
revision: string;
|
|
8267
8692
|
answers: ({
|
|
8268
8693
|
value: string;
|
|
8269
8694
|
type: "shortText";
|
|
@@ -8286,6 +8711,7 @@ export declare const publicBookingManageResponseSchema: z.ZodObject<{
|
|
|
8286
8711
|
questionId: string;
|
|
8287
8712
|
})[];
|
|
8288
8713
|
}>, {
|
|
8714
|
+
revision: string;
|
|
8289
8715
|
questions: {
|
|
8290
8716
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
8291
8717
|
id: string;
|
|
@@ -8298,7 +8724,6 @@ export declare const publicBookingManageResponseSchema: z.ZodObject<{
|
|
|
8298
8724
|
label: string;
|
|
8299
8725
|
}[];
|
|
8300
8726
|
}[];
|
|
8301
|
-
revision: string;
|
|
8302
8727
|
answers: ({
|
|
8303
8728
|
value: string;
|
|
8304
8729
|
type: "shortText";
|
|
@@ -8321,6 +8746,7 @@ export declare const publicBookingManageResponseSchema: z.ZodObject<{
|
|
|
8321
8746
|
questionId: string;
|
|
8322
8747
|
})[];
|
|
8323
8748
|
}, {
|
|
8749
|
+
revision: string;
|
|
8324
8750
|
questions: {
|
|
8325
8751
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
8326
8752
|
id: string;
|
|
@@ -8333,7 +8759,6 @@ export declare const publicBookingManageResponseSchema: z.ZodObject<{
|
|
|
8333
8759
|
label: string;
|
|
8334
8760
|
}[];
|
|
8335
8761
|
}[];
|
|
8336
|
-
revision: string;
|
|
8337
8762
|
answers: ({
|
|
8338
8763
|
value: string;
|
|
8339
8764
|
type: "shortText";
|
|
@@ -8370,7 +8795,7 @@ export declare const publicBookingManageResponseSchema: z.ZodObject<{
|
|
|
8370
8795
|
cancelledAt: z.ZodNullable<z.ZodString>;
|
|
8371
8796
|
createdAt: z.ZodString;
|
|
8372
8797
|
updatedAt: z.ZodString;
|
|
8373
|
-
}, "organizationId" | "coachUserId">, "strip", z.ZodTypeAny, {
|
|
8798
|
+
}, "organizationId" | "coachUserId" | "rebookingEmailStatus" | "rebookingLinkAvailable" | "emailNotificationsEnabled">, "strip", z.ZodTypeAny, {
|
|
8374
8799
|
status: "scheduled" | "completed" | "cancelled" | "noShow";
|
|
8375
8800
|
id: string;
|
|
8376
8801
|
timeZone: string;
|
|
@@ -8381,6 +8806,7 @@ export declare const publicBookingManageResponseSchema: z.ZodObject<{
|
|
|
8381
8806
|
endsAt: string;
|
|
8382
8807
|
cancelledAt: string | null;
|
|
8383
8808
|
bookingForm: {
|
|
8809
|
+
revision: string;
|
|
8384
8810
|
questions: {
|
|
8385
8811
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
8386
8812
|
id: string;
|
|
@@ -8393,7 +8819,6 @@ export declare const publicBookingManageResponseSchema: z.ZodObject<{
|
|
|
8393
8819
|
label: string;
|
|
8394
8820
|
}[];
|
|
8395
8821
|
}[];
|
|
8396
|
-
revision: string;
|
|
8397
8822
|
answers: ({
|
|
8398
8823
|
value: string;
|
|
8399
8824
|
type: "shortText";
|
|
@@ -8416,9 +8841,9 @@ export declare const publicBookingManageResponseSchema: z.ZodObject<{
|
|
|
8416
8841
|
questionId: string;
|
|
8417
8842
|
})[];
|
|
8418
8843
|
} | null;
|
|
8844
|
+
serviceName: string;
|
|
8419
8845
|
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
8420
8846
|
serviceId: string;
|
|
8421
|
-
serviceName: string;
|
|
8422
8847
|
contact: {
|
|
8423
8848
|
caregiverEmail: string;
|
|
8424
8849
|
childFirstName: string;
|
|
@@ -8427,7 +8852,7 @@ export declare const publicBookingManageResponseSchema: z.ZodObject<{
|
|
|
8427
8852
|
caregiverPhone?: string | null | undefined;
|
|
8428
8853
|
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
8429
8854
|
};
|
|
8430
|
-
joiningDetailsStatus: "ready" | "
|
|
8855
|
+
joiningDetailsStatus: "ready" | "attention" | "preparing";
|
|
8431
8856
|
callInstructions?: string | null | undefined;
|
|
8432
8857
|
familyReportedSource?: {
|
|
8433
8858
|
optionLabel: string;
|
|
@@ -8444,6 +8869,7 @@ export declare const publicBookingManageResponseSchema: z.ZodObject<{
|
|
|
8444
8869
|
endsAt: string;
|
|
8445
8870
|
cancelledAt: string | null;
|
|
8446
8871
|
bookingForm: {
|
|
8872
|
+
revision: string;
|
|
8447
8873
|
questions: {
|
|
8448
8874
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
8449
8875
|
id: string;
|
|
@@ -8456,7 +8882,6 @@ export declare const publicBookingManageResponseSchema: z.ZodObject<{
|
|
|
8456
8882
|
label: string;
|
|
8457
8883
|
}[];
|
|
8458
8884
|
}[];
|
|
8459
|
-
revision: string;
|
|
8460
8885
|
answers: ({
|
|
8461
8886
|
value: string;
|
|
8462
8887
|
type: "shortText";
|
|
@@ -8479,9 +8904,9 @@ export declare const publicBookingManageResponseSchema: z.ZodObject<{
|
|
|
8479
8904
|
questionId: string;
|
|
8480
8905
|
})[];
|
|
8481
8906
|
} | null;
|
|
8907
|
+
serviceName: string;
|
|
8482
8908
|
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
8483
8909
|
serviceId: string;
|
|
8484
|
-
serviceName: string;
|
|
8485
8910
|
contact: {
|
|
8486
8911
|
caregiverEmail: string;
|
|
8487
8912
|
childFirstName: string;
|
|
@@ -8490,7 +8915,7 @@ export declare const publicBookingManageResponseSchema: z.ZodObject<{
|
|
|
8490
8915
|
caregiverPhone?: string | null | undefined;
|
|
8491
8916
|
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
8492
8917
|
};
|
|
8493
|
-
joiningDetailsStatus: "ready" | "
|
|
8918
|
+
joiningDetailsStatus: "ready" | "attention" | "preparing";
|
|
8494
8919
|
callInstructions?: string | null | undefined;
|
|
8495
8920
|
familyReportedSource?: {
|
|
8496
8921
|
optionLabel: string;
|
|
@@ -8512,6 +8937,7 @@ export declare const publicBookingManageResponseSchema: z.ZodObject<{
|
|
|
8512
8937
|
endsAt: string;
|
|
8513
8938
|
cancelledAt: string | null;
|
|
8514
8939
|
bookingForm: {
|
|
8940
|
+
revision: string;
|
|
8515
8941
|
questions: {
|
|
8516
8942
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
8517
8943
|
id: string;
|
|
@@ -8524,7 +8950,6 @@ export declare const publicBookingManageResponseSchema: z.ZodObject<{
|
|
|
8524
8950
|
label: string;
|
|
8525
8951
|
}[];
|
|
8526
8952
|
}[];
|
|
8527
|
-
revision: string;
|
|
8528
8953
|
answers: ({
|
|
8529
8954
|
value: string;
|
|
8530
8955
|
type: "shortText";
|
|
@@ -8547,9 +8972,9 @@ export declare const publicBookingManageResponseSchema: z.ZodObject<{
|
|
|
8547
8972
|
questionId: string;
|
|
8548
8973
|
})[];
|
|
8549
8974
|
} | null;
|
|
8975
|
+
serviceName: string;
|
|
8550
8976
|
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
8551
8977
|
serviceId: string;
|
|
8552
|
-
serviceName: string;
|
|
8553
8978
|
contact: {
|
|
8554
8979
|
caregiverEmail: string;
|
|
8555
8980
|
childFirstName: string;
|
|
@@ -8558,7 +8983,7 @@ export declare const publicBookingManageResponseSchema: z.ZodObject<{
|
|
|
8558
8983
|
caregiverPhone?: string | null | undefined;
|
|
8559
8984
|
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
8560
8985
|
};
|
|
8561
|
-
joiningDetailsStatus: "ready" | "
|
|
8986
|
+
joiningDetailsStatus: "ready" | "attention" | "preparing";
|
|
8562
8987
|
callInstructions?: string | null | undefined;
|
|
8563
8988
|
familyReportedSource?: {
|
|
8564
8989
|
optionLabel: string;
|
|
@@ -8579,6 +9004,7 @@ export declare const publicBookingManageResponseSchema: z.ZodObject<{
|
|
|
8579
9004
|
endsAt: string;
|
|
8580
9005
|
cancelledAt: string | null;
|
|
8581
9006
|
bookingForm: {
|
|
9007
|
+
revision: string;
|
|
8582
9008
|
questions: {
|
|
8583
9009
|
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
8584
9010
|
id: string;
|
|
@@ -8591,7 +9017,6 @@ export declare const publicBookingManageResponseSchema: z.ZodObject<{
|
|
|
8591
9017
|
label: string;
|
|
8592
9018
|
}[];
|
|
8593
9019
|
}[];
|
|
8594
|
-
revision: string;
|
|
8595
9020
|
answers: ({
|
|
8596
9021
|
value: string;
|
|
8597
9022
|
type: "shortText";
|
|
@@ -8614,9 +9039,9 @@ export declare const publicBookingManageResponseSchema: z.ZodObject<{
|
|
|
8614
9039
|
questionId: string;
|
|
8615
9040
|
})[];
|
|
8616
9041
|
} | null;
|
|
9042
|
+
serviceName: string;
|
|
8617
9043
|
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
8618
9044
|
serviceId: string;
|
|
8619
|
-
serviceName: string;
|
|
8620
9045
|
contact: {
|
|
8621
9046
|
caregiverEmail: string;
|
|
8622
9047
|
childFirstName: string;
|
|
@@ -8625,7 +9050,7 @@ export declare const publicBookingManageResponseSchema: z.ZodObject<{
|
|
|
8625
9050
|
caregiverPhone?: string | null | undefined;
|
|
8626
9051
|
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
8627
9052
|
};
|
|
8628
|
-
joiningDetailsStatus: "ready" | "
|
|
9053
|
+
joiningDetailsStatus: "ready" | "attention" | "preparing";
|
|
8629
9054
|
callInstructions?: string | null | undefined;
|
|
8630
9055
|
familyReportedSource?: {
|
|
8631
9056
|
optionLabel: string;
|
|
@@ -8668,7 +9093,7 @@ export declare const adminBookingCreateRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
8668
9093
|
status: z.ZodDefault<z.ZodEnum<["scheduled", "completed", "cancelled", "noShow"]>>;
|
|
8669
9094
|
notificationMode: z.ZodEnum<["none", "confirmationEmail"]>;
|
|
8670
9095
|
callMethod: z.ZodOptional<z.ZodEnum<["phone", "whatsappVoice", "whatsappVideo", "zoom", "otherVideo", "inPerson"]>>;
|
|
8671
|
-
familyReportedSource: z.ZodOptional<z.ZodEnum<["googleSearch", "instagram", "recommendation", "existingClient", "other"]>>;
|
|
9096
|
+
familyReportedSource: z.ZodOptional<z.ZodEnum<["googleSearch", "instagram", "recommendation", "existingClient", "other", "facebook", "anotherFamily"]>>;
|
|
8672
9097
|
familyReportedSourceOtherText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8673
9098
|
internalSource: z.ZodOptional<z.ZodEnum<["unclassified", "googleAds", "googleOrganic", "instagram", "referral", "other"]>>;
|
|
8674
9099
|
internalSourceOtherText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -8835,6 +9260,25 @@ export declare const adminBookingCreateRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
8835
9260
|
childAgeText: z.ZodOptional<z.ZodString>;
|
|
8836
9261
|
childAgeBand: z.ZodOptional<z.ZodEnum<["expecting", "under3Months", "3To5Months", "6To8Months", "9To12Months", "13To18Months", "19To24Months", "over2Years"]>>;
|
|
8837
9262
|
leadId: z.ZodOptional<z.ZodString>;
|
|
9263
|
+
leadCoachUserId: z.ZodOptional<z.ZodString>;
|
|
9264
|
+
familyRecipient: z.ZodOptional<z.ZodObject<{
|
|
9265
|
+
familyUserId: z.ZodString;
|
|
9266
|
+
assignmentId: z.ZodString;
|
|
9267
|
+
expectedRevision: z.ZodString;
|
|
9268
|
+
babyId: z.ZodString;
|
|
9269
|
+
}, "strict", z.ZodTypeAny, {
|
|
9270
|
+
familyUserId: string;
|
|
9271
|
+
babyId: string;
|
|
9272
|
+
expectedRevision: string;
|
|
9273
|
+
assignmentId: string;
|
|
9274
|
+
}, {
|
|
9275
|
+
familyUserId: string;
|
|
9276
|
+
babyId: string;
|
|
9277
|
+
expectedRevision: string;
|
|
9278
|
+
assignmentId: string;
|
|
9279
|
+
}>>;
|
|
9280
|
+
durationMinutes: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
|
|
9281
|
+
deliveryCoachUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8838
9282
|
}, "strict", z.ZodTypeAny, {
|
|
8839
9283
|
status: "scheduled" | "completed" | "cancelled" | "noShow";
|
|
8840
9284
|
organizationId: string;
|
|
@@ -8872,11 +9316,20 @@ export declare const adminBookingCreateRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
8872
9316
|
questionId: string;
|
|
8873
9317
|
})[];
|
|
8874
9318
|
} | undefined;
|
|
9319
|
+
durationMinutes?: number | undefined;
|
|
8875
9320
|
callMethod?: "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson" | undefined;
|
|
8876
|
-
familyReportedSource?: "other" | "instagram" | "googleSearch" | "recommendation" | "existingClient" | undefined;
|
|
9321
|
+
familyReportedSource?: "other" | "instagram" | "facebook" | "googleSearch" | "recommendation" | "existingClient" | "anotherFamily" | undefined;
|
|
8877
9322
|
familyReportedSourceOtherText?: string | null | undefined;
|
|
8878
9323
|
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
9324
|
+
deliveryCoachUserId?: string | null | undefined;
|
|
8879
9325
|
leadId?: string | undefined;
|
|
9326
|
+
leadCoachUserId?: string | undefined;
|
|
9327
|
+
familyRecipient?: {
|
|
9328
|
+
familyUserId: string;
|
|
9329
|
+
babyId: string;
|
|
9330
|
+
expectedRevision: string;
|
|
9331
|
+
assignmentId: string;
|
|
9332
|
+
} | undefined;
|
|
8880
9333
|
internalSource?: "other" | "referral" | "instagram" | "unclassified" | "googleAds" | "googleOrganic" | undefined;
|
|
8881
9334
|
internalSourceOtherText?: string | null | undefined;
|
|
8882
9335
|
}, {
|
|
@@ -8916,11 +9369,20 @@ export declare const adminBookingCreateRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
8916
9369
|
questionId: string;
|
|
8917
9370
|
})[];
|
|
8918
9371
|
} | undefined;
|
|
9372
|
+
durationMinutes?: number | undefined;
|
|
8919
9373
|
callMethod?: "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson" | undefined;
|
|
8920
|
-
familyReportedSource?: "other" | "instagram" | "googleSearch" | "recommendation" | "existingClient" | undefined;
|
|
9374
|
+
familyReportedSource?: "other" | "instagram" | "facebook" | "googleSearch" | "recommendation" | "existingClient" | "anotherFamily" | undefined;
|
|
8921
9375
|
familyReportedSourceOtherText?: string | null | undefined;
|
|
8922
9376
|
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
9377
|
+
deliveryCoachUserId?: string | null | undefined;
|
|
8923
9378
|
leadId?: string | undefined;
|
|
9379
|
+
leadCoachUserId?: string | undefined;
|
|
9380
|
+
familyRecipient?: {
|
|
9381
|
+
familyUserId: string;
|
|
9382
|
+
babyId: string;
|
|
9383
|
+
expectedRevision: string;
|
|
9384
|
+
assignmentId: string;
|
|
9385
|
+
} | undefined;
|
|
8924
9386
|
internalSource?: "other" | "referral" | "instagram" | "unclassified" | "googleAds" | "googleOrganic" | undefined;
|
|
8925
9387
|
internalSourceOtherText?: string | null | undefined;
|
|
8926
9388
|
}>, {
|
|
@@ -8960,11 +9422,20 @@ export declare const adminBookingCreateRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
8960
9422
|
questionId: string;
|
|
8961
9423
|
})[];
|
|
8962
9424
|
} | undefined;
|
|
9425
|
+
durationMinutes?: number | undefined;
|
|
8963
9426
|
callMethod?: "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson" | undefined;
|
|
8964
|
-
familyReportedSource?: "other" | "instagram" | "googleSearch" | "recommendation" | "existingClient" | undefined;
|
|
9427
|
+
familyReportedSource?: "other" | "instagram" | "facebook" | "googleSearch" | "recommendation" | "existingClient" | "anotherFamily" | undefined;
|
|
8965
9428
|
familyReportedSourceOtherText?: string | null | undefined;
|
|
8966
9429
|
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
9430
|
+
deliveryCoachUserId?: string | null | undefined;
|
|
8967
9431
|
leadId?: string | undefined;
|
|
9432
|
+
leadCoachUserId?: string | undefined;
|
|
9433
|
+
familyRecipient?: {
|
|
9434
|
+
familyUserId: string;
|
|
9435
|
+
babyId: string;
|
|
9436
|
+
expectedRevision: string;
|
|
9437
|
+
assignmentId: string;
|
|
9438
|
+
} | undefined;
|
|
8968
9439
|
internalSource?: "other" | "referral" | "instagram" | "unclassified" | "googleAds" | "googleOrganic" | undefined;
|
|
8969
9440
|
internalSourceOtherText?: string | null | undefined;
|
|
8970
9441
|
}, {
|
|
@@ -9004,33 +9475,84 @@ export declare const adminBookingCreateRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
9004
9475
|
questionId: string;
|
|
9005
9476
|
})[];
|
|
9006
9477
|
} | undefined;
|
|
9478
|
+
durationMinutes?: number | undefined;
|
|
9007
9479
|
callMethod?: "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson" | undefined;
|
|
9008
|
-
familyReportedSource?: "other" | "instagram" | "googleSearch" | "recommendation" | "existingClient" | undefined;
|
|
9480
|
+
familyReportedSource?: "other" | "instagram" | "facebook" | "googleSearch" | "recommendation" | "existingClient" | "anotherFamily" | undefined;
|
|
9009
9481
|
familyReportedSourceOtherText?: string | null | undefined;
|
|
9010
9482
|
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
9483
|
+
deliveryCoachUserId?: string | null | undefined;
|
|
9011
9484
|
leadId?: string | undefined;
|
|
9485
|
+
leadCoachUserId?: string | undefined;
|
|
9486
|
+
familyRecipient?: {
|
|
9487
|
+
familyUserId: string;
|
|
9488
|
+
babyId: string;
|
|
9489
|
+
expectedRevision: string;
|
|
9490
|
+
assignmentId: string;
|
|
9491
|
+
} | undefined;
|
|
9012
9492
|
internalSource?: "other" | "referral" | "instagram" | "unclassified" | "googleAds" | "googleOrganic" | undefined;
|
|
9013
9493
|
internalSourceOtherText?: string | null | undefined;
|
|
9014
9494
|
}>;
|
|
9015
|
-
export declare const adminBookingRescheduleRequestSchema: z.ZodObject<{
|
|
9016
|
-
startsAt: z.ZodString;
|
|
9495
|
+
export declare const adminBookingRescheduleRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
9017
9496
|
idempotencyKey: z.ZodString;
|
|
9497
|
+
sendFamilyEmail: z.ZodOptional<z.ZodBoolean>;
|
|
9498
|
+
familyMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9499
|
+
startsAt: z.ZodString;
|
|
9018
9500
|
}, "strict", z.ZodTypeAny, {
|
|
9019
9501
|
startsAt: string;
|
|
9020
9502
|
idempotencyKey: string;
|
|
9503
|
+
sendFamilyEmail?: boolean | undefined;
|
|
9504
|
+
familyMessage?: string | null | undefined;
|
|
9505
|
+
}, {
|
|
9506
|
+
startsAt: string;
|
|
9507
|
+
idempotencyKey: string;
|
|
9508
|
+
sendFamilyEmail?: boolean | undefined;
|
|
9509
|
+
familyMessage?: string | null | undefined;
|
|
9510
|
+
}>, {
|
|
9511
|
+
startsAt: string;
|
|
9512
|
+
idempotencyKey: string;
|
|
9513
|
+
sendFamilyEmail?: boolean | undefined;
|
|
9514
|
+
familyMessage?: string | null | undefined;
|
|
9021
9515
|
}, {
|
|
9022
9516
|
startsAt: string;
|
|
9023
9517
|
idempotencyKey: string;
|
|
9518
|
+
sendFamilyEmail?: boolean | undefined;
|
|
9519
|
+
familyMessage?: string | null | undefined;
|
|
9024
9520
|
}>;
|
|
9025
|
-
export declare const adminBookingStatusWriteSchema: z.ZodObject<{
|
|
9026
|
-
|
|
9521
|
+
export declare const adminBookingStatusWriteSchema: z.ZodEffects<z.ZodObject<{
|
|
9522
|
+
cancellationReason: z.ZodOptional<z.ZodEnum<["familyAsked", "unavailable", "bookedByMistake", "other"]>>;
|
|
9027
9523
|
idempotencyKey: z.ZodString;
|
|
9524
|
+
sendFamilyEmail: z.ZodOptional<z.ZodBoolean>;
|
|
9525
|
+
familyMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9526
|
+
status: z.ZodEnum<["scheduled", "completed", "cancelled", "noShow"]>;
|
|
9527
|
+
sendRebookingLink: z.ZodOptional<z.ZodBoolean>;
|
|
9028
9528
|
}, "strict", z.ZodTypeAny, {
|
|
9029
9529
|
status: "scheduled" | "completed" | "cancelled" | "noShow";
|
|
9030
9530
|
idempotencyKey: string;
|
|
9531
|
+
sendFamilyEmail?: boolean | undefined;
|
|
9532
|
+
familyMessage?: string | null | undefined;
|
|
9533
|
+
sendRebookingLink?: boolean | undefined;
|
|
9534
|
+
cancellationReason?: "other" | "unavailable" | "familyAsked" | "bookedByMistake" | undefined;
|
|
9535
|
+
}, {
|
|
9536
|
+
status: "scheduled" | "completed" | "cancelled" | "noShow";
|
|
9537
|
+
idempotencyKey: string;
|
|
9538
|
+
sendFamilyEmail?: boolean | undefined;
|
|
9539
|
+
familyMessage?: string | null | undefined;
|
|
9540
|
+
sendRebookingLink?: boolean | undefined;
|
|
9541
|
+
cancellationReason?: "other" | "unavailable" | "familyAsked" | "bookedByMistake" | undefined;
|
|
9542
|
+
}>, {
|
|
9543
|
+
status: "scheduled" | "completed" | "cancelled" | "noShow";
|
|
9544
|
+
idempotencyKey: string;
|
|
9545
|
+
sendFamilyEmail?: boolean | undefined;
|
|
9546
|
+
familyMessage?: string | null | undefined;
|
|
9547
|
+
sendRebookingLink?: boolean | undefined;
|
|
9548
|
+
cancellationReason?: "other" | "unavailable" | "familyAsked" | "bookedByMistake" | undefined;
|
|
9031
9549
|
}, {
|
|
9032
9550
|
status: "scheduled" | "completed" | "cancelled" | "noShow";
|
|
9033
9551
|
idempotencyKey: string;
|
|
9552
|
+
sendFamilyEmail?: boolean | undefined;
|
|
9553
|
+
familyMessage?: string | null | undefined;
|
|
9554
|
+
sendRebookingLink?: boolean | undefined;
|
|
9555
|
+
cancellationReason?: "other" | "unavailable" | "familyAsked" | "bookedByMistake" | undefined;
|
|
9034
9556
|
}>;
|
|
9035
9557
|
export declare const bookingPushPreferenceWriteSchema: z.ZodObject<{
|
|
9036
9558
|
enabled: z.ZodBoolean;
|