@nikthegeek/dreamsforlittles-shared 0.9.0 → 0.13.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 (96) hide show
  1. package/dist/access.d.ts +1887 -335
  2. package/dist/access.js +18 -4
  3. package/dist/access.js.map +1 -1
  4. package/dist/admin.d.ts +6231 -1621
  5. package/dist/admin.js +74 -0
  6. package/dist/admin.js.map +1 -1
  7. package/dist/allergen-tracking.d.ts +224 -0
  8. package/dist/allergen-tracking.js +62 -0
  9. package/dist/allergen-tracking.js.map +1 -0
  10. package/dist/allergen-tracking.test.d.ts +1 -0
  11. package/dist/allergen-tracking.test.js +36 -0
  12. package/dist/allergen-tracking.test.js.map +1 -0
  13. package/dist/allergy-ladders.d.ts +104 -46
  14. package/dist/allergy-ladders.js +10 -70
  15. package/dist/allergy-ladders.js.map +1 -1
  16. package/dist/analysis.d.ts +159 -2
  17. package/dist/api.d.ts +5 -5
  18. package/dist/billing.d.ts +144 -0
  19. package/dist/billing.js +89 -0
  20. package/dist/billing.js.map +1 -1
  21. package/dist/booking-forms.d.ts +1057 -0
  22. package/dist/booking-forms.js +206 -0
  23. package/dist/booking-forms.js.map +1 -0
  24. package/dist/booking-system.d.ts +7934 -0
  25. package/dist/booking-system.js +556 -0
  26. package/dist/booking-system.js.map +1 -0
  27. package/dist/booking-system.test.d.ts +1 -0
  28. package/dist/booking-system.test.js +510 -0
  29. package/dist/booking-system.test.js.map +1 -0
  30. package/dist/branding.d.ts +109 -0
  31. package/dist/branding.js +294 -102
  32. package/dist/branding.js.map +1 -1
  33. package/dist/branding.test.js +145 -31
  34. package/dist/branding.test.js.map +1 -1
  35. package/dist/calendar-connections.d.ts +265 -0
  36. package/dist/calendar-connections.js +97 -0
  37. package/dist/calendar-connections.js.map +1 -0
  38. package/dist/calendar-connections.test.d.ts +1 -0
  39. package/dist/calendar-connections.test.js +65 -0
  40. package/dist/calendar-connections.test.js.map +1 -0
  41. package/dist/client-notices.d.ts +79 -79
  42. package/dist/coach-activity-notifications.d.ts +20 -20
  43. package/dist/coach-activity-notifications.js +4 -1
  44. package/dist/coach-activity-notifications.js.map +1 -1
  45. package/dist/coach-activity-notifications.test.js +17 -0
  46. package/dist/coach-activity-notifications.test.js.map +1 -1
  47. package/dist/coach-engagement.d.ts +613 -0
  48. package/dist/coach-engagement.js +123 -0
  49. package/dist/coach-engagement.js.map +1 -0
  50. package/dist/coach-family-chat.d.ts +111 -84
  51. package/dist/coach-family-chat.js +14 -0
  52. package/dist/coach-family-chat.js.map +1 -1
  53. package/dist/coach-family-chat.test.js +27 -1
  54. package/dist/coach-family-chat.test.js.map +1 -1
  55. package/dist/coach-growth.d.ts +20 -20
  56. package/dist/coach.d.ts +3496 -256
  57. package/dist/coach.js +110 -7
  58. package/dist/coach.js.map +1 -1
  59. package/dist/enums.d.ts +1 -1
  60. package/dist/enums.js +7 -1
  61. package/dist/enums.js.map +1 -1
  62. package/dist/errors.d.ts +11 -4
  63. package/dist/errors.js +21 -0
  64. package/dist/errors.js.map +1 -1
  65. package/dist/family-growth.d.ts +24 -24
  66. package/dist/family-invitations.d.ts +134 -0
  67. package/dist/family-profile-artifacts.d.ts +448 -188
  68. package/dist/family-profile-artifacts.js +5 -1
  69. package/dist/family-profile-artifacts.js.map +1 -1
  70. package/dist/family.d.ts +3954 -121
  71. package/dist/family.js +215 -20
  72. package/dist/family.js.map +1 -1
  73. package/dist/family.test.js +180 -2
  74. package/dist/family.test.js.map +1 -1
  75. package/dist/files.d.ts +6 -6
  76. package/dist/index.d.ts +7 -0
  77. package/dist/index.js +7 -0
  78. package/dist/index.js.map +1 -1
  79. package/dist/invites.d.ts +33 -4
  80. package/dist/lead-management.d.ts +1222 -0
  81. package/dist/lead-management.js +210 -0
  82. package/dist/lead-management.js.map +1 -0
  83. package/dist/lead-management.test.d.ts +1 -0
  84. package/dist/lead-management.test.js +68 -0
  85. package/dist/lead-management.test.js.map +1 -0
  86. package/dist/notification-banners.d.ts +12 -12
  87. package/dist/product-analytics.d.ts +202 -202
  88. package/dist/product-analytics.js +31 -1
  89. package/dist/product-analytics.js.map +1 -1
  90. package/dist/push-devices.d.ts +6 -6
  91. package/dist/subscription-cancellation-feedback.d.ts +12 -12
  92. package/dist/support-tickets.d.ts +12 -12
  93. package/dist/zoom-meetings.d.ts +62 -0
  94. package/dist/zoom-meetings.js +24 -0
  95. package/dist/zoom-meetings.js.map +1 -0
  96. package/package.json +1 -1
@@ -23,7 +23,7 @@ export declare const allergyLadderStageReminderSchema: z.ZodObject<{
23
23
  createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
24
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
25
  }, "strict", z.ZodTypeAny, {
26
- status: "completed" | "scheduled" | "cancelled";
26
+ status: "scheduled" | "completed" | "cancelled";
27
27
  reminderId: string;
28
28
  scheduledAt: string;
29
29
  createdAt?: string | null | undefined;
@@ -34,7 +34,7 @@ export declare const allergyLadderStageReminderSchema: z.ZodObject<{
34
34
  triggeredAt?: string | null | undefined;
35
35
  cancelledAt?: string | null | undefined;
36
36
  }, {
37
- status: "completed" | "scheduled" | "cancelled";
37
+ status: "scheduled" | "completed" | "cancelled";
38
38
  reminderId: string;
39
39
  scheduledAt: string;
40
40
  createdAt?: string | null | undefined;
@@ -78,7 +78,7 @@ export declare const allergyLadderStageSchema: z.ZodObject<{
78
78
  createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
79
79
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
80
80
  }, "strict", z.ZodTypeAny, {
81
- status: "completed" | "scheduled" | "cancelled";
81
+ status: "scheduled" | "completed" | "cancelled";
82
82
  reminderId: string;
83
83
  scheduledAt: string;
84
84
  createdAt?: string | null | undefined;
@@ -89,7 +89,7 @@ export declare const allergyLadderStageSchema: z.ZodObject<{
89
89
  triggeredAt?: string | null | undefined;
90
90
  cancelledAt?: string | null | undefined;
91
91
  }, {
92
- status: "completed" | "scheduled" | "cancelled";
92
+ status: "scheduled" | "completed" | "cancelled";
93
93
  reminderId: string;
94
94
  scheduledAt: string;
95
95
  createdAt?: string | null | undefined;
@@ -117,7 +117,7 @@ export declare const allergyLadderStageSchema: z.ZodObject<{
117
117
  lastUpdatedAt?: string | null | undefined;
118
118
  reactionSummary?: string | null | undefined;
119
119
  reminders?: {
120
- status: "completed" | "scheduled" | "cancelled";
120
+ status: "scheduled" | "completed" | "cancelled";
121
121
  reminderId: string;
122
122
  scheduledAt: string;
123
123
  createdAt?: string | null | undefined;
@@ -145,7 +145,7 @@ export declare const allergyLadderStageSchema: z.ZodObject<{
145
145
  lastUpdatedAt?: string | null | undefined;
146
146
  reactionSummary?: string | null | undefined;
147
147
  reminders?: {
148
- status: "completed" | "scheduled" | "cancelled";
148
+ status: "scheduled" | "completed" | "cancelled";
149
149
  reminderId: string;
150
150
  scheduledAt: string;
151
151
  createdAt?: string | null | undefined;
@@ -167,6 +167,10 @@ export declare const allergyLadderSchema: z.ZodObject<{
167
167
  icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
168
168
  isArchived: z.ZodBoolean;
169
169
  activeStageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
170
+ allergenId: z.ZodOptional<z.ZodNullable<z.ZodEnum<["milk" | "egg" | "soya" | "peanut" | "almond" | "brazil_nut" | "cashew" | "hazelnut" | "macadamia" | "pecan" | "pistachio" | "walnut" | "wheat" | "barley" | "rye" | "oats" | "sesame" | "fish" | "crustacean" | "mollusc" | "celery" | "mustard" | "lupin" | "sulphites" | "other_food", ...("milk" | "egg" | "soya" | "peanut" | "almond" | "brazil_nut" | "cashew" | "hazelnut" | "macadamia" | "pecan" | "pistachio" | "walnut" | "wheat" | "barley" | "rye" | "oats" | "sesame" | "fish" | "crustacean" | "mollusc" | "celery" | "mustard" | "lupin" | "sulphites" | "other_food")[]]>>>;
171
+ templateKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
172
+ templateVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
173
+ clinicalContentVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
170
174
  stages: z.ZodArray<z.ZodObject<{
171
175
  stageId: z.ZodString;
172
176
  order: z.ZodNumber;
@@ -200,7 +204,7 @@ export declare const allergyLadderSchema: z.ZodObject<{
200
204
  createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
201
205
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
202
206
  }, "strict", z.ZodTypeAny, {
203
- status: "completed" | "scheduled" | "cancelled";
207
+ status: "scheduled" | "completed" | "cancelled";
204
208
  reminderId: string;
205
209
  scheduledAt: string;
206
210
  createdAt?: string | null | undefined;
@@ -211,7 +215,7 @@ export declare const allergyLadderSchema: z.ZodObject<{
211
215
  triggeredAt?: string | null | undefined;
212
216
  cancelledAt?: string | null | undefined;
213
217
  }, {
214
- status: "completed" | "scheduled" | "cancelled";
218
+ status: "scheduled" | "completed" | "cancelled";
215
219
  reminderId: string;
216
220
  scheduledAt: string;
217
221
  createdAt?: string | null | undefined;
@@ -239,7 +243,7 @@ export declare const allergyLadderSchema: z.ZodObject<{
239
243
  lastUpdatedAt?: string | null | undefined;
240
244
  reactionSummary?: string | null | undefined;
241
245
  reminders?: {
242
- status: "completed" | "scheduled" | "cancelled";
246
+ status: "scheduled" | "completed" | "cancelled";
243
247
  reminderId: string;
244
248
  scheduledAt: string;
245
249
  createdAt?: string | null | undefined;
@@ -267,7 +271,7 @@ export declare const allergyLadderSchema: z.ZodObject<{
267
271
  lastUpdatedAt?: string | null | undefined;
268
272
  reactionSummary?: string | null | undefined;
269
273
  reminders?: {
270
- status: "completed" | "scheduled" | "cancelled";
274
+ status: "scheduled" | "completed" | "cancelled";
271
275
  reminderId: string;
272
276
  scheduledAt: string;
273
277
  createdAt?: string | null | undefined;
@@ -289,8 +293,8 @@ export declare const allergyLadderSchema: z.ZodObject<{
289
293
  createdAt: string;
290
294
  updatedAt: string;
291
295
  familyUserId: string;
292
- title: string;
293
296
  babyId: string;
297
+ title: string;
294
298
  isArchived: boolean;
295
299
  stages: {
296
300
  status: "completed" | "upNext" | "inProgress";
@@ -308,7 +312,7 @@ export declare const allergyLadderSchema: z.ZodObject<{
308
312
  lastUpdatedAt?: string | null | undefined;
309
313
  reactionSummary?: string | null | undefined;
310
314
  reminders?: {
311
- status: "completed" | "scheduled" | "cancelled";
315
+ status: "scheduled" | "completed" | "cancelled";
312
316
  reminderId: string;
313
317
  scheduledAt: string;
314
318
  createdAt?: string | null | undefined;
@@ -322,17 +326,21 @@ export declare const allergyLadderSchema: z.ZodObject<{
322
326
  activeReminderCount?: number | undefined;
323
327
  }[];
324
328
  notes?: string | null | undefined;
329
+ allergenId?: "milk" | "egg" | "soya" | "peanut" | "almond" | "brazil_nut" | "cashew" | "hazelnut" | "macadamia" | "pecan" | "pistachio" | "walnut" | "wheat" | "barley" | "rye" | "oats" | "sesame" | "fish" | "crustacean" | "mollusc" | "celery" | "mustard" | "lupin" | "sulphites" | "other_food" | null | undefined;
325
330
  description?: string | null | undefined;
326
331
  icon?: string | null | undefined;
327
332
  activeReminderCount?: number | undefined;
328
333
  activeStageId?: string | null | undefined;
334
+ templateKey?: string | null | undefined;
335
+ templateVersion?: string | null | undefined;
336
+ clinicalContentVersion?: string | null | undefined;
329
337
  }, {
330
338
  id: string;
331
339
  createdAt: string;
332
340
  updatedAt: string;
333
341
  familyUserId: string;
334
- title: string;
335
342
  babyId: string;
343
+ title: string;
336
344
  isArchived: boolean;
337
345
  stages: {
338
346
  status: "completed" | "upNext" | "inProgress";
@@ -350,7 +358,7 @@ export declare const allergyLadderSchema: z.ZodObject<{
350
358
  lastUpdatedAt?: string | null | undefined;
351
359
  reactionSummary?: string | null | undefined;
352
360
  reminders?: {
353
- status: "completed" | "scheduled" | "cancelled";
361
+ status: "scheduled" | "completed" | "cancelled";
354
362
  reminderId: string;
355
363
  scheduledAt: string;
356
364
  createdAt?: string | null | undefined;
@@ -364,10 +372,14 @@ export declare const allergyLadderSchema: z.ZodObject<{
364
372
  activeReminderCount?: number | undefined;
365
373
  }[];
366
374
  notes?: string | null | undefined;
375
+ allergenId?: "milk" | "egg" | "soya" | "peanut" | "almond" | "brazil_nut" | "cashew" | "hazelnut" | "macadamia" | "pecan" | "pistachio" | "walnut" | "wheat" | "barley" | "rye" | "oats" | "sesame" | "fish" | "crustacean" | "mollusc" | "celery" | "mustard" | "lupin" | "sulphites" | "other_food" | null | undefined;
367
376
  description?: string | null | undefined;
368
377
  icon?: string | null | undefined;
369
378
  activeReminderCount?: number | undefined;
370
379
  activeStageId?: string | null | undefined;
380
+ templateKey?: string | null | undefined;
381
+ templateVersion?: string | null | undefined;
382
+ clinicalContentVersion?: string | null | undefined;
371
383
  }>;
372
384
  export declare const allergyLadderStageWriteSchema: z.ZodObject<{
373
385
  stageId: z.ZodOptional<z.ZodString>;
@@ -408,6 +420,7 @@ export declare const allergyLadderWriteRequestSchema: z.ZodObject<{
408
420
  icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
409
421
  notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
410
422
  isArchived: z.ZodOptional<z.ZodBoolean>;
423
+ allergenId: z.ZodOptional<z.ZodNullable<z.ZodEnum<["milk" | "egg" | "soya" | "peanut" | "almond" | "brazil_nut" | "cashew" | "hazelnut" | "macadamia" | "pecan" | "pistachio" | "walnut" | "wheat" | "barley" | "rye" | "oats" | "sesame" | "fish" | "crustacean" | "mollusc" | "celery" | "mustard" | "lupin" | "sulphites" | "other_food", ...("milk" | "egg" | "soya" | "peanut" | "almond" | "brazil_nut" | "cashew" | "hazelnut" | "macadamia" | "pecan" | "pistachio" | "walnut" | "wheat" | "barley" | "rye" | "oats" | "sesame" | "fish" | "crustacean" | "mollusc" | "celery" | "mustard" | "lupin" | "sulphites" | "other_food")[]]>>>;
411
424
  stages: z.ZodOptional<z.ZodArray<z.ZodObject<{
412
425
  stageId: z.ZodOptional<z.ZodString>;
413
426
  title: z.ZodString;
@@ -442,10 +455,11 @@ export declare const allergyLadderWriteRequestSchema: z.ZodObject<{
442
455
  }, "strict", z.ZodTypeAny, {
443
456
  familyUserId?: string | undefined;
444
457
  notes?: string | null | undefined;
458
+ babyId?: string | undefined;
459
+ allergenId?: "milk" | "egg" | "soya" | "peanut" | "almond" | "brazil_nut" | "cashew" | "hazelnut" | "macadamia" | "pecan" | "pistachio" | "walnut" | "wheat" | "barley" | "rye" | "oats" | "sesame" | "fish" | "crustacean" | "mollusc" | "celery" | "mustard" | "lupin" | "sulphites" | "other_food" | null | undefined;
445
460
  title?: string | undefined;
446
461
  description?: string | null | undefined;
447
462
  icon?: string | null | undefined;
448
- babyId?: string | undefined;
449
463
  isArchived?: boolean | undefined;
450
464
  stages?: {
451
465
  title: string;
@@ -459,10 +473,11 @@ export declare const allergyLadderWriteRequestSchema: z.ZodObject<{
459
473
  }, {
460
474
  familyUserId?: string | undefined;
461
475
  notes?: string | null | undefined;
476
+ babyId?: string | undefined;
477
+ allergenId?: "milk" | "egg" | "soya" | "peanut" | "almond" | "brazil_nut" | "cashew" | "hazelnut" | "macadamia" | "pecan" | "pistachio" | "walnut" | "wheat" | "barley" | "rye" | "oats" | "sesame" | "fish" | "crustacean" | "mollusc" | "celery" | "mustard" | "lupin" | "sulphites" | "other_food" | null | undefined;
462
478
  title?: string | undefined;
463
479
  description?: string | null | undefined;
464
480
  icon?: string | null | undefined;
465
- babyId?: string | undefined;
466
481
  isArchived?: boolean | undefined;
467
482
  stages?: {
468
483
  title: string;
@@ -480,6 +495,7 @@ export declare const allergyLadderCreateRequestSchema: z.ZodObject<{
480
495
  icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
481
496
  notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
482
497
  isArchived: z.ZodOptional<z.ZodBoolean>;
498
+ allergenId: z.ZodOptional<z.ZodNullable<z.ZodEnum<["milk" | "egg" | "soya" | "peanut" | "almond" | "brazil_nut" | "cashew" | "hazelnut" | "macadamia" | "pecan" | "pistachio" | "walnut" | "wheat" | "barley" | "rye" | "oats" | "sesame" | "fish" | "crustacean" | "mollusc" | "celery" | "mustard" | "lupin" | "sulphites" | "other_food", ...("milk" | "egg" | "soya" | "peanut" | "almond" | "brazil_nut" | "cashew" | "hazelnut" | "macadamia" | "pecan" | "pistachio" | "walnut" | "wheat" | "barley" | "rye" | "oats" | "sesame" | "fish" | "crustacean" | "mollusc" | "celery" | "mustard" | "lupin" | "sulphites" | "other_food")[]]>>>;
483
499
  } & {
484
500
  babyId: z.ZodString;
485
501
  title: z.ZodString;
@@ -515,8 +531,8 @@ export declare const allergyLadderCreateRequestSchema: z.ZodObject<{
515
531
  } | null | undefined;
516
532
  }>, "many">;
517
533
  }, "strict", z.ZodTypeAny, {
518
- title: string;
519
534
  babyId: string;
535
+ title: string;
520
536
  stages: {
521
537
  title: string;
522
538
  stageId?: string | undefined;
@@ -528,12 +544,13 @@ export declare const allergyLadderCreateRequestSchema: z.ZodObject<{
528
544
  }[];
529
545
  familyUserId?: string | undefined;
530
546
  notes?: string | null | undefined;
547
+ allergenId?: "milk" | "egg" | "soya" | "peanut" | "almond" | "brazil_nut" | "cashew" | "hazelnut" | "macadamia" | "pecan" | "pistachio" | "walnut" | "wheat" | "barley" | "rye" | "oats" | "sesame" | "fish" | "crustacean" | "mollusc" | "celery" | "mustard" | "lupin" | "sulphites" | "other_food" | null | undefined;
531
548
  description?: string | null | undefined;
532
549
  icon?: string | null | undefined;
533
550
  isArchived?: boolean | undefined;
534
551
  }, {
535
- title: string;
536
552
  babyId: string;
553
+ title: string;
537
554
  stages: {
538
555
  title: string;
539
556
  stageId?: string | undefined;
@@ -545,6 +562,7 @@ export declare const allergyLadderCreateRequestSchema: z.ZodObject<{
545
562
  }[];
546
563
  familyUserId?: string | undefined;
547
564
  notes?: string | null | undefined;
565
+ allergenId?: "milk" | "egg" | "soya" | "peanut" | "almond" | "brazil_nut" | "cashew" | "hazelnut" | "macadamia" | "pecan" | "pistachio" | "walnut" | "wheat" | "barley" | "rye" | "oats" | "sesame" | "fish" | "crustacean" | "mollusc" | "celery" | "mustard" | "lupin" | "sulphites" | "other_food" | null | undefined;
548
566
  description?: string | null | undefined;
549
567
  icon?: string | null | undefined;
550
568
  isArchived?: boolean | undefined;
@@ -587,7 +605,7 @@ export declare const allergyLadderStageReminderWriteRequestSchema: z.ZodObject<{
587
605
  triggeredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
588
606
  cancelledAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
589
607
  }, "strict", z.ZodTypeAny, {
590
- status?: "completed" | "scheduled" | "cancelled" | undefined;
608
+ status?: "scheduled" | "completed" | "cancelled" | undefined;
591
609
  note?: string | null | undefined;
592
610
  reminderId?: string | undefined;
593
611
  scheduledAt?: string | undefined;
@@ -596,7 +614,7 @@ export declare const allergyLadderStageReminderWriteRequestSchema: z.ZodObject<{
596
614
  triggeredAt?: string | null | undefined;
597
615
  cancelledAt?: string | null | undefined;
598
616
  }, {
599
- status?: "completed" | "scheduled" | "cancelled" | undefined;
617
+ status?: "scheduled" | "completed" | "cancelled" | undefined;
600
618
  note?: string | null | undefined;
601
619
  reminderId?: string | undefined;
602
620
  scheduledAt?: string | undefined;
@@ -617,7 +635,7 @@ export declare const allergyLadderStageReminderCreateRequestSchema: z.ZodObject<
617
635
  scheduledAt: z.ZodString;
618
636
  }, "strict", z.ZodTypeAny, {
619
637
  scheduledAt: string;
620
- status?: "completed" | "scheduled" | "cancelled" | undefined;
638
+ status?: "scheduled" | "completed" | "cancelled" | undefined;
621
639
  note?: string | null | undefined;
622
640
  reminderId?: string | undefined;
623
641
  timezoneOffsetMinutes?: number | null | undefined;
@@ -626,7 +644,7 @@ export declare const allergyLadderStageReminderCreateRequestSchema: z.ZodObject<
626
644
  cancelledAt?: string | null | undefined;
627
645
  }, {
628
646
  scheduledAt: string;
629
- status?: "completed" | "scheduled" | "cancelled" | undefined;
647
+ status?: "scheduled" | "completed" | "cancelled" | undefined;
630
648
  note?: string | null | undefined;
631
649
  reminderId?: string | undefined;
632
650
  timezoneOffsetMinutes?: number | null | undefined;
@@ -657,6 +675,10 @@ export declare const allergyLaddersResponseSchema: z.ZodObject<{
657
675
  icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
658
676
  isArchived: z.ZodBoolean;
659
677
  activeStageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
678
+ allergenId: z.ZodOptional<z.ZodNullable<z.ZodEnum<["milk" | "egg" | "soya" | "peanut" | "almond" | "brazil_nut" | "cashew" | "hazelnut" | "macadamia" | "pecan" | "pistachio" | "walnut" | "wheat" | "barley" | "rye" | "oats" | "sesame" | "fish" | "crustacean" | "mollusc" | "celery" | "mustard" | "lupin" | "sulphites" | "other_food", ...("milk" | "egg" | "soya" | "peanut" | "almond" | "brazil_nut" | "cashew" | "hazelnut" | "macadamia" | "pecan" | "pistachio" | "walnut" | "wheat" | "barley" | "rye" | "oats" | "sesame" | "fish" | "crustacean" | "mollusc" | "celery" | "mustard" | "lupin" | "sulphites" | "other_food")[]]>>>;
679
+ templateKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
680
+ templateVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
681
+ clinicalContentVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
660
682
  stages: z.ZodArray<z.ZodObject<{
661
683
  stageId: z.ZodString;
662
684
  order: z.ZodNumber;
@@ -690,7 +712,7 @@ export declare const allergyLaddersResponseSchema: z.ZodObject<{
690
712
  createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
691
713
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
692
714
  }, "strict", z.ZodTypeAny, {
693
- status: "completed" | "scheduled" | "cancelled";
715
+ status: "scheduled" | "completed" | "cancelled";
694
716
  reminderId: string;
695
717
  scheduledAt: string;
696
718
  createdAt?: string | null | undefined;
@@ -701,7 +723,7 @@ export declare const allergyLaddersResponseSchema: z.ZodObject<{
701
723
  triggeredAt?: string | null | undefined;
702
724
  cancelledAt?: string | null | undefined;
703
725
  }, {
704
- status: "completed" | "scheduled" | "cancelled";
726
+ status: "scheduled" | "completed" | "cancelled";
705
727
  reminderId: string;
706
728
  scheduledAt: string;
707
729
  createdAt?: string | null | undefined;
@@ -729,7 +751,7 @@ export declare const allergyLaddersResponseSchema: z.ZodObject<{
729
751
  lastUpdatedAt?: string | null | undefined;
730
752
  reactionSummary?: string | null | undefined;
731
753
  reminders?: {
732
- status: "completed" | "scheduled" | "cancelled";
754
+ status: "scheduled" | "completed" | "cancelled";
733
755
  reminderId: string;
734
756
  scheduledAt: string;
735
757
  createdAt?: string | null | undefined;
@@ -757,7 +779,7 @@ export declare const allergyLaddersResponseSchema: z.ZodObject<{
757
779
  lastUpdatedAt?: string | null | undefined;
758
780
  reactionSummary?: string | null | undefined;
759
781
  reminders?: {
760
- status: "completed" | "scheduled" | "cancelled";
782
+ status: "scheduled" | "completed" | "cancelled";
761
783
  reminderId: string;
762
784
  scheduledAt: string;
763
785
  createdAt?: string | null | undefined;
@@ -779,8 +801,8 @@ export declare const allergyLaddersResponseSchema: z.ZodObject<{
779
801
  createdAt: string;
780
802
  updatedAt: string;
781
803
  familyUserId: string;
782
- title: string;
783
804
  babyId: string;
805
+ title: string;
784
806
  isArchived: boolean;
785
807
  stages: {
786
808
  status: "completed" | "upNext" | "inProgress";
@@ -798,7 +820,7 @@ export declare const allergyLaddersResponseSchema: z.ZodObject<{
798
820
  lastUpdatedAt?: string | null | undefined;
799
821
  reactionSummary?: string | null | undefined;
800
822
  reminders?: {
801
- status: "completed" | "scheduled" | "cancelled";
823
+ status: "scheduled" | "completed" | "cancelled";
802
824
  reminderId: string;
803
825
  scheduledAt: string;
804
826
  createdAt?: string | null | undefined;
@@ -812,17 +834,21 @@ export declare const allergyLaddersResponseSchema: z.ZodObject<{
812
834
  activeReminderCount?: number | undefined;
813
835
  }[];
814
836
  notes?: string | null | undefined;
837
+ allergenId?: "milk" | "egg" | "soya" | "peanut" | "almond" | "brazil_nut" | "cashew" | "hazelnut" | "macadamia" | "pecan" | "pistachio" | "walnut" | "wheat" | "barley" | "rye" | "oats" | "sesame" | "fish" | "crustacean" | "mollusc" | "celery" | "mustard" | "lupin" | "sulphites" | "other_food" | null | undefined;
815
838
  description?: string | null | undefined;
816
839
  icon?: string | null | undefined;
817
840
  activeReminderCount?: number | undefined;
818
841
  activeStageId?: string | null | undefined;
842
+ templateKey?: string | null | undefined;
843
+ templateVersion?: string | null | undefined;
844
+ clinicalContentVersion?: string | null | undefined;
819
845
  }, {
820
846
  id: string;
821
847
  createdAt: string;
822
848
  updatedAt: string;
823
849
  familyUserId: string;
824
- title: string;
825
850
  babyId: string;
851
+ title: string;
826
852
  isArchived: boolean;
827
853
  stages: {
828
854
  status: "completed" | "upNext" | "inProgress";
@@ -840,7 +866,7 @@ export declare const allergyLaddersResponseSchema: z.ZodObject<{
840
866
  lastUpdatedAt?: string | null | undefined;
841
867
  reactionSummary?: string | null | undefined;
842
868
  reminders?: {
843
- status: "completed" | "scheduled" | "cancelled";
869
+ status: "scheduled" | "completed" | "cancelled";
844
870
  reminderId: string;
845
871
  scheduledAt: string;
846
872
  createdAt?: string | null | undefined;
@@ -854,10 +880,14 @@ export declare const allergyLaddersResponseSchema: z.ZodObject<{
854
880
  activeReminderCount?: number | undefined;
855
881
  }[];
856
882
  notes?: string | null | undefined;
883
+ allergenId?: "milk" | "egg" | "soya" | "peanut" | "almond" | "brazil_nut" | "cashew" | "hazelnut" | "macadamia" | "pecan" | "pistachio" | "walnut" | "wheat" | "barley" | "rye" | "oats" | "sesame" | "fish" | "crustacean" | "mollusc" | "celery" | "mustard" | "lupin" | "sulphites" | "other_food" | null | undefined;
857
884
  description?: string | null | undefined;
858
885
  icon?: string | null | undefined;
859
886
  activeReminderCount?: number | undefined;
860
887
  activeStageId?: string | null | undefined;
888
+ templateKey?: string | null | undefined;
889
+ templateVersion?: string | null | undefined;
890
+ clinicalContentVersion?: string | null | undefined;
861
891
  }>, "many">;
862
892
  }, "strip", z.ZodTypeAny, {
863
893
  ladders: {
@@ -865,8 +895,8 @@ export declare const allergyLaddersResponseSchema: z.ZodObject<{
865
895
  createdAt: string;
866
896
  updatedAt: string;
867
897
  familyUserId: string;
868
- title: string;
869
898
  babyId: string;
899
+ title: string;
870
900
  isArchived: boolean;
871
901
  stages: {
872
902
  status: "completed" | "upNext" | "inProgress";
@@ -884,7 +914,7 @@ export declare const allergyLaddersResponseSchema: z.ZodObject<{
884
914
  lastUpdatedAt?: string | null | undefined;
885
915
  reactionSummary?: string | null | undefined;
886
916
  reminders?: {
887
- status: "completed" | "scheduled" | "cancelled";
917
+ status: "scheduled" | "completed" | "cancelled";
888
918
  reminderId: string;
889
919
  scheduledAt: string;
890
920
  createdAt?: string | null | undefined;
@@ -898,10 +928,14 @@ export declare const allergyLaddersResponseSchema: z.ZodObject<{
898
928
  activeReminderCount?: number | undefined;
899
929
  }[];
900
930
  notes?: string | null | undefined;
931
+ allergenId?: "milk" | "egg" | "soya" | "peanut" | "almond" | "brazil_nut" | "cashew" | "hazelnut" | "macadamia" | "pecan" | "pistachio" | "walnut" | "wheat" | "barley" | "rye" | "oats" | "sesame" | "fish" | "crustacean" | "mollusc" | "celery" | "mustard" | "lupin" | "sulphites" | "other_food" | null | undefined;
901
932
  description?: string | null | undefined;
902
933
  icon?: string | null | undefined;
903
934
  activeReminderCount?: number | undefined;
904
935
  activeStageId?: string | null | undefined;
936
+ templateKey?: string | null | undefined;
937
+ templateVersion?: string | null | undefined;
938
+ clinicalContentVersion?: string | null | undefined;
905
939
  }[];
906
940
  }, {
907
941
  ladders: {
@@ -909,8 +943,8 @@ export declare const allergyLaddersResponseSchema: z.ZodObject<{
909
943
  createdAt: string;
910
944
  updatedAt: string;
911
945
  familyUserId: string;
912
- title: string;
913
946
  babyId: string;
947
+ title: string;
914
948
  isArchived: boolean;
915
949
  stages: {
916
950
  status: "completed" | "upNext" | "inProgress";
@@ -928,7 +962,7 @@ export declare const allergyLaddersResponseSchema: z.ZodObject<{
928
962
  lastUpdatedAt?: string | null | undefined;
929
963
  reactionSummary?: string | null | undefined;
930
964
  reminders?: {
931
- status: "completed" | "scheduled" | "cancelled";
965
+ status: "scheduled" | "completed" | "cancelled";
932
966
  reminderId: string;
933
967
  scheduledAt: string;
934
968
  createdAt?: string | null | undefined;
@@ -942,10 +976,14 @@ export declare const allergyLaddersResponseSchema: z.ZodObject<{
942
976
  activeReminderCount?: number | undefined;
943
977
  }[];
944
978
  notes?: string | null | undefined;
979
+ allergenId?: "milk" | "egg" | "soya" | "peanut" | "almond" | "brazil_nut" | "cashew" | "hazelnut" | "macadamia" | "pecan" | "pistachio" | "walnut" | "wheat" | "barley" | "rye" | "oats" | "sesame" | "fish" | "crustacean" | "mollusc" | "celery" | "mustard" | "lupin" | "sulphites" | "other_food" | null | undefined;
945
980
  description?: string | null | undefined;
946
981
  icon?: string | null | undefined;
947
982
  activeReminderCount?: number | undefined;
948
983
  activeStageId?: string | null | undefined;
984
+ templateKey?: string | null | undefined;
985
+ templateVersion?: string | null | undefined;
986
+ clinicalContentVersion?: string | null | undefined;
949
987
  }[];
950
988
  }>;
951
989
  export declare const allergyLadderResponseSchema: z.ZodObject<{
@@ -958,6 +996,10 @@ export declare const allergyLadderResponseSchema: z.ZodObject<{
958
996
  icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
959
997
  isArchived: z.ZodBoolean;
960
998
  activeStageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
999
+ allergenId: z.ZodOptional<z.ZodNullable<z.ZodEnum<["milk" | "egg" | "soya" | "peanut" | "almond" | "brazil_nut" | "cashew" | "hazelnut" | "macadamia" | "pecan" | "pistachio" | "walnut" | "wheat" | "barley" | "rye" | "oats" | "sesame" | "fish" | "crustacean" | "mollusc" | "celery" | "mustard" | "lupin" | "sulphites" | "other_food", ...("milk" | "egg" | "soya" | "peanut" | "almond" | "brazil_nut" | "cashew" | "hazelnut" | "macadamia" | "pecan" | "pistachio" | "walnut" | "wheat" | "barley" | "rye" | "oats" | "sesame" | "fish" | "crustacean" | "mollusc" | "celery" | "mustard" | "lupin" | "sulphites" | "other_food")[]]>>>;
1000
+ templateKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1001
+ templateVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1002
+ clinicalContentVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
961
1003
  stages: z.ZodArray<z.ZodObject<{
962
1004
  stageId: z.ZodString;
963
1005
  order: z.ZodNumber;
@@ -991,7 +1033,7 @@ export declare const allergyLadderResponseSchema: z.ZodObject<{
991
1033
  createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
992
1034
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
993
1035
  }, "strict", z.ZodTypeAny, {
994
- status: "completed" | "scheduled" | "cancelled";
1036
+ status: "scheduled" | "completed" | "cancelled";
995
1037
  reminderId: string;
996
1038
  scheduledAt: string;
997
1039
  createdAt?: string | null | undefined;
@@ -1002,7 +1044,7 @@ export declare const allergyLadderResponseSchema: z.ZodObject<{
1002
1044
  triggeredAt?: string | null | undefined;
1003
1045
  cancelledAt?: string | null | undefined;
1004
1046
  }, {
1005
- status: "completed" | "scheduled" | "cancelled";
1047
+ status: "scheduled" | "completed" | "cancelled";
1006
1048
  reminderId: string;
1007
1049
  scheduledAt: string;
1008
1050
  createdAt?: string | null | undefined;
@@ -1030,7 +1072,7 @@ export declare const allergyLadderResponseSchema: z.ZodObject<{
1030
1072
  lastUpdatedAt?: string | null | undefined;
1031
1073
  reactionSummary?: string | null | undefined;
1032
1074
  reminders?: {
1033
- status: "completed" | "scheduled" | "cancelled";
1075
+ status: "scheduled" | "completed" | "cancelled";
1034
1076
  reminderId: string;
1035
1077
  scheduledAt: string;
1036
1078
  createdAt?: string | null | undefined;
@@ -1058,7 +1100,7 @@ export declare const allergyLadderResponseSchema: z.ZodObject<{
1058
1100
  lastUpdatedAt?: string | null | undefined;
1059
1101
  reactionSummary?: string | null | undefined;
1060
1102
  reminders?: {
1061
- status: "completed" | "scheduled" | "cancelled";
1103
+ status: "scheduled" | "completed" | "cancelled";
1062
1104
  reminderId: string;
1063
1105
  scheduledAt: string;
1064
1106
  createdAt?: string | null | undefined;
@@ -1080,8 +1122,8 @@ export declare const allergyLadderResponseSchema: z.ZodObject<{
1080
1122
  createdAt: string;
1081
1123
  updatedAt: string;
1082
1124
  familyUserId: string;
1083
- title: string;
1084
1125
  babyId: string;
1126
+ title: string;
1085
1127
  isArchived: boolean;
1086
1128
  stages: {
1087
1129
  status: "completed" | "upNext" | "inProgress";
@@ -1099,7 +1141,7 @@ export declare const allergyLadderResponseSchema: z.ZodObject<{
1099
1141
  lastUpdatedAt?: string | null | undefined;
1100
1142
  reactionSummary?: string | null | undefined;
1101
1143
  reminders?: {
1102
- status: "completed" | "scheduled" | "cancelled";
1144
+ status: "scheduled" | "completed" | "cancelled";
1103
1145
  reminderId: string;
1104
1146
  scheduledAt: string;
1105
1147
  createdAt?: string | null | undefined;
@@ -1113,17 +1155,21 @@ export declare const allergyLadderResponseSchema: z.ZodObject<{
1113
1155
  activeReminderCount?: number | undefined;
1114
1156
  }[];
1115
1157
  notes?: string | null | undefined;
1158
+ allergenId?: "milk" | "egg" | "soya" | "peanut" | "almond" | "brazil_nut" | "cashew" | "hazelnut" | "macadamia" | "pecan" | "pistachio" | "walnut" | "wheat" | "barley" | "rye" | "oats" | "sesame" | "fish" | "crustacean" | "mollusc" | "celery" | "mustard" | "lupin" | "sulphites" | "other_food" | null | undefined;
1116
1159
  description?: string | null | undefined;
1117
1160
  icon?: string | null | undefined;
1118
1161
  activeReminderCount?: number | undefined;
1119
1162
  activeStageId?: string | null | undefined;
1163
+ templateKey?: string | null | undefined;
1164
+ templateVersion?: string | null | undefined;
1165
+ clinicalContentVersion?: string | null | undefined;
1120
1166
  }, {
1121
1167
  id: string;
1122
1168
  createdAt: string;
1123
1169
  updatedAt: string;
1124
1170
  familyUserId: string;
1125
- title: string;
1126
1171
  babyId: string;
1172
+ title: string;
1127
1173
  isArchived: boolean;
1128
1174
  stages: {
1129
1175
  status: "completed" | "upNext" | "inProgress";
@@ -1141,7 +1187,7 @@ export declare const allergyLadderResponseSchema: z.ZodObject<{
1141
1187
  lastUpdatedAt?: string | null | undefined;
1142
1188
  reactionSummary?: string | null | undefined;
1143
1189
  reminders?: {
1144
- status: "completed" | "scheduled" | "cancelled";
1190
+ status: "scheduled" | "completed" | "cancelled";
1145
1191
  reminderId: string;
1146
1192
  scheduledAt: string;
1147
1193
  createdAt?: string | null | undefined;
@@ -1155,10 +1201,14 @@ export declare const allergyLadderResponseSchema: z.ZodObject<{
1155
1201
  activeReminderCount?: number | undefined;
1156
1202
  }[];
1157
1203
  notes?: string | null | undefined;
1204
+ allergenId?: "milk" | "egg" | "soya" | "peanut" | "almond" | "brazil_nut" | "cashew" | "hazelnut" | "macadamia" | "pecan" | "pistachio" | "walnut" | "wheat" | "barley" | "rye" | "oats" | "sesame" | "fish" | "crustacean" | "mollusc" | "celery" | "mustard" | "lupin" | "sulphites" | "other_food" | null | undefined;
1158
1205
  description?: string | null | undefined;
1159
1206
  icon?: string | null | undefined;
1160
1207
  activeReminderCount?: number | undefined;
1161
1208
  activeStageId?: string | null | undefined;
1209
+ templateKey?: string | null | undefined;
1210
+ templateVersion?: string | null | undefined;
1211
+ clinicalContentVersion?: string | null | undefined;
1162
1212
  }>;
1163
1213
  }, "strip", z.ZodTypeAny, {
1164
1214
  ladder: {
@@ -1166,8 +1216,8 @@ export declare const allergyLadderResponseSchema: z.ZodObject<{
1166
1216
  createdAt: string;
1167
1217
  updatedAt: string;
1168
1218
  familyUserId: string;
1169
- title: string;
1170
1219
  babyId: string;
1220
+ title: string;
1171
1221
  isArchived: boolean;
1172
1222
  stages: {
1173
1223
  status: "completed" | "upNext" | "inProgress";
@@ -1185,7 +1235,7 @@ export declare const allergyLadderResponseSchema: z.ZodObject<{
1185
1235
  lastUpdatedAt?: string | null | undefined;
1186
1236
  reactionSummary?: string | null | undefined;
1187
1237
  reminders?: {
1188
- status: "completed" | "scheduled" | "cancelled";
1238
+ status: "scheduled" | "completed" | "cancelled";
1189
1239
  reminderId: string;
1190
1240
  scheduledAt: string;
1191
1241
  createdAt?: string | null | undefined;
@@ -1199,10 +1249,14 @@ export declare const allergyLadderResponseSchema: z.ZodObject<{
1199
1249
  activeReminderCount?: number | undefined;
1200
1250
  }[];
1201
1251
  notes?: string | null | undefined;
1252
+ allergenId?: "milk" | "egg" | "soya" | "peanut" | "almond" | "brazil_nut" | "cashew" | "hazelnut" | "macadamia" | "pecan" | "pistachio" | "walnut" | "wheat" | "barley" | "rye" | "oats" | "sesame" | "fish" | "crustacean" | "mollusc" | "celery" | "mustard" | "lupin" | "sulphites" | "other_food" | null | undefined;
1202
1253
  description?: string | null | undefined;
1203
1254
  icon?: string | null | undefined;
1204
1255
  activeReminderCount?: number | undefined;
1205
1256
  activeStageId?: string | null | undefined;
1257
+ templateKey?: string | null | undefined;
1258
+ templateVersion?: string | null | undefined;
1259
+ clinicalContentVersion?: string | null | undefined;
1206
1260
  };
1207
1261
  }, {
1208
1262
  ladder: {
@@ -1210,8 +1264,8 @@ export declare const allergyLadderResponseSchema: z.ZodObject<{
1210
1264
  createdAt: string;
1211
1265
  updatedAt: string;
1212
1266
  familyUserId: string;
1213
- title: string;
1214
1267
  babyId: string;
1268
+ title: string;
1215
1269
  isArchived: boolean;
1216
1270
  stages: {
1217
1271
  status: "completed" | "upNext" | "inProgress";
@@ -1229,7 +1283,7 @@ export declare const allergyLadderResponseSchema: z.ZodObject<{
1229
1283
  lastUpdatedAt?: string | null | undefined;
1230
1284
  reactionSummary?: string | null | undefined;
1231
1285
  reminders?: {
1232
- status: "completed" | "scheduled" | "cancelled";
1286
+ status: "scheduled" | "completed" | "cancelled";
1233
1287
  reminderId: string;
1234
1288
  scheduledAt: string;
1235
1289
  createdAt?: string | null | undefined;
@@ -1243,10 +1297,14 @@ export declare const allergyLadderResponseSchema: z.ZodObject<{
1243
1297
  activeReminderCount?: number | undefined;
1244
1298
  }[];
1245
1299
  notes?: string | null | undefined;
1300
+ allergenId?: "milk" | "egg" | "soya" | "peanut" | "almond" | "brazil_nut" | "cashew" | "hazelnut" | "macadamia" | "pecan" | "pistachio" | "walnut" | "wheat" | "barley" | "rye" | "oats" | "sesame" | "fish" | "crustacean" | "mollusc" | "celery" | "mustard" | "lupin" | "sulphites" | "other_food" | null | undefined;
1246
1301
  description?: string | null | undefined;
1247
1302
  icon?: string | null | undefined;
1248
1303
  activeReminderCount?: number | undefined;
1249
1304
  activeStageId?: string | null | undefined;
1305
+ templateKey?: string | null | undefined;
1306
+ templateVersion?: string | null | undefined;
1307
+ clinicalContentVersion?: string | null | undefined;
1250
1308
  };
1251
1309
  }>;
1252
1310
  export type AllergyLadderStageStatus = z.infer<typeof allergyLadderStageStatusSchema>;