@nikthegeek/dreamsforlittles-shared 0.1.3 → 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.
- package/dist/access.d.ts +360 -12
- package/dist/access.js +9 -2
- package/dist/access.js.map +1 -1
- package/dist/admin.d.ts +89 -65
- package/dist/admin.js +4 -1
- package/dist/admin.js.map +1 -1
- package/dist/api.d.ts +5 -5
- package/dist/app-runtime-users.d.ts +464 -0
- package/dist/app-runtime-users.js +64 -0
- package/dist/app-runtime-users.js.map +1 -0
- package/dist/auth.d.ts +20 -2
- package/dist/auth.js +7 -2
- package/dist/auth.js.map +1 -1
- package/dist/client-notices.d.ts +77 -77
- package/dist/coach-acquisition.d.ts +47 -0
- package/dist/coach-acquisition.js +45 -0
- package/dist/coach-acquisition.js.map +1 -0
- package/dist/coach-activity-notifications.d.ts +16 -16
- package/dist/coach-family-chat.d.ts +1658 -0
- package/dist/coach-family-chat.js +342 -0
- package/dist/coach-family-chat.js.map +1 -0
- package/dist/coach-family-chat.test.d.ts +1 -0
- package/dist/coach-family-chat.test.js +129 -0
- package/dist/coach-family-chat.test.js.map +1 -0
- package/dist/coach-growth.d.ts +706 -0
- package/dist/coach-growth.js +191 -0
- package/dist/coach-growth.js.map +1 -0
- package/dist/coach-growth.test.d.ts +1 -0
- package/dist/coach-growth.test.js +109 -0
- package/dist/coach-growth.test.js.map +1 -0
- package/dist/coach.d.ts +61 -48
- package/dist/coach.js +4 -0
- package/dist/coach.js.map +1 -1
- package/dist/enums.d.ts +1 -1
- package/dist/enums.js +9 -1
- package/dist/enums.js.map +1 -1
- package/dist/errors.d.ts +15 -4
- package/dist/errors.js +33 -0
- package/dist/errors.js.map +1 -1
- package/dist/family-invitations.d.ts +2 -2
- package/dist/family-profile-artifacts.d.ts +28 -28
- package/dist/family.d.ts +1411 -147
- package/dist/family.js +27 -0
- package/dist/family.js.map +1 -1
- package/dist/geography.d.ts +15 -0
- package/dist/geography.js +45 -0
- package/dist/geography.js.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/invites.d.ts +6 -6
- package/dist/mobile-web-releases.d.ts +14 -14
- package/dist/native-app-updates.d.ts +339 -0
- package/dist/native-app-updates.js +106 -0
- package/dist/native-app-updates.js.map +1 -0
- package/dist/notification-banners.d.ts +12 -12
- package/dist/product-analytics.d.ts +169 -169
- package/dist/product-analytics.js +1 -0
- package/dist/product-analytics.js.map +1 -1
- package/dist/push-devices.d.ts +6 -6
- package/dist/realtime.d.ts +12 -12
- package/dist/support-tickets.d.ts +10 -10
- package/fixtures/coach-family-chat-push-v1.json +104 -0
- package/fixtures/coach-family-chat-push-v1.sha256 +1 -0
- package/package.json +5 -3
package/dist/enums.js
CHANGED
|
@@ -103,6 +103,8 @@ export const auditEventTypeSchema = z.enum([
|
|
|
103
103
|
"coachSubscription.updated",
|
|
104
104
|
"mobileWebRelease.created",
|
|
105
105
|
"mobileWebRelease.updated",
|
|
106
|
+
"nativeAppUpdatePolicy.created",
|
|
107
|
+
"nativeAppUpdatePolicy.updated",
|
|
106
108
|
"notificationBanner.created",
|
|
107
109
|
"notificationBanner.updated",
|
|
108
110
|
"notificationBanner.statusUpdated",
|
|
@@ -115,6 +117,12 @@ export const auditEventTypeSchema = z.enum([
|
|
|
115
117
|
"coachPrivateNote.deleted",
|
|
116
118
|
"baby.updatedByCoach",
|
|
117
119
|
"ownerViewAsCoach.started",
|
|
118
|
-
"family.timeZone.updated"
|
|
120
|
+
"family.timeZone.updated",
|
|
121
|
+
"coachFamilyChat.conversationCreated",
|
|
122
|
+
"coachFamilyChat.participantPreferenceUpdated",
|
|
123
|
+
"coachFamilyChat.conversationClosed",
|
|
124
|
+
"coachFamilyChat.contentPurged",
|
|
125
|
+
"coachFamilyChat.ownerViewed",
|
|
126
|
+
"coachFamilyChat.moderationUpdated"
|
|
119
127
|
]);
|
|
120
128
|
//# sourceMappingURL=enums.js.map
|
package/d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rB,6BAA6B;IAC7B,2BAA2B;IAC3B,0BAA0B;IAC1B,0BAA0B;IAC1B,+BAA+B;IAC/B,+BAA+B;IAC/B,4BAA4B;IAC5B,4BAA4B;IAC5B,kCAAkC;IAClC,4BAA4B;IAC5B,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"}
|
package/dist/errors.d.ts
CHANGED
|
@@ -14,24 +14,35 @@ export declare const ERROR_CODES: {
|
|
|
14
14
|
readonly activityMutationConflict: "ACTIVITY_MUTATION_CONFLICT";
|
|
15
15
|
readonly activityMutationResultGone: "ACTIVITY_MUTATION_RESULT_GONE";
|
|
16
16
|
readonly privateNoteMutationConflict: "PRIVATE_NOTE_MUTATION_CONFLICT";
|
|
17
|
+
readonly chatConversationNotFound: "CHAT_CONVERSATION_NOT_FOUND";
|
|
18
|
+
readonly chatMessageNotFound: "CHAT_MESSAGE_NOT_FOUND";
|
|
19
|
+
readonly chatActivityNotFound: "CHAT_ACTIVITY_NOT_FOUND";
|
|
20
|
+
readonly chatDisabled: "CHAT_DISABLED";
|
|
21
|
+
readonly chatRelationshipUnavailable: "CHAT_RELATIONSHIP_UNAVAILABLE";
|
|
22
|
+
readonly chatModerated: "CHAT_MODERATED";
|
|
23
|
+
readonly chatHistoryExpired: "CHAT_HISTORY_EXPIRED";
|
|
24
|
+
readonly chatMessageEmpty: "CHAT_MESSAGE_EMPTY";
|
|
25
|
+
readonly chatMessageTooLong: "CHAT_MESSAGE_TOO_LONG";
|
|
26
|
+
readonly chatIdempotencyConflict: "CHAT_IDEMPOTENCY_CONFLICT";
|
|
27
|
+
readonly chatRateLimited: "CHAT_RATE_LIMITED";
|
|
17
28
|
readonly invalidInput: "INVALID_INPUT";
|
|
18
29
|
readonly missingRecord: "MISSING_RECORD";
|
|
19
30
|
};
|
|
20
|
-
export declare const errorCodeSchema: z.ZodEnum<["INVALID_AUTHENTICATION", "DENIED_PERMISSION", "INACTIVE_BILLING", "SUSPENDED_ORGANIZATION", "EXPIRED_INVITE", "REVOKED_INVITE", "FULL_INVITE", "COACH_SEAT_LIMIT_REACHED", "CONFLICTING_FAMILY_ASSIGNMENT", "ACTIVE_STORE_SUBSCRIPTION_COACH_INVITE_CONFLICT", "SERVICE_UNAVAILABLE", "ACTIVITY_MUTATION_CONFLICT", "ACTIVITY_MUTATION_RESULT_GONE", "PRIVATE_NOTE_MUTATION_CONFLICT", "INVALID_INPUT", "MISSING_RECORD"]>;
|
|
31
|
+
export declare const errorCodeSchema: z.ZodEnum<["INVALID_AUTHENTICATION", "DENIED_PERMISSION", "INACTIVE_BILLING", "SUSPENDED_ORGANIZATION", "EXPIRED_INVITE", "REVOKED_INVITE", "FULL_INVITE", "COACH_SEAT_LIMIT_REACHED", "CONFLICTING_FAMILY_ASSIGNMENT", "ACTIVE_STORE_SUBSCRIPTION_COACH_INVITE_CONFLICT", "SERVICE_UNAVAILABLE", "ACTIVITY_MUTATION_CONFLICT", "ACTIVITY_MUTATION_RESULT_GONE", "PRIVATE_NOTE_MUTATION_CONFLICT", "CHAT_CONVERSATION_NOT_FOUND", "CHAT_MESSAGE_NOT_FOUND", "CHAT_ACTIVITY_NOT_FOUND", "CHAT_DISABLED", "CHAT_RELATIONSHIP_UNAVAILABLE", "CHAT_MODERATED", "CHAT_HISTORY_EXPIRED", "CHAT_MESSAGE_EMPTY", "CHAT_MESSAGE_TOO_LONG", "CHAT_IDEMPOTENCY_CONFLICT", "CHAT_RATE_LIMITED", "INVALID_INPUT", "MISSING_RECORD"]>;
|
|
21
32
|
export type ErrorCode = z.infer<typeof errorCodeSchema>;
|
|
22
33
|
export declare const errorMessages: Record<ErrorCode, string>;
|
|
23
34
|
export declare const apiErrorSchema: z.ZodObject<{
|
|
24
|
-
code: z.ZodEnum<["INVALID_AUTHENTICATION", "DENIED_PERMISSION", "INACTIVE_BILLING", "SUSPENDED_ORGANIZATION", "EXPIRED_INVITE", "REVOKED_INVITE", "FULL_INVITE", "COACH_SEAT_LIMIT_REACHED", "CONFLICTING_FAMILY_ASSIGNMENT", "ACTIVE_STORE_SUBSCRIPTION_COACH_INVITE_CONFLICT", "SERVICE_UNAVAILABLE", "ACTIVITY_MUTATION_CONFLICT", "ACTIVITY_MUTATION_RESULT_GONE", "PRIVATE_NOTE_MUTATION_CONFLICT", "INVALID_INPUT", "MISSING_RECORD"]>;
|
|
35
|
+
code: z.ZodEnum<["INVALID_AUTHENTICATION", "DENIED_PERMISSION", "INACTIVE_BILLING", "SUSPENDED_ORGANIZATION", "EXPIRED_INVITE", "REVOKED_INVITE", "FULL_INVITE", "COACH_SEAT_LIMIT_REACHED", "CONFLICTING_FAMILY_ASSIGNMENT", "ACTIVE_STORE_SUBSCRIPTION_COACH_INVITE_CONFLICT", "SERVICE_UNAVAILABLE", "ACTIVITY_MUTATION_CONFLICT", "ACTIVITY_MUTATION_RESULT_GONE", "PRIVATE_NOTE_MUTATION_CONFLICT", "CHAT_CONVERSATION_NOT_FOUND", "CHAT_MESSAGE_NOT_FOUND", "CHAT_ACTIVITY_NOT_FOUND", "CHAT_DISABLED", "CHAT_RELATIONSHIP_UNAVAILABLE", "CHAT_MODERATED", "CHAT_HISTORY_EXPIRED", "CHAT_MESSAGE_EMPTY", "CHAT_MESSAGE_TOO_LONG", "CHAT_IDEMPOTENCY_CONFLICT", "CHAT_RATE_LIMITED", "INVALID_INPUT", "MISSING_RECORD"]>;
|
|
25
36
|
message: z.ZodString;
|
|
26
37
|
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
27
38
|
requestId: z.ZodOptional<z.ZodString>;
|
|
28
39
|
}, "strip", z.ZodTypeAny, {
|
|
29
|
-
code: "INVALID_AUTHENTICATION" | "DENIED_PERMISSION" | "INACTIVE_BILLING" | "SUSPENDED_ORGANIZATION" | "EXPIRED_INVITE" | "REVOKED_INVITE" | "FULL_INVITE" | "COACH_SEAT_LIMIT_REACHED" | "CONFLICTING_FAMILY_ASSIGNMENT" | "ACTIVE_STORE_SUBSCRIPTION_COACH_INVITE_CONFLICT" | "SERVICE_UNAVAILABLE" | "ACTIVITY_MUTATION_CONFLICT" | "ACTIVITY_MUTATION_RESULT_GONE" | "PRIVATE_NOTE_MUTATION_CONFLICT" | "INVALID_INPUT" | "MISSING_RECORD";
|
|
40
|
+
code: "INVALID_AUTHENTICATION" | "DENIED_PERMISSION" | "INACTIVE_BILLING" | "SUSPENDED_ORGANIZATION" | "EXPIRED_INVITE" | "REVOKED_INVITE" | "FULL_INVITE" | "COACH_SEAT_LIMIT_REACHED" | "CONFLICTING_FAMILY_ASSIGNMENT" | "ACTIVE_STORE_SUBSCRIPTION_COACH_INVITE_CONFLICT" | "SERVICE_UNAVAILABLE" | "ACTIVITY_MUTATION_CONFLICT" | "ACTIVITY_MUTATION_RESULT_GONE" | "PRIVATE_NOTE_MUTATION_CONFLICT" | "CHAT_CONVERSATION_NOT_FOUND" | "CHAT_MESSAGE_NOT_FOUND" | "CHAT_ACTIVITY_NOT_FOUND" | "CHAT_DISABLED" | "CHAT_RELATIONSHIP_UNAVAILABLE" | "CHAT_MODERATED" | "CHAT_HISTORY_EXPIRED" | "CHAT_MESSAGE_EMPTY" | "CHAT_MESSAGE_TOO_LONG" | "CHAT_IDEMPOTENCY_CONFLICT" | "CHAT_RATE_LIMITED" | "INVALID_INPUT" | "MISSING_RECORD";
|
|
30
41
|
message: string;
|
|
31
42
|
details?: Record<string, unknown> | undefined;
|
|
32
43
|
requestId?: string | undefined;
|
|
33
44
|
}, {
|
|
34
|
-
code: "INVALID_AUTHENTICATION" | "DENIED_PERMISSION" | "INACTIVE_BILLING" | "SUSPENDED_ORGANIZATION" | "EXPIRED_INVITE" | "REVOKED_INVITE" | "FULL_INVITE" | "COACH_SEAT_LIMIT_REACHED" | "CONFLICTING_FAMILY_ASSIGNMENT" | "ACTIVE_STORE_SUBSCRIPTION_COACH_INVITE_CONFLICT" | "SERVICE_UNAVAILABLE" | "ACTIVITY_MUTATION_CONFLICT" | "ACTIVITY_MUTATION_RESULT_GONE" | "PRIVATE_NOTE_MUTATION_CONFLICT" | "INVALID_INPUT" | "MISSING_RECORD";
|
|
45
|
+
code: "INVALID_AUTHENTICATION" | "DENIED_PERMISSION" | "INACTIVE_BILLING" | "SUSPENDED_ORGANIZATION" | "EXPIRED_INVITE" | "REVOKED_INVITE" | "FULL_INVITE" | "COACH_SEAT_LIMIT_REACHED" | "CONFLICTING_FAMILY_ASSIGNMENT" | "ACTIVE_STORE_SUBSCRIPTION_COACH_INVITE_CONFLICT" | "SERVICE_UNAVAILABLE" | "ACTIVITY_MUTATION_CONFLICT" | "ACTIVITY_MUTATION_RESULT_GONE" | "PRIVATE_NOTE_MUTATION_CONFLICT" | "CHAT_CONVERSATION_NOT_FOUND" | "CHAT_MESSAGE_NOT_FOUND" | "CHAT_ACTIVITY_NOT_FOUND" | "CHAT_DISABLED" | "CHAT_RELATIONSHIP_UNAVAILABLE" | "CHAT_MODERATED" | "CHAT_HISTORY_EXPIRED" | "CHAT_MESSAGE_EMPTY" | "CHAT_MESSAGE_TOO_LONG" | "CHAT_IDEMPOTENCY_CONFLICT" | "CHAT_RATE_LIMITED" | "INVALID_INPUT" | "MISSING_RECORD";
|
|
35
46
|
message: string;
|
|
36
47
|
details?: Record<string, unknown> | undefined;
|
|
37
48
|
requestId?: string | undefined;
|
package/dist/errors.js
CHANGED
|
@@ -14,6 +14,17 @@ export const ERROR_CODES = {
|
|
|
14
14
|
activityMutationConflict: "ACTIVITY_MUTATION_CONFLICT",
|
|
15
15
|
activityMutationResultGone: "ACTIVITY_MUTATION_RESULT_GONE",
|
|
16
16
|
privateNoteMutationConflict: "PRIVATE_NOTE_MUTATION_CONFLICT",
|
|
17
|
+
chatConversationNotFound: "CHAT_CONVERSATION_NOT_FOUND",
|
|
18
|
+
chatMessageNotFound: "CHAT_MESSAGE_NOT_FOUND",
|
|
19
|
+
chatActivityNotFound: "CHAT_ACTIVITY_NOT_FOUND",
|
|
20
|
+
chatDisabled: "CHAT_DISABLED",
|
|
21
|
+
chatRelationshipUnavailable: "CHAT_RELATIONSHIP_UNAVAILABLE",
|
|
22
|
+
chatModerated: "CHAT_MODERATED",
|
|
23
|
+
chatHistoryExpired: "CHAT_HISTORY_EXPIRED",
|
|
24
|
+
chatMessageEmpty: "CHAT_MESSAGE_EMPTY",
|
|
25
|
+
chatMessageTooLong: "CHAT_MESSAGE_TOO_LONG",
|
|
26
|
+
chatIdempotencyConflict: "CHAT_IDEMPOTENCY_CONFLICT",
|
|
27
|
+
chatRateLimited: "CHAT_RATE_LIMITED",
|
|
17
28
|
invalidInput: "INVALID_INPUT",
|
|
18
29
|
missingRecord: "MISSING_RECORD"
|
|
19
30
|
};
|
|
@@ -32,6 +43,17 @@ export const errorCodeSchema = z.enum([
|
|
|
32
43
|
ERROR_CODES.activityMutationConflict,
|
|
33
44
|
ERROR_CODES.activityMutationResultGone,
|
|
34
45
|
ERROR_CODES.privateNoteMutationConflict,
|
|
46
|
+
ERROR_CODES.chatConversationNotFound,
|
|
47
|
+
ERROR_CODES.chatMessageNotFound,
|
|
48
|
+
ERROR_CODES.chatActivityNotFound,
|
|
49
|
+
ERROR_CODES.chatDisabled,
|
|
50
|
+
ERROR_CODES.chatRelationshipUnavailable,
|
|
51
|
+
ERROR_CODES.chatModerated,
|
|
52
|
+
ERROR_CODES.chatHistoryExpired,
|
|
53
|
+
ERROR_CODES.chatMessageEmpty,
|
|
54
|
+
ERROR_CODES.chatMessageTooLong,
|
|
55
|
+
ERROR_CODES.chatIdempotencyConflict,
|
|
56
|
+
ERROR_CODES.chatRateLimited,
|
|
35
57
|
ERROR_CODES.invalidInput,
|
|
36
58
|
ERROR_CODES.missingRecord
|
|
37
59
|
]);
|
|
@@ -50,6 +72,17 @@ export const errorMessages = {
|
|
|
50
72
|
[ERROR_CODES.activityMutationConflict]: "This saved activity no longer matches its original request.",
|
|
51
73
|
[ERROR_CODES.activityMutationResultGone]: "This activity was already saved and later removed.",
|
|
52
74
|
[ERROR_CODES.privateNoteMutationConflict]: "This private note was changed elsewhere. Refresh and try again.",
|
|
75
|
+
[ERROR_CODES.chatConversationNotFound]: "The chat conversation was not found.",
|
|
76
|
+
[ERROR_CODES.chatMessageNotFound]: "The chat message was not found.",
|
|
77
|
+
[ERROR_CODES.chatActivityNotFound]: "The tagged activity was not found.",
|
|
78
|
+
[ERROR_CODES.chatDisabled]: "Chat is currently paused.",
|
|
79
|
+
[ERROR_CODES.chatRelationshipUnavailable]: "Chat is unavailable for this coaching relationship.",
|
|
80
|
+
[ERROR_CODES.chatModerated]: "Chat has been disabled by the platform owner.",
|
|
81
|
+
[ERROR_CODES.chatHistoryExpired]: "This chat history is no longer available.",
|
|
82
|
+
[ERROR_CODES.chatMessageEmpty]: "Enter a message before sending.",
|
|
83
|
+
[ERROR_CODES.chatMessageTooLong]: "This message is too long.",
|
|
84
|
+
[ERROR_CODES.chatIdempotencyConflict]: "This retry key was already used for different chat content.",
|
|
85
|
+
[ERROR_CODES.chatRateLimited]: "Too many chat requests. Try again shortly.",
|
|
53
86
|
[ERROR_CODES.invalidInput]: "Check the highlighted fields and try again.",
|
|
54
87
|
[ERROR_CODES.missingRecord]: "The requested record was not found."
|
|
55
88
|
};
|
package/dist/errors.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,qBAAqB,EAAE,wBAAwB;IAC/C,gBAAgB,EAAE,mBAAmB;IACrC,eAAe,EAAE,kBAAkB;IACnC,qBAAqB,EAAE,wBAAwB;IAC/C,aA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,WAAW,CAAC,gBAAgB,CAAC,EAAE,iCAAiC;IACjE,CAAC,WAAW,CAAC,kBAAkB,CAAC,EAAE,2BAA2B;IAC7D,CAAC,WAAW,CAAC,uBAAuB,CAAC,EAAE,6DAA6D;IACpG,CAAC,WAAW,CAAC,eAAe,CAAC,EAAE,4CAA4C;IAC3E,CAAC,WAAW,CAAC,YAAY,CAAC,EAAE,6CAA6C;IACzE,CAAC,WAAW,CAAC,aAAa,CAAC,EAAE,qCAAqC;CACnE,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,IAAI,EAAE,eAAe;IACrB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,EAAE;IACzC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;CACxC,CAAC,CAAC"}
|
|
@@ -1697,11 +1697,11 @@ export declare const acceptFamilyInvitationRequestSchema: z.ZodObject<{
|
|
|
1697
1697
|
}, "strict", z.ZodTypeAny, {
|
|
1698
1698
|
consentToCoachAccess: true;
|
|
1699
1699
|
acknowledgeActiveStoreSubscription?: boolean | undefined;
|
|
1700
|
-
redeemedFromPlatform?: "
|
|
1700
|
+
redeemedFromPlatform?: "web" | "iosWebView" | "androidWebView" | undefined;
|
|
1701
1701
|
}, {
|
|
1702
1702
|
consentToCoachAccess: true;
|
|
1703
1703
|
acknowledgeActiveStoreSubscription?: boolean | undefined;
|
|
1704
|
-
redeemedFromPlatform?: "
|
|
1704
|
+
redeemedFromPlatform?: "web" | "iosWebView" | "androidWebView" | undefined;
|
|
1705
1705
|
}>;
|
|
1706
1706
|
export declare const declineFamilyInvitationResponseSchema: z.ZodObject<{
|
|
1707
1707
|
invitation: z.ZodObject<{
|
|
@@ -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;
|