@nikthegeek/dreamsforlittles-shared 0.7.0 → 0.10.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 (80) hide show
  1. package/dist/access.d.ts +387 -0
  2. package/dist/access.js +4 -2
  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 +7239 -1272
  8. package/dist/admin.js +75 -0
  9. package/dist/admin.js.map +1 -1
  10. package/dist/allergy-ladders.d.ts +32 -32
  11. package/dist/analysis.d.ts +9 -9
  12. package/dist/api.d.ts +5 -5
  13. package/dist/app-feedback.d.ts +266 -0
  14. package/dist/app-feedback.js +6 -2
  15. package/dist/app-feedback.js.map +1 -1
  16. package/dist/billing.d.ts +144 -0
  17. package/dist/billing.js +89 -0
  18. package/dist/billing.js.map +1 -1
  19. package/dist/branding.d.ts +84 -0
  20. package/dist/branding.js +267 -0
  21. package/dist/branding.js.map +1 -0
  22. package/dist/branding.test.d.ts +1 -0
  23. package/dist/branding.test.js +150 -0
  24. package/dist/branding.test.js.map +1 -0
  25. package/dist/client-notices.d.ts +133 -133
  26. package/dist/coach-activity-notifications.js +9 -1
  27. package/dist/coach-activity-notifications.js.map +1 -1
  28. package/dist/coach-activity-notifications.test.js +15 -0
  29. package/dist/coach-activity-notifications.test.js.map +1 -1
  30. package/dist/coach.d.ts +1759 -183
  31. package/dist/coach.js +137 -6
  32. package/dist/coach.js.map +1 -1
  33. package/dist/enums.d.ts +1 -1
  34. package/dist/enums.js +4 -1
  35. package/dist/enums.js.map +1 -1
  36. package/dist/errors.d.ts +8 -4
  37. package/dist/errors.js +12 -0
  38. package/dist/errors.js.map +1 -1
  39. package/dist/family-invitations.d.ts +508 -14
  40. package/dist/family-profile-artifacts.d.ts +870 -58
  41. package/dist/family.d.ts +531 -232
  42. package/dist/family.js +32 -2
  43. package/dist/family.js.map +1 -1
  44. package/dist/family.test.js +21 -1
  45. package/dist/family.test.js.map +1 -1
  46. package/dist/files.d.ts +2 -2
  47. package/dist/getting-started-guides.d.ts +6 -6
  48. package/dist/index.d.ts +5 -0
  49. package/dist/index.js +5 -0
  50. package/dist/index.js.map +1 -1
  51. package/dist/invites.d.ts +107 -0
  52. package/dist/notification-banners.d.ts +76 -14
  53. package/dist/notification-banners.js +20 -2
  54. package/dist/notification-banners.js.map +1 -1
  55. package/dist/notification-banners.test.d.ts +1 -0
  56. package/dist/notification-banners.test.js +28 -0
  57. package/dist/notification-banners.test.js.map +1 -0
  58. package/dist/product-analytics.d.ts +12 -12
  59. package/dist/subscription-cancellation-feedback.d.ts +539 -0
  60. package/dist/subscription-cancellation-feedback.js +144 -0
  61. package/dist/subscription-cancellation-feedback.js.map +1 -0
  62. package/dist/subscription-cancellation-feedback.test.d.ts +1 -0
  63. package/dist/subscription-cancellation-feedback.test.js +27 -0
  64. package/dist/subscription-cancellation-feedback.test.js.map +1 -0
  65. package/dist/support-attachments.d.ts +320 -0
  66. package/dist/support-attachments.js +108 -0
  67. package/dist/support-attachments.js.map +1 -0
  68. package/dist/support-attachments.test.d.ts +1 -0
  69. package/dist/support-attachments.test.js +35 -0
  70. package/dist/support-attachments.test.js.map +1 -0
  71. package/dist/support-mutation-reconciliation.d.ts +74 -0
  72. package/dist/support-mutation-reconciliation.js +36 -0
  73. package/dist/support-mutation-reconciliation.js.map +1 -0
  74. package/dist/support-mutation-reconciliation.test.d.ts +1 -0
  75. package/dist/support-mutation-reconciliation.test.js +43 -0
  76. package/dist/support-mutation-reconciliation.test.js.map +1 -0
  77. package/dist/support-tickets.d.ts +436 -12
  78. package/dist/support-tickets.js +9 -3
  79. package/dist/support-tickets.js.map +1 -1
  80. package/package.json +1 -1
package/dist/access.d.ts CHANGED
@@ -1860,6 +1860,7 @@ export declare const organizationBrandingThemeSchema: z.ZodObject<{
1860
1860
  pinkColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1861
1861
  deepGreenColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1862
1862
  blueColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1863
+ dataColors: z.ZodOptional<z.ZodNullable<z.ZodTuple<[z.ZodString, z.ZodString, z.ZodString, z.ZodString, z.ZodString, z.ZodString, z.ZodString], null>>>;
1863
1864
  }, "strict", z.ZodTypeAny, {
1864
1865
  documentBackgroundColor?: string | null | undefined;
1865
1866
  screenBackgroundColor?: string | null | undefined;
@@ -1873,6 +1874,7 @@ export declare const organizationBrandingThemeSchema: z.ZodObject<{
1873
1874
  pinkColor?: string | null | undefined;
1874
1875
  deepGreenColor?: string | null | undefined;
1875
1876
  blueColor?: string | null | undefined;
1877
+ dataColors?: [string, string, string, string, string, string, string] | null | undefined;
1876
1878
  }, {
1877
1879
  documentBackgroundColor?: string | null | undefined;
1878
1880
  screenBackgroundColor?: string | null | undefined;
@@ -1886,6 +1888,7 @@ export declare const organizationBrandingThemeSchema: z.ZodObject<{
1886
1888
  pinkColor?: string | null | undefined;
1887
1889
  deepGreenColor?: string | null | undefined;
1888
1890
  blueColor?: string | null | undefined;
1891
+ dataColors?: [string, string, string, string, string, string, string] | null | undefined;
1889
1892
  }>;
1890
1893
  export declare const organizationBrandingSchema: z.ZodObject<{
1891
1894
  primaryColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1904,6 +1907,7 @@ export declare const organizationBrandingSchema: z.ZodObject<{
1904
1907
  pinkColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1905
1908
  deepGreenColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1906
1909
  blueColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1910
+ dataColors: z.ZodOptional<z.ZodNullable<z.ZodTuple<[z.ZodString, z.ZodString, z.ZodString, z.ZodString, z.ZodString, z.ZodString, z.ZodString], null>>>;
1907
1911
  }, "strict", z.ZodTypeAny, {
1908
1912
  documentBackgroundColor?: string | null | undefined;
1909
1913
  screenBackgroundColor?: string | null | undefined;
@@ -1917,6 +1921,7 @@ export declare const organizationBrandingSchema: z.ZodObject<{
1917
1921
  pinkColor?: string | null | undefined;
1918
1922
  deepGreenColor?: string | null | undefined;
1919
1923
  blueColor?: string | null | undefined;
1924
+ dataColors?: [string, string, string, string, string, string, string] | null | undefined;
1920
1925
  }, {
1921
1926
  documentBackgroundColor?: string | null | undefined;
1922
1927
  screenBackgroundColor?: string | null | undefined;
@@ -1930,6 +1935,45 @@ export declare const organizationBrandingSchema: z.ZodObject<{
1930
1935
  pinkColor?: string | null | undefined;
1931
1936
  deepGreenColor?: string | null | undefined;
1932
1937
  blueColor?: string | null | undefined;
1938
+ dataColors?: [string, string, string, string, string, string, string] | null | undefined;
1939
+ }>>>;
1940
+ paletteConfig: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1941
+ version: z.ZodLiteral<1>;
1942
+ colors: z.ZodObject<{
1943
+ primary: z.ZodString;
1944
+ secondary: z.ZodString;
1945
+ highlight: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1946
+ contrast: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1947
+ }, "strict", z.ZodTypeAny, {
1948
+ primary: string;
1949
+ secondary: string;
1950
+ highlight?: string | null | undefined;
1951
+ contrast?: string | null | undefined;
1952
+ }, {
1953
+ primary: string;
1954
+ secondary: string;
1955
+ highlight?: string | null | undefined;
1956
+ contrast?: string | null | undefined;
1957
+ }>;
1958
+ schemeId: z.ZodEnum<["balanced", "primaryLed", "secondaryLed", "soft"]>;
1959
+ }, "strict", z.ZodTypeAny, {
1960
+ version: 1;
1961
+ colors: {
1962
+ primary: string;
1963
+ secondary: string;
1964
+ highlight?: string | null | undefined;
1965
+ contrast?: string | null | undefined;
1966
+ };
1967
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
1968
+ }, {
1969
+ version: 1;
1970
+ colors: {
1971
+ primary: string;
1972
+ secondary: string;
1973
+ highlight?: string | null | undefined;
1974
+ contrast?: string | null | undefined;
1975
+ };
1976
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
1933
1977
  }>>>;
1934
1978
  logoAssetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1935
1979
  welcomeMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1951,6 +1995,17 @@ export declare const organizationBrandingSchema: z.ZodObject<{
1951
1995
  pinkColor?: string | null | undefined;
1952
1996
  deepGreenColor?: string | null | undefined;
1953
1997
  blueColor?: string | null | undefined;
1998
+ dataColors?: [string, string, string, string, string, string, string] | null | undefined;
1999
+ } | null | undefined;
2000
+ paletteConfig?: {
2001
+ version: 1;
2002
+ colors: {
2003
+ primary: string;
2004
+ secondary: string;
2005
+ highlight?: string | null | undefined;
2006
+ contrast?: string | null | undefined;
2007
+ };
2008
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
1954
2009
  } | null | undefined;
1955
2010
  logoAssetId?: string | null | undefined;
1956
2011
  welcomeMessage?: string | null | undefined;
@@ -1972,6 +2027,17 @@ export declare const organizationBrandingSchema: z.ZodObject<{
1972
2027
  pinkColor?: string | null | undefined;
1973
2028
  deepGreenColor?: string | null | undefined;
1974
2029
  blueColor?: string | null | undefined;
2030
+ dataColors?: [string, string, string, string, string, string, string] | null | undefined;
2031
+ } | null | undefined;
2032
+ paletteConfig?: {
2033
+ version: 1;
2034
+ colors: {
2035
+ primary: string;
2036
+ secondary: string;
2037
+ highlight?: string | null | undefined;
2038
+ contrast?: string | null | undefined;
2039
+ };
2040
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
1975
2041
  } | null | undefined;
1976
2042
  logoAssetId?: string | null | undefined;
1977
2043
  welcomeMessage?: string | null | undefined;
@@ -1999,6 +2065,7 @@ export declare const organizationSummarySchema: z.ZodObject<{
1999
2065
  pinkColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2000
2066
  deepGreenColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2001
2067
  blueColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2068
+ dataColors: z.ZodOptional<z.ZodNullable<z.ZodTuple<[z.ZodString, z.ZodString, z.ZodString, z.ZodString, z.ZodString, z.ZodString, z.ZodString], null>>>;
2002
2069
  }, "strict", z.ZodTypeAny, {
2003
2070
  documentBackgroundColor?: string | null | undefined;
2004
2071
  screenBackgroundColor?: string | null | undefined;
@@ -2012,6 +2079,7 @@ export declare const organizationSummarySchema: z.ZodObject<{
2012
2079
  pinkColor?: string | null | undefined;
2013
2080
  deepGreenColor?: string | null | undefined;
2014
2081
  blueColor?: string | null | undefined;
2082
+ dataColors?: [string, string, string, string, string, string, string] | null | undefined;
2015
2083
  }, {
2016
2084
  documentBackgroundColor?: string | null | undefined;
2017
2085
  screenBackgroundColor?: string | null | undefined;
@@ -2025,6 +2093,45 @@ export declare const organizationSummarySchema: z.ZodObject<{
2025
2093
  pinkColor?: string | null | undefined;
2026
2094
  deepGreenColor?: string | null | undefined;
2027
2095
  blueColor?: string | null | undefined;
2096
+ dataColors?: [string, string, string, string, string, string, string] | null | undefined;
2097
+ }>>>;
2098
+ paletteConfig: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2099
+ version: z.ZodLiteral<1>;
2100
+ colors: z.ZodObject<{
2101
+ primary: z.ZodString;
2102
+ secondary: z.ZodString;
2103
+ highlight: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2104
+ contrast: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2105
+ }, "strict", z.ZodTypeAny, {
2106
+ primary: string;
2107
+ secondary: string;
2108
+ highlight?: string | null | undefined;
2109
+ contrast?: string | null | undefined;
2110
+ }, {
2111
+ primary: string;
2112
+ secondary: string;
2113
+ highlight?: string | null | undefined;
2114
+ contrast?: string | null | undefined;
2115
+ }>;
2116
+ schemeId: z.ZodEnum<["balanced", "primaryLed", "secondaryLed", "soft"]>;
2117
+ }, "strict", z.ZodTypeAny, {
2118
+ version: 1;
2119
+ colors: {
2120
+ primary: string;
2121
+ secondary: string;
2122
+ highlight?: string | null | undefined;
2123
+ contrast?: string | null | undefined;
2124
+ };
2125
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
2126
+ }, {
2127
+ version: 1;
2128
+ colors: {
2129
+ primary: string;
2130
+ secondary: string;
2131
+ highlight?: string | null | undefined;
2132
+ contrast?: string | null | undefined;
2133
+ };
2134
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
2028
2135
  }>>>;
2029
2136
  logoAssetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2030
2137
  welcomeMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2046,6 +2153,17 @@ export declare const organizationSummarySchema: z.ZodObject<{
2046
2153
  pinkColor?: string | null | undefined;
2047
2154
  deepGreenColor?: string | null | undefined;
2048
2155
  blueColor?: string | null | undefined;
2156
+ dataColors?: [string, string, string, string, string, string, string] | null | undefined;
2157
+ } | null | undefined;
2158
+ paletteConfig?: {
2159
+ version: 1;
2160
+ colors: {
2161
+ primary: string;
2162
+ secondary: string;
2163
+ highlight?: string | null | undefined;
2164
+ contrast?: string | null | undefined;
2165
+ };
2166
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
2049
2167
  } | null | undefined;
2050
2168
  logoAssetId?: string | null | undefined;
2051
2169
  welcomeMessage?: string | null | undefined;
@@ -2067,6 +2185,17 @@ export declare const organizationSummarySchema: z.ZodObject<{
2067
2185
  pinkColor?: string | null | undefined;
2068
2186
  deepGreenColor?: string | null | undefined;
2069
2187
  blueColor?: string | null | undefined;
2188
+ dataColors?: [string, string, string, string, string, string, string] | null | undefined;
2189
+ } | null | undefined;
2190
+ paletteConfig?: {
2191
+ version: 1;
2192
+ colors: {
2193
+ primary: string;
2194
+ secondary: string;
2195
+ highlight?: string | null | undefined;
2196
+ contrast?: string | null | undefined;
2197
+ };
2198
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
2070
2199
  } | null | undefined;
2071
2200
  logoAssetId?: string | null | undefined;
2072
2201
  welcomeMessage?: string | null | undefined;
@@ -2094,6 +2223,17 @@ export declare const organizationSummarySchema: z.ZodObject<{
2094
2223
  pinkColor?: string | null | undefined;
2095
2224
  deepGreenColor?: string | null | undefined;
2096
2225
  blueColor?: string | null | undefined;
2226
+ dataColors?: [string, string, string, string, string, string, string] | null | undefined;
2227
+ } | null | undefined;
2228
+ paletteConfig?: {
2229
+ version: 1;
2230
+ colors: {
2231
+ primary: string;
2232
+ secondary: string;
2233
+ highlight?: string | null | undefined;
2234
+ contrast?: string | null | undefined;
2235
+ };
2236
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
2097
2237
  } | null | undefined;
2098
2238
  logoAssetId?: string | null | undefined;
2099
2239
  welcomeMessage?: string | null | undefined;
@@ -2121,6 +2261,17 @@ export declare const organizationSummarySchema: z.ZodObject<{
2121
2261
  pinkColor?: string | null | undefined;
2122
2262
  deepGreenColor?: string | null | undefined;
2123
2263
  blueColor?: string | null | undefined;
2264
+ dataColors?: [string, string, string, string, string, string, string] | null | undefined;
2265
+ } | null | undefined;
2266
+ paletteConfig?: {
2267
+ version: 1;
2268
+ colors: {
2269
+ primary: string;
2270
+ secondary: string;
2271
+ highlight?: string | null | undefined;
2272
+ contrast?: string | null | undefined;
2273
+ };
2274
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
2124
2275
  } | null | undefined;
2125
2276
  logoAssetId?: string | null | undefined;
2126
2277
  welcomeMessage?: string | null | undefined;
@@ -2356,6 +2507,7 @@ export declare const subjectContextSchema: z.ZodObject<{
2356
2507
  pinkColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2357
2508
  deepGreenColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2358
2509
  blueColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2510
+ dataColors: z.ZodOptional<z.ZodNullable<z.ZodTuple<[z.ZodString, z.ZodString, z.ZodString, z.ZodString, z.ZodString, z.ZodString, z.ZodString], null>>>;
2359
2511
  }, "strict", z.ZodTypeAny, {
2360
2512
  documentBackgroundColor?: string | null | undefined;
2361
2513
  screenBackgroundColor?: string | null | undefined;
@@ -2369,6 +2521,7 @@ export declare const subjectContextSchema: z.ZodObject<{
2369
2521
  pinkColor?: string | null | undefined;
2370
2522
  deepGreenColor?: string | null | undefined;
2371
2523
  blueColor?: string | null | undefined;
2524
+ dataColors?: [string, string, string, string, string, string, string] | null | undefined;
2372
2525
  }, {
2373
2526
  documentBackgroundColor?: string | null | undefined;
2374
2527
  screenBackgroundColor?: string | null | undefined;
@@ -2382,6 +2535,45 @@ export declare const subjectContextSchema: z.ZodObject<{
2382
2535
  pinkColor?: string | null | undefined;
2383
2536
  deepGreenColor?: string | null | undefined;
2384
2537
  blueColor?: string | null | undefined;
2538
+ dataColors?: [string, string, string, string, string, string, string] | null | undefined;
2539
+ }>>>;
2540
+ paletteConfig: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2541
+ version: z.ZodLiteral<1>;
2542
+ colors: z.ZodObject<{
2543
+ primary: z.ZodString;
2544
+ secondary: z.ZodString;
2545
+ highlight: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2546
+ contrast: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2547
+ }, "strict", z.ZodTypeAny, {
2548
+ primary: string;
2549
+ secondary: string;
2550
+ highlight?: string | null | undefined;
2551
+ contrast?: string | null | undefined;
2552
+ }, {
2553
+ primary: string;
2554
+ secondary: string;
2555
+ highlight?: string | null | undefined;
2556
+ contrast?: string | null | undefined;
2557
+ }>;
2558
+ schemeId: z.ZodEnum<["balanced", "primaryLed", "secondaryLed", "soft"]>;
2559
+ }, "strict", z.ZodTypeAny, {
2560
+ version: 1;
2561
+ colors: {
2562
+ primary: string;
2563
+ secondary: string;
2564
+ highlight?: string | null | undefined;
2565
+ contrast?: string | null | undefined;
2566
+ };
2567
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
2568
+ }, {
2569
+ version: 1;
2570
+ colors: {
2571
+ primary: string;
2572
+ secondary: string;
2573
+ highlight?: string | null | undefined;
2574
+ contrast?: string | null | undefined;
2575
+ };
2576
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
2385
2577
  }>>>;
2386
2578
  logoAssetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2387
2579
  welcomeMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2403,6 +2595,17 @@ export declare const subjectContextSchema: z.ZodObject<{
2403
2595
  pinkColor?: string | null | undefined;
2404
2596
  deepGreenColor?: string | null | undefined;
2405
2597
  blueColor?: string | null | undefined;
2598
+ dataColors?: [string, string, string, string, string, string, string] | null | undefined;
2599
+ } | null | undefined;
2600
+ paletteConfig?: {
2601
+ version: 1;
2602
+ colors: {
2603
+ primary: string;
2604
+ secondary: string;
2605
+ highlight?: string | null | undefined;
2606
+ contrast?: string | null | undefined;
2607
+ };
2608
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
2406
2609
  } | null | undefined;
2407
2610
  logoAssetId?: string | null | undefined;
2408
2611
  welcomeMessage?: string | null | undefined;
@@ -2424,6 +2627,17 @@ export declare const subjectContextSchema: z.ZodObject<{
2424
2627
  pinkColor?: string | null | undefined;
2425
2628
  deepGreenColor?: string | null | undefined;
2426
2629
  blueColor?: string | null | undefined;
2630
+ dataColors?: [string, string, string, string, string, string, string] | null | undefined;
2631
+ } | null | undefined;
2632
+ paletteConfig?: {
2633
+ version: 1;
2634
+ colors: {
2635
+ primary: string;
2636
+ secondary: string;
2637
+ highlight?: string | null | undefined;
2638
+ contrast?: string | null | undefined;
2639
+ };
2640
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
2427
2641
  } | null | undefined;
2428
2642
  logoAssetId?: string | null | undefined;
2429
2643
  welcomeMessage?: string | null | undefined;
@@ -2451,6 +2665,17 @@ export declare const subjectContextSchema: z.ZodObject<{
2451
2665
  pinkColor?: string | null | undefined;
2452
2666
  deepGreenColor?: string | null | undefined;
2453
2667
  blueColor?: string | null | undefined;
2668
+ dataColors?: [string, string, string, string, string, string, string] | null | undefined;
2669
+ } | null | undefined;
2670
+ paletteConfig?: {
2671
+ version: 1;
2672
+ colors: {
2673
+ primary: string;
2674
+ secondary: string;
2675
+ highlight?: string | null | undefined;
2676
+ contrast?: string | null | undefined;
2677
+ };
2678
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
2454
2679
  } | null | undefined;
2455
2680
  logoAssetId?: string | null | undefined;
2456
2681
  welcomeMessage?: string | null | undefined;
@@ -2478,6 +2703,17 @@ export declare const subjectContextSchema: z.ZodObject<{
2478
2703
  pinkColor?: string | null | undefined;
2479
2704
  deepGreenColor?: string | null | undefined;
2480
2705
  blueColor?: string | null | undefined;
2706
+ dataColors?: [string, string, string, string, string, string, string] | null | undefined;
2707
+ } | null | undefined;
2708
+ paletteConfig?: {
2709
+ version: 1;
2710
+ colors: {
2711
+ primary: string;
2712
+ secondary: string;
2713
+ highlight?: string | null | undefined;
2714
+ contrast?: string | null | undefined;
2715
+ };
2716
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
2481
2717
  } | null | undefined;
2482
2718
  logoAssetId?: string | null | undefined;
2483
2719
  welcomeMessage?: string | null | undefined;
@@ -2586,6 +2822,17 @@ export declare const subjectContextSchema: z.ZodObject<{
2586
2822
  pinkColor?: string | null | undefined;
2587
2823
  deepGreenColor?: string | null | undefined;
2588
2824
  blueColor?: string | null | undefined;
2825
+ dataColors?: [string, string, string, string, string, string, string] | null | undefined;
2826
+ } | null | undefined;
2827
+ paletteConfig?: {
2828
+ version: 1;
2829
+ colors: {
2830
+ primary: string;
2831
+ secondary: string;
2832
+ highlight?: string | null | undefined;
2833
+ contrast?: string | null | undefined;
2834
+ };
2835
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
2589
2836
  } | null | undefined;
2590
2837
  logoAssetId?: string | null | undefined;
2591
2838
  welcomeMessage?: string | null | undefined;
@@ -2670,6 +2917,17 @@ export declare const subjectContextSchema: z.ZodObject<{
2670
2917
  pinkColor?: string | null | undefined;
2671
2918
  deepGreenColor?: string | null | undefined;
2672
2919
  blueColor?: string | null | undefined;
2920
+ dataColors?: [string, string, string, string, string, string, string] | null | undefined;
2921
+ } | null | undefined;
2922
+ paletteConfig?: {
2923
+ version: 1;
2924
+ colors: {
2925
+ primary: string;
2926
+ secondary: string;
2927
+ highlight?: string | null | undefined;
2928
+ contrast?: string | null | undefined;
2929
+ };
2930
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
2673
2931
  } | null | undefined;
2674
2932
  logoAssetId?: string | null | undefined;
2675
2933
  welcomeMessage?: string | null | undefined;
@@ -3386,6 +3644,7 @@ export declare const resolvedAccessContextSchema: z.ZodObject<{
3386
3644
  pinkColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3387
3645
  deepGreenColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3388
3646
  blueColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3647
+ dataColors: z.ZodOptional<z.ZodNullable<z.ZodTuple<[z.ZodString, z.ZodString, z.ZodString, z.ZodString, z.ZodString, z.ZodString, z.ZodString], null>>>;
3389
3648
  }, "strict", z.ZodTypeAny, {
3390
3649
  documentBackgroundColor?: string | null | undefined;
3391
3650
  screenBackgroundColor?: string | null | undefined;
@@ -3399,6 +3658,7 @@ export declare const resolvedAccessContextSchema: z.ZodObject<{
3399
3658
  pinkColor?: string | null | undefined;
3400
3659
  deepGreenColor?: string | null | undefined;
3401
3660
  blueColor?: string | null | undefined;
3661
+ dataColors?: [string, string, string, string, string, string, string] | null | undefined;
3402
3662
  }, {
3403
3663
  documentBackgroundColor?: string | null | undefined;
3404
3664
  screenBackgroundColor?: string | null | undefined;
@@ -3412,6 +3672,45 @@ export declare const resolvedAccessContextSchema: z.ZodObject<{
3412
3672
  pinkColor?: string | null | undefined;
3413
3673
  deepGreenColor?: string | null | undefined;
3414
3674
  blueColor?: string | null | undefined;
3675
+ dataColors?: [string, string, string, string, string, string, string] | null | undefined;
3676
+ }>>>;
3677
+ paletteConfig: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3678
+ version: z.ZodLiteral<1>;
3679
+ colors: z.ZodObject<{
3680
+ primary: z.ZodString;
3681
+ secondary: z.ZodString;
3682
+ highlight: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3683
+ contrast: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3684
+ }, "strict", z.ZodTypeAny, {
3685
+ primary: string;
3686
+ secondary: string;
3687
+ highlight?: string | null | undefined;
3688
+ contrast?: string | null | undefined;
3689
+ }, {
3690
+ primary: string;
3691
+ secondary: string;
3692
+ highlight?: string | null | undefined;
3693
+ contrast?: string | null | undefined;
3694
+ }>;
3695
+ schemeId: z.ZodEnum<["balanced", "primaryLed", "secondaryLed", "soft"]>;
3696
+ }, "strict", z.ZodTypeAny, {
3697
+ version: 1;
3698
+ colors: {
3699
+ primary: string;
3700
+ secondary: string;
3701
+ highlight?: string | null | undefined;
3702
+ contrast?: string | null | undefined;
3703
+ };
3704
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
3705
+ }, {
3706
+ version: 1;
3707
+ colors: {
3708
+ primary: string;
3709
+ secondary: string;
3710
+ highlight?: string | null | undefined;
3711
+ contrast?: string | null | undefined;
3712
+ };
3713
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
3415
3714
  }>>>;
3416
3715
  logoAssetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3417
3716
  welcomeMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3433,6 +3732,17 @@ export declare const resolvedAccessContextSchema: z.ZodObject<{
3433
3732
  pinkColor?: string | null | undefined;
3434
3733
  deepGreenColor?: string | null | undefined;
3435
3734
  blueColor?: string | null | undefined;
3735
+ dataColors?: [string, string, string, string, string, string, string] | null | undefined;
3736
+ } | null | undefined;
3737
+ paletteConfig?: {
3738
+ version: 1;
3739
+ colors: {
3740
+ primary: string;
3741
+ secondary: string;
3742
+ highlight?: string | null | undefined;
3743
+ contrast?: string | null | undefined;
3744
+ };
3745
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
3436
3746
  } | null | undefined;
3437
3747
  logoAssetId?: string | null | undefined;
3438
3748
  welcomeMessage?: string | null | undefined;
@@ -3454,6 +3764,17 @@ export declare const resolvedAccessContextSchema: z.ZodObject<{
3454
3764
  pinkColor?: string | null | undefined;
3455
3765
  deepGreenColor?: string | null | undefined;
3456
3766
  blueColor?: string | null | undefined;
3767
+ dataColors?: [string, string, string, string, string, string, string] | null | undefined;
3768
+ } | null | undefined;
3769
+ paletteConfig?: {
3770
+ version: 1;
3771
+ colors: {
3772
+ primary: string;
3773
+ secondary: string;
3774
+ highlight?: string | null | undefined;
3775
+ contrast?: string | null | undefined;
3776
+ };
3777
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
3457
3778
  } | null | undefined;
3458
3779
  logoAssetId?: string | null | undefined;
3459
3780
  welcomeMessage?: string | null | undefined;
@@ -3481,6 +3802,17 @@ export declare const resolvedAccessContextSchema: z.ZodObject<{
3481
3802
  pinkColor?: string | null | undefined;
3482
3803
  deepGreenColor?: string | null | undefined;
3483
3804
  blueColor?: string | null | undefined;
3805
+ dataColors?: [string, string, string, string, string, string, string] | null | undefined;
3806
+ } | null | undefined;
3807
+ paletteConfig?: {
3808
+ version: 1;
3809
+ colors: {
3810
+ primary: string;
3811
+ secondary: string;
3812
+ highlight?: string | null | undefined;
3813
+ contrast?: string | null | undefined;
3814
+ };
3815
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
3484
3816
  } | null | undefined;
3485
3817
  logoAssetId?: string | null | undefined;
3486
3818
  welcomeMessage?: string | null | undefined;
@@ -3508,6 +3840,17 @@ export declare const resolvedAccessContextSchema: z.ZodObject<{
3508
3840
  pinkColor?: string | null | undefined;
3509
3841
  deepGreenColor?: string | null | undefined;
3510
3842
  blueColor?: string | null | undefined;
3843
+ dataColors?: [string, string, string, string, string, string, string] | null | undefined;
3844
+ } | null | undefined;
3845
+ paletteConfig?: {
3846
+ version: 1;
3847
+ colors: {
3848
+ primary: string;
3849
+ secondary: string;
3850
+ highlight?: string | null | undefined;
3851
+ contrast?: string | null | undefined;
3852
+ };
3853
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
3511
3854
  } | null | undefined;
3512
3855
  logoAssetId?: string | null | undefined;
3513
3856
  welcomeMessage?: string | null | undefined;
@@ -3616,6 +3959,17 @@ export declare const resolvedAccessContextSchema: z.ZodObject<{
3616
3959
  pinkColor?: string | null | undefined;
3617
3960
  deepGreenColor?: string | null | undefined;
3618
3961
  blueColor?: string | null | undefined;
3962
+ dataColors?: [string, string, string, string, string, string, string] | null | undefined;
3963
+ } | null | undefined;
3964
+ paletteConfig?: {
3965
+ version: 1;
3966
+ colors: {
3967
+ primary: string;
3968
+ secondary: string;
3969
+ highlight?: string | null | undefined;
3970
+ contrast?: string | null | undefined;
3971
+ };
3972
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
3619
3973
  } | null | undefined;
3620
3974
  logoAssetId?: string | null | undefined;
3621
3975
  welcomeMessage?: string | null | undefined;
@@ -3700,6 +4054,17 @@ export declare const resolvedAccessContextSchema: z.ZodObject<{
3700
4054
  pinkColor?: string | null | undefined;
3701
4055
  deepGreenColor?: string | null | undefined;
3702
4056
  blueColor?: string | null | undefined;
4057
+ dataColors?: [string, string, string, string, string, string, string] | null | undefined;
4058
+ } | null | undefined;
4059
+ paletteConfig?: {
4060
+ version: 1;
4061
+ colors: {
4062
+ primary: string;
4063
+ secondary: string;
4064
+ highlight?: string | null | undefined;
4065
+ contrast?: string | null | undefined;
4066
+ };
4067
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
3703
4068
  } | null | undefined;
3704
4069
  logoAssetId?: string | null | undefined;
3705
4070
  welcomeMessage?: string | null | undefined;
@@ -3870,6 +4235,17 @@ export declare const resolvedAccessContextSchema: z.ZodObject<{
3870
4235
  pinkColor?: string | null | undefined;
3871
4236
  deepGreenColor?: string | null | undefined;
3872
4237
  blueColor?: string | null | undefined;
4238
+ dataColors?: [string, string, string, string, string, string, string] | null | undefined;
4239
+ } | null | undefined;
4240
+ paletteConfig?: {
4241
+ version: 1;
4242
+ colors: {
4243
+ primary: string;
4244
+ secondary: string;
4245
+ highlight?: string | null | undefined;
4246
+ contrast?: string | null | undefined;
4247
+ };
4248
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
3873
4249
  } | null | undefined;
3874
4250
  logoAssetId?: string | null | undefined;
3875
4251
  welcomeMessage?: string | null | undefined;
@@ -4040,6 +4416,17 @@ export declare const resolvedAccessContextSchema: z.ZodObject<{
4040
4416
  pinkColor?: string | null | undefined;
4041
4417
  deepGreenColor?: string | null | undefined;
4042
4418
  blueColor?: string | null | undefined;
4419
+ dataColors?: [string, string, string, string, string, string, string] | null | undefined;
4420
+ } | null | undefined;
4421
+ paletteConfig?: {
4422
+ version: 1;
4423
+ colors: {
4424
+ primary: string;
4425
+ secondary: string;
4426
+ highlight?: string | null | undefined;
4427
+ contrast?: string | null | undefined;
4428
+ };
4429
+ schemeId: "balanced" | "primaryLed" | "secondaryLed" | "soft";
4043
4430
  } | null | undefined;
4044
4431
  logoAssetId?: string | null | undefined;
4045
4432
  welcomeMessage?: 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, organizationBrandingDataColorsSchema, 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(),
@@ -104,13 +104,15 @@ export const organizationBrandingThemeSchema = z.object({
104
104
  yellowColor: brandColorSchema.nullable().optional(),
105
105
  pinkColor: brandColorSchema.nullable().optional(),
106
106
  deepGreenColor: brandColorSchema.nullable().optional(),
107
- blueColor: brandColorSchema.nullable().optional()
107
+ blueColor: brandColorSchema.nullable().optional(),
108
+ dataColors: organizationBrandingDataColorsSchema.nullable().optional()
108
109
  }).strict();
109
110
  export const organizationBrandingSchema = z.object({
110
111
  primaryColor: brandColorSchema.nullable().optional(),
111
112
  accentColor: brandColorSchema.nullable().optional(),
112
113
  backgroundColor: brandColorSchema.nullable().optional(),
113
114
  theme: organizationBrandingThemeSchema.nullable().optional(),
115
+ paletteConfig: organizationBrandingPaletteConfigSchema.nullable().optional(),
114
116
  logoAssetId: z.string().trim().min(1).max(2048).nullable().optional(),
115
117
  welcomeMessage: z.string().trim().min(1).max(180).nullable().optional(),
116
118
  updatedAt: nullableIsoDateStringSchema.optional()