@nikthegeek/dreamsforlittles-shared 0.1.3 → 0.5.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 (71) hide show
  1. package/dist/access.d.ts +360 -12
  2. package/dist/access.js +9 -2
  3. package/dist/access.js.map +1 -1
  4. package/dist/admin.d.ts +2300 -165
  5. package/dist/admin.js +128 -1
  6. package/dist/admin.js.map +1 -1
  7. package/dist/api.d.ts +5 -5
  8. package/dist/app-runtime-users.d.ts +464 -0
  9. package/dist/app-runtime-users.js +64 -0
  10. package/dist/app-runtime-users.js.map +1 -0
  11. package/dist/auth.d.ts +37 -4
  12. package/dist/auth.js +12 -4
  13. package/dist/auth.js.map +1 -1
  14. package/dist/client-notices.d.ts +77 -77
  15. package/dist/coach-acquisition.d.ts +47 -0
  16. package/dist/coach-acquisition.js +45 -0
  17. package/dist/coach-acquisition.js.map +1 -0
  18. package/dist/coach-activity-notifications.d.ts +16 -16
  19. package/dist/coach-family-chat.d.ts +1658 -0
  20. package/dist/coach-family-chat.js +342 -0
  21. package/dist/coach-family-chat.js.map +1 -0
  22. package/dist/coach-family-chat.test.d.ts +1 -0
  23. package/dist/coach-family-chat.test.js +129 -0
  24. package/dist/coach-family-chat.test.js.map +1 -0
  25. package/dist/coach-growth.d.ts +706 -0
  26. package/dist/coach-growth.js +191 -0
  27. package/dist/coach-growth.js.map +1 -0
  28. package/dist/coach-growth.test.d.ts +1 -0
  29. package/dist/coach-growth.test.js +113 -0
  30. package/dist/coach-growth.test.js.map +1 -0
  31. package/dist/coach.d.ts +61 -48
  32. package/dist/coach.js +4 -0
  33. package/dist/coach.js.map +1 -1
  34. package/dist/enums.d.ts +1 -1
  35. package/dist/enums.js +9 -1
  36. package/dist/enums.js.map +1 -1
  37. package/dist/errors.d.ts +15 -4
  38. package/dist/errors.js +33 -0
  39. package/dist/errors.js.map +1 -1
  40. package/dist/family-acquisition.d.ts +47 -0
  41. package/dist/family-acquisition.js +45 -0
  42. package/dist/family-acquisition.js.map +1 -0
  43. package/dist/family-acquisition.test.d.ts +1 -0
  44. package/dist/family-acquisition.test.js +121 -0
  45. package/dist/family-acquisition.test.js.map +1 -0
  46. package/dist/family-invitations.d.ts +2 -2
  47. package/dist/family-profile-artifacts.d.ts +28 -28
  48. package/dist/family.d.ts +1411 -147
  49. package/dist/family.js +27 -0
  50. package/dist/family.js.map +1 -1
  51. package/dist/geography.d.ts +15 -0
  52. package/dist/geography.js +45 -0
  53. package/dist/geography.js.map +1 -0
  54. package/dist/index.d.ts +7 -0
  55. package/dist/index.js +7 -0
  56. package/dist/index.js.map +1 -1
  57. package/dist/invites.d.ts +6 -6
  58. package/dist/mobile-web-releases.d.ts +14 -14
  59. package/dist/native-app-updates.d.ts +339 -0
  60. package/dist/native-app-updates.js +106 -0
  61. package/dist/native-app-updates.js.map +1 -0
  62. package/dist/notification-banners.d.ts +12 -12
  63. package/dist/product-analytics.d.ts +276 -276
  64. package/dist/product-analytics.js +1 -0
  65. package/dist/product-analytics.js.map +1 -1
  66. package/dist/push-devices.d.ts +6 -6
  67. package/dist/realtime.d.ts +12 -12
  68. package/dist/support-tickets.d.ts +10 -10
  69. package/fixtures/coach-family-chat-push-v1.json +104 -0
  70. package/fixtures/coach-family-chat-push-v1.sha256 +1 -0
  71. package/package.json +5 -3
@@ -1265,10 +1265,10 @@ export declare const familyQuestionnaireSchema: z.ZodObject<{
1265
1265
  selected: string | string[];
1266
1266
  freeText?: Record<string, string> | undefined;
1267
1267
  } | null>;
1268
+ organizationName?: string | null | undefined;
1268
1269
  templateId?: string | null | undefined;
1269
1270
  templateName?: string | null | undefined;
1270
1271
  coachName?: string | null | undefined;
1271
- organizationName?: string | null | undefined;
1272
1272
  organizationBranding?: {
1273
1273
  primaryColor?: string | null | undefined;
1274
1274
  accentColor?: string | null | undefined;
@@ -1320,10 +1320,10 @@ export declare const familyQuestionnaireSchema: z.ZodObject<{
1320
1320
  selected: string | string[];
1321
1321
  freeText?: Record<string, string> | undefined;
1322
1322
  } | null>;
1323
+ organizationName?: string | null | undefined;
1323
1324
  templateId?: string | null | undefined;
1324
1325
  templateName?: string | null | undefined;
1325
1326
  coachName?: string | null | undefined;
1326
- organizationName?: string | null | undefined;
1327
1327
  organizationBranding?: {
1328
1328
  primaryColor?: string | null | undefined;
1329
1329
  accentColor?: string | null | undefined;
@@ -1543,10 +1543,10 @@ export declare const familyQuestionnaireResponseSchema: z.ZodObject<{
1543
1543
  selected: string | string[];
1544
1544
  freeText?: Record<string, string> | undefined;
1545
1545
  } | null>;
1546
+ organizationName?: string | null | undefined;
1546
1547
  templateId?: string | null | undefined;
1547
1548
  templateName?: string | null | undefined;
1548
1549
  coachName?: string | null | undefined;
1549
- organizationName?: string | null | undefined;
1550
1550
  organizationBranding?: {
1551
1551
  primaryColor?: string | null | undefined;
1552
1552
  accentColor?: string | null | undefined;
@@ -1598,10 +1598,10 @@ export declare const familyQuestionnaireResponseSchema: z.ZodObject<{
1598
1598
  selected: string | string[];
1599
1599
  freeText?: Record<string, string> | undefined;
1600
1600
  } | null>;
1601
+ organizationName?: string | null | undefined;
1601
1602
  templateId?: string | null | undefined;
1602
1603
  templateName?: string | null | undefined;
1603
1604
  coachName?: string | null | undefined;
1604
- organizationName?: string | null | undefined;
1605
1605
  organizationBranding?: {
1606
1606
  primaryColor?: string | null | undefined;
1607
1607
  accentColor?: string | null | undefined;
@@ -1655,10 +1655,10 @@ export declare const familyQuestionnaireResponseSchema: z.ZodObject<{
1655
1655
  selected: string | string[];
1656
1656
  freeText?: Record<string, string> | undefined;
1657
1657
  } | null>;
1658
+ organizationName?: string | null | undefined;
1658
1659
  templateId?: string | null | undefined;
1659
1660
  templateName?: string | null | undefined;
1660
1661
  coachName?: string | null | undefined;
1661
- organizationName?: string | null | undefined;
1662
1662
  organizationBranding?: {
1663
1663
  primaryColor?: string | null | undefined;
1664
1664
  accentColor?: string | null | undefined;
@@ -1712,10 +1712,10 @@ export declare const familyQuestionnaireResponseSchema: z.ZodObject<{
1712
1712
  selected: string | string[];
1713
1713
  freeText?: Record<string, string> | undefined;
1714
1714
  } | null>;
1715
+ organizationName?: string | null | undefined;
1715
1716
  templateId?: string | null | undefined;
1716
1717
  templateName?: string | null | undefined;
1717
1718
  coachName?: string | null | undefined;
1718
- organizationName?: string | null | undefined;
1719
1719
  organizationBranding?: {
1720
1720
  primaryColor?: string | null | undefined;
1721
1721
  accentColor?: string | null | undefined;
@@ -1936,10 +1936,10 @@ export declare const familyQuestionnaireReadResponseSchema: z.ZodObject<{
1936
1936
  selected: string | string[];
1937
1937
  freeText?: Record<string, string> | undefined;
1938
1938
  } | null>;
1939
+ organizationName?: string | null | undefined;
1939
1940
  templateId?: string | null | undefined;
1940
1941
  templateName?: string | null | undefined;
1941
1942
  coachName?: string | null | undefined;
1942
- organizationName?: string | null | undefined;
1943
1943
  organizationBranding?: {
1944
1944
  primaryColor?: string | null | undefined;
1945
1945
  accentColor?: string | null | undefined;
@@ -1991,10 +1991,10 @@ export declare const familyQuestionnaireReadResponseSchema: z.ZodObject<{
1991
1991
  selected: string | string[];
1992
1992
  freeText?: Record<string, string> | undefined;
1993
1993
  } | null>;
1994
+ organizationName?: string | null | undefined;
1994
1995
  templateId?: string | null | undefined;
1995
1996
  templateName?: string | null | undefined;
1996
1997
  coachName?: string | null | undefined;
1997
- organizationName?: string | null | undefined;
1998
1998
  organizationBranding?: {
1999
1999
  primaryColor?: string | null | undefined;
2000
2000
  accentColor?: string | null | undefined;
@@ -2048,10 +2048,10 @@ export declare const familyQuestionnaireReadResponseSchema: z.ZodObject<{
2048
2048
  selected: string | string[];
2049
2049
  freeText?: Record<string, string> | undefined;
2050
2050
  } | null>;
2051
+ organizationName?: string | null | undefined;
2051
2052
  templateId?: string | null | undefined;
2052
2053
  templateName?: string | null | undefined;
2053
2054
  coachName?: string | null | undefined;
2054
- organizationName?: string | null | undefined;
2055
2055
  organizationBranding?: {
2056
2056
  primaryColor?: string | null | undefined;
2057
2057
  accentColor?: string | null | undefined;
@@ -2105,10 +2105,10 @@ export declare const familyQuestionnaireReadResponseSchema: z.ZodObject<{
2105
2105
  selected: string | string[];
2106
2106
  freeText?: Record<string, string> | undefined;
2107
2107
  } | null>;
2108
+ organizationName?: string | null | undefined;
2108
2109
  templateId?: string | null | undefined;
2109
2110
  templateName?: string | null | undefined;
2110
2111
  coachName?: string | null | undefined;
2111
- organizationName?: string | null | undefined;
2112
2112
  organizationBranding?: {
2113
2113
  primaryColor?: string | null | undefined;
2114
2114
  accentColor?: string | null | undefined;
@@ -2337,10 +2337,10 @@ export declare const familyQuestionnairesResponseSchema: z.ZodObject<{
2337
2337
  selected: string | string[];
2338
2338
  freeText?: Record<string, string> | undefined;
2339
2339
  } | null>;
2340
+ organizationName?: string | null | undefined;
2340
2341
  templateId?: string | null | undefined;
2341
2342
  templateName?: string | null | undefined;
2342
2343
  coachName?: string | null | undefined;
2343
- organizationName?: string | null | undefined;
2344
2344
  organizationBranding?: {
2345
2345
  primaryColor?: string | null | undefined;
2346
2346
  accentColor?: string | null | undefined;
@@ -2392,10 +2392,10 @@ export declare const familyQuestionnairesResponseSchema: z.ZodObject<{
2392
2392
  selected: string | string[];
2393
2393
  freeText?: Record<string, string> | undefined;
2394
2394
  } | null>;
2395
+ organizationName?: string | null | undefined;
2395
2396
  templateId?: string | null | undefined;
2396
2397
  templateName?: string | null | undefined;
2397
2398
  coachName?: string | null | undefined;
2398
- organizationName?: string | null | undefined;
2399
2399
  organizationBranding?: {
2400
2400
  primaryColor?: string | null | undefined;
2401
2401
  accentColor?: string | null | undefined;
@@ -2449,10 +2449,10 @@ export declare const familyQuestionnairesResponseSchema: z.ZodObject<{
2449
2449
  selected: string | string[];
2450
2450
  freeText?: Record<string, string> | undefined;
2451
2451
  } | null>;
2452
+ organizationName?: string | null | undefined;
2452
2453
  templateId?: string | null | undefined;
2453
2454
  templateName?: string | null | undefined;
2454
2455
  coachName?: string | null | undefined;
2455
- organizationName?: string | null | undefined;
2456
2456
  organizationBranding?: {
2457
2457
  primaryColor?: string | null | undefined;
2458
2458
  accentColor?: string | null | undefined;
@@ -2506,10 +2506,10 @@ export declare const familyQuestionnairesResponseSchema: z.ZodObject<{
2506
2506
  selected: string | string[];
2507
2507
  freeText?: Record<string, string> | undefined;
2508
2508
  } | null>;
2509
+ organizationName?: string | null | undefined;
2509
2510
  templateId?: string | null | undefined;
2510
2511
  templateName?: string | null | undefined;
2511
2512
  coachName?: string | null | undefined;
2512
- organizationName?: string | null | undefined;
2513
2513
  organizationBranding?: {
2514
2514
  primaryColor?: string | null | undefined;
2515
2515
  accentColor?: string | null | undefined;
@@ -2944,8 +2944,8 @@ export declare const familySleepPlanSchema: z.ZodObject<{
2944
2944
  })[];
2945
2945
  }[];
2946
2946
  archivedAt?: string | null | undefined;
2947
- coachName?: string | null | undefined;
2948
2947
  organizationName?: string | null | undefined;
2948
+ coachName?: string | null | undefined;
2949
2949
  organizationBranding?: {
2950
2950
  primaryColor?: string | null | undefined;
2951
2951
  accentColor?: string | null | undefined;
@@ -3002,8 +3002,8 @@ export declare const familySleepPlanSchema: z.ZodObject<{
3002
3002
  }[];
3003
3003
  archivedAt?: string | null | undefined;
3004
3004
  version?: number | undefined;
3005
- coachName?: string | null | undefined;
3006
3005
  organizationName?: string | null | undefined;
3006
+ coachName?: string | null | undefined;
3007
3007
  organizationBranding?: {
3008
3008
  primaryColor?: string | null | undefined;
3009
3009
  accentColor?: string | null | undefined;
@@ -3386,8 +3386,8 @@ export declare const familySleepPlanResponseSchema: z.ZodObject<{
3386
3386
  })[];
3387
3387
  }[];
3388
3388
  archivedAt?: string | null | undefined;
3389
- coachName?: string | null | undefined;
3390
3389
  organizationName?: string | null | undefined;
3390
+ coachName?: string | null | undefined;
3391
3391
  organizationBranding?: {
3392
3392
  primaryColor?: string | null | undefined;
3393
3393
  accentColor?: string | null | undefined;
@@ -3444,8 +3444,8 @@ export declare const familySleepPlanResponseSchema: z.ZodObject<{
3444
3444
  }[];
3445
3445
  archivedAt?: string | null | undefined;
3446
3446
  version?: number | undefined;
3447
- coachName?: string | null | undefined;
3448
3447
  organizationName?: string | null | undefined;
3448
+ coachName?: string | null | undefined;
3449
3449
  organizationBranding?: {
3450
3450
  primaryColor?: string | null | undefined;
3451
3451
  accentColor?: string | null | undefined;
@@ -3689,8 +3689,8 @@ export declare const familySleepPlanResponseSchema: z.ZodObject<{
3689
3689
  })[];
3690
3690
  }[];
3691
3691
  archivedAt?: string | null | undefined;
3692
- coachName?: string | null | undefined;
3693
3692
  organizationName?: string | null | undefined;
3693
+ coachName?: string | null | undefined;
3694
3694
  organizationBranding?: {
3695
3695
  primaryColor?: string | null | undefined;
3696
3696
  accentColor?: string | null | undefined;
@@ -3747,8 +3747,8 @@ export declare const familySleepPlanResponseSchema: z.ZodObject<{
3747
3747
  }[];
3748
3748
  archivedAt?: string | null | undefined;
3749
3749
  version?: number | undefined;
3750
- coachName?: string | null | undefined;
3751
3750
  organizationName?: string | null | undefined;
3751
+ coachName?: string | null | undefined;
3752
3752
  organizationBranding?: {
3753
3753
  primaryColor?: string | null | undefined;
3754
3754
  accentColor?: string | null | undefined;
@@ -3807,8 +3807,8 @@ export declare const familySleepPlanResponseSchema: z.ZodObject<{
3807
3807
  })[];
3808
3808
  }[];
3809
3809
  archivedAt?: string | null | undefined;
3810
- coachName?: string | null | undefined;
3811
3810
  organizationName?: string | null | undefined;
3811
+ coachName?: string | null | undefined;
3812
3812
  organizationBranding?: {
3813
3813
  primaryColor?: string | null | undefined;
3814
3814
  accentColor?: string | null | undefined;
@@ -3866,8 +3866,8 @@ export declare const familySleepPlanResponseSchema: z.ZodObject<{
3866
3866
  })[];
3867
3867
  }[];
3868
3868
  archivedAt?: string | null | undefined;
3869
- coachName?: string | null | undefined;
3870
3869
  organizationName?: string | null | undefined;
3870
+ coachName?: string | null | undefined;
3871
3871
  organizationBranding?: {
3872
3872
  primaryColor?: string | null | undefined;
3873
3873
  accentColor?: string | null | undefined;
@@ -3926,8 +3926,8 @@ export declare const familySleepPlanResponseSchema: z.ZodObject<{
3926
3926
  }[];
3927
3927
  archivedAt?: string | null | undefined;
3928
3928
  version?: number | undefined;
3929
- coachName?: string | null | undefined;
3930
3929
  organizationName?: string | null | undefined;
3930
+ coachName?: string | null | undefined;
3931
3931
  organizationBranding?: {
3932
3932
  primaryColor?: string | null | undefined;
3933
3933
  accentColor?: string | null | undefined;
@@ -3985,8 +3985,8 @@ export declare const familySleepPlanResponseSchema: z.ZodObject<{
3985
3985
  }[];
3986
3986
  archivedAt?: string | null | undefined;
3987
3987
  version?: number | undefined;
3988
- coachName?: string | null | undefined;
3989
3988
  organizationName?: string | null | undefined;
3989
+ coachName?: string | null | undefined;
3990
3990
  organizationBranding?: {
3991
3991
  primaryColor?: string | null | undefined;
3992
3992
  accentColor?: string | null | undefined;
@@ -4233,8 +4233,8 @@ export declare const familySleepPlansResponseSchema: z.ZodObject<{
4233
4233
  })[];
4234
4234
  }[];
4235
4235
  archivedAt?: string | null | undefined;
4236
- coachName?: string | null | undefined;
4237
4236
  organizationName?: string | null | undefined;
4237
+ coachName?: string | null | undefined;
4238
4238
  organizationBranding?: {
4239
4239
  primaryColor?: string | null | undefined;
4240
4240
  accentColor?: string | null | undefined;
@@ -4291,8 +4291,8 @@ export declare const familySleepPlansResponseSchema: z.ZodObject<{
4291
4291
  }[];
4292
4292
  archivedAt?: string | null | undefined;
4293
4293
  version?: number | undefined;
4294
- coachName?: string | null | undefined;
4295
4294
  organizationName?: string | null | undefined;
4295
+ coachName?: string | null | undefined;
4296
4296
  organizationBranding?: {
4297
4297
  primaryColor?: string | null | undefined;
4298
4298
  accentColor?: string | null | undefined;
@@ -4351,8 +4351,8 @@ export declare const familySleepPlansResponseSchema: z.ZodObject<{
4351
4351
  })[];
4352
4352
  }[];
4353
4353
  archivedAt?: string | null | undefined;
4354
- coachName?: string | null | undefined;
4355
4354
  organizationName?: string | null | undefined;
4355
+ coachName?: string | null | undefined;
4356
4356
  organizationBranding?: {
4357
4357
  primaryColor?: string | null | undefined;
4358
4358
  accentColor?: string | null | undefined;
@@ -4411,8 +4411,8 @@ export declare const familySleepPlansResponseSchema: z.ZodObject<{
4411
4411
  }[];
4412
4412
  archivedAt?: string | null | undefined;
4413
4413
  version?: number | undefined;
4414
- coachName?: string | null | undefined;
4415
4414
  organizationName?: string | null | undefined;
4415
+ coachName?: string | null | undefined;
4416
4416
  organizationBranding?: {
4417
4417
  primaryColor?: string | null | undefined;
4418
4418
  accentColor?: string | null | undefined;