@nikthegeek/dreamsforlittles-shared 0.1.0 → 0.1.2

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 (85) hide show
  1. package/dist/access.d.ts +2450 -30
  2. package/dist/access.js +63 -4
  3. package/dist/access.js.map +1 -1
  4. package/dist/admin.d.ts +12635 -1041
  5. package/dist/admin.js +554 -4
  6. package/dist/admin.js.map +1 -1
  7. package/dist/allergy-ladders.d.ts +563 -80
  8. package/dist/allergy-ladders.js +40 -0
  9. package/dist/allergy-ladders.js.map +1 -1
  10. package/dist/analysis.d.ts +68 -46
  11. package/dist/analysis.js +10 -2
  12. package/dist/analysis.js.map +1 -1
  13. package/dist/api.d.ts +12 -5
  14. package/dist/api.js +12 -0
  15. package/dist/api.js.map +1 -1
  16. package/dist/app-feedback.d.ts +322 -0
  17. package/dist/app-feedback.js +58 -0
  18. package/dist/app-feedback.js.map +1 -0
  19. package/dist/auth.d.ts +684 -0
  20. package/dist/auth.js +45 -4
  21. package/dist/auth.js.map +1 -1
  22. package/dist/billing.d.ts +47 -2
  23. package/dist/billing.js +56 -29
  24. package/dist/billing.js.map +1 -1
  25. package/dist/client-notices.d.ts +6114 -0
  26. package/dist/client-notices.js +455 -0
  27. package/dist/client-notices.js.map +1 -0
  28. package/dist/coach.d.ts +20178 -206
  29. package/dist/coach.js +329 -18
  30. package/dist/coach.js.map +1 -1
  31. package/dist/communication-preferences.d.ts +61 -0
  32. package/dist/communication-preferences.js +30 -0
  33. package/dist/communication-preferences.js.map +1 -0
  34. package/dist/enums.d.ts +6 -2
  35. package/dist/enums.js +27 -1
  36. package/dist/enums.js.map +1 -1
  37. package/dist/errors.d.ts +9 -4
  38. package/dist/errors.js +9 -2
  39. package/dist/errors.js.map +1 -1
  40. package/dist/family-invitations.d.ts +2289 -0
  41. package/dist/family-invitations.js +77 -0
  42. package/dist/family-invitations.js.map +1 -0
  43. package/dist/family-profile-artifacts.d.ts +4433 -0
  44. package/dist/family-profile-artifacts.js +192 -0
  45. package/dist/family-profile-artifacts.js.map +1 -0
  46. package/dist/family.d.ts +7902 -294
  47. package/dist/family.js +170 -5
  48. package/dist/family.js.map +1 -1
  49. package/dist/files.d.ts +17 -14
  50. package/dist/files.js +5 -1
  51. package/dist/files.js.map +1 -1
  52. package/dist/getting-started-guides.d.ts +117 -0
  53. package/dist/getting-started-guides.js +25 -0
  54. package/dist/getting-started-guides.js.map +1 -0
  55. package/dist/index.d.ts +14 -0
  56. package/dist/index.js +14 -0
  57. package/dist/index.js.map +1 -1
  58. package/dist/invites.d.ts +252 -0
  59. package/dist/invites.js +2 -0
  60. package/dist/invites.js.map +1 -1
  61. package/dist/mobile-web-releases.d.ts +389 -0
  62. package/dist/mobile-web-releases.js +71 -0
  63. package/dist/mobile-web-releases.js.map +1 -0
  64. package/dist/notification-banners.d.ts +694 -0
  65. package/dist/notification-banners.js +132 -0
  66. package/dist/notification-banners.js.map +1 -0
  67. package/dist/product-analytics.d.ts +5984 -0
  68. package/dist/product-analytics.js +791 -0
  69. package/dist/product-analytics.js.map +1 -0
  70. package/dist/push-devices.d.ts +175 -0
  71. package/dist/push-devices.js +56 -0
  72. package/dist/push-devices.js.map +1 -0
  73. package/dist/realtime.d.ts +604 -0
  74. package/dist/realtime.js +152 -0
  75. package/dist/realtime.js.map +1 -0
  76. package/dist/review-prompt.d.ts +192 -0
  77. package/dist/review-prompt.js +72 -0
  78. package/dist/review-prompt.js.map +1 -0
  79. package/dist/support-faqs.d.ts +103 -0
  80. package/dist/support-faqs.js +24 -0
  81. package/dist/support-faqs.js.map +1 -0
  82. package/dist/support-tickets.d.ts +605 -0
  83. package/dist/support-tickets.js +100 -0
  84. package/dist/support-tickets.js.map +1 -0
  85. package/package.json +6 -1
package/dist/auth.d.ts CHANGED
@@ -3,32 +3,160 @@ import { authMeResponseSchema } from "./access.js";
3
3
  export declare const onboardFamilyRequestSchema: z.ZodObject<{
4
4
  name: z.ZodString;
5
5
  email: z.ZodOptional<z.ZodString>;
6
+ timeZone: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
7
+ communicationPreferences: z.ZodOptional<z.ZodObject<{
8
+ hintsTips: z.ZodOptional<z.ZodBoolean>;
9
+ appUpdatesNewFeatures: z.ZodOptional<z.ZodBoolean>;
10
+ promotionsOffers: z.ZodOptional<z.ZodBoolean>;
11
+ }, "strict", z.ZodTypeAny, {
12
+ hintsTips?: boolean | undefined;
13
+ appUpdatesNewFeatures?: boolean | undefined;
14
+ promotionsOffers?: boolean | undefined;
15
+ }, {
16
+ hintsTips?: boolean | undefined;
17
+ appUpdatesNewFeatures?: boolean | undefined;
18
+ promotionsOffers?: boolean | undefined;
19
+ }>>;
6
20
  }, "strip", z.ZodTypeAny, {
7
21
  name: string;
8
22
  email?: string | undefined;
23
+ timeZone?: string | undefined;
24
+ communicationPreferences?: {
25
+ hintsTips?: boolean | undefined;
26
+ appUpdatesNewFeatures?: boolean | undefined;
27
+ promotionsOffers?: boolean | undefined;
28
+ } | undefined;
9
29
  }, {
10
30
  name: string;
11
31
  email?: string | undefined;
32
+ timeZone?: string | undefined;
33
+ communicationPreferences?: {
34
+ hintsTips?: boolean | undefined;
35
+ appUpdatesNewFeatures?: boolean | undefined;
36
+ promotionsOffers?: boolean | undefined;
37
+ } | undefined;
12
38
  }>;
13
39
  export declare const onboardCoachRequestSchema: z.ZodObject<{
14
40
  name: z.ZodString;
15
41
  displayName: z.ZodOptional<z.ZodString>;
16
42
  email: z.ZodOptional<z.ZodString>;
43
+ communicationPreferences: z.ZodOptional<z.ZodObject<{
44
+ hintsTips: z.ZodOptional<z.ZodBoolean>;
45
+ appUpdatesNewFeatures: z.ZodOptional<z.ZodBoolean>;
46
+ promotionsOffers: z.ZodOptional<z.ZodBoolean>;
47
+ }, "strict", z.ZodTypeAny, {
48
+ hintsTips?: boolean | undefined;
49
+ appUpdatesNewFeatures?: boolean | undefined;
50
+ promotionsOffers?: boolean | undefined;
51
+ }, {
52
+ hintsTips?: boolean | undefined;
53
+ appUpdatesNewFeatures?: boolean | undefined;
54
+ promotionsOffers?: boolean | undefined;
55
+ }>>;
17
56
  }, "strip", z.ZodTypeAny, {
18
57
  name: string;
19
58
  email?: string | undefined;
59
+ communicationPreferences?: {
60
+ hintsTips?: boolean | undefined;
61
+ appUpdatesNewFeatures?: boolean | undefined;
62
+ promotionsOffers?: boolean | undefined;
63
+ } | undefined;
20
64
  displayName?: string | undefined;
21
65
  }, {
22
66
  name: string;
23
67
  email?: string | undefined;
68
+ communicationPreferences?: {
69
+ hintsTips?: boolean | undefined;
70
+ appUpdatesNewFeatures?: boolean | undefined;
71
+ promotionsOffers?: boolean | undefined;
72
+ } | undefined;
24
73
  displayName?: string | undefined;
25
74
  }>;
26
75
  export declare const updateProfileRequestSchema: z.ZodObject<{
27
76
  name: z.ZodString;
77
+ businessName: z.ZodOptional<z.ZodString>;
78
+ profileAssetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
79
+ relationship: z.ZodOptional<z.ZodNullable<z.ZodEnum<["mother", "father", "grandfather", "grandmother", "uncle", "aunt", "guardian", "other"]>>>;
80
+ timeZone: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
28
81
  }, "strip", z.ZodTypeAny, {
29
82
  name: string;
83
+ profileAssetId?: string | null | undefined;
84
+ relationship?: "mother" | "father" | "grandfather" | "grandmother" | "uncle" | "aunt" | "guardian" | "other" | null | undefined;
85
+ timeZone?: string | null | undefined;
86
+ businessName?: string | undefined;
30
87
  }, {
31
88
  name: string;
89
+ profileAssetId?: string | null | undefined;
90
+ relationship?: "mother" | "father" | "grandfather" | "grandmother" | "uncle" | "aunt" | "guardian" | "other" | null | undefined;
91
+ timeZone?: string | null | undefined;
92
+ businessName?: string | undefined;
93
+ }>;
94
+ export declare const deleteAccountRequestSchema: z.ZodObject<{
95
+ email: z.ZodString;
96
+ confirmationText: z.ZodLiteral<"DELETE">;
97
+ }, "strip", z.ZodTypeAny, {
98
+ email: string;
99
+ confirmationText: "DELETE";
100
+ }, {
101
+ email: string;
102
+ confirmationText: "DELETE";
103
+ }>;
104
+ export declare const legacyPasswordUpgradeRequestSchema: z.ZodObject<{
105
+ email: z.ZodString;
106
+ password: z.ZodString;
107
+ }, "strip", z.ZodTypeAny, {
108
+ email: string;
109
+ password: string;
110
+ }, {
111
+ email: string;
112
+ password: string;
113
+ }>;
114
+ export declare const legacyPasswordUpgradeResponseSchema: z.ZodObject<{
115
+ upgraded: z.ZodLiteral<true>;
116
+ }, "strip", z.ZodTypeAny, {
117
+ upgraded: true;
118
+ }, {
119
+ upgraded: true;
120
+ }>;
121
+ export declare const loginSupportRequestSchema: z.ZodObject<{
122
+ email: z.ZodString;
123
+ details: z.ZodString;
124
+ failedAttemptCount: z.ZodOptional<z.ZodNumber>;
125
+ devicePlatform: z.ZodOptional<z.ZodNullable<z.ZodString>>;
126
+ appVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
127
+ }, "strip", z.ZodTypeAny, {
128
+ email: string;
129
+ details: string;
130
+ devicePlatform?: string | null | undefined;
131
+ appVersion?: string | null | undefined;
132
+ failedAttemptCount?: number | undefined;
133
+ }, {
134
+ email: string;
135
+ details: string;
136
+ devicePlatform?: string | null | undefined;
137
+ appVersion?: string | null | undefined;
138
+ failedAttemptCount?: number | undefined;
139
+ }>;
140
+ export declare const loginSupportResponseSchema: z.ZodObject<{
141
+ submitted: z.ZodLiteral<true>;
142
+ }, "strip", z.ZodTypeAny, {
143
+ submitted: true;
144
+ }, {
145
+ submitted: true;
146
+ }>;
147
+ export declare const passwordResetRequestSchema: z.ZodObject<{
148
+ email: z.ZodString;
149
+ }, "strip", z.ZodTypeAny, {
150
+ email: string;
151
+ }, {
152
+ email: string;
153
+ }>;
154
+ export declare const passwordResetResponseSchema: z.ZodObject<{
155
+ submitted: z.ZodLiteral<true>;
156
+ }, "strip", z.ZodTypeAny, {
157
+ submitted: true;
158
+ }, {
159
+ submitted: true;
32
160
  }>;
33
161
  export declare const onboardingResponseSchema: z.ZodObject<{
34
162
  session: z.ZodObject<{
@@ -53,6 +181,23 @@ export declare const onboardingResponseSchema: z.ZodObject<{
53
181
  authUserId: z.ZodString;
54
182
  email: z.ZodString;
55
183
  name: z.ZodString;
184
+ profileAssetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
185
+ relationship: z.ZodOptional<z.ZodNullable<z.ZodEnum<["mother", "father", "grandfather", "grandmother", "uncle", "aunt", "guardian", "other"]>>>;
186
+ timeZone: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
187
+ communicationPreferences: z.ZodOptional<z.ZodObject<{
188
+ hintsTips: z.ZodBoolean;
189
+ appUpdatesNewFeatures: z.ZodBoolean;
190
+ promotionsOffers: z.ZodBoolean;
191
+ }, "strict", z.ZodTypeAny, {
192
+ hintsTips: boolean;
193
+ appUpdatesNewFeatures: boolean;
194
+ promotionsOffers: boolean;
195
+ }, {
196
+ hintsTips: boolean;
197
+ appUpdatesNewFeatures: boolean;
198
+ promotionsOffers: boolean;
199
+ }>>;
200
+ communicationPreferencesUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
201
  defaultRole: z.ZodEnum<["family", "coach", "superAdmin"]>;
57
202
  roles: z.ZodObject<{
58
203
  family: z.ZodBoolean;
@@ -67,6 +212,7 @@ export declare const onboardingResponseSchema: z.ZodObject<{
67
212
  coach: boolean;
68
213
  superAdmin: boolean;
69
214
  }>;
215
+ createdAt: z.ZodString;
70
216
  }, "strip", z.ZodTypeAny, {
71
217
  id: string;
72
218
  authUserId: string;
@@ -78,6 +224,16 @@ export declare const onboardingResponseSchema: z.ZodObject<{
78
224
  coach: boolean;
79
225
  superAdmin: boolean;
80
226
  };
227
+ createdAt: string;
228
+ profileAssetId?: string | null | undefined;
229
+ relationship?: "mother" | "father" | "grandfather" | "grandmother" | "uncle" | "aunt" | "guardian" | "other" | null | undefined;
230
+ timeZone?: string | null | undefined;
231
+ communicationPreferences?: {
232
+ hintsTips: boolean;
233
+ appUpdatesNewFeatures: boolean;
234
+ promotionsOffers: boolean;
235
+ } | undefined;
236
+ communicationPreferencesUpdatedAt?: string | null | undefined;
81
237
  }, {
82
238
  id: string;
83
239
  authUserId: string;
@@ -89,6 +245,16 @@ export declare const onboardingResponseSchema: z.ZodObject<{
89
245
  coach: boolean;
90
246
  superAdmin: boolean;
91
247
  };
248
+ createdAt: string;
249
+ profileAssetId?: string | null | undefined;
250
+ relationship?: "mother" | "father" | "grandfather" | "grandmother" | "uncle" | "aunt" | "guardian" | "other" | null | undefined;
251
+ timeZone?: string | null | undefined;
252
+ communicationPreferences?: {
253
+ hintsTips: boolean;
254
+ appUpdatesNewFeatures: boolean;
255
+ promotionsOffers: boolean;
256
+ } | undefined;
257
+ communicationPreferencesUpdatedAt?: string | null | undefined;
92
258
  }>;
93
259
  actorRoles: z.ZodObject<{
94
260
  family: z.ZodBoolean;
@@ -103,6 +269,267 @@ export declare const onboardingResponseSchema: z.ZodObject<{
103
269
  coach: boolean;
104
270
  superAdmin: boolean;
105
271
  }>;
272
+ ownerViewAsCoach: z.ZodOptional<z.ZodObject<{
273
+ ownerUser: z.ZodObject<{
274
+ id: z.ZodString;
275
+ authUserId: z.ZodString;
276
+ email: z.ZodString;
277
+ name: z.ZodString;
278
+ profileAssetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
279
+ relationship: z.ZodOptional<z.ZodNullable<z.ZodEnum<["mother", "father", "grandfather", "grandmother", "uncle", "aunt", "guardian", "other"]>>>;
280
+ timeZone: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
281
+ communicationPreferences: z.ZodOptional<z.ZodObject<{
282
+ hintsTips: z.ZodBoolean;
283
+ appUpdatesNewFeatures: z.ZodBoolean;
284
+ promotionsOffers: z.ZodBoolean;
285
+ }, "strict", z.ZodTypeAny, {
286
+ hintsTips: boolean;
287
+ appUpdatesNewFeatures: boolean;
288
+ promotionsOffers: boolean;
289
+ }, {
290
+ hintsTips: boolean;
291
+ appUpdatesNewFeatures: boolean;
292
+ promotionsOffers: boolean;
293
+ }>>;
294
+ communicationPreferencesUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
295
+ defaultRole: z.ZodEnum<["family", "coach", "superAdmin"]>;
296
+ roles: z.ZodObject<{
297
+ family: z.ZodBoolean;
298
+ coach: z.ZodBoolean;
299
+ superAdmin: z.ZodBoolean;
300
+ }, "strip", z.ZodTypeAny, {
301
+ family: boolean;
302
+ coach: boolean;
303
+ superAdmin: boolean;
304
+ }, {
305
+ family: boolean;
306
+ coach: boolean;
307
+ superAdmin: boolean;
308
+ }>;
309
+ createdAt: z.ZodString;
310
+ }, "strip", z.ZodTypeAny, {
311
+ id: string;
312
+ authUserId: string;
313
+ email: string;
314
+ name: string;
315
+ defaultRole: "family" | "coach" | "superAdmin";
316
+ roles: {
317
+ family: boolean;
318
+ coach: boolean;
319
+ superAdmin: boolean;
320
+ };
321
+ createdAt: string;
322
+ profileAssetId?: string | null | undefined;
323
+ relationship?: "mother" | "father" | "grandfather" | "grandmother" | "uncle" | "aunt" | "guardian" | "other" | null | undefined;
324
+ timeZone?: string | null | undefined;
325
+ communicationPreferences?: {
326
+ hintsTips: boolean;
327
+ appUpdatesNewFeatures: boolean;
328
+ promotionsOffers: boolean;
329
+ } | undefined;
330
+ communicationPreferencesUpdatedAt?: string | null | undefined;
331
+ }, {
332
+ id: string;
333
+ authUserId: string;
334
+ email: string;
335
+ name: string;
336
+ defaultRole: "family" | "coach" | "superAdmin";
337
+ roles: {
338
+ family: boolean;
339
+ coach: boolean;
340
+ superAdmin: boolean;
341
+ };
342
+ createdAt: string;
343
+ profileAssetId?: string | null | undefined;
344
+ relationship?: "mother" | "father" | "grandfather" | "grandmother" | "uncle" | "aunt" | "guardian" | "other" | null | undefined;
345
+ timeZone?: string | null | undefined;
346
+ communicationPreferences?: {
347
+ hintsTips: boolean;
348
+ appUpdatesNewFeatures: boolean;
349
+ promotionsOffers: boolean;
350
+ } | undefined;
351
+ communicationPreferencesUpdatedAt?: string | null | undefined;
352
+ }>;
353
+ coachUser: z.ZodObject<{
354
+ id: z.ZodString;
355
+ authUserId: z.ZodString;
356
+ email: z.ZodString;
357
+ name: z.ZodString;
358
+ profileAssetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
359
+ relationship: z.ZodOptional<z.ZodNullable<z.ZodEnum<["mother", "father", "grandfather", "grandmother", "uncle", "aunt", "guardian", "other"]>>>;
360
+ timeZone: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
361
+ communicationPreferences: z.ZodOptional<z.ZodObject<{
362
+ hintsTips: z.ZodBoolean;
363
+ appUpdatesNewFeatures: z.ZodBoolean;
364
+ promotionsOffers: z.ZodBoolean;
365
+ }, "strict", z.ZodTypeAny, {
366
+ hintsTips: boolean;
367
+ appUpdatesNewFeatures: boolean;
368
+ promotionsOffers: boolean;
369
+ }, {
370
+ hintsTips: boolean;
371
+ appUpdatesNewFeatures: boolean;
372
+ promotionsOffers: boolean;
373
+ }>>;
374
+ communicationPreferencesUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
375
+ defaultRole: z.ZodEnum<["family", "coach", "superAdmin"]>;
376
+ roles: z.ZodObject<{
377
+ family: z.ZodBoolean;
378
+ coach: z.ZodBoolean;
379
+ superAdmin: z.ZodBoolean;
380
+ }, "strip", z.ZodTypeAny, {
381
+ family: boolean;
382
+ coach: boolean;
383
+ superAdmin: boolean;
384
+ }, {
385
+ family: boolean;
386
+ coach: boolean;
387
+ superAdmin: boolean;
388
+ }>;
389
+ createdAt: z.ZodString;
390
+ }, "strip", z.ZodTypeAny, {
391
+ id: string;
392
+ authUserId: string;
393
+ email: string;
394
+ name: string;
395
+ defaultRole: "family" | "coach" | "superAdmin";
396
+ roles: {
397
+ family: boolean;
398
+ coach: boolean;
399
+ superAdmin: boolean;
400
+ };
401
+ createdAt: string;
402
+ profileAssetId?: string | null | undefined;
403
+ relationship?: "mother" | "father" | "grandfather" | "grandmother" | "uncle" | "aunt" | "guardian" | "other" | null | undefined;
404
+ timeZone?: string | null | undefined;
405
+ communicationPreferences?: {
406
+ hintsTips: boolean;
407
+ appUpdatesNewFeatures: boolean;
408
+ promotionsOffers: boolean;
409
+ } | undefined;
410
+ communicationPreferencesUpdatedAt?: string | null | undefined;
411
+ }, {
412
+ id: string;
413
+ authUserId: string;
414
+ email: string;
415
+ name: string;
416
+ defaultRole: "family" | "coach" | "superAdmin";
417
+ roles: {
418
+ family: boolean;
419
+ coach: boolean;
420
+ superAdmin: boolean;
421
+ };
422
+ createdAt: string;
423
+ profileAssetId?: string | null | undefined;
424
+ relationship?: "mother" | "father" | "grandfather" | "grandmother" | "uncle" | "aunt" | "guardian" | "other" | null | undefined;
425
+ timeZone?: string | null | undefined;
426
+ communicationPreferences?: {
427
+ hintsTips: boolean;
428
+ appUpdatesNewFeatures: boolean;
429
+ promotionsOffers: boolean;
430
+ } | undefined;
431
+ communicationPreferencesUpdatedAt?: string | null | undefined;
432
+ }>;
433
+ startedAt: z.ZodString;
434
+ expiresAt: z.ZodString;
435
+ readOnly: z.ZodBoolean;
436
+ }, "strip", z.ZodTypeAny, {
437
+ ownerUser: {
438
+ id: string;
439
+ authUserId: string;
440
+ email: string;
441
+ name: string;
442
+ defaultRole: "family" | "coach" | "superAdmin";
443
+ roles: {
444
+ family: boolean;
445
+ coach: boolean;
446
+ superAdmin: boolean;
447
+ };
448
+ createdAt: string;
449
+ profileAssetId?: string | null | undefined;
450
+ relationship?: "mother" | "father" | "grandfather" | "grandmother" | "uncle" | "aunt" | "guardian" | "other" | null | undefined;
451
+ timeZone?: string | null | undefined;
452
+ communicationPreferences?: {
453
+ hintsTips: boolean;
454
+ appUpdatesNewFeatures: boolean;
455
+ promotionsOffers: boolean;
456
+ } | undefined;
457
+ communicationPreferencesUpdatedAt?: string | null | undefined;
458
+ };
459
+ coachUser: {
460
+ id: string;
461
+ authUserId: string;
462
+ email: string;
463
+ name: string;
464
+ defaultRole: "family" | "coach" | "superAdmin";
465
+ roles: {
466
+ family: boolean;
467
+ coach: boolean;
468
+ superAdmin: boolean;
469
+ };
470
+ createdAt: string;
471
+ profileAssetId?: string | null | undefined;
472
+ relationship?: "mother" | "father" | "grandfather" | "grandmother" | "uncle" | "aunt" | "guardian" | "other" | null | undefined;
473
+ timeZone?: string | null | undefined;
474
+ communicationPreferences?: {
475
+ hintsTips: boolean;
476
+ appUpdatesNewFeatures: boolean;
477
+ promotionsOffers: boolean;
478
+ } | undefined;
479
+ communicationPreferencesUpdatedAt?: string | null | undefined;
480
+ };
481
+ startedAt: string;
482
+ expiresAt: string;
483
+ readOnly: boolean;
484
+ }, {
485
+ ownerUser: {
486
+ id: string;
487
+ authUserId: string;
488
+ email: string;
489
+ name: string;
490
+ defaultRole: "family" | "coach" | "superAdmin";
491
+ roles: {
492
+ family: boolean;
493
+ coach: boolean;
494
+ superAdmin: boolean;
495
+ };
496
+ createdAt: string;
497
+ profileAssetId?: string | null | undefined;
498
+ relationship?: "mother" | "father" | "grandfather" | "grandmother" | "uncle" | "aunt" | "guardian" | "other" | null | undefined;
499
+ timeZone?: string | null | undefined;
500
+ communicationPreferences?: {
501
+ hintsTips: boolean;
502
+ appUpdatesNewFeatures: boolean;
503
+ promotionsOffers: boolean;
504
+ } | undefined;
505
+ communicationPreferencesUpdatedAt?: string | null | undefined;
506
+ };
507
+ coachUser: {
508
+ id: string;
509
+ authUserId: string;
510
+ email: string;
511
+ name: string;
512
+ defaultRole: "family" | "coach" | "superAdmin";
513
+ roles: {
514
+ family: boolean;
515
+ coach: boolean;
516
+ superAdmin: boolean;
517
+ };
518
+ createdAt: string;
519
+ profileAssetId?: string | null | undefined;
520
+ relationship?: "mother" | "father" | "grandfather" | "grandmother" | "uncle" | "aunt" | "guardian" | "other" | null | undefined;
521
+ timeZone?: string | null | undefined;
522
+ communicationPreferences?: {
523
+ hintsTips: boolean;
524
+ appUpdatesNewFeatures: boolean;
525
+ promotionsOffers: boolean;
526
+ } | undefined;
527
+ communicationPreferencesUpdatedAt?: string | null | undefined;
528
+ };
529
+ startedAt: string;
530
+ expiresAt: string;
531
+ readOnly: boolean;
532
+ }>>;
106
533
  }, "strip", z.ZodTypeAny, {
107
534
  auth: {
108
535
  authUserId: string;
@@ -121,12 +548,71 @@ export declare const onboardingResponseSchema: z.ZodObject<{
121
548
  coach: boolean;
122
549
  superAdmin: boolean;
123
550
  };
551
+ createdAt: string;
552
+ profileAssetId?: string | null | undefined;
553
+ relationship?: "mother" | "father" | "grandfather" | "grandmother" | "uncle" | "aunt" | "guardian" | "other" | null | undefined;
554
+ timeZone?: string | null | undefined;
555
+ communicationPreferences?: {
556
+ hintsTips: boolean;
557
+ appUpdatesNewFeatures: boolean;
558
+ promotionsOffers: boolean;
559
+ } | undefined;
560
+ communicationPreferencesUpdatedAt?: string | null | undefined;
124
561
  };
125
562
  actorRoles: {
126
563
  family: boolean;
127
564
  coach: boolean;
128
565
  superAdmin: boolean;
129
566
  };
567
+ ownerViewAsCoach?: {
568
+ ownerUser: {
569
+ id: string;
570
+ authUserId: string;
571
+ email: string;
572
+ name: string;
573
+ defaultRole: "family" | "coach" | "superAdmin";
574
+ roles: {
575
+ family: boolean;
576
+ coach: boolean;
577
+ superAdmin: boolean;
578
+ };
579
+ createdAt: string;
580
+ profileAssetId?: string | null | undefined;
581
+ relationship?: "mother" | "father" | "grandfather" | "grandmother" | "uncle" | "aunt" | "guardian" | "other" | null | undefined;
582
+ timeZone?: string | null | undefined;
583
+ communicationPreferences?: {
584
+ hintsTips: boolean;
585
+ appUpdatesNewFeatures: boolean;
586
+ promotionsOffers: boolean;
587
+ } | undefined;
588
+ communicationPreferencesUpdatedAt?: string | null | undefined;
589
+ };
590
+ coachUser: {
591
+ id: string;
592
+ authUserId: string;
593
+ email: string;
594
+ name: string;
595
+ defaultRole: "family" | "coach" | "superAdmin";
596
+ roles: {
597
+ family: boolean;
598
+ coach: boolean;
599
+ superAdmin: boolean;
600
+ };
601
+ createdAt: string;
602
+ profileAssetId?: string | null | undefined;
603
+ relationship?: "mother" | "father" | "grandfather" | "grandmother" | "uncle" | "aunt" | "guardian" | "other" | null | undefined;
604
+ timeZone?: string | null | undefined;
605
+ communicationPreferences?: {
606
+ hintsTips: boolean;
607
+ appUpdatesNewFeatures: boolean;
608
+ promotionsOffers: boolean;
609
+ } | undefined;
610
+ communicationPreferencesUpdatedAt?: string | null | undefined;
611
+ };
612
+ startedAt: string;
613
+ expiresAt: string;
614
+ readOnly: boolean;
615
+ } | undefined;
130
616
  }, {
131
617
  auth: {
132
618
  authUserId: string;
@@ -145,12 +631,71 @@ export declare const onboardingResponseSchema: z.ZodObject<{
145
631
  coach: boolean;
146
632
  superAdmin: boolean;
147
633
  };
634
+ createdAt: string;
635
+ profileAssetId?: string | null | undefined;
636
+ relationship?: "mother" | "father" | "grandfather" | "grandmother" | "uncle" | "aunt" | "guardian" | "other" | null | undefined;
637
+ timeZone?: string | null | undefined;
638
+ communicationPreferences?: {
639
+ hintsTips: boolean;
640
+ appUpdatesNewFeatures: boolean;
641
+ promotionsOffers: boolean;
642
+ } | undefined;
643
+ communicationPreferencesUpdatedAt?: string | null | undefined;
148
644
  };
149
645
  actorRoles: {
150
646
  family: boolean;
151
647
  coach: boolean;
152
648
  superAdmin: boolean;
153
649
  };
650
+ ownerViewAsCoach?: {
651
+ ownerUser: {
652
+ id: string;
653
+ authUserId: string;
654
+ email: string;
655
+ name: string;
656
+ defaultRole: "family" | "coach" | "superAdmin";
657
+ roles: {
658
+ family: boolean;
659
+ coach: boolean;
660
+ superAdmin: boolean;
661
+ };
662
+ createdAt: string;
663
+ profileAssetId?: string | null | undefined;
664
+ relationship?: "mother" | "father" | "grandfather" | "grandmother" | "uncle" | "aunt" | "guardian" | "other" | null | undefined;
665
+ timeZone?: string | null | undefined;
666
+ communicationPreferences?: {
667
+ hintsTips: boolean;
668
+ appUpdatesNewFeatures: boolean;
669
+ promotionsOffers: boolean;
670
+ } | undefined;
671
+ communicationPreferencesUpdatedAt?: string | null | undefined;
672
+ };
673
+ coachUser: {
674
+ id: string;
675
+ authUserId: string;
676
+ email: string;
677
+ name: string;
678
+ defaultRole: "family" | "coach" | "superAdmin";
679
+ roles: {
680
+ family: boolean;
681
+ coach: boolean;
682
+ superAdmin: boolean;
683
+ };
684
+ createdAt: string;
685
+ profileAssetId?: string | null | undefined;
686
+ relationship?: "mother" | "father" | "grandfather" | "grandmother" | "uncle" | "aunt" | "guardian" | "other" | null | undefined;
687
+ timeZone?: string | null | undefined;
688
+ communicationPreferences?: {
689
+ hintsTips: boolean;
690
+ appUpdatesNewFeatures: boolean;
691
+ promotionsOffers: boolean;
692
+ } | undefined;
693
+ communicationPreferencesUpdatedAt?: string | null | undefined;
694
+ };
695
+ startedAt: string;
696
+ expiresAt: string;
697
+ readOnly: boolean;
698
+ } | undefined;
154
699
  }>;
155
700
  }, "strip", z.ZodTypeAny, {
156
701
  session: {
@@ -171,12 +716,71 @@ export declare const onboardingResponseSchema: z.ZodObject<{
171
716
  coach: boolean;
172
717
  superAdmin: boolean;
173
718
  };
719
+ createdAt: string;
720
+ profileAssetId?: string | null | undefined;
721
+ relationship?: "mother" | "father" | "grandfather" | "grandmother" | "uncle" | "aunt" | "guardian" | "other" | null | undefined;
722
+ timeZone?: string | null | undefined;
723
+ communicationPreferences?: {
724
+ hintsTips: boolean;
725
+ appUpdatesNewFeatures: boolean;
726
+ promotionsOffers: boolean;
727
+ } | undefined;
728
+ communicationPreferencesUpdatedAt?: string | null | undefined;
174
729
  };
175
730
  actorRoles: {
176
731
  family: boolean;
177
732
  coach: boolean;
178
733
  superAdmin: boolean;
179
734
  };
735
+ ownerViewAsCoach?: {
736
+ ownerUser: {
737
+ id: string;
738
+ authUserId: string;
739
+ email: string;
740
+ name: string;
741
+ defaultRole: "family" | "coach" | "superAdmin";
742
+ roles: {
743
+ family: boolean;
744
+ coach: boolean;
745
+ superAdmin: boolean;
746
+ };
747
+ createdAt: string;
748
+ profileAssetId?: string | null | undefined;
749
+ relationship?: "mother" | "father" | "grandfather" | "grandmother" | "uncle" | "aunt" | "guardian" | "other" | null | undefined;
750
+ timeZone?: string | null | undefined;
751
+ communicationPreferences?: {
752
+ hintsTips: boolean;
753
+ appUpdatesNewFeatures: boolean;
754
+ promotionsOffers: boolean;
755
+ } | undefined;
756
+ communicationPreferencesUpdatedAt?: string | null | undefined;
757
+ };
758
+ coachUser: {
759
+ id: string;
760
+ authUserId: string;
761
+ email: string;
762
+ name: string;
763
+ defaultRole: "family" | "coach" | "superAdmin";
764
+ roles: {
765
+ family: boolean;
766
+ coach: boolean;
767
+ superAdmin: boolean;
768
+ };
769
+ createdAt: string;
770
+ profileAssetId?: string | null | undefined;
771
+ relationship?: "mother" | "father" | "grandfather" | "grandmother" | "uncle" | "aunt" | "guardian" | "other" | null | undefined;
772
+ timeZone?: string | null | undefined;
773
+ communicationPreferences?: {
774
+ hintsTips: boolean;
775
+ appUpdatesNewFeatures: boolean;
776
+ promotionsOffers: boolean;
777
+ } | undefined;
778
+ communicationPreferencesUpdatedAt?: string | null | undefined;
779
+ };
780
+ startedAt: string;
781
+ expiresAt: string;
782
+ readOnly: boolean;
783
+ } | undefined;
180
784
  };
181
785
  }, {
182
786
  session: {
@@ -197,16 +801,96 @@ export declare const onboardingResponseSchema: z.ZodObject<{
197
801
  coach: boolean;
198
802
  superAdmin: boolean;
199
803
  };
804
+ createdAt: string;
805
+ profileAssetId?: string | null | undefined;
806
+ relationship?: "mother" | "father" | "grandfather" | "grandmother" | "uncle" | "aunt" | "guardian" | "other" | null | undefined;
807
+ timeZone?: string | null | undefined;
808
+ communicationPreferences?: {
809
+ hintsTips: boolean;
810
+ appUpdatesNewFeatures: boolean;
811
+ promotionsOffers: boolean;
812
+ } | undefined;
813
+ communicationPreferencesUpdatedAt?: string | null | undefined;
200
814
  };
201
815
  actorRoles: {
202
816
  family: boolean;
203
817
  coach: boolean;
204
818
  superAdmin: boolean;
205
819
  };
820
+ ownerViewAsCoach?: {
821
+ ownerUser: {
822
+ id: string;
823
+ authUserId: string;
824
+ email: string;
825
+ name: string;
826
+ defaultRole: "family" | "coach" | "superAdmin";
827
+ roles: {
828
+ family: boolean;
829
+ coach: boolean;
830
+ superAdmin: boolean;
831
+ };
832
+ createdAt: string;
833
+ profileAssetId?: string | null | undefined;
834
+ relationship?: "mother" | "father" | "grandfather" | "grandmother" | "uncle" | "aunt" | "guardian" | "other" | null | undefined;
835
+ timeZone?: string | null | undefined;
836
+ communicationPreferences?: {
837
+ hintsTips: boolean;
838
+ appUpdatesNewFeatures: boolean;
839
+ promotionsOffers: boolean;
840
+ } | undefined;
841
+ communicationPreferencesUpdatedAt?: string | null | undefined;
842
+ };
843
+ coachUser: {
844
+ id: string;
845
+ authUserId: string;
846
+ email: string;
847
+ name: string;
848
+ defaultRole: "family" | "coach" | "superAdmin";
849
+ roles: {
850
+ family: boolean;
851
+ coach: boolean;
852
+ superAdmin: boolean;
853
+ };
854
+ createdAt: string;
855
+ profileAssetId?: string | null | undefined;
856
+ relationship?: "mother" | "father" | "grandfather" | "grandmother" | "uncle" | "aunt" | "guardian" | "other" | null | undefined;
857
+ timeZone?: string | null | undefined;
858
+ communicationPreferences?: {
859
+ hintsTips: boolean;
860
+ appUpdatesNewFeatures: boolean;
861
+ promotionsOffers: boolean;
862
+ } | undefined;
863
+ communicationPreferencesUpdatedAt?: string | null | undefined;
864
+ };
865
+ startedAt: string;
866
+ expiresAt: string;
867
+ readOnly: boolean;
868
+ } | undefined;
206
869
  };
207
870
  }>;
871
+ export declare const deleteAccountResponseSchema: z.ZodObject<{
872
+ deletedUserId: z.ZodString;
873
+ deletedAuthUserId: z.ZodString;
874
+ deletedAuthUserIds: z.ZodArray<z.ZodString, "many">;
875
+ }, "strip", z.ZodTypeAny, {
876
+ deletedUserId: string;
877
+ deletedAuthUserId: string;
878
+ deletedAuthUserIds: string[];
879
+ }, {
880
+ deletedUserId: string;
881
+ deletedAuthUserId: string;
882
+ deletedAuthUserIds: string[];
883
+ }>;
208
884
  export { authMeResponseSchema };
209
885
  export type OnboardFamilyRequest = z.infer<typeof onboardFamilyRequestSchema>;
210
886
  export type OnboardCoachRequest = z.infer<typeof onboardCoachRequestSchema>;
211
887
  export type UpdateProfileRequest = z.infer<typeof updateProfileRequestSchema>;
888
+ export type DeleteAccountRequest = z.infer<typeof deleteAccountRequestSchema>;
889
+ export type LegacyPasswordUpgradeRequest = z.infer<typeof legacyPasswordUpgradeRequestSchema>;
890
+ export type LegacyPasswordUpgradeResponse = z.infer<typeof legacyPasswordUpgradeResponseSchema>;
891
+ export type LoginSupportRequest = z.infer<typeof loginSupportRequestSchema>;
892
+ export type LoginSupportResponse = z.infer<typeof loginSupportResponseSchema>;
893
+ export type PasswordResetRequest = z.infer<typeof passwordResetRequestSchema>;
894
+ export type PasswordResetResponse = z.infer<typeof passwordResetResponseSchema>;
212
895
  export type OnboardingResponse = z.infer<typeof onboardingResponseSchema>;
896
+ export type DeleteAccountResponse = z.infer<typeof deleteAccountResponseSchema>;