@nikthegeek/dreamsforlittles-shared 0.15.2 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (214) hide show
  1. package/dist/access.d.ts +216 -3
  2. package/dist/access.js +6 -1
  3. package/dist/access.js.map +1 -1
  4. package/dist/activity-import-readers.d.ts +18 -0
  5. package/dist/activity-import-readers.js +26 -0
  6. package/dist/activity-import-readers.js.map +1 -0
  7. package/dist/admin.d.ts +526 -23
  8. package/dist/analysis-teaser.test.d.ts +1 -0
  9. package/dist/analysis-teaser.test.js +52 -0
  10. package/dist/analysis-teaser.test.js.map +1 -0
  11. package/dist/analysis.d.ts +1400 -26
  12. package/dist/analysis.js +20 -0
  13. package/dist/analysis.js.map +1 -1
  14. package/dist/archive-zip.d.ts +5 -0
  15. package/dist/archive-zip.js +39 -0
  16. package/dist/archive-zip.js.map +1 -0
  17. package/dist/auth.d.ts +68 -0
  18. package/dist/auth.js +2 -0
  19. package/dist/auth.js.map +1 -1
  20. package/dist/booking-coach-setup.d.ts +385 -0
  21. package/dist/booking-coach-setup.js +48 -0
  22. package/dist/booking-coach-setup.js.map +1 -0
  23. package/dist/booking-embed-preferences.d.ts +58 -0
  24. package/dist/booking-embed-preferences.js +17 -0
  25. package/dist/booking-embed-preferences.js.map +1 -0
  26. package/dist/booking-enquiries.d.ts +10 -10
  27. package/dist/booking-family-email-content.d.ts +2 -2
  28. package/dist/booking-family-scope.d.ts +29 -0
  29. package/dist/booking-family-scope.js +6 -0
  30. package/dist/booking-family-scope.js.map +1 -0
  31. package/dist/booking-forms.d.ts +6 -6
  32. package/dist/booking-system.d.ts +845 -323
  33. package/dist/booking-system.js +96 -9
  34. package/dist/booking-system.js.map +1 -1
  35. package/dist/booking-system.test.js +21 -0
  36. package/dist/booking-system.test.js.map +1 -1
  37. package/dist/booking-team-selection.d.ts +11 -0
  38. package/dist/booking-team-selection.js +6 -0
  39. package/dist/booking-team-selection.js.map +1 -0
  40. package/dist/booking-team.d.ts +196 -0
  41. package/dist/booking-team.js +23 -0
  42. package/dist/booking-team.js.map +1 -0
  43. package/dist/calendar-connections.d.ts +6 -6
  44. package/dist/chat-archives.d.ts +100 -0
  45. package/dist/chat-archives.js +10 -0
  46. package/dist/chat-archives.js.map +1 -0
  47. package/dist/coach-activity-notifications.d.ts +36 -36
  48. package/dist/coach-family-chat-photos.d.ts +9 -9
  49. package/dist/coach-family-chat-voice-notes.d.ts +4 -4
  50. package/dist/coach-family-chat.d.ts +87 -59
  51. package/dist/coach-family-chat.js +10 -2
  52. package/dist/coach-family-chat.js.map +1 -1
  53. package/dist/coach-family-chat.test.js +18 -0
  54. package/dist/coach-family-chat.test.js.map +1 -1
  55. package/dist/coach-family-roster.d.ts +39 -0
  56. package/dist/coach-family-roster.js +63 -0
  57. package/dist/coach-family-roster.js.map +1 -0
  58. package/dist/coach-messaging-policy.d.ts +219 -0
  59. package/dist/coach-messaging-policy.js +24 -0
  60. package/dist/coach-messaging-policy.js.map +1 -0
  61. package/dist/coach-portal-link.test.d.ts +1 -0
  62. package/dist/coach-portal-link.test.js +35 -0
  63. package/dist/coach-portal-link.test.js.map +1 -0
  64. package/dist/coach-sleep-plan-templates.d.ts +626 -0
  65. package/dist/coach-sleep-plan-templates.js +32 -0
  66. package/dist/coach-sleep-plan-templates.js.map +1 -0
  67. package/dist/coach-sleep-plans.d.ts +1069 -0
  68. package/dist/coach-sleep-plans.js +9 -0
  69. package/dist/coach-sleep-plans.js.map +1 -0
  70. package/dist/coach-today.d.ts +206 -0
  71. package/dist/coach-today.js +33 -0
  72. package/dist/coach-today.js.map +1 -0
  73. package/dist/coach.d.ts +14881 -2356
  74. package/dist/coach.js +63 -1
  75. package/dist/coach.js.map +1 -1
  76. package/dist/enums.d.ts +2 -2
  77. package/dist/enums.js +10 -2
  78. package/dist/enums.js.map +1 -1
  79. package/dist/family-account-retention.d.ts +57 -0
  80. package/dist/family-account-retention.js +14 -0
  81. package/dist/family-account-retention.js.map +1 -0
  82. package/dist/family-artifact-summary.d.ts +49 -0
  83. package/dist/family-artifact-summary.js +28 -0
  84. package/dist/family-artifact-summary.js.map +1 -0
  85. package/dist/family-consent.d.ts +39 -0
  86. package/dist/family-consent.js +20 -0
  87. package/dist/family-consent.js.map +1 -0
  88. package/dist/family-invitations.d.ts +195 -14
  89. package/dist/family-invitations.js +21 -0
  90. package/dist/family-invitations.js.map +1 -1
  91. package/dist/family-profile-artifacts.d.ts +1540 -72
  92. package/dist/family-profile-artifacts.js +33 -2
  93. package/dist/family-profile-artifacts.js.map +1 -1
  94. package/dist/family-recovery.d.ts +123 -0
  95. package/dist/family-recovery.js +13 -0
  96. package/dist/family-recovery.js.map +1 -0
  97. package/dist/family-retention-policy.d.ts +65 -0
  98. package/dist/family-retention-policy.js +41 -0
  99. package/dist/family-retention-policy.js.map +1 -0
  100. package/dist/family-sleep-plan.test.js +17 -0
  101. package/dist/family-sleep-plan.test.js.map +1 -1
  102. package/dist/family.d.ts +36596 -4989
  103. package/dist/family.js +139 -14
  104. package/dist/family.js.map +1 -1
  105. package/dist/family.test.js +149 -1
  106. package/dist/family.test.js.map +1 -1
  107. package/dist/files.d.ts +4 -4
  108. package/dist/history-export-csv.d.ts +5 -0
  109. package/dist/history-export-csv.js +67 -0
  110. package/dist/history-export-csv.js.map +1 -0
  111. package/dist/history-export.d.ts +605 -0
  112. package/dist/history-export.js +40 -0
  113. package/dist/history-export.js.map +1 -0
  114. package/dist/home-activity-context.d.ts +6396 -0
  115. package/dist/home-activity-context.js +97 -0
  116. package/dist/home-activity-context.js.map +1 -0
  117. package/dist/home-activity-context.test.d.ts +1 -0
  118. package/dist/home-activity-context.test.js +111 -0
  119. package/dist/home-activity-context.test.js.map +1 -0
  120. package/dist/huckleberry-import.d.ts +452 -0
  121. package/dist/huckleberry-import.js +37 -0
  122. package/dist/huckleberry-import.js.map +1 -0
  123. package/dist/index.d.ts +34 -0
  124. package/dist/index.js +34 -0
  125. package/dist/index.js.map +1 -1
  126. package/dist/invites.d.ts +63 -10
  127. package/dist/invites.js +5 -2
  128. package/dist/invites.js.map +1 -1
  129. package/dist/lead-insights.d.ts +1242 -51
  130. package/dist/lead-insights.js +53 -2
  131. package/dist/lead-insights.js.map +1 -1
  132. package/dist/lead-insights.test.js +35 -1
  133. package/dist/lead-insights.test.js.map +1 -1
  134. package/dist/lead-management.d.ts +1252 -96
  135. package/dist/lead-management.js +59 -5
  136. package/dist/lead-management.js.map +1 -1
  137. package/dist/lead-management.test.js +54 -0
  138. package/dist/lead-management.test.js.map +1 -1
  139. package/dist/milestone-photos.d.ts +492 -0
  140. package/dist/milestone-photos.js +35 -0
  141. package/dist/milestone-photos.js.map +1 -0
  142. package/dist/milestone-photos.test.d.ts +1 -0
  143. package/dist/milestone-photos.test.js +11 -0
  144. package/dist/milestone-photos.test.js.map +1 -0
  145. package/dist/milestones.d.ts +267 -23
  146. package/dist/milestones.js +10 -0
  147. package/dist/milestones.js.map +1 -1
  148. package/dist/milestones.test.js +23 -1
  149. package/dist/milestones.test.js.map +1 -1
  150. package/dist/native-timer-state.d.ts +8807 -0
  151. package/dist/native-timer-state.js +104 -0
  152. package/dist/native-timer-state.js.map +1 -0
  153. package/dist/parent-check-ins.d.ts +196 -0
  154. package/dist/parent-check-ins.js +37 -0
  155. package/dist/parent-check-ins.js.map +1 -0
  156. package/dist/parent-check-ins.test.d.ts +1 -0
  157. package/dist/parent-check-ins.test.js +27 -0
  158. package/dist/parent-check-ins.test.js.map +1 -0
  159. package/dist/practice-bookings.d.ts +261 -0
  160. package/dist/practice-bookings.js +22 -0
  161. package/dist/practice-bookings.js.map +1 -0
  162. package/dist/practice-insights.d.ts +437 -0
  163. package/dist/practice-insights.js +42 -0
  164. package/dist/practice-insights.js.map +1 -0
  165. package/dist/practice-profile.d.ts +22 -0
  166. package/dist/practice-profile.js +4 -0
  167. package/dist/practice-profile.js.map +1 -0
  168. package/dist/practice-teams.d.ts +1259 -0
  169. package/dist/practice-teams.js +100 -0
  170. package/dist/practice-teams.js.map +1 -0
  171. package/dist/product-analytics.d.ts +113 -80
  172. package/dist/product-analytics.js +18 -1
  173. package/dist/product-analytics.js.map +1 -1
  174. package/dist/pumping.d.ts +486 -0
  175. package/dist/pumping.js +94 -0
  176. package/dist/pumping.js.map +1 -0
  177. package/dist/pumping.test.d.ts +1 -0
  178. package/dist/pumping.test.js +62 -0
  179. package/dist/pumping.test.js.map +1 -0
  180. package/dist/questionnaire-imports.d.ts +197 -5
  181. package/dist/questionnaire-photos.d.ts +4 -4
  182. package/dist/sleep-average-context.d.ts +570 -0
  183. package/dist/sleep-average-context.js +286 -0
  184. package/dist/sleep-average-context.js.map +1 -0
  185. package/dist/sleep-average-context.test.d.ts +1 -0
  186. package/dist/sleep-average-context.test.js +290 -0
  187. package/dist/sleep-average-context.test.js.map +1 -0
  188. package/dist/sleep-average-summary.d.ts +46 -0
  189. package/dist/sleep-average-summary.js +127 -0
  190. package/dist/sleep-average-summary.js.map +1 -0
  191. package/dist/sleep-average-summary.test.d.ts +1 -0
  192. package/dist/sleep-average-summary.test.js +169 -0
  193. package/dist/sleep-average-summary.test.js.map +1 -0
  194. package/dist/sleep-awake-state.d.ts +197 -0
  195. package/dist/sleep-awake-state.js +25 -0
  196. package/dist/sleep-awake-state.js.map +1 -0
  197. package/dist/sleep-awake-state.test.d.ts +1 -0
  198. package/dist/sleep-awake-state.test.js +47 -0
  199. package/dist/sleep-awake-state.test.js.map +1 -0
  200. package/dist/sleep-completed-night.d.ts +2786 -0
  201. package/dist/sleep-completed-night.js +31 -0
  202. package/dist/sleep-completed-night.js.map +1 -0
  203. package/dist/sleep-methods.d.ts +15 -0
  204. package/dist/sleep-methods.js +9 -0
  205. package/dist/sleep-methods.js.map +1 -0
  206. package/dist/subscription-cancellation-feedback.d.ts +24 -24
  207. package/dist/support-faqs.d.ts +6 -6
  208. package/dist/support-tickets.d.ts +18 -18
  209. package/dist/trial-cards.test.d.ts +1 -0
  210. package/dist/trial-cards.test.js +30 -0
  211. package/dist/trial-cards.test.js.map +1 -0
  212. package/dist/website-feedback.d.ts +12 -12
  213. package/dist/zoom-meetings.d.ts +4 -4
  214. package/package.json +1 -1
@@ -0,0 +1,1259 @@
1
+ import { z } from "zod";
2
+ export declare const practiceInvitationTtlDays = 14;
3
+ export declare const practiceInvitedRoleSchema: z.ZodEnum<["coach", "assistant"]>;
4
+ export declare const practiceAssistantPermissionsSchema: z.ZodObject<{
5
+ manageBookingsLeadsInvites: z.ZodDefault<z.ZodBoolean>;
6
+ messageFamilies: z.ZodDefault<z.ZodBoolean>;
7
+ manageSupport: z.ZodDefault<z.ZodBoolean>;
8
+ viewBilling: z.ZodDefault<z.ZodBoolean>;
9
+ }, "strict", z.ZodTypeAny, {
10
+ manageBookingsLeadsInvites: boolean;
11
+ messageFamilies: boolean;
12
+ manageSupport: boolean;
13
+ viewBilling: boolean;
14
+ }, {
15
+ manageBookingsLeadsInvites?: boolean | undefined;
16
+ messageFamilies?: boolean | undefined;
17
+ manageSupport?: boolean | undefined;
18
+ viewBilling?: boolean | undefined;
19
+ }>;
20
+ export declare const practiceAssistantPermissionDefaults: {
21
+ manageBookingsLeadsInvites: boolean;
22
+ messageFamilies: boolean;
23
+ manageSupport: boolean;
24
+ viewBilling: boolean;
25
+ };
26
+ export declare const practiceCapabilitiesSchema: z.ZodObject<{
27
+ manageTeam: z.ZodBoolean;
28
+ viewAllFamilies: z.ZodBoolean;
29
+ shareFamilies: z.ZodBoolean;
30
+ changeLead: z.ZodBoolean;
31
+ manageSupport: z.ZodBoolean;
32
+ manageBookingsLeadsInvites: z.ZodBoolean;
33
+ messageFamilies: z.ZodBoolean;
34
+ viewBilling: z.ZodBoolean;
35
+ manageBilling: z.ZodBoolean;
36
+ manageBranding: z.ZodBoolean;
37
+ }, "strict", z.ZodTypeAny, {
38
+ manageBranding: boolean;
39
+ manageBookingsLeadsInvites: boolean;
40
+ messageFamilies: boolean;
41
+ manageSupport: boolean;
42
+ viewBilling: boolean;
43
+ manageTeam: boolean;
44
+ viewAllFamilies: boolean;
45
+ shareFamilies: boolean;
46
+ changeLead: boolean;
47
+ manageBilling: boolean;
48
+ }, {
49
+ manageBranding: boolean;
50
+ manageBookingsLeadsInvites: boolean;
51
+ messageFamilies: boolean;
52
+ manageSupport: boolean;
53
+ viewBilling: boolean;
54
+ manageTeam: boolean;
55
+ viewAllFamilies: boolean;
56
+ shareFamilies: boolean;
57
+ changeLead: boolean;
58
+ manageBilling: boolean;
59
+ }>;
60
+ export declare const practiceMemberSchema: z.ZodObject<{
61
+ userId: z.ZodString;
62
+ name: z.ZodString;
63
+ email: z.ZodOptional<z.ZodString>;
64
+ role: z.ZodEnum<["owner", "coach", "organizationAdmin", "assistant"]>;
65
+ joinedAt: z.ZodString;
66
+ activeFamilyCount: z.ZodNumber;
67
+ assistantPermissions: z.ZodNullable<z.ZodObject<{
68
+ manageBookingsLeadsInvites: z.ZodDefault<z.ZodBoolean>;
69
+ messageFamilies: z.ZodDefault<z.ZodBoolean>;
70
+ manageSupport: z.ZodDefault<z.ZodBoolean>;
71
+ viewBilling: z.ZodDefault<z.ZodBoolean>;
72
+ }, "strict", z.ZodTypeAny, {
73
+ manageBookingsLeadsInvites: boolean;
74
+ messageFamilies: boolean;
75
+ manageSupport: boolean;
76
+ viewBilling: boolean;
77
+ }, {
78
+ manageBookingsLeadsInvites?: boolean | undefined;
79
+ messageFamilies?: boolean | undefined;
80
+ manageSupport?: boolean | undefined;
81
+ viewBilling?: boolean | undefined;
82
+ }>>;
83
+ }, "strip", z.ZodTypeAny, {
84
+ name: string;
85
+ activeFamilyCount: number;
86
+ userId: string;
87
+ role: "coach" | "owner" | "organizationAdmin" | "assistant";
88
+ joinedAt: string;
89
+ assistantPermissions: {
90
+ manageBookingsLeadsInvites: boolean;
91
+ messageFamilies: boolean;
92
+ manageSupport: boolean;
93
+ viewBilling: boolean;
94
+ } | null;
95
+ email?: string | undefined;
96
+ }, {
97
+ name: string;
98
+ activeFamilyCount: number;
99
+ userId: string;
100
+ role: "coach" | "owner" | "organizationAdmin" | "assistant";
101
+ joinedAt: string;
102
+ assistantPermissions: {
103
+ manageBookingsLeadsInvites?: boolean | undefined;
104
+ messageFamilies?: boolean | undefined;
105
+ manageSupport?: boolean | undefined;
106
+ viewBilling?: boolean | undefined;
107
+ } | null;
108
+ email?: string | undefined;
109
+ }>;
110
+ export declare const practiceInvitationSchema: z.ZodObject<{
111
+ id: z.ZodString;
112
+ name: z.ZodString;
113
+ email: z.ZodString;
114
+ role: z.ZodEnum<["coach", "assistant"]>;
115
+ status: z.ZodEnum<["pending", "accepted", "declined", "revoked", "expired"]>;
116
+ expiresAt: z.ZodString;
117
+ createdAt: z.ZodString;
118
+ acceptedAt: z.ZodNullable<z.ZodString>;
119
+ }, "strip", z.ZodTypeAny, {
120
+ status: "revoked" | "expired" | "pending" | "accepted" | "declined";
121
+ id: string;
122
+ email: string;
123
+ name: string;
124
+ createdAt: string;
125
+ expiresAt: string;
126
+ role: "coach" | "assistant";
127
+ acceptedAt: string | null;
128
+ }, {
129
+ status: "revoked" | "expired" | "pending" | "accepted" | "declined";
130
+ id: string;
131
+ email: string;
132
+ name: string;
133
+ createdAt: string;
134
+ expiresAt: string;
135
+ role: "coach" | "assistant";
136
+ acceptedAt: string | null;
137
+ }>;
138
+ export declare const practiceSummarySchema: z.ZodObject<{
139
+ organization: z.ZodObject<{
140
+ id: z.ZodString;
141
+ name: z.ZodString;
142
+ type: z.ZodEnum<["platformPractice", "independentCoach", "multiCoachPractice", "academy", "partner"]>;
143
+ status: z.ZodEnum<["active", "trialing", "pastDue", "suspended", "archived"]>;
144
+ branding: z.ZodOptional<z.ZodObject<{
145
+ primaryColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
146
+ accentColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
147
+ backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
148
+ theme: z.ZodOptional<z.ZodNullable<z.ZodObject<{
149
+ documentBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
150
+ screenBackgroundColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
151
+ surfaceColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
152
+ mutedSurfaceColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
153
+ softSurfaceColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
154
+ textColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
155
+ greenColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
156
+ lavenderColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
157
+ yellowColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
158
+ pinkColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
159
+ deepGreenColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
160
+ blueColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
161
+ dataColors: z.ZodOptional<z.ZodNullable<z.ZodTuple<[z.ZodString, z.ZodString, z.ZodString, z.ZodString, z.ZodString, z.ZodString, z.ZodString], null>>>;
162
+ }, "strict", z.ZodTypeAny, {
163
+ documentBackgroundColor?: string | null | undefined;
164
+ screenBackgroundColor?: string | null | undefined;
165
+ surfaceColor?: string | null | undefined;
166
+ mutedSurfaceColor?: string | null | undefined;
167
+ softSurfaceColor?: string | null | undefined;
168
+ textColor?: string | null | undefined;
169
+ greenColor?: string | null | undefined;
170
+ lavenderColor?: string | null | undefined;
171
+ yellowColor?: string | null | undefined;
172
+ pinkColor?: string | null | undefined;
173
+ deepGreenColor?: string | null | undefined;
174
+ blueColor?: string | null | undefined;
175
+ dataColors?: [string, string, string, string, string, string, string] | null | undefined;
176
+ }, {
177
+ documentBackgroundColor?: string | null | undefined;
178
+ screenBackgroundColor?: string | null | undefined;
179
+ surfaceColor?: string | null | undefined;
180
+ mutedSurfaceColor?: string | null | undefined;
181
+ softSurfaceColor?: string | null | undefined;
182
+ textColor?: string | null | undefined;
183
+ greenColor?: string | null | undefined;
184
+ lavenderColor?: string | null | undefined;
185
+ yellowColor?: string | null | undefined;
186
+ pinkColor?: string | null | undefined;
187
+ deepGreenColor?: string | null | undefined;
188
+ blueColor?: string | null | undefined;
189
+ dataColors?: [string, string, string, string, string, string, string] | null | undefined;
190
+ }>>>;
191
+ paletteConfig: z.ZodOptional<z.ZodNullable<z.ZodObject<{
192
+ version: z.ZodLiteral<1>;
193
+ colors: z.ZodObject<{
194
+ primary: z.ZodString;
195
+ secondary: z.ZodString;
196
+ highlight: z.ZodOptional<z.ZodNullable<z.ZodString>>;
197
+ contrast: z.ZodOptional<z.ZodNullable<z.ZodString>>;
198
+ additionalDataColors: z.ZodOptional<z.ZodNullable<z.ZodTuple<[z.ZodString, z.ZodString, z.ZodString], null>>>;
199
+ }, "strict", z.ZodTypeAny, {
200
+ primary: string;
201
+ secondary: string;
202
+ highlight?: string | null | undefined;
203
+ contrast?: string | null | undefined;
204
+ additionalDataColors?: [string, string, string] | null | undefined;
205
+ }, {
206
+ primary: string;
207
+ secondary: string;
208
+ highlight?: string | null | undefined;
209
+ contrast?: string | null | undefined;
210
+ additionalDataColors?: [string, string, string] | null | undefined;
211
+ }>;
212
+ schemeId: z.ZodEnum<["balanced", "primaryLed", "secondaryLed", "soft"]>;
213
+ analysisAccessibilityChoice: z.ZodOptional<z.ZodEnum<["adjusted", "acceptWarning", "preserveWithPatterns"]>>;
214
+ }, "strict", z.ZodTypeAny, {
215
+ version: 1;
216
+ colors: {
217
+ primary: string;
218
+ secondary: string;
219
+ highlight?: string | null | undefined;
220
+ contrast?: string | null | undefined;
221
+ additionalDataColors?: [string, string, string] | null | undefined;
222
+ };
223
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
224
+ analysisAccessibilityChoice?: "adjusted" | "acceptWarning" | "preserveWithPatterns" | undefined;
225
+ }, {
226
+ version: 1;
227
+ colors: {
228
+ primary: string;
229
+ secondary: string;
230
+ highlight?: string | null | undefined;
231
+ contrast?: string | null | undefined;
232
+ additionalDataColors?: [string, string, string] | null | undefined;
233
+ };
234
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
235
+ analysisAccessibilityChoice?: "adjusted" | "acceptWarning" | "preserveWithPatterns" | undefined;
236
+ }>>>;
237
+ logoAssetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
238
+ welcomeMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
239
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
240
+ }, "strip", z.ZodTypeAny, {
241
+ primaryColor?: string | null | undefined;
242
+ accentColor?: string | null | undefined;
243
+ backgroundColor?: string | null | undefined;
244
+ theme?: {
245
+ documentBackgroundColor?: string | null | undefined;
246
+ screenBackgroundColor?: string | null | undefined;
247
+ surfaceColor?: string | null | undefined;
248
+ mutedSurfaceColor?: string | null | undefined;
249
+ softSurfaceColor?: string | null | undefined;
250
+ textColor?: string | null | undefined;
251
+ greenColor?: string | null | undefined;
252
+ lavenderColor?: string | null | undefined;
253
+ yellowColor?: string | null | undefined;
254
+ pinkColor?: string | null | undefined;
255
+ deepGreenColor?: string | null | undefined;
256
+ blueColor?: string | null | undefined;
257
+ dataColors?: [string, string, string, string, string, string, string] | null | undefined;
258
+ } | null | undefined;
259
+ paletteConfig?: {
260
+ version: 1;
261
+ colors: {
262
+ primary: string;
263
+ secondary: string;
264
+ highlight?: string | null | undefined;
265
+ contrast?: string | null | undefined;
266
+ additionalDataColors?: [string, string, string] | null | undefined;
267
+ };
268
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
269
+ analysisAccessibilityChoice?: "adjusted" | "acceptWarning" | "preserveWithPatterns" | undefined;
270
+ } | null | undefined;
271
+ logoAssetId?: string | null | undefined;
272
+ welcomeMessage?: string | null | undefined;
273
+ updatedAt?: string | null | undefined;
274
+ }, {
275
+ primaryColor?: string | null | undefined;
276
+ accentColor?: string | null | undefined;
277
+ backgroundColor?: string | null | undefined;
278
+ theme?: {
279
+ documentBackgroundColor?: string | null | undefined;
280
+ screenBackgroundColor?: string | null | undefined;
281
+ surfaceColor?: string | null | undefined;
282
+ mutedSurfaceColor?: string | null | undefined;
283
+ softSurfaceColor?: string | null | undefined;
284
+ textColor?: string | null | undefined;
285
+ greenColor?: string | null | undefined;
286
+ lavenderColor?: string | null | undefined;
287
+ yellowColor?: string | null | undefined;
288
+ pinkColor?: string | null | undefined;
289
+ deepGreenColor?: string | null | undefined;
290
+ blueColor?: string | null | undefined;
291
+ dataColors?: [string, string, string, string, string, string, string] | null | undefined;
292
+ } | null | undefined;
293
+ paletteConfig?: {
294
+ version: 1;
295
+ colors: {
296
+ primary: string;
297
+ secondary: string;
298
+ highlight?: string | null | undefined;
299
+ contrast?: string | null | undefined;
300
+ additionalDataColors?: [string, string, string] | null | undefined;
301
+ };
302
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
303
+ analysisAccessibilityChoice?: "adjusted" | "acceptWarning" | "preserveWithPatterns" | undefined;
304
+ } | null | undefined;
305
+ logoAssetId?: string | null | undefined;
306
+ welcomeMessage?: string | null | undefined;
307
+ updatedAt?: string | null | undefined;
308
+ }>>;
309
+ }, "strip", z.ZodTypeAny, {
310
+ type: "platformPractice" | "independentCoach" | "multiCoachPractice" | "academy" | "partner";
311
+ status: "active" | "trialing" | "pastDue" | "suspended" | "archived";
312
+ id: string;
313
+ name: string;
314
+ branding?: {
315
+ primaryColor?: string | null | undefined;
316
+ accentColor?: string | null | undefined;
317
+ backgroundColor?: string | null | undefined;
318
+ theme?: {
319
+ documentBackgroundColor?: string | null | undefined;
320
+ screenBackgroundColor?: string | null | undefined;
321
+ surfaceColor?: string | null | undefined;
322
+ mutedSurfaceColor?: string | null | undefined;
323
+ softSurfaceColor?: string | null | undefined;
324
+ textColor?: string | null | undefined;
325
+ greenColor?: string | null | undefined;
326
+ lavenderColor?: string | null | undefined;
327
+ yellowColor?: string | null | undefined;
328
+ pinkColor?: string | null | undefined;
329
+ deepGreenColor?: string | null | undefined;
330
+ blueColor?: string | null | undefined;
331
+ dataColors?: [string, string, string, string, string, string, string] | null | undefined;
332
+ } | null | undefined;
333
+ paletteConfig?: {
334
+ version: 1;
335
+ colors: {
336
+ primary: string;
337
+ secondary: string;
338
+ highlight?: string | null | undefined;
339
+ contrast?: string | null | undefined;
340
+ additionalDataColors?: [string, string, string] | null | undefined;
341
+ };
342
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
343
+ analysisAccessibilityChoice?: "adjusted" | "acceptWarning" | "preserveWithPatterns" | undefined;
344
+ } | null | undefined;
345
+ logoAssetId?: string | null | undefined;
346
+ welcomeMessage?: string | null | undefined;
347
+ updatedAt?: string | null | undefined;
348
+ } | undefined;
349
+ }, {
350
+ type: "platformPractice" | "independentCoach" | "multiCoachPractice" | "academy" | "partner";
351
+ status: "active" | "trialing" | "pastDue" | "suspended" | "archived";
352
+ id: string;
353
+ name: string;
354
+ branding?: {
355
+ primaryColor?: string | null | undefined;
356
+ accentColor?: string | null | undefined;
357
+ backgroundColor?: string | null | undefined;
358
+ theme?: {
359
+ documentBackgroundColor?: string | null | undefined;
360
+ screenBackgroundColor?: string | null | undefined;
361
+ surfaceColor?: string | null | undefined;
362
+ mutedSurfaceColor?: string | null | undefined;
363
+ softSurfaceColor?: string | null | undefined;
364
+ textColor?: string | null | undefined;
365
+ greenColor?: string | null | undefined;
366
+ lavenderColor?: string | null | undefined;
367
+ yellowColor?: string | null | undefined;
368
+ pinkColor?: string | null | undefined;
369
+ deepGreenColor?: string | null | undefined;
370
+ blueColor?: string | null | undefined;
371
+ dataColors?: [string, string, string, string, string, string, string] | null | undefined;
372
+ } | null | undefined;
373
+ paletteConfig?: {
374
+ version: 1;
375
+ colors: {
376
+ primary: string;
377
+ secondary: string;
378
+ highlight?: string | null | undefined;
379
+ contrast?: string | null | undefined;
380
+ additionalDataColors?: [string, string, string] | null | undefined;
381
+ };
382
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
383
+ analysisAccessibilityChoice?: "adjusted" | "acceptWarning" | "preserveWithPatterns" | undefined;
384
+ } | null | undefined;
385
+ logoAssetId?: string | null | undefined;
386
+ welcomeMessage?: string | null | undefined;
387
+ updatedAt?: string | null | undefined;
388
+ } | undefined;
389
+ }>;
390
+ membershipRole: z.ZodEnum<["owner", "coach", "organizationAdmin", "assistant"]>;
391
+ isTeam: z.ZodBoolean;
392
+ capabilities: z.ZodObject<{
393
+ manageTeam: z.ZodBoolean;
394
+ viewAllFamilies: z.ZodBoolean;
395
+ shareFamilies: z.ZodBoolean;
396
+ changeLead: z.ZodBoolean;
397
+ manageSupport: z.ZodBoolean;
398
+ manageBookingsLeadsInvites: z.ZodBoolean;
399
+ messageFamilies: z.ZodBoolean;
400
+ viewBilling: z.ZodBoolean;
401
+ manageBilling: z.ZodBoolean;
402
+ manageBranding: z.ZodBoolean;
403
+ }, "strict", z.ZodTypeAny, {
404
+ manageBranding: boolean;
405
+ manageBookingsLeadsInvites: boolean;
406
+ messageFamilies: boolean;
407
+ manageSupport: boolean;
408
+ viewBilling: boolean;
409
+ manageTeam: boolean;
410
+ viewAllFamilies: boolean;
411
+ shareFamilies: boolean;
412
+ changeLead: boolean;
413
+ manageBilling: boolean;
414
+ }, {
415
+ manageBranding: boolean;
416
+ manageBookingsLeadsInvites: boolean;
417
+ messageFamilies: boolean;
418
+ manageSupport: boolean;
419
+ viewBilling: boolean;
420
+ manageTeam: boolean;
421
+ viewAllFamilies: boolean;
422
+ shareFamilies: boolean;
423
+ changeLead: boolean;
424
+ manageBilling: boolean;
425
+ }>;
426
+ activeFamilyCount: z.ZodOptional<z.ZodNumber>;
427
+ members: z.ZodArray<z.ZodObject<{
428
+ userId: z.ZodString;
429
+ name: z.ZodString;
430
+ email: z.ZodOptional<z.ZodString>;
431
+ role: z.ZodEnum<["owner", "coach", "organizationAdmin", "assistant"]>;
432
+ joinedAt: z.ZodString;
433
+ activeFamilyCount: z.ZodNumber;
434
+ assistantPermissions: z.ZodNullable<z.ZodObject<{
435
+ manageBookingsLeadsInvites: z.ZodDefault<z.ZodBoolean>;
436
+ messageFamilies: z.ZodDefault<z.ZodBoolean>;
437
+ manageSupport: z.ZodDefault<z.ZodBoolean>;
438
+ viewBilling: z.ZodDefault<z.ZodBoolean>;
439
+ }, "strict", z.ZodTypeAny, {
440
+ manageBookingsLeadsInvites: boolean;
441
+ messageFamilies: boolean;
442
+ manageSupport: boolean;
443
+ viewBilling: boolean;
444
+ }, {
445
+ manageBookingsLeadsInvites?: boolean | undefined;
446
+ messageFamilies?: boolean | undefined;
447
+ manageSupport?: boolean | undefined;
448
+ viewBilling?: boolean | undefined;
449
+ }>>;
450
+ }, "strip", z.ZodTypeAny, {
451
+ name: string;
452
+ activeFamilyCount: number;
453
+ userId: string;
454
+ role: "coach" | "owner" | "organizationAdmin" | "assistant";
455
+ joinedAt: string;
456
+ assistantPermissions: {
457
+ manageBookingsLeadsInvites: boolean;
458
+ messageFamilies: boolean;
459
+ manageSupport: boolean;
460
+ viewBilling: boolean;
461
+ } | null;
462
+ email?: string | undefined;
463
+ }, {
464
+ name: string;
465
+ activeFamilyCount: number;
466
+ userId: string;
467
+ role: "coach" | "owner" | "organizationAdmin" | "assistant";
468
+ joinedAt: string;
469
+ assistantPermissions: {
470
+ manageBookingsLeadsInvites?: boolean | undefined;
471
+ messageFamilies?: boolean | undefined;
472
+ manageSupport?: boolean | undefined;
473
+ viewBilling?: boolean | undefined;
474
+ } | null;
475
+ email?: string | undefined;
476
+ }>, "many">;
477
+ invitations: z.ZodArray<z.ZodObject<{
478
+ id: z.ZodString;
479
+ name: z.ZodString;
480
+ email: z.ZodString;
481
+ role: z.ZodEnum<["coach", "assistant"]>;
482
+ status: z.ZodEnum<["pending", "accepted", "declined", "revoked", "expired"]>;
483
+ expiresAt: z.ZodString;
484
+ createdAt: z.ZodString;
485
+ acceptedAt: z.ZodNullable<z.ZodString>;
486
+ }, "strip", z.ZodTypeAny, {
487
+ status: "revoked" | "expired" | "pending" | "accepted" | "declined";
488
+ id: string;
489
+ email: string;
490
+ name: string;
491
+ createdAt: string;
492
+ expiresAt: string;
493
+ role: "coach" | "assistant";
494
+ acceptedAt: string | null;
495
+ }, {
496
+ status: "revoked" | "expired" | "pending" | "accepted" | "declined";
497
+ id: string;
498
+ email: string;
499
+ name: string;
500
+ createdAt: string;
501
+ expiresAt: string;
502
+ role: "coach" | "assistant";
503
+ acceptedAt: string | null;
504
+ }>, "many">;
505
+ }, "strip", z.ZodTypeAny, {
506
+ capabilities: {
507
+ manageBranding: boolean;
508
+ manageBookingsLeadsInvites: boolean;
509
+ messageFamilies: boolean;
510
+ manageSupport: boolean;
511
+ viewBilling: boolean;
512
+ manageTeam: boolean;
513
+ viewAllFamilies: boolean;
514
+ shareFamilies: boolean;
515
+ changeLead: boolean;
516
+ manageBilling: boolean;
517
+ };
518
+ organization: {
519
+ type: "platformPractice" | "independentCoach" | "multiCoachPractice" | "academy" | "partner";
520
+ status: "active" | "trialing" | "pastDue" | "suspended" | "archived";
521
+ id: string;
522
+ name: string;
523
+ branding?: {
524
+ primaryColor?: string | null | undefined;
525
+ accentColor?: string | null | undefined;
526
+ backgroundColor?: string | null | undefined;
527
+ theme?: {
528
+ documentBackgroundColor?: string | null | undefined;
529
+ screenBackgroundColor?: string | null | undefined;
530
+ surfaceColor?: string | null | undefined;
531
+ mutedSurfaceColor?: string | null | undefined;
532
+ softSurfaceColor?: string | null | undefined;
533
+ textColor?: string | null | undefined;
534
+ greenColor?: string | null | undefined;
535
+ lavenderColor?: string | null | undefined;
536
+ yellowColor?: string | null | undefined;
537
+ pinkColor?: string | null | undefined;
538
+ deepGreenColor?: string | null | undefined;
539
+ blueColor?: string | null | undefined;
540
+ dataColors?: [string, string, string, string, string, string, string] | null | undefined;
541
+ } | null | undefined;
542
+ paletteConfig?: {
543
+ version: 1;
544
+ colors: {
545
+ primary: string;
546
+ secondary: string;
547
+ highlight?: string | null | undefined;
548
+ contrast?: string | null | undefined;
549
+ additionalDataColors?: [string, string, string] | null | undefined;
550
+ };
551
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
552
+ analysisAccessibilityChoice?: "adjusted" | "acceptWarning" | "preserveWithPatterns" | undefined;
553
+ } | null | undefined;
554
+ logoAssetId?: string | null | undefined;
555
+ welcomeMessage?: string | null | undefined;
556
+ updatedAt?: string | null | undefined;
557
+ } | undefined;
558
+ };
559
+ members: {
560
+ name: string;
561
+ activeFamilyCount: number;
562
+ userId: string;
563
+ role: "coach" | "owner" | "organizationAdmin" | "assistant";
564
+ joinedAt: string;
565
+ assistantPermissions: {
566
+ manageBookingsLeadsInvites: boolean;
567
+ messageFamilies: boolean;
568
+ manageSupport: boolean;
569
+ viewBilling: boolean;
570
+ } | null;
571
+ email?: string | undefined;
572
+ }[];
573
+ isTeam: boolean;
574
+ invitations: {
575
+ status: "revoked" | "expired" | "pending" | "accepted" | "declined";
576
+ id: string;
577
+ email: string;
578
+ name: string;
579
+ createdAt: string;
580
+ expiresAt: string;
581
+ role: "coach" | "assistant";
582
+ acceptedAt: string | null;
583
+ }[];
584
+ membershipRole: "coach" | "owner" | "organizationAdmin" | "assistant";
585
+ activeFamilyCount?: number | undefined;
586
+ }, {
587
+ capabilities: {
588
+ manageBranding: boolean;
589
+ manageBookingsLeadsInvites: boolean;
590
+ messageFamilies: boolean;
591
+ manageSupport: boolean;
592
+ viewBilling: boolean;
593
+ manageTeam: boolean;
594
+ viewAllFamilies: boolean;
595
+ shareFamilies: boolean;
596
+ changeLead: boolean;
597
+ manageBilling: boolean;
598
+ };
599
+ organization: {
600
+ type: "platformPractice" | "independentCoach" | "multiCoachPractice" | "academy" | "partner";
601
+ status: "active" | "trialing" | "pastDue" | "suspended" | "archived";
602
+ id: string;
603
+ name: string;
604
+ branding?: {
605
+ primaryColor?: string | null | undefined;
606
+ accentColor?: string | null | undefined;
607
+ backgroundColor?: string | null | undefined;
608
+ theme?: {
609
+ documentBackgroundColor?: string | null | undefined;
610
+ screenBackgroundColor?: string | null | undefined;
611
+ surfaceColor?: string | null | undefined;
612
+ mutedSurfaceColor?: string | null | undefined;
613
+ softSurfaceColor?: string | null | undefined;
614
+ textColor?: string | null | undefined;
615
+ greenColor?: string | null | undefined;
616
+ lavenderColor?: string | null | undefined;
617
+ yellowColor?: string | null | undefined;
618
+ pinkColor?: string | null | undefined;
619
+ deepGreenColor?: string | null | undefined;
620
+ blueColor?: string | null | undefined;
621
+ dataColors?: [string, string, string, string, string, string, string] | null | undefined;
622
+ } | null | undefined;
623
+ paletteConfig?: {
624
+ version: 1;
625
+ colors: {
626
+ primary: string;
627
+ secondary: string;
628
+ highlight?: string | null | undefined;
629
+ contrast?: string | null | undefined;
630
+ additionalDataColors?: [string, string, string] | null | undefined;
631
+ };
632
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
633
+ analysisAccessibilityChoice?: "adjusted" | "acceptWarning" | "preserveWithPatterns" | undefined;
634
+ } | null | undefined;
635
+ logoAssetId?: string | null | undefined;
636
+ welcomeMessage?: string | null | undefined;
637
+ updatedAt?: string | null | undefined;
638
+ } | undefined;
639
+ };
640
+ members: {
641
+ name: string;
642
+ activeFamilyCount: number;
643
+ userId: string;
644
+ role: "coach" | "owner" | "organizationAdmin" | "assistant";
645
+ joinedAt: string;
646
+ assistantPermissions: {
647
+ manageBookingsLeadsInvites?: boolean | undefined;
648
+ messageFamilies?: boolean | undefined;
649
+ manageSupport?: boolean | undefined;
650
+ viewBilling?: boolean | undefined;
651
+ } | null;
652
+ email?: string | undefined;
653
+ }[];
654
+ isTeam: boolean;
655
+ invitations: {
656
+ status: "revoked" | "expired" | "pending" | "accepted" | "declined";
657
+ id: string;
658
+ email: string;
659
+ name: string;
660
+ createdAt: string;
661
+ expiresAt: string;
662
+ role: "coach" | "assistant";
663
+ acceptedAt: string | null;
664
+ }[];
665
+ membershipRole: "coach" | "owner" | "organizationAdmin" | "assistant";
666
+ activeFamilyCount?: number | undefined;
667
+ }>;
668
+ export declare const createPracticeInvitationSchema: z.ZodEffects<z.ZodObject<{
669
+ name: z.ZodString;
670
+ email: z.ZodString;
671
+ role: z.ZodDefault<z.ZodEnum<["coach", "assistant"]>>;
672
+ bookingServiceSelection: z.ZodOptional<z.ZodObject<{
673
+ pageId: z.ZodString;
674
+ serviceIds: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
675
+ }, "strict", z.ZodTypeAny, {
676
+ pageId: string;
677
+ serviceIds: string[];
678
+ }, {
679
+ pageId: string;
680
+ serviceIds: string[];
681
+ }>>;
682
+ }, "strict", z.ZodTypeAny, {
683
+ email: string;
684
+ name: string;
685
+ role: "coach" | "assistant";
686
+ bookingServiceSelection?: {
687
+ pageId: string;
688
+ serviceIds: string[];
689
+ } | undefined;
690
+ }, {
691
+ email: string;
692
+ name: string;
693
+ role?: "coach" | "assistant" | undefined;
694
+ bookingServiceSelection?: {
695
+ pageId: string;
696
+ serviceIds: string[];
697
+ } | undefined;
698
+ }>, {
699
+ email: string;
700
+ name: string;
701
+ role: "coach" | "assistant";
702
+ bookingServiceSelection?: {
703
+ pageId: string;
704
+ serviceIds: string[];
705
+ } | undefined;
706
+ }, {
707
+ email: string;
708
+ name: string;
709
+ role?: "coach" | "assistant" | undefined;
710
+ bookingServiceSelection?: {
711
+ pageId: string;
712
+ serviceIds: string[];
713
+ } | undefined;
714
+ }>;
715
+ export declare const updatePracticeMemberSchema: z.ZodEffects<z.ZodObject<{
716
+ role: z.ZodOptional<z.ZodEnum<["coach", "assistant"]>>;
717
+ remove: z.ZodOptional<z.ZodLiteral<true>>;
718
+ assistantPermissions: z.ZodOptional<z.ZodObject<{
719
+ manageBookingsLeadsInvites: z.ZodDefault<z.ZodBoolean>;
720
+ messageFamilies: z.ZodDefault<z.ZodBoolean>;
721
+ manageSupport: z.ZodDefault<z.ZodBoolean>;
722
+ viewBilling: z.ZodDefault<z.ZodBoolean>;
723
+ }, "strict", z.ZodTypeAny, {
724
+ manageBookingsLeadsInvites: boolean;
725
+ messageFamilies: boolean;
726
+ manageSupport: boolean;
727
+ viewBilling: boolean;
728
+ }, {
729
+ manageBookingsLeadsInvites?: boolean | undefined;
730
+ messageFamilies?: boolean | undefined;
731
+ manageSupport?: boolean | undefined;
732
+ viewBilling?: boolean | undefined;
733
+ }>>;
734
+ }, "strict", z.ZodTypeAny, {
735
+ role?: "coach" | "assistant" | undefined;
736
+ assistantPermissions?: {
737
+ manageBookingsLeadsInvites: boolean;
738
+ messageFamilies: boolean;
739
+ manageSupport: boolean;
740
+ viewBilling: boolean;
741
+ } | undefined;
742
+ remove?: true | undefined;
743
+ }, {
744
+ role?: "coach" | "assistant" | undefined;
745
+ assistantPermissions?: {
746
+ manageBookingsLeadsInvites?: boolean | undefined;
747
+ messageFamilies?: boolean | undefined;
748
+ manageSupport?: boolean | undefined;
749
+ viewBilling?: boolean | undefined;
750
+ } | undefined;
751
+ remove?: true | undefined;
752
+ }>, {
753
+ role?: "coach" | "assistant" | undefined;
754
+ assistantPermissions?: {
755
+ manageBookingsLeadsInvites: boolean;
756
+ messageFamilies: boolean;
757
+ manageSupport: boolean;
758
+ viewBilling: boolean;
759
+ } | undefined;
760
+ remove?: true | undefined;
761
+ }, {
762
+ role?: "coach" | "assistant" | undefined;
763
+ assistantPermissions?: {
764
+ manageBookingsLeadsInvites?: boolean | undefined;
765
+ messageFamilies?: boolean | undefined;
766
+ manageSupport?: boolean | undefined;
767
+ viewBilling?: boolean | undefined;
768
+ } | undefined;
769
+ remove?: true | undefined;
770
+ }>;
771
+ export declare const practiceJoinSchema: z.ZodObject<{
772
+ code: z.ZodString;
773
+ name: z.ZodString;
774
+ }, "strict", z.ZodTypeAny, {
775
+ code: string;
776
+ name: string;
777
+ }, {
778
+ code: string;
779
+ name: string;
780
+ }>;
781
+ export declare const practiceInvitationLandingSchema: z.ZodObject<{
782
+ organizationName: z.ZodString;
783
+ invitedByName: z.ZodString;
784
+ role: z.ZodEnum<["coach", "assistant"]>;
785
+ expiresAt: z.ZodString;
786
+ }, "strict", z.ZodTypeAny, {
787
+ expiresAt: string;
788
+ invitedByName: string;
789
+ organizationName: string;
790
+ role: "coach" | "assistant";
791
+ }, {
792
+ expiresAt: string;
793
+ invitedByName: string;
794
+ organizationName: string;
795
+ role: "coach" | "assistant";
796
+ }>;
797
+ export declare const practiceInvitationPreviewSchema: z.ZodObject<{
798
+ id: z.ZodString;
799
+ name: z.ZodString;
800
+ email: z.ZodString;
801
+ role: z.ZodEnum<["coach", "assistant"]>;
802
+ organizationName: z.ZodString;
803
+ invitedByName: z.ZodString;
804
+ expiresAt: z.ZodString;
805
+ existingPractice: z.ZodBoolean;
806
+ joined: z.ZodOptional<z.ZodBoolean>;
807
+ }, "strip", z.ZodTypeAny, {
808
+ id: string;
809
+ email: string;
810
+ name: string;
811
+ expiresAt: string;
812
+ invitedByName: string;
813
+ organizationName: string;
814
+ role: "coach" | "assistant";
815
+ existingPractice: boolean;
816
+ joined?: boolean | undefined;
817
+ }, {
818
+ id: string;
819
+ email: string;
820
+ name: string;
821
+ expiresAt: string;
822
+ invitedByName: string;
823
+ organizationName: string;
824
+ role: "coach" | "assistant";
825
+ existingPractice: boolean;
826
+ joined?: boolean | undefined;
827
+ }>;
828
+ export declare const practiceFamiliesQuerySchema: z.ZodEffects<z.ZodObject<{
829
+ showing: z.ZodDefault<z.ZodEnum<["everyone", "mine", "coach", "shared"]>>;
830
+ coachUserId: z.ZodOptional<z.ZodString>;
831
+ }, "strict", z.ZodTypeAny, {
832
+ showing: "coach" | "everyone" | "mine" | "shared";
833
+ coachUserId?: string | undefined;
834
+ }, {
835
+ coachUserId?: string | undefined;
836
+ showing?: "coach" | "everyone" | "mine" | "shared" | undefined;
837
+ }>, {
838
+ showing: "coach" | "everyone" | "mine" | "shared";
839
+ coachUserId?: string | undefined;
840
+ }, {
841
+ coachUserId?: string | undefined;
842
+ showing?: "coach" | "everyone" | "mine" | "shared" | undefined;
843
+ }>;
844
+ export declare const practiceFamilySchema: z.ZodObject<{
845
+ familyUserId: z.ZodString;
846
+ name: z.ZodString;
847
+ assignmentId: z.ZodString;
848
+ leadCoachUserId: z.ZodString;
849
+ leadCoachName: z.ZodString;
850
+ sharedWithTeam: z.ZodBoolean;
851
+ revision: z.ZodString;
852
+ assignedAt: z.ZodString;
853
+ supportStartsAt: z.ZodNullable<z.ZodString>;
854
+ supportEndsAt: z.ZodNullable<z.ZodString>;
855
+ supportStatus: z.ZodNullable<z.ZodString>;
856
+ timeZone: z.ZodString;
857
+ canReadRecords: z.ZodBoolean;
858
+ canManageSupport: z.ZodBoolean;
859
+ canShare: z.ZodBoolean;
860
+ canChangeLead: z.ZodBoolean;
861
+ babies: z.ZodArray<z.ZodObject<{
862
+ id: z.ZodString;
863
+ name: z.ZodString;
864
+ dateOfBirth: z.ZodNullable<z.ZodString>;
865
+ }, "strip", z.ZodTypeAny, {
866
+ id: string;
867
+ name: string;
868
+ dateOfBirth: string | null;
869
+ }, {
870
+ id: string;
871
+ name: string;
872
+ dateOfBirth: string | null;
873
+ }>, "many">;
874
+ }, "strip", z.ZodTypeAny, {
875
+ name: string;
876
+ timeZone: string;
877
+ familyUserId: string;
878
+ revision: string;
879
+ leadCoachUserId: string;
880
+ assignmentId: string;
881
+ babies: {
882
+ id: string;
883
+ name: string;
884
+ dateOfBirth: string | null;
885
+ }[];
886
+ assignedAt: string;
887
+ supportStatus: string | null;
888
+ leadCoachName: string;
889
+ sharedWithTeam: boolean;
890
+ supportStartsAt: string | null;
891
+ supportEndsAt: string | null;
892
+ canReadRecords: boolean;
893
+ canManageSupport: boolean;
894
+ canShare: boolean;
895
+ canChangeLead: boolean;
896
+ }, {
897
+ name: string;
898
+ timeZone: string;
899
+ familyUserId: string;
900
+ revision: string;
901
+ leadCoachUserId: string;
902
+ assignmentId: string;
903
+ babies: {
904
+ id: string;
905
+ name: string;
906
+ dateOfBirth: string | null;
907
+ }[];
908
+ assignedAt: string;
909
+ supportStatus: string | null;
910
+ leadCoachName: string;
911
+ sharedWithTeam: boolean;
912
+ supportStartsAt: string | null;
913
+ supportEndsAt: string | null;
914
+ canReadRecords: boolean;
915
+ canManageSupport: boolean;
916
+ canShare: boolean;
917
+ canChangeLead: boolean;
918
+ }>;
919
+ export declare const practiceFamiliesResponseSchema: z.ZodObject<{
920
+ families: z.ZodArray<z.ZodObject<{
921
+ familyUserId: z.ZodString;
922
+ name: z.ZodString;
923
+ assignmentId: z.ZodString;
924
+ leadCoachUserId: z.ZodString;
925
+ leadCoachName: z.ZodString;
926
+ sharedWithTeam: z.ZodBoolean;
927
+ revision: z.ZodString;
928
+ assignedAt: z.ZodString;
929
+ supportStartsAt: z.ZodNullable<z.ZodString>;
930
+ supportEndsAt: z.ZodNullable<z.ZodString>;
931
+ supportStatus: z.ZodNullable<z.ZodString>;
932
+ timeZone: z.ZodString;
933
+ canReadRecords: z.ZodBoolean;
934
+ canManageSupport: z.ZodBoolean;
935
+ canShare: z.ZodBoolean;
936
+ canChangeLead: z.ZodBoolean;
937
+ babies: z.ZodArray<z.ZodObject<{
938
+ id: z.ZodString;
939
+ name: z.ZodString;
940
+ dateOfBirth: z.ZodNullable<z.ZodString>;
941
+ }, "strip", z.ZodTypeAny, {
942
+ id: string;
943
+ name: string;
944
+ dateOfBirth: string | null;
945
+ }, {
946
+ id: string;
947
+ name: string;
948
+ dateOfBirth: string | null;
949
+ }>, "many">;
950
+ }, "strip", z.ZodTypeAny, {
951
+ name: string;
952
+ timeZone: string;
953
+ familyUserId: string;
954
+ revision: string;
955
+ leadCoachUserId: string;
956
+ assignmentId: string;
957
+ babies: {
958
+ id: string;
959
+ name: string;
960
+ dateOfBirth: string | null;
961
+ }[];
962
+ assignedAt: string;
963
+ supportStatus: string | null;
964
+ leadCoachName: string;
965
+ sharedWithTeam: boolean;
966
+ supportStartsAt: string | null;
967
+ supportEndsAt: string | null;
968
+ canReadRecords: boolean;
969
+ canManageSupport: boolean;
970
+ canShare: boolean;
971
+ canChangeLead: boolean;
972
+ }, {
973
+ name: string;
974
+ timeZone: string;
975
+ familyUserId: string;
976
+ revision: string;
977
+ leadCoachUserId: string;
978
+ assignmentId: string;
979
+ babies: {
980
+ id: string;
981
+ name: string;
982
+ dateOfBirth: string | null;
983
+ }[];
984
+ assignedAt: string;
985
+ supportStatus: string | null;
986
+ leadCoachName: string;
987
+ sharedWithTeam: boolean;
988
+ supportStartsAt: string | null;
989
+ supportEndsAt: string | null;
990
+ canReadRecords: boolean;
991
+ canManageSupport: boolean;
992
+ canShare: boolean;
993
+ canChangeLead: boolean;
994
+ }>, "many">;
995
+ pendingFamilyInvitationCount: z.ZodNumber;
996
+ serverTime: z.ZodString;
997
+ }, "strip", z.ZodTypeAny, {
998
+ families: {
999
+ name: string;
1000
+ timeZone: string;
1001
+ familyUserId: string;
1002
+ revision: string;
1003
+ leadCoachUserId: string;
1004
+ assignmentId: string;
1005
+ babies: {
1006
+ id: string;
1007
+ name: string;
1008
+ dateOfBirth: string | null;
1009
+ }[];
1010
+ assignedAt: string;
1011
+ supportStatus: string | null;
1012
+ leadCoachName: string;
1013
+ sharedWithTeam: boolean;
1014
+ supportStartsAt: string | null;
1015
+ supportEndsAt: string | null;
1016
+ canReadRecords: boolean;
1017
+ canManageSupport: boolean;
1018
+ canShare: boolean;
1019
+ canChangeLead: boolean;
1020
+ }[];
1021
+ serverTime: string;
1022
+ pendingFamilyInvitationCount: number;
1023
+ }, {
1024
+ families: {
1025
+ name: string;
1026
+ timeZone: string;
1027
+ familyUserId: string;
1028
+ revision: string;
1029
+ leadCoachUserId: string;
1030
+ assignmentId: string;
1031
+ babies: {
1032
+ id: string;
1033
+ name: string;
1034
+ dateOfBirth: string | null;
1035
+ }[];
1036
+ assignedAt: string;
1037
+ supportStatus: string | null;
1038
+ leadCoachName: string;
1039
+ sharedWithTeam: boolean;
1040
+ supportStartsAt: string | null;
1041
+ supportEndsAt: string | null;
1042
+ canReadRecords: boolean;
1043
+ canManageSupport: boolean;
1044
+ canShare: boolean;
1045
+ canChangeLead: boolean;
1046
+ }[];
1047
+ serverTime: string;
1048
+ pendingFamilyInvitationCount: number;
1049
+ }>;
1050
+ export declare const practiceFamilyJourneyResponseSchema: z.ZodObject<{
1051
+ familyUserId: z.ZodString;
1052
+ actorUserId: z.ZodString;
1053
+ organizationId: z.ZodString;
1054
+ assignmentId: z.ZodString;
1055
+ leadCoachUserId: z.ZodString;
1056
+ revision: z.ZodString;
1057
+ serverTime: z.ZodString;
1058
+ availability: z.ZodEnum<["available", "partial", "featureDisabled", "permissionDenied"]>;
1059
+ bookingsAvailable: z.ZodBoolean;
1060
+ enquiries: z.ZodArray<z.ZodObject<{
1061
+ leadId: z.ZodString;
1062
+ submittedAt: z.ZodString;
1063
+ }, "strip", z.ZodTypeAny, {
1064
+ leadId: string;
1065
+ submittedAt: string;
1066
+ }, {
1067
+ leadId: string;
1068
+ submittedAt: string;
1069
+ }>, "many">;
1070
+ bookings: z.ZodArray<z.ZodObject<{
1071
+ id: z.ZodString;
1072
+ leadId: z.ZodString;
1073
+ serviceName: z.ZodString;
1074
+ status: z.ZodString;
1075
+ callMethod: z.ZodString;
1076
+ startsAt: z.ZodString;
1077
+ endsAt: z.ZodString;
1078
+ timeZone: z.ZodString;
1079
+ }, "strip", z.ZodTypeAny, {
1080
+ status: string;
1081
+ id: string;
1082
+ timeZone: string;
1083
+ startsAt: string;
1084
+ endsAt: string;
1085
+ serviceName: string;
1086
+ callMethod: string;
1087
+ leadId: string;
1088
+ }, {
1089
+ status: string;
1090
+ id: string;
1091
+ timeZone: string;
1092
+ startsAt: string;
1093
+ endsAt: string;
1094
+ serviceName: string;
1095
+ callMethod: string;
1096
+ leadId: string;
1097
+ }>, "many">;
1098
+ }, "strip", z.ZodTypeAny, {
1099
+ organizationId: string;
1100
+ familyUserId: string;
1101
+ actorUserId: string;
1102
+ revision: string;
1103
+ serverTime: string;
1104
+ leadCoachUserId: string;
1105
+ bookings: {
1106
+ status: string;
1107
+ id: string;
1108
+ timeZone: string;
1109
+ startsAt: string;
1110
+ endsAt: string;
1111
+ serviceName: string;
1112
+ callMethod: string;
1113
+ leadId: string;
1114
+ }[];
1115
+ assignmentId: string;
1116
+ availability: "available" | "permissionDenied" | "featureDisabled" | "partial";
1117
+ enquiries: {
1118
+ leadId: string;
1119
+ submittedAt: string;
1120
+ }[];
1121
+ bookingsAvailable: boolean;
1122
+ }, {
1123
+ organizationId: string;
1124
+ familyUserId: string;
1125
+ actorUserId: string;
1126
+ revision: string;
1127
+ serverTime: string;
1128
+ leadCoachUserId: string;
1129
+ bookings: {
1130
+ status: string;
1131
+ id: string;
1132
+ timeZone: string;
1133
+ startsAt: string;
1134
+ endsAt: string;
1135
+ serviceName: string;
1136
+ callMethod: string;
1137
+ leadId: string;
1138
+ }[];
1139
+ assignmentId: string;
1140
+ availability: "available" | "permissionDenied" | "featureDisabled" | "partial";
1141
+ enquiries: {
1142
+ leadId: string;
1143
+ submittedAt: string;
1144
+ }[];
1145
+ bookingsAvailable: boolean;
1146
+ }>;
1147
+ export declare const practiceShareSchema: z.ZodObject<{
1148
+ assignmentId: z.ZodString;
1149
+ expectedRevision: z.ZodString;
1150
+ sharedWithTeam: z.ZodBoolean;
1151
+ }, "strict", z.ZodTypeAny, {
1152
+ expectedRevision: string;
1153
+ assignmentId: string;
1154
+ sharedWithTeam: boolean;
1155
+ }, {
1156
+ expectedRevision: string;
1157
+ assignmentId: string;
1158
+ sharedWithTeam: boolean;
1159
+ }>;
1160
+ export declare const practiceLeadChangeSchema: z.ZodObject<{
1161
+ assignmentId: z.ZodString;
1162
+ expectedRevision: z.ZodString;
1163
+ targetCoachUserId: z.ZodString;
1164
+ }, "strict", z.ZodTypeAny, {
1165
+ expectedRevision: string;
1166
+ assignmentId: string;
1167
+ targetCoachUserId: string;
1168
+ }, {
1169
+ expectedRevision: string;
1170
+ assignmentId: string;
1171
+ targetCoachUserId: string;
1172
+ }>;
1173
+ export declare const practiceTeamNoteSchema: z.ZodObject<{
1174
+ id: z.ZodString;
1175
+ body: z.ZodString;
1176
+ authorUserId: z.ZodString;
1177
+ authorName: z.ZodString;
1178
+ createdAt: z.ZodString;
1179
+ }, "strip", z.ZodTypeAny, {
1180
+ id: string;
1181
+ createdAt: string;
1182
+ body: string;
1183
+ authorUserId: string;
1184
+ authorName: string;
1185
+ }, {
1186
+ id: string;
1187
+ createdAt: string;
1188
+ body: string;
1189
+ authorUserId: string;
1190
+ authorName: string;
1191
+ }>;
1192
+ export declare const practiceTeamNotesResponseSchema: z.ZodObject<{
1193
+ notes: z.ZodArray<z.ZodObject<{
1194
+ id: z.ZodString;
1195
+ body: z.ZodString;
1196
+ authorUserId: z.ZodString;
1197
+ authorName: z.ZodString;
1198
+ createdAt: z.ZodString;
1199
+ }, "strip", z.ZodTypeAny, {
1200
+ id: string;
1201
+ createdAt: string;
1202
+ body: string;
1203
+ authorUserId: string;
1204
+ authorName: string;
1205
+ }, {
1206
+ id: string;
1207
+ createdAt: string;
1208
+ body: string;
1209
+ authorUserId: string;
1210
+ authorName: string;
1211
+ }>, "many">;
1212
+ }, "strip", z.ZodTypeAny, {
1213
+ notes: {
1214
+ id: string;
1215
+ createdAt: string;
1216
+ body: string;
1217
+ authorUserId: string;
1218
+ authorName: string;
1219
+ }[];
1220
+ }, {
1221
+ notes: {
1222
+ id: string;
1223
+ createdAt: string;
1224
+ body: string;
1225
+ authorUserId: string;
1226
+ authorName: string;
1227
+ }[];
1228
+ }>;
1229
+ export declare const practiceTeamNoteWriteSchema: z.ZodObject<{
1230
+ assignmentId: z.ZodString;
1231
+ expectedRevision: z.ZodString;
1232
+ requestId: z.ZodString;
1233
+ body: z.ZodString;
1234
+ }, "strict", z.ZodTypeAny, {
1235
+ requestId: string;
1236
+ expectedRevision: string;
1237
+ assignmentId: string;
1238
+ body: string;
1239
+ }, {
1240
+ requestId: string;
1241
+ expectedRevision: string;
1242
+ assignmentId: string;
1243
+ body: string;
1244
+ }>;
1245
+ export type PracticeSummary = z.infer<typeof practiceSummarySchema>;
1246
+ export type PracticeCapabilities = z.infer<typeof practiceCapabilitiesSchema>;
1247
+ export type PracticeAssistantPermissions = z.infer<typeof practiceAssistantPermissionsSchema>;
1248
+ export type CreatePracticeInvitation = z.infer<typeof createPracticeInvitationSchema>;
1249
+ export type UpdatePracticeMember = z.infer<typeof updatePracticeMemberSchema>;
1250
+ export type PracticeJoin = z.infer<typeof practiceJoinSchema>;
1251
+ export type PracticeInvitationLanding = z.infer<typeof practiceInvitationLandingSchema>;
1252
+ export type PracticeInvitationPreview = z.infer<typeof practiceInvitationPreviewSchema>;
1253
+ export type PracticeFamiliesQuery = z.infer<typeof practiceFamiliesQuerySchema>;
1254
+ export type PracticeFamily = z.infer<typeof practiceFamilySchema>;
1255
+ export type PracticeFamiliesResponse = z.infer<typeof practiceFamiliesResponseSchema>;
1256
+ export type PracticeFamilyJourneyResponse = z.infer<typeof practiceFamilyJourneyResponseSchema>;
1257
+ export type PracticeShare = z.infer<typeof practiceShareSchema>;
1258
+ export type PracticeLeadChange = z.infer<typeof practiceLeadChangeSchema>;
1259
+ export type PracticeTeamNoteWrite = z.infer<typeof practiceTeamNoteWriteSchema>;