@nikthegeek/dreamsforlittles-shared 0.14.0 → 0.15.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/analysis.d.ts +152 -2
- package/dist/booking-system.d.ts +1097 -95
- package/dist/booking-system.js +195 -7
- package/dist/booking-system.js.map +1 -1
- package/dist/booking-system.test.js +149 -2
- package/dist/booking-system.test.js.map +1 -1
- package/dist/calendar-connections.d.ts +2 -2
- package/dist/coach-activity-notifications.js +4 -1
- package/dist/coach-activity-notifications.js.map +1 -1
- package/dist/coach-activity-notifications.test.js +17 -0
- package/dist/coach-activity-notifications.test.js.map +1 -1
- package/dist/coach-family-chat.d.ts +16 -16
- package/dist/coach.d.ts +2544 -144
- package/dist/family-profile-artifacts.d.ts +28 -28
- package/dist/family.d.ts +3700 -82
- package/dist/family.js +137 -16
- package/dist/family.js.map +1 -1
- package/dist/family.test.js +70 -0
- package/dist/family.test.js.map +1 -1
- package/dist/lead-management.d.ts +455 -120
- package/dist/lead-management.js +115 -8
- package/dist/lead-management.js.map +1 -1
- package/dist/lead-management.test.js +78 -1
- package/dist/lead-management.test.js.map +1 -1
- package/dist/product-analytics.d.ts +31 -31
- package/dist/product-analytics.js +3 -0
- package/dist/product-analytics.js.map +1 -1
- package/package.json +1 -1
package/dist/booking-system.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
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"]>;
|
|
5
|
+
export declare const bookingCollectionStatusSchema: z.ZodEnum<["active", "paused"]>;
|
|
4
6
|
export declare const bookingCallMethodSchema: z.ZodEnum<["video", "phone", "whatsappVoice", "whatsappVideo", "zoom", "otherVideo", "inPerson"]>;
|
|
5
7
|
export declare const bookingCallMethodLabels: {
|
|
6
8
|
readonly phone: "Phone call";
|
|
@@ -13,6 +15,16 @@ export declare const bookingCallMethodLabels: {
|
|
|
13
15
|
};
|
|
14
16
|
export declare const bookingCallMethodRequiresPhone: (method: z.infer<typeof bookingCallMethodSchema>) => boolean;
|
|
15
17
|
export declare const bookingAgeBandSchema: z.ZodEnum<["expecting", "under3Months", "3To5Months", "6To8Months", "9To12Months", "13To18Months", "19To24Months", "over2Years"]>;
|
|
18
|
+
export declare const bookingAgeBandLabels: {
|
|
19
|
+
readonly expecting: "Expecting";
|
|
20
|
+
readonly under3Months: "Under 3 months";
|
|
21
|
+
readonly "3To5Months": "3–5 months";
|
|
22
|
+
readonly "6To8Months": "6–8 months";
|
|
23
|
+
readonly "9To12Months": "9–12 months";
|
|
24
|
+
readonly "13To18Months": "13–18 months";
|
|
25
|
+
readonly "19To24Months": "19–24 months";
|
|
26
|
+
readonly over2Years: "Over 2 years";
|
|
27
|
+
};
|
|
16
28
|
export declare const leadFamilyReportedSourceSchema: z.ZodEnum<["googleSearch", "instagram", "recommendation", "existingClient", "other"]>;
|
|
17
29
|
export declare const bookingNotificationModeSchema: z.ZodEnum<["none", "confirmationEmail"]>;
|
|
18
30
|
export declare const bookingPushEventSchema: z.ZodEnum<["created", "rescheduled", "cancelled"]>;
|
|
@@ -21,6 +33,15 @@ export declare const bookingPushSchemaVersion: "1";
|
|
|
21
33
|
export declare const bookingPushMinimumWrapperVersion: "4.12.0";
|
|
22
34
|
export declare const bookingPushHandoffRoute: "/coach/booking-handoff";
|
|
23
35
|
export declare const bookingPushAndroidChannelId: "booking-updates-v1";
|
|
36
|
+
export declare const bookingChildAgeTextSchema: z.ZodString;
|
|
37
|
+
export declare const bookingChildAgeFromInput: (value: {
|
|
38
|
+
childAgeText?: string;
|
|
39
|
+
childAgeBand?: z.infer<typeof bookingAgeBandSchema>;
|
|
40
|
+
}) => string;
|
|
41
|
+
export declare const bookingChildAgeFromStored: (value: string) => {
|
|
42
|
+
childAgeText: string;
|
|
43
|
+
childAgeBand?: z.infer<typeof bookingAgeBandSchema>;
|
|
44
|
+
};
|
|
24
45
|
export declare const bookingFamilySourceRevisionSchema: z.ZodString;
|
|
25
46
|
export declare const bookingFamilySourceOptionSchema: z.ZodObject<{
|
|
26
47
|
id: z.ZodString;
|
|
@@ -100,6 +121,8 @@ export declare const bookingPageSchema: z.ZodObject<{
|
|
|
100
121
|
status: z.ZodEnum<["draft", "published", "paused"]>;
|
|
101
122
|
timeZone: z.ZodEffects<z.ZodString, string, string>;
|
|
102
123
|
displayName: z.ZodString;
|
|
124
|
+
consultancyName: z.ZodString;
|
|
125
|
+
coachDisplayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
103
126
|
welcomeMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
104
127
|
primaryColor: z.ZodNullable<z.ZodString>;
|
|
105
128
|
accentColor: z.ZodNullable<z.ZodString>;
|
|
@@ -151,6 +174,7 @@ export declare const bookingPageSchema: z.ZodObject<{
|
|
|
151
174
|
coachUserId: string;
|
|
152
175
|
displayName: string;
|
|
153
176
|
slug: string;
|
|
177
|
+
consultancyName: string;
|
|
154
178
|
privacyNoticeVersion: string;
|
|
155
179
|
privacyNoticeUrl: string;
|
|
156
180
|
minimumNoticeMinutes: number;
|
|
@@ -164,6 +188,7 @@ export declare const bookingPageSchema: z.ZodObject<{
|
|
|
164
188
|
}[];
|
|
165
189
|
familyReportedSourceRevision: string;
|
|
166
190
|
welcomeMessage?: string | null | undefined;
|
|
191
|
+
coachDisplayName?: string | null | undefined;
|
|
167
192
|
}, {
|
|
168
193
|
status: "paused" | "draft" | "published";
|
|
169
194
|
id: string;
|
|
@@ -177,6 +202,7 @@ export declare const bookingPageSchema: z.ZodObject<{
|
|
|
177
202
|
coachUserId: string;
|
|
178
203
|
displayName: string;
|
|
179
204
|
slug: string;
|
|
205
|
+
consultancyName: string;
|
|
180
206
|
privacyNoticeVersion: string;
|
|
181
207
|
privacyNoticeUrl: string;
|
|
182
208
|
minimumNoticeMinutes: number;
|
|
@@ -190,6 +216,7 @@ export declare const bookingPageSchema: z.ZodObject<{
|
|
|
190
216
|
}[];
|
|
191
217
|
familyReportedSourceRevision: string;
|
|
192
218
|
welcomeMessage?: string | null | undefined;
|
|
219
|
+
coachDisplayName?: string | null | undefined;
|
|
193
220
|
}>;
|
|
194
221
|
export declare const bookingPageWriteSchema: z.ZodEffects<z.ZodObject<{
|
|
195
222
|
organizationId: z.ZodString;
|
|
@@ -198,6 +225,8 @@ export declare const bookingPageWriteSchema: z.ZodEffects<z.ZodObject<{
|
|
|
198
225
|
status: z.ZodEnum<["draft", "published", "paused"]>;
|
|
199
226
|
timeZone: z.ZodEffects<z.ZodString, string, string>;
|
|
200
227
|
displayName: z.ZodString;
|
|
228
|
+
consultancyName: z.ZodOptional<z.ZodString>;
|
|
229
|
+
coachDisplayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
201
230
|
welcomeMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
202
231
|
primaryColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
203
232
|
accentColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -248,6 +277,8 @@ export declare const bookingPageWriteSchema: z.ZodEffects<z.ZodObject<{
|
|
|
248
277
|
accentColor?: string | null | undefined;
|
|
249
278
|
logoAssetId?: string | null | undefined;
|
|
250
279
|
welcomeMessage?: string | null | undefined;
|
|
280
|
+
consultancyName?: string | undefined;
|
|
281
|
+
coachDisplayName?: string | null | undefined;
|
|
251
282
|
privacyNoticeVersion?: string | undefined;
|
|
252
283
|
familyReportedSourceOptions?: {
|
|
253
284
|
id: string;
|
|
@@ -267,6 +298,8 @@ export declare const bookingPageWriteSchema: z.ZodEffects<z.ZodObject<{
|
|
|
267
298
|
accentColor?: string | null | undefined;
|
|
268
299
|
logoAssetId?: string | null | undefined;
|
|
269
300
|
welcomeMessage?: string | null | undefined;
|
|
301
|
+
consultancyName?: string | undefined;
|
|
302
|
+
coachDisplayName?: string | null | undefined;
|
|
270
303
|
privacyNoticeVersion?: string | undefined;
|
|
271
304
|
minimumNoticeMinutes?: number | undefined;
|
|
272
305
|
bookingHorizonDays?: number | undefined;
|
|
@@ -292,6 +325,8 @@ export declare const bookingPageWriteSchema: z.ZodEffects<z.ZodObject<{
|
|
|
292
325
|
accentColor?: string | null | undefined;
|
|
293
326
|
logoAssetId?: string | null | undefined;
|
|
294
327
|
welcomeMessage?: string | null | undefined;
|
|
328
|
+
consultancyName?: string | undefined;
|
|
329
|
+
coachDisplayName?: string | null | undefined;
|
|
295
330
|
privacyNoticeVersion?: string | undefined;
|
|
296
331
|
familyReportedSourceOptions?: {
|
|
297
332
|
id: string;
|
|
@@ -311,6 +346,8 @@ export declare const bookingPageWriteSchema: z.ZodEffects<z.ZodObject<{
|
|
|
311
346
|
accentColor?: string | null | undefined;
|
|
312
347
|
logoAssetId?: string | null | undefined;
|
|
313
348
|
welcomeMessage?: string | null | undefined;
|
|
349
|
+
consultancyName?: string | undefined;
|
|
350
|
+
coachDisplayName?: string | null | undefined;
|
|
314
351
|
privacyNoticeVersion?: string | undefined;
|
|
315
352
|
minimumNoticeMinutes?: number | undefined;
|
|
316
353
|
bookingHorizonDays?: number | undefined;
|
|
@@ -327,6 +364,8 @@ export declare const bookingServiceSchema: z.ZodObject<{
|
|
|
327
364
|
publicSlug: z.ZodString;
|
|
328
365
|
organizationId: z.ZodString;
|
|
329
366
|
coachUserId: z.ZodString;
|
|
367
|
+
deliveryMode: z.ZodEnum<["singleCoach", "chooseCoach", "firstAvailable"]>;
|
|
368
|
+
eligibleCoachUserIds: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
330
369
|
name: z.ZodString;
|
|
331
370
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
332
371
|
durationMinutes: z.ZodNumber;
|
|
@@ -491,6 +530,8 @@ export declare const bookingServiceSchema: z.ZodObject<{
|
|
|
491
530
|
organizationId: string;
|
|
492
531
|
coachUserId: string;
|
|
493
532
|
publicSlug: string;
|
|
533
|
+
deliveryMode: "singleCoach" | "chooseCoach" | "firstAvailable";
|
|
534
|
+
eligibleCoachUserIds: string[];
|
|
494
535
|
durationMinutes: number;
|
|
495
536
|
bufferBeforeMinutes: number;
|
|
496
537
|
bufferAfterMinutes: number;
|
|
@@ -527,6 +568,8 @@ export declare const bookingServiceSchema: z.ZodObject<{
|
|
|
527
568
|
organizationId: string;
|
|
528
569
|
coachUserId: string;
|
|
529
570
|
publicSlug: string;
|
|
571
|
+
deliveryMode: "singleCoach" | "chooseCoach" | "firstAvailable";
|
|
572
|
+
eligibleCoachUserIds: string[];
|
|
530
573
|
durationMinutes: number;
|
|
531
574
|
bufferBeforeMinutes: number;
|
|
532
575
|
bufferAfterMinutes: number;
|
|
@@ -555,9 +598,11 @@ export declare const bookingServiceSchema: z.ZodObject<{
|
|
|
555
598
|
description?: string | null | undefined;
|
|
556
599
|
callInstructions?: string | null | undefined;
|
|
557
600
|
}>;
|
|
558
|
-
export declare const bookingServiceWriteSchema: z.ZodObject<{
|
|
601
|
+
export declare const bookingServiceWriteSchema: z.ZodEffects<z.ZodObject<{
|
|
559
602
|
organizationId: z.ZodString;
|
|
560
603
|
coachUserId: z.ZodString;
|
|
604
|
+
deliveryMode: z.ZodOptional<z.ZodEnum<["singleCoach", "chooseCoach", "firstAvailable"]>>;
|
|
605
|
+
eligibleCoachUserIds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
561
606
|
name: z.ZodString;
|
|
562
607
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
563
608
|
durationMinutes: z.ZodNumber;
|
|
@@ -713,6 +758,70 @@ export declare const bookingServiceWriteSchema: z.ZodObject<{
|
|
|
713
758
|
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
714
759
|
publicVisible: boolean;
|
|
715
760
|
description?: string | null | undefined;
|
|
761
|
+
deliveryMode?: "singleCoach" | "chooseCoach" | "firstAvailable" | undefined;
|
|
762
|
+
eligibleCoachUserIds?: string[] | undefined;
|
|
763
|
+
callInstructions?: string | null | undefined;
|
|
764
|
+
callMethods?: {
|
|
765
|
+
method: "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
766
|
+
automaticMeeting: boolean;
|
|
767
|
+
callInstructions?: string | null | undefined;
|
|
768
|
+
}[] | undefined;
|
|
769
|
+
bookingFormQuestions?: {
|
|
770
|
+
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
771
|
+
id: string;
|
|
772
|
+
enabled: boolean;
|
|
773
|
+
label: string;
|
|
774
|
+
helpText: string | null;
|
|
775
|
+
required: boolean;
|
|
776
|
+
choices: {
|
|
777
|
+
id: string;
|
|
778
|
+
label: string;
|
|
779
|
+
}[];
|
|
780
|
+
}[] | undefined;
|
|
781
|
+
}, {
|
|
782
|
+
name: string;
|
|
783
|
+
organizationId: string;
|
|
784
|
+
coachUserId: string;
|
|
785
|
+
durationMinutes: number;
|
|
786
|
+
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
787
|
+
active?: boolean | undefined;
|
|
788
|
+
description?: string | null | undefined;
|
|
789
|
+
deliveryMode?: "singleCoach" | "chooseCoach" | "firstAvailable" | undefined;
|
|
790
|
+
eligibleCoachUserIds?: string[] | undefined;
|
|
791
|
+
bufferBeforeMinutes?: number | undefined;
|
|
792
|
+
bufferAfterMinutes?: number | undefined;
|
|
793
|
+
callInstructions?: string | null | undefined;
|
|
794
|
+
callMethods?: {
|
|
795
|
+
method: "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
796
|
+
callInstructions?: string | null | undefined;
|
|
797
|
+
automaticMeeting?: boolean | undefined;
|
|
798
|
+
}[] | undefined;
|
|
799
|
+
publicVisible?: boolean | undefined;
|
|
800
|
+
bookingFormQuestions?: {
|
|
801
|
+
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
802
|
+
id: string;
|
|
803
|
+
enabled: boolean;
|
|
804
|
+
label: string;
|
|
805
|
+
helpText: string | null;
|
|
806
|
+
required: boolean;
|
|
807
|
+
choices: {
|
|
808
|
+
id: string;
|
|
809
|
+
label: string;
|
|
810
|
+
}[];
|
|
811
|
+
}[] | undefined;
|
|
812
|
+
}>, {
|
|
813
|
+
name: string;
|
|
814
|
+
active: boolean;
|
|
815
|
+
organizationId: string;
|
|
816
|
+
coachUserId: string;
|
|
817
|
+
durationMinutes: number;
|
|
818
|
+
bufferBeforeMinutes: number;
|
|
819
|
+
bufferAfterMinutes: number;
|
|
820
|
+
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
821
|
+
publicVisible: boolean;
|
|
822
|
+
description?: string | null | undefined;
|
|
823
|
+
deliveryMode?: "singleCoach" | "chooseCoach" | "firstAvailable" | undefined;
|
|
824
|
+
eligibleCoachUserIds?: string[] | undefined;
|
|
716
825
|
callInstructions?: string | null | undefined;
|
|
717
826
|
callMethods?: {
|
|
718
827
|
method: "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
@@ -739,6 +848,8 @@ export declare const bookingServiceWriteSchema: z.ZodObject<{
|
|
|
739
848
|
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
740
849
|
active?: boolean | undefined;
|
|
741
850
|
description?: string | null | undefined;
|
|
851
|
+
deliveryMode?: "singleCoach" | "chooseCoach" | "firstAvailable" | undefined;
|
|
852
|
+
eligibleCoachUserIds?: string[] | undefined;
|
|
742
853
|
bufferBeforeMinutes?: number | undefined;
|
|
743
854
|
bufferAfterMinutes?: number | undefined;
|
|
744
855
|
callInstructions?: string | null | undefined;
|
|
@@ -761,9 +872,11 @@ export declare const bookingServiceWriteSchema: z.ZodObject<{
|
|
|
761
872
|
}[];
|
|
762
873
|
}[] | undefined;
|
|
763
874
|
}>;
|
|
764
|
-
export declare const bookingServiceCreateSchema: z.ZodObject<{
|
|
875
|
+
export declare const bookingServiceCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
765
876
|
organizationId: z.ZodString;
|
|
766
877
|
coachUserId: z.ZodString;
|
|
878
|
+
deliveryMode: z.ZodOptional<z.ZodEnum<["singleCoach", "chooseCoach", "firstAvailable"]>>;
|
|
879
|
+
eligibleCoachUserIds: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>>;
|
|
767
880
|
name: z.ZodString;
|
|
768
881
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
769
882
|
durationMinutes: z.ZodNumber;
|
|
@@ -922,6 +1035,72 @@ export declare const bookingServiceCreateSchema: z.ZodObject<{
|
|
|
922
1035
|
publicVisible: boolean;
|
|
923
1036
|
idempotencyKey: string;
|
|
924
1037
|
description?: string | null | undefined;
|
|
1038
|
+
deliveryMode?: "singleCoach" | "chooseCoach" | "firstAvailable" | undefined;
|
|
1039
|
+
eligibleCoachUserIds?: string[] | undefined;
|
|
1040
|
+
callInstructions?: string | null | undefined;
|
|
1041
|
+
callMethods?: {
|
|
1042
|
+
method: "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
1043
|
+
automaticMeeting: boolean;
|
|
1044
|
+
callInstructions?: string | null | undefined;
|
|
1045
|
+
}[] | undefined;
|
|
1046
|
+
bookingFormQuestions?: {
|
|
1047
|
+
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
1048
|
+
id: string;
|
|
1049
|
+
enabled: boolean;
|
|
1050
|
+
label: string;
|
|
1051
|
+
helpText: string | null;
|
|
1052
|
+
required: boolean;
|
|
1053
|
+
choices: {
|
|
1054
|
+
id: string;
|
|
1055
|
+
label: string;
|
|
1056
|
+
}[];
|
|
1057
|
+
}[] | undefined;
|
|
1058
|
+
}, {
|
|
1059
|
+
name: string;
|
|
1060
|
+
organizationId: string;
|
|
1061
|
+
coachUserId: string;
|
|
1062
|
+
durationMinutes: number;
|
|
1063
|
+
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
1064
|
+
idempotencyKey: string;
|
|
1065
|
+
active?: boolean | undefined;
|
|
1066
|
+
description?: string | null | undefined;
|
|
1067
|
+
deliveryMode?: "singleCoach" | "chooseCoach" | "firstAvailable" | undefined;
|
|
1068
|
+
eligibleCoachUserIds?: string[] | undefined;
|
|
1069
|
+
bufferBeforeMinutes?: number | undefined;
|
|
1070
|
+
bufferAfterMinutes?: number | undefined;
|
|
1071
|
+
callInstructions?: string | null | undefined;
|
|
1072
|
+
callMethods?: {
|
|
1073
|
+
method: "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
1074
|
+
callInstructions?: string | null | undefined;
|
|
1075
|
+
automaticMeeting?: boolean | undefined;
|
|
1076
|
+
}[] | undefined;
|
|
1077
|
+
publicVisible?: boolean | undefined;
|
|
1078
|
+
bookingFormQuestions?: {
|
|
1079
|
+
type: "shortText" | "longText" | "singleChoice" | "multipleChoice" | "yesNo";
|
|
1080
|
+
id: string;
|
|
1081
|
+
enabled: boolean;
|
|
1082
|
+
label: string;
|
|
1083
|
+
helpText: string | null;
|
|
1084
|
+
required: boolean;
|
|
1085
|
+
choices: {
|
|
1086
|
+
id: string;
|
|
1087
|
+
label: string;
|
|
1088
|
+
}[];
|
|
1089
|
+
}[] | undefined;
|
|
1090
|
+
}>, {
|
|
1091
|
+
name: string;
|
|
1092
|
+
active: boolean;
|
|
1093
|
+
organizationId: string;
|
|
1094
|
+
coachUserId: string;
|
|
1095
|
+
durationMinutes: number;
|
|
1096
|
+
bufferBeforeMinutes: number;
|
|
1097
|
+
bufferAfterMinutes: number;
|
|
1098
|
+
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
1099
|
+
publicVisible: boolean;
|
|
1100
|
+
idempotencyKey: string;
|
|
1101
|
+
description?: string | null | undefined;
|
|
1102
|
+
deliveryMode?: "singleCoach" | "chooseCoach" | "firstAvailable" | undefined;
|
|
1103
|
+
eligibleCoachUserIds?: string[] | undefined;
|
|
925
1104
|
callInstructions?: string | null | undefined;
|
|
926
1105
|
callMethods?: {
|
|
927
1106
|
method: "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
@@ -949,6 +1128,8 @@ export declare const bookingServiceCreateSchema: z.ZodObject<{
|
|
|
949
1128
|
idempotencyKey: string;
|
|
950
1129
|
active?: boolean | undefined;
|
|
951
1130
|
description?: string | null | undefined;
|
|
1131
|
+
deliveryMode?: "singleCoach" | "chooseCoach" | "firstAvailable" | undefined;
|
|
1132
|
+
eligibleCoachUserIds?: string[] | undefined;
|
|
952
1133
|
bufferBeforeMinutes?: number | undefined;
|
|
953
1134
|
bufferAfterMinutes?: number | undefined;
|
|
954
1135
|
callInstructions?: string | null | undefined;
|
|
@@ -971,6 +1152,98 @@ export declare const bookingServiceCreateSchema: z.ZodObject<{
|
|
|
971
1152
|
}[];
|
|
972
1153
|
}[] | undefined;
|
|
973
1154
|
}>;
|
|
1155
|
+
export declare const bookingCollectionWriteSchema: z.ZodObject<{
|
|
1156
|
+
organizationId: z.ZodString;
|
|
1157
|
+
coachUserId: z.ZodString;
|
|
1158
|
+
name: z.ZodString;
|
|
1159
|
+
publicTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1160
|
+
publicIntroduction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1161
|
+
status: z.ZodDefault<z.ZodEnum<["active", "paused"]>>;
|
|
1162
|
+
serviceIds: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
1163
|
+
}, "strict", z.ZodTypeAny, {
|
|
1164
|
+
status: "active" | "paused";
|
|
1165
|
+
name: string;
|
|
1166
|
+
organizationId: string;
|
|
1167
|
+
coachUserId: string;
|
|
1168
|
+
serviceIds: string[];
|
|
1169
|
+
publicTitle?: string | null | undefined;
|
|
1170
|
+
publicIntroduction?: string | null | undefined;
|
|
1171
|
+
}, {
|
|
1172
|
+
name: string;
|
|
1173
|
+
organizationId: string;
|
|
1174
|
+
coachUserId: string;
|
|
1175
|
+
serviceIds: string[];
|
|
1176
|
+
status?: "active" | "paused" | undefined;
|
|
1177
|
+
publicTitle?: string | null | undefined;
|
|
1178
|
+
publicIntroduction?: string | null | undefined;
|
|
1179
|
+
}>;
|
|
1180
|
+
export declare const bookingCollectionCreateSchema: z.ZodObject<{
|
|
1181
|
+
organizationId: z.ZodString;
|
|
1182
|
+
coachUserId: z.ZodString;
|
|
1183
|
+
name: z.ZodString;
|
|
1184
|
+
publicTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1185
|
+
publicIntroduction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1186
|
+
status: z.ZodDefault<z.ZodEnum<["active", "paused"]>>;
|
|
1187
|
+
} & {
|
|
1188
|
+
serviceIds: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
1189
|
+
idempotencyKey: z.ZodString;
|
|
1190
|
+
}, "strict", z.ZodTypeAny, {
|
|
1191
|
+
status: "active" | "paused";
|
|
1192
|
+
name: string;
|
|
1193
|
+
organizationId: string;
|
|
1194
|
+
coachUserId: string;
|
|
1195
|
+
idempotencyKey: string;
|
|
1196
|
+
serviceIds: string[];
|
|
1197
|
+
publicTitle?: string | null | undefined;
|
|
1198
|
+
publicIntroduction?: string | null | undefined;
|
|
1199
|
+
}, {
|
|
1200
|
+
name: string;
|
|
1201
|
+
organizationId: string;
|
|
1202
|
+
coachUserId: string;
|
|
1203
|
+
idempotencyKey: string;
|
|
1204
|
+
serviceIds: string[];
|
|
1205
|
+
status?: "active" | "paused" | undefined;
|
|
1206
|
+
publicTitle?: string | null | undefined;
|
|
1207
|
+
publicIntroduction?: string | null | undefined;
|
|
1208
|
+
}>;
|
|
1209
|
+
export declare const bookingCollectionSchema: z.ZodObject<{
|
|
1210
|
+
organizationId: z.ZodString;
|
|
1211
|
+
coachUserId: z.ZodString;
|
|
1212
|
+
name: z.ZodString;
|
|
1213
|
+
publicTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1214
|
+
publicIntroduction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1215
|
+
status: z.ZodDefault<z.ZodEnum<["active", "paused"]>>;
|
|
1216
|
+
serviceIds: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
1217
|
+
} & {
|
|
1218
|
+
id: z.ZodString;
|
|
1219
|
+
publicSlug: z.ZodString;
|
|
1220
|
+
createdAt: z.ZodString;
|
|
1221
|
+
updatedAt: z.ZodString;
|
|
1222
|
+
}, "strict", z.ZodTypeAny, {
|
|
1223
|
+
status: "active" | "paused";
|
|
1224
|
+
id: string;
|
|
1225
|
+
name: string;
|
|
1226
|
+
createdAt: string;
|
|
1227
|
+
updatedAt: string;
|
|
1228
|
+
organizationId: string;
|
|
1229
|
+
coachUserId: string;
|
|
1230
|
+
publicSlug: string;
|
|
1231
|
+
serviceIds: string[];
|
|
1232
|
+
publicTitle?: string | null | undefined;
|
|
1233
|
+
publicIntroduction?: string | null | undefined;
|
|
1234
|
+
}, {
|
|
1235
|
+
id: string;
|
|
1236
|
+
name: string;
|
|
1237
|
+
createdAt: string;
|
|
1238
|
+
updatedAt: string;
|
|
1239
|
+
organizationId: string;
|
|
1240
|
+
coachUserId: string;
|
|
1241
|
+
publicSlug: string;
|
|
1242
|
+
serviceIds: string[];
|
|
1243
|
+
status?: "active" | "paused" | undefined;
|
|
1244
|
+
publicTitle?: string | null | undefined;
|
|
1245
|
+
publicIntroduction?: string | null | undefined;
|
|
1246
|
+
}>;
|
|
974
1247
|
export declare const bookingAvailabilityRuleSchema: z.ZodEffects<z.ZodObject<{
|
|
975
1248
|
id: z.ZodString;
|
|
976
1249
|
organizationId: z.ZodString;
|
|
@@ -1187,19 +1460,22 @@ export declare const bookingContactSchema: z.ZodObject<{
|
|
|
1187
1460
|
caregiverEmail: z.ZodString;
|
|
1188
1461
|
caregiverPhone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1189
1462
|
childFirstName: z.ZodString;
|
|
1190
|
-
|
|
1463
|
+
childAgeText: z.ZodString;
|
|
1464
|
+
childAgeBand: z.ZodOptional<z.ZodEnum<["expecting", "under3Months", "3To5Months", "6To8Months", "9To12Months", "13To18Months", "19To24Months", "over2Years"]>>;
|
|
1191
1465
|
}, "strip", z.ZodTypeAny, {
|
|
1192
1466
|
caregiverName: string;
|
|
1193
1467
|
caregiverEmail: string;
|
|
1194
1468
|
childFirstName: string;
|
|
1195
|
-
|
|
1469
|
+
childAgeText: string;
|
|
1196
1470
|
caregiverPhone?: string | null | undefined;
|
|
1471
|
+
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
1197
1472
|
}, {
|
|
1198
1473
|
caregiverName: string;
|
|
1199
1474
|
caregiverEmail: string;
|
|
1200
1475
|
childFirstName: string;
|
|
1201
|
-
|
|
1476
|
+
childAgeText: string;
|
|
1202
1477
|
caregiverPhone?: string | null | undefined;
|
|
1478
|
+
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
1203
1479
|
}>;
|
|
1204
1480
|
export declare const bookingSummarySchema: z.ZodObject<{
|
|
1205
1481
|
id: z.ZodString;
|
|
@@ -1216,19 +1492,22 @@ export declare const bookingSummarySchema: z.ZodObject<{
|
|
|
1216
1492
|
caregiverEmail: z.ZodString;
|
|
1217
1493
|
caregiverPhone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1218
1494
|
childFirstName: z.ZodString;
|
|
1219
|
-
|
|
1495
|
+
childAgeText: z.ZodString;
|
|
1496
|
+
childAgeBand: z.ZodOptional<z.ZodEnum<["expecting", "under3Months", "3To5Months", "6To8Months", "9To12Months", "13To18Months", "19To24Months", "over2Years"]>>;
|
|
1220
1497
|
}, "strip", z.ZodTypeAny, {
|
|
1221
1498
|
caregiverName: string;
|
|
1222
1499
|
caregiverEmail: string;
|
|
1223
1500
|
childFirstName: string;
|
|
1224
|
-
|
|
1501
|
+
childAgeText: string;
|
|
1225
1502
|
caregiverPhone?: string | null | undefined;
|
|
1503
|
+
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
1226
1504
|
}, {
|
|
1227
1505
|
caregiverName: string;
|
|
1228
1506
|
caregiverEmail: string;
|
|
1229
1507
|
childFirstName: string;
|
|
1230
|
-
|
|
1508
|
+
childAgeText: string;
|
|
1231
1509
|
caregiverPhone?: string | null | undefined;
|
|
1510
|
+
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
1232
1511
|
}>;
|
|
1233
1512
|
callMethod: z.ZodEnum<["video", "phone", "whatsappVoice", "whatsappVideo", "zoom", "otherVideo", "inPerson"]>;
|
|
1234
1513
|
callInstructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1635,8 +1914,9 @@ export declare const bookingSummarySchema: z.ZodObject<{
|
|
|
1635
1914
|
caregiverName: string;
|
|
1636
1915
|
caregiverEmail: string;
|
|
1637
1916
|
childFirstName: string;
|
|
1638
|
-
|
|
1917
|
+
childAgeText: string;
|
|
1639
1918
|
caregiverPhone?: string | null | undefined;
|
|
1919
|
+
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
1640
1920
|
};
|
|
1641
1921
|
joiningDetailsStatus: "ready" | "preparing" | "attention";
|
|
1642
1922
|
callInstructions?: string | null | undefined;
|
|
@@ -1699,8 +1979,9 @@ export declare const bookingSummarySchema: z.ZodObject<{
|
|
|
1699
1979
|
caregiverName: string;
|
|
1700
1980
|
caregiverEmail: string;
|
|
1701
1981
|
childFirstName: string;
|
|
1702
|
-
|
|
1982
|
+
childAgeText: string;
|
|
1703
1983
|
caregiverPhone?: string | null | undefined;
|
|
1984
|
+
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
1704
1985
|
};
|
|
1705
1986
|
joiningDetailsStatus: "ready" | "preparing" | "attention";
|
|
1706
1987
|
callInstructions?: string | null | undefined;
|
|
@@ -1724,19 +2005,22 @@ export declare const bookingListItemSchema: z.ZodObject<Omit<{
|
|
|
1724
2005
|
caregiverEmail: z.ZodString;
|
|
1725
2006
|
caregiverPhone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1726
2007
|
childFirstName: z.ZodString;
|
|
1727
|
-
|
|
2008
|
+
childAgeText: z.ZodString;
|
|
2009
|
+
childAgeBand: z.ZodOptional<z.ZodEnum<["expecting", "under3Months", "3To5Months", "6To8Months", "9To12Months", "13To18Months", "19To24Months", "over2Years"]>>;
|
|
1728
2010
|
}, "strip", z.ZodTypeAny, {
|
|
1729
2011
|
caregiverName: string;
|
|
1730
2012
|
caregiverEmail: string;
|
|
1731
2013
|
childFirstName: string;
|
|
1732
|
-
|
|
2014
|
+
childAgeText: string;
|
|
1733
2015
|
caregiverPhone?: string | null | undefined;
|
|
2016
|
+
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
1734
2017
|
}, {
|
|
1735
2018
|
caregiverName: string;
|
|
1736
2019
|
caregiverEmail: string;
|
|
1737
2020
|
childFirstName: string;
|
|
1738
|
-
|
|
2021
|
+
childAgeText: string;
|
|
1739
2022
|
caregiverPhone?: string | null | undefined;
|
|
2023
|
+
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
1740
2024
|
}>;
|
|
1741
2025
|
callMethod: z.ZodEnum<["video", "phone", "whatsappVoice", "whatsappVideo", "zoom", "otherVideo", "inPerson"]>;
|
|
1742
2026
|
callInstructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2109,8 +2393,9 @@ export declare const bookingListItemSchema: z.ZodObject<Omit<{
|
|
|
2109
2393
|
caregiverName: string;
|
|
2110
2394
|
caregiverEmail: string;
|
|
2111
2395
|
childFirstName: string;
|
|
2112
|
-
|
|
2396
|
+
childAgeText: string;
|
|
2113
2397
|
caregiverPhone?: string | null | undefined;
|
|
2398
|
+
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
2114
2399
|
};
|
|
2115
2400
|
joiningDetailsStatus: "ready" | "preparing" | "attention";
|
|
2116
2401
|
hasBookingFormAnswers: boolean;
|
|
@@ -2138,8 +2423,9 @@ export declare const bookingListItemSchema: z.ZodObject<Omit<{
|
|
|
2138
2423
|
caregiverName: string;
|
|
2139
2424
|
caregiverEmail: string;
|
|
2140
2425
|
childFirstName: string;
|
|
2141
|
-
|
|
2426
|
+
childAgeText: string;
|
|
2142
2427
|
caregiverPhone?: string | null | undefined;
|
|
2428
|
+
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
2143
2429
|
};
|
|
2144
2430
|
joiningDetailsStatus: "ready" | "preparing" | "attention";
|
|
2145
2431
|
hasBookingFormAnswers: boolean;
|
|
@@ -2181,6 +2467,86 @@ export declare const bookingAdminTargetQuerySchema: z.ZodObject<{
|
|
|
2181
2467
|
organizationId: string;
|
|
2182
2468
|
coachUserId: string;
|
|
2183
2469
|
}>;
|
|
2470
|
+
export declare const manualBookingAvailabilityQuerySchema: z.ZodObject<{
|
|
2471
|
+
organizationId: z.ZodString;
|
|
2472
|
+
coachUserId: z.ZodString;
|
|
2473
|
+
} & {
|
|
2474
|
+
serviceId: z.ZodString;
|
|
2475
|
+
localDate: z.ZodString;
|
|
2476
|
+
}, "strict", z.ZodTypeAny, {
|
|
2477
|
+
organizationId: string;
|
|
2478
|
+
coachUserId: string;
|
|
2479
|
+
localDate: string;
|
|
2480
|
+
serviceId: string;
|
|
2481
|
+
}, {
|
|
2482
|
+
organizationId: string;
|
|
2483
|
+
coachUserId: string;
|
|
2484
|
+
localDate: string;
|
|
2485
|
+
serviceId: string;
|
|
2486
|
+
}>;
|
|
2487
|
+
export declare const manualBookingAvailabilitySlotSchema: z.ZodObject<{
|
|
2488
|
+
startsAt: z.ZodString;
|
|
2489
|
+
endsAt: z.ZodString;
|
|
2490
|
+
state: z.ZodEnum<["available", "busy", "past", "calendarUnavailable"]>;
|
|
2491
|
+
withinPublicHours: z.ZodBoolean;
|
|
2492
|
+
}, "strict", z.ZodTypeAny, {
|
|
2493
|
+
state: "available" | "busy" | "past" | "calendarUnavailable";
|
|
2494
|
+
startsAt: string;
|
|
2495
|
+
endsAt: string;
|
|
2496
|
+
withinPublicHours: boolean;
|
|
2497
|
+
}, {
|
|
2498
|
+
state: "available" | "busy" | "past" | "calendarUnavailable";
|
|
2499
|
+
startsAt: string;
|
|
2500
|
+
endsAt: string;
|
|
2501
|
+
withinPublicHours: boolean;
|
|
2502
|
+
}>;
|
|
2503
|
+
export declare const manualBookingAvailabilityResponseSchema: z.ZodObject<{
|
|
2504
|
+
serviceId: z.ZodString;
|
|
2505
|
+
localDate: z.ZodString;
|
|
2506
|
+
timeZone: z.ZodEffects<z.ZodString, string, string>;
|
|
2507
|
+
calendarState: z.ZodEnum<["connected", "notConnected", "needsAttention"]>;
|
|
2508
|
+
slots: z.ZodArray<z.ZodObject<{
|
|
2509
|
+
startsAt: z.ZodString;
|
|
2510
|
+
endsAt: z.ZodString;
|
|
2511
|
+
state: z.ZodEnum<["available", "busy", "past", "calendarUnavailable"]>;
|
|
2512
|
+
withinPublicHours: z.ZodBoolean;
|
|
2513
|
+
}, "strict", z.ZodTypeAny, {
|
|
2514
|
+
state: "available" | "busy" | "past" | "calendarUnavailable";
|
|
2515
|
+
startsAt: string;
|
|
2516
|
+
endsAt: string;
|
|
2517
|
+
withinPublicHours: boolean;
|
|
2518
|
+
}, {
|
|
2519
|
+
state: "available" | "busy" | "past" | "calendarUnavailable";
|
|
2520
|
+
startsAt: string;
|
|
2521
|
+
endsAt: string;
|
|
2522
|
+
withinPublicHours: boolean;
|
|
2523
|
+
}>, "many">;
|
|
2524
|
+
generatedAt: z.ZodString;
|
|
2525
|
+
}, "strict", z.ZodTypeAny, {
|
|
2526
|
+
timeZone: string;
|
|
2527
|
+
localDate: string;
|
|
2528
|
+
generatedAt: string;
|
|
2529
|
+
serviceId: string;
|
|
2530
|
+
calendarState: "needsAttention" | "notConnected" | "connected";
|
|
2531
|
+
slots: {
|
|
2532
|
+
state: "available" | "busy" | "past" | "calendarUnavailable";
|
|
2533
|
+
startsAt: string;
|
|
2534
|
+
endsAt: string;
|
|
2535
|
+
withinPublicHours: boolean;
|
|
2536
|
+
}[];
|
|
2537
|
+
}, {
|
|
2538
|
+
timeZone: string;
|
|
2539
|
+
localDate: string;
|
|
2540
|
+
generatedAt: string;
|
|
2541
|
+
serviceId: string;
|
|
2542
|
+
calendarState: "needsAttention" | "notConnected" | "connected";
|
|
2543
|
+
slots: {
|
|
2544
|
+
state: "available" | "busy" | "past" | "calendarUnavailable";
|
|
2545
|
+
startsAt: string;
|
|
2546
|
+
endsAt: string;
|
|
2547
|
+
withinPublicHours: boolean;
|
|
2548
|
+
}[];
|
|
2549
|
+
}>;
|
|
2184
2550
|
export declare const bookingPageLogoUploadRequestSchema: z.ZodObject<{
|
|
2185
2551
|
organizationId: z.ZodString;
|
|
2186
2552
|
coachUserId: z.ZodString;
|
|
@@ -2287,19 +2653,22 @@ export declare const bookingListResponseSchema: z.ZodObject<{
|
|
|
2287
2653
|
caregiverEmail: z.ZodString;
|
|
2288
2654
|
caregiverPhone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2289
2655
|
childFirstName: z.ZodString;
|
|
2290
|
-
|
|
2656
|
+
childAgeText: z.ZodString;
|
|
2657
|
+
childAgeBand: z.ZodOptional<z.ZodEnum<["expecting", "under3Months", "3To5Months", "6To8Months", "9To12Months", "13To18Months", "19To24Months", "over2Years"]>>;
|
|
2291
2658
|
}, "strip", z.ZodTypeAny, {
|
|
2292
2659
|
caregiverName: string;
|
|
2293
2660
|
caregiverEmail: string;
|
|
2294
2661
|
childFirstName: string;
|
|
2295
|
-
|
|
2662
|
+
childAgeText: string;
|
|
2296
2663
|
caregiverPhone?: string | null | undefined;
|
|
2664
|
+
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
2297
2665
|
}, {
|
|
2298
2666
|
caregiverName: string;
|
|
2299
2667
|
caregiverEmail: string;
|
|
2300
2668
|
childFirstName: string;
|
|
2301
|
-
|
|
2669
|
+
childAgeText: string;
|
|
2302
2670
|
caregiverPhone?: string | null | undefined;
|
|
2671
|
+
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
2303
2672
|
}>;
|
|
2304
2673
|
callMethod: z.ZodEnum<["video", "phone", "whatsappVoice", "whatsappVideo", "zoom", "otherVideo", "inPerson"]>;
|
|
2305
2674
|
callInstructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2672,8 +3041,9 @@ export declare const bookingListResponseSchema: z.ZodObject<{
|
|
|
2672
3041
|
caregiverName: string;
|
|
2673
3042
|
caregiverEmail: string;
|
|
2674
3043
|
childFirstName: string;
|
|
2675
|
-
|
|
3044
|
+
childAgeText: string;
|
|
2676
3045
|
caregiverPhone?: string | null | undefined;
|
|
3046
|
+
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
2677
3047
|
};
|
|
2678
3048
|
joiningDetailsStatus: "ready" | "preparing" | "attention";
|
|
2679
3049
|
hasBookingFormAnswers: boolean;
|
|
@@ -2701,8 +3071,9 @@ export declare const bookingListResponseSchema: z.ZodObject<{
|
|
|
2701
3071
|
caregiverName: string;
|
|
2702
3072
|
caregiverEmail: string;
|
|
2703
3073
|
childFirstName: string;
|
|
2704
|
-
|
|
3074
|
+
childAgeText: string;
|
|
2705
3075
|
caregiverPhone?: string | null | undefined;
|
|
3076
|
+
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
2706
3077
|
};
|
|
2707
3078
|
joiningDetailsStatus: "ready" | "preparing" | "attention";
|
|
2708
3079
|
hasBookingFormAnswers: boolean;
|
|
@@ -2733,8 +3104,9 @@ export declare const bookingListResponseSchema: z.ZodObject<{
|
|
|
2733
3104
|
caregiverName: string;
|
|
2734
3105
|
caregiverEmail: string;
|
|
2735
3106
|
childFirstName: string;
|
|
2736
|
-
|
|
3107
|
+
childAgeText: string;
|
|
2737
3108
|
caregiverPhone?: string | null | undefined;
|
|
3109
|
+
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
2738
3110
|
};
|
|
2739
3111
|
joiningDetailsStatus: "ready" | "preparing" | "attention";
|
|
2740
3112
|
hasBookingFormAnswers: boolean;
|
|
@@ -2765,8 +3137,9 @@ export declare const bookingListResponseSchema: z.ZodObject<{
|
|
|
2765
3137
|
caregiverName: string;
|
|
2766
3138
|
caregiverEmail: string;
|
|
2767
3139
|
childFirstName: string;
|
|
2768
|
-
|
|
3140
|
+
childAgeText: string;
|
|
2769
3141
|
caregiverPhone?: string | null | undefined;
|
|
3142
|
+
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
2770
3143
|
};
|
|
2771
3144
|
joiningDetailsStatus: "ready" | "preparing" | "attention";
|
|
2772
3145
|
hasBookingFormAnswers: boolean;
|
|
@@ -2813,19 +3186,22 @@ export declare const mobileBookingListItemSchema: z.ZodObject<Pick<{
|
|
|
2813
3186
|
caregiverEmail: z.ZodString;
|
|
2814
3187
|
caregiverPhone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2815
3188
|
childFirstName: z.ZodString;
|
|
2816
|
-
|
|
3189
|
+
childAgeText: z.ZodString;
|
|
3190
|
+
childAgeBand: z.ZodOptional<z.ZodEnum<["expecting", "under3Months", "3To5Months", "6To8Months", "9To12Months", "13To18Months", "19To24Months", "over2Years"]>>;
|
|
2817
3191
|
}, "strip", z.ZodTypeAny, {
|
|
2818
3192
|
caregiverName: string;
|
|
2819
3193
|
caregiverEmail: string;
|
|
2820
3194
|
childFirstName: string;
|
|
2821
|
-
|
|
3195
|
+
childAgeText: string;
|
|
2822
3196
|
caregiverPhone?: string | null | undefined;
|
|
3197
|
+
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
2823
3198
|
}, {
|
|
2824
3199
|
caregiverName: string;
|
|
2825
3200
|
caregiverEmail: string;
|
|
2826
3201
|
childFirstName: string;
|
|
2827
|
-
|
|
3202
|
+
childAgeText: string;
|
|
2828
3203
|
caregiverPhone?: string | null | undefined;
|
|
3204
|
+
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
2829
3205
|
}>;
|
|
2830
3206
|
callMethod: z.ZodEnum<["video", "phone", "whatsappVoice", "whatsappVideo", "zoom", "otherVideo", "inPerson"]>;
|
|
2831
3207
|
callInstructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3183,15 +3559,18 @@ export declare const mobileBookingListItemSchema: z.ZodObject<Pick<{
|
|
|
3183
3559
|
caregiverEmail: z.ZodString;
|
|
3184
3560
|
caregiverPhone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3185
3561
|
childFirstName: z.ZodString;
|
|
3186
|
-
|
|
3187
|
-
|
|
3562
|
+
childAgeText: z.ZodString;
|
|
3563
|
+
childAgeBand: z.ZodOptional<z.ZodEnum<["expecting", "under3Months", "3To5Months", "6To8Months", "9To12Months", "13To18Months", "19To24Months", "over2Years"]>>;
|
|
3564
|
+
}, "caregiverName" | "childFirstName" | "childAgeText" | "childAgeBand">, "strip", z.ZodTypeAny, {
|
|
3188
3565
|
caregiverName: string;
|
|
3189
3566
|
childFirstName: string;
|
|
3190
|
-
|
|
3567
|
+
childAgeText: string;
|
|
3568
|
+
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
3191
3569
|
}, {
|
|
3192
3570
|
caregiverName: string;
|
|
3193
3571
|
childFirstName: string;
|
|
3194
|
-
|
|
3572
|
+
childAgeText: string;
|
|
3573
|
+
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
3195
3574
|
}>;
|
|
3196
3575
|
hasBookingFormAnswers: z.ZodBoolean;
|
|
3197
3576
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -3208,7 +3587,8 @@ export declare const mobileBookingListItemSchema: z.ZodObject<Pick<{
|
|
|
3208
3587
|
contact: {
|
|
3209
3588
|
caregiverName: string;
|
|
3210
3589
|
childFirstName: string;
|
|
3211
|
-
|
|
3590
|
+
childAgeText: string;
|
|
3591
|
+
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
3212
3592
|
};
|
|
3213
3593
|
hasBookingFormAnswers: boolean;
|
|
3214
3594
|
}, {
|
|
@@ -3225,7 +3605,8 @@ export declare const mobileBookingListItemSchema: z.ZodObject<Pick<{
|
|
|
3225
3605
|
contact: {
|
|
3226
3606
|
caregiverName: string;
|
|
3227
3607
|
childFirstName: string;
|
|
3228
|
-
|
|
3608
|
+
childAgeText: string;
|
|
3609
|
+
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
3229
3610
|
};
|
|
3230
3611
|
hasBookingFormAnswers: boolean;
|
|
3231
3612
|
}>;
|
|
@@ -3245,19 +3626,22 @@ export declare const mobileBookingListResponseSchema: z.ZodObject<{
|
|
|
3245
3626
|
caregiverEmail: z.ZodString;
|
|
3246
3627
|
caregiverPhone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3247
3628
|
childFirstName: z.ZodString;
|
|
3248
|
-
|
|
3629
|
+
childAgeText: z.ZodString;
|
|
3630
|
+
childAgeBand: z.ZodOptional<z.ZodEnum<["expecting", "under3Months", "3To5Months", "6To8Months", "9To12Months", "13To18Months", "19To24Months", "over2Years"]>>;
|
|
3249
3631
|
}, "strip", z.ZodTypeAny, {
|
|
3250
3632
|
caregiverName: string;
|
|
3251
3633
|
caregiverEmail: string;
|
|
3252
3634
|
childFirstName: string;
|
|
3253
|
-
|
|
3635
|
+
childAgeText: string;
|
|
3254
3636
|
caregiverPhone?: string | null | undefined;
|
|
3637
|
+
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
3255
3638
|
}, {
|
|
3256
3639
|
caregiverName: string;
|
|
3257
3640
|
caregiverEmail: string;
|
|
3258
3641
|
childFirstName: string;
|
|
3259
|
-
|
|
3642
|
+
childAgeText: string;
|
|
3260
3643
|
caregiverPhone?: string | null | undefined;
|
|
3644
|
+
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
3261
3645
|
}>;
|
|
3262
3646
|
callMethod: z.ZodEnum<["video", "phone", "whatsappVoice", "whatsappVideo", "zoom", "otherVideo", "inPerson"]>;
|
|
3263
3647
|
callInstructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3615,15 +3999,18 @@ export declare const mobileBookingListResponseSchema: z.ZodObject<{
|
|
|
3615
3999
|
caregiverEmail: z.ZodString;
|
|
3616
4000
|
caregiverPhone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3617
4001
|
childFirstName: z.ZodString;
|
|
3618
|
-
|
|
3619
|
-
|
|
4002
|
+
childAgeText: z.ZodString;
|
|
4003
|
+
childAgeBand: z.ZodOptional<z.ZodEnum<["expecting", "under3Months", "3To5Months", "6To8Months", "9To12Months", "13To18Months", "19To24Months", "over2Years"]>>;
|
|
4004
|
+
}, "caregiverName" | "childFirstName" | "childAgeText" | "childAgeBand">, "strip", z.ZodTypeAny, {
|
|
3620
4005
|
caregiverName: string;
|
|
3621
4006
|
childFirstName: string;
|
|
3622
|
-
|
|
4007
|
+
childAgeText: string;
|
|
4008
|
+
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
3623
4009
|
}, {
|
|
3624
4010
|
caregiverName: string;
|
|
3625
4011
|
childFirstName: string;
|
|
3626
|
-
|
|
4012
|
+
childAgeText: string;
|
|
4013
|
+
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
3627
4014
|
}>;
|
|
3628
4015
|
hasBookingFormAnswers: z.ZodBoolean;
|
|
3629
4016
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -3640,7 +4027,8 @@ export declare const mobileBookingListResponseSchema: z.ZodObject<{
|
|
|
3640
4027
|
contact: {
|
|
3641
4028
|
caregiverName: string;
|
|
3642
4029
|
childFirstName: string;
|
|
3643
|
-
|
|
4030
|
+
childAgeText: string;
|
|
4031
|
+
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
3644
4032
|
};
|
|
3645
4033
|
hasBookingFormAnswers: boolean;
|
|
3646
4034
|
}, {
|
|
@@ -3657,7 +4045,8 @@ export declare const mobileBookingListResponseSchema: z.ZodObject<{
|
|
|
3657
4045
|
contact: {
|
|
3658
4046
|
caregiverName: string;
|
|
3659
4047
|
childFirstName: string;
|
|
3660
|
-
|
|
4048
|
+
childAgeText: string;
|
|
4049
|
+
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
3661
4050
|
};
|
|
3662
4051
|
hasBookingFormAnswers: boolean;
|
|
3663
4052
|
}>, "many">;
|
|
@@ -3677,7 +4066,8 @@ export declare const mobileBookingListResponseSchema: z.ZodObject<{
|
|
|
3677
4066
|
contact: {
|
|
3678
4067
|
caregiverName: string;
|
|
3679
4068
|
childFirstName: string;
|
|
3680
|
-
|
|
4069
|
+
childAgeText: string;
|
|
4070
|
+
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
3681
4071
|
};
|
|
3682
4072
|
hasBookingFormAnswers: boolean;
|
|
3683
4073
|
}[];
|
|
@@ -3697,7 +4087,8 @@ export declare const mobileBookingListResponseSchema: z.ZodObject<{
|
|
|
3697
4087
|
contact: {
|
|
3698
4088
|
caregiverName: string;
|
|
3699
4089
|
childFirstName: string;
|
|
3700
|
-
|
|
4090
|
+
childAgeText: string;
|
|
4091
|
+
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
3701
4092
|
};
|
|
3702
4093
|
hasBookingFormAnswers: boolean;
|
|
3703
4094
|
}[];
|
|
@@ -3718,19 +4109,22 @@ export declare const mobileBookingDetailSchema: z.ZodObject<Pick<{
|
|
|
3718
4109
|
caregiverEmail: z.ZodString;
|
|
3719
4110
|
caregiverPhone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3720
4111
|
childFirstName: z.ZodString;
|
|
3721
|
-
|
|
4112
|
+
childAgeText: z.ZodString;
|
|
4113
|
+
childAgeBand: z.ZodOptional<z.ZodEnum<["expecting", "under3Months", "3To5Months", "6To8Months", "9To12Months", "13To18Months", "19To24Months", "over2Years"]>>;
|
|
3722
4114
|
}, "strip", z.ZodTypeAny, {
|
|
3723
4115
|
caregiverName: string;
|
|
3724
4116
|
caregiverEmail: string;
|
|
3725
4117
|
childFirstName: string;
|
|
3726
|
-
|
|
4118
|
+
childAgeText: string;
|
|
3727
4119
|
caregiverPhone?: string | null | undefined;
|
|
4120
|
+
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
3728
4121
|
}, {
|
|
3729
4122
|
caregiverName: string;
|
|
3730
4123
|
caregiverEmail: string;
|
|
3731
4124
|
childFirstName: string;
|
|
3732
|
-
|
|
4125
|
+
childAgeText: string;
|
|
3733
4126
|
caregiverPhone?: string | null | undefined;
|
|
4127
|
+
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
3734
4128
|
}>;
|
|
3735
4129
|
callMethod: z.ZodEnum<["video", "phone", "whatsappVoice", "whatsappVideo", "zoom", "otherVideo", "inPerson"]>;
|
|
3736
4130
|
callInstructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4088,19 +4482,22 @@ export declare const mobileBookingDetailSchema: z.ZodObject<Pick<{
|
|
|
4088
4482
|
caregiverEmail: z.ZodString;
|
|
4089
4483
|
caregiverPhone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4090
4484
|
childFirstName: z.ZodString;
|
|
4091
|
-
|
|
4485
|
+
childAgeText: z.ZodString;
|
|
4486
|
+
childAgeBand: z.ZodOptional<z.ZodEnum<["expecting", "under3Months", "3To5Months", "6To8Months", "9To12Months", "13To18Months", "19To24Months", "over2Years"]>>;
|
|
4092
4487
|
}, "strip", z.ZodTypeAny, {
|
|
4093
4488
|
caregiverName: string;
|
|
4094
4489
|
caregiverEmail: string;
|
|
4095
4490
|
childFirstName: string;
|
|
4096
|
-
|
|
4491
|
+
childAgeText: string;
|
|
4097
4492
|
caregiverPhone?: string | null | undefined;
|
|
4493
|
+
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
4098
4494
|
}, {
|
|
4099
4495
|
caregiverName: string;
|
|
4100
4496
|
caregiverEmail: string;
|
|
4101
4497
|
childFirstName: string;
|
|
4102
|
-
|
|
4498
|
+
childAgeText: string;
|
|
4103
4499
|
caregiverPhone?: string | null | undefined;
|
|
4500
|
+
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
4104
4501
|
}>;
|
|
4105
4502
|
bookingForm: z.ZodNullable<z.ZodEffects<z.ZodObject<{
|
|
4106
4503
|
revision: z.ZodString;
|
|
@@ -4486,8 +4883,9 @@ export declare const mobileBookingDetailSchema: z.ZodObject<Pick<{
|
|
|
4486
4883
|
caregiverName: string;
|
|
4487
4884
|
caregiverEmail: string;
|
|
4488
4885
|
childFirstName: string;
|
|
4489
|
-
|
|
4886
|
+
childAgeText: string;
|
|
4490
4887
|
caregiverPhone?: string | null | undefined;
|
|
4888
|
+
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
4491
4889
|
};
|
|
4492
4890
|
}, {
|
|
4493
4891
|
status: "scheduled" | "completed" | "cancelled" | "noShow";
|
|
@@ -4540,8 +4938,9 @@ export declare const mobileBookingDetailSchema: z.ZodObject<Pick<{
|
|
|
4540
4938
|
caregiverName: string;
|
|
4541
4939
|
caregiverEmail: string;
|
|
4542
4940
|
childFirstName: string;
|
|
4543
|
-
|
|
4941
|
+
childAgeText: string;
|
|
4544
4942
|
caregiverPhone?: string | null | undefined;
|
|
4943
|
+
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
4545
4944
|
};
|
|
4546
4945
|
}>;
|
|
4547
4946
|
export declare const mobileBookingTargetsSchema: z.ZodObject<{
|
|
@@ -4554,33 +4953,113 @@ export declare const mobileBookingTargetsSchema: z.ZodObject<{
|
|
|
4554
4953
|
}, "strip", z.ZodTypeAny, {
|
|
4555
4954
|
organizationId: string;
|
|
4556
4955
|
coachUserId: string;
|
|
4557
|
-
organizationName: string;
|
|
4558
4956
|
coachName: string;
|
|
4957
|
+
organizationName: string;
|
|
4559
4958
|
actorCapability: "self";
|
|
4560
4959
|
}, {
|
|
4561
4960
|
organizationId: string;
|
|
4562
4961
|
coachUserId: string;
|
|
4563
|
-
organizationName: string;
|
|
4564
4962
|
coachName: string;
|
|
4963
|
+
organizationName: string;
|
|
4565
4964
|
actorCapability: "self";
|
|
4566
4965
|
}>, "many">;
|
|
4567
4966
|
}, "strip", z.ZodTypeAny, {
|
|
4568
4967
|
targets: {
|
|
4569
4968
|
organizationId: string;
|
|
4570
4969
|
coachUserId: string;
|
|
4571
|
-
organizationName: string;
|
|
4572
4970
|
coachName: string;
|
|
4971
|
+
organizationName: string;
|
|
4573
4972
|
actorCapability: "self";
|
|
4574
4973
|
}[];
|
|
4575
4974
|
}, {
|
|
4576
4975
|
targets: {
|
|
4577
4976
|
organizationId: string;
|
|
4578
4977
|
coachUserId: string;
|
|
4579
|
-
organizationName: string;
|
|
4580
4978
|
coachName: string;
|
|
4979
|
+
organizationName: string;
|
|
4581
4980
|
actorCapability: "self";
|
|
4582
4981
|
}[];
|
|
4583
4982
|
}>;
|
|
4983
|
+
export declare const bookingFamilyEmailEventKindSchema: z.ZodEnum<["confirmation", "reminder", "rescheduled", "cancelled"]>;
|
|
4984
|
+
export declare const bookingFamilyEmailJoiningVariantSchema: z.ZodEnum<["automaticZoom", "coachInstructions", "coachWillContact"]>;
|
|
4985
|
+
export declare const bookingFamilyEmailPreviewSchema: z.ZodObject<{
|
|
4986
|
+
eventKind: z.ZodEnum<["confirmation", "reminder", "rescheduled", "cancelled"]>;
|
|
4987
|
+
joiningVariant: z.ZodEnum<["automaticZoom", "coachInstructions", "coachWillContact"]>;
|
|
4988
|
+
subject: z.ZodString;
|
|
4989
|
+
text: z.ZodString;
|
|
4990
|
+
}, "strict", z.ZodTypeAny, {
|
|
4991
|
+
subject: string;
|
|
4992
|
+
eventKind: "cancelled" | "confirmation" | "reminder" | "rescheduled";
|
|
4993
|
+
joiningVariant: "automaticZoom" | "coachInstructions" | "coachWillContact";
|
|
4994
|
+
text: string;
|
|
4995
|
+
}, {
|
|
4996
|
+
subject: string;
|
|
4997
|
+
eventKind: "cancelled" | "confirmation" | "reminder" | "rescheduled";
|
|
4998
|
+
joiningVariant: "automaticZoom" | "coachInstructions" | "coachWillContact";
|
|
4999
|
+
text: string;
|
|
5000
|
+
}>;
|
|
5001
|
+
export declare const bookingFamilyEmailPreviewsSchema: z.ZodEffects<z.ZodObject<{
|
|
5002
|
+
events: z.ZodArray<z.ZodObject<{
|
|
5003
|
+
eventKind: z.ZodEnum<["confirmation", "reminder", "rescheduled", "cancelled"]>;
|
|
5004
|
+
joiningVariant: z.ZodEnum<["automaticZoom", "coachInstructions", "coachWillContact"]>;
|
|
5005
|
+
subject: z.ZodString;
|
|
5006
|
+
text: z.ZodString;
|
|
5007
|
+
}, "strict", z.ZodTypeAny, {
|
|
5008
|
+
subject: string;
|
|
5009
|
+
eventKind: "cancelled" | "confirmation" | "reminder" | "rescheduled";
|
|
5010
|
+
joiningVariant: "automaticZoom" | "coachInstructions" | "coachWillContact";
|
|
5011
|
+
text: string;
|
|
5012
|
+
}, {
|
|
5013
|
+
subject: string;
|
|
5014
|
+
eventKind: "cancelled" | "confirmation" | "reminder" | "rescheduled";
|
|
5015
|
+
joiningVariant: "automaticZoom" | "coachInstructions" | "coachWillContact";
|
|
5016
|
+
text: string;
|
|
5017
|
+
}>, "many">;
|
|
5018
|
+
}, "strict", z.ZodTypeAny, {
|
|
5019
|
+
events: {
|
|
5020
|
+
subject: string;
|
|
5021
|
+
eventKind: "cancelled" | "confirmation" | "reminder" | "rescheduled";
|
|
5022
|
+
joiningVariant: "automaticZoom" | "coachInstructions" | "coachWillContact";
|
|
5023
|
+
text: string;
|
|
5024
|
+
}[];
|
|
5025
|
+
}, {
|
|
5026
|
+
events: {
|
|
5027
|
+
subject: string;
|
|
5028
|
+
eventKind: "cancelled" | "confirmation" | "reminder" | "rescheduled";
|
|
5029
|
+
joiningVariant: "automaticZoom" | "coachInstructions" | "coachWillContact";
|
|
5030
|
+
text: string;
|
|
5031
|
+
}[];
|
|
5032
|
+
}>, {
|
|
5033
|
+
events: {
|
|
5034
|
+
subject: string;
|
|
5035
|
+
eventKind: "cancelled" | "confirmation" | "reminder" | "rescheduled";
|
|
5036
|
+
joiningVariant: "automaticZoom" | "coachInstructions" | "coachWillContact";
|
|
5037
|
+
text: string;
|
|
5038
|
+
}[];
|
|
5039
|
+
}, {
|
|
5040
|
+
events: {
|
|
5041
|
+
subject: string;
|
|
5042
|
+
eventKind: "cancelled" | "confirmation" | "reminder" | "rescheduled";
|
|
5043
|
+
joiningVariant: "automaticZoom" | "coachInstructions" | "coachWillContact";
|
|
5044
|
+
text: string;
|
|
5045
|
+
}[];
|
|
5046
|
+
}>;
|
|
5047
|
+
export declare const bookingCoachNotificationChannelsSchema: z.ZodObject<{
|
|
5048
|
+
webList: z.ZodLiteral<"active">;
|
|
5049
|
+
calendar: z.ZodEnum<["active", "needsAttention", "notConnected", "unavailable"]>;
|
|
5050
|
+
push: z.ZodEnum<["active", "off", "needsCompatibleApp", "unavailable"]>;
|
|
5051
|
+
coachEmail: z.ZodLiteral<"notOffered">;
|
|
5052
|
+
}, "strict", z.ZodTypeAny, {
|
|
5053
|
+
push: "active" | "unavailable" | "off" | "needsCompatibleApp";
|
|
5054
|
+
webList: "active";
|
|
5055
|
+
calendar: "active" | "needsAttention" | "notConnected" | "unavailable";
|
|
5056
|
+
coachEmail: "notOffered";
|
|
5057
|
+
}, {
|
|
5058
|
+
push: "active" | "unavailable" | "off" | "needsCompatibleApp";
|
|
5059
|
+
webList: "active";
|
|
5060
|
+
calendar: "active" | "needsAttention" | "notConnected" | "unavailable";
|
|
5061
|
+
coachEmail: "notOffered";
|
|
5062
|
+
}>;
|
|
4584
5063
|
export declare const bookingAdminWorkspaceSchema: z.ZodObject<{
|
|
4585
5064
|
page: z.ZodNullable<z.ZodObject<{
|
|
4586
5065
|
id: z.ZodString;
|
|
@@ -4590,6 +5069,8 @@ export declare const bookingAdminWorkspaceSchema: z.ZodObject<{
|
|
|
4590
5069
|
status: z.ZodEnum<["draft", "published", "paused"]>;
|
|
4591
5070
|
timeZone: z.ZodEffects<z.ZodString, string, string>;
|
|
4592
5071
|
displayName: z.ZodString;
|
|
5072
|
+
consultancyName: z.ZodString;
|
|
5073
|
+
coachDisplayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4593
5074
|
welcomeMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4594
5075
|
primaryColor: z.ZodNullable<z.ZodString>;
|
|
4595
5076
|
accentColor: z.ZodNullable<z.ZodString>;
|
|
@@ -4641,6 +5122,7 @@ export declare const bookingAdminWorkspaceSchema: z.ZodObject<{
|
|
|
4641
5122
|
coachUserId: string;
|
|
4642
5123
|
displayName: string;
|
|
4643
5124
|
slug: string;
|
|
5125
|
+
consultancyName: string;
|
|
4644
5126
|
privacyNoticeVersion: string;
|
|
4645
5127
|
privacyNoticeUrl: string;
|
|
4646
5128
|
minimumNoticeMinutes: number;
|
|
@@ -4654,6 +5136,7 @@ export declare const bookingAdminWorkspaceSchema: z.ZodObject<{
|
|
|
4654
5136
|
}[];
|
|
4655
5137
|
familyReportedSourceRevision: string;
|
|
4656
5138
|
welcomeMessage?: string | null | undefined;
|
|
5139
|
+
coachDisplayName?: string | null | undefined;
|
|
4657
5140
|
}, {
|
|
4658
5141
|
status: "paused" | "draft" | "published";
|
|
4659
5142
|
id: string;
|
|
@@ -4667,6 +5150,7 @@ export declare const bookingAdminWorkspaceSchema: z.ZodObject<{
|
|
|
4667
5150
|
coachUserId: string;
|
|
4668
5151
|
displayName: string;
|
|
4669
5152
|
slug: string;
|
|
5153
|
+
consultancyName: string;
|
|
4670
5154
|
privacyNoticeVersion: string;
|
|
4671
5155
|
privacyNoticeUrl: string;
|
|
4672
5156
|
minimumNoticeMinutes: number;
|
|
@@ -4680,12 +5164,15 @@ export declare const bookingAdminWorkspaceSchema: z.ZodObject<{
|
|
|
4680
5164
|
}[];
|
|
4681
5165
|
familyReportedSourceRevision: string;
|
|
4682
5166
|
welcomeMessage?: string | null | undefined;
|
|
5167
|
+
coachDisplayName?: string | null | undefined;
|
|
4683
5168
|
}>>;
|
|
4684
5169
|
services: z.ZodArray<z.ZodObject<{
|
|
4685
5170
|
id: z.ZodString;
|
|
4686
5171
|
publicSlug: z.ZodString;
|
|
4687
5172
|
organizationId: z.ZodString;
|
|
4688
5173
|
coachUserId: z.ZodString;
|
|
5174
|
+
deliveryMode: z.ZodEnum<["singleCoach", "chooseCoach", "firstAvailable"]>;
|
|
5175
|
+
eligibleCoachUserIds: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
4689
5176
|
name: z.ZodString;
|
|
4690
5177
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4691
5178
|
durationMinutes: z.ZodNumber;
|
|
@@ -4850,6 +5337,8 @@ export declare const bookingAdminWorkspaceSchema: z.ZodObject<{
|
|
|
4850
5337
|
organizationId: string;
|
|
4851
5338
|
coachUserId: string;
|
|
4852
5339
|
publicSlug: string;
|
|
5340
|
+
deliveryMode: "singleCoach" | "chooseCoach" | "firstAvailable";
|
|
5341
|
+
eligibleCoachUserIds: string[];
|
|
4853
5342
|
durationMinutes: number;
|
|
4854
5343
|
bufferBeforeMinutes: number;
|
|
4855
5344
|
bufferAfterMinutes: number;
|
|
@@ -4886,6 +5375,8 @@ export declare const bookingAdminWorkspaceSchema: z.ZodObject<{
|
|
|
4886
5375
|
organizationId: string;
|
|
4887
5376
|
coachUserId: string;
|
|
4888
5377
|
publicSlug: string;
|
|
5378
|
+
deliveryMode: "singleCoach" | "chooseCoach" | "firstAvailable";
|
|
5379
|
+
eligibleCoachUserIds: string[];
|
|
4889
5380
|
durationMinutes: number;
|
|
4890
5381
|
bufferBeforeMinutes: number;
|
|
4891
5382
|
bufferAfterMinutes: number;
|
|
@@ -4914,13 +5405,51 @@ export declare const bookingAdminWorkspaceSchema: z.ZodObject<{
|
|
|
4914
5405
|
description?: string | null | undefined;
|
|
4915
5406
|
callInstructions?: string | null | undefined;
|
|
4916
5407
|
}>, "many">;
|
|
4917
|
-
|
|
4918
|
-
id: z.ZodString;
|
|
5408
|
+
collections: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4919
5409
|
organizationId: z.ZodString;
|
|
4920
5410
|
coachUserId: z.ZodString;
|
|
4921
|
-
|
|
4922
|
-
|
|
4923
|
-
|
|
5411
|
+
name: z.ZodString;
|
|
5412
|
+
publicTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5413
|
+
publicIntroduction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5414
|
+
status: z.ZodDefault<z.ZodEnum<["active", "paused"]>>;
|
|
5415
|
+
serviceIds: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
5416
|
+
} & {
|
|
5417
|
+
id: z.ZodString;
|
|
5418
|
+
publicSlug: z.ZodString;
|
|
5419
|
+
createdAt: z.ZodString;
|
|
5420
|
+
updatedAt: z.ZodString;
|
|
5421
|
+
}, "strict", z.ZodTypeAny, {
|
|
5422
|
+
status: "active" | "paused";
|
|
5423
|
+
id: string;
|
|
5424
|
+
name: string;
|
|
5425
|
+
createdAt: string;
|
|
5426
|
+
updatedAt: string;
|
|
5427
|
+
organizationId: string;
|
|
5428
|
+
coachUserId: string;
|
|
5429
|
+
publicSlug: string;
|
|
5430
|
+
serviceIds: string[];
|
|
5431
|
+
publicTitle?: string | null | undefined;
|
|
5432
|
+
publicIntroduction?: string | null | undefined;
|
|
5433
|
+
}, {
|
|
5434
|
+
id: string;
|
|
5435
|
+
name: string;
|
|
5436
|
+
createdAt: string;
|
|
5437
|
+
updatedAt: string;
|
|
5438
|
+
organizationId: string;
|
|
5439
|
+
coachUserId: string;
|
|
5440
|
+
publicSlug: string;
|
|
5441
|
+
serviceIds: string[];
|
|
5442
|
+
status?: "active" | "paused" | undefined;
|
|
5443
|
+
publicTitle?: string | null | undefined;
|
|
5444
|
+
publicIntroduction?: string | null | undefined;
|
|
5445
|
+
}>, "many">>;
|
|
5446
|
+
availabilityRules: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
5447
|
+
id: z.ZodString;
|
|
5448
|
+
organizationId: z.ZodString;
|
|
5449
|
+
coachUserId: z.ZodString;
|
|
5450
|
+
dayOfWeek: z.ZodNumber;
|
|
5451
|
+
startMinute: z.ZodNumber;
|
|
5452
|
+
endMinute: z.ZodNumber;
|
|
4924
5453
|
active: z.ZodBoolean;
|
|
4925
5454
|
}, "strip", z.ZodTypeAny, {
|
|
4926
5455
|
id: string;
|
|
@@ -5026,6 +5555,22 @@ export declare const bookingAdminWorkspaceSchema: z.ZodObject<{
|
|
|
5026
5555
|
endsAt: string;
|
|
5027
5556
|
label?: string | null | undefined;
|
|
5028
5557
|
}>, "many">;
|
|
5558
|
+
eligibleCoaches: z.ZodArray<z.ZodObject<{
|
|
5559
|
+
coachUserId: z.ZodString;
|
|
5560
|
+
coachName: z.ZodString;
|
|
5561
|
+
availabilityConfigured: z.ZodBoolean;
|
|
5562
|
+
isPageOwner: z.ZodBoolean;
|
|
5563
|
+
}, "strict", z.ZodTypeAny, {
|
|
5564
|
+
coachUserId: string;
|
|
5565
|
+
coachName: string;
|
|
5566
|
+
availabilityConfigured: boolean;
|
|
5567
|
+
isPageOwner: boolean;
|
|
5568
|
+
}, {
|
|
5569
|
+
coachUserId: string;
|
|
5570
|
+
coachName: string;
|
|
5571
|
+
availabilityConfigured: boolean;
|
|
5572
|
+
isPageOwner: boolean;
|
|
5573
|
+
}>, "many">;
|
|
5029
5574
|
pushPreference: z.ZodObject<{
|
|
5030
5575
|
enabled: z.ZodBoolean;
|
|
5031
5576
|
updatedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -5036,6 +5581,68 @@ export declare const bookingAdminWorkspaceSchema: z.ZodObject<{
|
|
|
5036
5581
|
updatedAt: string | null;
|
|
5037
5582
|
enabled: boolean;
|
|
5038
5583
|
}>;
|
|
5584
|
+
familyEmailPreviews: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
5585
|
+
events: z.ZodArray<z.ZodObject<{
|
|
5586
|
+
eventKind: z.ZodEnum<["confirmation", "reminder", "rescheduled", "cancelled"]>;
|
|
5587
|
+
joiningVariant: z.ZodEnum<["automaticZoom", "coachInstructions", "coachWillContact"]>;
|
|
5588
|
+
subject: z.ZodString;
|
|
5589
|
+
text: z.ZodString;
|
|
5590
|
+
}, "strict", z.ZodTypeAny, {
|
|
5591
|
+
subject: string;
|
|
5592
|
+
eventKind: "cancelled" | "confirmation" | "reminder" | "rescheduled";
|
|
5593
|
+
joiningVariant: "automaticZoom" | "coachInstructions" | "coachWillContact";
|
|
5594
|
+
text: string;
|
|
5595
|
+
}, {
|
|
5596
|
+
subject: string;
|
|
5597
|
+
eventKind: "cancelled" | "confirmation" | "reminder" | "rescheduled";
|
|
5598
|
+
joiningVariant: "automaticZoom" | "coachInstructions" | "coachWillContact";
|
|
5599
|
+
text: string;
|
|
5600
|
+
}>, "many">;
|
|
5601
|
+
}, "strict", z.ZodTypeAny, {
|
|
5602
|
+
events: {
|
|
5603
|
+
subject: string;
|
|
5604
|
+
eventKind: "cancelled" | "confirmation" | "reminder" | "rescheduled";
|
|
5605
|
+
joiningVariant: "automaticZoom" | "coachInstructions" | "coachWillContact";
|
|
5606
|
+
text: string;
|
|
5607
|
+
}[];
|
|
5608
|
+
}, {
|
|
5609
|
+
events: {
|
|
5610
|
+
subject: string;
|
|
5611
|
+
eventKind: "cancelled" | "confirmation" | "reminder" | "rescheduled";
|
|
5612
|
+
joiningVariant: "automaticZoom" | "coachInstructions" | "coachWillContact";
|
|
5613
|
+
text: string;
|
|
5614
|
+
}[];
|
|
5615
|
+
}>, {
|
|
5616
|
+
events: {
|
|
5617
|
+
subject: string;
|
|
5618
|
+
eventKind: "cancelled" | "confirmation" | "reminder" | "rescheduled";
|
|
5619
|
+
joiningVariant: "automaticZoom" | "coachInstructions" | "coachWillContact";
|
|
5620
|
+
text: string;
|
|
5621
|
+
}[];
|
|
5622
|
+
}, {
|
|
5623
|
+
events: {
|
|
5624
|
+
subject: string;
|
|
5625
|
+
eventKind: "cancelled" | "confirmation" | "reminder" | "rescheduled";
|
|
5626
|
+
joiningVariant: "automaticZoom" | "coachInstructions" | "coachWillContact";
|
|
5627
|
+
text: string;
|
|
5628
|
+
}[];
|
|
5629
|
+
}>>;
|
|
5630
|
+
notificationChannels: z.ZodOptional<z.ZodObject<{
|
|
5631
|
+
webList: z.ZodLiteral<"active">;
|
|
5632
|
+
calendar: z.ZodEnum<["active", "needsAttention", "notConnected", "unavailable"]>;
|
|
5633
|
+
push: z.ZodEnum<["active", "off", "needsCompatibleApp", "unavailable"]>;
|
|
5634
|
+
coachEmail: z.ZodLiteral<"notOffered">;
|
|
5635
|
+
}, "strict", z.ZodTypeAny, {
|
|
5636
|
+
push: "active" | "unavailable" | "off" | "needsCompatibleApp";
|
|
5637
|
+
webList: "active";
|
|
5638
|
+
calendar: "active" | "needsAttention" | "notConnected" | "unavailable";
|
|
5639
|
+
coachEmail: "notOffered";
|
|
5640
|
+
}, {
|
|
5641
|
+
push: "active" | "unavailable" | "off" | "needsCompatibleApp";
|
|
5642
|
+
webList: "active";
|
|
5643
|
+
calendar: "active" | "needsAttention" | "notConnected" | "unavailable";
|
|
5644
|
+
coachEmail: "notOffered";
|
|
5645
|
+
}>>;
|
|
5039
5646
|
publicEligibility: z.ZodObject<{
|
|
5040
5647
|
eligible: z.ZodLiteral<true>;
|
|
5041
5648
|
checkedAt: z.ZodString;
|
|
@@ -5056,6 +5663,8 @@ export declare const bookingAdminWorkspaceSchema: z.ZodObject<{
|
|
|
5056
5663
|
organizationId: string;
|
|
5057
5664
|
coachUserId: string;
|
|
5058
5665
|
publicSlug: string;
|
|
5666
|
+
deliveryMode: "singleCoach" | "chooseCoach" | "firstAvailable";
|
|
5667
|
+
eligibleCoachUserIds: string[];
|
|
5059
5668
|
durationMinutes: number;
|
|
5060
5669
|
bufferBeforeMinutes: number;
|
|
5061
5670
|
bufferAfterMinutes: number;
|
|
@@ -5084,6 +5693,12 @@ export declare const bookingAdminWorkspaceSchema: z.ZodObject<{
|
|
|
5084
5693
|
description?: string | null | undefined;
|
|
5085
5694
|
callInstructions?: string | null | undefined;
|
|
5086
5695
|
}[];
|
|
5696
|
+
eligibleCoaches: {
|
|
5697
|
+
coachUserId: string;
|
|
5698
|
+
coachName: string;
|
|
5699
|
+
availabilityConfigured: boolean;
|
|
5700
|
+
isPageOwner: boolean;
|
|
5701
|
+
}[];
|
|
5087
5702
|
page: {
|
|
5088
5703
|
status: "paused" | "draft" | "published";
|
|
5089
5704
|
id: string;
|
|
@@ -5097,6 +5712,7 @@ export declare const bookingAdminWorkspaceSchema: z.ZodObject<{
|
|
|
5097
5712
|
coachUserId: string;
|
|
5098
5713
|
displayName: string;
|
|
5099
5714
|
slug: string;
|
|
5715
|
+
consultancyName: string;
|
|
5100
5716
|
privacyNoticeVersion: string;
|
|
5101
5717
|
privacyNoticeUrl: string;
|
|
5102
5718
|
minimumNoticeMinutes: number;
|
|
@@ -5110,6 +5726,7 @@ export declare const bookingAdminWorkspaceSchema: z.ZodObject<{
|
|
|
5110
5726
|
}[];
|
|
5111
5727
|
familyReportedSourceRevision: string;
|
|
5112
5728
|
welcomeMessage?: string | null | undefined;
|
|
5729
|
+
coachDisplayName?: string | null | undefined;
|
|
5113
5730
|
} | null;
|
|
5114
5731
|
availabilityRules: {
|
|
5115
5732
|
id: string;
|
|
@@ -5149,6 +5766,33 @@ export declare const bookingAdminWorkspaceSchema: z.ZodObject<{
|
|
|
5149
5766
|
checkedAt: string;
|
|
5150
5767
|
eligible: true;
|
|
5151
5768
|
};
|
|
5769
|
+
collections?: {
|
|
5770
|
+
status: "active" | "paused";
|
|
5771
|
+
id: string;
|
|
5772
|
+
name: string;
|
|
5773
|
+
createdAt: string;
|
|
5774
|
+
updatedAt: string;
|
|
5775
|
+
organizationId: string;
|
|
5776
|
+
coachUserId: string;
|
|
5777
|
+
publicSlug: string;
|
|
5778
|
+
serviceIds: string[];
|
|
5779
|
+
publicTitle?: string | null | undefined;
|
|
5780
|
+
publicIntroduction?: string | null | undefined;
|
|
5781
|
+
}[] | undefined;
|
|
5782
|
+
familyEmailPreviews?: {
|
|
5783
|
+
events: {
|
|
5784
|
+
subject: string;
|
|
5785
|
+
eventKind: "cancelled" | "confirmation" | "reminder" | "rescheduled";
|
|
5786
|
+
joiningVariant: "automaticZoom" | "coachInstructions" | "coachWillContact";
|
|
5787
|
+
text: string;
|
|
5788
|
+
}[];
|
|
5789
|
+
} | undefined;
|
|
5790
|
+
notificationChannels?: {
|
|
5791
|
+
push: "active" | "unavailable" | "off" | "needsCompatibleApp";
|
|
5792
|
+
webList: "active";
|
|
5793
|
+
calendar: "active" | "needsAttention" | "notConnected" | "unavailable";
|
|
5794
|
+
coachEmail: "notOffered";
|
|
5795
|
+
} | undefined;
|
|
5152
5796
|
}, {
|
|
5153
5797
|
services: {
|
|
5154
5798
|
id: string;
|
|
@@ -5159,6 +5803,8 @@ export declare const bookingAdminWorkspaceSchema: z.ZodObject<{
|
|
|
5159
5803
|
organizationId: string;
|
|
5160
5804
|
coachUserId: string;
|
|
5161
5805
|
publicSlug: string;
|
|
5806
|
+
deliveryMode: "singleCoach" | "chooseCoach" | "firstAvailable";
|
|
5807
|
+
eligibleCoachUserIds: string[];
|
|
5162
5808
|
durationMinutes: number;
|
|
5163
5809
|
bufferBeforeMinutes: number;
|
|
5164
5810
|
bufferAfterMinutes: number;
|
|
@@ -5187,6 +5833,12 @@ export declare const bookingAdminWorkspaceSchema: z.ZodObject<{
|
|
|
5187
5833
|
description?: string | null | undefined;
|
|
5188
5834
|
callInstructions?: string | null | undefined;
|
|
5189
5835
|
}[];
|
|
5836
|
+
eligibleCoaches: {
|
|
5837
|
+
coachUserId: string;
|
|
5838
|
+
coachName: string;
|
|
5839
|
+
availabilityConfigured: boolean;
|
|
5840
|
+
isPageOwner: boolean;
|
|
5841
|
+
}[];
|
|
5190
5842
|
page: {
|
|
5191
5843
|
status: "paused" | "draft" | "published";
|
|
5192
5844
|
id: string;
|
|
@@ -5200,6 +5852,7 @@ export declare const bookingAdminWorkspaceSchema: z.ZodObject<{
|
|
|
5200
5852
|
coachUserId: string;
|
|
5201
5853
|
displayName: string;
|
|
5202
5854
|
slug: string;
|
|
5855
|
+
consultancyName: string;
|
|
5203
5856
|
privacyNoticeVersion: string;
|
|
5204
5857
|
privacyNoticeUrl: string;
|
|
5205
5858
|
minimumNoticeMinutes: number;
|
|
@@ -5213,6 +5866,7 @@ export declare const bookingAdminWorkspaceSchema: z.ZodObject<{
|
|
|
5213
5866
|
}[];
|
|
5214
5867
|
familyReportedSourceRevision: string;
|
|
5215
5868
|
welcomeMessage?: string | null | undefined;
|
|
5869
|
+
coachDisplayName?: string | null | undefined;
|
|
5216
5870
|
} | null;
|
|
5217
5871
|
availabilityRules: {
|
|
5218
5872
|
id: string;
|
|
@@ -5252,6 +5906,33 @@ export declare const bookingAdminWorkspaceSchema: z.ZodObject<{
|
|
|
5252
5906
|
checkedAt: string;
|
|
5253
5907
|
eligible: true;
|
|
5254
5908
|
};
|
|
5909
|
+
collections?: {
|
|
5910
|
+
id: string;
|
|
5911
|
+
name: string;
|
|
5912
|
+
createdAt: string;
|
|
5913
|
+
updatedAt: string;
|
|
5914
|
+
organizationId: string;
|
|
5915
|
+
coachUserId: string;
|
|
5916
|
+
publicSlug: string;
|
|
5917
|
+
serviceIds: string[];
|
|
5918
|
+
status?: "active" | "paused" | undefined;
|
|
5919
|
+
publicTitle?: string | null | undefined;
|
|
5920
|
+
publicIntroduction?: string | null | undefined;
|
|
5921
|
+
}[] | undefined;
|
|
5922
|
+
familyEmailPreviews?: {
|
|
5923
|
+
events: {
|
|
5924
|
+
subject: string;
|
|
5925
|
+
eventKind: "cancelled" | "confirmation" | "reminder" | "rescheduled";
|
|
5926
|
+
joiningVariant: "automaticZoom" | "coachInstructions" | "coachWillContact";
|
|
5927
|
+
text: string;
|
|
5928
|
+
}[];
|
|
5929
|
+
} | undefined;
|
|
5930
|
+
notificationChannels?: {
|
|
5931
|
+
push: "active" | "unavailable" | "off" | "needsCompatibleApp";
|
|
5932
|
+
webList: "active";
|
|
5933
|
+
calendar: "active" | "needsAttention" | "notConnected" | "unavailable";
|
|
5934
|
+
coachEmail: "notOffered";
|
|
5935
|
+
} | undefined;
|
|
5255
5936
|
}>;
|
|
5256
5937
|
export declare const bookingAdminTargetsSchema: z.ZodObject<{
|
|
5257
5938
|
targets: z.ZodArray<z.ZodObject<{
|
|
@@ -5263,36 +5944,38 @@ export declare const bookingAdminTargetsSchema: z.ZodObject<{
|
|
|
5263
5944
|
}, "strip", z.ZodTypeAny, {
|
|
5264
5945
|
organizationId: string;
|
|
5265
5946
|
coachUserId: string;
|
|
5266
|
-
organizationName: string;
|
|
5267
5947
|
coachName: string;
|
|
5948
|
+
organizationName: string;
|
|
5268
5949
|
actorCapability: "self" | "organizationManager";
|
|
5269
5950
|
}, {
|
|
5270
5951
|
organizationId: string;
|
|
5271
5952
|
coachUserId: string;
|
|
5272
|
-
organizationName: string;
|
|
5273
5953
|
coachName: string;
|
|
5954
|
+
organizationName: string;
|
|
5274
5955
|
actorCapability: "self" | "organizationManager";
|
|
5275
5956
|
}>, "many">;
|
|
5276
5957
|
}, "strip", z.ZodTypeAny, {
|
|
5277
5958
|
targets: {
|
|
5278
5959
|
organizationId: string;
|
|
5279
5960
|
coachUserId: string;
|
|
5280
|
-
organizationName: string;
|
|
5281
5961
|
coachName: string;
|
|
5962
|
+
organizationName: string;
|
|
5282
5963
|
actorCapability: "self" | "organizationManager";
|
|
5283
5964
|
}[];
|
|
5284
5965
|
}, {
|
|
5285
5966
|
targets: {
|
|
5286
5967
|
organizationId: string;
|
|
5287
5968
|
coachUserId: string;
|
|
5288
|
-
organizationName: string;
|
|
5289
5969
|
coachName: string;
|
|
5970
|
+
organizationName: string;
|
|
5290
5971
|
actorCapability: "self" | "organizationManager";
|
|
5291
5972
|
}[];
|
|
5292
5973
|
}>;
|
|
5293
5974
|
export declare const bookingPublicPageSchema: z.ZodObject<{
|
|
5294
5975
|
slug: z.ZodString;
|
|
5295
5976
|
displayName: z.ZodString;
|
|
5977
|
+
consultancyName: z.ZodString;
|
|
5978
|
+
coachDisplayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5296
5979
|
welcomeMessage: z.ZodNullable<z.ZodString>;
|
|
5297
5980
|
primaryColor: z.ZodNullable<z.ZodString>;
|
|
5298
5981
|
accentColor: z.ZodNullable<z.ZodString>;
|
|
@@ -5317,11 +6000,23 @@ export declare const bookingPublicPageSchema: z.ZodObject<{
|
|
|
5317
6000
|
label: string;
|
|
5318
6001
|
requiresDetail: boolean;
|
|
5319
6002
|
}>, "many">;
|
|
6003
|
+
collection: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6004
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6005
|
+
introduction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6006
|
+
}, "strict", z.ZodTypeAny, {
|
|
6007
|
+
title?: string | null | undefined;
|
|
6008
|
+
introduction?: string | null | undefined;
|
|
6009
|
+
}, {
|
|
6010
|
+
title?: string | null | undefined;
|
|
6011
|
+
introduction?: string | null | undefined;
|
|
6012
|
+
}>>>;
|
|
5320
6013
|
services: z.ZodArray<z.ZodObject<Pick<{
|
|
5321
6014
|
id: z.ZodString;
|
|
5322
6015
|
publicSlug: z.ZodString;
|
|
5323
6016
|
organizationId: z.ZodString;
|
|
5324
6017
|
coachUserId: z.ZodString;
|
|
6018
|
+
deliveryMode: z.ZodEnum<["singleCoach", "chooseCoach", "firstAvailable"]>;
|
|
6019
|
+
eligibleCoachUserIds: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
5325
6020
|
name: z.ZodString;
|
|
5326
6021
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5327
6022
|
durationMinutes: z.ZodNumber;
|
|
@@ -5478,6 +6173,17 @@ export declare const bookingPublicPageSchema: z.ZodObject<{
|
|
|
5478
6173
|
createdAt: z.ZodString;
|
|
5479
6174
|
updatedAt: z.ZodString;
|
|
5480
6175
|
}, "id" | "name" | "description" | "durationMinutes" | "callMethod"> & {
|
|
6176
|
+
deliveryMode: z.ZodEnum<["singleCoach", "chooseCoach", "firstAvailable"]>;
|
|
6177
|
+
eligibleCoaches: z.ZodArray<z.ZodObject<{
|
|
6178
|
+
coachUserId: z.ZodString;
|
|
6179
|
+
coachName: z.ZodString;
|
|
6180
|
+
}, "strict", z.ZodTypeAny, {
|
|
6181
|
+
coachUserId: string;
|
|
6182
|
+
coachName: string;
|
|
6183
|
+
}, {
|
|
6184
|
+
coachUserId: string;
|
|
6185
|
+
coachName: string;
|
|
6186
|
+
}>, "many">;
|
|
5481
6187
|
callMethods: z.ZodArray<z.ZodEnum<["phone", "whatsappVoice", "whatsappVideo", "zoom", "otherVideo", "inPerson"]>, "many">;
|
|
5482
6188
|
bookingForm: z.ZodObject<{
|
|
5483
6189
|
revision: z.ZodString;
|
|
@@ -5597,6 +6303,7 @@ export declare const bookingPublicPageSchema: z.ZodObject<{
|
|
|
5597
6303
|
}, "strip", z.ZodTypeAny, {
|
|
5598
6304
|
id: string;
|
|
5599
6305
|
name: string;
|
|
6306
|
+
deliveryMode: "singleCoach" | "chooseCoach" | "firstAvailable";
|
|
5600
6307
|
durationMinutes: number;
|
|
5601
6308
|
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
5602
6309
|
callMethods: ("otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson")[];
|
|
@@ -5615,10 +6322,15 @@ export declare const bookingPublicPageSchema: z.ZodObject<{
|
|
|
5615
6322
|
}[];
|
|
5616
6323
|
}[];
|
|
5617
6324
|
};
|
|
6325
|
+
eligibleCoaches: {
|
|
6326
|
+
coachUserId: string;
|
|
6327
|
+
coachName: string;
|
|
6328
|
+
}[];
|
|
5618
6329
|
description?: string | null | undefined;
|
|
5619
6330
|
}, {
|
|
5620
6331
|
id: string;
|
|
5621
6332
|
name: string;
|
|
6333
|
+
deliveryMode: "singleCoach" | "chooseCoach" | "firstAvailable";
|
|
5622
6334
|
durationMinutes: number;
|
|
5623
6335
|
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
5624
6336
|
callMethods: ("otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson")[];
|
|
@@ -5637,6 +6349,10 @@ export declare const bookingPublicPageSchema: z.ZodObject<{
|
|
|
5637
6349
|
}[];
|
|
5638
6350
|
}[];
|
|
5639
6351
|
};
|
|
6352
|
+
eligibleCoaches: {
|
|
6353
|
+
coachUserId: string;
|
|
6354
|
+
coachName: string;
|
|
6355
|
+
}[];
|
|
5640
6356
|
description?: string | null | undefined;
|
|
5641
6357
|
}>, "many">;
|
|
5642
6358
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5646,6 +6362,7 @@ export declare const bookingPublicPageSchema: z.ZodObject<{
|
|
|
5646
6362
|
welcomeMessage: string | null;
|
|
5647
6363
|
displayName: string;
|
|
5648
6364
|
slug: string;
|
|
6365
|
+
consultancyName: string;
|
|
5649
6366
|
privacyNoticeVersion: string;
|
|
5650
6367
|
privacyNoticeUrl: string;
|
|
5651
6368
|
bookingHorizonDays: number;
|
|
@@ -5660,6 +6377,7 @@ export declare const bookingPublicPageSchema: z.ZodObject<{
|
|
|
5660
6377
|
services: {
|
|
5661
6378
|
id: string;
|
|
5662
6379
|
name: string;
|
|
6380
|
+
deliveryMode: "singleCoach" | "chooseCoach" | "firstAvailable";
|
|
5663
6381
|
durationMinutes: number;
|
|
5664
6382
|
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
5665
6383
|
callMethods: ("otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson")[];
|
|
@@ -5678,8 +6396,17 @@ export declare const bookingPublicPageSchema: z.ZodObject<{
|
|
|
5678
6396
|
}[];
|
|
5679
6397
|
}[];
|
|
5680
6398
|
};
|
|
6399
|
+
eligibleCoaches: {
|
|
6400
|
+
coachUserId: string;
|
|
6401
|
+
coachName: string;
|
|
6402
|
+
}[];
|
|
5681
6403
|
description?: string | null | undefined;
|
|
5682
6404
|
}[];
|
|
6405
|
+
coachDisplayName?: string | null | undefined;
|
|
6406
|
+
collection?: {
|
|
6407
|
+
title?: string | null | undefined;
|
|
6408
|
+
introduction?: string | null | undefined;
|
|
6409
|
+
} | null | undefined;
|
|
5683
6410
|
}, {
|
|
5684
6411
|
timeZone: string;
|
|
5685
6412
|
primaryColor: string | null;
|
|
@@ -5687,6 +6414,7 @@ export declare const bookingPublicPageSchema: z.ZodObject<{
|
|
|
5687
6414
|
welcomeMessage: string | null;
|
|
5688
6415
|
displayName: string;
|
|
5689
6416
|
slug: string;
|
|
6417
|
+
consultancyName: string;
|
|
5690
6418
|
privacyNoticeVersion: string;
|
|
5691
6419
|
privacyNoticeUrl: string;
|
|
5692
6420
|
bookingHorizonDays: number;
|
|
@@ -5701,6 +6429,7 @@ export declare const bookingPublicPageSchema: z.ZodObject<{
|
|
|
5701
6429
|
services: {
|
|
5702
6430
|
id: string;
|
|
5703
6431
|
name: string;
|
|
6432
|
+
deliveryMode: "singleCoach" | "chooseCoach" | "firstAvailable";
|
|
5704
6433
|
durationMinutes: number;
|
|
5705
6434
|
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
5706
6435
|
callMethods: ("otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson")[];
|
|
@@ -5719,12 +6448,23 @@ export declare const bookingPublicPageSchema: z.ZodObject<{
|
|
|
5719
6448
|
}[];
|
|
5720
6449
|
}[];
|
|
5721
6450
|
};
|
|
6451
|
+
eligibleCoaches: {
|
|
6452
|
+
coachUserId: string;
|
|
6453
|
+
coachName: string;
|
|
6454
|
+
}[];
|
|
5722
6455
|
description?: string | null | undefined;
|
|
5723
6456
|
}[];
|
|
6457
|
+
coachDisplayName?: string | null | undefined;
|
|
6458
|
+
collection?: {
|
|
6459
|
+
title?: string | null | undefined;
|
|
6460
|
+
introduction?: string | null | undefined;
|
|
6461
|
+
} | null | undefined;
|
|
5724
6462
|
}>;
|
|
5725
6463
|
export declare const bookingPreviewPageSchema: z.ZodObject<Omit<{
|
|
5726
6464
|
slug: z.ZodString;
|
|
5727
6465
|
displayName: z.ZodString;
|
|
6466
|
+
consultancyName: z.ZodString;
|
|
6467
|
+
coachDisplayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5728
6468
|
welcomeMessage: z.ZodNullable<z.ZodString>;
|
|
5729
6469
|
primaryColor: z.ZodNullable<z.ZodString>;
|
|
5730
6470
|
accentColor: z.ZodNullable<z.ZodString>;
|
|
@@ -5749,11 +6489,23 @@ export declare const bookingPreviewPageSchema: z.ZodObject<Omit<{
|
|
|
5749
6489
|
label: string;
|
|
5750
6490
|
requiresDetail: boolean;
|
|
5751
6491
|
}>, "many">;
|
|
6492
|
+
collection: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6493
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6494
|
+
introduction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6495
|
+
}, "strict", z.ZodTypeAny, {
|
|
6496
|
+
title?: string | null | undefined;
|
|
6497
|
+
introduction?: string | null | undefined;
|
|
6498
|
+
}, {
|
|
6499
|
+
title?: string | null | undefined;
|
|
6500
|
+
introduction?: string | null | undefined;
|
|
6501
|
+
}>>>;
|
|
5752
6502
|
services: z.ZodArray<z.ZodObject<Pick<{
|
|
5753
6503
|
id: z.ZodString;
|
|
5754
6504
|
publicSlug: z.ZodString;
|
|
5755
6505
|
organizationId: z.ZodString;
|
|
5756
6506
|
coachUserId: z.ZodString;
|
|
6507
|
+
deliveryMode: z.ZodEnum<["singleCoach", "chooseCoach", "firstAvailable"]>;
|
|
6508
|
+
eligibleCoachUserIds: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
|
|
5757
6509
|
name: z.ZodString;
|
|
5758
6510
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5759
6511
|
durationMinutes: z.ZodNumber;
|
|
@@ -5910,6 +6662,17 @@ export declare const bookingPreviewPageSchema: z.ZodObject<Omit<{
|
|
|
5910
6662
|
createdAt: z.ZodString;
|
|
5911
6663
|
updatedAt: z.ZodString;
|
|
5912
6664
|
}, "id" | "name" | "description" | "durationMinutes" | "callMethod"> & {
|
|
6665
|
+
deliveryMode: z.ZodEnum<["singleCoach", "chooseCoach", "firstAvailable"]>;
|
|
6666
|
+
eligibleCoaches: z.ZodArray<z.ZodObject<{
|
|
6667
|
+
coachUserId: z.ZodString;
|
|
6668
|
+
coachName: z.ZodString;
|
|
6669
|
+
}, "strict", z.ZodTypeAny, {
|
|
6670
|
+
coachUserId: string;
|
|
6671
|
+
coachName: string;
|
|
6672
|
+
}, {
|
|
6673
|
+
coachUserId: string;
|
|
6674
|
+
coachName: string;
|
|
6675
|
+
}>, "many">;
|
|
5913
6676
|
callMethods: z.ZodArray<z.ZodEnum<["phone", "whatsappVoice", "whatsappVideo", "zoom", "otherVideo", "inPerson"]>, "many">;
|
|
5914
6677
|
bookingForm: z.ZodObject<{
|
|
5915
6678
|
revision: z.ZodString;
|
|
@@ -6029,6 +6792,7 @@ export declare const bookingPreviewPageSchema: z.ZodObject<Omit<{
|
|
|
6029
6792
|
}, "strip", z.ZodTypeAny, {
|
|
6030
6793
|
id: string;
|
|
6031
6794
|
name: string;
|
|
6795
|
+
deliveryMode: "singleCoach" | "chooseCoach" | "firstAvailable";
|
|
6032
6796
|
durationMinutes: number;
|
|
6033
6797
|
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
6034
6798
|
callMethods: ("otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson")[];
|
|
@@ -6047,10 +6811,15 @@ export declare const bookingPreviewPageSchema: z.ZodObject<Omit<{
|
|
|
6047
6811
|
}[];
|
|
6048
6812
|
}[];
|
|
6049
6813
|
};
|
|
6814
|
+
eligibleCoaches: {
|
|
6815
|
+
coachUserId: string;
|
|
6816
|
+
coachName: string;
|
|
6817
|
+
}[];
|
|
6050
6818
|
description?: string | null | undefined;
|
|
6051
6819
|
}, {
|
|
6052
6820
|
id: string;
|
|
6053
6821
|
name: string;
|
|
6822
|
+
deliveryMode: "singleCoach" | "chooseCoach" | "firstAvailable";
|
|
6054
6823
|
durationMinutes: number;
|
|
6055
6824
|
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
6056
6825
|
callMethods: ("otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson")[];
|
|
@@ -6069,6 +6838,10 @@ export declare const bookingPreviewPageSchema: z.ZodObject<Omit<{
|
|
|
6069
6838
|
}[];
|
|
6070
6839
|
}[];
|
|
6071
6840
|
};
|
|
6841
|
+
eligibleCoaches: {
|
|
6842
|
+
coachUserId: string;
|
|
6843
|
+
coachName: string;
|
|
6844
|
+
}[];
|
|
6072
6845
|
description?: string | null | undefined;
|
|
6073
6846
|
}>, "many">;
|
|
6074
6847
|
}, "privacyNoticeUrl"> & {
|
|
@@ -6082,6 +6855,7 @@ export declare const bookingPreviewPageSchema: z.ZodObject<Omit<{
|
|
|
6082
6855
|
welcomeMessage: string | null;
|
|
6083
6856
|
displayName: string;
|
|
6084
6857
|
slug: string;
|
|
6858
|
+
consultancyName: string;
|
|
6085
6859
|
privacyNoticeVersion: string;
|
|
6086
6860
|
privacyNoticeUrl: string;
|
|
6087
6861
|
bookingHorizonDays: number;
|
|
@@ -6096,6 +6870,7 @@ export declare const bookingPreviewPageSchema: z.ZodObject<Omit<{
|
|
|
6096
6870
|
services: {
|
|
6097
6871
|
id: string;
|
|
6098
6872
|
name: string;
|
|
6873
|
+
deliveryMode: "singleCoach" | "chooseCoach" | "firstAvailable";
|
|
6099
6874
|
durationMinutes: number;
|
|
6100
6875
|
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
6101
6876
|
callMethods: ("otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson")[];
|
|
@@ -6114,8 +6889,17 @@ export declare const bookingPreviewPageSchema: z.ZodObject<Omit<{
|
|
|
6114
6889
|
}[];
|
|
6115
6890
|
}[];
|
|
6116
6891
|
};
|
|
6892
|
+
eligibleCoaches: {
|
|
6893
|
+
coachUserId: string;
|
|
6894
|
+
coachName: string;
|
|
6895
|
+
}[];
|
|
6117
6896
|
description?: string | null | undefined;
|
|
6118
6897
|
}[];
|
|
6898
|
+
coachDisplayName?: string | null | undefined;
|
|
6899
|
+
collection?: {
|
|
6900
|
+
title?: string | null | undefined;
|
|
6901
|
+
introduction?: string | null | undefined;
|
|
6902
|
+
} | null | undefined;
|
|
6119
6903
|
}, {
|
|
6120
6904
|
status: "paused" | "draft" | "published";
|
|
6121
6905
|
timeZone: string;
|
|
@@ -6124,6 +6908,7 @@ export declare const bookingPreviewPageSchema: z.ZodObject<Omit<{
|
|
|
6124
6908
|
welcomeMessage: string | null;
|
|
6125
6909
|
displayName: string;
|
|
6126
6910
|
slug: string;
|
|
6911
|
+
consultancyName: string;
|
|
6127
6912
|
privacyNoticeVersion: string;
|
|
6128
6913
|
privacyNoticeUrl: string;
|
|
6129
6914
|
bookingHorizonDays: number;
|
|
@@ -6138,6 +6923,7 @@ export declare const bookingPreviewPageSchema: z.ZodObject<Omit<{
|
|
|
6138
6923
|
services: {
|
|
6139
6924
|
id: string;
|
|
6140
6925
|
name: string;
|
|
6926
|
+
deliveryMode: "singleCoach" | "chooseCoach" | "firstAvailable";
|
|
6141
6927
|
durationMinutes: number;
|
|
6142
6928
|
callMethod: "video" | "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson";
|
|
6143
6929
|
callMethods: ("otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson")[];
|
|
@@ -6156,8 +6942,17 @@ export declare const bookingPreviewPageSchema: z.ZodObject<Omit<{
|
|
|
6156
6942
|
}[];
|
|
6157
6943
|
}[];
|
|
6158
6944
|
};
|
|
6945
|
+
eligibleCoaches: {
|
|
6946
|
+
coachUserId: string;
|
|
6947
|
+
coachName: string;
|
|
6948
|
+
}[];
|
|
6159
6949
|
description?: string | null | undefined;
|
|
6160
6950
|
}[];
|
|
6951
|
+
coachDisplayName?: string | null | undefined;
|
|
6952
|
+
collection?: {
|
|
6953
|
+
title?: string | null | undefined;
|
|
6954
|
+
introduction?: string | null | undefined;
|
|
6955
|
+
} | null | undefined;
|
|
6161
6956
|
}>;
|
|
6162
6957
|
export declare const bookingPagePreviewResponseSchema: z.ZodObject<{
|
|
6163
6958
|
token: z.ZodString;
|
|
@@ -6174,6 +6969,7 @@ export declare const bookingPagePreviewResponseSchema: z.ZodObject<{
|
|
|
6174
6969
|
}>;
|
|
6175
6970
|
export declare const bookingSlotQuerySchema: z.ZodObject<{
|
|
6176
6971
|
serviceId: z.ZodString;
|
|
6972
|
+
coachUserId: z.ZodOptional<z.ZodString>;
|
|
6177
6973
|
from: z.ZodString;
|
|
6178
6974
|
until: z.ZodString;
|
|
6179
6975
|
displayTimeZone: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
@@ -6181,39 +6977,41 @@ export declare const bookingSlotQuerySchema: z.ZodObject<{
|
|
|
6181
6977
|
until: string;
|
|
6182
6978
|
from: string;
|
|
6183
6979
|
serviceId: string;
|
|
6980
|
+
coachUserId?: string | undefined;
|
|
6184
6981
|
displayTimeZone?: string | undefined;
|
|
6185
6982
|
}, {
|
|
6186
6983
|
until: string;
|
|
6187
6984
|
from: string;
|
|
6188
6985
|
serviceId: string;
|
|
6986
|
+
coachUserId?: string | undefined;
|
|
6189
6987
|
displayTimeZone?: string | undefined;
|
|
6190
6988
|
}>;
|
|
6191
6989
|
export declare const bookingSlotSchema: z.ZodObject<{
|
|
6192
6990
|
startsAt: z.ZodString;
|
|
6193
6991
|
endsAt: z.ZodString;
|
|
6194
6992
|
coachTimeZone: z.ZodEffects<z.ZodString, string, string>;
|
|
6993
|
+
coachUserId: z.ZodString;
|
|
6994
|
+
coachName: z.ZodString;
|
|
6195
6995
|
offer: z.ZodString;
|
|
6196
6996
|
offerExpiresAt: z.ZodString;
|
|
6197
6997
|
}, "strip", z.ZodTypeAny, {
|
|
6998
|
+
coachUserId: string;
|
|
6198
6999
|
startsAt: string;
|
|
6199
7000
|
endsAt: string;
|
|
7001
|
+
coachName: string;
|
|
6200
7002
|
offer: string;
|
|
6201
7003
|
coachTimeZone: string;
|
|
6202
7004
|
offerExpiresAt: string;
|
|
6203
7005
|
}, {
|
|
7006
|
+
coachUserId: string;
|
|
6204
7007
|
startsAt: string;
|
|
6205
7008
|
endsAt: string;
|
|
7009
|
+
coachName: string;
|
|
6206
7010
|
offer: string;
|
|
6207
7011
|
coachTimeZone: string;
|
|
6208
7012
|
offerExpiresAt: string;
|
|
6209
7013
|
}>;
|
|
6210
|
-
export declare const publicBookingCreateRequestSchema: z.ZodObject<{
|
|
6211
|
-
caregiverName: z.ZodString;
|
|
6212
|
-
caregiverEmail: z.ZodString;
|
|
6213
|
-
caregiverPhone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6214
|
-
childFirstName: z.ZodString;
|
|
6215
|
-
childAgeBand: z.ZodEnum<["expecting", "under3Months", "3To5Months", "6To8Months", "9To12Months", "13To18Months", "19To24Months", "over2Years"]>;
|
|
6216
|
-
} & {
|
|
7014
|
+
export declare const publicBookingCreateRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
6217
7015
|
offer: z.ZodString;
|
|
6218
7016
|
idempotencyKey: z.ZodString;
|
|
6219
7017
|
challengeToken: z.ZodString;
|
|
@@ -6381,16 +7179,64 @@ export declare const publicBookingCreateRequestSchema: z.ZodObject<{
|
|
|
6381
7179
|
questionId: string;
|
|
6382
7180
|
})[];
|
|
6383
7181
|
}>>;
|
|
7182
|
+
caregiverName: z.ZodString;
|
|
7183
|
+
caregiverEmail: z.ZodString;
|
|
7184
|
+
caregiverPhone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7185
|
+
childFirstName: z.ZodString;
|
|
7186
|
+
childAgeText: z.ZodOptional<z.ZodString>;
|
|
7187
|
+
childAgeBand: z.ZodOptional<z.ZodEnum<["expecting", "under3Months", "3To5Months", "6To8Months", "9To12Months", "13To18Months", "19To24Months", "over2Years"]>>;
|
|
6384
7188
|
}, "strict", z.ZodTypeAny, {
|
|
6385
7189
|
privacyNoticeVersion: string;
|
|
6386
7190
|
idempotencyKey: string;
|
|
7191
|
+
offer: string;
|
|
7192
|
+
challengeToken: string;
|
|
7193
|
+
privacyAccepted: true;
|
|
6387
7194
|
caregiverName: string;
|
|
6388
7195
|
caregiverEmail: string;
|
|
6389
7196
|
childFirstName: string;
|
|
6390
|
-
|
|
7197
|
+
familyReportedSourceRevision?: string | undefined;
|
|
7198
|
+
callMethod?: "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson" | undefined;
|
|
7199
|
+
bookingForm?: {
|
|
7200
|
+
revision: string;
|
|
7201
|
+
answers: ({
|
|
7202
|
+
value: string;
|
|
7203
|
+
type: "shortText";
|
|
7204
|
+
questionId: string;
|
|
7205
|
+
} | {
|
|
7206
|
+
value: string;
|
|
7207
|
+
type: "longText";
|
|
7208
|
+
questionId: string;
|
|
7209
|
+
} | {
|
|
7210
|
+
value: string;
|
|
7211
|
+
type: "singleChoice";
|
|
7212
|
+
questionId: string;
|
|
7213
|
+
} | {
|
|
7214
|
+
value: string[];
|
|
7215
|
+
type: "multipleChoice";
|
|
7216
|
+
questionId: string;
|
|
7217
|
+
} | {
|
|
7218
|
+
value: boolean;
|
|
7219
|
+
type: "yesNo";
|
|
7220
|
+
questionId: string;
|
|
7221
|
+
})[];
|
|
7222
|
+
} | undefined;
|
|
7223
|
+
displayTimeZone?: string | undefined;
|
|
7224
|
+
familyReportedSource?: "other" | "recommendation" | "googleSearch" | "instagram" | "existingClient" | undefined;
|
|
7225
|
+
familyReportedSourceOtherText?: string | null | undefined;
|
|
7226
|
+
familyReportedSourceOptionId?: string | undefined;
|
|
7227
|
+
familyReportedSourceDetail?: string | null | undefined;
|
|
7228
|
+
caregiverPhone?: string | null | undefined;
|
|
7229
|
+
childAgeText?: string | undefined;
|
|
7230
|
+
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
7231
|
+
}, {
|
|
7232
|
+
privacyNoticeVersion: string;
|
|
7233
|
+
idempotencyKey: string;
|
|
6391
7234
|
offer: string;
|
|
6392
7235
|
challengeToken: string;
|
|
6393
7236
|
privacyAccepted: true;
|
|
7237
|
+
caregiverName: string;
|
|
7238
|
+
caregiverEmail: string;
|
|
7239
|
+
childFirstName: string;
|
|
6394
7240
|
familyReportedSourceRevision?: string | undefined;
|
|
6395
7241
|
callMethod?: "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson" | undefined;
|
|
6396
7242
|
bookingForm?: {
|
|
@@ -6417,22 +7263,66 @@ export declare const publicBookingCreateRequestSchema: z.ZodObject<{
|
|
|
6417
7263
|
questionId: string;
|
|
6418
7264
|
})[];
|
|
6419
7265
|
} | undefined;
|
|
6420
|
-
caregiverPhone?: string | null | undefined;
|
|
6421
7266
|
displayTimeZone?: string | undefined;
|
|
6422
7267
|
familyReportedSource?: "other" | "recommendation" | "googleSearch" | "instagram" | "existingClient" | undefined;
|
|
6423
7268
|
familyReportedSourceOtherText?: string | null | undefined;
|
|
6424
7269
|
familyReportedSourceOptionId?: string | undefined;
|
|
6425
7270
|
familyReportedSourceDetail?: string | null | undefined;
|
|
6426
|
-
|
|
7271
|
+
caregiverPhone?: string | null | undefined;
|
|
7272
|
+
childAgeText?: string | undefined;
|
|
7273
|
+
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
7274
|
+
}>, {
|
|
6427
7275
|
privacyNoticeVersion: string;
|
|
6428
7276
|
idempotencyKey: string;
|
|
7277
|
+
offer: string;
|
|
7278
|
+
challengeToken: string;
|
|
7279
|
+
privacyAccepted: true;
|
|
6429
7280
|
caregiverName: string;
|
|
6430
7281
|
caregiverEmail: string;
|
|
6431
7282
|
childFirstName: string;
|
|
6432
|
-
|
|
7283
|
+
familyReportedSourceRevision?: string | undefined;
|
|
7284
|
+
callMethod?: "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson" | undefined;
|
|
7285
|
+
bookingForm?: {
|
|
7286
|
+
revision: string;
|
|
7287
|
+
answers: ({
|
|
7288
|
+
value: string;
|
|
7289
|
+
type: "shortText";
|
|
7290
|
+
questionId: string;
|
|
7291
|
+
} | {
|
|
7292
|
+
value: string;
|
|
7293
|
+
type: "longText";
|
|
7294
|
+
questionId: string;
|
|
7295
|
+
} | {
|
|
7296
|
+
value: string;
|
|
7297
|
+
type: "singleChoice";
|
|
7298
|
+
questionId: string;
|
|
7299
|
+
} | {
|
|
7300
|
+
value: string[];
|
|
7301
|
+
type: "multipleChoice";
|
|
7302
|
+
questionId: string;
|
|
7303
|
+
} | {
|
|
7304
|
+
value: boolean;
|
|
7305
|
+
type: "yesNo";
|
|
7306
|
+
questionId: string;
|
|
7307
|
+
})[];
|
|
7308
|
+
} | undefined;
|
|
7309
|
+
displayTimeZone?: string | undefined;
|
|
7310
|
+
familyReportedSource?: "other" | "recommendation" | "googleSearch" | "instagram" | "existingClient" | undefined;
|
|
7311
|
+
familyReportedSourceOtherText?: string | null | undefined;
|
|
7312
|
+
familyReportedSourceOptionId?: string | undefined;
|
|
7313
|
+
familyReportedSourceDetail?: string | null | undefined;
|
|
7314
|
+
caregiverPhone?: string | null | undefined;
|
|
7315
|
+
childAgeText?: string | undefined;
|
|
7316
|
+
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
7317
|
+
}, {
|
|
7318
|
+
privacyNoticeVersion: string;
|
|
7319
|
+
idempotencyKey: string;
|
|
6433
7320
|
offer: string;
|
|
6434
7321
|
challengeToken: string;
|
|
6435
7322
|
privacyAccepted: true;
|
|
7323
|
+
caregiverName: string;
|
|
7324
|
+
caregiverEmail: string;
|
|
7325
|
+
childFirstName: string;
|
|
6436
7326
|
familyReportedSourceRevision?: string | undefined;
|
|
6437
7327
|
callMethod?: "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson" | undefined;
|
|
6438
7328
|
bookingForm?: {
|
|
@@ -6459,12 +7349,14 @@ export declare const publicBookingCreateRequestSchema: z.ZodObject<{
|
|
|
6459
7349
|
questionId: string;
|
|
6460
7350
|
})[];
|
|
6461
7351
|
} | undefined;
|
|
6462
|
-
caregiverPhone?: string | null | undefined;
|
|
6463
7352
|
displayTimeZone?: string | undefined;
|
|
6464
7353
|
familyReportedSource?: "other" | "recommendation" | "googleSearch" | "instagram" | "existingClient" | undefined;
|
|
6465
7354
|
familyReportedSourceOtherText?: string | null | undefined;
|
|
6466
7355
|
familyReportedSourceOptionId?: string | undefined;
|
|
6467
7356
|
familyReportedSourceDetail?: string | null | undefined;
|
|
7357
|
+
caregiverPhone?: string | null | undefined;
|
|
7358
|
+
childAgeText?: string | undefined;
|
|
7359
|
+
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
6468
7360
|
}>;
|
|
6469
7361
|
export declare const publicBookingCreateResponseSchema: z.ZodObject<{
|
|
6470
7362
|
booking: z.ZodObject<Omit<{
|
|
@@ -6482,19 +7374,22 @@ export declare const publicBookingCreateResponseSchema: z.ZodObject<{
|
|
|
6482
7374
|
caregiverEmail: z.ZodString;
|
|
6483
7375
|
caregiverPhone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6484
7376
|
childFirstName: z.ZodString;
|
|
6485
|
-
|
|
7377
|
+
childAgeText: z.ZodString;
|
|
7378
|
+
childAgeBand: z.ZodOptional<z.ZodEnum<["expecting", "under3Months", "3To5Months", "6To8Months", "9To12Months", "13To18Months", "19To24Months", "over2Years"]>>;
|
|
6486
7379
|
}, "strip", z.ZodTypeAny, {
|
|
6487
7380
|
caregiverName: string;
|
|
6488
7381
|
caregiverEmail: string;
|
|
6489
7382
|
childFirstName: string;
|
|
6490
|
-
|
|
7383
|
+
childAgeText: string;
|
|
6491
7384
|
caregiverPhone?: string | null | undefined;
|
|
7385
|
+
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
6492
7386
|
}, {
|
|
6493
7387
|
caregiverName: string;
|
|
6494
7388
|
caregiverEmail: string;
|
|
6495
7389
|
childFirstName: string;
|
|
6496
|
-
|
|
7390
|
+
childAgeText: string;
|
|
6497
7391
|
caregiverPhone?: string | null | undefined;
|
|
7392
|
+
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
6498
7393
|
}>;
|
|
6499
7394
|
callMethod: z.ZodEnum<["video", "phone", "whatsappVoice", "whatsappVideo", "zoom", "otherVideo", "inPerson"]>;
|
|
6500
7395
|
callInstructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -6946,19 +7841,22 @@ export declare const publicBookingManageResponseSchema: z.ZodObject<{
|
|
|
6946
7841
|
caregiverEmail: z.ZodString;
|
|
6947
7842
|
caregiverPhone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6948
7843
|
childFirstName: z.ZodString;
|
|
6949
|
-
|
|
7844
|
+
childAgeText: z.ZodString;
|
|
7845
|
+
childAgeBand: z.ZodOptional<z.ZodEnum<["expecting", "under3Months", "3To5Months", "6To8Months", "9To12Months", "13To18Months", "19To24Months", "over2Years"]>>;
|
|
6950
7846
|
}, "strip", z.ZodTypeAny, {
|
|
6951
7847
|
caregiverName: string;
|
|
6952
7848
|
caregiverEmail: string;
|
|
6953
7849
|
childFirstName: string;
|
|
6954
|
-
|
|
7850
|
+
childAgeText: string;
|
|
6955
7851
|
caregiverPhone?: string | null | undefined;
|
|
7852
|
+
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
6956
7853
|
}, {
|
|
6957
7854
|
caregiverName: string;
|
|
6958
7855
|
caregiverEmail: string;
|
|
6959
7856
|
childFirstName: string;
|
|
6960
|
-
|
|
7857
|
+
childAgeText: string;
|
|
6961
7858
|
caregiverPhone?: string | null | undefined;
|
|
7859
|
+
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
6962
7860
|
}>;
|
|
6963
7861
|
callMethod: z.ZodEnum<["video", "phone", "whatsappVoice", "whatsappVideo", "zoom", "otherVideo", "inPerson"]>;
|
|
6964
7862
|
callInstructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -7363,8 +8261,9 @@ export declare const publicBookingManageResponseSchema: z.ZodObject<{
|
|
|
7363
8261
|
caregiverName: string;
|
|
7364
8262
|
caregiverEmail: string;
|
|
7365
8263
|
childFirstName: string;
|
|
7366
|
-
|
|
8264
|
+
childAgeText: string;
|
|
7367
8265
|
caregiverPhone?: string | null | undefined;
|
|
8266
|
+
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
7368
8267
|
};
|
|
7369
8268
|
joiningDetailsStatus: "ready" | "preparing" | "attention";
|
|
7370
8269
|
callInstructions?: string | null | undefined;
|
|
@@ -7425,8 +8324,9 @@ export declare const publicBookingManageResponseSchema: z.ZodObject<{
|
|
|
7425
8324
|
caregiverName: string;
|
|
7426
8325
|
caregiverEmail: string;
|
|
7427
8326
|
childFirstName: string;
|
|
7428
|
-
|
|
8327
|
+
childAgeText: string;
|
|
7429
8328
|
caregiverPhone?: string | null | undefined;
|
|
8329
|
+
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
7430
8330
|
};
|
|
7431
8331
|
joiningDetailsStatus: "ready" | "preparing" | "attention";
|
|
7432
8332
|
callInstructions?: string | null | undefined;
|
|
@@ -7492,8 +8392,9 @@ export declare const publicBookingManageResponseSchema: z.ZodObject<{
|
|
|
7492
8392
|
caregiverName: string;
|
|
7493
8393
|
caregiverEmail: string;
|
|
7494
8394
|
childFirstName: string;
|
|
7495
|
-
|
|
8395
|
+
childAgeText: string;
|
|
7496
8396
|
caregiverPhone?: string | null | undefined;
|
|
8397
|
+
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
7497
8398
|
};
|
|
7498
8399
|
joiningDetailsStatus: "ready" | "preparing" | "attention";
|
|
7499
8400
|
callInstructions?: string | null | undefined;
|
|
@@ -7558,8 +8459,9 @@ export declare const publicBookingManageResponseSchema: z.ZodObject<{
|
|
|
7558
8459
|
caregiverName: string;
|
|
7559
8460
|
caregiverEmail: string;
|
|
7560
8461
|
childFirstName: string;
|
|
7561
|
-
|
|
8462
|
+
childAgeText: string;
|
|
7562
8463
|
caregiverPhone?: string | null | undefined;
|
|
8464
|
+
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
7563
8465
|
};
|
|
7564
8466
|
joiningDetailsStatus: "ready" | "preparing" | "attention";
|
|
7565
8467
|
callInstructions?: string | null | undefined;
|
|
@@ -7596,13 +8498,7 @@ export declare const publicBookingCancelRequestSchema: z.ZodObject<{
|
|
|
7596
8498
|
idempotencyKey: string;
|
|
7597
8499
|
challengeToken: string;
|
|
7598
8500
|
}>;
|
|
7599
|
-
export declare const adminBookingCreateRequestSchema: z.ZodObject<{
|
|
7600
|
-
caregiverName: z.ZodString;
|
|
7601
|
-
caregiverEmail: z.ZodString;
|
|
7602
|
-
caregiverPhone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7603
|
-
childFirstName: z.ZodString;
|
|
7604
|
-
childAgeBand: z.ZodEnum<["expecting", "under3Months", "3To5Months", "6To8Months", "9To12Months", "13To18Months", "19To24Months", "over2Years"]>;
|
|
7605
|
-
} & {
|
|
8501
|
+
export declare const adminBookingCreateRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
7606
8502
|
organizationId: z.ZodString;
|
|
7607
8503
|
coachUserId: z.ZodString;
|
|
7608
8504
|
serviceId: z.ZodString;
|
|
@@ -7770,6 +8666,12 @@ export declare const adminBookingCreateRequestSchema: z.ZodObject<{
|
|
|
7770
8666
|
questionId: string;
|
|
7771
8667
|
})[];
|
|
7772
8668
|
}>>;
|
|
8669
|
+
caregiverName: z.ZodString;
|
|
8670
|
+
caregiverEmail: z.ZodString;
|
|
8671
|
+
caregiverPhone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8672
|
+
childFirstName: z.ZodString;
|
|
8673
|
+
childAgeText: z.ZodOptional<z.ZodString>;
|
|
8674
|
+
childAgeBand: z.ZodOptional<z.ZodEnum<["expecting", "under3Months", "3To5Months", "6To8Months", "9To12Months", "13To18Months", "19To24Months", "over2Years"]>>;
|
|
7773
8675
|
}, "strict", z.ZodTypeAny, {
|
|
7774
8676
|
status: "scheduled" | "completed" | "cancelled" | "noShow";
|
|
7775
8677
|
organizationId: string;
|
|
@@ -7779,7 +8681,6 @@ export declare const adminBookingCreateRequestSchema: z.ZodObject<{
|
|
|
7779
8681
|
caregiverName: string;
|
|
7780
8682
|
caregiverEmail: string;
|
|
7781
8683
|
childFirstName: string;
|
|
7782
|
-
childAgeBand: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years";
|
|
7783
8684
|
serviceId: string;
|
|
7784
8685
|
notificationMode: "none" | "confirmationEmail";
|
|
7785
8686
|
callMethod?: "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson" | undefined;
|
|
@@ -7807,9 +8708,11 @@ export declare const adminBookingCreateRequestSchema: z.ZodObject<{
|
|
|
7807
8708
|
questionId: string;
|
|
7808
8709
|
})[];
|
|
7809
8710
|
} | undefined;
|
|
7810
|
-
caregiverPhone?: string | null | undefined;
|
|
7811
8711
|
familyReportedSource?: "other" | "recommendation" | "googleSearch" | "instagram" | "existingClient" | undefined;
|
|
7812
8712
|
familyReportedSourceOtherText?: string | null | undefined;
|
|
8713
|
+
caregiverPhone?: string | null | undefined;
|
|
8714
|
+
childAgeText?: string | undefined;
|
|
8715
|
+
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
7813
8716
|
internalSource?: "other" | "referral" | "instagram" | "unclassified" | "googleAds" | "googleOrganic" | undefined;
|
|
7814
8717
|
internalSourceOtherText?: string | null | undefined;
|
|
7815
8718
|
}, {
|
|
@@ -7820,7 +8723,6 @@ export declare const adminBookingCreateRequestSchema: z.ZodObject<{
|
|
|
7820
8723
|
caregiverName: string;
|
|
7821
8724
|
caregiverEmail: string;
|
|
7822
8725
|
childFirstName: string;
|
|
7823
|
-
childAgeBand: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years";
|
|
7824
8726
|
serviceId: string;
|
|
7825
8727
|
notificationMode: "none" | "confirmationEmail";
|
|
7826
8728
|
status?: "scheduled" | "completed" | "cancelled" | "noShow" | undefined;
|
|
@@ -7849,9 +8751,97 @@ export declare const adminBookingCreateRequestSchema: z.ZodObject<{
|
|
|
7849
8751
|
questionId: string;
|
|
7850
8752
|
})[];
|
|
7851
8753
|
} | undefined;
|
|
8754
|
+
familyReportedSource?: "other" | "recommendation" | "googleSearch" | "instagram" | "existingClient" | undefined;
|
|
8755
|
+
familyReportedSourceOtherText?: string | null | undefined;
|
|
8756
|
+
caregiverPhone?: string | null | undefined;
|
|
8757
|
+
childAgeText?: string | undefined;
|
|
8758
|
+
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
8759
|
+
internalSource?: "other" | "referral" | "instagram" | "unclassified" | "googleAds" | "googleOrganic" | undefined;
|
|
8760
|
+
internalSourceOtherText?: string | null | undefined;
|
|
8761
|
+
}>, {
|
|
8762
|
+
status: "scheduled" | "completed" | "cancelled" | "noShow";
|
|
8763
|
+
organizationId: string;
|
|
8764
|
+
coachUserId: string;
|
|
8765
|
+
startsAt: string;
|
|
8766
|
+
idempotencyKey: string;
|
|
8767
|
+
caregiverName: string;
|
|
8768
|
+
caregiverEmail: string;
|
|
8769
|
+
childFirstName: string;
|
|
8770
|
+
serviceId: string;
|
|
8771
|
+
notificationMode: "none" | "confirmationEmail";
|
|
8772
|
+
callMethod?: "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson" | undefined;
|
|
8773
|
+
bookingForm?: {
|
|
8774
|
+
revision: string;
|
|
8775
|
+
answers: ({
|
|
8776
|
+
value: string;
|
|
8777
|
+
type: "shortText";
|
|
8778
|
+
questionId: string;
|
|
8779
|
+
} | {
|
|
8780
|
+
value: string;
|
|
8781
|
+
type: "longText";
|
|
8782
|
+
questionId: string;
|
|
8783
|
+
} | {
|
|
8784
|
+
value: string;
|
|
8785
|
+
type: "singleChoice";
|
|
8786
|
+
questionId: string;
|
|
8787
|
+
} | {
|
|
8788
|
+
value: string[];
|
|
8789
|
+
type: "multipleChoice";
|
|
8790
|
+
questionId: string;
|
|
8791
|
+
} | {
|
|
8792
|
+
value: boolean;
|
|
8793
|
+
type: "yesNo";
|
|
8794
|
+
questionId: string;
|
|
8795
|
+
})[];
|
|
8796
|
+
} | undefined;
|
|
8797
|
+
familyReportedSource?: "other" | "recommendation" | "googleSearch" | "instagram" | "existingClient" | undefined;
|
|
8798
|
+
familyReportedSourceOtherText?: string | null | undefined;
|
|
7852
8799
|
caregiverPhone?: string | null | undefined;
|
|
8800
|
+
childAgeText?: string | undefined;
|
|
8801
|
+
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
8802
|
+
internalSource?: "other" | "referral" | "instagram" | "unclassified" | "googleAds" | "googleOrganic" | undefined;
|
|
8803
|
+
internalSourceOtherText?: string | null | undefined;
|
|
8804
|
+
}, {
|
|
8805
|
+
organizationId: string;
|
|
8806
|
+
coachUserId: string;
|
|
8807
|
+
startsAt: string;
|
|
8808
|
+
idempotencyKey: string;
|
|
8809
|
+
caregiverName: string;
|
|
8810
|
+
caregiverEmail: string;
|
|
8811
|
+
childFirstName: string;
|
|
8812
|
+
serviceId: string;
|
|
8813
|
+
notificationMode: "none" | "confirmationEmail";
|
|
8814
|
+
status?: "scheduled" | "completed" | "cancelled" | "noShow" | undefined;
|
|
8815
|
+
callMethod?: "otherVideo" | "zoom" | "phone" | "whatsappVoice" | "whatsappVideo" | "inPerson" | undefined;
|
|
8816
|
+
bookingForm?: {
|
|
8817
|
+
revision: string;
|
|
8818
|
+
answers: ({
|
|
8819
|
+
value: string;
|
|
8820
|
+
type: "shortText";
|
|
8821
|
+
questionId: string;
|
|
8822
|
+
} | {
|
|
8823
|
+
value: string;
|
|
8824
|
+
type: "longText";
|
|
8825
|
+
questionId: string;
|
|
8826
|
+
} | {
|
|
8827
|
+
value: string;
|
|
8828
|
+
type: "singleChoice";
|
|
8829
|
+
questionId: string;
|
|
8830
|
+
} | {
|
|
8831
|
+
value: string[];
|
|
8832
|
+
type: "multipleChoice";
|
|
8833
|
+
questionId: string;
|
|
8834
|
+
} | {
|
|
8835
|
+
value: boolean;
|
|
8836
|
+
type: "yesNo";
|
|
8837
|
+
questionId: string;
|
|
8838
|
+
})[];
|
|
8839
|
+
} | undefined;
|
|
7853
8840
|
familyReportedSource?: "other" | "recommendation" | "googleSearch" | "instagram" | "existingClient" | undefined;
|
|
7854
8841
|
familyReportedSourceOtherText?: string | null | undefined;
|
|
8842
|
+
caregiverPhone?: string | null | undefined;
|
|
8843
|
+
childAgeText?: string | undefined;
|
|
8844
|
+
childAgeBand?: "expecting" | "under3Months" | "3To5Months" | "6To8Months" | "9To12Months" | "13To18Months" | "19To24Months" | "over2Years" | undefined;
|
|
7855
8845
|
internalSource?: "other" | "referral" | "instagram" | "unclassified" | "googleAds" | "googleOrganic" | undefined;
|
|
7856
8846
|
internalSourceOtherText?: string | null | undefined;
|
|
7857
8847
|
}>;
|
|
@@ -7901,6 +8891,10 @@ export type BookingPushEvent = z.infer<typeof bookingPushEventSchema>;
|
|
|
7901
8891
|
export type BookingPage = z.infer<typeof bookingPageSchema>;
|
|
7902
8892
|
export type BookingPageWrite = z.infer<typeof bookingPageWriteSchema>;
|
|
7903
8893
|
export type BookingService = z.infer<typeof bookingServiceSchema>;
|
|
8894
|
+
export type BookingCollection = z.infer<typeof bookingCollectionSchema>;
|
|
8895
|
+
export type BookingCollectionWrite = z.infer<typeof bookingCollectionWriteSchema>;
|
|
8896
|
+
export type BookingCollectionCreate = z.infer<typeof bookingCollectionCreateSchema>;
|
|
8897
|
+
export type BookingServiceDeliveryMode = z.infer<typeof bookingServiceDeliveryModeSchema>;
|
|
7904
8898
|
export type BookingServiceWrite = z.infer<typeof bookingServiceWriteSchema>;
|
|
7905
8899
|
export type BookingServiceCreate = z.infer<typeof bookingServiceCreateSchema>;
|
|
7906
8900
|
export type BookingAvailabilityRuleWrite = z.infer<typeof bookingAvailabilityRuleWriteSchema>;
|
|
@@ -7912,12 +8906,20 @@ export type BookingBusyBlock = z.infer<typeof bookingBusyBlockSchema>;
|
|
|
7912
8906
|
export type BookingSummary = z.infer<typeof bookingSummarySchema>;
|
|
7913
8907
|
export type BookingListQuery = z.infer<typeof bookingListQuerySchema>;
|
|
7914
8908
|
export type BookingAdminTargetQuery = z.infer<typeof bookingAdminTargetQuerySchema>;
|
|
8909
|
+
export type ManualBookingAvailabilityQuery = z.infer<typeof manualBookingAvailabilityQuerySchema>;
|
|
8910
|
+
export type ManualBookingAvailabilitySlot = z.infer<typeof manualBookingAvailabilitySlotSchema>;
|
|
8911
|
+
export type ManualBookingAvailabilityResponse = z.infer<typeof manualBookingAvailabilityResponseSchema>;
|
|
7915
8912
|
export type BookingListResponse = z.infer<typeof bookingListResponseSchema>;
|
|
7916
8913
|
export type MobileBookingListQuery = z.infer<typeof mobileBookingListQuerySchema>;
|
|
7917
8914
|
export type MobileBookingListResponse = z.infer<typeof mobileBookingListResponseSchema>;
|
|
7918
8915
|
export type MobileBookingDetail = z.infer<typeof mobileBookingDetailSchema>;
|
|
7919
8916
|
export type MobileBookingTargets = z.infer<typeof mobileBookingTargetsSchema>;
|
|
7920
8917
|
export type BookingAdminWorkspace = z.infer<typeof bookingAdminWorkspaceSchema>;
|
|
8918
|
+
export type BookingFamilyEmailEventKind = z.infer<typeof bookingFamilyEmailEventKindSchema>;
|
|
8919
|
+
export type BookingFamilyEmailJoiningVariant = z.infer<typeof bookingFamilyEmailJoiningVariantSchema>;
|
|
8920
|
+
export type BookingFamilyEmailPreview = z.infer<typeof bookingFamilyEmailPreviewSchema>;
|
|
8921
|
+
export type BookingFamilyEmailPreviews = z.infer<typeof bookingFamilyEmailPreviewsSchema>;
|
|
8922
|
+
export type BookingCoachNotificationChannels = z.infer<typeof bookingCoachNotificationChannelsSchema>;
|
|
7921
8923
|
export type BookingAdminTargets = z.infer<typeof bookingAdminTargetsSchema>;
|
|
7922
8924
|
export type BookingPublicPage = z.infer<typeof bookingPublicPageSchema>;
|
|
7923
8925
|
export type BookingPreviewPage = z.infer<typeof bookingPreviewPageSchema>;
|