@nikthegeek/dreamsforlittles-shared 0.1.2 → 0.4.1

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 (73) 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 +821 -169
  5. package/dist/admin.js +33 -2
  6. package/dist/admin.js.map +1 -1
  7. package/dist/analysis.d.ts +12 -12
  8. package/dist/api.d.ts +5 -5
  9. package/dist/app-runtime-users.d.ts +464 -0
  10. package/dist/app-runtime-users.js +64 -0
  11. package/dist/app-runtime-users.js.map +1 -0
  12. package/dist/auth.d.ts +20 -2
  13. package/dist/auth.js +7 -2
  14. package/dist/auth.js.map +1 -1
  15. package/dist/client-notices.d.ts +585 -585
  16. package/dist/coach-acquisition.d.ts +47 -0
  17. package/dist/coach-acquisition.js +45 -0
  18. package/dist/coach-acquisition.js.map +1 -0
  19. package/dist/coach-activity-notifications.d.ts +610 -0
  20. package/dist/coach-activity-notifications.js +179 -0
  21. package/dist/coach-activity-notifications.js.map +1 -0
  22. package/dist/coach-family-chat.d.ts +1658 -0
  23. package/dist/coach-family-chat.js +342 -0
  24. package/dist/coach-family-chat.js.map +1 -0
  25. package/dist/coach-family-chat.test.d.ts +1 -0
  26. package/dist/coach-family-chat.test.js +129 -0
  27. package/dist/coach-family-chat.test.js.map +1 -0
  28. package/dist/coach-growth.d.ts +706 -0
  29. package/dist/coach-growth.js +191 -0
  30. package/dist/coach-growth.js.map +1 -0
  31. package/dist/coach-growth.test.d.ts +1 -0
  32. package/dist/coach-growth.test.js +109 -0
  33. package/dist/coach-growth.test.js.map +1 -0
  34. package/dist/coach-private-notes.d.ts +169 -0
  35. package/dist/coach-private-notes.js +28 -0
  36. package/dist/coach-private-notes.js.map +1 -0
  37. package/dist/coach.d.ts +395 -374
  38. package/dist/coach.js +6 -1
  39. package/dist/coach.js.map +1 -1
  40. package/dist/enums.d.ts +1 -1
  41. package/dist/enums.js +14 -1
  42. package/dist/enums.js.map +1 -1
  43. package/dist/errors.d.ts +18 -4
  44. package/dist/errors.js +42 -0
  45. package/dist/errors.js.map +1 -1
  46. package/dist/family-invitations.d.ts +2 -2
  47. package/dist/family-profile-artifacts.d.ts +43 -31
  48. package/dist/family-profile-artifacts.js +4 -1
  49. package/dist/family-profile-artifacts.js.map +1 -1
  50. package/dist/family.d.ts +3152 -1499
  51. package/dist/family.js +30 -1
  52. package/dist/family.js.map +1 -1
  53. package/dist/geography.d.ts +15 -0
  54. package/dist/geography.js +45 -0
  55. package/dist/geography.js.map +1 -0
  56. package/dist/index.d.ts +8 -0
  57. package/dist/index.js +8 -0
  58. package/dist/index.js.map +1 -1
  59. package/dist/invites.d.ts +6 -6
  60. package/dist/mobile-web-releases.d.ts +14 -14
  61. package/dist/native-app-updates.d.ts +339 -0
  62. package/dist/native-app-updates.js +106 -0
  63. package/dist/native-app-updates.js.map +1 -0
  64. package/dist/notification-banners.d.ts +28 -28
  65. package/dist/product-analytics.d.ts +181 -181
  66. package/dist/product-analytics.js +1 -0
  67. package/dist/product-analytics.js.map +1 -1
  68. package/dist/push-devices.d.ts +6 -6
  69. package/dist/realtime.d.ts +12 -12
  70. package/dist/support-tickets.d.ts +28 -28
  71. package/fixtures/coach-family-chat-push-v1.json +104 -0
  72. package/fixtures/coach-family-chat-push-v1.sha256 +1 -0
  73. package/package.json +5 -3
@@ -24,9 +24,9 @@ export declare const notificationBannerWriteRequestSchema: z.ZodEffects<z.ZodEff
24
24
  excludeEmails: z.ZodEffects<z.ZodDefault<z.ZodArray<z.ZodString, "many">>, string[], string[] | undefined>;
25
25
  }, "strict", z.ZodTypeAny, {
26
26
  title: string;
27
+ pushEnabled: boolean;
27
28
  priority: number;
28
29
  dismissible: boolean;
29
- pushEnabled: boolean;
30
30
  includeEmails: string[];
31
31
  excludeEmails: string[];
32
32
  message?: string | null | undefined;
@@ -43,20 +43,20 @@ export declare const notificationBannerWriteRequestSchema: z.ZodEffects<z.ZodEff
43
43
  startsAt?: string | null | undefined;
44
44
  endsAt?: string | null | undefined;
45
45
  icon?: string | null | undefined;
46
+ pushEnabled?: boolean | undefined;
46
47
  audience?: "families" | "coaches" | "all" | undefined;
47
48
  subtitle?: string | null | undefined;
48
49
  priority?: number | undefined;
49
50
  dismissible?: boolean | undefined;
50
- pushEnabled?: boolean | undefined;
51
51
  linkText?: string | null | undefined;
52
52
  linkUrl?: string | null | undefined;
53
53
  includeEmails?: string[] | undefined;
54
54
  excludeEmails?: string[] | undefined;
55
55
  }>, {
56
56
  title: string;
57
+ pushEnabled: boolean;
57
58
  priority: number;
58
59
  dismissible: boolean;
59
- pushEnabled: boolean;
60
60
  includeEmails: string[];
61
61
  excludeEmails: string[];
62
62
  message?: string | null | undefined;
@@ -73,20 +73,20 @@ export declare const notificationBannerWriteRequestSchema: z.ZodEffects<z.ZodEff
73
73
  startsAt?: string | null | undefined;
74
74
  endsAt?: string | null | undefined;
75
75
  icon?: string | null | undefined;
76
+ pushEnabled?: boolean | undefined;
76
77
  audience?: "families" | "coaches" | "all" | undefined;
77
78
  subtitle?: string | null | undefined;
78
79
  priority?: number | undefined;
79
80
  dismissible?: boolean | undefined;
80
- pushEnabled?: boolean | undefined;
81
81
  linkText?: string | null | undefined;
82
82
  linkUrl?: string | null | undefined;
83
83
  includeEmails?: string[] | undefined;
84
84
  excludeEmails?: string[] | undefined;
85
85
  }>, {
86
86
  title: string;
87
+ pushEnabled: boolean;
87
88
  priority: number;
88
89
  dismissible: boolean;
89
- pushEnabled: boolean;
90
90
  includeEmails: string[];
91
91
  excludeEmails: string[];
92
92
  message?: string | null | undefined;
@@ -103,11 +103,11 @@ export declare const notificationBannerWriteRequestSchema: z.ZodEffects<z.ZodEff
103
103
  startsAt?: string | null | undefined;
104
104
  endsAt?: string | null | undefined;
105
105
  icon?: string | null | undefined;
106
+ pushEnabled?: boolean | undefined;
106
107
  audience?: "families" | "coaches" | "all" | undefined;
107
108
  subtitle?: string | null | undefined;
108
109
  priority?: number | undefined;
109
110
  dismissible?: boolean | undefined;
110
- pushEnabled?: boolean | undefined;
111
111
  linkText?: string | null | undefined;
112
112
  linkUrl?: string | null | undefined;
113
113
  includeEmails?: string[] | undefined;
@@ -123,9 +123,9 @@ export declare const notificationBannerStatusUpdateRequestSchema: z.ZodObject<{
123
123
  export declare const notificationBannerEligibleQuerySchema: z.ZodObject<{
124
124
  platform: z.ZodOptional<z.ZodEnum<["ios", "android", "web", "all"]>>;
125
125
  }, "strict", z.ZodTypeAny, {
126
- platform?: "ios" | "android" | "all" | "web" | undefined;
126
+ platform?: "ios" | "android" | "web" | "all" | undefined;
127
127
  }, {
128
- platform?: "ios" | "android" | "all" | "web" | undefined;
128
+ platform?: "ios" | "android" | "web" | "all" | undefined;
129
129
  }>;
130
130
  export declare const notificationBannerReceiptEventRequestSchema: z.ZodObject<{
131
131
  event: z.ZodEnum<["seen", "dismissed", "clicked"]>;
@@ -175,10 +175,10 @@ export declare const notificationBannerSchema: z.ZodObject<{
175
175
  createdBy: string;
176
176
  title: string;
177
177
  updatedBy: string;
178
+ pushEnabled: boolean;
178
179
  audience: "families" | "coaches" | "all";
179
180
  priority: number;
180
181
  dismissible: boolean;
181
- pushEnabled: boolean;
182
182
  includeEmails: string[];
183
183
  excludeEmails: string[];
184
184
  scope: "global" | "coachClients";
@@ -192,7 +192,7 @@ export declare const notificationBannerSchema: z.ZodObject<{
192
192
  subtitle?: string | null | undefined;
193
193
  linkText?: string | null | undefined;
194
194
  linkUrl?: string | null | undefined;
195
- platforms?: ("ios" | "android" | "all" | "web")[] | undefined;
195
+ platforms?: ("ios" | "android" | "web" | "all")[] | undefined;
196
196
  publishedBy?: string | null | undefined;
197
197
  }, {
198
198
  status: "archived" | "expired" | "paused" | "live" | "scheduled" | "draft";
@@ -212,14 +212,14 @@ export declare const notificationBannerSchema: z.ZodObject<{
212
212
  startsAt?: string | null | undefined;
213
213
  endsAt?: string | null | undefined;
214
214
  icon?: string | null | undefined;
215
+ pushEnabled?: boolean | undefined;
215
216
  publishedAt?: string | null | undefined;
216
217
  subtitle?: string | null | undefined;
217
- pushEnabled?: boolean | undefined;
218
218
  linkText?: string | null | undefined;
219
219
  linkUrl?: string | null | undefined;
220
220
  includeEmails?: string[] | undefined;
221
221
  excludeEmails?: string[] | undefined;
222
- platforms?: ("ios" | "android" | "all" | "web")[] | undefined;
222
+ platforms?: ("ios" | "android" | "web" | "all")[] | undefined;
223
223
  publishedBy?: string | null | undefined;
224
224
  }>;
225
225
  export declare const notificationBannerReceiptSchema: z.ZodObject<{
@@ -295,10 +295,10 @@ export declare const notificationBannersResponseSchema: z.ZodObject<{
295
295
  createdBy: string;
296
296
  title: string;
297
297
  updatedBy: string;
298
+ pushEnabled: boolean;
298
299
  audience: "families" | "coaches" | "all";
299
300
  priority: number;
300
301
  dismissible: boolean;
301
- pushEnabled: boolean;
302
302
  includeEmails: string[];
303
303
  excludeEmails: string[];
304
304
  scope: "global" | "coachClients";
@@ -312,7 +312,7 @@ export declare const notificationBannersResponseSchema: z.ZodObject<{
312
312
  subtitle?: string | null | undefined;
313
313
  linkText?: string | null | undefined;
314
314
  linkUrl?: string | null | undefined;
315
- platforms?: ("ios" | "android" | "all" | "web")[] | undefined;
315
+ platforms?: ("ios" | "android" | "web" | "all")[] | undefined;
316
316
  publishedBy?: string | null | undefined;
317
317
  }, {
318
318
  status: "archived" | "expired" | "paused" | "live" | "scheduled" | "draft";
@@ -332,14 +332,14 @@ export declare const notificationBannersResponseSchema: z.ZodObject<{
332
332
  startsAt?: string | null | undefined;
333
333
  endsAt?: string | null | undefined;
334
334
  icon?: string | null | undefined;
335
+ pushEnabled?: boolean | undefined;
335
336
  publishedAt?: string | null | undefined;
336
337
  subtitle?: string | null | undefined;
337
- pushEnabled?: boolean | undefined;
338
338
  linkText?: string | null | undefined;
339
339
  linkUrl?: string | null | undefined;
340
340
  includeEmails?: string[] | undefined;
341
341
  excludeEmails?: string[] | undefined;
342
- platforms?: ("ios" | "android" | "all" | "web")[] | undefined;
342
+ platforms?: ("ios" | "android" | "web" | "all")[] | undefined;
343
343
  publishedBy?: string | null | undefined;
344
344
  }>, "many">;
345
345
  }, "strip", z.ZodTypeAny, {
@@ -351,10 +351,10 @@ export declare const notificationBannersResponseSchema: z.ZodObject<{
351
351
  createdBy: string;
352
352
  title: string;
353
353
  updatedBy: string;
354
+ pushEnabled: boolean;
354
355
  audience: "families" | "coaches" | "all";
355
356
  priority: number;
356
357
  dismissible: boolean;
357
- pushEnabled: boolean;
358
358
  includeEmails: string[];
359
359
  excludeEmails: string[];
360
360
  scope: "global" | "coachClients";
@@ -368,7 +368,7 @@ export declare const notificationBannersResponseSchema: z.ZodObject<{
368
368
  subtitle?: string | null | undefined;
369
369
  linkText?: string | null | undefined;
370
370
  linkUrl?: string | null | undefined;
371
- platforms?: ("ios" | "android" | "all" | "web")[] | undefined;
371
+ platforms?: ("ios" | "android" | "web" | "all")[] | undefined;
372
372
  publishedBy?: string | null | undefined;
373
373
  }[];
374
374
  }, {
@@ -390,14 +390,14 @@ export declare const notificationBannersResponseSchema: z.ZodObject<{
390
390
  startsAt?: string | null | undefined;
391
391
  endsAt?: string | null | undefined;
392
392
  icon?: string | null | undefined;
393
+ pushEnabled?: boolean | undefined;
393
394
  publishedAt?: string | null | undefined;
394
395
  subtitle?: string | null | undefined;
395
- pushEnabled?: boolean | undefined;
396
396
  linkText?: string | null | undefined;
397
397
  linkUrl?: string | null | undefined;
398
398
  includeEmails?: string[] | undefined;
399
399
  excludeEmails?: string[] | undefined;
400
- platforms?: ("ios" | "android" | "all" | "web")[] | undefined;
400
+ platforms?: ("ios" | "android" | "web" | "all")[] | undefined;
401
401
  publishedBy?: string | null | undefined;
402
402
  }[];
403
403
  }>;
@@ -437,10 +437,10 @@ export declare const notificationBannerResponseSchema: z.ZodObject<{
437
437
  createdBy: string;
438
438
  title: string;
439
439
  updatedBy: string;
440
+ pushEnabled: boolean;
440
441
  audience: "families" | "coaches" | "all";
441
442
  priority: number;
442
443
  dismissible: boolean;
443
- pushEnabled: boolean;
444
444
  includeEmails: string[];
445
445
  excludeEmails: string[];
446
446
  scope: "global" | "coachClients";
@@ -454,7 +454,7 @@ export declare const notificationBannerResponseSchema: z.ZodObject<{
454
454
  subtitle?: string | null | undefined;
455
455
  linkText?: string | null | undefined;
456
456
  linkUrl?: string | null | undefined;
457
- platforms?: ("ios" | "android" | "all" | "web")[] | undefined;
457
+ platforms?: ("ios" | "android" | "web" | "all")[] | undefined;
458
458
  publishedBy?: string | null | undefined;
459
459
  }, {
460
460
  status: "archived" | "expired" | "paused" | "live" | "scheduled" | "draft";
@@ -474,14 +474,14 @@ export declare const notificationBannerResponseSchema: z.ZodObject<{
474
474
  startsAt?: string | null | undefined;
475
475
  endsAt?: string | null | undefined;
476
476
  icon?: string | null | undefined;
477
+ pushEnabled?: boolean | undefined;
477
478
  publishedAt?: string | null | undefined;
478
479
  subtitle?: string | null | undefined;
479
- pushEnabled?: boolean | undefined;
480
480
  linkText?: string | null | undefined;
481
481
  linkUrl?: string | null | undefined;
482
482
  includeEmails?: string[] | undefined;
483
483
  excludeEmails?: string[] | undefined;
484
- platforms?: ("ios" | "android" | "all" | "web")[] | undefined;
484
+ platforms?: ("ios" | "android" | "web" | "all")[] | undefined;
485
485
  publishedBy?: string | null | undefined;
486
486
  }>;
487
487
  }, "strip", z.ZodTypeAny, {
@@ -493,10 +493,10 @@ export declare const notificationBannerResponseSchema: z.ZodObject<{
493
493
  createdBy: string;
494
494
  title: string;
495
495
  updatedBy: string;
496
+ pushEnabled: boolean;
496
497
  audience: "families" | "coaches" | "all";
497
498
  priority: number;
498
499
  dismissible: boolean;
499
- pushEnabled: boolean;
500
500
  includeEmails: string[];
501
501
  excludeEmails: string[];
502
502
  scope: "global" | "coachClients";
@@ -510,7 +510,7 @@ export declare const notificationBannerResponseSchema: z.ZodObject<{
510
510
  subtitle?: string | null | undefined;
511
511
  linkText?: string | null | undefined;
512
512
  linkUrl?: string | null | undefined;
513
- platforms?: ("ios" | "android" | "all" | "web")[] | undefined;
513
+ platforms?: ("ios" | "android" | "web" | "all")[] | undefined;
514
514
  publishedBy?: string | null | undefined;
515
515
  };
516
516
  }, {
@@ -532,14 +532,14 @@ export declare const notificationBannerResponseSchema: z.ZodObject<{
532
532
  startsAt?: string | null | undefined;
533
533
  endsAt?: string | null | undefined;
534
534
  icon?: string | null | undefined;
535
+ pushEnabled?: boolean | undefined;
535
536
  publishedAt?: string | null | undefined;
536
537
  subtitle?: string | null | undefined;
537
- pushEnabled?: boolean | undefined;
538
538
  linkText?: string | null | undefined;
539
539
  linkUrl?: string | null | undefined;
540
540
  includeEmails?: string[] | undefined;
541
541
  excludeEmails?: string[] | undefined;
542
- platforms?: ("ios" | "android" | "all" | "web")[] | undefined;
542
+ platforms?: ("ios" | "android" | "web" | "all")[] | undefined;
543
543
  publishedBy?: string | null | undefined;
544
544
  };
545
545
  }>;