@nikthegeek/dreamsforlittles-shared 0.6.2 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/access.d.ts +352 -0
- package/dist/access.js +2 -1
- package/dist/access.js.map +1 -1
- package/dist/active-timer-reminders.d.ts +10 -0
- package/dist/active-timer-reminders.js +11 -0
- package/dist/active-timer-reminders.js.map +1 -0
- package/dist/admin.d.ts +1867 -0
- package/dist/admin.js +4 -0
- package/dist/admin.js.map +1 -1
- package/dist/analysis.d.ts +216 -8
- package/dist/api.d.ts +5 -5
- package/dist/app-feedback.d.ts +266 -0
- package/dist/app-feedback.js +6 -2
- package/dist/app-feedback.js.map +1 -1
- package/dist/branding.d.ts +80 -0
- package/dist/branding.js +234 -0
- package/dist/branding.js.map +1 -0
- package/dist/branding.test.js +101 -0
- package/dist/branding.test.js.map +1 -0
- package/dist/client-notices.d.ts +133 -133
- package/dist/coach-activity-notifications.d.ts +4 -3
- package/dist/coach-activity-notifications.js +33 -5
- package/dist/coach-activity-notifications.js.map +1 -1
- package/dist/coach-activity-notifications.test.d.ts +1 -0
- package/dist/coach-activity-notifications.test.js +57 -0
- package/dist/coach-activity-notifications.test.js.map +1 -0
- package/dist/coach.d.ts +4600 -686
- package/dist/coach.js +36 -2
- package/dist/coach.js.map +1 -1
- package/dist/enums.d.ts +1 -1
- package/dist/enums.js +4 -1
- package/dist/enums.js.map +1 -1
- package/dist/errors.d.ts +8 -4
- package/dist/errors.js +12 -0
- package/dist/errors.js.map +1 -1
- package/dist/family-invitations.d.ts +466 -14
- package/dist/family-profile-artifacts.d.ts +802 -58
- package/dist/family.d.ts +6425 -1442
- package/dist/family.js +214 -10
- package/dist/family.js.map +1 -1
- package/dist/family.test.d.ts +1 -0
- package/dist/family.test.js +207 -0
- package/dist/family.test.js.map +1 -0
- package/dist/files.d.ts +2 -2
- package/dist/getting-started-guides.d.ts +6 -6
- package/dist/index.d.ts +5 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/invites.d.ts +98 -0
- package/dist/notification-banners.d.ts +76 -14
- package/dist/notification-banners.js +20 -2
- package/dist/notification-banners.js.map +1 -1
- package/dist/notification-banners.test.d.ts +1 -0
- package/dist/notification-banners.test.js +28 -0
- package/dist/notification-banners.test.js.map +1 -0
- package/dist/realtime.d.ts +4 -4
- package/dist/subscription-cancellation-feedback.d.ts +539 -0
- package/dist/subscription-cancellation-feedback.js +144 -0
- package/dist/subscription-cancellation-feedback.js.map +1 -0
- package/dist/subscription-cancellation-feedback.test.d.ts +1 -0
- package/dist/subscription-cancellation-feedback.test.js +27 -0
- package/dist/subscription-cancellation-feedback.test.js.map +1 -0
- package/dist/support-attachments.d.ts +320 -0
- package/dist/support-attachments.js +108 -0
- package/dist/support-attachments.js.map +1 -0
- package/dist/support-attachments.test.d.ts +1 -0
- package/dist/support-attachments.test.js +35 -0
- package/dist/support-attachments.test.js.map +1 -0
- package/dist/support-mutation-reconciliation.d.ts +74 -0
- package/dist/support-mutation-reconciliation.js +36 -0
- package/dist/support-mutation-reconciliation.js.map +1 -0
- package/dist/support-mutation-reconciliation.test.d.ts +1 -0
- package/dist/support-mutation-reconciliation.test.js +43 -0
- package/dist/support-mutation-reconciliation.test.js.map +1 -0
- package/dist/support-tickets.d.ts +424 -0
- package/dist/support-tickets.js +9 -3
- package/dist/support-tickets.js.map +1 -1
- package/package.json +1 -1
- package/dist/sleep-insights.d.ts +0 -7943
- package/dist/sleep-insights.js +0 -231
- package/dist/sleep-insights.js.map +0 -1
- package/dist/sleep-insights.test.js +0 -124
- package/dist/sleep-insights.test.js.map +0 -1
- /package/dist/{sleep-insights.test.d.ts → branding.test.d.ts} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification-banners.test.js","sourceRoot":"","sources":["../src/notification-banners.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,EACL,8CAA8C,EAC9C,8BAA8B,EAC9B,sCAAsC,EACtC,+BAA+B,EAC/B,qCAAqC,EACtC,MAAM,2BAA2B,CAAC;AAEnC,QAAQ,CAAC,+CAA+C,EAAE,GAAG,EAAE;IAC7D,EAAE,CAAC,iEAAiE,EAAE,GAAG,EAAE;QACzE,MAAM,CACJ,qCAAqC,CAAC,KAAK,CAAC;YAC1C,QAAQ,EAAE,KAAK;YACf,qBAAqB,EAAE,GAAG;SAC3B,CAAC,CACH,CAAC,OAAO,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,qBAAqB,EAAE,GAAG,EAAE,CAAC,CAAC;QAC3D,MAAM,CAAC,GAAG,EAAE,CACV,qCAAqC,CAAC,KAAK,CAAC;YAC1C,QAAQ,EAAE,KAAK;YACf,qBAAqB,EAAE,GAAG;SAC3B,CAAC,CACH,CAAC,OAAO,EAAE,CAAC;IACd,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,oEAAoE,EAAE,GAAG,EAAE;QAC5E,MAAM,CAAC;YACL,MAAM,EAAE,+BAA+B;YACvC,aAAa,EAAE,sCAAsC;YACrD,KAAK,EAAE,8BAA8B;YACrC,qBAAqB,EAAE,8CAA8C;SACtE,CAAC,CAAC,OAAO,CAAC;YACT,MAAM,EAAE,0CAA0C;YAClD,aAAa,EAAE,GAAG;YAClB,KAAK,EAAE,SAAS;YAChB,qBAAqB,EAAE,OAAO;SAC/B,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
package/dist/realtime.d.ts
CHANGED
|
@@ -60,12 +60,12 @@ export declare const platformRealtimePresenceTrackPayloadSchema: z.ZodObject<{
|
|
|
60
60
|
presenceToken: z.ZodString;
|
|
61
61
|
surface: z.ZodEnum<["mobile-web", "admin-web", "owner-web"]>;
|
|
62
62
|
}, "strict", z.ZodTypeAny, {
|
|
63
|
-
surface: "mobile-web" | "admin-web" | "owner-web";
|
|
64
63
|
schemaVersion: 1;
|
|
64
|
+
surface: "mobile-web" | "admin-web" | "owner-web";
|
|
65
65
|
presenceToken: string;
|
|
66
66
|
}, {
|
|
67
|
-
surface: "mobile-web" | "admin-web" | "owner-web";
|
|
68
67
|
schemaVersion: 1;
|
|
68
|
+
surface: "mobile-web" | "admin-web" | "owner-web";
|
|
69
69
|
presenceToken: string;
|
|
70
70
|
}>;
|
|
71
71
|
export declare const platformRealtimePresenceResolveRequestSchema: z.ZodObject<{
|
|
@@ -311,12 +311,12 @@ export declare const platformRealtimePresenceV2TrackPayloadSchema: z.ZodObject<{
|
|
|
311
311
|
presenceToken: z.ZodString;
|
|
312
312
|
surface: z.ZodEnum<["mobile-web", "admin-web", "owner-web"]>;
|
|
313
313
|
}, "strict", z.ZodTypeAny, {
|
|
314
|
-
surface: "mobile-web" | "admin-web" | "owner-web";
|
|
315
314
|
schemaVersion: 2;
|
|
315
|
+
surface: "mobile-web" | "admin-web" | "owner-web";
|
|
316
316
|
presenceToken: string;
|
|
317
317
|
}, {
|
|
318
|
-
surface: "mobile-web" | "admin-web" | "owner-web";
|
|
319
318
|
schemaVersion: 2;
|
|
319
|
+
surface: "mobile-web" | "admin-web" | "owner-web";
|
|
320
320
|
presenceToken: string;
|
|
321
321
|
}>;
|
|
322
322
|
export declare const platformRealtimePresenceV2ResolveRequestSchema: z.ZodObject<{
|
|
@@ -0,0 +1,539 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const SUBSCRIPTION_CANCELLATION_FEEDBACK_REASONS: readonly [{
|
|
3
|
+
readonly key: "technicalReliability";
|
|
4
|
+
readonly label: "Technical or reliability problems";
|
|
5
|
+
}, {
|
|
6
|
+
readonly key: "missingFeatures";
|
|
7
|
+
readonly label: "Missing features";
|
|
8
|
+
}, {
|
|
9
|
+
readonly key: "difficultToUse";
|
|
10
|
+
readonly label: "Difficult to set up or use";
|
|
11
|
+
}, {
|
|
12
|
+
readonly key: "priceValue";
|
|
13
|
+
readonly label: "Price or value";
|
|
14
|
+
}, {
|
|
15
|
+
readonly key: "clientsNotUsing";
|
|
16
|
+
readonly label: "Clients were not using it";
|
|
17
|
+
}, {
|
|
18
|
+
readonly key: "noLongerNeeded";
|
|
19
|
+
readonly label: "Did not use it enough or no longer needed it";
|
|
20
|
+
}, {
|
|
21
|
+
readonly key: "switchedProduct";
|
|
22
|
+
readonly label: "Switched to another product";
|
|
23
|
+
}, {
|
|
24
|
+
readonly key: "other";
|
|
25
|
+
readonly label: "Other";
|
|
26
|
+
}];
|
|
27
|
+
export declare const SUBSCRIPTION_CANCELLATION_TECHNICAL_AREAS: readonly [{
|
|
28
|
+
readonly key: "startupLogin";
|
|
29
|
+
readonly label: "Startup or login";
|
|
30
|
+
}, {
|
|
31
|
+
readonly key: "sleepTracking";
|
|
32
|
+
readonly label: "Sleep tracking";
|
|
33
|
+
}, {
|
|
34
|
+
readonly key: "activityTracking";
|
|
35
|
+
readonly label: "Other activity tracking";
|
|
36
|
+
}, {
|
|
37
|
+
readonly key: "clientInvitations";
|
|
38
|
+
readonly label: "Client invitations";
|
|
39
|
+
}, {
|
|
40
|
+
readonly key: "dashboard";
|
|
41
|
+
readonly label: "Dashboard";
|
|
42
|
+
}, {
|
|
43
|
+
readonly key: "notifications";
|
|
44
|
+
readonly label: "Notifications";
|
|
45
|
+
}, {
|
|
46
|
+
readonly key: "billing";
|
|
47
|
+
readonly label: "Billing or subscription";
|
|
48
|
+
}, {
|
|
49
|
+
readonly key: "other";
|
|
50
|
+
readonly label: "Other";
|
|
51
|
+
}];
|
|
52
|
+
export declare const MAX_SUBSCRIPTION_CANCELLATION_FEEDBACK_DETAILS_LENGTH = 2000;
|
|
53
|
+
export declare const subscriptionCancellationFeedbackReasonSchema: z.ZodEnum<["technicalReliability", "missingFeatures", "difficultToUse", "priceValue", "clientsNotUsing", "noLongerNeeded", "switchedProduct", "other"]>;
|
|
54
|
+
export declare const subscriptionCancellationTechnicalAreaSchema: z.ZodEnum<["startupLogin", "sleepTracking", "activityTracking", "clientInvitations", "dashboard", "notifications", "billing", "other"]>;
|
|
55
|
+
export declare const subscriptionCancellationFeedbackSubmitRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
56
|
+
reasons: z.ZodEffects<z.ZodArray<z.ZodEnum<["technicalReliability", "missingFeatures", "difficultToUse", "priceValue", "clientsNotUsing", "noLongerNeeded", "switchedProduct", "other"]>, "many">, ("other" | "technicalReliability" | "missingFeatures" | "difficultToUse" | "priceValue" | "clientsNotUsing" | "noLongerNeeded" | "switchedProduct")[], ("other" | "technicalReliability" | "missingFeatures" | "difficultToUse" | "priceValue" | "clientsNotUsing" | "noLongerNeeded" | "switchedProduct")[]>;
|
|
57
|
+
technicalAreas: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodEnum<["startupLogin", "sleepTracking", "activityTracking", "clientInvitations", "dashboard", "notifications", "billing", "other"]>, "many">, ("other" | "billing" | "notifications" | "activityTracking" | "startupLogin" | "sleepTracking" | "clientInvitations" | "dashboard")[], ("other" | "billing" | "notifications" | "activityTracking" | "startupLogin" | "sleepTracking" | "clientInvitations" | "dashboard")[]>>;
|
|
58
|
+
rating: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
59
|
+
details: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
60
|
+
contactAllowed: z.ZodBoolean;
|
|
61
|
+
}, "strict", z.ZodTypeAny, {
|
|
62
|
+
contactAllowed: boolean;
|
|
63
|
+
reasons: ("other" | "technicalReliability" | "missingFeatures" | "difficultToUse" | "priceValue" | "clientsNotUsing" | "noLongerNeeded" | "switchedProduct")[];
|
|
64
|
+
technicalAreas: ("other" | "billing" | "notifications" | "activityTracking" | "startupLogin" | "sleepTracking" | "clientInvitations" | "dashboard")[];
|
|
65
|
+
details?: string | null | undefined;
|
|
66
|
+
rating?: number | null | undefined;
|
|
67
|
+
}, {
|
|
68
|
+
contactAllowed: boolean;
|
|
69
|
+
reasons: ("other" | "technicalReliability" | "missingFeatures" | "difficultToUse" | "priceValue" | "clientsNotUsing" | "noLongerNeeded" | "switchedProduct")[];
|
|
70
|
+
details?: string | null | undefined;
|
|
71
|
+
technicalAreas?: ("other" | "billing" | "notifications" | "activityTracking" | "startupLogin" | "sleepTracking" | "clientInvitations" | "dashboard")[] | undefined;
|
|
72
|
+
rating?: number | null | undefined;
|
|
73
|
+
}>, {
|
|
74
|
+
contactAllowed: boolean;
|
|
75
|
+
reasons: ("other" | "technicalReliability" | "missingFeatures" | "difficultToUse" | "priceValue" | "clientsNotUsing" | "noLongerNeeded" | "switchedProduct")[];
|
|
76
|
+
technicalAreas: ("other" | "billing" | "notifications" | "activityTracking" | "startupLogin" | "sleepTracking" | "clientInvitations" | "dashboard")[];
|
|
77
|
+
details?: string | null | undefined;
|
|
78
|
+
rating?: number | null | undefined;
|
|
79
|
+
}, {
|
|
80
|
+
contactAllowed: boolean;
|
|
81
|
+
reasons: ("other" | "technicalReliability" | "missingFeatures" | "difficultToUse" | "priceValue" | "clientsNotUsing" | "noLongerNeeded" | "switchedProduct")[];
|
|
82
|
+
details?: string | null | undefined;
|
|
83
|
+
technicalAreas?: ("other" | "billing" | "notifications" | "activityTracking" | "startupLogin" | "sleepTracking" | "clientInvitations" | "dashboard")[] | undefined;
|
|
84
|
+
rating?: number | null | undefined;
|
|
85
|
+
}>;
|
|
86
|
+
export declare const subscriptionCancellationFeedbackPublicContextSchema: z.ZodObject<{
|
|
87
|
+
status: z.ZodEnum<["available", "submitted", "unavailable"]>;
|
|
88
|
+
firstName: z.ZodOptional<z.ZodString>;
|
|
89
|
+
organizationName: z.ZodOptional<z.ZodString>;
|
|
90
|
+
cancellationEffectiveAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
91
|
+
expiresAt: z.ZodOptional<z.ZodString>;
|
|
92
|
+
}, "strip", z.ZodTypeAny, {
|
|
93
|
+
status: "submitted" | "available" | "unavailable";
|
|
94
|
+
expiresAt?: string | undefined;
|
|
95
|
+
organizationName?: string | undefined;
|
|
96
|
+
firstName?: string | undefined;
|
|
97
|
+
cancellationEffectiveAt?: string | null | undefined;
|
|
98
|
+
}, {
|
|
99
|
+
status: "submitted" | "available" | "unavailable";
|
|
100
|
+
expiresAt?: string | undefined;
|
|
101
|
+
organizationName?: string | undefined;
|
|
102
|
+
firstName?: string | undefined;
|
|
103
|
+
cancellationEffectiveAt?: string | null | undefined;
|
|
104
|
+
}>;
|
|
105
|
+
export declare const subscriptionCancellationFeedbackSubmitResponseSchema: z.ZodObject<{
|
|
106
|
+
status: z.ZodLiteral<"submitted">;
|
|
107
|
+
}, "strip", z.ZodTypeAny, {
|
|
108
|
+
status: "submitted";
|
|
109
|
+
}, {
|
|
110
|
+
status: "submitted";
|
|
111
|
+
}>;
|
|
112
|
+
export declare const subscriptionCancellationFeedbackDeliveryStatusSchema: z.ZodEnum<["scheduled", "sending", "sent", "failed", "submitted", "canceled", "expired"]>;
|
|
113
|
+
export declare const subscriptionCancellationFeedbackSchema: z.ZodObject<{
|
|
114
|
+
id: z.ZodString;
|
|
115
|
+
subscriptionId: z.ZodString;
|
|
116
|
+
coachUserId: z.ZodString;
|
|
117
|
+
organizationId: z.ZodString;
|
|
118
|
+
recipientEmail: z.ZodString;
|
|
119
|
+
recipientName: z.ZodString;
|
|
120
|
+
organizationName: z.ZodString;
|
|
121
|
+
cancellationEffectiveAt: z.ZodString;
|
|
122
|
+
deliveryStatus: z.ZodEnum<["scheduled", "sending", "sent", "failed", "submitted", "canceled", "expired"]>;
|
|
123
|
+
reviewStatus: z.ZodEnum<["new", "inReview", "resolved", "archived"]>;
|
|
124
|
+
reasons: z.ZodArray<z.ZodEnum<["technicalReliability", "missingFeatures", "difficultToUse", "priceValue", "clientsNotUsing", "noLongerNeeded", "switchedProduct", "other"]>, "many">;
|
|
125
|
+
technicalAreas: z.ZodArray<z.ZodEnum<["startupLogin", "sleepTracking", "activityTracking", "clientInvitations", "dashboard", "notifications", "billing", "other"]>, "many">;
|
|
126
|
+
rating: z.ZodNullable<z.ZodNumber>;
|
|
127
|
+
details: z.ZodNullable<z.ZodString>;
|
|
128
|
+
contactAllowed: z.ZodNullable<z.ZodBoolean>;
|
|
129
|
+
attemptCount: z.ZodNumber;
|
|
130
|
+
lastError: z.ZodNullable<z.ZodString>;
|
|
131
|
+
sendAfter: z.ZodString;
|
|
132
|
+
expiresAt: z.ZodString;
|
|
133
|
+
sentAt: z.ZodNullable<z.ZodString>;
|
|
134
|
+
submittedAt: z.ZodNullable<z.ZodString>;
|
|
135
|
+
canceledAt: z.ZodNullable<z.ZodString>;
|
|
136
|
+
reviewedAt: z.ZodNullable<z.ZodString>;
|
|
137
|
+
resolvedAt: z.ZodNullable<z.ZodString>;
|
|
138
|
+
archivedAt: z.ZodNullable<z.ZodString>;
|
|
139
|
+
adminNotes: z.ZodNullable<z.ZodString>;
|
|
140
|
+
createdAt: z.ZodString;
|
|
141
|
+
updatedAt: z.ZodString;
|
|
142
|
+
}, "strip", z.ZodTypeAny, {
|
|
143
|
+
id: string;
|
|
144
|
+
createdAt: string;
|
|
145
|
+
expiresAt: string;
|
|
146
|
+
updatedAt: string;
|
|
147
|
+
organizationId: string;
|
|
148
|
+
coachUserId: string;
|
|
149
|
+
canceledAt: string | null;
|
|
150
|
+
details: string | null;
|
|
151
|
+
contactAllowed: boolean | null;
|
|
152
|
+
reviewedAt: string | null;
|
|
153
|
+
resolvedAt: string | null;
|
|
154
|
+
archivedAt: string | null;
|
|
155
|
+
adminNotes: string | null;
|
|
156
|
+
organizationName: string;
|
|
157
|
+
submittedAt: string | null;
|
|
158
|
+
reasons: ("other" | "technicalReliability" | "missingFeatures" | "difficultToUse" | "priceValue" | "clientsNotUsing" | "noLongerNeeded" | "switchedProduct")[];
|
|
159
|
+
technicalAreas: ("other" | "billing" | "notifications" | "activityTracking" | "startupLogin" | "sleepTracking" | "clientInvitations" | "dashboard")[];
|
|
160
|
+
rating: number | null;
|
|
161
|
+
cancellationEffectiveAt: string;
|
|
162
|
+
subscriptionId: string;
|
|
163
|
+
recipientEmail: string;
|
|
164
|
+
recipientName: string;
|
|
165
|
+
deliveryStatus: "expired" | "canceled" | "failed" | "scheduled" | "submitted" | "sending" | "sent";
|
|
166
|
+
reviewStatus: "archived" | "new" | "inReview" | "resolved";
|
|
167
|
+
attemptCount: number;
|
|
168
|
+
lastError: string | null;
|
|
169
|
+
sendAfter: string;
|
|
170
|
+
sentAt: string | null;
|
|
171
|
+
}, {
|
|
172
|
+
id: string;
|
|
173
|
+
createdAt: string;
|
|
174
|
+
expiresAt: string;
|
|
175
|
+
updatedAt: string;
|
|
176
|
+
organizationId: string;
|
|
177
|
+
coachUserId: string;
|
|
178
|
+
canceledAt: string | null;
|
|
179
|
+
details: string | null;
|
|
180
|
+
contactAllowed: boolean | null;
|
|
181
|
+
reviewedAt: string | null;
|
|
182
|
+
resolvedAt: string | null;
|
|
183
|
+
archivedAt: string | null;
|
|
184
|
+
adminNotes: string | null;
|
|
185
|
+
organizationName: string;
|
|
186
|
+
submittedAt: string | null;
|
|
187
|
+
reasons: ("other" | "technicalReliability" | "missingFeatures" | "difficultToUse" | "priceValue" | "clientsNotUsing" | "noLongerNeeded" | "switchedProduct")[];
|
|
188
|
+
technicalAreas: ("other" | "billing" | "notifications" | "activityTracking" | "startupLogin" | "sleepTracking" | "clientInvitations" | "dashboard")[];
|
|
189
|
+
rating: number | null;
|
|
190
|
+
cancellationEffectiveAt: string;
|
|
191
|
+
subscriptionId: string;
|
|
192
|
+
recipientEmail: string;
|
|
193
|
+
recipientName: string;
|
|
194
|
+
deliveryStatus: "expired" | "canceled" | "failed" | "scheduled" | "submitted" | "sending" | "sent";
|
|
195
|
+
reviewStatus: "archived" | "new" | "inReview" | "resolved";
|
|
196
|
+
attemptCount: number;
|
|
197
|
+
lastError: string | null;
|
|
198
|
+
sendAfter: string;
|
|
199
|
+
sentAt: string | null;
|
|
200
|
+
}>;
|
|
201
|
+
export declare const adminSubscriptionCancellationFeedbackResponseSchema: z.ZodObject<{
|
|
202
|
+
feedback: z.ZodArray<z.ZodObject<{
|
|
203
|
+
id: z.ZodString;
|
|
204
|
+
subscriptionId: z.ZodString;
|
|
205
|
+
coachUserId: z.ZodString;
|
|
206
|
+
organizationId: z.ZodString;
|
|
207
|
+
recipientEmail: z.ZodString;
|
|
208
|
+
recipientName: z.ZodString;
|
|
209
|
+
organizationName: z.ZodString;
|
|
210
|
+
cancellationEffectiveAt: z.ZodString;
|
|
211
|
+
deliveryStatus: z.ZodEnum<["scheduled", "sending", "sent", "failed", "submitted", "canceled", "expired"]>;
|
|
212
|
+
reviewStatus: z.ZodEnum<["new", "inReview", "resolved", "archived"]>;
|
|
213
|
+
reasons: z.ZodArray<z.ZodEnum<["technicalReliability", "missingFeatures", "difficultToUse", "priceValue", "clientsNotUsing", "noLongerNeeded", "switchedProduct", "other"]>, "many">;
|
|
214
|
+
technicalAreas: z.ZodArray<z.ZodEnum<["startupLogin", "sleepTracking", "activityTracking", "clientInvitations", "dashboard", "notifications", "billing", "other"]>, "many">;
|
|
215
|
+
rating: z.ZodNullable<z.ZodNumber>;
|
|
216
|
+
details: z.ZodNullable<z.ZodString>;
|
|
217
|
+
contactAllowed: z.ZodNullable<z.ZodBoolean>;
|
|
218
|
+
attemptCount: z.ZodNumber;
|
|
219
|
+
lastError: z.ZodNullable<z.ZodString>;
|
|
220
|
+
sendAfter: z.ZodString;
|
|
221
|
+
expiresAt: z.ZodString;
|
|
222
|
+
sentAt: z.ZodNullable<z.ZodString>;
|
|
223
|
+
submittedAt: z.ZodNullable<z.ZodString>;
|
|
224
|
+
canceledAt: z.ZodNullable<z.ZodString>;
|
|
225
|
+
reviewedAt: z.ZodNullable<z.ZodString>;
|
|
226
|
+
resolvedAt: z.ZodNullable<z.ZodString>;
|
|
227
|
+
archivedAt: z.ZodNullable<z.ZodString>;
|
|
228
|
+
adminNotes: z.ZodNullable<z.ZodString>;
|
|
229
|
+
createdAt: z.ZodString;
|
|
230
|
+
updatedAt: z.ZodString;
|
|
231
|
+
}, "strip", z.ZodTypeAny, {
|
|
232
|
+
id: string;
|
|
233
|
+
createdAt: string;
|
|
234
|
+
expiresAt: string;
|
|
235
|
+
updatedAt: string;
|
|
236
|
+
organizationId: string;
|
|
237
|
+
coachUserId: string;
|
|
238
|
+
canceledAt: string | null;
|
|
239
|
+
details: string | null;
|
|
240
|
+
contactAllowed: boolean | null;
|
|
241
|
+
reviewedAt: string | null;
|
|
242
|
+
resolvedAt: string | null;
|
|
243
|
+
archivedAt: string | null;
|
|
244
|
+
adminNotes: string | null;
|
|
245
|
+
organizationName: string;
|
|
246
|
+
submittedAt: string | null;
|
|
247
|
+
reasons: ("other" | "technicalReliability" | "missingFeatures" | "difficultToUse" | "priceValue" | "clientsNotUsing" | "noLongerNeeded" | "switchedProduct")[];
|
|
248
|
+
technicalAreas: ("other" | "billing" | "notifications" | "activityTracking" | "startupLogin" | "sleepTracking" | "clientInvitations" | "dashboard")[];
|
|
249
|
+
rating: number | null;
|
|
250
|
+
cancellationEffectiveAt: string;
|
|
251
|
+
subscriptionId: string;
|
|
252
|
+
recipientEmail: string;
|
|
253
|
+
recipientName: string;
|
|
254
|
+
deliveryStatus: "expired" | "canceled" | "failed" | "scheduled" | "submitted" | "sending" | "sent";
|
|
255
|
+
reviewStatus: "archived" | "new" | "inReview" | "resolved";
|
|
256
|
+
attemptCount: number;
|
|
257
|
+
lastError: string | null;
|
|
258
|
+
sendAfter: string;
|
|
259
|
+
sentAt: string | null;
|
|
260
|
+
}, {
|
|
261
|
+
id: string;
|
|
262
|
+
createdAt: string;
|
|
263
|
+
expiresAt: string;
|
|
264
|
+
updatedAt: string;
|
|
265
|
+
organizationId: string;
|
|
266
|
+
coachUserId: string;
|
|
267
|
+
canceledAt: string | null;
|
|
268
|
+
details: string | null;
|
|
269
|
+
contactAllowed: boolean | null;
|
|
270
|
+
reviewedAt: string | null;
|
|
271
|
+
resolvedAt: string | null;
|
|
272
|
+
archivedAt: string | null;
|
|
273
|
+
adminNotes: string | null;
|
|
274
|
+
organizationName: string;
|
|
275
|
+
submittedAt: string | null;
|
|
276
|
+
reasons: ("other" | "technicalReliability" | "missingFeatures" | "difficultToUse" | "priceValue" | "clientsNotUsing" | "noLongerNeeded" | "switchedProduct")[];
|
|
277
|
+
technicalAreas: ("other" | "billing" | "notifications" | "activityTracking" | "startupLogin" | "sleepTracking" | "clientInvitations" | "dashboard")[];
|
|
278
|
+
rating: number | null;
|
|
279
|
+
cancellationEffectiveAt: string;
|
|
280
|
+
subscriptionId: string;
|
|
281
|
+
recipientEmail: string;
|
|
282
|
+
recipientName: string;
|
|
283
|
+
deliveryStatus: "expired" | "canceled" | "failed" | "scheduled" | "submitted" | "sending" | "sent";
|
|
284
|
+
reviewStatus: "archived" | "new" | "inReview" | "resolved";
|
|
285
|
+
attemptCount: number;
|
|
286
|
+
lastError: string | null;
|
|
287
|
+
sendAfter: string;
|
|
288
|
+
sentAt: string | null;
|
|
289
|
+
}>, "many">;
|
|
290
|
+
}, "strip", z.ZodTypeAny, {
|
|
291
|
+
feedback: {
|
|
292
|
+
id: string;
|
|
293
|
+
createdAt: string;
|
|
294
|
+
expiresAt: string;
|
|
295
|
+
updatedAt: string;
|
|
296
|
+
organizationId: string;
|
|
297
|
+
coachUserId: string;
|
|
298
|
+
canceledAt: string | null;
|
|
299
|
+
details: string | null;
|
|
300
|
+
contactAllowed: boolean | null;
|
|
301
|
+
reviewedAt: string | null;
|
|
302
|
+
resolvedAt: string | null;
|
|
303
|
+
archivedAt: string | null;
|
|
304
|
+
adminNotes: string | null;
|
|
305
|
+
organizationName: string;
|
|
306
|
+
submittedAt: string | null;
|
|
307
|
+
reasons: ("other" | "technicalReliability" | "missingFeatures" | "difficultToUse" | "priceValue" | "clientsNotUsing" | "noLongerNeeded" | "switchedProduct")[];
|
|
308
|
+
technicalAreas: ("other" | "billing" | "notifications" | "activityTracking" | "startupLogin" | "sleepTracking" | "clientInvitations" | "dashboard")[];
|
|
309
|
+
rating: number | null;
|
|
310
|
+
cancellationEffectiveAt: string;
|
|
311
|
+
subscriptionId: string;
|
|
312
|
+
recipientEmail: string;
|
|
313
|
+
recipientName: string;
|
|
314
|
+
deliveryStatus: "expired" | "canceled" | "failed" | "scheduled" | "submitted" | "sending" | "sent";
|
|
315
|
+
reviewStatus: "archived" | "new" | "inReview" | "resolved";
|
|
316
|
+
attemptCount: number;
|
|
317
|
+
lastError: string | null;
|
|
318
|
+
sendAfter: string;
|
|
319
|
+
sentAt: string | null;
|
|
320
|
+
}[];
|
|
321
|
+
}, {
|
|
322
|
+
feedback: {
|
|
323
|
+
id: string;
|
|
324
|
+
createdAt: string;
|
|
325
|
+
expiresAt: string;
|
|
326
|
+
updatedAt: string;
|
|
327
|
+
organizationId: string;
|
|
328
|
+
coachUserId: string;
|
|
329
|
+
canceledAt: string | null;
|
|
330
|
+
details: string | null;
|
|
331
|
+
contactAllowed: boolean | null;
|
|
332
|
+
reviewedAt: string | null;
|
|
333
|
+
resolvedAt: string | null;
|
|
334
|
+
archivedAt: string | null;
|
|
335
|
+
adminNotes: string | null;
|
|
336
|
+
organizationName: string;
|
|
337
|
+
submittedAt: string | null;
|
|
338
|
+
reasons: ("other" | "technicalReliability" | "missingFeatures" | "difficultToUse" | "priceValue" | "clientsNotUsing" | "noLongerNeeded" | "switchedProduct")[];
|
|
339
|
+
technicalAreas: ("other" | "billing" | "notifications" | "activityTracking" | "startupLogin" | "sleepTracking" | "clientInvitations" | "dashboard")[];
|
|
340
|
+
rating: number | null;
|
|
341
|
+
cancellationEffectiveAt: string;
|
|
342
|
+
subscriptionId: string;
|
|
343
|
+
recipientEmail: string;
|
|
344
|
+
recipientName: string;
|
|
345
|
+
deliveryStatus: "expired" | "canceled" | "failed" | "scheduled" | "submitted" | "sending" | "sent";
|
|
346
|
+
reviewStatus: "archived" | "new" | "inReview" | "resolved";
|
|
347
|
+
attemptCount: number;
|
|
348
|
+
lastError: string | null;
|
|
349
|
+
sendAfter: string;
|
|
350
|
+
sentAt: string | null;
|
|
351
|
+
}[];
|
|
352
|
+
}>;
|
|
353
|
+
export declare const adminSubscriptionCancellationFeedbackRequestCreateSchema: z.ZodObject<{
|
|
354
|
+
email: z.ZodString;
|
|
355
|
+
}, "strict", z.ZodTypeAny, {
|
|
356
|
+
email: string;
|
|
357
|
+
}, {
|
|
358
|
+
email: string;
|
|
359
|
+
}>;
|
|
360
|
+
export declare const adminSubscriptionCancellationFeedbackRequestCreateResponseSchema: z.ZodObject<{
|
|
361
|
+
feedback: z.ZodObject<{
|
|
362
|
+
id: z.ZodString;
|
|
363
|
+
subscriptionId: z.ZodString;
|
|
364
|
+
coachUserId: z.ZodString;
|
|
365
|
+
organizationId: z.ZodString;
|
|
366
|
+
recipientEmail: z.ZodString;
|
|
367
|
+
recipientName: z.ZodString;
|
|
368
|
+
organizationName: z.ZodString;
|
|
369
|
+
cancellationEffectiveAt: z.ZodString;
|
|
370
|
+
deliveryStatus: z.ZodEnum<["scheduled", "sending", "sent", "failed", "submitted", "canceled", "expired"]>;
|
|
371
|
+
reviewStatus: z.ZodEnum<["new", "inReview", "resolved", "archived"]>;
|
|
372
|
+
reasons: z.ZodArray<z.ZodEnum<["technicalReliability", "missingFeatures", "difficultToUse", "priceValue", "clientsNotUsing", "noLongerNeeded", "switchedProduct", "other"]>, "many">;
|
|
373
|
+
technicalAreas: z.ZodArray<z.ZodEnum<["startupLogin", "sleepTracking", "activityTracking", "clientInvitations", "dashboard", "notifications", "billing", "other"]>, "many">;
|
|
374
|
+
rating: z.ZodNullable<z.ZodNumber>;
|
|
375
|
+
details: z.ZodNullable<z.ZodString>;
|
|
376
|
+
contactAllowed: z.ZodNullable<z.ZodBoolean>;
|
|
377
|
+
attemptCount: z.ZodNumber;
|
|
378
|
+
lastError: z.ZodNullable<z.ZodString>;
|
|
379
|
+
sendAfter: z.ZodString;
|
|
380
|
+
expiresAt: z.ZodString;
|
|
381
|
+
sentAt: z.ZodNullable<z.ZodString>;
|
|
382
|
+
submittedAt: z.ZodNullable<z.ZodString>;
|
|
383
|
+
canceledAt: z.ZodNullable<z.ZodString>;
|
|
384
|
+
reviewedAt: z.ZodNullable<z.ZodString>;
|
|
385
|
+
resolvedAt: z.ZodNullable<z.ZodString>;
|
|
386
|
+
archivedAt: z.ZodNullable<z.ZodString>;
|
|
387
|
+
adminNotes: z.ZodNullable<z.ZodString>;
|
|
388
|
+
createdAt: z.ZodString;
|
|
389
|
+
updatedAt: z.ZodString;
|
|
390
|
+
}, "strip", z.ZodTypeAny, {
|
|
391
|
+
id: string;
|
|
392
|
+
createdAt: string;
|
|
393
|
+
expiresAt: string;
|
|
394
|
+
updatedAt: string;
|
|
395
|
+
organizationId: string;
|
|
396
|
+
coachUserId: string;
|
|
397
|
+
canceledAt: string | null;
|
|
398
|
+
details: string | null;
|
|
399
|
+
contactAllowed: boolean | null;
|
|
400
|
+
reviewedAt: string | null;
|
|
401
|
+
resolvedAt: string | null;
|
|
402
|
+
archivedAt: string | null;
|
|
403
|
+
adminNotes: string | null;
|
|
404
|
+
organizationName: string;
|
|
405
|
+
submittedAt: string | null;
|
|
406
|
+
reasons: ("other" | "technicalReliability" | "missingFeatures" | "difficultToUse" | "priceValue" | "clientsNotUsing" | "noLongerNeeded" | "switchedProduct")[];
|
|
407
|
+
technicalAreas: ("other" | "billing" | "notifications" | "activityTracking" | "startupLogin" | "sleepTracking" | "clientInvitations" | "dashboard")[];
|
|
408
|
+
rating: number | null;
|
|
409
|
+
cancellationEffectiveAt: string;
|
|
410
|
+
subscriptionId: string;
|
|
411
|
+
recipientEmail: string;
|
|
412
|
+
recipientName: string;
|
|
413
|
+
deliveryStatus: "expired" | "canceled" | "failed" | "scheduled" | "submitted" | "sending" | "sent";
|
|
414
|
+
reviewStatus: "archived" | "new" | "inReview" | "resolved";
|
|
415
|
+
attemptCount: number;
|
|
416
|
+
lastError: string | null;
|
|
417
|
+
sendAfter: string;
|
|
418
|
+
sentAt: string | null;
|
|
419
|
+
}, {
|
|
420
|
+
id: string;
|
|
421
|
+
createdAt: string;
|
|
422
|
+
expiresAt: string;
|
|
423
|
+
updatedAt: string;
|
|
424
|
+
organizationId: string;
|
|
425
|
+
coachUserId: string;
|
|
426
|
+
canceledAt: string | null;
|
|
427
|
+
details: string | null;
|
|
428
|
+
contactAllowed: boolean | null;
|
|
429
|
+
reviewedAt: string | null;
|
|
430
|
+
resolvedAt: string | null;
|
|
431
|
+
archivedAt: string | null;
|
|
432
|
+
adminNotes: string | null;
|
|
433
|
+
organizationName: string;
|
|
434
|
+
submittedAt: string | null;
|
|
435
|
+
reasons: ("other" | "technicalReliability" | "missingFeatures" | "difficultToUse" | "priceValue" | "clientsNotUsing" | "noLongerNeeded" | "switchedProduct")[];
|
|
436
|
+
technicalAreas: ("other" | "billing" | "notifications" | "activityTracking" | "startupLogin" | "sleepTracking" | "clientInvitations" | "dashboard")[];
|
|
437
|
+
rating: number | null;
|
|
438
|
+
cancellationEffectiveAt: string;
|
|
439
|
+
subscriptionId: string;
|
|
440
|
+
recipientEmail: string;
|
|
441
|
+
recipientName: string;
|
|
442
|
+
deliveryStatus: "expired" | "canceled" | "failed" | "scheduled" | "submitted" | "sending" | "sent";
|
|
443
|
+
reviewStatus: "archived" | "new" | "inReview" | "resolved";
|
|
444
|
+
attemptCount: number;
|
|
445
|
+
lastError: string | null;
|
|
446
|
+
sendAfter: string;
|
|
447
|
+
sentAt: string | null;
|
|
448
|
+
}>;
|
|
449
|
+
created: z.ZodBoolean;
|
|
450
|
+
}, "strip", z.ZodTypeAny, {
|
|
451
|
+
feedback: {
|
|
452
|
+
id: string;
|
|
453
|
+
createdAt: string;
|
|
454
|
+
expiresAt: string;
|
|
455
|
+
updatedAt: string;
|
|
456
|
+
organizationId: string;
|
|
457
|
+
coachUserId: string;
|
|
458
|
+
canceledAt: string | null;
|
|
459
|
+
details: string | null;
|
|
460
|
+
contactAllowed: boolean | null;
|
|
461
|
+
reviewedAt: string | null;
|
|
462
|
+
resolvedAt: string | null;
|
|
463
|
+
archivedAt: string | null;
|
|
464
|
+
adminNotes: string | null;
|
|
465
|
+
organizationName: string;
|
|
466
|
+
submittedAt: string | null;
|
|
467
|
+
reasons: ("other" | "technicalReliability" | "missingFeatures" | "difficultToUse" | "priceValue" | "clientsNotUsing" | "noLongerNeeded" | "switchedProduct")[];
|
|
468
|
+
technicalAreas: ("other" | "billing" | "notifications" | "activityTracking" | "startupLogin" | "sleepTracking" | "clientInvitations" | "dashboard")[];
|
|
469
|
+
rating: number | null;
|
|
470
|
+
cancellationEffectiveAt: string;
|
|
471
|
+
subscriptionId: string;
|
|
472
|
+
recipientEmail: string;
|
|
473
|
+
recipientName: string;
|
|
474
|
+
deliveryStatus: "expired" | "canceled" | "failed" | "scheduled" | "submitted" | "sending" | "sent";
|
|
475
|
+
reviewStatus: "archived" | "new" | "inReview" | "resolved";
|
|
476
|
+
attemptCount: number;
|
|
477
|
+
lastError: string | null;
|
|
478
|
+
sendAfter: string;
|
|
479
|
+
sentAt: string | null;
|
|
480
|
+
};
|
|
481
|
+
created: boolean;
|
|
482
|
+
}, {
|
|
483
|
+
feedback: {
|
|
484
|
+
id: string;
|
|
485
|
+
createdAt: string;
|
|
486
|
+
expiresAt: string;
|
|
487
|
+
updatedAt: string;
|
|
488
|
+
organizationId: string;
|
|
489
|
+
coachUserId: string;
|
|
490
|
+
canceledAt: string | null;
|
|
491
|
+
details: string | null;
|
|
492
|
+
contactAllowed: boolean | null;
|
|
493
|
+
reviewedAt: string | null;
|
|
494
|
+
resolvedAt: string | null;
|
|
495
|
+
archivedAt: string | null;
|
|
496
|
+
adminNotes: string | null;
|
|
497
|
+
organizationName: string;
|
|
498
|
+
submittedAt: string | null;
|
|
499
|
+
reasons: ("other" | "technicalReliability" | "missingFeatures" | "difficultToUse" | "priceValue" | "clientsNotUsing" | "noLongerNeeded" | "switchedProduct")[];
|
|
500
|
+
technicalAreas: ("other" | "billing" | "notifications" | "activityTracking" | "startupLogin" | "sleepTracking" | "clientInvitations" | "dashboard")[];
|
|
501
|
+
rating: number | null;
|
|
502
|
+
cancellationEffectiveAt: string;
|
|
503
|
+
subscriptionId: string;
|
|
504
|
+
recipientEmail: string;
|
|
505
|
+
recipientName: string;
|
|
506
|
+
deliveryStatus: "expired" | "canceled" | "failed" | "scheduled" | "submitted" | "sending" | "sent";
|
|
507
|
+
reviewStatus: "archived" | "new" | "inReview" | "resolved";
|
|
508
|
+
attemptCount: number;
|
|
509
|
+
lastError: string | null;
|
|
510
|
+
sendAfter: string;
|
|
511
|
+
sentAt: string | null;
|
|
512
|
+
};
|
|
513
|
+
created: boolean;
|
|
514
|
+
}>;
|
|
515
|
+
export declare const adminSubscriptionCancellationFeedbackUpdateSchema: z.ZodEffects<z.ZodObject<{
|
|
516
|
+
status: z.ZodOptional<z.ZodEnum<["new", "inReview", "resolved", "archived"]>>;
|
|
517
|
+
adminNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
518
|
+
}, "strict", z.ZodTypeAny, {
|
|
519
|
+
status?: "archived" | "new" | "inReview" | "resolved" | undefined;
|
|
520
|
+
adminNotes?: string | null | undefined;
|
|
521
|
+
}, {
|
|
522
|
+
status?: "archived" | "new" | "inReview" | "resolved" | undefined;
|
|
523
|
+
adminNotes?: string | null | undefined;
|
|
524
|
+
}>, {
|
|
525
|
+
status?: "archived" | "new" | "inReview" | "resolved" | undefined;
|
|
526
|
+
adminNotes?: string | null | undefined;
|
|
527
|
+
}, {
|
|
528
|
+
status?: "archived" | "new" | "inReview" | "resolved" | undefined;
|
|
529
|
+
adminNotes?: string | null | undefined;
|
|
530
|
+
}>;
|
|
531
|
+
export type SubscriptionCancellationFeedbackReason = z.infer<typeof subscriptionCancellationFeedbackReasonSchema>;
|
|
532
|
+
export type SubscriptionCancellationTechnicalArea = z.infer<typeof subscriptionCancellationTechnicalAreaSchema>;
|
|
533
|
+
export type SubscriptionCancellationFeedbackSubmitRequest = z.infer<typeof subscriptionCancellationFeedbackSubmitRequestSchema>;
|
|
534
|
+
export type SubscriptionCancellationFeedbackPublicContext = z.infer<typeof subscriptionCancellationFeedbackPublicContextSchema>;
|
|
535
|
+
export type SubscriptionCancellationFeedback = z.infer<typeof subscriptionCancellationFeedbackSchema>;
|
|
536
|
+
export type AdminSubscriptionCancellationFeedbackResponse = z.infer<typeof adminSubscriptionCancellationFeedbackResponseSchema>;
|
|
537
|
+
export type AdminSubscriptionCancellationFeedbackRequestCreate = z.infer<typeof adminSubscriptionCancellationFeedbackRequestCreateSchema>;
|
|
538
|
+
export type AdminSubscriptionCancellationFeedbackRequestCreateResponse = z.infer<typeof adminSubscriptionCancellationFeedbackRequestCreateResponseSchema>;
|
|
539
|
+
export type AdminSubscriptionCancellationFeedbackUpdate = z.infer<typeof adminSubscriptionCancellationFeedbackUpdateSchema>;
|