@nikthegeek/dreamsforlittles-shared 0.6.0 → 0.6.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.
package/dist/auth.d.ts CHANGED
@@ -55,6 +55,7 @@ export declare const onboardCoachRequestSchema: z.ZodIntersection<z.ZodObject<{
55
55
  name: z.ZodString;
56
56
  displayName: z.ZodOptional<z.ZodString>;
57
57
  email: z.ZodOptional<z.ZodString>;
58
+ businessCountryCode: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodEnum<["AD", "AE", "AF", "AG", "AI", "AL", "AM", "AO", "AQ", "AR", "AS", "AT", "AU", "AW", "AX", "AZ", "BA", "BB", "BD", "BE", "BF", "BG", "BH", "BI", "BJ", "BL", "BM", "BN", "BO", "BQ", "BR", "BS", "BT", "BV", "BW", "BY", "BZ", "CA", "CC", "CD", "CF", "CG", "CH", "CI", "CK", "CL", "CM", "CN", "CO", "CR", "CU", "CV", "CW", "CX", "CY", "CZ", "DE", "DJ", "DK", "DM", "DO", "DZ", "EC", "EE", "EG", "EH", "ER", "ES", "ET", "FI", "FJ", "FK", "FM", "FO", "FR", "GA", "GB", "GD", "GE", "GF", "GG", "GH", "GI", "GL", "GM", "GN", "GP", "GQ", "GR", "GS", "GT", "GU", "GW", "GY", "HK", "HM", "HN", "HR", "HT", "HU", "ID", "IE", "IL", "IM", "IN", "IO", "IQ", "IR", "IS", "IT", "JE", "JM", "JO", "JP", "KE", "KG", "KH", "KI", "KM", "KN", "KP", "KR", "KW", "KY", "KZ", "LA", "LB", "LC", "LI", "LK", "LR", "LS", "LT", "LU", "LV", "LY", "MA", "MC", "MD", "ME", "MF", "MG", "MH", "MK", "ML", "MM", "MN", "MO", "MP", "MQ", "MR", "MS", "MT", "MU", "MV", "MW", "MX", "MY", "MZ", "NA", "NC", "NE", "NF", "NG", "NI", "NL", "NO", "NP", "NR", "NU", "NZ", "OM", "PA", "PE", "PF", "PG", "PH", "PK", "PL", "PM", "PN", "PR", "PS", "PT", "PW", "PY", "QA", "RE", "RO", "RS", "RU", "RW", "SA", "SB", "SC", "SD", "SE", "SG", "SH", "SI", "SJ", "SK", "SL", "SM", "SN", "SO", "SR", "SS", "ST", "SV", "SX", "SY", "SZ", "TC", "TD", "TF", "TG", "TH", "TJ", "TK", "TL", "TM", "TN", "TO", "TR", "TT", "TV", "TW", "TZ", "UA", "UG", "UM", "US", "UY", "UZ", "VA", "VC", "VE", "VG", "VI", "VN", "VU", "WF", "WS", "YE", "YT", "ZA", "ZM", "ZW"]>, "AD" | "AE" | "AF" | "AG" | "AI" | "AL" | "AM" | "AO" | "AQ" | "AR" | "AS" | "AT" | "AU" | "AW" | "AX" | "AZ" | "BA" | "BB" | "BD" | "BE" | "BF" | "BG" | "BH" | "BI" | "BJ" | "BL" | "BM" | "BN" | "BO" | "BQ" | "BR" | "BS" | "BT" | "BV" | "BW" | "BY" | "BZ" | "CA" | "CC" | "CD" | "CF" | "CG" | "CH" | "CI" | "CK" | "CL" | "CM" | "CN" | "CO" | "CR" | "CU" | "CV" | "CW" | "CX" | "CY" | "CZ" | "DE" | "DJ" | "DK" | "DM" | "DO" | "DZ" | "EC" | "EE" | "EG" | "EH" | "ER" | "ES" | "ET" | "FI" | "FJ" | "FK" | "FM" | "FO" | "FR" | "GA" | "GB" | "GD" | "GE" | "GF" | "GG" | "GH" | "GI" | "GL" | "GM" | "GN" | "GP" | "GQ" | "GR" | "GS" | "GT" | "GU" | "GW" | "GY" | "HK" | "HM" | "HN" | "HR" | "HT" | "HU" | "ID" | "IE" | "IL" | "IM" | "IN" | "IO" | "IQ" | "IR" | "IS" | "IT" | "JE" | "JM" | "JO" | "JP" | "KE" | "KG" | "KH" | "KI" | "KM" | "KN" | "KP" | "KR" | "KW" | "KY" | "KZ" | "LA" | "LB" | "LC" | "LI" | "LK" | "LR" | "LS" | "LT" | "LU" | "LV" | "LY" | "MA" | "MC" | "MD" | "ME" | "MF" | "MG" | "MH" | "MK" | "ML" | "MM" | "MN" | "MO" | "MP" | "MQ" | "MR" | "MS" | "MT" | "MU" | "MV" | "MW" | "MX" | "MY" | "MZ" | "NA" | "NC" | "NE" | "NF" | "NG" | "NI" | "NL" | "NO" | "NP" | "NR" | "NU" | "NZ" | "OM" | "PA" | "PE" | "PF" | "PG" | "PH" | "PK" | "PL" | "PM" | "PN" | "PR" | "PS" | "PT" | "PW" | "PY" | "QA" | "RE" | "RO" | "RS" | "RU" | "RW" | "SA" | "SB" | "SC" | "SD" | "SE" | "SG" | "SH" | "SI" | "SJ" | "SK" | "SL" | "SM" | "SN" | "SO" | "SR" | "SS" | "ST" | "SV" | "SX" | "SY" | "SZ" | "TC" | "TD" | "TF" | "TG" | "TH" | "TJ" | "TK" | "TL" | "TM" | "TN" | "TO" | "TR" | "TT" | "TV" | "TW" | "TZ" | "UA" | "UG" | "UM" | "US" | "UY" | "UZ" | "VA" | "VC" | "VE" | "VG" | "VI" | "VN" | "VU" | "WF" | "WS" | "YE" | "YT" | "ZA" | "ZM" | "ZW", unknown>>>;
58
59
  communicationPreferences: z.ZodOptional<z.ZodObject<{
59
60
  hintsTips: z.ZodOptional<z.ZodBoolean>;
60
61
  appUpdatesNewFeatures: z.ZodOptional<z.ZodBoolean>;
@@ -77,6 +78,7 @@ export declare const onboardCoachRequestSchema: z.ZodIntersection<z.ZodObject<{
77
78
  promotionsOffers?: boolean | undefined;
78
79
  } | undefined;
79
80
  displayName?: string | undefined;
81
+ businessCountryCode?: "AD" | "AE" | "AF" | "AG" | "AI" | "AL" | "AM" | "AO" | "AQ" | "AR" | "AS" | "AT" | "AU" | "AW" | "AX" | "AZ" | "BA" | "BB" | "BD" | "BE" | "BF" | "BG" | "BH" | "BI" | "BJ" | "BL" | "BM" | "BN" | "BO" | "BQ" | "BR" | "BS" | "BT" | "BV" | "BW" | "BY" | "BZ" | "CA" | "CC" | "CD" | "CF" | "CG" | "CH" | "CI" | "CK" | "CL" | "CM" | "CN" | "CO" | "CR" | "CU" | "CV" | "CW" | "CX" | "CY" | "CZ" | "DE" | "DJ" | "DK" | "DM" | "DO" | "DZ" | "EC" | "EE" | "EG" | "EH" | "ER" | "ES" | "ET" | "FI" | "FJ" | "FK" | "FM" | "FO" | "FR" | "GA" | "GB" | "GD" | "GE" | "GF" | "GG" | "GH" | "GI" | "GL" | "GM" | "GN" | "GP" | "GQ" | "GR" | "GS" | "GT" | "GU" | "GW" | "GY" | "HK" | "HM" | "HN" | "HR" | "HT" | "HU" | "ID" | "IE" | "IL" | "IM" | "IN" | "IO" | "IQ" | "IR" | "IS" | "IT" | "JE" | "JM" | "JO" | "JP" | "KE" | "KG" | "KH" | "KI" | "KM" | "KN" | "KP" | "KR" | "KW" | "KY" | "KZ" | "LA" | "LB" | "LC" | "LI" | "LK" | "LR" | "LS" | "LT" | "LU" | "LV" | "LY" | "MA" | "MC" | "MD" | "ME" | "MF" | "MG" | "MH" | "MK" | "ML" | "MM" | "MN" | "MO" | "MP" | "MQ" | "MR" | "MS" | "MT" | "MU" | "MV" | "MW" | "MX" | "MY" | "MZ" | "NA" | "NC" | "NE" | "NF" | "NG" | "NI" | "NL" | "NO" | "NP" | "NR" | "NU" | "NZ" | "OM" | "PA" | "PE" | "PF" | "PG" | "PH" | "PK" | "PL" | "PM" | "PN" | "PR" | "PS" | "PT" | "PW" | "PY" | "QA" | "RE" | "RO" | "RS" | "RU" | "RW" | "SA" | "SB" | "SC" | "SD" | "SE" | "SG" | "SH" | "SI" | "SJ" | "SK" | "SL" | "SM" | "SN" | "SO" | "SR" | "SS" | "ST" | "SV" | "SX" | "SY" | "SZ" | "TC" | "TD" | "TF" | "TG" | "TH" | "TJ" | "TK" | "TL" | "TM" | "TN" | "TO" | "TR" | "TT" | "TV" | "TW" | "TZ" | "UA" | "UG" | "UM" | "US" | "UY" | "UZ" | "VA" | "VC" | "VE" | "VG" | "VI" | "VN" | "VU" | "WF" | "WS" | "YE" | "YT" | "ZA" | "ZM" | "ZW" | null | undefined;
80
82
  }, {
81
83
  name: string;
82
84
  email?: string | undefined;
@@ -86,6 +88,7 @@ export declare const onboardCoachRequestSchema: z.ZodIntersection<z.ZodObject<{
86
88
  promotionsOffers?: boolean | undefined;
87
89
  } | undefined;
88
90
  displayName?: string | undefined;
91
+ businessCountryCode?: unknown;
89
92
  }>, z.ZodEffects<z.ZodObject<{
90
93
  acquisitionSource: z.ZodOptional<z.ZodNullable<z.ZodEnum<["searchEngine", "socialMedia", "referral", "trainingOrEvent", "partner", "advertisement", "other", "preferNotToSay"]>>>;
91
94
  acquisitionSourceOtherText: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
@@ -114,15 +117,15 @@ export declare const updateProfileRequestSchema: z.ZodObject<{
114
117
  profileAssetId?: string | null | undefined;
115
118
  relationship?: "mother" | "father" | "grandfather" | "grandmother" | "uncle" | "aunt" | "guardian" | "other" | null | undefined;
116
119
  timeZone?: string | null | undefined;
117
- businessName?: string | undefined;
118
120
  businessCountryCode?: "AD" | "AE" | "AF" | "AG" | "AI" | "AL" | "AM" | "AO" | "AQ" | "AR" | "AS" | "AT" | "AU" | "AW" | "AX" | "AZ" | "BA" | "BB" | "BD" | "BE" | "BF" | "BG" | "BH" | "BI" | "BJ" | "BL" | "BM" | "BN" | "BO" | "BQ" | "BR" | "BS" | "BT" | "BV" | "BW" | "BY" | "BZ" | "CA" | "CC" | "CD" | "CF" | "CG" | "CH" | "CI" | "CK" | "CL" | "CM" | "CN" | "CO" | "CR" | "CU" | "CV" | "CW" | "CX" | "CY" | "CZ" | "DE" | "DJ" | "DK" | "DM" | "DO" | "DZ" | "EC" | "EE" | "EG" | "EH" | "ER" | "ES" | "ET" | "FI" | "FJ" | "FK" | "FM" | "FO" | "FR" | "GA" | "GB" | "GD" | "GE" | "GF" | "GG" | "GH" | "GI" | "GL" | "GM" | "GN" | "GP" | "GQ" | "GR" | "GS" | "GT" | "GU" | "GW" | "GY" | "HK" | "HM" | "HN" | "HR" | "HT" | "HU" | "ID" | "IE" | "IL" | "IM" | "IN" | "IO" | "IQ" | "IR" | "IS" | "IT" | "JE" | "JM" | "JO" | "JP" | "KE" | "KG" | "KH" | "KI" | "KM" | "KN" | "KP" | "KR" | "KW" | "KY" | "KZ" | "LA" | "LB" | "LC" | "LI" | "LK" | "LR" | "LS" | "LT" | "LU" | "LV" | "LY" | "MA" | "MC" | "MD" | "ME" | "MF" | "MG" | "MH" | "MK" | "ML" | "MM" | "MN" | "MO" | "MP" | "MQ" | "MR" | "MS" | "MT" | "MU" | "MV" | "MW" | "MX" | "MY" | "MZ" | "NA" | "NC" | "NE" | "NF" | "NG" | "NI" | "NL" | "NO" | "NP" | "NR" | "NU" | "NZ" | "OM" | "PA" | "PE" | "PF" | "PG" | "PH" | "PK" | "PL" | "PM" | "PN" | "PR" | "PS" | "PT" | "PW" | "PY" | "QA" | "RE" | "RO" | "RS" | "RU" | "RW" | "SA" | "SB" | "SC" | "SD" | "SE" | "SG" | "SH" | "SI" | "SJ" | "SK" | "SL" | "SM" | "SN" | "SO" | "SR" | "SS" | "ST" | "SV" | "SX" | "SY" | "SZ" | "TC" | "TD" | "TF" | "TG" | "TH" | "TJ" | "TK" | "TL" | "TM" | "TN" | "TO" | "TR" | "TT" | "TV" | "TW" | "TZ" | "UA" | "UG" | "UM" | "US" | "UY" | "UZ" | "VA" | "VC" | "VE" | "VG" | "VI" | "VN" | "VU" | "WF" | "WS" | "YE" | "YT" | "ZA" | "ZM" | "ZW" | null | undefined;
121
+ businessName?: string | undefined;
119
122
  }, {
120
123
  name: string;
121
124
  profileAssetId?: string | null | undefined;
122
125
  relationship?: "mother" | "father" | "grandfather" | "grandmother" | "uncle" | "aunt" | "guardian" | "other" | null | undefined;
123
126
  timeZone?: string | null | undefined;
124
- businessName?: string | undefined;
125
127
  businessCountryCode?: unknown;
128
+ businessName?: string | undefined;
126
129
  }>;
127
130
  export declare const deleteAccountRequestSchema: z.ZodObject<{
128
131
  email: z.ZodString;
package/dist/auth.js CHANGED
@@ -18,6 +18,7 @@ export const onboardCoachRequestSchema = z
18
18
  name: z.string().min(1),
19
19
  displayName: z.string().min(1).optional(),
20
20
  email: z.string().email().optional(),
21
+ businessCountryCode: businessCountryCodeSchema.nullable().optional(),
21
22
  communicationPreferences: communicationPreferencesSchema.partial().optional()
22
23
  })
23
24
  .and(coachAcquisitionSourceFieldsSchema);
package/dist/auth.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"auth.js","sourceRoot":"","sources":["../src/auth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,oBAAoB,EAAE,yBAAyB,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AACpG,OAAO,EAAE,kBAAkB,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AACxD,OAAO,EAAE,kCAAkC,EAAE,MAAM,wBAAwB,CAAC;AAC5E,OAAO,EAAE,8BAA8B,EAAE,MAAM,gCAAgC,CAAC;AAChF,OAAO,EAAE,mCAAmC,EAAE,MAAM,yBAAyB,CAAC;AAC9E,OAAO,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AAE3D,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC;KACxC,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACvB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IACpC,QAAQ,EAAE,kBAAkB,CAAC,QAAQ,EAAE;IACvC,wBAAwB,EAAE,8BAA8B,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CAC9E,CAAC;KACD,GAAG,CAAC,mCAAmC,CAAC,CAAC;AAE5C,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC;KACvC,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACvB,WAAW,E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AAEH,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC;IACjD,SAAS,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;CAC3B,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC;IACjD,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,EAAE;CACjC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,SAAS,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;CAC3B,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/C,OAAO,EAAE,oBAAoB;CAC9B,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,aAAa,EAAE,QAAQ;IACvB,iBAAiB,EAAE,QAAQ;IAC3B,kBAAkB,EAAE,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC;CACtC,CAAC,CAAC;AAEH,OAAO,EAAE,oBAAoB,EAAE,CAAC"}
@@ -44,7 +44,19 @@ describe("coach growth shared contracts", () => {
44
44
  acquisitionSource: "trainingOrEvent"
45
45
  })).toThrow();
46
46
  });
47
- it("normalizes an optional coach business country on profile updates", () => {
47
+ it("normalizes an optional coach business country during onboarding and profile updates", () => {
48
+ expect(onboardCoachRequestSchema.parse({
49
+ name: "Coach",
50
+ businessCountryCode: " gr "
51
+ }).businessCountryCode).toBe("GR");
52
+ expect(onboardCoachRequestSchema.parse({
53
+ name: "Coach",
54
+ businessCountryCode: null
55
+ }).businessCountryCode).toBeNull();
56
+ expect(() => onboardCoachRequestSchema.parse({
57
+ name: "Coach",
58
+ businessCountryCode: "ZZ"
59
+ })).toThrow();
48
60
  expect(updateProfileRequestSchema.parse({
49
61
  name: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CAAC,CAAC;QAC7E,MAAM,CAAC,GAAG,EAAE,CAAC,gCAAgC,CAAC,KAAK,CAAC;YAClD,GAAG,SAAS;YACZ,gBAAgB,EAAE,SAAS;SAC5B,CAAC,CAAC,CAAC,OAAO,CAAC,iCAAiC,CAAC,CAAC;QAC/C,MAAM,CAAC,GAAG,EAAE,CAAC,gCAAgC,CAAC,KAAK,CAAC;YAClD,GAAG,SAAS;YACZ,UAAU,EAAE,IAAI;SACjB,CAAC,CAAC,CAAC,OAAO,CAAC,6CAA6C,CAAC,CAAC;IAC7D,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -0,0 +1,176 @@
1
+ import { z } from "zod";
2
+ export declare const comingSoonItemAudienceSchema: z.ZodEnum<["family", "coach", "both"]>;
3
+ export declare const comingSoonItemQueryAudienceSchema: z.ZodEnum<["family", "coach"]>;
4
+ export declare const comingSoonItemsQuerySchema: z.ZodObject<{
5
+ audience: z.ZodOptional<z.ZodEnum<["family", "coach"]>>;
6
+ }, "strict", z.ZodTypeAny, {
7
+ audience?: "family" | "coach" | undefined;
8
+ }, {
9
+ audience?: "family" | "coach" | undefined;
10
+ }>;
11
+ export declare const comingSoonItemSchema: z.ZodObject<{
12
+ id: z.ZodString;
13
+ audience: z.ZodEnum<["family", "coach", "both"]>;
14
+ title: z.ZodString;
15
+ description: z.ZodString;
16
+ sortOrder: z.ZodNumber;
17
+ isPublished: z.ZodBoolean;
18
+ createdAt: z.ZodString;
19
+ updatedAt: z.ZodString;
20
+ }, "strip", z.ZodTypeAny, {
21
+ id: string;
22
+ createdAt: string;
23
+ updatedAt: string;
24
+ title: string;
25
+ description: string;
26
+ audience: "family" | "coach" | "both";
27
+ sortOrder: number;
28
+ isPublished: boolean;
29
+ }, {
30
+ id: string;
31
+ createdAt: string;
32
+ updatedAt: string;
33
+ title: string;
34
+ description: string;
35
+ audience: "family" | "coach" | "both";
36
+ sortOrder: number;
37
+ isPublished: boolean;
38
+ }>;
39
+ export declare const comingSoonItemWriteRequestSchema: z.ZodObject<{
40
+ audience: z.ZodEnum<["family", "coach", "both"]>;
41
+ title: z.ZodString;
42
+ description: z.ZodString;
43
+ sortOrder: z.ZodDefault<z.ZodNumber>;
44
+ isPublished: z.ZodDefault<z.ZodBoolean>;
45
+ }, "strict", z.ZodTypeAny, {
46
+ title: string;
47
+ description: string;
48
+ audience: "family" | "coach" | "both";
49
+ sortOrder: number;
50
+ isPublished: boolean;
51
+ }, {
52
+ title: string;
53
+ description: string;
54
+ audience: "family" | "coach" | "both";
55
+ sortOrder?: number | undefined;
56
+ isPublished?: boolean | undefined;
57
+ }>;
58
+ export declare const comingSoonItemsResponseSchema: z.ZodObject<{
59
+ items: z.ZodArray<z.ZodObject<{
60
+ id: z.ZodString;
61
+ audience: z.ZodEnum<["family", "coach", "both"]>;
62
+ title: z.ZodString;
63
+ description: z.ZodString;
64
+ sortOrder: z.ZodNumber;
65
+ isPublished: z.ZodBoolean;
66
+ createdAt: z.ZodString;
67
+ updatedAt: z.ZodString;
68
+ }, "strip", z.ZodTypeAny, {
69
+ id: string;
70
+ createdAt: string;
71
+ updatedAt: string;
72
+ title: string;
73
+ description: string;
74
+ audience: "family" | "coach" | "both";
75
+ sortOrder: number;
76
+ isPublished: boolean;
77
+ }, {
78
+ id: string;
79
+ createdAt: string;
80
+ updatedAt: string;
81
+ title: string;
82
+ description: string;
83
+ audience: "family" | "coach" | "both";
84
+ sortOrder: number;
85
+ isPublished: boolean;
86
+ }>, "many">;
87
+ }, "strip", z.ZodTypeAny, {
88
+ items: {
89
+ id: string;
90
+ createdAt: string;
91
+ updatedAt: string;
92
+ title: string;
93
+ description: string;
94
+ audience: "family" | "coach" | "both";
95
+ sortOrder: number;
96
+ isPublished: boolean;
97
+ }[];
98
+ }, {
99
+ items: {
100
+ id: string;
101
+ createdAt: string;
102
+ updatedAt: string;
103
+ title: string;
104
+ description: string;
105
+ audience: "family" | "coach" | "both";
106
+ sortOrder: number;
107
+ isPublished: boolean;
108
+ }[];
109
+ }>;
110
+ export declare const comingSoonItemResponseSchema: z.ZodObject<{
111
+ item: z.ZodObject<{
112
+ id: z.ZodString;
113
+ audience: z.ZodEnum<["family", "coach", "both"]>;
114
+ title: z.ZodString;
115
+ description: z.ZodString;
116
+ sortOrder: z.ZodNumber;
117
+ isPublished: z.ZodBoolean;
118
+ createdAt: z.ZodString;
119
+ updatedAt: z.ZodString;
120
+ }, "strip", z.ZodTypeAny, {
121
+ id: string;
122
+ createdAt: string;
123
+ updatedAt: string;
124
+ title: string;
125
+ description: string;
126
+ audience: "family" | "coach" | "both";
127
+ sortOrder: number;
128
+ isPublished: boolean;
129
+ }, {
130
+ id: string;
131
+ createdAt: string;
132
+ updatedAt: string;
133
+ title: string;
134
+ description: string;
135
+ audience: "family" | "coach" | "both";
136
+ sortOrder: number;
137
+ isPublished: boolean;
138
+ }>;
139
+ }, "strip", z.ZodTypeAny, {
140
+ item: {
141
+ id: string;
142
+ createdAt: string;
143
+ updatedAt: string;
144
+ title: string;
145
+ description: string;
146
+ audience: "family" | "coach" | "both";
147
+ sortOrder: number;
148
+ isPublished: boolean;
149
+ };
150
+ }, {
151
+ item: {
152
+ id: string;
153
+ createdAt: string;
154
+ updatedAt: string;
155
+ title: string;
156
+ description: string;
157
+ audience: "family" | "coach" | "both";
158
+ sortOrder: number;
159
+ isPublished: boolean;
160
+ };
161
+ }>;
162
+ export declare const comingSoonItemDeleteResponseSchema: z.ZodObject<{
163
+ deleted: z.ZodLiteral<true>;
164
+ }, "strip", z.ZodTypeAny, {
165
+ deleted: true;
166
+ }, {
167
+ deleted: true;
168
+ }>;
169
+ export type ComingSoonItemAudience = z.infer<typeof comingSoonItemAudienceSchema>;
170
+ export type ComingSoonItemQueryAudience = z.infer<typeof comingSoonItemQueryAudienceSchema>;
171
+ export type ComingSoonItemsQuery = z.infer<typeof comingSoonItemsQuerySchema>;
172
+ export type ComingSoonItem = z.infer<typeof comingSoonItemSchema>;
173
+ export type ComingSoonItemWriteRequest = z.infer<typeof comingSoonItemWriteRequestSchema>;
174
+ export type ComingSoonItemsResponse = z.infer<typeof comingSoonItemsResponseSchema>;
175
+ export type ComingSoonItemResponse = z.infer<typeof comingSoonItemResponseSchema>;
176
+ export type ComingSoonItemDeleteResponse = z.infer<typeof comingSoonItemDeleteResponseSchema>;
@@ -0,0 +1,38 @@
1
+ import { z } from "zod";
2
+ import { idSchema, isoDateStringSchema } from "./api.js";
3
+ export const comingSoonItemAudienceSchema = z.enum(["family", "coach", "both"]);
4
+ export const comingSoonItemQueryAudienceSchema = z.enum(["family", "coach"]);
5
+ export const comingSoonItemsQuerySchema = z
6
+ .object({
7
+ audience: comingSoonItemQueryAudienceSchema.optional()
8
+ })
9
+ .strict();
10
+ export const comingSoonItemSchema = z.object({
11
+ id: idSchema,
12
+ audience: comingSoonItemAudienceSchema,
13
+ title: z.string().min(1).max(120),
14
+ description: z.string().min(1).max(1000),
15
+ sortOrder: z.number().int().nonnegative().max(100_000),
16
+ isPublished: z.boolean(),
17
+ createdAt: isoDateStringSchema,
18
+ updatedAt: isoDateStringSchema
19
+ });
20
+ export const comingSoonItemWriteRequestSchema = z
21
+ .object({
22
+ audience: comingSoonItemAudienceSchema,
23
+ title: z.string().trim().min(1).max(120),
24
+ description: z.string().trim().min(1).max(1000),
25
+ sortOrder: z.number().int().nonnegative().max(100_000).default(0),
26
+ isPublished: z.boolean().default(false)
27
+ })
28
+ .strict();
29
+ export const comingSoonItemsResponseSchema = z.object({
30
+ items: z.array(comingSoonItemSchema)
31
+ });
32
+ export const comingSoonItemResponseSchema = z.object({
33
+ item: comingSoonItemSchema
34
+ });
35
+ export const comingSoonItemDeleteResponseSchema = z.object({
36
+ deleted: z.literal(true)
37
+ });
38
+ //# sourceMappingURL=coming-soon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"coming-soon.js","sourceRoot":"","sources":["../src/coming-soon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,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IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC;IAC/C,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;IACjE,WAAW,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;CACxC,CAAC;KACD,MAAM,EAAE,CAAC;AAEZ,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,CAAC,MAAM,CAAC;IACpD,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC;CACrC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,MAAM,CAAC;IACnD,IAAI,EAAE,oBAAoB;CAC3B,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,kCAAkC,GAAG,CAAC,CAAC,MAAM,CAAC;IACzD,OAAO,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;CACzB,CAAC,CAAC"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,40 @@
1
+ import { describe, expect, it } from "vitest";
2
+ import { comingSoonItemWriteRequestSchema, comingSoonItemsQuerySchema } from "./coming-soon.js";
3
+ describe("coming soon contracts", () => {
4
+ it("normalizes text and applies safe draft defaults", () => {
5
+ expect(comingSoonItemWriteRequestSchema.parse({
6
+ audience: "both",
7
+ title: " Sleep trends ",
8
+ description: " See longer-term sleep patterns. "
9
+ })).toEqual({
10
+ audience: "both",
11
+ title: "Sleep trends",
12
+ description: "See longer-term sleep patterns.",
13
+ sortOrder: 0,
14
+ isPublished: false
15
+ });
16
+ });
17
+ it("allows clients to request only their family or coach audience", () => {
18
+ expect(comingSoonItemsQuerySchema.parse({ audience: "family" })).toEqual({
19
+ audience: "family"
20
+ });
21
+ expect(comingSoonItemsQuerySchema.parse({ audience: "coach" })).toEqual({
22
+ audience: "coach"
23
+ });
24
+ expect(() => comingSoonItemsQuerySchema.parse({ audience: "both" })).toThrow();
25
+ expect(() => comingSoonItemsQuerySchema.parse({ audience: "family", extra: true })).toThrow();
26
+ });
27
+ it("rejects empty, oversized, and invalidly ordered records", () => {
28
+ const valid = {
29
+ audience: "family",
30
+ title: "New analysis",
31
+ description: "More insight into recent sleep.",
32
+ sortOrder: 10,
33
+ isPublished: true
34
+ };
35
+ expect(() => comingSoonItemWriteRequestSchema.parse({ ...valid, title: " " })).toThrow();
36
+ expect(() => comingSoonItemWriteRequestSchema.parse({ ...valid, description: "x".repeat(1001) })).toThrow();
37
+ expect(() => comingSoonItemWriteRequestSchema.parse({ ...valid, sortOrder: -1 })).toThrow();
38
+ });
39
+ });
40
+ //# sourceMappingURL=coming-soon.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"coming-soon.test.js","sourceRoot":"","sources":["../src/coming-soon.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,EACL,gCAAgC,EAChC,0BAA0B,EAC3B,MAAM,kBAAkB,CAAC;AAE1B,QAAQ,CAAC,uBAAuB,EAAE,GAAG,EAAE;IACrC,EAAE,CAAC,iDAAiD,EAAE,GAAG,EAAE;QACzD,MAAM,CACJ,gCAAgC,CAAC,KAAK,CAAC;YACrC,QAAQ,EAAE,MAAM;YAChB,KAAK,EAAE,kBAAkB;YACzB,WAAW,EAAE,qCAAqC;SACnD,CAAC,CACH,CAAC,OAAO,CAAC;YACR,QAAQ,EAAE,MAAM;YAChB,KAAK,EAAE,cAAc;YACrB,WAAW,EAAE,iCAAiC;YAC9C,SAAS,EAAE,CAAC;YACZ,WAAW,EAAE,KAAK;SACnB,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,+DAA+D,EAAE,GAAG,EAAE;QACvE,MAAM,CAAC,0BAA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AC,CACpE,CAAC,OAAO,EAAE,CAAC;IACd,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
package/dist/enums.d.ts CHANGED
@@ -14,7 +14,7 @@ export declare const entitlementSourceSchema: z.ZodEnum<["directSubscription", "
14
14
  export declare const subscriptionStatusSchema: z.ZodEnum<["active", "trialing", "pastDue", "canceled", "suspended"]>;
15
15
  export declare const activityTypeSchema: z.ZodEnum<["breastfeed", "bottles", "sleep", "nappies", "pumping", "medication", "solids"]>;
16
16
  export declare const activityTypes: ["breastfeed", "bottles", "sleep", "nappies", "pumping", "medication", "solids"];
17
- export declare const auditEventTypeSchema: z.ZodEnum<["inviteCode.created", "inviteCode.redeemed", "coachInvite.storeSubscriptionCheckFailed", "coachInvite.storeSubscriptionConflict", "coachInvite.storeSubscriptionAcknowledged", "familyInvitation.created", "familyInvitation.accepted", "familyInvitation.declined", "familyInvitation.revoked", "assignment.created", "assignment.revoked", "assignment.restored", "assignment.transferred", "entitlement.created", "entitlement.updated", "entitlement.revoked", "entitlement.billingInactive", "coachSubscription.updated", "mobileWebRelease.created", "mobileWebRelease.updated", "nativeAppUpdatePolicy.created", "nativeAppUpdatePolicy.updated", "notificationBanner.created", "notificationBanner.updated", "notificationBanner.statusUpdated", "notificationBanner.deleted", "coachActivityNotifications.globalPreferenceUpdated", "coachActivityNotifications.familyPreferenceUpdated", "familyLog.updatedByCoach", "coachPrivateNote.created", "coachPrivateNote.updated", "coachPrivateNote.deleted", "baby.updatedByCoach", "ownerViewAsCoach.started", "family.timeZone.updated", "coachFamilyChat.conversationCreated", "coachFamilyChat.participantPreferenceUpdated", "coachFamilyChat.conversationClosed", "coachFamilyChat.contentPurged", "coachFamilyChat.ownerViewed", "coachFamilyChat.moderationUpdated"]>;
17
+ export declare const auditEventTypeSchema: z.ZodEnum<["inviteCode.created", "inviteCode.redeemed", "coachInvite.storeSubscriptionCheckFailed", "coachInvite.storeSubscriptionConflict", "coachInvite.storeSubscriptionAcknowledged", "familyInvitation.created", "familyInvitation.accepted", "familyInvitation.declined", "familyInvitation.revoked", "assignment.created", "assignment.revoked", "assignment.restored", "assignment.transferred", "entitlement.created", "entitlement.updated", "entitlement.revoked", "entitlement.billingInactive", "coachSubscription.updated", "mobileWebRelease.created", "mobileWebRelease.updated", "nativeAppUpdatePolicy.created", "nativeAppUpdatePolicy.updated", "notificationBanner.created", "notificationBanner.updated", "notificationBanner.statusUpdated", "notificationBanner.deleted", "comingSoonItem.created", "comingSoonItem.updated", "comingSoonItem.deleted", "coachActivityNotifications.globalPreferenceUpdated", "coachActivityNotifications.familyPreferenceUpdated", "familyLog.updatedByCoach", "coachPrivateNote.created", "coachPrivateNote.updated", "coachPrivateNote.deleted", "baby.updatedByCoach", "ownerViewAsCoach.started", "family.timeZone.updated", "coachFamilyChat.conversationCreated", "coachFamilyChat.participantPreferenceUpdated", "coachFamilyChat.conversationClosed", "coachFamilyChat.contentPurged", "coachFamilyChat.ownerViewed", "coachFamilyChat.moderationUpdated"]>;
18
18
  export type UserRole = z.infer<typeof userRoleSchema>;
19
19
  export type OrganizationType = z.infer<typeof organizationTypeSchema>;
20
20
  export type OrganizationStatus = z.infer<typeof organizationStatusSchema>;
package/dist/enums.js CHANGED
@@ -109,6 +109,9 @@ export const auditEventTypeSchema = z.enum([
109
109
  "notificationBanner.updated",
110
110
  "notificationBanner.statusUpdated",
111
111
  "notificationBanner.deleted",
112
+ "comingSoonItem.created",
113
+ "comingSoonItem.updated",
114
+ "comingSoonItem.deleted",
112
115
  "coachActivityNotifications.globalPreferenceUpdated",
113
116
  "coachActivityNotifications.familyPreferenceUpdated",
114
117
  "familyLog.updatedByCoach",
package/dist/enums.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"enums.js","sourceRoot":"","sources":["../src/enums.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,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;IAC/B,4BAA4B;IAC5B,4BAA4B;IAC5B,kCAAkC;IAClC,4BAA4B;IAC5B,wBAAwB;IACxB,wBAAwB;IACxB,wBAAwB;IACxB,oDAAoD;IACpD,oDAAoD;IACpD,0BAA0B;IAC1B,0BAA0B;IAC1B,0BAA0B;IAC1B,0BAA0B;IAC1B,qBAAqB;IACrB,0BAA0B;IAC1B,yBAAyB;IACzB,qCAAqC;IACrC,8CAA8C;IAC9C,oCAAoC;IACpC,+BAA+B;IAC/B,6BAA6B;IAC7B,mCAAmC;CACpC,CAAC,CAAC"}
@@ -46,9 +46,9 @@ export declare const questionnaireQuestionSchema: z.ZodObject<{
46
46
  type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
47
47
  id: string;
48
48
  label: string;
49
+ sortOrder: number;
49
50
  section: string;
50
51
  required: boolean;
51
- sortOrder: number;
52
52
  sectionDescription?: string | null | undefined;
53
53
  helpText?: string | null | undefined;
54
54
  }, {
@@ -61,10 +61,10 @@ export declare const questionnaireQuestionSchema: z.ZodObject<{
61
61
  label: string;
62
62
  allowFreeText?: boolean | undefined;
63
63
  }[] | undefined;
64
+ sortOrder?: number | undefined;
64
65
  sectionDescription?: string | null | undefined;
65
66
  helpText?: string | null | undefined;
66
67
  required?: boolean | undefined;
67
- sortOrder?: number | undefined;
68
68
  }>;
69
69
  export type QuestionnaireQuestion = z.infer<typeof questionnaireQuestionSchema>;
70
70
  export declare const questionnaireChoiceAnswerSchema: z.ZodObject<{
@@ -140,9 +140,9 @@ export declare const coachQuestionnaireTemplateSchema: z.ZodObject<{
140
140
  type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
141
141
  id: string;
142
142
  label: string;
143
+ sortOrder: number;
143
144
  section: string;
144
145
  required: boolean;
145
- sortOrder: number;
146
146
  sectionDescription?: string | null | undefined;
147
147
  helpText?: string | null | undefined;
148
148
  }, {
@@ -155,10 +155,10 @@ export declare const coachQuestionnaireTemplateSchema: z.ZodObject<{
155
155
  label: string;
156
156
  allowFreeText?: boolean | undefined;
157
157
  }[] | undefined;
158
+ sortOrder?: number | undefined;
158
159
  sectionDescription?: string | null | undefined;
159
160
  helpText?: string | null | undefined;
160
161
  required?: boolean | undefined;
161
- sortOrder?: number | undefined;
162
162
  }>, "many">;
163
163
  isDefault: z.ZodDefault<z.ZodBoolean>;
164
164
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -182,9 +182,9 @@ export declare const coachQuestionnaireTemplateSchema: z.ZodObject<{
182
182
  type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
183
183
  id: string;
184
184
  label: string;
185
+ sortOrder: number;
185
186
  section: string;
186
187
  required: boolean;
187
- sortOrder: number;
188
188
  sectionDescription?: string | null | undefined;
189
189
  helpText?: string | null | undefined;
190
190
  }[];
@@ -210,10 +210,10 @@ export declare const coachQuestionnaireTemplateSchema: z.ZodObject<{
210
210
  label: string;
211
211
  allowFreeText?: boolean | undefined;
212
212
  }[] | undefined;
213
+ sortOrder?: number | undefined;
213
214
  sectionDescription?: string | null | undefined;
214
215
  helpText?: string | null | undefined;
215
216
  required?: boolean | undefined;
216
- sortOrder?: number | undefined;
217
217
  }[];
218
218
  description?: string | null | undefined;
219
219
  archivedAt?: string | null | undefined;
@@ -256,9 +256,9 @@ export declare const coachQuestionnaireTemplateWriteRequestSchema: z.ZodObject<{
256
256
  type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
257
257
  id: string;
258
258
  label: string;
259
+ sortOrder: number;
259
260
  section: string;
260
261
  required: boolean;
261
- sortOrder: number;
262
262
  sectionDescription?: string | null | undefined;
263
263
  helpText?: string | null | undefined;
264
264
  }, {
@@ -271,10 +271,10 @@ export declare const coachQuestionnaireTemplateWriteRequestSchema: z.ZodObject<{
271
271
  label: string;
272
272
  allowFreeText?: boolean | undefined;
273
273
  }[] | undefined;
274
+ sortOrder?: number | undefined;
274
275
  sectionDescription?: string | null | undefined;
275
276
  helpText?: string | null | undefined;
276
277
  required?: boolean | undefined;
277
- sortOrder?: number | undefined;
278
278
  }>, "many">;
279
279
  }, "strip", z.ZodTypeAny, {
280
280
  title: string;
@@ -287,9 +287,9 @@ export declare const coachQuestionnaireTemplateWriteRequestSchema: z.ZodObject<{
287
287
  type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
288
288
  id: string;
289
289
  label: string;
290
+ sortOrder: number;
290
291
  section: string;
291
292
  required: boolean;
292
- sortOrder: number;
293
293
  sectionDescription?: string | null | undefined;
294
294
  helpText?: string | null | undefined;
295
295
  }[];
@@ -307,10 +307,10 @@ export declare const coachQuestionnaireTemplateWriteRequestSchema: z.ZodObject<{
307
307
  label: string;
308
308
  allowFreeText?: boolean | undefined;
309
309
  }[] | undefined;
310
+ sortOrder?: number | undefined;
310
311
  sectionDescription?: string | null | undefined;
311
312
  helpText?: string | null | undefined;
312
313
  required?: boolean | undefined;
313
- sortOrder?: number | undefined;
314
314
  }[];
315
315
  name?: string | undefined;
316
316
  description?: string | null | undefined;
@@ -351,9 +351,9 @@ export declare const coachQuestionnaireTemplateCreateRequestSchema: z.ZodObject<
351
351
  type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
352
352
  id: string;
353
353
  label: string;
354
+ sortOrder: number;
354
355
  section: string;
355
356
  required: boolean;
356
- sortOrder: number;
357
357
  sectionDescription?: string | null | undefined;
358
358
  helpText?: string | null | undefined;
359
359
  }, {
@@ -366,10 +366,10 @@ export declare const coachQuestionnaireTemplateCreateRequestSchema: z.ZodObject<
366
366
  label: string;
367
367
  allowFreeText?: boolean | undefined;
368
368
  }[] | undefined;
369
+ sortOrder?: number | undefined;
369
370
  sectionDescription?: string | null | undefined;
370
371
  helpText?: string | null | undefined;
371
372
  required?: boolean | undefined;
372
- sortOrder?: number | undefined;
373
373
  }>, "many">;
374
374
  }, "strip", z.ZodTypeAny, {
375
375
  name: string;
@@ -383,9 +383,9 @@ export declare const coachQuestionnaireTemplateCreateRequestSchema: z.ZodObject<
383
383
  type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
384
384
  id: string;
385
385
  label: string;
386
+ sortOrder: number;
386
387
  section: string;
387
388
  required: boolean;
388
- sortOrder: number;
389
389
  sectionDescription?: string | null | undefined;
390
390
  helpText?: string | null | undefined;
391
391
  }[];
@@ -403,10 +403,10 @@ export declare const coachQuestionnaireTemplateCreateRequestSchema: z.ZodObject<
403
403
  label: string;
404
404
  allowFreeText?: boolean | undefined;
405
405
  }[] | undefined;
406
+ sortOrder?: number | undefined;
406
407
  sectionDescription?: string | null | undefined;
407
408
  helpText?: string | null | undefined;
408
409
  required?: boolean | undefined;
409
- sortOrder?: number | undefined;
410
410
  }[];
411
411
  description?: string | null | undefined;
412
412
  }>;
@@ -446,9 +446,9 @@ export declare const coachQuestionnaireTemplateUpdateRequestSchema: z.ZodObject<
446
446
  type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
447
447
  id: string;
448
448
  label: string;
449
+ sortOrder: number;
449
450
  section: string;
450
451
  required: boolean;
451
- sortOrder: number;
452
452
  sectionDescription?: string | null | undefined;
453
453
  helpText?: string | null | undefined;
454
454
  }, {
@@ -461,10 +461,10 @@ export declare const coachQuestionnaireTemplateUpdateRequestSchema: z.ZodObject<
461
461
  label: string;
462
462
  allowFreeText?: boolean | undefined;
463
463
  }[] | undefined;
464
+ sortOrder?: number | undefined;
464
465
  sectionDescription?: string | null | undefined;
465
466
  helpText?: string | null | undefined;
466
467
  required?: boolean | undefined;
467
- sortOrder?: number | undefined;
468
468
  }>, "many">>;
469
469
  archived: z.ZodOptional<z.ZodBoolean>;
470
470
  }, "strip", z.ZodTypeAny, {
@@ -481,9 +481,9 @@ export declare const coachQuestionnaireTemplateUpdateRequestSchema: z.ZodObject<
481
481
  type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
482
482
  id: string;
483
483
  label: string;
484
+ sortOrder: number;
484
485
  section: string;
485
486
  required: boolean;
486
- sortOrder: number;
487
487
  sectionDescription?: string | null | undefined;
488
488
  helpText?: string | null | undefined;
489
489
  }[] | undefined;
@@ -502,10 +502,10 @@ export declare const coachQuestionnaireTemplateUpdateRequestSchema: z.ZodObject<
502
502
  label: string;
503
503
  allowFreeText?: boolean | undefined;
504
504
  }[] | undefined;
505
+ sortOrder?: number | undefined;
505
506
  sectionDescription?: string | null | undefined;
506
507
  helpText?: string | null | undefined;
507
508
  required?: boolean | undefined;
508
- sortOrder?: number | undefined;
509
509
  }[] | undefined;
510
510
  }>;
511
511
  export type CoachQuestionnaireTemplateUpdateRequest = z.infer<typeof coachQuestionnaireTemplateUpdateRequestSchema>;
@@ -548,9 +548,9 @@ export declare const coachQuestionnaireTemplateResponseSchema: z.ZodObject<{
548
548
  type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
549
549
  id: string;
550
550
  label: string;
551
+ sortOrder: number;
551
552
  section: string;
552
553
  required: boolean;
553
- sortOrder: number;
554
554
  sectionDescription?: string | null | undefined;
555
555
  helpText?: string | null | undefined;
556
556
  }, {
@@ -563,10 +563,10 @@ export declare const coachQuestionnaireTemplateResponseSchema: z.ZodObject<{
563
563
  label: string;
564
564
  allowFreeText?: boolean | undefined;
565
565
  }[] | undefined;
566
+ sortOrder?: number | undefined;
566
567
  sectionDescription?: string | null | undefined;
567
568
  helpText?: string | null | undefined;
568
569
  required?: boolean | undefined;
569
- sortOrder?: number | undefined;
570
570
  }>, "many">;
571
571
  isDefault: z.ZodDefault<z.ZodBoolean>;
572
572
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -590,9 +590,9 @@ export declare const coachQuestionnaireTemplateResponseSchema: z.ZodObject<{
590
590
  type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
591
591
  id: string;
592
592
  label: string;
593
+ sortOrder: number;
593
594
  section: string;
594
595
  required: boolean;
595
- sortOrder: number;
596
596
  sectionDescription?: string | null | undefined;
597
597
  helpText?: string | null | undefined;
598
598
  }[];
@@ -618,10 +618,10 @@ export declare const coachQuestionnaireTemplateResponseSchema: z.ZodObject<{
618
618
  label: string;
619
619
  allowFreeText?: boolean | undefined;
620
620
  }[] | undefined;
621
+ sortOrder?: number | undefined;
621
622
  sectionDescription?: string | null | undefined;
622
623
  helpText?: string | null | undefined;
623
624
  required?: boolean | undefined;
624
- sortOrder?: number | undefined;
625
625
  }[];
626
626
  description?: string | null | undefined;
627
627
  archivedAt?: string | null | undefined;
@@ -646,9 +646,9 @@ export declare const coachQuestionnaireTemplateResponseSchema: z.ZodObject<{
646
646
  type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
647
647
  id: string;
648
648
  label: string;
649
+ sortOrder: number;
649
650
  section: string;
650
651
  required: boolean;
651
- sortOrder: number;
652
652
  sectionDescription?: string | null | undefined;
653
653
  helpText?: string | null | undefined;
654
654
  }[];
@@ -676,10 +676,10 @@ export declare const coachQuestionnaireTemplateResponseSchema: z.ZodObject<{
676
676
  label: string;
677
677
  allowFreeText?: boolean | undefined;
678
678
  }[] | undefined;
679
+ sortOrder?: number | undefined;
679
680
  sectionDescription?: string | null | undefined;
680
681
  helpText?: string | null | undefined;
681
682
  required?: boolean | undefined;
682
- sortOrder?: number | undefined;
683
683
  }[];
684
684
  description?: string | null | undefined;
685
685
  archivedAt?: string | null | undefined;
@@ -727,9 +727,9 @@ export declare const coachQuestionnaireTemplatesResponseSchema: z.ZodObject<{
727
727
  type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
728
728
  id: string;
729
729
  label: string;
730
+ sortOrder: number;
730
731
  section: string;
731
732
  required: boolean;
732
- sortOrder: number;
733
733
  sectionDescription?: string | null | undefined;
734
734
  helpText?: string | null | undefined;
735
735
  }, {
@@ -742,10 +742,10 @@ export declare const coachQuestionnaireTemplatesResponseSchema: z.ZodObject<{
742
742
  label: string;
743
743
  allowFreeText?: boolean | undefined;
744
744
  }[] | undefined;
745
+ sortOrder?: number | undefined;
745
746
  sectionDescription?: string | null | undefined;
746
747
  helpText?: string | null | undefined;
747
748
  required?: boolean | undefined;
748
- sortOrder?: number | undefined;
749
749
  }>, "many">;
750
750
  isDefault: z.ZodDefault<z.ZodBoolean>;
751
751
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -769,9 +769,9 @@ export declare const coachQuestionnaireTemplatesResponseSchema: z.ZodObject<{
769
769
  type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
770
770
  id: string;
771
771
  label: string;
772
+ sortOrder: number;
772
773
  section: string;
773
774
  required: boolean;
774
- sortOrder: number;
775
775
  sectionDescription?: string | null | undefined;
776
776
  helpText?: string | null | undefined;
777
777
  }[];
@@ -797,10 +797,10 @@ export declare const coachQuestionnaireTemplatesResponseSchema: z.ZodObject<{
797
797
  label: string;
798
798
  allowFreeText?: boolean | undefined;
799
799
  }[] | undefined;
800
+ sortOrder?: number | undefined;
800
801
  sectionDescription?: string | null | undefined;
801
802
  helpText?: string | null | undefined;
802
803
  required?: boolean | undefined;
803
- sortOrder?: number | undefined;
804
804
  }[];
805
805
  description?: string | null | undefined;
806
806
  archivedAt?: string | null | undefined;
@@ -825,9 +825,9 @@ export declare const coachQuestionnaireTemplatesResponseSchema: z.ZodObject<{
825
825
  type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
826
826
  id: string;
827
827
  label: string;
828
+ sortOrder: number;
828
829
  section: string;
829
830
  required: boolean;
830
- sortOrder: number;
831
831
  sectionDescription?: string | null | undefined;
832
832
  helpText?: string | null | undefined;
833
833
  }[];
@@ -855,10 +855,10 @@ export declare const coachQuestionnaireTemplatesResponseSchema: z.ZodObject<{
855
855
  label: string;
856
856
  allowFreeText?: boolean | undefined;
857
857
  }[] | undefined;
858
+ sortOrder?: number | undefined;
858
859
  sectionDescription?: string | null | undefined;
859
860
  helpText?: string | null | undefined;
860
861
  required?: boolean | undefined;
861
- sortOrder?: number | undefined;
862
862
  }[];
863
863
  description?: string | null | undefined;
864
864
  archivedAt?: string | null | undefined;
@@ -907,9 +907,9 @@ export declare const coachQuestionnaireTemplateRemoveResponseSchema: z.ZodObject
907
907
  type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
908
908
  id: string;
909
909
  label: string;
910
+ sortOrder: number;
910
911
  section: string;
911
912
  required: boolean;
912
- sortOrder: number;
913
913
  sectionDescription?: string | null | undefined;
914
914
  helpText?: string | null | undefined;
915
915
  }, {
@@ -922,10 +922,10 @@ export declare const coachQuestionnaireTemplateRemoveResponseSchema: z.ZodObject
922
922
  label: string;
923
923
  allowFreeText?: boolean | undefined;
924
924
  }[] | undefined;
925
+ sortOrder?: number | undefined;
925
926
  sectionDescription?: string | null | undefined;
926
927
  helpText?: string | null | undefined;
927
928
  required?: boolean | undefined;
928
- sortOrder?: number | undefined;
929
929
  }>, "many">;
930
930
  isDefault: z.ZodDefault<z.ZodBoolean>;
931
931
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -949,9 +949,9 @@ export declare const coachQuestionnaireTemplateRemoveResponseSchema: z.ZodObject
949
949
  type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
950
950
  id: string;
951
951
  label: string;
952
+ sortOrder: number;
952
953
  section: string;
953
954
  required: boolean;
954
- sortOrder: number;
955
955
  sectionDescription?: string | null | undefined;
956
956
  helpText?: string | null | undefined;
957
957
  }[];
@@ -977,10 +977,10 @@ export declare const coachQuestionnaireTemplateRemoveResponseSchema: z.ZodObject
977
977
  label: string;
978
978
  allowFreeText?: boolean | undefined;
979
979
  }[] | undefined;
980
+ sortOrder?: number | undefined;
980
981
  sectionDescription?: string | null | undefined;
981
982
  helpText?: string | null | undefined;
982
983
  required?: boolean | undefined;
983
- sortOrder?: number | undefined;
984
984
  }[];
985
985
  description?: string | null | undefined;
986
986
  archivedAt?: string | null | undefined;
@@ -1009,9 +1009,9 @@ export declare const coachQuestionnaireTemplateRemoveResponseSchema: z.ZodObject
1009
1009
  type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
1010
1010
  id: string;
1011
1011
  label: string;
1012
+ sortOrder: number;
1012
1013
  section: string;
1013
1014
  required: boolean;
1014
- sortOrder: number;
1015
1015
  sectionDescription?: string | null | undefined;
1016
1016
  helpText?: string | null | undefined;
1017
1017
  }[];
@@ -1042,10 +1042,10 @@ export declare const coachQuestionnaireTemplateRemoveResponseSchema: z.ZodObject
1042
1042
  label: string;
1043
1043
  allowFreeText?: boolean | undefined;
1044
1044
  }[] | undefined;
1045
+ sortOrder?: number | undefined;
1045
1046
  sectionDescription?: string | null | undefined;
1046
1047
  helpText?: string | null | undefined;
1047
1048
  required?: boolean | undefined;
1048
- sortOrder?: number | undefined;
1049
1049
  }[];
1050
1050
  description?: string | null | undefined;
1051
1051
  archivedAt?: string | null | undefined;
@@ -1203,9 +1203,9 @@ export declare const familyQuestionnaireSchema: z.ZodObject<{
1203
1203
  type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
1204
1204
  id: string;
1205
1205
  label: string;
1206
+ sortOrder: number;
1206
1207
  section: string;
1207
1208
  required: boolean;
1208
- sortOrder: number;
1209
1209
  sectionDescription?: string | null | undefined;
1210
1210
  helpText?: string | null | undefined;
1211
1211
  }, {
@@ -1218,10 +1218,10 @@ export declare const familyQuestionnaireSchema: z.ZodObject<{
1218
1218
  label: string;
1219
1219
  allowFreeText?: boolean | undefined;
1220
1220
  }[] | undefined;
1221
+ sortOrder?: number | undefined;
1221
1222
  sectionDescription?: string | null | undefined;
1222
1223
  helpText?: string | null | undefined;
1223
1224
  required?: boolean | undefined;
1224
- sortOrder?: number | undefined;
1225
1225
  }>, "many">;
1226
1226
  answers: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodObject<{
1227
1227
  selected: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
@@ -1255,9 +1255,9 @@ export declare const familyQuestionnaireSchema: z.ZodObject<{
1255
1255
  type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
1256
1256
  id: string;
1257
1257
  label: string;
1258
+ sortOrder: number;
1258
1259
  section: string;
1259
1260
  required: boolean;
1260
- sortOrder: number;
1261
1261
  sectionDescription?: string | null | undefined;
1262
1262
  helpText?: string | null | undefined;
1263
1263
  }[];
@@ -1311,10 +1311,10 @@ export declare const familyQuestionnaireSchema: z.ZodObject<{
1311
1311
  label: string;
1312
1312
  allowFreeText?: boolean | undefined;
1313
1313
  }[] | undefined;
1314
+ sortOrder?: number | undefined;
1314
1315
  sectionDescription?: string | null | undefined;
1315
1316
  helpText?: string | null | undefined;
1316
1317
  required?: boolean | undefined;
1317
- sortOrder?: number | undefined;
1318
1318
  }[];
1319
1319
  answers: Record<string, string | number | boolean | string[] | {
1320
1320
  selected: string | string[];
@@ -1481,9 +1481,9 @@ export declare const familyQuestionnaireResponseSchema: z.ZodObject<{
1481
1481
  type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
1482
1482
  id: string;
1483
1483
  label: string;
1484
+ sortOrder: number;
1484
1485
  section: string;
1485
1486
  required: boolean;
1486
- sortOrder: number;
1487
1487
  sectionDescription?: string | null | undefined;
1488
1488
  helpText?: string | null | undefined;
1489
1489
  }, {
@@ -1496,10 +1496,10 @@ export declare const familyQuestionnaireResponseSchema: z.ZodObject<{
1496
1496
  label: string;
1497
1497
  allowFreeText?: boolean | undefined;
1498
1498
  }[] | undefined;
1499
+ sortOrder?: number | undefined;
1499
1500
  sectionDescription?: string | null | undefined;
1500
1501
  helpText?: string | null | undefined;
1501
1502
  required?: boolean | undefined;
1502
- sortOrder?: number | undefined;
1503
1503
  }>, "many">;
1504
1504
  answers: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodObject<{
1505
1505
  selected: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
@@ -1533,9 +1533,9 @@ export declare const familyQuestionnaireResponseSchema: z.ZodObject<{
1533
1533
  type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
1534
1534
  id: string;
1535
1535
  label: string;
1536
+ sortOrder: number;
1536
1537
  section: string;
1537
1538
  required: boolean;
1538
- sortOrder: number;
1539
1539
  sectionDescription?: string | null | undefined;
1540
1540
  helpText?: string | null | undefined;
1541
1541
  }[];
@@ -1589,10 +1589,10 @@ export declare const familyQuestionnaireResponseSchema: z.ZodObject<{
1589
1589
  label: string;
1590
1590
  allowFreeText?: boolean | undefined;
1591
1591
  }[] | undefined;
1592
+ sortOrder?: number | undefined;
1592
1593
  sectionDescription?: string | null | undefined;
1593
1594
  helpText?: string | null | undefined;
1594
1595
  required?: boolean | undefined;
1595
- sortOrder?: number | undefined;
1596
1596
  }[];
1597
1597
  answers: Record<string, string | number | boolean | string[] | {
1598
1598
  selected: string | string[];
@@ -1645,9 +1645,9 @@ export declare const familyQuestionnaireResponseSchema: z.ZodObject<{
1645
1645
  type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
1646
1646
  id: string;
1647
1647
  label: string;
1648
+ sortOrder: number;
1648
1649
  section: string;
1649
1650
  required: boolean;
1650
- sortOrder: number;
1651
1651
  sectionDescription?: string | null | undefined;
1652
1652
  helpText?: string | null | undefined;
1653
1653
  }[];
@@ -1703,10 +1703,10 @@ export declare const familyQuestionnaireResponseSchema: z.ZodObject<{
1703
1703
  label: string;
1704
1704
  allowFreeText?: boolean | undefined;
1705
1705
  }[] | undefined;
1706
+ sortOrder?: number | undefined;
1706
1707
  sectionDescription?: string | null | undefined;
1707
1708
  helpText?: string | null | undefined;
1708
1709
  required?: boolean | undefined;
1709
- sortOrder?: number | undefined;
1710
1710
  }[];
1711
1711
  answers: Record<string, string | number | boolean | string[] | {
1712
1712
  selected: string | string[];
@@ -1874,9 +1874,9 @@ export declare const familyQuestionnaireReadResponseSchema: z.ZodObject<{
1874
1874
  type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
1875
1875
  id: string;
1876
1876
  label: string;
1877
+ sortOrder: number;
1877
1878
  section: string;
1878
1879
  required: boolean;
1879
- sortOrder: number;
1880
1880
  sectionDescription?: string | null | undefined;
1881
1881
  helpText?: string | null | undefined;
1882
1882
  }, {
@@ -1889,10 +1889,10 @@ export declare const familyQuestionnaireReadResponseSchema: z.ZodObject<{
1889
1889
  label: string;
1890
1890
  allowFreeText?: boolean | undefined;
1891
1891
  }[] | undefined;
1892
+ sortOrder?: number | undefined;
1892
1893
  sectionDescription?: string | null | undefined;
1893
1894
  helpText?: string | null | undefined;
1894
1895
  required?: boolean | undefined;
1895
- sortOrder?: number | undefined;
1896
1896
  }>, "many">;
1897
1897
  answers: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodObject<{
1898
1898
  selected: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
@@ -1926,9 +1926,9 @@ export declare const familyQuestionnaireReadResponseSchema: z.ZodObject<{
1926
1926
  type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
1927
1927
  id: string;
1928
1928
  label: string;
1929
+ sortOrder: number;
1929
1930
  section: string;
1930
1931
  required: boolean;
1931
- sortOrder: number;
1932
1932
  sectionDescription?: string | null | undefined;
1933
1933
  helpText?: string | null | undefined;
1934
1934
  }[];
@@ -1982,10 +1982,10 @@ export declare const familyQuestionnaireReadResponseSchema: z.ZodObject<{
1982
1982
  label: string;
1983
1983
  allowFreeText?: boolean | undefined;
1984
1984
  }[] | undefined;
1985
+ sortOrder?: number | undefined;
1985
1986
  sectionDescription?: string | null | undefined;
1986
1987
  helpText?: string | null | undefined;
1987
1988
  required?: boolean | undefined;
1988
- sortOrder?: number | undefined;
1989
1989
  }[];
1990
1990
  answers: Record<string, string | number | boolean | string[] | {
1991
1991
  selected: string | string[];
@@ -2038,9 +2038,9 @@ export declare const familyQuestionnaireReadResponseSchema: z.ZodObject<{
2038
2038
  type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
2039
2039
  id: string;
2040
2040
  label: string;
2041
+ sortOrder: number;
2041
2042
  section: string;
2042
2043
  required: boolean;
2043
- sortOrder: number;
2044
2044
  sectionDescription?: string | null | undefined;
2045
2045
  helpText?: string | null | undefined;
2046
2046
  }[];
@@ -2096,10 +2096,10 @@ export declare const familyQuestionnaireReadResponseSchema: z.ZodObject<{
2096
2096
  label: string;
2097
2097
  allowFreeText?: boolean | undefined;
2098
2098
  }[] | undefined;
2099
+ sortOrder?: number | undefined;
2099
2100
  sectionDescription?: string | null | undefined;
2100
2101
  helpText?: string | null | undefined;
2101
2102
  required?: boolean | undefined;
2102
- sortOrder?: number | undefined;
2103
2103
  }[];
2104
2104
  answers: Record<string, string | number | boolean | string[] | {
2105
2105
  selected: string | string[];
@@ -2275,9 +2275,9 @@ export declare const familyQuestionnairesResponseSchema: z.ZodObject<{
2275
2275
  type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
2276
2276
  id: string;
2277
2277
  label: string;
2278
+ sortOrder: number;
2278
2279
  section: string;
2279
2280
  required: boolean;
2280
- sortOrder: number;
2281
2281
  sectionDescription?: string | null | undefined;
2282
2282
  helpText?: string | null | undefined;
2283
2283
  }, {
@@ -2290,10 +2290,10 @@ export declare const familyQuestionnairesResponseSchema: z.ZodObject<{
2290
2290
  label: string;
2291
2291
  allowFreeText?: boolean | undefined;
2292
2292
  }[] | undefined;
2293
+ sortOrder?: number | undefined;
2293
2294
  sectionDescription?: string | null | undefined;
2294
2295
  helpText?: string | null | undefined;
2295
2296
  required?: boolean | undefined;
2296
- sortOrder?: number | undefined;
2297
2297
  }>, "many">;
2298
2298
  answers: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodObject<{
2299
2299
  selected: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
@@ -2327,9 +2327,9 @@ export declare const familyQuestionnairesResponseSchema: z.ZodObject<{
2327
2327
  type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
2328
2328
  id: string;
2329
2329
  label: string;
2330
+ sortOrder: number;
2330
2331
  section: string;
2331
2332
  required: boolean;
2332
- sortOrder: number;
2333
2333
  sectionDescription?: string | null | undefined;
2334
2334
  helpText?: string | null | undefined;
2335
2335
  }[];
@@ -2383,10 +2383,10 @@ export declare const familyQuestionnairesResponseSchema: z.ZodObject<{
2383
2383
  label: string;
2384
2384
  allowFreeText?: boolean | undefined;
2385
2385
  }[] | undefined;
2386
+ sortOrder?: number | undefined;
2386
2387
  sectionDescription?: string | null | undefined;
2387
2388
  helpText?: string | null | undefined;
2388
2389
  required?: boolean | undefined;
2389
- sortOrder?: number | undefined;
2390
2390
  }[];
2391
2391
  answers: Record<string, string | number | boolean | string[] | {
2392
2392
  selected: string | string[];
@@ -2439,9 +2439,9 @@ export declare const familyQuestionnairesResponseSchema: z.ZodObject<{
2439
2439
  type: "number" | "shortText" | "longText" | "singleChoice" | "multiChoice" | "yesNo";
2440
2440
  id: string;
2441
2441
  label: string;
2442
+ sortOrder: number;
2442
2443
  section: string;
2443
2444
  required: boolean;
2444
- sortOrder: number;
2445
2445
  sectionDescription?: string | null | undefined;
2446
2446
  helpText?: string | null | undefined;
2447
2447
  }[];
@@ -2497,10 +2497,10 @@ export declare const familyQuestionnairesResponseSchema: z.ZodObject<{
2497
2497
  label: string;
2498
2498
  allowFreeText?: boolean | undefined;
2499
2499
  }[] | undefined;
2500
+ sortOrder?: number | undefined;
2500
2501
  sectionDescription?: string | null | undefined;
2501
2502
  helpText?: string | null | undefined;
2502
2503
  required?: boolean | undefined;
2503
- sortOrder?: number | undefined;
2504
2504
  }[];
2505
2505
  answers: Record<string, string | number | boolean | string[] | {
2506
2506
  selected: string | string[];
@@ -22,9 +22,9 @@ export declare const gettingStartedGuideSchema: z.ZodObject<{
22
22
  }, "strip", z.ZodTypeAny, {
23
23
  updatedAt: string;
24
24
  title: string;
25
+ audience: "family" | "coach";
25
26
  fileName: string;
26
27
  contentType: string;
27
- audience: "family" | "coach";
28
28
  storageBucket: string;
29
29
  storageObjectPath: string;
30
30
  downloadUrl: string;
@@ -34,9 +34,9 @@ export declare const gettingStartedGuideSchema: z.ZodObject<{
34
34
  }, {
35
35
  updatedAt: string;
36
36
  title: string;
37
+ audience: "family" | "coach";
37
38
  fileName: string;
38
39
  contentType: string;
39
- audience: "family" | "coach";
40
40
  storageBucket: string;
41
41
  storageObjectPath: string;
42
42
  downloadUrl: string;
@@ -60,9 +60,9 @@ export declare const gettingStartedGuideResponseSchema: z.ZodObject<{
60
60
  }, "strip", z.ZodTypeAny, {
61
61
  updatedAt: string;
62
62
  title: string;
63
+ audience: "family" | "coach";
63
64
  fileName: string;
64
65
  contentType: string;
65
- audience: "family" | "coach";
66
66
  storageBucket: string;
67
67
  storageObjectPath: string;
68
68
  downloadUrl: string;
@@ -72,9 +72,9 @@ export declare const gettingStartedGuideResponseSchema: z.ZodObject<{
72
72
  }, {
73
73
  updatedAt: string;
74
74
  title: string;
75
+ audience: "family" | "coach";
75
76
  fileName: string;
76
77
  contentType: string;
77
- audience: "family" | "coach";
78
78
  storageBucket: string;
79
79
  storageObjectPath: string;
80
80
  downloadUrl: string;
@@ -86,9 +86,9 @@ export declare const gettingStartedGuideResponseSchema: z.ZodObject<{
86
86
  guide: {
87
87
  updatedAt: string;
88
88
  title: string;
89
+ audience: "family" | "coach";
89
90
  fileName: string;
90
91
  contentType: string;
91
- audience: "family" | "coach";
92
92
  storageBucket: string;
93
93
  storageObjectPath: string;
94
94
  downloadUrl: string;
@@ -100,9 +100,9 @@ export declare const gettingStartedGuideResponseSchema: z.ZodObject<{
100
100
  guide: {
101
101
  updatedAt: string;
102
102
  title: string;
103
+ audience: "family" | "coach";
103
104
  fileName: string;
104
105
  contentType: string;
105
- audience: "family" | "coach";
106
106
  storageBucket: string;
107
107
  storageObjectPath: string;
108
108
  downloadUrl: string;
package/dist/index.d.ts CHANGED
@@ -15,6 +15,7 @@ export * from "./coach-activity-notifications.js";
15
15
  export * from "./coach-private-notes.js";
16
16
  export * from "./coach-family-chat.js";
17
17
  export * from "./communication-preferences.js";
18
+ export * from "./coming-soon.js";
18
19
  export * from "./enums.js";
19
20
  export * from "./errors.js";
20
21
  export * from "./family.js";
package/dist/index.js CHANGED
@@ -15,6 +15,7 @@ export * from "./coach-activity-notifications.js";
15
15
  export * from "./coach-private-notes.js";
16
16
  export * from "./coach-family-chat.js";
17
17
  export * from "./communication-preferences.js";
18
+ export * from "./coming-soon.js";
18
19
  export * from "./enums.js";
19
20
  export * from "./errors.js";
20
21
  export * from "./family.js";
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,UAAU,CAAC;AACzB,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,YAAY,CAAC;AAC3B,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mCAAmC,CAAC;AAClD,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yBAAyB,CAAC;AACxC,cAAc,YAAY,CAAC;AAC3B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wB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC"}
@@ -22,22 +22,22 @@ export declare const supportFaqSchema: z.ZodObject<{
22
22
  id: string;
23
23
  createdAt: string;
24
24
  updatedAt: string;
25
- sortOrder: number;
26
25
  audience: "family" | "coach" | "both";
26
+ sortOrder: number;
27
+ isPublished: boolean;
27
28
  question: string;
28
29
  answer: string;
29
30
  tag: string;
30
- isPublished: boolean;
31
31
  }, {
32
32
  id: string;
33
33
  createdAt: string;
34
34
  updatedAt: string;
35
- sortOrder: number;
36
35
  audience: "family" | "coach" | "both";
36
+ sortOrder: number;
37
+ isPublished: boolean;
37
38
  question: string;
38
39
  answer: string;
39
40
  tag: string;
40
- isPublished: boolean;
41
41
  }>;
42
42
  export declare const supportFaqsResponseSchema: z.ZodObject<{
43
43
  faqs: z.ZodArray<z.ZodObject<{
@@ -54,46 +54,46 @@ export declare const supportFaqsResponseSchema: z.ZodObject<{
54
54
  id: string;
55
55
  createdAt: string;
56
56
  updatedAt: string;
57
- sortOrder: number;
58
57
  audience: "family" | "coach" | "both";
58
+ sortOrder: number;
59
+ isPublished: boolean;
59
60
  question: string;
60
61
  answer: string;
61
62
  tag: string;
62
- isPublished: boolean;
63
63
  }, {
64
64
  id: string;
65
65
  createdAt: string;
66
66
  updatedAt: string;
67
- sortOrder: number;
68
67
  audience: "family" | "coach" | "both";
68
+ sortOrder: number;
69
+ isPublished: boolean;
69
70
  question: string;
70
71
  answer: string;
71
72
  tag: string;
72
- isPublished: boolean;
73
73
  }>, "many">;
74
74
  }, "strip", z.ZodTypeAny, {
75
75
  faqs: {
76
76
  id: string;
77
77
  createdAt: string;
78
78
  updatedAt: string;
79
- sortOrder: number;
80
79
  audience: "family" | "coach" | "both";
80
+ sortOrder: number;
81
+ isPublished: boolean;
81
82
  question: string;
82
83
  answer: string;
83
84
  tag: string;
84
- isPublished: boolean;
85
85
  }[];
86
86
  }, {
87
87
  faqs: {
88
88
  id: string;
89
89
  createdAt: string;
90
90
  updatedAt: string;
91
- sortOrder: number;
92
91
  audience: "family" | "coach" | "both";
92
+ sortOrder: number;
93
+ isPublished: boolean;
93
94
  question: string;
94
95
  answer: string;
95
96
  tag: string;
96
- isPublished: boolean;
97
97
  }[];
98
98
  }>;
99
99
  export type SupportFaqAudience = z.infer<typeof supportFaqAudienceSchema>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nikthegeek/dreamsforlittles-shared",
3
3
  "private": false,
4
- "version": "0.6.0",
4
+ "version": "0.6.1",
5
5
  "type": "module",
6
6
  "repository": {
7
7
  "type": "git",