@nikthegeek/dreamsforlittles-shared 0.7.0 → 0.9.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 (75) hide show
  1. package/dist/access.d.ts +352 -0
  2. package/dist/access.js +2 -1
  3. package/dist/access.js.map +1 -1
  4. package/dist/active-timer-reminders.d.ts +10 -0
  5. package/dist/active-timer-reminders.js +11 -0
  6. package/dist/active-timer-reminders.js.map +1 -0
  7. package/dist/admin.d.ts +1867 -0
  8. package/dist/admin.js +4 -0
  9. package/dist/admin.js.map +1 -1
  10. package/dist/analysis.d.ts +9 -9
  11. package/dist/api.d.ts +5 -5
  12. package/dist/app-feedback.d.ts +266 -0
  13. package/dist/app-feedback.js +6 -2
  14. package/dist/app-feedback.js.map +1 -1
  15. package/dist/branding.d.ts +80 -0
  16. package/dist/branding.js +234 -0
  17. package/dist/branding.js.map +1 -0
  18. package/dist/branding.test.d.ts +1 -0
  19. package/dist/branding.test.js +101 -0
  20. package/dist/branding.test.js.map +1 -0
  21. package/dist/client-notices.d.ts +133 -133
  22. package/dist/coach-activity-notifications.js +9 -1
  23. package/dist/coach-activity-notifications.js.map +1 -1
  24. package/dist/coach-activity-notifications.test.js +15 -0
  25. package/dist/coach-activity-notifications.test.js.map +1 -1
  26. package/dist/coach.d.ts +1188 -178
  27. package/dist/coach.js +36 -2
  28. package/dist/coach.js.map +1 -1
  29. package/dist/enums.d.ts +1 -1
  30. package/dist/enums.js +4 -1
  31. package/dist/enums.js.map +1 -1
  32. package/dist/errors.d.ts +8 -4
  33. package/dist/errors.js +12 -0
  34. package/dist/errors.js.map +1 -1
  35. package/dist/family-invitations.d.ts +466 -14
  36. package/dist/family-profile-artifacts.d.ts +802 -58
  37. package/dist/family.d.ts +397 -232
  38. package/dist/family.js +14 -1
  39. package/dist/family.js.map +1 -1
  40. package/dist/family.test.js +21 -1
  41. package/dist/family.test.js.map +1 -1
  42. package/dist/files.d.ts +2 -2
  43. package/dist/getting-started-guides.d.ts +6 -6
  44. package/dist/index.d.ts +5 -0
  45. package/dist/index.js +5 -0
  46. package/dist/index.js.map +1 -1
  47. package/dist/invites.d.ts +98 -0
  48. package/dist/notification-banners.d.ts +76 -14
  49. package/dist/notification-banners.js +20 -2
  50. package/dist/notification-banners.js.map +1 -1
  51. package/dist/notification-banners.test.d.ts +1 -0
  52. package/dist/notification-banners.test.js +28 -0
  53. package/dist/notification-banners.test.js.map +1 -0
  54. package/dist/subscription-cancellation-feedback.d.ts +539 -0
  55. package/dist/subscription-cancellation-feedback.js +144 -0
  56. package/dist/subscription-cancellation-feedback.js.map +1 -0
  57. package/dist/subscription-cancellation-feedback.test.d.ts +1 -0
  58. package/dist/subscription-cancellation-feedback.test.js +27 -0
  59. package/dist/subscription-cancellation-feedback.test.js.map +1 -0
  60. package/dist/support-attachments.d.ts +320 -0
  61. package/dist/support-attachments.js +108 -0
  62. package/dist/support-attachments.js.map +1 -0
  63. package/dist/support-attachments.test.d.ts +1 -0
  64. package/dist/support-attachments.test.js +35 -0
  65. package/dist/support-attachments.test.js.map +1 -0
  66. package/dist/support-mutation-reconciliation.d.ts +74 -0
  67. package/dist/support-mutation-reconciliation.js +36 -0
  68. package/dist/support-mutation-reconciliation.js.map +1 -0
  69. package/dist/support-mutation-reconciliation.test.d.ts +1 -0
  70. package/dist/support-mutation-reconciliation.test.js +43 -0
  71. package/dist/support-mutation-reconciliation.test.js.map +1 -0
  72. package/dist/support-tickets.d.ts +424 -0
  73. package/dist/support-tickets.js +9 -3
  74. package/dist/support-tickets.js.map +1 -1
  75. package/package.json +1 -1
package/dist/access.d.ts CHANGED
@@ -1931,6 +1931,44 @@ export declare const organizationBrandingSchema: z.ZodObject<{
1931
1931
  deepGreenColor?: string | null | undefined;
1932
1932
  blueColor?: string | null | undefined;
1933
1933
  }>>>;
1934
+ paletteConfig: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1935
+ version: z.ZodLiteral<1>;
1936
+ colors: z.ZodObject<{
1937
+ primary: z.ZodString;
1938
+ secondary: z.ZodString;
1939
+ highlight: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1940
+ contrast: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1941
+ }, "strict", z.ZodTypeAny, {
1942
+ primary: string;
1943
+ secondary: string;
1944
+ highlight?: string | null | undefined;
1945
+ contrast?: string | null | undefined;
1946
+ }, {
1947
+ primary: string;
1948
+ secondary: string;
1949
+ highlight?: string | null | undefined;
1950
+ contrast?: string | null | undefined;
1951
+ }>;
1952
+ schemeId: z.ZodEnum<["balanced", "primaryLed", "secondaryLed", "soft"]>;
1953
+ }, "strict", z.ZodTypeAny, {
1954
+ version: 1;
1955
+ colors: {
1956
+ primary: string;
1957
+ secondary: string;
1958
+ highlight?: string | null | undefined;
1959
+ contrast?: string | null | undefined;
1960
+ };
1961
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
1962
+ }, {
1963
+ version: 1;
1964
+ colors: {
1965
+ primary: string;
1966
+ secondary: string;
1967
+ highlight?: string | null | undefined;
1968
+ contrast?: string | null | undefined;
1969
+ };
1970
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
1971
+ }>>>;
1934
1972
  logoAssetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1935
1973
  welcomeMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1936
1974
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1952,6 +1990,16 @@ export declare const organizationBrandingSchema: z.ZodObject<{
1952
1990
  deepGreenColor?: string | null | undefined;
1953
1991
  blueColor?: string | null | undefined;
1954
1992
  } | null | undefined;
1993
+ paletteConfig?: {
1994
+ version: 1;
1995
+ colors: {
1996
+ primary: string;
1997
+ secondary: string;
1998
+ highlight?: string | null | undefined;
1999
+ contrast?: string | null | undefined;
2000
+ };
2001
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
2002
+ } | null | undefined;
1955
2003
  logoAssetId?: string | null | undefined;
1956
2004
  welcomeMessage?: string | null | undefined;
1957
2005
  updatedAt?: string | null | undefined;
@@ -1973,6 +2021,16 @@ export declare const organizationBrandingSchema: z.ZodObject<{
1973
2021
  deepGreenColor?: string | null | undefined;
1974
2022
  blueColor?: string | null | undefined;
1975
2023
  } | null | undefined;
2024
+ paletteConfig?: {
2025
+ version: 1;
2026
+ colors: {
2027
+ primary: string;
2028
+ secondary: string;
2029
+ highlight?: string | null | undefined;
2030
+ contrast?: string | null | undefined;
2031
+ };
2032
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
2033
+ } | null | undefined;
1976
2034
  logoAssetId?: string | null | undefined;
1977
2035
  welcomeMessage?: string | null | undefined;
1978
2036
  updatedAt?: string | null | undefined;
@@ -2026,6 +2084,44 @@ export declare const organizationSummarySchema: z.ZodObject<{
2026
2084
  deepGreenColor?: string | null | undefined;
2027
2085
  blueColor?: string | null | undefined;
2028
2086
  }>>>;
2087
+ paletteConfig: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2088
+ version: z.ZodLiteral<1>;
2089
+ colors: z.ZodObject<{
2090
+ primary: z.ZodString;
2091
+ secondary: z.ZodString;
2092
+ highlight: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2093
+ contrast: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2094
+ }, "strict", z.ZodTypeAny, {
2095
+ primary: string;
2096
+ secondary: string;
2097
+ highlight?: string | null | undefined;
2098
+ contrast?: string | null | undefined;
2099
+ }, {
2100
+ primary: string;
2101
+ secondary: string;
2102
+ highlight?: string | null | undefined;
2103
+ contrast?: string | null | undefined;
2104
+ }>;
2105
+ schemeId: z.ZodEnum<["balanced", "primaryLed", "secondaryLed", "soft"]>;
2106
+ }, "strict", z.ZodTypeAny, {
2107
+ version: 1;
2108
+ colors: {
2109
+ primary: string;
2110
+ secondary: string;
2111
+ highlight?: string | null | undefined;
2112
+ contrast?: string | null | undefined;
2113
+ };
2114
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
2115
+ }, {
2116
+ version: 1;
2117
+ colors: {
2118
+ primary: string;
2119
+ secondary: string;
2120
+ highlight?: string | null | undefined;
2121
+ contrast?: string | null | undefined;
2122
+ };
2123
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
2124
+ }>>>;
2029
2125
  logoAssetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2030
2126
  welcomeMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2031
2127
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2047,6 +2143,16 @@ export declare const organizationSummarySchema: z.ZodObject<{
2047
2143
  deepGreenColor?: string | null | undefined;
2048
2144
  blueColor?: string | null | undefined;
2049
2145
  } | null | undefined;
2146
+ paletteConfig?: {
2147
+ version: 1;
2148
+ colors: {
2149
+ primary: string;
2150
+ secondary: string;
2151
+ highlight?: string | null | undefined;
2152
+ contrast?: string | null | undefined;
2153
+ };
2154
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
2155
+ } | null | undefined;
2050
2156
  logoAssetId?: string | null | undefined;
2051
2157
  welcomeMessage?: string | null | undefined;
2052
2158
  updatedAt?: string | null | undefined;
@@ -2068,6 +2174,16 @@ export declare const organizationSummarySchema: z.ZodObject<{
2068
2174
  deepGreenColor?: string | null | undefined;
2069
2175
  blueColor?: string | null | undefined;
2070
2176
  } | null | undefined;
2177
+ paletteConfig?: {
2178
+ version: 1;
2179
+ colors: {
2180
+ primary: string;
2181
+ secondary: string;
2182
+ highlight?: string | null | undefined;
2183
+ contrast?: string | null | undefined;
2184
+ };
2185
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
2186
+ } | null | undefined;
2071
2187
  logoAssetId?: string | null | undefined;
2072
2188
  welcomeMessage?: string | null | undefined;
2073
2189
  updatedAt?: string | null | undefined;
@@ -2095,6 +2211,16 @@ export declare const organizationSummarySchema: z.ZodObject<{
2095
2211
  deepGreenColor?: string | null | undefined;
2096
2212
  blueColor?: string | null | undefined;
2097
2213
  } | null | undefined;
2214
+ paletteConfig?: {
2215
+ version: 1;
2216
+ colors: {
2217
+ primary: string;
2218
+ secondary: string;
2219
+ highlight?: string | null | undefined;
2220
+ contrast?: string | null | undefined;
2221
+ };
2222
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
2223
+ } | null | undefined;
2098
2224
  logoAssetId?: string | null | undefined;
2099
2225
  welcomeMessage?: string | null | undefined;
2100
2226
  updatedAt?: string | null | undefined;
@@ -2122,6 +2248,16 @@ export declare const organizationSummarySchema: z.ZodObject<{
2122
2248
  deepGreenColor?: string | null | undefined;
2123
2249
  blueColor?: string | null | undefined;
2124
2250
  } | null | undefined;
2251
+ paletteConfig?: {
2252
+ version: 1;
2253
+ colors: {
2254
+ primary: string;
2255
+ secondary: string;
2256
+ highlight?: string | null | undefined;
2257
+ contrast?: string | null | undefined;
2258
+ };
2259
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
2260
+ } | null | undefined;
2125
2261
  logoAssetId?: string | null | undefined;
2126
2262
  welcomeMessage?: string | null | undefined;
2127
2263
  updatedAt?: string | null | undefined;
@@ -2383,6 +2519,44 @@ export declare const subjectContextSchema: z.ZodObject<{
2383
2519
  deepGreenColor?: string | null | undefined;
2384
2520
  blueColor?: string | null | undefined;
2385
2521
  }>>>;
2522
+ paletteConfig: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2523
+ version: z.ZodLiteral<1>;
2524
+ colors: z.ZodObject<{
2525
+ primary: z.ZodString;
2526
+ secondary: z.ZodString;
2527
+ highlight: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2528
+ contrast: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2529
+ }, "strict", z.ZodTypeAny, {
2530
+ primary: string;
2531
+ secondary: string;
2532
+ highlight?: string | null | undefined;
2533
+ contrast?: string | null | undefined;
2534
+ }, {
2535
+ primary: string;
2536
+ secondary: string;
2537
+ highlight?: string | null | undefined;
2538
+ contrast?: string | null | undefined;
2539
+ }>;
2540
+ schemeId: z.ZodEnum<["balanced", "primaryLed", "secondaryLed", "soft"]>;
2541
+ }, "strict", z.ZodTypeAny, {
2542
+ version: 1;
2543
+ colors: {
2544
+ primary: string;
2545
+ secondary: string;
2546
+ highlight?: string | null | undefined;
2547
+ contrast?: string | null | undefined;
2548
+ };
2549
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
2550
+ }, {
2551
+ version: 1;
2552
+ colors: {
2553
+ primary: string;
2554
+ secondary: string;
2555
+ highlight?: string | null | undefined;
2556
+ contrast?: string | null | undefined;
2557
+ };
2558
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
2559
+ }>>>;
2386
2560
  logoAssetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2387
2561
  welcomeMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2388
2562
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2404,6 +2578,16 @@ export declare const subjectContextSchema: z.ZodObject<{
2404
2578
  deepGreenColor?: string | null | undefined;
2405
2579
  blueColor?: string | null | undefined;
2406
2580
  } | null | undefined;
2581
+ paletteConfig?: {
2582
+ version: 1;
2583
+ colors: {
2584
+ primary: string;
2585
+ secondary: string;
2586
+ highlight?: string | null | undefined;
2587
+ contrast?: string | null | undefined;
2588
+ };
2589
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
2590
+ } | null | undefined;
2407
2591
  logoAssetId?: string | null | undefined;
2408
2592
  welcomeMessage?: string | null | undefined;
2409
2593
  updatedAt?: string | null | undefined;
@@ -2425,6 +2609,16 @@ export declare const subjectContextSchema: z.ZodObject<{
2425
2609
  deepGreenColor?: string | null | undefined;
2426
2610
  blueColor?: string | null | undefined;
2427
2611
  } | null | undefined;
2612
+ paletteConfig?: {
2613
+ version: 1;
2614
+ colors: {
2615
+ primary: string;
2616
+ secondary: string;
2617
+ highlight?: string | null | undefined;
2618
+ contrast?: string | null | undefined;
2619
+ };
2620
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
2621
+ } | null | undefined;
2428
2622
  logoAssetId?: string | null | undefined;
2429
2623
  welcomeMessage?: string | null | undefined;
2430
2624
  updatedAt?: string | null | undefined;
@@ -2452,6 +2646,16 @@ export declare const subjectContextSchema: z.ZodObject<{
2452
2646
  deepGreenColor?: string | null | undefined;
2453
2647
  blueColor?: string | null | undefined;
2454
2648
  } | null | undefined;
2649
+ paletteConfig?: {
2650
+ version: 1;
2651
+ colors: {
2652
+ primary: string;
2653
+ secondary: string;
2654
+ highlight?: string | null | undefined;
2655
+ contrast?: string | null | undefined;
2656
+ };
2657
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
2658
+ } | null | undefined;
2455
2659
  logoAssetId?: string | null | undefined;
2456
2660
  welcomeMessage?: string | null | undefined;
2457
2661
  updatedAt?: string | null | undefined;
@@ -2479,6 +2683,16 @@ export declare const subjectContextSchema: z.ZodObject<{
2479
2683
  deepGreenColor?: string | null | undefined;
2480
2684
  blueColor?: string | null | undefined;
2481
2685
  } | null | undefined;
2686
+ paletteConfig?: {
2687
+ version: 1;
2688
+ colors: {
2689
+ primary: string;
2690
+ secondary: string;
2691
+ highlight?: string | null | undefined;
2692
+ contrast?: string | null | undefined;
2693
+ };
2694
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
2695
+ } | null | undefined;
2482
2696
  logoAssetId?: string | null | undefined;
2483
2697
  welcomeMessage?: string | null | undefined;
2484
2698
  updatedAt?: string | null | undefined;
@@ -2587,6 +2801,16 @@ export declare const subjectContextSchema: z.ZodObject<{
2587
2801
  deepGreenColor?: string | null | undefined;
2588
2802
  blueColor?: string | null | undefined;
2589
2803
  } | null | undefined;
2804
+ paletteConfig?: {
2805
+ version: 1;
2806
+ colors: {
2807
+ primary: string;
2808
+ secondary: string;
2809
+ highlight?: string | null | undefined;
2810
+ contrast?: string | null | undefined;
2811
+ };
2812
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
2813
+ } | null | undefined;
2590
2814
  logoAssetId?: string | null | undefined;
2591
2815
  welcomeMessage?: string | null | undefined;
2592
2816
  updatedAt?: string | null | undefined;
@@ -2671,6 +2895,16 @@ export declare const subjectContextSchema: z.ZodObject<{
2671
2895
  deepGreenColor?: string | null | undefined;
2672
2896
  blueColor?: string | null | undefined;
2673
2897
  } | null | undefined;
2898
+ paletteConfig?: {
2899
+ version: 1;
2900
+ colors: {
2901
+ primary: string;
2902
+ secondary: string;
2903
+ highlight?: string | null | undefined;
2904
+ contrast?: string | null | undefined;
2905
+ };
2906
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
2907
+ } | null | undefined;
2674
2908
  logoAssetId?: string | null | undefined;
2675
2909
  welcomeMessage?: string | null | undefined;
2676
2910
  updatedAt?: string | null | undefined;
@@ -3413,6 +3647,44 @@ export declare const resolvedAccessContextSchema: z.ZodObject<{
3413
3647
  deepGreenColor?: string | null | undefined;
3414
3648
  blueColor?: string | null | undefined;
3415
3649
  }>>>;
3650
+ paletteConfig: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3651
+ version: z.ZodLiteral<1>;
3652
+ colors: z.ZodObject<{
3653
+ primary: z.ZodString;
3654
+ secondary: z.ZodString;
3655
+ highlight: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3656
+ contrast: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3657
+ }, "strict", z.ZodTypeAny, {
3658
+ primary: string;
3659
+ secondary: string;
3660
+ highlight?: string | null | undefined;
3661
+ contrast?: string | null | undefined;
3662
+ }, {
3663
+ primary: string;
3664
+ secondary: string;
3665
+ highlight?: string | null | undefined;
3666
+ contrast?: string | null | undefined;
3667
+ }>;
3668
+ schemeId: z.ZodEnum<["balanced", "primaryLed", "secondaryLed", "soft"]>;
3669
+ }, "strict", z.ZodTypeAny, {
3670
+ version: 1;
3671
+ colors: {
3672
+ primary: string;
3673
+ secondary: string;
3674
+ highlight?: string | null | undefined;
3675
+ contrast?: string | null | undefined;
3676
+ };
3677
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
3678
+ }, {
3679
+ version: 1;
3680
+ colors: {
3681
+ primary: string;
3682
+ secondary: string;
3683
+ highlight?: string | null | undefined;
3684
+ contrast?: string | null | undefined;
3685
+ };
3686
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
3687
+ }>>>;
3416
3688
  logoAssetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3417
3689
  welcomeMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3418
3690
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3434,6 +3706,16 @@ export declare const resolvedAccessContextSchema: z.ZodObject<{
3434
3706
  deepGreenColor?: string | null | undefined;
3435
3707
  blueColor?: string | null | undefined;
3436
3708
  } | null | undefined;
3709
+ paletteConfig?: {
3710
+ version: 1;
3711
+ colors: {
3712
+ primary: string;
3713
+ secondary: string;
3714
+ highlight?: string | null | undefined;
3715
+ contrast?: string | null | undefined;
3716
+ };
3717
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
3718
+ } | null | undefined;
3437
3719
  logoAssetId?: string | null | undefined;
3438
3720
  welcomeMessage?: string | null | undefined;
3439
3721
  updatedAt?: string | null | undefined;
@@ -3455,6 +3737,16 @@ export declare const resolvedAccessContextSchema: z.ZodObject<{
3455
3737
  deepGreenColor?: string | null | undefined;
3456
3738
  blueColor?: string | null | undefined;
3457
3739
  } | null | undefined;
3740
+ paletteConfig?: {
3741
+ version: 1;
3742
+ colors: {
3743
+ primary: string;
3744
+ secondary: string;
3745
+ highlight?: string | null | undefined;
3746
+ contrast?: string | null | undefined;
3747
+ };
3748
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
3749
+ } | null | undefined;
3458
3750
  logoAssetId?: string | null | undefined;
3459
3751
  welcomeMessage?: string | null | undefined;
3460
3752
  updatedAt?: string | null | undefined;
@@ -3482,6 +3774,16 @@ export declare const resolvedAccessContextSchema: z.ZodObject<{
3482
3774
  deepGreenColor?: string | null | undefined;
3483
3775
  blueColor?: string | null | undefined;
3484
3776
  } | null | undefined;
3777
+ paletteConfig?: {
3778
+ version: 1;
3779
+ colors: {
3780
+ primary: string;
3781
+ secondary: string;
3782
+ highlight?: string | null | undefined;
3783
+ contrast?: string | null | undefined;
3784
+ };
3785
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
3786
+ } | null | undefined;
3485
3787
  logoAssetId?: string | null | undefined;
3486
3788
  welcomeMessage?: string | null | undefined;
3487
3789
  updatedAt?: string | null | undefined;
@@ -3509,6 +3811,16 @@ export declare const resolvedAccessContextSchema: z.ZodObject<{
3509
3811
  deepGreenColor?: string | null | undefined;
3510
3812
  blueColor?: string | null | undefined;
3511
3813
  } | null | undefined;
3814
+ paletteConfig?: {
3815
+ version: 1;
3816
+ colors: {
3817
+ primary: string;
3818
+ secondary: string;
3819
+ highlight?: string | null | undefined;
3820
+ contrast?: string | null | undefined;
3821
+ };
3822
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
3823
+ } | null | undefined;
3512
3824
  logoAssetId?: string | null | undefined;
3513
3825
  welcomeMessage?: string | null | undefined;
3514
3826
  updatedAt?: string | null | undefined;
@@ -3617,6 +3929,16 @@ export declare const resolvedAccessContextSchema: z.ZodObject<{
3617
3929
  deepGreenColor?: string | null | undefined;
3618
3930
  blueColor?: string | null | undefined;
3619
3931
  } | null | undefined;
3932
+ paletteConfig?: {
3933
+ version: 1;
3934
+ colors: {
3935
+ primary: string;
3936
+ secondary: string;
3937
+ highlight?: string | null | undefined;
3938
+ contrast?: string | null | undefined;
3939
+ };
3940
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
3941
+ } | null | undefined;
3620
3942
  logoAssetId?: string | null | undefined;
3621
3943
  welcomeMessage?: string | null | undefined;
3622
3944
  updatedAt?: string | null | undefined;
@@ -3701,6 +4023,16 @@ export declare const resolvedAccessContextSchema: z.ZodObject<{
3701
4023
  deepGreenColor?: string | null | undefined;
3702
4024
  blueColor?: string | null | undefined;
3703
4025
  } | null | undefined;
4026
+ paletteConfig?: {
4027
+ version: 1;
4028
+ colors: {
4029
+ primary: string;
4030
+ secondary: string;
4031
+ highlight?: string | null | undefined;
4032
+ contrast?: string | null | undefined;
4033
+ };
4034
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
4035
+ } | null | undefined;
3704
4036
  logoAssetId?: string | null | undefined;
3705
4037
  welcomeMessage?: string | null | undefined;
3706
4038
  updatedAt?: string | null | undefined;
@@ -3871,6 +4203,16 @@ export declare const resolvedAccessContextSchema: z.ZodObject<{
3871
4203
  deepGreenColor?: string | null | undefined;
3872
4204
  blueColor?: string | null | undefined;
3873
4205
  } | null | undefined;
4206
+ paletteConfig?: {
4207
+ version: 1;
4208
+ colors: {
4209
+ primary: string;
4210
+ secondary: string;
4211
+ highlight?: string | null | undefined;
4212
+ contrast?: string | null | undefined;
4213
+ };
4214
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
4215
+ } | null | undefined;
3874
4216
  logoAssetId?: string | null | undefined;
3875
4217
  welcomeMessage?: string | null | undefined;
3876
4218
  updatedAt?: string | null | undefined;
@@ -4041,6 +4383,16 @@ export declare const resolvedAccessContextSchema: z.ZodObject<{
4041
4383
  deepGreenColor?: string | null | undefined;
4042
4384
  blueColor?: string | null | undefined;
4043
4385
  } | null | undefined;
4386
+ paletteConfig?: {
4387
+ version: 1;
4388
+ colors: {
4389
+ primary: string;
4390
+ secondary: string;
4391
+ highlight?: string | null | undefined;
4392
+ contrast?: string | null | undefined;
4393
+ };
4394
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
4395
+ } | null | undefined;
4044
4396
  logoAssetId?: string | null | undefined;
4045
4397
  welcomeMessage?: string | null | undefined;
4046
4398
  updatedAt?: string | null | undefined;
package/dist/access.js CHANGED
@@ -3,6 +3,7 @@ import { assignmentStatusSchema, entitlementSourceSchema, organizationStatusSche
3
3
  import { ianaTimeZoneSchema, idSchema, isoDateStringSchema, nullableIsoDateStringSchema } from "./api.js";
4
4
  import { communicationPreferencesSchema } from "./communication-preferences.js";
5
5
  import { coachFamilyChatCapabilitySchema } from "./coach-family-chat.js";
6
+ import { brandColorSchema, organizationBrandingPaletteConfigSchema } from "./branding.js";
6
7
  export const coachInvitePremiumGracePeriodDays = 7;
7
8
  export const actorRolesSchema = z.object({
8
9
  family: z.boolean(),
@@ -91,7 +92,6 @@ export const subjectPermissionsSchema = z.object({
91
92
  canRevokeAssignment: z.boolean(),
92
93
  canViewAnalysis: z.boolean()
93
94
  });
94
- const brandColorSchema = z.string().regex(/^#[0-9a-fA-F]{6}$/);
95
95
  export const organizationBrandingThemeSchema = z.object({
96
96
  documentBackgroundColor: brandColorSchema.nullable().optional(),
97
97
  screenBackgroundColor: brandColorSchema.nullable().optional(),
@@ -111,6 +111,7 @@ export const organizationBrandingSchema = z.object({
111
111
  accentColor: brandColorSchema.nullable().optional(),
112
112
  backgroundColor: brandColorSchema.nullable().optional(),
113
113
  theme: organizationBrandingThemeSchema.nullable().optional(),
114
+ paletteConfig: organizationBrandingPaletteConfigSchema.nullable().optional(),
114
115
  logoAssetId: z.string().trim().min(1).max(2048).nullable().optional(),
115
116
  welcomeMessage: z.string().trim().min(1).max(180).nullable().optional(),
116
117
  updatedAt: nullableIsoDateStringSchema.optional()
@@ -1 +1 @@
1
- {"version":3,"file":"access.js","sourceRoot":"","sources":["../src/access.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,sBAAsB,EACtB,uBAAuB,EACvB,wBAAwB,EACxB,sBAAsB,EACtB,cAAc,EACf,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,kBAAkB,EAClB,QAAQ,EACR,mBAAmB,EACnB,2BAA2B,EAC5B,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,8BAA8B,EAAE,MAAM,g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AAE;IACxC,IAAI,EAAE,iBAAiB;IACvB,WAAW,EAAE,wBAAwB;IACrC,UAAU,EAAE,uBAAuB,CAAC,QAAQ,EAAE;IAC9C,YAAY,EAAE,yBAAyB,CAAC,QAAQ,EAAE;IAClD,OAAO,EAAE,yBAAyB;CACnC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,OAAO,EAAE,oBAAoB;IAC7B,OAAO,EAAE,oBAAoB;CAC9B,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,EAAE,EAAE,QAAQ;IACZ,WAAW,EAAE,QAAQ;IACrB,SAAS,EAAE,cAAc,CAAC,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;IACjD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,YAAY,EAAE,QAAQ,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC5C,cAAc,EAAE,QAAQ,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC9C,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC1C,SAAS,EAAE,mBAAmB;CAC/B,CAAC,CAAC"}
@@ -0,0 +1,10 @@
1
+ export declare const ACTIVE_TIMER_REMINDER_PUSH_SOURCE: "dreamsforlittles-active-timer-reminder";
2
+ export declare const ACTIVE_TIMER_REMINDER_PUSH_SCHEMA_VERSION: "1";
3
+ export declare const ACTIVE_TIMER_REMINDER_PUSH_MINIMUM_WRAPPER_VERSION: "4.8.2";
4
+ export declare const ACTIVE_TIMER_REMINDER_PUSH_ROUTE: "/family/track/sleep";
5
+ export declare const ACTIVE_TIMER_REMINDER_KIND: "sleep_15h";
6
+ export declare const ACTIVE_TIMER_REMINDER_AFTER_HOURS: 15;
7
+ export declare const ACTIVE_TIMER_STALE_CUTOFF_HOURS: 24;
8
+ export declare const ACTIVE_TIMER_REMINDER_PUSH_TITLE: "Is your sleep timer still running?";
9
+ export declare const ACTIVE_TIMER_REMINDER_PUSH_BODY: "A sleep timer has been running for 15 hours. Tap to review it.";
10
+ export declare const ACTIVE_TIMER_REMINDER_PUSH_ANDROID_CHANNEL_ID: "timer-reminders-v1";
@@ -0,0 +1,11 @@
1
+ export const ACTIVE_TIMER_REMINDER_PUSH_SOURCE = "dreamsforlittles-active-timer-reminder";
2
+ export const ACTIVE_TIMER_REMINDER_PUSH_SCHEMA_VERSION = "1";
3
+ export const ACTIVE_TIMER_REMINDER_PUSH_MINIMUM_WRAPPER_VERSION = "4.8.2";
4
+ export const ACTIVE_TIMER_REMINDER_PUSH_ROUTE = "/family/track/sleep";
5
+ export const ACTIVE_TIMER_REMINDER_KIND = "sleep_15h";
6
+ export const ACTIVE_TIMER_REMINDER_AFTER_HOURS = 15;
7
+ export const ACTIVE_TIMER_STALE_CUTOFF_HOURS = 24;
8
+ export const ACTIVE_TIMER_REMINDER_PUSH_TITLE = "Is your sleep timer still running?";
9
+ export const ACTIVE_TIMER_REMINDER_PUSH_BODY = "A sleep timer has been running for 15 hours. Tap to review it.";
10
+ export const ACTIVE_TIMER_REMINDER_PUSH_ANDROID_CHANNEL_ID = "timer-reminders-v1";
11
+ //# sourceMappingURL=active-timer-reminders.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"active-timer-reminders.js","sourceRoot":"","sources":["../src/active-timer-reminders.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,iCAAiC,GAC5C,wCAAiD,CAAC;AACpD,MAAM,CAAC,MAAM,yCAAyC,GAAG,GAAY,CAAC;AACtE,MAAM,CAAC,MAAM,kDAAkD,GAC7D,OAAgB,CAAC;AACnB,MAAM,CAAC,MAAM,gCAAgC,GAC3C,qBAA8B,CAAC;AACjC,MAAM,CAAC,MAAM,0BAA0B,GAAG,WAAoB,CAAC;AAC/D,MAAM,CAAC,MAAM,iCAAiC,GAAG,EAAW,CAAC;AAC7D,MAAM,CAAC,MAAM,+BAA+B,GAAG,EAAW,CAAC;AAC3D,MAAM,CAAC,MAAM,gCAAgC,GAC3C,oCAA6C,CAAC;AAChD,MAAM,CAAC,MAAM,+BAA+B,GAC1C,gEAAyE,CAAC;AAC5E,MAAM,CAAC,MAAM,6CAA6C,GACxD,oBAA6B,CAAC"}