@nikthegeek/dreamsforlittles-shared 0.1.3 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +2300 -165
- package/dist/admin.js +128 -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 +37 -4
- package/dist/auth.js +12 -4
- 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 +113 -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-acquisition.d.ts +47 -0
- package/dist/family-acquisition.js +45 -0
- package/dist/family-acquisition.js.map +1 -0
- package/dist/family-acquisition.test.d.ts +1 -0
- package/dist/family-acquisition.test.js +121 -0
- package/dist/family-acquisition.test.js.map +1 -0
- 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 +7 -0
- package/dist/index.js +7 -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 +276 -276
- 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/admin.d.ts
CHANGED
|
@@ -110,21 +110,26 @@ export declare const adminActiveTimerCountsSchema: z.ZodObject<{
|
|
|
110
110
|
sleep: z.ZodNumber;
|
|
111
111
|
breastfeed: z.ZodNumber;
|
|
112
112
|
pumping: z.ZodNumber;
|
|
113
|
+
stale: z.ZodNumber;
|
|
113
114
|
}, "strip", z.ZodTypeAny, {
|
|
114
115
|
total: number;
|
|
115
116
|
sleep: number;
|
|
116
117
|
breastfeed: number;
|
|
117
118
|
pumping: number;
|
|
119
|
+
stale: number;
|
|
118
120
|
}, {
|
|
119
121
|
total: number;
|
|
120
122
|
sleep: number;
|
|
121
123
|
breastfeed: number;
|
|
122
124
|
pumping: number;
|
|
125
|
+
stale: number;
|
|
123
126
|
}>;
|
|
124
127
|
export declare const adminActiveTimerSchema: z.ZodObject<{
|
|
125
128
|
id: z.ZodString;
|
|
126
129
|
activityType: z.ZodEnum<["breastfeed", "sleep", "pumping"]>;
|
|
127
130
|
startedAt: z.ZodString;
|
|
131
|
+
staleAt: z.ZodString;
|
|
132
|
+
isStale: z.ZodBoolean;
|
|
128
133
|
timeZone: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
|
|
129
134
|
localDate: z.ZodNullable<z.ZodString>;
|
|
130
135
|
updatedAt: z.ZodString;
|
|
@@ -162,6 +167,8 @@ export declare const adminActiveTimerSchema: z.ZodObject<{
|
|
|
162
167
|
startedAt: string;
|
|
163
168
|
updatedAt: string;
|
|
164
169
|
activityType: "sleep" | "breastfeed" | "pumping";
|
|
170
|
+
staleAt: string;
|
|
171
|
+
isStale: boolean;
|
|
165
172
|
localDate: string | null;
|
|
166
173
|
baby: {
|
|
167
174
|
id: string;
|
|
@@ -178,6 +185,8 @@ export declare const adminActiveTimerSchema: z.ZodObject<{
|
|
|
178
185
|
startedAt: string;
|
|
179
186
|
updatedAt: string;
|
|
180
187
|
activityType: "sleep" | "breastfeed" | "pumping";
|
|
188
|
+
staleAt: string;
|
|
189
|
+
isStale: boolean;
|
|
181
190
|
localDate: string | null;
|
|
182
191
|
baby: {
|
|
183
192
|
id: string;
|
|
@@ -189,6 +198,8 @@ export declare const adminActiveTimersResponseSchema: z.ZodObject<{
|
|
|
189
198
|
id: z.ZodString;
|
|
190
199
|
activityType: z.ZodEnum<["breastfeed", "sleep", "pumping"]>;
|
|
191
200
|
startedAt: z.ZodString;
|
|
201
|
+
staleAt: z.ZodString;
|
|
202
|
+
isStale: z.ZodBoolean;
|
|
192
203
|
timeZone: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
|
|
193
204
|
localDate: z.ZodNullable<z.ZodString>;
|
|
194
205
|
updatedAt: z.ZodString;
|
|
@@ -226,6 +237,8 @@ export declare const adminActiveTimersResponseSchema: z.ZodObject<{
|
|
|
226
237
|
startedAt: string;
|
|
227
238
|
updatedAt: string;
|
|
228
239
|
activityType: "sleep" | "breastfeed" | "pumping";
|
|
240
|
+
staleAt: string;
|
|
241
|
+
isStale: boolean;
|
|
229
242
|
localDate: string | null;
|
|
230
243
|
baby: {
|
|
231
244
|
id: string;
|
|
@@ -242,6 +255,8 @@ export declare const adminActiveTimersResponseSchema: z.ZodObject<{
|
|
|
242
255
|
startedAt: string;
|
|
243
256
|
updatedAt: string;
|
|
244
257
|
activityType: "sleep" | "breastfeed" | "pumping";
|
|
258
|
+
staleAt: string;
|
|
259
|
+
isStale: boolean;
|
|
245
260
|
localDate: string | null;
|
|
246
261
|
baby: {
|
|
247
262
|
id: string;
|
|
@@ -253,16 +268,19 @@ export declare const adminActiveTimersResponseSchema: z.ZodObject<{
|
|
|
253
268
|
sleep: z.ZodNumber;
|
|
254
269
|
breastfeed: z.ZodNumber;
|
|
255
270
|
pumping: z.ZodNumber;
|
|
271
|
+
stale: z.ZodNumber;
|
|
256
272
|
}, "strip", z.ZodTypeAny, {
|
|
257
273
|
total: number;
|
|
258
274
|
sleep: number;
|
|
259
275
|
breastfeed: number;
|
|
260
276
|
pumping: number;
|
|
277
|
+
stale: number;
|
|
261
278
|
}, {
|
|
262
279
|
total: number;
|
|
263
280
|
sleep: number;
|
|
264
281
|
breastfeed: number;
|
|
265
282
|
pumping: number;
|
|
283
|
+
stale: number;
|
|
266
284
|
}>;
|
|
267
285
|
generatedAt: z.ZodString;
|
|
268
286
|
truncated: z.ZodBoolean;
|
|
@@ -278,6 +296,8 @@ export declare const adminActiveTimersResponseSchema: z.ZodObject<{
|
|
|
278
296
|
startedAt: string;
|
|
279
297
|
updatedAt: string;
|
|
280
298
|
activityType: "sleep" | "breastfeed" | "pumping";
|
|
299
|
+
staleAt: string;
|
|
300
|
+
isStale: boolean;
|
|
281
301
|
localDate: string | null;
|
|
282
302
|
baby: {
|
|
283
303
|
id: string;
|
|
@@ -289,6 +309,7 @@ export declare const adminActiveTimersResponseSchema: z.ZodObject<{
|
|
|
289
309
|
sleep: number;
|
|
290
310
|
breastfeed: number;
|
|
291
311
|
pumping: number;
|
|
312
|
+
stale: number;
|
|
292
313
|
};
|
|
293
314
|
generatedAt: string;
|
|
294
315
|
truncated: boolean;
|
|
@@ -304,6 +325,8 @@ export declare const adminActiveTimersResponseSchema: z.ZodObject<{
|
|
|
304
325
|
startedAt: string;
|
|
305
326
|
updatedAt: string;
|
|
306
327
|
activityType: "sleep" | "breastfeed" | "pumping";
|
|
328
|
+
staleAt: string;
|
|
329
|
+
isStale: boolean;
|
|
307
330
|
localDate: string | null;
|
|
308
331
|
baby: {
|
|
309
332
|
id: string;
|
|
@@ -315,6 +338,7 @@ export declare const adminActiveTimersResponseSchema: z.ZodObject<{
|
|
|
315
338
|
sleep: number;
|
|
316
339
|
breastfeed: number;
|
|
317
340
|
pumping: number;
|
|
341
|
+
stale: number;
|
|
318
342
|
};
|
|
319
343
|
generatedAt: string;
|
|
320
344
|
truncated: boolean;
|
|
@@ -2169,8 +2193,8 @@ export declare const adminAssignmentResponseSchema: z.ZodObject<{
|
|
|
2169
2193
|
premiumGraceActive: z.ZodOptional<z.ZodBoolean>;
|
|
2170
2194
|
disabledReason: z.ZodEnum<["none", "notStarted", "expired", "revoked", "billingInactive", "suspendedOrganization", "noEntitlement"]>;
|
|
2171
2195
|
}, "strip", z.ZodTypeAny, {
|
|
2172
|
-
active: boolean;
|
|
2173
2196
|
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
2197
|
+
active: boolean;
|
|
2174
2198
|
expiresAt?: string | null | undefined;
|
|
2175
2199
|
organizationId?: string | undefined;
|
|
2176
2200
|
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
@@ -2181,8 +2205,8 @@ export declare const adminAssignmentResponseSchema: z.ZodObject<{
|
|
|
2181
2205
|
premiumGraceDaysRemaining?: number | undefined;
|
|
2182
2206
|
premiumGraceActive?: boolean | undefined;
|
|
2183
2207
|
}, {
|
|
2184
|
-
active: boolean;
|
|
2185
2208
|
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
2209
|
+
active: boolean;
|
|
2186
2210
|
expiresAt?: string | null | undefined;
|
|
2187
2211
|
organizationId?: string | undefined;
|
|
2188
2212
|
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
@@ -2235,8 +2259,8 @@ export declare const adminAssignmentResponseSchema: z.ZodObject<{
|
|
|
2235
2259
|
} | undefined;
|
|
2236
2260
|
};
|
|
2237
2261
|
premium: {
|
|
2238
|
-
active: boolean;
|
|
2239
2262
|
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
2263
|
+
active: boolean;
|
|
2240
2264
|
expiresAt?: string | null | undefined;
|
|
2241
2265
|
organizationId?: string | undefined;
|
|
2242
2266
|
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
@@ -2289,8 +2313,8 @@ export declare const adminAssignmentResponseSchema: z.ZodObject<{
|
|
|
2289
2313
|
} | undefined;
|
|
2290
2314
|
};
|
|
2291
2315
|
premium: {
|
|
2292
|
-
active: boolean;
|
|
2293
2316
|
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
2317
|
+
active: boolean;
|
|
2294
2318
|
expiresAt?: string | null | undefined;
|
|
2295
2319
|
organizationId?: string | undefined;
|
|
2296
2320
|
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
@@ -4713,6 +4737,28 @@ export declare const adminCoachViewAsSessionResponseSchema: z.ZodObject<{
|
|
|
4713
4737
|
};
|
|
4714
4738
|
expiresAt: string;
|
|
4715
4739
|
readOnly: boolean;
|
|
4740
|
+
owner: {
|
|
4741
|
+
id: string;
|
|
4742
|
+
authUserId: string;
|
|
4743
|
+
email: string;
|
|
4744
|
+
name: string;
|
|
4745
|
+
defaultRole: "family" | "coach" | "superAdmin";
|
|
4746
|
+
roles: {
|
|
4747
|
+
family: boolean;
|
|
4748
|
+
coach: boolean;
|
|
4749
|
+
superAdmin: boolean;
|
|
4750
|
+
};
|
|
4751
|
+
createdAt: string;
|
|
4752
|
+
profileAssetId?: string | null | undefined;
|
|
4753
|
+
relationship?: "mother" | "father" | "grandfather" | "grandmother" | "uncle" | "aunt" | "guardian" | "other" | null | undefined;
|
|
4754
|
+
timeZone?: string | null | undefined;
|
|
4755
|
+
communicationPreferences?: {
|
|
4756
|
+
hintsTips: boolean;
|
|
4757
|
+
appUpdatesNewFeatures: boolean;
|
|
4758
|
+
promotionsOffers: boolean;
|
|
4759
|
+
} | undefined;
|
|
4760
|
+
communicationPreferencesUpdatedAt?: string | null | undefined;
|
|
4761
|
+
};
|
|
4716
4762
|
organization: {
|
|
4717
4763
|
type: "platformPractice" | "independentCoach" | "multiCoachPractice" | "academy" | "partner";
|
|
4718
4764
|
status: "active" | "trialing" | "pastDue" | "suspended" | "archived";
|
|
@@ -4743,7 +4789,8 @@ export declare const adminCoachViewAsSessionResponseSchema: z.ZodObject<{
|
|
|
4743
4789
|
} | null;
|
|
4744
4790
|
token: string;
|
|
4745
4791
|
adminPortalUrl: string;
|
|
4746
|
-
|
|
4792
|
+
}, {
|
|
4793
|
+
coach: {
|
|
4747
4794
|
id: string;
|
|
4748
4795
|
authUserId: string;
|
|
4749
4796
|
email: string;
|
|
@@ -4765,8 +4812,9 @@ export declare const adminCoachViewAsSessionResponseSchema: z.ZodObject<{
|
|
|
4765
4812
|
} | undefined;
|
|
4766
4813
|
communicationPreferencesUpdatedAt?: string | null | undefined;
|
|
4767
4814
|
};
|
|
4768
|
-
|
|
4769
|
-
|
|
4815
|
+
expiresAt: string;
|
|
4816
|
+
readOnly: boolean;
|
|
4817
|
+
owner: {
|
|
4770
4818
|
id: string;
|
|
4771
4819
|
authUserId: string;
|
|
4772
4820
|
email: string;
|
|
@@ -4788,8 +4836,6 @@ export declare const adminCoachViewAsSessionResponseSchema: z.ZodObject<{
|
|
|
4788
4836
|
} | undefined;
|
|
4789
4837
|
communicationPreferencesUpdatedAt?: string | null | undefined;
|
|
4790
4838
|
};
|
|
4791
|
-
expiresAt: string;
|
|
4792
|
-
readOnly: boolean;
|
|
4793
4839
|
organization: {
|
|
4794
4840
|
type: "platformPractice" | "independentCoach" | "multiCoachPractice" | "academy" | "partner";
|
|
4795
4841
|
status: "active" | "trialing" | "pastDue" | "suspended" | "archived";
|
|
@@ -4820,28 +4866,6 @@ export declare const adminCoachViewAsSessionResponseSchema: z.ZodObject<{
|
|
|
4820
4866
|
} | null;
|
|
4821
4867
|
token: string;
|
|
4822
4868
|
adminPortalUrl: string;
|
|
4823
|
-
owner: {
|
|
4824
|
-
id: string;
|
|
4825
|
-
authUserId: string;
|
|
4826
|
-
email: string;
|
|
4827
|
-
name: string;
|
|
4828
|
-
defaultRole: "family" | "coach" | "superAdmin";
|
|
4829
|
-
roles: {
|
|
4830
|
-
family: boolean;
|
|
4831
|
-
coach: boolean;
|
|
4832
|
-
superAdmin: boolean;
|
|
4833
|
-
};
|
|
4834
|
-
createdAt: string;
|
|
4835
|
-
profileAssetId?: string | null | undefined;
|
|
4836
|
-
relationship?: "mother" | "father" | "grandfather" | "grandmother" | "uncle" | "aunt" | "guardian" | "other" | null | undefined;
|
|
4837
|
-
timeZone?: string | null | undefined;
|
|
4838
|
-
communicationPreferences?: {
|
|
4839
|
-
hintsTips: boolean;
|
|
4840
|
-
appUpdatesNewFeatures: boolean;
|
|
4841
|
-
promotionsOffers: boolean;
|
|
4842
|
-
} | undefined;
|
|
4843
|
-
communicationPreferencesUpdatedAt?: string | null | undefined;
|
|
4844
|
-
};
|
|
4845
4869
|
}>;
|
|
4846
4870
|
export declare const adminInviteCodeResponseSchema: z.ZodObject<{
|
|
4847
4871
|
inviteCode: z.ZodObject<{
|
|
@@ -5369,8 +5393,8 @@ export declare const adminFamilyListItemSchema: z.ZodObject<{
|
|
|
5369
5393
|
premiumGraceActive: z.ZodOptional<z.ZodBoolean>;
|
|
5370
5394
|
disabledReason: z.ZodEnum<["none", "notStarted", "expired", "revoked", "billingInactive", "suspendedOrganization", "noEntitlement"]>;
|
|
5371
5395
|
}, "strip", z.ZodTypeAny, {
|
|
5372
|
-
active: boolean;
|
|
5373
5396
|
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
5397
|
+
active: boolean;
|
|
5374
5398
|
expiresAt?: string | null | undefined;
|
|
5375
5399
|
organizationId?: string | undefined;
|
|
5376
5400
|
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
@@ -5381,8 +5405,8 @@ export declare const adminFamilyListItemSchema: z.ZodObject<{
|
|
|
5381
5405
|
premiumGraceDaysRemaining?: number | undefined;
|
|
5382
5406
|
premiumGraceActive?: boolean | undefined;
|
|
5383
5407
|
}, {
|
|
5384
|
-
active: boolean;
|
|
5385
5408
|
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
5409
|
+
active: boolean;
|
|
5386
5410
|
expiresAt?: string | null | undefined;
|
|
5387
5411
|
organizationId?: string | undefined;
|
|
5388
5412
|
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
@@ -5525,8 +5549,8 @@ export declare const adminFamilyListItemSchema: z.ZodObject<{
|
|
|
5525
5549
|
} | undefined;
|
|
5526
5550
|
} | null;
|
|
5527
5551
|
premium: {
|
|
5528
|
-
active: boolean;
|
|
5529
5552
|
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
5553
|
+
active: boolean;
|
|
5530
5554
|
expiresAt?: string | null | undefined;
|
|
5531
5555
|
organizationId?: string | undefined;
|
|
5532
5556
|
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
@@ -5649,8 +5673,8 @@ export declare const adminFamilyListItemSchema: z.ZodObject<{
|
|
|
5649
5673
|
} | undefined;
|
|
5650
5674
|
} | null;
|
|
5651
5675
|
premium: {
|
|
5652
|
-
active: boolean;
|
|
5653
5676
|
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
5677
|
+
active: boolean;
|
|
5654
5678
|
expiresAt?: string | null | undefined;
|
|
5655
5679
|
organizationId?: string | undefined;
|
|
5656
5680
|
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
@@ -6071,8 +6095,8 @@ export declare const adminFamiliesResponseSchema: z.ZodObject<{
|
|
|
6071
6095
|
premiumGraceActive: z.ZodOptional<z.ZodBoolean>;
|
|
6072
6096
|
disabledReason: z.ZodEnum<["none", "notStarted", "expired", "revoked", "billingInactive", "suspendedOrganization", "noEntitlement"]>;
|
|
6073
6097
|
}, "strip", z.ZodTypeAny, {
|
|
6074
|
-
active: boolean;
|
|
6075
6098
|
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
6099
|
+
active: boolean;
|
|
6076
6100
|
expiresAt?: string | null | undefined;
|
|
6077
6101
|
organizationId?: string | undefined;
|
|
6078
6102
|
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
@@ -6083,8 +6107,8 @@ export declare const adminFamiliesResponseSchema: z.ZodObject<{
|
|
|
6083
6107
|
premiumGraceDaysRemaining?: number | undefined;
|
|
6084
6108
|
premiumGraceActive?: boolean | undefined;
|
|
6085
6109
|
}, {
|
|
6086
|
-
active: boolean;
|
|
6087
6110
|
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
6111
|
+
active: boolean;
|
|
6088
6112
|
expiresAt?: string | null | undefined;
|
|
6089
6113
|
organizationId?: string | undefined;
|
|
6090
6114
|
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
@@ -6227,8 +6251,8 @@ export declare const adminFamiliesResponseSchema: z.ZodObject<{
|
|
|
6227
6251
|
} | undefined;
|
|
6228
6252
|
} | null;
|
|
6229
6253
|
premium: {
|
|
6230
|
-
active: boolean;
|
|
6231
6254
|
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
6255
|
+
active: boolean;
|
|
6232
6256
|
expiresAt?: string | null | undefined;
|
|
6233
6257
|
organizationId?: string | undefined;
|
|
6234
6258
|
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
@@ -6351,8 +6375,8 @@ export declare const adminFamiliesResponseSchema: z.ZodObject<{
|
|
|
6351
6375
|
} | undefined;
|
|
6352
6376
|
} | null;
|
|
6353
6377
|
premium: {
|
|
6354
|
-
active: boolean;
|
|
6355
6378
|
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
6379
|
+
active: boolean;
|
|
6356
6380
|
expiresAt?: string | null | undefined;
|
|
6357
6381
|
organizationId?: string | undefined;
|
|
6358
6382
|
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
@@ -6477,8 +6501,8 @@ export declare const adminFamiliesResponseSchema: z.ZodObject<{
|
|
|
6477
6501
|
} | undefined;
|
|
6478
6502
|
} | null;
|
|
6479
6503
|
premium: {
|
|
6480
|
-
active: boolean;
|
|
6481
6504
|
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
6505
|
+
active: boolean;
|
|
6482
6506
|
expiresAt?: string | null | undefined;
|
|
6483
6507
|
organizationId?: string | undefined;
|
|
6484
6508
|
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
@@ -6603,8 +6627,8 @@ export declare const adminFamiliesResponseSchema: z.ZodObject<{
|
|
|
6603
6627
|
} | undefined;
|
|
6604
6628
|
} | null;
|
|
6605
6629
|
premium: {
|
|
6606
|
-
active: boolean;
|
|
6607
6630
|
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
6631
|
+
active: boolean;
|
|
6608
6632
|
expiresAt?: string | null | undefined;
|
|
6609
6633
|
organizationId?: string | undefined;
|
|
6610
6634
|
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
@@ -7026,8 +7050,8 @@ export declare const adminFamilyResponseSchema: z.ZodObject<{
|
|
|
7026
7050
|
premiumGraceActive: z.ZodOptional<z.ZodBoolean>;
|
|
7027
7051
|
disabledReason: z.ZodEnum<["none", "notStarted", "expired", "revoked", "billingInactive", "suspendedOrganization", "noEntitlement"]>;
|
|
7028
7052
|
}, "strip", z.ZodTypeAny, {
|
|
7029
|
-
active: boolean;
|
|
7030
7053
|
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
7054
|
+
active: boolean;
|
|
7031
7055
|
expiresAt?: string | null | undefined;
|
|
7032
7056
|
organizationId?: string | undefined;
|
|
7033
7057
|
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
@@ -7038,8 +7062,8 @@ export declare const adminFamilyResponseSchema: z.ZodObject<{
|
|
|
7038
7062
|
premiumGraceDaysRemaining?: number | undefined;
|
|
7039
7063
|
premiumGraceActive?: boolean | undefined;
|
|
7040
7064
|
}, {
|
|
7041
|
-
active: boolean;
|
|
7042
7065
|
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
7066
|
+
active: boolean;
|
|
7043
7067
|
expiresAt?: string | null | undefined;
|
|
7044
7068
|
organizationId?: string | undefined;
|
|
7045
7069
|
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
@@ -7182,8 +7206,8 @@ export declare const adminFamilyResponseSchema: z.ZodObject<{
|
|
|
7182
7206
|
} | undefined;
|
|
7183
7207
|
} | null;
|
|
7184
7208
|
premium: {
|
|
7185
|
-
active: boolean;
|
|
7186
7209
|
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
7210
|
+
active: boolean;
|
|
7187
7211
|
expiresAt?: string | null | undefined;
|
|
7188
7212
|
organizationId?: string | undefined;
|
|
7189
7213
|
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
@@ -7306,8 +7330,8 @@ export declare const adminFamilyResponseSchema: z.ZodObject<{
|
|
|
7306
7330
|
} | undefined;
|
|
7307
7331
|
} | null;
|
|
7308
7332
|
premium: {
|
|
7309
|
-
active: boolean;
|
|
7310
7333
|
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
7334
|
+
active: boolean;
|
|
7311
7335
|
expiresAt?: string | null | undefined;
|
|
7312
7336
|
organizationId?: string | undefined;
|
|
7313
7337
|
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
@@ -7432,8 +7456,8 @@ export declare const adminFamilyResponseSchema: z.ZodObject<{
|
|
|
7432
7456
|
} | undefined;
|
|
7433
7457
|
} | null;
|
|
7434
7458
|
premium: {
|
|
7435
|
-
active: boolean;
|
|
7436
7459
|
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
7460
|
+
active: boolean;
|
|
7437
7461
|
expiresAt?: string | null | undefined;
|
|
7438
7462
|
organizationId?: string | undefined;
|
|
7439
7463
|
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
@@ -7558,8 +7582,8 @@ export declare const adminFamilyResponseSchema: z.ZodObject<{
|
|
|
7558
7582
|
} | undefined;
|
|
7559
7583
|
} | null;
|
|
7560
7584
|
premium: {
|
|
7561
|
-
active: boolean;
|
|
7562
7585
|
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
7586
|
+
active: boolean;
|
|
7563
7587
|
expiresAt?: string | null | undefined;
|
|
7564
7588
|
organizationId?: string | undefined;
|
|
7565
7589
|
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
@@ -7844,8 +7868,8 @@ export declare const adminFamilyAssignmentsResponseSchema: z.ZodObject<{
|
|
|
7844
7868
|
premiumGraceActive: z.ZodOptional<z.ZodBoolean>;
|
|
7845
7869
|
disabledReason: z.ZodEnum<["none", "notStarted", "expired", "revoked", "billingInactive", "suspendedOrganization", "noEntitlement"]>;
|
|
7846
7870
|
}, "strip", z.ZodTypeAny, {
|
|
7847
|
-
active: boolean;
|
|
7848
7871
|
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
7872
|
+
active: boolean;
|
|
7849
7873
|
expiresAt?: string | null | undefined;
|
|
7850
7874
|
organizationId?: string | undefined;
|
|
7851
7875
|
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
@@ -7856,8 +7880,8 @@ export declare const adminFamilyAssignmentsResponseSchema: z.ZodObject<{
|
|
|
7856
7880
|
premiumGraceDaysRemaining?: number | undefined;
|
|
7857
7881
|
premiumGraceActive?: boolean | undefined;
|
|
7858
7882
|
}, {
|
|
7859
|
-
active: boolean;
|
|
7860
7883
|
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
7884
|
+
active: boolean;
|
|
7861
7885
|
expiresAt?: string | null | undefined;
|
|
7862
7886
|
organizationId?: string | undefined;
|
|
7863
7887
|
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
@@ -7910,8 +7934,8 @@ export declare const adminFamilyAssignmentsResponseSchema: z.ZodObject<{
|
|
|
7910
7934
|
} | undefined;
|
|
7911
7935
|
};
|
|
7912
7936
|
premium: {
|
|
7913
|
-
active: boolean;
|
|
7914
7937
|
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
7938
|
+
active: boolean;
|
|
7915
7939
|
expiresAt?: string | null | undefined;
|
|
7916
7940
|
organizationId?: string | undefined;
|
|
7917
7941
|
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
@@ -7964,8 +7988,8 @@ export declare const adminFamilyAssignmentsResponseSchema: z.ZodObject<{
|
|
|
7964
7988
|
} | undefined;
|
|
7965
7989
|
};
|
|
7966
7990
|
premium: {
|
|
7967
|
-
active: boolean;
|
|
7968
7991
|
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
7992
|
+
active: boolean;
|
|
7969
7993
|
expiresAt?: string | null | undefined;
|
|
7970
7994
|
organizationId?: string | undefined;
|
|
7971
7995
|
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
@@ -8020,8 +8044,8 @@ export declare const adminFamilyAssignmentsResponseSchema: z.ZodObject<{
|
|
|
8020
8044
|
} | undefined;
|
|
8021
8045
|
};
|
|
8022
8046
|
premium: {
|
|
8023
|
-
active: boolean;
|
|
8024
8047
|
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
8048
|
+
active: boolean;
|
|
8025
8049
|
expiresAt?: string | null | undefined;
|
|
8026
8050
|
organizationId?: string | undefined;
|
|
8027
8051
|
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
@@ -8076,8 +8100,8 @@ export declare const adminFamilyAssignmentsResponseSchema: z.ZodObject<{
|
|
|
8076
8100
|
} | undefined;
|
|
8077
8101
|
};
|
|
8078
8102
|
premium: {
|
|
8079
|
-
active: boolean;
|
|
8080
8103
|
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
8104
|
+
active: boolean;
|
|
8081
8105
|
expiresAt?: string | null | undefined;
|
|
8082
8106
|
organizationId?: string | undefined;
|
|
8083
8107
|
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
@@ -9388,8 +9412,8 @@ export declare const adminBillingFamilyRowSchema: z.ZodObject<{
|
|
|
9388
9412
|
premiumGraceActive: z.ZodOptional<z.ZodBoolean>;
|
|
9389
9413
|
disabledReason: z.ZodEnum<["none", "notStarted", "expired", "revoked", "billingInactive", "suspendedOrganization", "noEntitlement"]>;
|
|
9390
9414
|
}, "strip", z.ZodTypeAny, {
|
|
9391
|
-
active: boolean;
|
|
9392
9415
|
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
9416
|
+
active: boolean;
|
|
9393
9417
|
expiresAt?: string | null | undefined;
|
|
9394
9418
|
organizationId?: string | undefined;
|
|
9395
9419
|
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
@@ -9400,8 +9424,8 @@ export declare const adminBillingFamilyRowSchema: z.ZodObject<{
|
|
|
9400
9424
|
premiumGraceDaysRemaining?: number | undefined;
|
|
9401
9425
|
premiumGraceActive?: boolean | undefined;
|
|
9402
9426
|
}, {
|
|
9403
|
-
active: boolean;
|
|
9404
9427
|
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
9428
|
+
active: boolean;
|
|
9405
9429
|
expiresAt?: string | null | undefined;
|
|
9406
9430
|
organizationId?: string | undefined;
|
|
9407
9431
|
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
@@ -9565,8 +9589,8 @@ export declare const adminBillingFamilyRowSchema: z.ZodObject<{
|
|
|
9565
9589
|
} | undefined;
|
|
9566
9590
|
} | null;
|
|
9567
9591
|
premium: {
|
|
9568
|
-
active: boolean;
|
|
9569
9592
|
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
9593
|
+
active: boolean;
|
|
9570
9594
|
expiresAt?: string | null | undefined;
|
|
9571
9595
|
organizationId?: string | undefined;
|
|
9572
9596
|
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
@@ -9681,8 +9705,8 @@ export declare const adminBillingFamilyRowSchema: z.ZodObject<{
|
|
|
9681
9705
|
} | undefined;
|
|
9682
9706
|
} | null;
|
|
9683
9707
|
premium: {
|
|
9684
|
-
active: boolean;
|
|
9685
9708
|
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
9709
|
+
active: boolean;
|
|
9686
9710
|
expiresAt?: string | null | undefined;
|
|
9687
9711
|
organizationId?: string | undefined;
|
|
9688
9712
|
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
@@ -9695,118 +9719,1893 @@ export declare const adminBillingFamilyRowSchema: z.ZodObject<{
|
|
|
9695
9719
|
};
|
|
9696
9720
|
accessCategory: "directSubscription" | "coachLinked" | "coachLinkedAndDirect" | "free";
|
|
9697
9721
|
}>;
|
|
9698
|
-
export declare const
|
|
9722
|
+
export declare const adminBillingAcquisitionRangeSchema: z.ZodEnum<["allTime", "last30Days", "last7Days", "custom"]>;
|
|
9723
|
+
export declare const adminBillingAcquisitionIntervalSchema: z.ZodEnum<["day", "month", "quarter"]>;
|
|
9724
|
+
export declare const adminBillingAcquisitionQuerySchema: z.ZodEffects<z.ZodObject<{
|
|
9725
|
+
range: z.ZodDefault<z.ZodEnum<["allTime", "last30Days", "last7Days", "custom"]>>;
|
|
9726
|
+
interval: z.ZodDefault<z.ZodEnum<["day", "month", "quarter"]>>;
|
|
9727
|
+
since: z.ZodOptional<z.ZodString>;
|
|
9728
|
+
until: z.ZodOptional<z.ZodString>;
|
|
9729
|
+
}, "strict", z.ZodTypeAny, {
|
|
9730
|
+
interval: "month" | "day" | "quarter";
|
|
9731
|
+
range: "custom" | "allTime" | "last30Days" | "last7Days";
|
|
9732
|
+
since?: string | undefined;
|
|
9733
|
+
until?: string | undefined;
|
|
9734
|
+
}, {
|
|
9735
|
+
since?: string | undefined;
|
|
9736
|
+
until?: string | undefined;
|
|
9737
|
+
interval?: "month" | "day" | "quarter" | undefined;
|
|
9738
|
+
range?: "custom" | "allTime" | "last30Days" | "last7Days" | undefined;
|
|
9739
|
+
}>, {
|
|
9740
|
+
interval: "month" | "day" | "quarter";
|
|
9741
|
+
range: "custom" | "allTime" | "last30Days" | "last7Days";
|
|
9742
|
+
since?: string | undefined;
|
|
9743
|
+
until?: string | undefined;
|
|
9744
|
+
}, {
|
|
9745
|
+
since?: string | undefined;
|
|
9746
|
+
until?: string | undefined;
|
|
9747
|
+
interval?: "month" | "day" | "quarter" | undefined;
|
|
9748
|
+
range?: "custom" | "allTime" | "last30Days" | "last7Days" | undefined;
|
|
9749
|
+
}>;
|
|
9750
|
+
export declare const adminBillingAcquisitionResponseSchema: z.ZodObject<{
|
|
9699
9751
|
generatedAt: z.ZodString;
|
|
9700
|
-
|
|
9701
|
-
|
|
9702
|
-
|
|
9703
|
-
|
|
9704
|
-
|
|
9705
|
-
|
|
9706
|
-
|
|
9707
|
-
|
|
9708
|
-
|
|
9709
|
-
|
|
9710
|
-
|
|
9711
|
-
|
|
9712
|
-
|
|
9713
|
-
|
|
9714
|
-
|
|
9715
|
-
|
|
9716
|
-
|
|
9717
|
-
|
|
9718
|
-
|
|
9719
|
-
|
|
9720
|
-
|
|
9721
|
-
estimatedMrrPence: number;
|
|
9722
|
-
percentageBasisPoints: number;
|
|
9723
|
-
}>;
|
|
9752
|
+
cohortBasis: z.ZodLiteral<"registrationDate">;
|
|
9753
|
+
range: z.ZodEnum<["allTime", "last30Days", "last7Days", "custom"]>;
|
|
9754
|
+
interval: z.ZodEnum<["day", "month", "quarter"]>;
|
|
9755
|
+
mode: z.ZodLiteral<"cumulative">;
|
|
9756
|
+
window: z.ZodObject<{
|
|
9757
|
+
since: z.ZodString;
|
|
9758
|
+
until: z.ZodString;
|
|
9759
|
+
}, "strip", z.ZodTypeAny, {
|
|
9760
|
+
since: string;
|
|
9761
|
+
until: string;
|
|
9762
|
+
}, {
|
|
9763
|
+
since: string;
|
|
9764
|
+
until: string;
|
|
9765
|
+
}>;
|
|
9766
|
+
totals: z.ZodObject<{
|
|
9767
|
+
coaches: z.ZodObject<{
|
|
9768
|
+
registrationOnly: z.ZodNumber;
|
|
9769
|
+
subscriptions: z.ZodNumber;
|
|
9770
|
+
activeSubscriptions: z.ZodNumber;
|
|
9771
|
+
activeOrTrialing: z.ZodNumber;
|
|
9772
|
+
trialing: z.ZodNumber;
|
|
9724
9773
|
}, "strip", z.ZodTypeAny, {
|
|
9725
|
-
|
|
9726
|
-
|
|
9727
|
-
|
|
9728
|
-
|
|
9729
|
-
|
|
9730
|
-
estimatedMrrPence: number;
|
|
9731
|
-
percentageBasisPoints: number;
|
|
9732
|
-
};
|
|
9774
|
+
trialing: number;
|
|
9775
|
+
registrationOnly: number;
|
|
9776
|
+
subscriptions: number;
|
|
9777
|
+
activeSubscriptions: number;
|
|
9778
|
+
activeOrTrialing: number;
|
|
9733
9779
|
}, {
|
|
9734
|
-
|
|
9735
|
-
|
|
9736
|
-
|
|
9737
|
-
|
|
9738
|
-
|
|
9739
|
-
|
|
9740
|
-
|
|
9741
|
-
|
|
9780
|
+
trialing: number;
|
|
9781
|
+
registrationOnly: number;
|
|
9782
|
+
subscriptions: number;
|
|
9783
|
+
activeSubscriptions: number;
|
|
9784
|
+
activeOrTrialing: number;
|
|
9785
|
+
}>;
|
|
9786
|
+
families: z.ZodObject<{
|
|
9787
|
+
registrationOnly: z.ZodNumber;
|
|
9788
|
+
subscriptions: z.ZodNumber;
|
|
9789
|
+
activeSubscriptions: z.ZodNumber;
|
|
9790
|
+
activeOrTrialing: z.ZodNumber;
|
|
9791
|
+
trialing: z.ZodNumber;
|
|
9792
|
+
}, "strip", z.ZodTypeAny, {
|
|
9793
|
+
trialing: number;
|
|
9794
|
+
registrationOnly: number;
|
|
9795
|
+
subscriptions: number;
|
|
9796
|
+
activeSubscriptions: number;
|
|
9797
|
+
activeOrTrialing: number;
|
|
9798
|
+
}, {
|
|
9799
|
+
trialing: number;
|
|
9800
|
+
registrationOnly: number;
|
|
9801
|
+
subscriptions: number;
|
|
9802
|
+
activeSubscriptions: number;
|
|
9803
|
+
activeOrTrialing: number;
|
|
9742
9804
|
}>;
|
|
9743
|
-
activeFamilyMrrPence: z.ZodNumber;
|
|
9744
|
-
trialingFamilyMrrPence: z.ZodNumber;
|
|
9745
|
-
totalActiveMrrPence: z.ZodNumber;
|
|
9746
|
-
trialingCoachMrrPence: z.ZodNumber;
|
|
9747
|
-
pastDueCoachMrrPence: z.ZodNumber;
|
|
9748
|
-
inactiveBillingFamilyMrrPence: z.ZodNumber;
|
|
9749
|
-
totalAtRiskMrrPence: z.ZodNumber;
|
|
9750
|
-
estimatedRevenueToDatePence: z.ZodNullable<z.ZodNumber>;
|
|
9751
|
-
notes: z.ZodArray<z.ZodString, "many">;
|
|
9752
9805
|
}, "strip", z.ZodTypeAny, {
|
|
9753
|
-
|
|
9754
|
-
|
|
9755
|
-
|
|
9756
|
-
|
|
9757
|
-
|
|
9758
|
-
|
|
9759
|
-
|
|
9760
|
-
|
|
9761
|
-
|
|
9762
|
-
|
|
9763
|
-
|
|
9806
|
+
families: {
|
|
9807
|
+
trialing: number;
|
|
9808
|
+
registrationOnly: number;
|
|
9809
|
+
subscriptions: number;
|
|
9810
|
+
activeSubscriptions: number;
|
|
9811
|
+
activeOrTrialing: number;
|
|
9812
|
+
};
|
|
9813
|
+
coaches: {
|
|
9814
|
+
trialing: number;
|
|
9815
|
+
registrationOnly: number;
|
|
9816
|
+
subscriptions: number;
|
|
9817
|
+
activeSubscriptions: number;
|
|
9818
|
+
activeOrTrialing: number;
|
|
9764
9819
|
};
|
|
9765
|
-
activeFamilyMrrPence: number;
|
|
9766
|
-
trialingFamilyMrrPence: number;
|
|
9767
|
-
totalActiveMrrPence: number;
|
|
9768
|
-
trialingCoachMrrPence: number;
|
|
9769
|
-
pastDueCoachMrrPence: number;
|
|
9770
|
-
inactiveBillingFamilyMrrPence: number;
|
|
9771
|
-
totalAtRiskMrrPence: number;
|
|
9772
|
-
estimatedRevenueToDatePence: number | null;
|
|
9773
|
-
notes: string[];
|
|
9774
9820
|
}, {
|
|
9775
|
-
|
|
9776
|
-
|
|
9777
|
-
|
|
9778
|
-
|
|
9779
|
-
|
|
9780
|
-
|
|
9781
|
-
|
|
9782
|
-
|
|
9783
|
-
|
|
9784
|
-
|
|
9785
|
-
|
|
9821
|
+
families: {
|
|
9822
|
+
trialing: number;
|
|
9823
|
+
registrationOnly: number;
|
|
9824
|
+
subscriptions: number;
|
|
9825
|
+
activeSubscriptions: number;
|
|
9826
|
+
activeOrTrialing: number;
|
|
9827
|
+
};
|
|
9828
|
+
coaches: {
|
|
9829
|
+
trialing: number;
|
|
9830
|
+
registrationOnly: number;
|
|
9831
|
+
subscriptions: number;
|
|
9832
|
+
activeSubscriptions: number;
|
|
9833
|
+
activeOrTrialing: number;
|
|
9786
9834
|
};
|
|
9787
|
-
activeFamilyMrrPence: number;
|
|
9788
|
-
trialingFamilyMrrPence: number;
|
|
9789
|
-
totalActiveMrrPence: number;
|
|
9790
|
-
trialingCoachMrrPence: number;
|
|
9791
|
-
pastDueCoachMrrPence: number;
|
|
9792
|
-
inactiveBillingFamilyMrrPence: number;
|
|
9793
|
-
totalAtRiskMrrPence: number;
|
|
9794
|
-
estimatedRevenueToDatePence: number | null;
|
|
9795
|
-
notes: string[];
|
|
9796
9835
|
}>;
|
|
9797
|
-
|
|
9798
|
-
|
|
9799
|
-
|
|
9800
|
-
|
|
9801
|
-
|
|
9836
|
+
points: z.ZodArray<z.ZodObject<{
|
|
9837
|
+
periodStart: z.ZodString;
|
|
9838
|
+
coaches: z.ZodObject<{
|
|
9839
|
+
registrationOnly: z.ZodNumber;
|
|
9840
|
+
subscriptions: z.ZodNumber;
|
|
9841
|
+
activeSubscriptions: z.ZodNumber;
|
|
9842
|
+
activeOrTrialing: z.ZodNumber;
|
|
9802
9843
|
trialing: z.ZodNumber;
|
|
9803
|
-
pastDue: z.ZodNumber;
|
|
9804
|
-
canceled: z.ZodNumber;
|
|
9805
|
-
suspended: z.ZodNumber;
|
|
9806
9844
|
}, "strip", z.ZodTypeAny, {
|
|
9807
|
-
active: number;
|
|
9808
9845
|
trialing: number;
|
|
9809
|
-
|
|
9846
|
+
registrationOnly: number;
|
|
9847
|
+
subscriptions: number;
|
|
9848
|
+
activeSubscriptions: number;
|
|
9849
|
+
activeOrTrialing: number;
|
|
9850
|
+
}, {
|
|
9851
|
+
trialing: number;
|
|
9852
|
+
registrationOnly: number;
|
|
9853
|
+
subscriptions: number;
|
|
9854
|
+
activeSubscriptions: number;
|
|
9855
|
+
activeOrTrialing: number;
|
|
9856
|
+
}>;
|
|
9857
|
+
families: z.ZodObject<{
|
|
9858
|
+
registrationOnly: z.ZodNumber;
|
|
9859
|
+
subscriptions: z.ZodNumber;
|
|
9860
|
+
activeSubscriptions: z.ZodNumber;
|
|
9861
|
+
activeOrTrialing: z.ZodNumber;
|
|
9862
|
+
trialing: z.ZodNumber;
|
|
9863
|
+
}, "strip", z.ZodTypeAny, {
|
|
9864
|
+
trialing: number;
|
|
9865
|
+
registrationOnly: number;
|
|
9866
|
+
subscriptions: number;
|
|
9867
|
+
activeSubscriptions: number;
|
|
9868
|
+
activeOrTrialing: number;
|
|
9869
|
+
}, {
|
|
9870
|
+
trialing: number;
|
|
9871
|
+
registrationOnly: number;
|
|
9872
|
+
subscriptions: number;
|
|
9873
|
+
activeSubscriptions: number;
|
|
9874
|
+
activeOrTrialing: number;
|
|
9875
|
+
}>;
|
|
9876
|
+
}, "strip", z.ZodTypeAny, {
|
|
9877
|
+
families: {
|
|
9878
|
+
trialing: number;
|
|
9879
|
+
registrationOnly: number;
|
|
9880
|
+
subscriptions: number;
|
|
9881
|
+
activeSubscriptions: number;
|
|
9882
|
+
activeOrTrialing: number;
|
|
9883
|
+
};
|
|
9884
|
+
coaches: {
|
|
9885
|
+
trialing: number;
|
|
9886
|
+
registrationOnly: number;
|
|
9887
|
+
subscriptions: number;
|
|
9888
|
+
activeSubscriptions: number;
|
|
9889
|
+
activeOrTrialing: number;
|
|
9890
|
+
};
|
|
9891
|
+
periodStart: string;
|
|
9892
|
+
}, {
|
|
9893
|
+
families: {
|
|
9894
|
+
trialing: number;
|
|
9895
|
+
registrationOnly: number;
|
|
9896
|
+
subscriptions: number;
|
|
9897
|
+
activeSubscriptions: number;
|
|
9898
|
+
activeOrTrialing: number;
|
|
9899
|
+
};
|
|
9900
|
+
coaches: {
|
|
9901
|
+
trialing: number;
|
|
9902
|
+
registrationOnly: number;
|
|
9903
|
+
subscriptions: number;
|
|
9904
|
+
activeSubscriptions: number;
|
|
9905
|
+
activeOrTrialing: number;
|
|
9906
|
+
};
|
|
9907
|
+
periodStart: string;
|
|
9908
|
+
}>, "many">;
|
|
9909
|
+
familyAcquisitionSources: z.ZodArray<z.ZodDiscriminatedUnion<"suppressed", [z.ZodObject<{
|
|
9910
|
+
source: z.ZodUnion<[z.ZodEnum<["searchEngine", "socialMedia", "referral", "sleepCoach", "healthcareProfessional", "advertisement", "other", "preferNotToSay"]>, z.ZodLiteral<"unknown">]>;
|
|
9911
|
+
label: z.ZodString;
|
|
9912
|
+
families: z.ZodNumber;
|
|
9913
|
+
shareOfRegistrations: z.ZodNumber;
|
|
9914
|
+
suppressed: z.ZodLiteral<false>;
|
|
9915
|
+
}, "strict", z.ZodTypeAny, {
|
|
9916
|
+
source: "other" | "unknown" | "searchEngine" | "socialMedia" | "referral" | "sleepCoach" | "healthcareProfessional" | "advertisement" | "preferNotToSay";
|
|
9917
|
+
families: number;
|
|
9918
|
+
suppressed: false;
|
|
9919
|
+
label: string;
|
|
9920
|
+
shareOfRegistrations: number;
|
|
9921
|
+
}, {
|
|
9922
|
+
source: "other" | "unknown" | "searchEngine" | "socialMedia" | "referral" | "sleepCoach" | "healthcareProfessional" | "advertisement" | "preferNotToSay";
|
|
9923
|
+
families: number;
|
|
9924
|
+
suppressed: false;
|
|
9925
|
+
label: string;
|
|
9926
|
+
shareOfRegistrations: number;
|
|
9927
|
+
}>, z.ZodObject<{
|
|
9928
|
+
source: z.ZodLiteral<"suppressed">;
|
|
9929
|
+
label: z.ZodString;
|
|
9930
|
+
suppressed: z.ZodLiteral<true>;
|
|
9931
|
+
}, "strict", z.ZodTypeAny, {
|
|
9932
|
+
source: "suppressed";
|
|
9933
|
+
suppressed: true;
|
|
9934
|
+
label: string;
|
|
9935
|
+
}, {
|
|
9936
|
+
source: "suppressed";
|
|
9937
|
+
suppressed: true;
|
|
9938
|
+
label: string;
|
|
9939
|
+
}>]>, "many">;
|
|
9940
|
+
}, "strip", z.ZodTypeAny, {
|
|
9941
|
+
mode: "cumulative";
|
|
9942
|
+
generatedAt: string;
|
|
9943
|
+
window: {
|
|
9944
|
+
since: string;
|
|
9945
|
+
until: string;
|
|
9946
|
+
};
|
|
9947
|
+
interval: "month" | "day" | "quarter";
|
|
9948
|
+
range: "custom" | "allTime" | "last30Days" | "last7Days";
|
|
9949
|
+
cohortBasis: "registrationDate";
|
|
9950
|
+
totals: {
|
|
9951
|
+
families: {
|
|
9952
|
+
trialing: number;
|
|
9953
|
+
registrationOnly: number;
|
|
9954
|
+
subscriptions: number;
|
|
9955
|
+
activeSubscriptions: number;
|
|
9956
|
+
activeOrTrialing: number;
|
|
9957
|
+
};
|
|
9958
|
+
coaches: {
|
|
9959
|
+
trialing: number;
|
|
9960
|
+
registrationOnly: number;
|
|
9961
|
+
subscriptions: number;
|
|
9962
|
+
activeSubscriptions: number;
|
|
9963
|
+
activeOrTrialing: number;
|
|
9964
|
+
};
|
|
9965
|
+
};
|
|
9966
|
+
points: {
|
|
9967
|
+
families: {
|
|
9968
|
+
trialing: number;
|
|
9969
|
+
registrationOnly: number;
|
|
9970
|
+
subscriptions: number;
|
|
9971
|
+
activeSubscriptions: number;
|
|
9972
|
+
activeOrTrialing: number;
|
|
9973
|
+
};
|
|
9974
|
+
coaches: {
|
|
9975
|
+
trialing: number;
|
|
9976
|
+
registrationOnly: number;
|
|
9977
|
+
subscriptions: number;
|
|
9978
|
+
activeSubscriptions: number;
|
|
9979
|
+
activeOrTrialing: number;
|
|
9980
|
+
};
|
|
9981
|
+
periodStart: string;
|
|
9982
|
+
}[];
|
|
9983
|
+
familyAcquisitionSources: ({
|
|
9984
|
+
source: "other" | "unknown" | "searchEngine" | "socialMedia" | "referral" | "sleepCoach" | "healthcareProfessional" | "advertisement" | "preferNotToSay";
|
|
9985
|
+
families: number;
|
|
9986
|
+
suppressed: false;
|
|
9987
|
+
label: string;
|
|
9988
|
+
shareOfRegistrations: number;
|
|
9989
|
+
} | {
|
|
9990
|
+
source: "suppressed";
|
|
9991
|
+
suppressed: true;
|
|
9992
|
+
label: string;
|
|
9993
|
+
})[];
|
|
9994
|
+
}, {
|
|
9995
|
+
mode: "cumulative";
|
|
9996
|
+
generatedAt: string;
|
|
9997
|
+
window: {
|
|
9998
|
+
since: string;
|
|
9999
|
+
until: string;
|
|
10000
|
+
};
|
|
10001
|
+
interval: "month" | "day" | "quarter";
|
|
10002
|
+
range: "custom" | "allTime" | "last30Days" | "last7Days";
|
|
10003
|
+
cohortBasis: "registrationDate";
|
|
10004
|
+
totals: {
|
|
10005
|
+
families: {
|
|
10006
|
+
trialing: number;
|
|
10007
|
+
registrationOnly: number;
|
|
10008
|
+
subscriptions: number;
|
|
10009
|
+
activeSubscriptions: number;
|
|
10010
|
+
activeOrTrialing: number;
|
|
10011
|
+
};
|
|
10012
|
+
coaches: {
|
|
10013
|
+
trialing: number;
|
|
10014
|
+
registrationOnly: number;
|
|
10015
|
+
subscriptions: number;
|
|
10016
|
+
activeSubscriptions: number;
|
|
10017
|
+
activeOrTrialing: number;
|
|
10018
|
+
};
|
|
10019
|
+
};
|
|
10020
|
+
points: {
|
|
10021
|
+
families: {
|
|
10022
|
+
trialing: number;
|
|
10023
|
+
registrationOnly: number;
|
|
10024
|
+
subscriptions: number;
|
|
10025
|
+
activeSubscriptions: number;
|
|
10026
|
+
activeOrTrialing: number;
|
|
10027
|
+
};
|
|
10028
|
+
coaches: {
|
|
10029
|
+
trialing: number;
|
|
10030
|
+
registrationOnly: number;
|
|
10031
|
+
subscriptions: number;
|
|
10032
|
+
activeSubscriptions: number;
|
|
10033
|
+
activeOrTrialing: number;
|
|
10034
|
+
};
|
|
10035
|
+
periodStart: string;
|
|
10036
|
+
}[];
|
|
10037
|
+
familyAcquisitionSources: ({
|
|
10038
|
+
source: "other" | "unknown" | "searchEngine" | "socialMedia" | "referral" | "sleepCoach" | "healthcareProfessional" | "advertisement" | "preferNotToSay";
|
|
10039
|
+
families: number;
|
|
10040
|
+
suppressed: false;
|
|
10041
|
+
label: string;
|
|
10042
|
+
shareOfRegistrations: number;
|
|
10043
|
+
} | {
|
|
10044
|
+
source: "suppressed";
|
|
10045
|
+
suppressed: true;
|
|
10046
|
+
label: string;
|
|
10047
|
+
})[];
|
|
10048
|
+
}>;
|
|
10049
|
+
export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
|
|
10050
|
+
generatedAt: z.ZodString;
|
|
10051
|
+
acquisition: z.ZodObject<{
|
|
10052
|
+
cohortBasis: z.ZodLiteral<"registrationMonth">;
|
|
10053
|
+
interval: z.ZodLiteral<"month">;
|
|
10054
|
+
window: z.ZodObject<{
|
|
10055
|
+
since: z.ZodString;
|
|
10056
|
+
until: z.ZodString;
|
|
10057
|
+
}, "strip", z.ZodTypeAny, {
|
|
10058
|
+
since: string;
|
|
10059
|
+
until: string;
|
|
10060
|
+
}, {
|
|
10061
|
+
since: string;
|
|
10062
|
+
until: string;
|
|
10063
|
+
}>;
|
|
10064
|
+
totals: z.ZodObject<{
|
|
10065
|
+
coaches: z.ZodObject<{
|
|
10066
|
+
registrationOnly: z.ZodNumber;
|
|
10067
|
+
subscriptions: z.ZodNumber;
|
|
10068
|
+
activeSubscriptions: z.ZodNumber;
|
|
10069
|
+
activeOrTrialing: z.ZodNumber;
|
|
10070
|
+
trialing: z.ZodNumber;
|
|
10071
|
+
}, "strip", z.ZodTypeAny, {
|
|
10072
|
+
trialing: number;
|
|
10073
|
+
registrationOnly: number;
|
|
10074
|
+
subscriptions: number;
|
|
10075
|
+
activeSubscriptions: number;
|
|
10076
|
+
activeOrTrialing: number;
|
|
10077
|
+
}, {
|
|
10078
|
+
trialing: number;
|
|
10079
|
+
registrationOnly: number;
|
|
10080
|
+
subscriptions: number;
|
|
10081
|
+
activeSubscriptions: number;
|
|
10082
|
+
activeOrTrialing: number;
|
|
10083
|
+
}>;
|
|
10084
|
+
families: z.ZodObject<{
|
|
10085
|
+
registrationOnly: z.ZodNumber;
|
|
10086
|
+
subscriptions: z.ZodNumber;
|
|
10087
|
+
activeSubscriptions: z.ZodNumber;
|
|
10088
|
+
activeOrTrialing: z.ZodNumber;
|
|
10089
|
+
trialing: z.ZodNumber;
|
|
10090
|
+
}, "strip", z.ZodTypeAny, {
|
|
10091
|
+
trialing: number;
|
|
10092
|
+
registrationOnly: number;
|
|
10093
|
+
subscriptions: number;
|
|
10094
|
+
activeSubscriptions: number;
|
|
10095
|
+
activeOrTrialing: number;
|
|
10096
|
+
}, {
|
|
10097
|
+
trialing: number;
|
|
10098
|
+
registrationOnly: number;
|
|
10099
|
+
subscriptions: number;
|
|
10100
|
+
activeSubscriptions: number;
|
|
10101
|
+
activeOrTrialing: number;
|
|
10102
|
+
}>;
|
|
10103
|
+
}, "strip", z.ZodTypeAny, {
|
|
10104
|
+
families: {
|
|
10105
|
+
trialing: number;
|
|
10106
|
+
registrationOnly: number;
|
|
10107
|
+
subscriptions: number;
|
|
10108
|
+
activeSubscriptions: number;
|
|
10109
|
+
activeOrTrialing: number;
|
|
10110
|
+
};
|
|
10111
|
+
coaches: {
|
|
10112
|
+
trialing: number;
|
|
10113
|
+
registrationOnly: number;
|
|
10114
|
+
subscriptions: number;
|
|
10115
|
+
activeSubscriptions: number;
|
|
10116
|
+
activeOrTrialing: number;
|
|
10117
|
+
};
|
|
10118
|
+
}, {
|
|
10119
|
+
families: {
|
|
10120
|
+
trialing: number;
|
|
10121
|
+
registrationOnly: number;
|
|
10122
|
+
subscriptions: number;
|
|
10123
|
+
activeSubscriptions: number;
|
|
10124
|
+
activeOrTrialing: number;
|
|
10125
|
+
};
|
|
10126
|
+
coaches: {
|
|
10127
|
+
trialing: number;
|
|
10128
|
+
registrationOnly: number;
|
|
10129
|
+
subscriptions: number;
|
|
10130
|
+
activeSubscriptions: number;
|
|
10131
|
+
activeOrTrialing: number;
|
|
10132
|
+
};
|
|
10133
|
+
}>;
|
|
10134
|
+
points: z.ZodArray<z.ZodObject<{
|
|
10135
|
+
monthStart: z.ZodString;
|
|
10136
|
+
coaches: z.ZodObject<{
|
|
10137
|
+
registrationOnly: z.ZodNumber;
|
|
10138
|
+
subscriptions: z.ZodNumber;
|
|
10139
|
+
activeSubscriptions: z.ZodNumber;
|
|
10140
|
+
activeOrTrialing: z.ZodNumber;
|
|
10141
|
+
trialing: z.ZodNumber;
|
|
10142
|
+
}, "strip", z.ZodTypeAny, {
|
|
10143
|
+
trialing: number;
|
|
10144
|
+
registrationOnly: number;
|
|
10145
|
+
subscriptions: number;
|
|
10146
|
+
activeSubscriptions: number;
|
|
10147
|
+
activeOrTrialing: number;
|
|
10148
|
+
}, {
|
|
10149
|
+
trialing: number;
|
|
10150
|
+
registrationOnly: number;
|
|
10151
|
+
subscriptions: number;
|
|
10152
|
+
activeSubscriptions: number;
|
|
10153
|
+
activeOrTrialing: number;
|
|
10154
|
+
}>;
|
|
10155
|
+
families: z.ZodObject<{
|
|
10156
|
+
registrationOnly: z.ZodNumber;
|
|
10157
|
+
subscriptions: z.ZodNumber;
|
|
10158
|
+
activeSubscriptions: z.ZodNumber;
|
|
10159
|
+
activeOrTrialing: z.ZodNumber;
|
|
10160
|
+
trialing: z.ZodNumber;
|
|
10161
|
+
}, "strip", z.ZodTypeAny, {
|
|
10162
|
+
trialing: number;
|
|
10163
|
+
registrationOnly: number;
|
|
10164
|
+
subscriptions: number;
|
|
10165
|
+
activeSubscriptions: number;
|
|
10166
|
+
activeOrTrialing: number;
|
|
10167
|
+
}, {
|
|
10168
|
+
trialing: number;
|
|
10169
|
+
registrationOnly: number;
|
|
10170
|
+
subscriptions: number;
|
|
10171
|
+
activeSubscriptions: number;
|
|
10172
|
+
activeOrTrialing: number;
|
|
10173
|
+
}>;
|
|
10174
|
+
}, "strip", z.ZodTypeAny, {
|
|
10175
|
+
families: {
|
|
10176
|
+
trialing: number;
|
|
10177
|
+
registrationOnly: number;
|
|
10178
|
+
subscriptions: number;
|
|
10179
|
+
activeSubscriptions: number;
|
|
10180
|
+
activeOrTrialing: number;
|
|
10181
|
+
};
|
|
10182
|
+
coaches: {
|
|
10183
|
+
trialing: number;
|
|
10184
|
+
registrationOnly: number;
|
|
10185
|
+
subscriptions: number;
|
|
10186
|
+
activeSubscriptions: number;
|
|
10187
|
+
activeOrTrialing: number;
|
|
10188
|
+
};
|
|
10189
|
+
monthStart: string;
|
|
10190
|
+
}, {
|
|
10191
|
+
families: {
|
|
10192
|
+
trialing: number;
|
|
10193
|
+
registrationOnly: number;
|
|
10194
|
+
subscriptions: number;
|
|
10195
|
+
activeSubscriptions: number;
|
|
10196
|
+
activeOrTrialing: number;
|
|
10197
|
+
};
|
|
10198
|
+
coaches: {
|
|
10199
|
+
trialing: number;
|
|
10200
|
+
registrationOnly: number;
|
|
10201
|
+
subscriptions: number;
|
|
10202
|
+
activeSubscriptions: number;
|
|
10203
|
+
activeOrTrialing: number;
|
|
10204
|
+
};
|
|
10205
|
+
monthStart: string;
|
|
10206
|
+
}>, "many">;
|
|
10207
|
+
views: z.ZodObject<{
|
|
10208
|
+
daily: z.ZodObject<{
|
|
10209
|
+
interval: z.ZodLiteral<"day">;
|
|
10210
|
+
mode: z.ZodLiteral<"cumulative">;
|
|
10211
|
+
window: z.ZodObject<{
|
|
10212
|
+
since: z.ZodString;
|
|
10213
|
+
until: z.ZodString;
|
|
10214
|
+
}, "strip", z.ZodTypeAny, {
|
|
10215
|
+
since: string;
|
|
10216
|
+
until: string;
|
|
10217
|
+
}, {
|
|
10218
|
+
since: string;
|
|
10219
|
+
until: string;
|
|
10220
|
+
}>;
|
|
10221
|
+
totals: z.ZodObject<{
|
|
10222
|
+
coaches: z.ZodObject<{
|
|
10223
|
+
registrationOnly: z.ZodNumber;
|
|
10224
|
+
subscriptions: z.ZodNumber;
|
|
10225
|
+
activeSubscriptions: z.ZodNumber;
|
|
10226
|
+
activeOrTrialing: z.ZodNumber;
|
|
10227
|
+
trialing: z.ZodNumber;
|
|
10228
|
+
}, "strip", z.ZodTypeAny, {
|
|
10229
|
+
trialing: number;
|
|
10230
|
+
registrationOnly: number;
|
|
10231
|
+
subscriptions: number;
|
|
10232
|
+
activeSubscriptions: number;
|
|
10233
|
+
activeOrTrialing: number;
|
|
10234
|
+
}, {
|
|
10235
|
+
trialing: number;
|
|
10236
|
+
registrationOnly: number;
|
|
10237
|
+
subscriptions: number;
|
|
10238
|
+
activeSubscriptions: number;
|
|
10239
|
+
activeOrTrialing: number;
|
|
10240
|
+
}>;
|
|
10241
|
+
families: z.ZodObject<{
|
|
10242
|
+
registrationOnly: z.ZodNumber;
|
|
10243
|
+
subscriptions: z.ZodNumber;
|
|
10244
|
+
activeSubscriptions: z.ZodNumber;
|
|
10245
|
+
activeOrTrialing: z.ZodNumber;
|
|
10246
|
+
trialing: z.ZodNumber;
|
|
10247
|
+
}, "strip", z.ZodTypeAny, {
|
|
10248
|
+
trialing: number;
|
|
10249
|
+
registrationOnly: number;
|
|
10250
|
+
subscriptions: number;
|
|
10251
|
+
activeSubscriptions: number;
|
|
10252
|
+
activeOrTrialing: number;
|
|
10253
|
+
}, {
|
|
10254
|
+
trialing: number;
|
|
10255
|
+
registrationOnly: number;
|
|
10256
|
+
subscriptions: number;
|
|
10257
|
+
activeSubscriptions: number;
|
|
10258
|
+
activeOrTrialing: number;
|
|
10259
|
+
}>;
|
|
10260
|
+
}, "strip", z.ZodTypeAny, {
|
|
10261
|
+
families: {
|
|
10262
|
+
trialing: number;
|
|
10263
|
+
registrationOnly: number;
|
|
10264
|
+
subscriptions: number;
|
|
10265
|
+
activeSubscriptions: number;
|
|
10266
|
+
activeOrTrialing: number;
|
|
10267
|
+
};
|
|
10268
|
+
coaches: {
|
|
10269
|
+
trialing: number;
|
|
10270
|
+
registrationOnly: number;
|
|
10271
|
+
subscriptions: number;
|
|
10272
|
+
activeSubscriptions: number;
|
|
10273
|
+
activeOrTrialing: number;
|
|
10274
|
+
};
|
|
10275
|
+
}, {
|
|
10276
|
+
families: {
|
|
10277
|
+
trialing: number;
|
|
10278
|
+
registrationOnly: number;
|
|
10279
|
+
subscriptions: number;
|
|
10280
|
+
activeSubscriptions: number;
|
|
10281
|
+
activeOrTrialing: number;
|
|
10282
|
+
};
|
|
10283
|
+
coaches: {
|
|
10284
|
+
trialing: number;
|
|
10285
|
+
registrationOnly: number;
|
|
10286
|
+
subscriptions: number;
|
|
10287
|
+
activeSubscriptions: number;
|
|
10288
|
+
activeOrTrialing: number;
|
|
10289
|
+
};
|
|
10290
|
+
}>;
|
|
10291
|
+
points: z.ZodArray<z.ZodObject<{
|
|
10292
|
+
periodStart: z.ZodString;
|
|
10293
|
+
coaches: z.ZodObject<{
|
|
10294
|
+
registrationOnly: z.ZodNumber;
|
|
10295
|
+
subscriptions: z.ZodNumber;
|
|
10296
|
+
activeSubscriptions: z.ZodNumber;
|
|
10297
|
+
activeOrTrialing: z.ZodNumber;
|
|
10298
|
+
trialing: z.ZodNumber;
|
|
10299
|
+
}, "strip", z.ZodTypeAny, {
|
|
10300
|
+
trialing: number;
|
|
10301
|
+
registrationOnly: number;
|
|
10302
|
+
subscriptions: number;
|
|
10303
|
+
activeSubscriptions: number;
|
|
10304
|
+
activeOrTrialing: number;
|
|
10305
|
+
}, {
|
|
10306
|
+
trialing: number;
|
|
10307
|
+
registrationOnly: number;
|
|
10308
|
+
subscriptions: number;
|
|
10309
|
+
activeSubscriptions: number;
|
|
10310
|
+
activeOrTrialing: number;
|
|
10311
|
+
}>;
|
|
10312
|
+
families: z.ZodObject<{
|
|
10313
|
+
registrationOnly: z.ZodNumber;
|
|
10314
|
+
subscriptions: z.ZodNumber;
|
|
10315
|
+
activeSubscriptions: z.ZodNumber;
|
|
10316
|
+
activeOrTrialing: z.ZodNumber;
|
|
10317
|
+
trialing: z.ZodNumber;
|
|
10318
|
+
}, "strip", z.ZodTypeAny, {
|
|
10319
|
+
trialing: number;
|
|
10320
|
+
registrationOnly: number;
|
|
10321
|
+
subscriptions: number;
|
|
10322
|
+
activeSubscriptions: number;
|
|
10323
|
+
activeOrTrialing: number;
|
|
10324
|
+
}, {
|
|
10325
|
+
trialing: number;
|
|
10326
|
+
registrationOnly: number;
|
|
10327
|
+
subscriptions: number;
|
|
10328
|
+
activeSubscriptions: number;
|
|
10329
|
+
activeOrTrialing: number;
|
|
10330
|
+
}>;
|
|
10331
|
+
}, "strip", z.ZodTypeAny, {
|
|
10332
|
+
families: {
|
|
10333
|
+
trialing: number;
|
|
10334
|
+
registrationOnly: number;
|
|
10335
|
+
subscriptions: number;
|
|
10336
|
+
activeSubscriptions: number;
|
|
10337
|
+
activeOrTrialing: number;
|
|
10338
|
+
};
|
|
10339
|
+
coaches: {
|
|
10340
|
+
trialing: number;
|
|
10341
|
+
registrationOnly: number;
|
|
10342
|
+
subscriptions: number;
|
|
10343
|
+
activeSubscriptions: number;
|
|
10344
|
+
activeOrTrialing: number;
|
|
10345
|
+
};
|
|
10346
|
+
periodStart: string;
|
|
10347
|
+
}, {
|
|
10348
|
+
families: {
|
|
10349
|
+
trialing: number;
|
|
10350
|
+
registrationOnly: number;
|
|
10351
|
+
subscriptions: number;
|
|
10352
|
+
activeSubscriptions: number;
|
|
10353
|
+
activeOrTrialing: number;
|
|
10354
|
+
};
|
|
10355
|
+
coaches: {
|
|
10356
|
+
trialing: number;
|
|
10357
|
+
registrationOnly: number;
|
|
10358
|
+
subscriptions: number;
|
|
10359
|
+
activeSubscriptions: number;
|
|
10360
|
+
activeOrTrialing: number;
|
|
10361
|
+
};
|
|
10362
|
+
periodStart: string;
|
|
10363
|
+
}>, "many">;
|
|
10364
|
+
}, "strip", z.ZodTypeAny, {
|
|
10365
|
+
mode: "cumulative";
|
|
10366
|
+
window: {
|
|
10367
|
+
since: string;
|
|
10368
|
+
until: string;
|
|
10369
|
+
};
|
|
10370
|
+
interval: "day";
|
|
10371
|
+
totals: {
|
|
10372
|
+
families: {
|
|
10373
|
+
trialing: number;
|
|
10374
|
+
registrationOnly: number;
|
|
10375
|
+
subscriptions: number;
|
|
10376
|
+
activeSubscriptions: number;
|
|
10377
|
+
activeOrTrialing: number;
|
|
10378
|
+
};
|
|
10379
|
+
coaches: {
|
|
10380
|
+
trialing: number;
|
|
10381
|
+
registrationOnly: number;
|
|
10382
|
+
subscriptions: number;
|
|
10383
|
+
activeSubscriptions: number;
|
|
10384
|
+
activeOrTrialing: number;
|
|
10385
|
+
};
|
|
10386
|
+
};
|
|
10387
|
+
points: {
|
|
10388
|
+
families: {
|
|
10389
|
+
trialing: number;
|
|
10390
|
+
registrationOnly: number;
|
|
10391
|
+
subscriptions: number;
|
|
10392
|
+
activeSubscriptions: number;
|
|
10393
|
+
activeOrTrialing: number;
|
|
10394
|
+
};
|
|
10395
|
+
coaches: {
|
|
10396
|
+
trialing: number;
|
|
10397
|
+
registrationOnly: number;
|
|
10398
|
+
subscriptions: number;
|
|
10399
|
+
activeSubscriptions: number;
|
|
10400
|
+
activeOrTrialing: number;
|
|
10401
|
+
};
|
|
10402
|
+
periodStart: string;
|
|
10403
|
+
}[];
|
|
10404
|
+
}, {
|
|
10405
|
+
mode: "cumulative";
|
|
10406
|
+
window: {
|
|
10407
|
+
since: string;
|
|
10408
|
+
until: string;
|
|
10409
|
+
};
|
|
10410
|
+
interval: "day";
|
|
10411
|
+
totals: {
|
|
10412
|
+
families: {
|
|
10413
|
+
trialing: number;
|
|
10414
|
+
registrationOnly: number;
|
|
10415
|
+
subscriptions: number;
|
|
10416
|
+
activeSubscriptions: number;
|
|
10417
|
+
activeOrTrialing: number;
|
|
10418
|
+
};
|
|
10419
|
+
coaches: {
|
|
10420
|
+
trialing: number;
|
|
10421
|
+
registrationOnly: number;
|
|
10422
|
+
subscriptions: number;
|
|
10423
|
+
activeSubscriptions: number;
|
|
10424
|
+
activeOrTrialing: number;
|
|
10425
|
+
};
|
|
10426
|
+
};
|
|
10427
|
+
points: {
|
|
10428
|
+
families: {
|
|
10429
|
+
trialing: number;
|
|
10430
|
+
registrationOnly: number;
|
|
10431
|
+
subscriptions: number;
|
|
10432
|
+
activeSubscriptions: number;
|
|
10433
|
+
activeOrTrialing: number;
|
|
10434
|
+
};
|
|
10435
|
+
coaches: {
|
|
10436
|
+
trialing: number;
|
|
10437
|
+
registrationOnly: number;
|
|
10438
|
+
subscriptions: number;
|
|
10439
|
+
activeSubscriptions: number;
|
|
10440
|
+
activeOrTrialing: number;
|
|
10441
|
+
};
|
|
10442
|
+
periodStart: string;
|
|
10443
|
+
}[];
|
|
10444
|
+
}>;
|
|
10445
|
+
monthly: z.ZodObject<{
|
|
10446
|
+
interval: z.ZodLiteral<"month">;
|
|
10447
|
+
mode: z.ZodLiteral<"cumulative">;
|
|
10448
|
+
window: z.ZodObject<{
|
|
10449
|
+
since: z.ZodString;
|
|
10450
|
+
until: z.ZodString;
|
|
10451
|
+
}, "strip", z.ZodTypeAny, {
|
|
10452
|
+
since: string;
|
|
10453
|
+
until: string;
|
|
10454
|
+
}, {
|
|
10455
|
+
since: string;
|
|
10456
|
+
until: string;
|
|
10457
|
+
}>;
|
|
10458
|
+
totals: z.ZodObject<{
|
|
10459
|
+
coaches: z.ZodObject<{
|
|
10460
|
+
registrationOnly: z.ZodNumber;
|
|
10461
|
+
subscriptions: z.ZodNumber;
|
|
10462
|
+
activeSubscriptions: z.ZodNumber;
|
|
10463
|
+
activeOrTrialing: z.ZodNumber;
|
|
10464
|
+
trialing: z.ZodNumber;
|
|
10465
|
+
}, "strip", z.ZodTypeAny, {
|
|
10466
|
+
trialing: number;
|
|
10467
|
+
registrationOnly: number;
|
|
10468
|
+
subscriptions: number;
|
|
10469
|
+
activeSubscriptions: number;
|
|
10470
|
+
activeOrTrialing: number;
|
|
10471
|
+
}, {
|
|
10472
|
+
trialing: number;
|
|
10473
|
+
registrationOnly: number;
|
|
10474
|
+
subscriptions: number;
|
|
10475
|
+
activeSubscriptions: number;
|
|
10476
|
+
activeOrTrialing: number;
|
|
10477
|
+
}>;
|
|
10478
|
+
families: z.ZodObject<{
|
|
10479
|
+
registrationOnly: z.ZodNumber;
|
|
10480
|
+
subscriptions: z.ZodNumber;
|
|
10481
|
+
activeSubscriptions: z.ZodNumber;
|
|
10482
|
+
activeOrTrialing: z.ZodNumber;
|
|
10483
|
+
trialing: z.ZodNumber;
|
|
10484
|
+
}, "strip", z.ZodTypeAny, {
|
|
10485
|
+
trialing: number;
|
|
10486
|
+
registrationOnly: number;
|
|
10487
|
+
subscriptions: number;
|
|
10488
|
+
activeSubscriptions: number;
|
|
10489
|
+
activeOrTrialing: number;
|
|
10490
|
+
}, {
|
|
10491
|
+
trialing: number;
|
|
10492
|
+
registrationOnly: number;
|
|
10493
|
+
subscriptions: number;
|
|
10494
|
+
activeSubscriptions: number;
|
|
10495
|
+
activeOrTrialing: number;
|
|
10496
|
+
}>;
|
|
10497
|
+
}, "strip", z.ZodTypeAny, {
|
|
10498
|
+
families: {
|
|
10499
|
+
trialing: number;
|
|
10500
|
+
registrationOnly: number;
|
|
10501
|
+
subscriptions: number;
|
|
10502
|
+
activeSubscriptions: number;
|
|
10503
|
+
activeOrTrialing: number;
|
|
10504
|
+
};
|
|
10505
|
+
coaches: {
|
|
10506
|
+
trialing: number;
|
|
10507
|
+
registrationOnly: number;
|
|
10508
|
+
subscriptions: number;
|
|
10509
|
+
activeSubscriptions: number;
|
|
10510
|
+
activeOrTrialing: number;
|
|
10511
|
+
};
|
|
10512
|
+
}, {
|
|
10513
|
+
families: {
|
|
10514
|
+
trialing: number;
|
|
10515
|
+
registrationOnly: number;
|
|
10516
|
+
subscriptions: number;
|
|
10517
|
+
activeSubscriptions: number;
|
|
10518
|
+
activeOrTrialing: number;
|
|
10519
|
+
};
|
|
10520
|
+
coaches: {
|
|
10521
|
+
trialing: number;
|
|
10522
|
+
registrationOnly: number;
|
|
10523
|
+
subscriptions: number;
|
|
10524
|
+
activeSubscriptions: number;
|
|
10525
|
+
activeOrTrialing: number;
|
|
10526
|
+
};
|
|
10527
|
+
}>;
|
|
10528
|
+
points: z.ZodArray<z.ZodObject<{
|
|
10529
|
+
periodStart: z.ZodString;
|
|
10530
|
+
coaches: z.ZodObject<{
|
|
10531
|
+
registrationOnly: z.ZodNumber;
|
|
10532
|
+
subscriptions: z.ZodNumber;
|
|
10533
|
+
activeSubscriptions: z.ZodNumber;
|
|
10534
|
+
activeOrTrialing: z.ZodNumber;
|
|
10535
|
+
trialing: z.ZodNumber;
|
|
10536
|
+
}, "strip", z.ZodTypeAny, {
|
|
10537
|
+
trialing: number;
|
|
10538
|
+
registrationOnly: number;
|
|
10539
|
+
subscriptions: number;
|
|
10540
|
+
activeSubscriptions: number;
|
|
10541
|
+
activeOrTrialing: number;
|
|
10542
|
+
}, {
|
|
10543
|
+
trialing: number;
|
|
10544
|
+
registrationOnly: number;
|
|
10545
|
+
subscriptions: number;
|
|
10546
|
+
activeSubscriptions: number;
|
|
10547
|
+
activeOrTrialing: number;
|
|
10548
|
+
}>;
|
|
10549
|
+
families: z.ZodObject<{
|
|
10550
|
+
registrationOnly: z.ZodNumber;
|
|
10551
|
+
subscriptions: z.ZodNumber;
|
|
10552
|
+
activeSubscriptions: z.ZodNumber;
|
|
10553
|
+
activeOrTrialing: z.ZodNumber;
|
|
10554
|
+
trialing: z.ZodNumber;
|
|
10555
|
+
}, "strip", z.ZodTypeAny, {
|
|
10556
|
+
trialing: number;
|
|
10557
|
+
registrationOnly: number;
|
|
10558
|
+
subscriptions: number;
|
|
10559
|
+
activeSubscriptions: number;
|
|
10560
|
+
activeOrTrialing: number;
|
|
10561
|
+
}, {
|
|
10562
|
+
trialing: number;
|
|
10563
|
+
registrationOnly: number;
|
|
10564
|
+
subscriptions: number;
|
|
10565
|
+
activeSubscriptions: number;
|
|
10566
|
+
activeOrTrialing: number;
|
|
10567
|
+
}>;
|
|
10568
|
+
}, "strip", z.ZodTypeAny, {
|
|
10569
|
+
families: {
|
|
10570
|
+
trialing: number;
|
|
10571
|
+
registrationOnly: number;
|
|
10572
|
+
subscriptions: number;
|
|
10573
|
+
activeSubscriptions: number;
|
|
10574
|
+
activeOrTrialing: number;
|
|
10575
|
+
};
|
|
10576
|
+
coaches: {
|
|
10577
|
+
trialing: number;
|
|
10578
|
+
registrationOnly: number;
|
|
10579
|
+
subscriptions: number;
|
|
10580
|
+
activeSubscriptions: number;
|
|
10581
|
+
activeOrTrialing: number;
|
|
10582
|
+
};
|
|
10583
|
+
periodStart: string;
|
|
10584
|
+
}, {
|
|
10585
|
+
families: {
|
|
10586
|
+
trialing: number;
|
|
10587
|
+
registrationOnly: number;
|
|
10588
|
+
subscriptions: number;
|
|
10589
|
+
activeSubscriptions: number;
|
|
10590
|
+
activeOrTrialing: number;
|
|
10591
|
+
};
|
|
10592
|
+
coaches: {
|
|
10593
|
+
trialing: number;
|
|
10594
|
+
registrationOnly: number;
|
|
10595
|
+
subscriptions: number;
|
|
10596
|
+
activeSubscriptions: number;
|
|
10597
|
+
activeOrTrialing: number;
|
|
10598
|
+
};
|
|
10599
|
+
periodStart: string;
|
|
10600
|
+
}>, "many">;
|
|
10601
|
+
}, "strip", z.ZodTypeAny, {
|
|
10602
|
+
mode: "cumulative";
|
|
10603
|
+
window: {
|
|
10604
|
+
since: string;
|
|
10605
|
+
until: string;
|
|
10606
|
+
};
|
|
10607
|
+
interval: "month";
|
|
10608
|
+
totals: {
|
|
10609
|
+
families: {
|
|
10610
|
+
trialing: number;
|
|
10611
|
+
registrationOnly: number;
|
|
10612
|
+
subscriptions: number;
|
|
10613
|
+
activeSubscriptions: number;
|
|
10614
|
+
activeOrTrialing: number;
|
|
10615
|
+
};
|
|
10616
|
+
coaches: {
|
|
10617
|
+
trialing: number;
|
|
10618
|
+
registrationOnly: number;
|
|
10619
|
+
subscriptions: number;
|
|
10620
|
+
activeSubscriptions: number;
|
|
10621
|
+
activeOrTrialing: number;
|
|
10622
|
+
};
|
|
10623
|
+
};
|
|
10624
|
+
points: {
|
|
10625
|
+
families: {
|
|
10626
|
+
trialing: number;
|
|
10627
|
+
registrationOnly: number;
|
|
10628
|
+
subscriptions: number;
|
|
10629
|
+
activeSubscriptions: number;
|
|
10630
|
+
activeOrTrialing: number;
|
|
10631
|
+
};
|
|
10632
|
+
coaches: {
|
|
10633
|
+
trialing: number;
|
|
10634
|
+
registrationOnly: number;
|
|
10635
|
+
subscriptions: number;
|
|
10636
|
+
activeSubscriptions: number;
|
|
10637
|
+
activeOrTrialing: number;
|
|
10638
|
+
};
|
|
10639
|
+
periodStart: string;
|
|
10640
|
+
}[];
|
|
10641
|
+
}, {
|
|
10642
|
+
mode: "cumulative";
|
|
10643
|
+
window: {
|
|
10644
|
+
since: string;
|
|
10645
|
+
until: string;
|
|
10646
|
+
};
|
|
10647
|
+
interval: "month";
|
|
10648
|
+
totals: {
|
|
10649
|
+
families: {
|
|
10650
|
+
trialing: number;
|
|
10651
|
+
registrationOnly: number;
|
|
10652
|
+
subscriptions: number;
|
|
10653
|
+
activeSubscriptions: number;
|
|
10654
|
+
activeOrTrialing: number;
|
|
10655
|
+
};
|
|
10656
|
+
coaches: {
|
|
10657
|
+
trialing: number;
|
|
10658
|
+
registrationOnly: number;
|
|
10659
|
+
subscriptions: number;
|
|
10660
|
+
activeSubscriptions: number;
|
|
10661
|
+
activeOrTrialing: number;
|
|
10662
|
+
};
|
|
10663
|
+
};
|
|
10664
|
+
points: {
|
|
10665
|
+
families: {
|
|
10666
|
+
trialing: number;
|
|
10667
|
+
registrationOnly: number;
|
|
10668
|
+
subscriptions: number;
|
|
10669
|
+
activeSubscriptions: number;
|
|
10670
|
+
activeOrTrialing: number;
|
|
10671
|
+
};
|
|
10672
|
+
coaches: {
|
|
10673
|
+
trialing: number;
|
|
10674
|
+
registrationOnly: number;
|
|
10675
|
+
subscriptions: number;
|
|
10676
|
+
activeSubscriptions: number;
|
|
10677
|
+
activeOrTrialing: number;
|
|
10678
|
+
};
|
|
10679
|
+
periodStart: string;
|
|
10680
|
+
}[];
|
|
10681
|
+
}>;
|
|
10682
|
+
quarterly: z.ZodObject<{
|
|
10683
|
+
interval: z.ZodLiteral<"quarter">;
|
|
10684
|
+
mode: z.ZodLiteral<"cumulative">;
|
|
10685
|
+
window: z.ZodObject<{
|
|
10686
|
+
since: z.ZodString;
|
|
10687
|
+
until: z.ZodString;
|
|
10688
|
+
}, "strip", z.ZodTypeAny, {
|
|
10689
|
+
since: string;
|
|
10690
|
+
until: string;
|
|
10691
|
+
}, {
|
|
10692
|
+
since: string;
|
|
10693
|
+
until: string;
|
|
10694
|
+
}>;
|
|
10695
|
+
totals: z.ZodObject<{
|
|
10696
|
+
coaches: z.ZodObject<{
|
|
10697
|
+
registrationOnly: z.ZodNumber;
|
|
10698
|
+
subscriptions: z.ZodNumber;
|
|
10699
|
+
activeSubscriptions: z.ZodNumber;
|
|
10700
|
+
activeOrTrialing: z.ZodNumber;
|
|
10701
|
+
trialing: z.ZodNumber;
|
|
10702
|
+
}, "strip", z.ZodTypeAny, {
|
|
10703
|
+
trialing: number;
|
|
10704
|
+
registrationOnly: number;
|
|
10705
|
+
subscriptions: number;
|
|
10706
|
+
activeSubscriptions: number;
|
|
10707
|
+
activeOrTrialing: number;
|
|
10708
|
+
}, {
|
|
10709
|
+
trialing: number;
|
|
10710
|
+
registrationOnly: number;
|
|
10711
|
+
subscriptions: number;
|
|
10712
|
+
activeSubscriptions: number;
|
|
10713
|
+
activeOrTrialing: number;
|
|
10714
|
+
}>;
|
|
10715
|
+
families: z.ZodObject<{
|
|
10716
|
+
registrationOnly: z.ZodNumber;
|
|
10717
|
+
subscriptions: z.ZodNumber;
|
|
10718
|
+
activeSubscriptions: z.ZodNumber;
|
|
10719
|
+
activeOrTrialing: z.ZodNumber;
|
|
10720
|
+
trialing: z.ZodNumber;
|
|
10721
|
+
}, "strip", z.ZodTypeAny, {
|
|
10722
|
+
trialing: number;
|
|
10723
|
+
registrationOnly: number;
|
|
10724
|
+
subscriptions: number;
|
|
10725
|
+
activeSubscriptions: number;
|
|
10726
|
+
activeOrTrialing: number;
|
|
10727
|
+
}, {
|
|
10728
|
+
trialing: number;
|
|
10729
|
+
registrationOnly: number;
|
|
10730
|
+
subscriptions: number;
|
|
10731
|
+
activeSubscriptions: number;
|
|
10732
|
+
activeOrTrialing: number;
|
|
10733
|
+
}>;
|
|
10734
|
+
}, "strip", z.ZodTypeAny, {
|
|
10735
|
+
families: {
|
|
10736
|
+
trialing: number;
|
|
10737
|
+
registrationOnly: number;
|
|
10738
|
+
subscriptions: number;
|
|
10739
|
+
activeSubscriptions: number;
|
|
10740
|
+
activeOrTrialing: number;
|
|
10741
|
+
};
|
|
10742
|
+
coaches: {
|
|
10743
|
+
trialing: number;
|
|
10744
|
+
registrationOnly: number;
|
|
10745
|
+
subscriptions: number;
|
|
10746
|
+
activeSubscriptions: number;
|
|
10747
|
+
activeOrTrialing: number;
|
|
10748
|
+
};
|
|
10749
|
+
}, {
|
|
10750
|
+
families: {
|
|
10751
|
+
trialing: number;
|
|
10752
|
+
registrationOnly: number;
|
|
10753
|
+
subscriptions: number;
|
|
10754
|
+
activeSubscriptions: number;
|
|
10755
|
+
activeOrTrialing: number;
|
|
10756
|
+
};
|
|
10757
|
+
coaches: {
|
|
10758
|
+
trialing: number;
|
|
10759
|
+
registrationOnly: number;
|
|
10760
|
+
subscriptions: number;
|
|
10761
|
+
activeSubscriptions: number;
|
|
10762
|
+
activeOrTrialing: number;
|
|
10763
|
+
};
|
|
10764
|
+
}>;
|
|
10765
|
+
points: z.ZodArray<z.ZodObject<{
|
|
10766
|
+
periodStart: z.ZodString;
|
|
10767
|
+
coaches: z.ZodObject<{
|
|
10768
|
+
registrationOnly: z.ZodNumber;
|
|
10769
|
+
subscriptions: z.ZodNumber;
|
|
10770
|
+
activeSubscriptions: z.ZodNumber;
|
|
10771
|
+
activeOrTrialing: z.ZodNumber;
|
|
10772
|
+
trialing: z.ZodNumber;
|
|
10773
|
+
}, "strip", z.ZodTypeAny, {
|
|
10774
|
+
trialing: number;
|
|
10775
|
+
registrationOnly: number;
|
|
10776
|
+
subscriptions: number;
|
|
10777
|
+
activeSubscriptions: number;
|
|
10778
|
+
activeOrTrialing: number;
|
|
10779
|
+
}, {
|
|
10780
|
+
trialing: number;
|
|
10781
|
+
registrationOnly: number;
|
|
10782
|
+
subscriptions: number;
|
|
10783
|
+
activeSubscriptions: number;
|
|
10784
|
+
activeOrTrialing: number;
|
|
10785
|
+
}>;
|
|
10786
|
+
families: z.ZodObject<{
|
|
10787
|
+
registrationOnly: z.ZodNumber;
|
|
10788
|
+
subscriptions: z.ZodNumber;
|
|
10789
|
+
activeSubscriptions: z.ZodNumber;
|
|
10790
|
+
activeOrTrialing: z.ZodNumber;
|
|
10791
|
+
trialing: z.ZodNumber;
|
|
10792
|
+
}, "strip", z.ZodTypeAny, {
|
|
10793
|
+
trialing: number;
|
|
10794
|
+
registrationOnly: number;
|
|
10795
|
+
subscriptions: number;
|
|
10796
|
+
activeSubscriptions: number;
|
|
10797
|
+
activeOrTrialing: number;
|
|
10798
|
+
}, {
|
|
10799
|
+
trialing: number;
|
|
10800
|
+
registrationOnly: number;
|
|
10801
|
+
subscriptions: number;
|
|
10802
|
+
activeSubscriptions: number;
|
|
10803
|
+
activeOrTrialing: number;
|
|
10804
|
+
}>;
|
|
10805
|
+
}, "strip", z.ZodTypeAny, {
|
|
10806
|
+
families: {
|
|
10807
|
+
trialing: number;
|
|
10808
|
+
registrationOnly: number;
|
|
10809
|
+
subscriptions: number;
|
|
10810
|
+
activeSubscriptions: number;
|
|
10811
|
+
activeOrTrialing: number;
|
|
10812
|
+
};
|
|
10813
|
+
coaches: {
|
|
10814
|
+
trialing: number;
|
|
10815
|
+
registrationOnly: number;
|
|
10816
|
+
subscriptions: number;
|
|
10817
|
+
activeSubscriptions: number;
|
|
10818
|
+
activeOrTrialing: number;
|
|
10819
|
+
};
|
|
10820
|
+
periodStart: string;
|
|
10821
|
+
}, {
|
|
10822
|
+
families: {
|
|
10823
|
+
trialing: number;
|
|
10824
|
+
registrationOnly: number;
|
|
10825
|
+
subscriptions: number;
|
|
10826
|
+
activeSubscriptions: number;
|
|
10827
|
+
activeOrTrialing: number;
|
|
10828
|
+
};
|
|
10829
|
+
coaches: {
|
|
10830
|
+
trialing: number;
|
|
10831
|
+
registrationOnly: number;
|
|
10832
|
+
subscriptions: number;
|
|
10833
|
+
activeSubscriptions: number;
|
|
10834
|
+
activeOrTrialing: number;
|
|
10835
|
+
};
|
|
10836
|
+
periodStart: string;
|
|
10837
|
+
}>, "many">;
|
|
10838
|
+
}, "strip", z.ZodTypeAny, {
|
|
10839
|
+
mode: "cumulative";
|
|
10840
|
+
window: {
|
|
10841
|
+
since: string;
|
|
10842
|
+
until: string;
|
|
10843
|
+
};
|
|
10844
|
+
interval: "quarter";
|
|
10845
|
+
totals: {
|
|
10846
|
+
families: {
|
|
10847
|
+
trialing: number;
|
|
10848
|
+
registrationOnly: number;
|
|
10849
|
+
subscriptions: number;
|
|
10850
|
+
activeSubscriptions: number;
|
|
10851
|
+
activeOrTrialing: number;
|
|
10852
|
+
};
|
|
10853
|
+
coaches: {
|
|
10854
|
+
trialing: number;
|
|
10855
|
+
registrationOnly: number;
|
|
10856
|
+
subscriptions: number;
|
|
10857
|
+
activeSubscriptions: number;
|
|
10858
|
+
activeOrTrialing: number;
|
|
10859
|
+
};
|
|
10860
|
+
};
|
|
10861
|
+
points: {
|
|
10862
|
+
families: {
|
|
10863
|
+
trialing: number;
|
|
10864
|
+
registrationOnly: number;
|
|
10865
|
+
subscriptions: number;
|
|
10866
|
+
activeSubscriptions: number;
|
|
10867
|
+
activeOrTrialing: number;
|
|
10868
|
+
};
|
|
10869
|
+
coaches: {
|
|
10870
|
+
trialing: number;
|
|
10871
|
+
registrationOnly: number;
|
|
10872
|
+
subscriptions: number;
|
|
10873
|
+
activeSubscriptions: number;
|
|
10874
|
+
activeOrTrialing: number;
|
|
10875
|
+
};
|
|
10876
|
+
periodStart: string;
|
|
10877
|
+
}[];
|
|
10878
|
+
}, {
|
|
10879
|
+
mode: "cumulative";
|
|
10880
|
+
window: {
|
|
10881
|
+
since: string;
|
|
10882
|
+
until: string;
|
|
10883
|
+
};
|
|
10884
|
+
interval: "quarter";
|
|
10885
|
+
totals: {
|
|
10886
|
+
families: {
|
|
10887
|
+
trialing: number;
|
|
10888
|
+
registrationOnly: number;
|
|
10889
|
+
subscriptions: number;
|
|
10890
|
+
activeSubscriptions: number;
|
|
10891
|
+
activeOrTrialing: number;
|
|
10892
|
+
};
|
|
10893
|
+
coaches: {
|
|
10894
|
+
trialing: number;
|
|
10895
|
+
registrationOnly: number;
|
|
10896
|
+
subscriptions: number;
|
|
10897
|
+
activeSubscriptions: number;
|
|
10898
|
+
activeOrTrialing: number;
|
|
10899
|
+
};
|
|
10900
|
+
};
|
|
10901
|
+
points: {
|
|
10902
|
+
families: {
|
|
10903
|
+
trialing: number;
|
|
10904
|
+
registrationOnly: number;
|
|
10905
|
+
subscriptions: number;
|
|
10906
|
+
activeSubscriptions: number;
|
|
10907
|
+
activeOrTrialing: number;
|
|
10908
|
+
};
|
|
10909
|
+
coaches: {
|
|
10910
|
+
trialing: number;
|
|
10911
|
+
registrationOnly: number;
|
|
10912
|
+
subscriptions: number;
|
|
10913
|
+
activeSubscriptions: number;
|
|
10914
|
+
activeOrTrialing: number;
|
|
10915
|
+
};
|
|
10916
|
+
periodStart: string;
|
|
10917
|
+
}[];
|
|
10918
|
+
}>;
|
|
10919
|
+
}, "strip", z.ZodTypeAny, {
|
|
10920
|
+
monthly: {
|
|
10921
|
+
mode: "cumulative";
|
|
10922
|
+
window: {
|
|
10923
|
+
since: string;
|
|
10924
|
+
until: string;
|
|
10925
|
+
};
|
|
10926
|
+
interval: "month";
|
|
10927
|
+
totals: {
|
|
10928
|
+
families: {
|
|
10929
|
+
trialing: number;
|
|
10930
|
+
registrationOnly: number;
|
|
10931
|
+
subscriptions: number;
|
|
10932
|
+
activeSubscriptions: number;
|
|
10933
|
+
activeOrTrialing: number;
|
|
10934
|
+
};
|
|
10935
|
+
coaches: {
|
|
10936
|
+
trialing: number;
|
|
10937
|
+
registrationOnly: number;
|
|
10938
|
+
subscriptions: number;
|
|
10939
|
+
activeSubscriptions: number;
|
|
10940
|
+
activeOrTrialing: number;
|
|
10941
|
+
};
|
|
10942
|
+
};
|
|
10943
|
+
points: {
|
|
10944
|
+
families: {
|
|
10945
|
+
trialing: number;
|
|
10946
|
+
registrationOnly: number;
|
|
10947
|
+
subscriptions: number;
|
|
10948
|
+
activeSubscriptions: number;
|
|
10949
|
+
activeOrTrialing: number;
|
|
10950
|
+
};
|
|
10951
|
+
coaches: {
|
|
10952
|
+
trialing: number;
|
|
10953
|
+
registrationOnly: number;
|
|
10954
|
+
subscriptions: number;
|
|
10955
|
+
activeSubscriptions: number;
|
|
10956
|
+
activeOrTrialing: number;
|
|
10957
|
+
};
|
|
10958
|
+
periodStart: string;
|
|
10959
|
+
}[];
|
|
10960
|
+
};
|
|
10961
|
+
daily: {
|
|
10962
|
+
mode: "cumulative";
|
|
10963
|
+
window: {
|
|
10964
|
+
since: string;
|
|
10965
|
+
until: string;
|
|
10966
|
+
};
|
|
10967
|
+
interval: "day";
|
|
10968
|
+
totals: {
|
|
10969
|
+
families: {
|
|
10970
|
+
trialing: number;
|
|
10971
|
+
registrationOnly: number;
|
|
10972
|
+
subscriptions: number;
|
|
10973
|
+
activeSubscriptions: number;
|
|
10974
|
+
activeOrTrialing: number;
|
|
10975
|
+
};
|
|
10976
|
+
coaches: {
|
|
10977
|
+
trialing: number;
|
|
10978
|
+
registrationOnly: number;
|
|
10979
|
+
subscriptions: number;
|
|
10980
|
+
activeSubscriptions: number;
|
|
10981
|
+
activeOrTrialing: number;
|
|
10982
|
+
};
|
|
10983
|
+
};
|
|
10984
|
+
points: {
|
|
10985
|
+
families: {
|
|
10986
|
+
trialing: number;
|
|
10987
|
+
registrationOnly: number;
|
|
10988
|
+
subscriptions: number;
|
|
10989
|
+
activeSubscriptions: number;
|
|
10990
|
+
activeOrTrialing: number;
|
|
10991
|
+
};
|
|
10992
|
+
coaches: {
|
|
10993
|
+
trialing: number;
|
|
10994
|
+
registrationOnly: number;
|
|
10995
|
+
subscriptions: number;
|
|
10996
|
+
activeSubscriptions: number;
|
|
10997
|
+
activeOrTrialing: number;
|
|
10998
|
+
};
|
|
10999
|
+
periodStart: string;
|
|
11000
|
+
}[];
|
|
11001
|
+
};
|
|
11002
|
+
quarterly: {
|
|
11003
|
+
mode: "cumulative";
|
|
11004
|
+
window: {
|
|
11005
|
+
since: string;
|
|
11006
|
+
until: string;
|
|
11007
|
+
};
|
|
11008
|
+
interval: "quarter";
|
|
11009
|
+
totals: {
|
|
11010
|
+
families: {
|
|
11011
|
+
trialing: number;
|
|
11012
|
+
registrationOnly: number;
|
|
11013
|
+
subscriptions: number;
|
|
11014
|
+
activeSubscriptions: number;
|
|
11015
|
+
activeOrTrialing: number;
|
|
11016
|
+
};
|
|
11017
|
+
coaches: {
|
|
11018
|
+
trialing: number;
|
|
11019
|
+
registrationOnly: number;
|
|
11020
|
+
subscriptions: number;
|
|
11021
|
+
activeSubscriptions: number;
|
|
11022
|
+
activeOrTrialing: number;
|
|
11023
|
+
};
|
|
11024
|
+
};
|
|
11025
|
+
points: {
|
|
11026
|
+
families: {
|
|
11027
|
+
trialing: number;
|
|
11028
|
+
registrationOnly: number;
|
|
11029
|
+
subscriptions: number;
|
|
11030
|
+
activeSubscriptions: number;
|
|
11031
|
+
activeOrTrialing: number;
|
|
11032
|
+
};
|
|
11033
|
+
coaches: {
|
|
11034
|
+
trialing: number;
|
|
11035
|
+
registrationOnly: number;
|
|
11036
|
+
subscriptions: number;
|
|
11037
|
+
activeSubscriptions: number;
|
|
11038
|
+
activeOrTrialing: number;
|
|
11039
|
+
};
|
|
11040
|
+
periodStart: string;
|
|
11041
|
+
}[];
|
|
11042
|
+
};
|
|
11043
|
+
}, {
|
|
11044
|
+
monthly: {
|
|
11045
|
+
mode: "cumulative";
|
|
11046
|
+
window: {
|
|
11047
|
+
since: string;
|
|
11048
|
+
until: string;
|
|
11049
|
+
};
|
|
11050
|
+
interval: "month";
|
|
11051
|
+
totals: {
|
|
11052
|
+
families: {
|
|
11053
|
+
trialing: number;
|
|
11054
|
+
registrationOnly: number;
|
|
11055
|
+
subscriptions: number;
|
|
11056
|
+
activeSubscriptions: number;
|
|
11057
|
+
activeOrTrialing: number;
|
|
11058
|
+
};
|
|
11059
|
+
coaches: {
|
|
11060
|
+
trialing: number;
|
|
11061
|
+
registrationOnly: number;
|
|
11062
|
+
subscriptions: number;
|
|
11063
|
+
activeSubscriptions: number;
|
|
11064
|
+
activeOrTrialing: number;
|
|
11065
|
+
};
|
|
11066
|
+
};
|
|
11067
|
+
points: {
|
|
11068
|
+
families: {
|
|
11069
|
+
trialing: number;
|
|
11070
|
+
registrationOnly: number;
|
|
11071
|
+
subscriptions: number;
|
|
11072
|
+
activeSubscriptions: number;
|
|
11073
|
+
activeOrTrialing: number;
|
|
11074
|
+
};
|
|
11075
|
+
coaches: {
|
|
11076
|
+
trialing: number;
|
|
11077
|
+
registrationOnly: number;
|
|
11078
|
+
subscriptions: number;
|
|
11079
|
+
activeSubscriptions: number;
|
|
11080
|
+
activeOrTrialing: number;
|
|
11081
|
+
};
|
|
11082
|
+
periodStart: string;
|
|
11083
|
+
}[];
|
|
11084
|
+
};
|
|
11085
|
+
daily: {
|
|
11086
|
+
mode: "cumulative";
|
|
11087
|
+
window: {
|
|
11088
|
+
since: string;
|
|
11089
|
+
until: string;
|
|
11090
|
+
};
|
|
11091
|
+
interval: "day";
|
|
11092
|
+
totals: {
|
|
11093
|
+
families: {
|
|
11094
|
+
trialing: number;
|
|
11095
|
+
registrationOnly: number;
|
|
11096
|
+
subscriptions: number;
|
|
11097
|
+
activeSubscriptions: number;
|
|
11098
|
+
activeOrTrialing: number;
|
|
11099
|
+
};
|
|
11100
|
+
coaches: {
|
|
11101
|
+
trialing: number;
|
|
11102
|
+
registrationOnly: number;
|
|
11103
|
+
subscriptions: number;
|
|
11104
|
+
activeSubscriptions: number;
|
|
11105
|
+
activeOrTrialing: number;
|
|
11106
|
+
};
|
|
11107
|
+
};
|
|
11108
|
+
points: {
|
|
11109
|
+
families: {
|
|
11110
|
+
trialing: number;
|
|
11111
|
+
registrationOnly: number;
|
|
11112
|
+
subscriptions: number;
|
|
11113
|
+
activeSubscriptions: number;
|
|
11114
|
+
activeOrTrialing: number;
|
|
11115
|
+
};
|
|
11116
|
+
coaches: {
|
|
11117
|
+
trialing: number;
|
|
11118
|
+
registrationOnly: number;
|
|
11119
|
+
subscriptions: number;
|
|
11120
|
+
activeSubscriptions: number;
|
|
11121
|
+
activeOrTrialing: number;
|
|
11122
|
+
};
|
|
11123
|
+
periodStart: string;
|
|
11124
|
+
}[];
|
|
11125
|
+
};
|
|
11126
|
+
quarterly: {
|
|
11127
|
+
mode: "cumulative";
|
|
11128
|
+
window: {
|
|
11129
|
+
since: string;
|
|
11130
|
+
until: string;
|
|
11131
|
+
};
|
|
11132
|
+
interval: "quarter";
|
|
11133
|
+
totals: {
|
|
11134
|
+
families: {
|
|
11135
|
+
trialing: number;
|
|
11136
|
+
registrationOnly: number;
|
|
11137
|
+
subscriptions: number;
|
|
11138
|
+
activeSubscriptions: number;
|
|
11139
|
+
activeOrTrialing: number;
|
|
11140
|
+
};
|
|
11141
|
+
coaches: {
|
|
11142
|
+
trialing: number;
|
|
11143
|
+
registrationOnly: number;
|
|
11144
|
+
subscriptions: number;
|
|
11145
|
+
activeSubscriptions: number;
|
|
11146
|
+
activeOrTrialing: number;
|
|
11147
|
+
};
|
|
11148
|
+
};
|
|
11149
|
+
points: {
|
|
11150
|
+
families: {
|
|
11151
|
+
trialing: number;
|
|
11152
|
+
registrationOnly: number;
|
|
11153
|
+
subscriptions: number;
|
|
11154
|
+
activeSubscriptions: number;
|
|
11155
|
+
activeOrTrialing: number;
|
|
11156
|
+
};
|
|
11157
|
+
coaches: {
|
|
11158
|
+
trialing: number;
|
|
11159
|
+
registrationOnly: number;
|
|
11160
|
+
subscriptions: number;
|
|
11161
|
+
activeSubscriptions: number;
|
|
11162
|
+
activeOrTrialing: number;
|
|
11163
|
+
};
|
|
11164
|
+
periodStart: string;
|
|
11165
|
+
}[];
|
|
11166
|
+
};
|
|
11167
|
+
}>;
|
|
11168
|
+
}, "strip", z.ZodTypeAny, {
|
|
11169
|
+
window: {
|
|
11170
|
+
since: string;
|
|
11171
|
+
until: string;
|
|
11172
|
+
};
|
|
11173
|
+
interval: "month";
|
|
11174
|
+
cohortBasis: "registrationMonth";
|
|
11175
|
+
totals: {
|
|
11176
|
+
families: {
|
|
11177
|
+
trialing: number;
|
|
11178
|
+
registrationOnly: number;
|
|
11179
|
+
subscriptions: number;
|
|
11180
|
+
activeSubscriptions: number;
|
|
11181
|
+
activeOrTrialing: number;
|
|
11182
|
+
};
|
|
11183
|
+
coaches: {
|
|
11184
|
+
trialing: number;
|
|
11185
|
+
registrationOnly: number;
|
|
11186
|
+
subscriptions: number;
|
|
11187
|
+
activeSubscriptions: number;
|
|
11188
|
+
activeOrTrialing: number;
|
|
11189
|
+
};
|
|
11190
|
+
};
|
|
11191
|
+
points: {
|
|
11192
|
+
families: {
|
|
11193
|
+
trialing: number;
|
|
11194
|
+
registrationOnly: number;
|
|
11195
|
+
subscriptions: number;
|
|
11196
|
+
activeSubscriptions: number;
|
|
11197
|
+
activeOrTrialing: number;
|
|
11198
|
+
};
|
|
11199
|
+
coaches: {
|
|
11200
|
+
trialing: number;
|
|
11201
|
+
registrationOnly: number;
|
|
11202
|
+
subscriptions: number;
|
|
11203
|
+
activeSubscriptions: number;
|
|
11204
|
+
activeOrTrialing: number;
|
|
11205
|
+
};
|
|
11206
|
+
monthStart: string;
|
|
11207
|
+
}[];
|
|
11208
|
+
views: {
|
|
11209
|
+
monthly: {
|
|
11210
|
+
mode: "cumulative";
|
|
11211
|
+
window: {
|
|
11212
|
+
since: string;
|
|
11213
|
+
until: string;
|
|
11214
|
+
};
|
|
11215
|
+
interval: "month";
|
|
11216
|
+
totals: {
|
|
11217
|
+
families: {
|
|
11218
|
+
trialing: number;
|
|
11219
|
+
registrationOnly: number;
|
|
11220
|
+
subscriptions: number;
|
|
11221
|
+
activeSubscriptions: number;
|
|
11222
|
+
activeOrTrialing: number;
|
|
11223
|
+
};
|
|
11224
|
+
coaches: {
|
|
11225
|
+
trialing: number;
|
|
11226
|
+
registrationOnly: number;
|
|
11227
|
+
subscriptions: number;
|
|
11228
|
+
activeSubscriptions: number;
|
|
11229
|
+
activeOrTrialing: number;
|
|
11230
|
+
};
|
|
11231
|
+
};
|
|
11232
|
+
points: {
|
|
11233
|
+
families: {
|
|
11234
|
+
trialing: number;
|
|
11235
|
+
registrationOnly: number;
|
|
11236
|
+
subscriptions: number;
|
|
11237
|
+
activeSubscriptions: number;
|
|
11238
|
+
activeOrTrialing: number;
|
|
11239
|
+
};
|
|
11240
|
+
coaches: {
|
|
11241
|
+
trialing: number;
|
|
11242
|
+
registrationOnly: number;
|
|
11243
|
+
subscriptions: number;
|
|
11244
|
+
activeSubscriptions: number;
|
|
11245
|
+
activeOrTrialing: number;
|
|
11246
|
+
};
|
|
11247
|
+
periodStart: string;
|
|
11248
|
+
}[];
|
|
11249
|
+
};
|
|
11250
|
+
daily: {
|
|
11251
|
+
mode: "cumulative";
|
|
11252
|
+
window: {
|
|
11253
|
+
since: string;
|
|
11254
|
+
until: string;
|
|
11255
|
+
};
|
|
11256
|
+
interval: "day";
|
|
11257
|
+
totals: {
|
|
11258
|
+
families: {
|
|
11259
|
+
trialing: number;
|
|
11260
|
+
registrationOnly: number;
|
|
11261
|
+
subscriptions: number;
|
|
11262
|
+
activeSubscriptions: number;
|
|
11263
|
+
activeOrTrialing: number;
|
|
11264
|
+
};
|
|
11265
|
+
coaches: {
|
|
11266
|
+
trialing: number;
|
|
11267
|
+
registrationOnly: number;
|
|
11268
|
+
subscriptions: number;
|
|
11269
|
+
activeSubscriptions: number;
|
|
11270
|
+
activeOrTrialing: number;
|
|
11271
|
+
};
|
|
11272
|
+
};
|
|
11273
|
+
points: {
|
|
11274
|
+
families: {
|
|
11275
|
+
trialing: number;
|
|
11276
|
+
registrationOnly: number;
|
|
11277
|
+
subscriptions: number;
|
|
11278
|
+
activeSubscriptions: number;
|
|
11279
|
+
activeOrTrialing: number;
|
|
11280
|
+
};
|
|
11281
|
+
coaches: {
|
|
11282
|
+
trialing: number;
|
|
11283
|
+
registrationOnly: number;
|
|
11284
|
+
subscriptions: number;
|
|
11285
|
+
activeSubscriptions: number;
|
|
11286
|
+
activeOrTrialing: number;
|
|
11287
|
+
};
|
|
11288
|
+
periodStart: string;
|
|
11289
|
+
}[];
|
|
11290
|
+
};
|
|
11291
|
+
quarterly: {
|
|
11292
|
+
mode: "cumulative";
|
|
11293
|
+
window: {
|
|
11294
|
+
since: string;
|
|
11295
|
+
until: string;
|
|
11296
|
+
};
|
|
11297
|
+
interval: "quarter";
|
|
11298
|
+
totals: {
|
|
11299
|
+
families: {
|
|
11300
|
+
trialing: number;
|
|
11301
|
+
registrationOnly: number;
|
|
11302
|
+
subscriptions: number;
|
|
11303
|
+
activeSubscriptions: number;
|
|
11304
|
+
activeOrTrialing: number;
|
|
11305
|
+
};
|
|
11306
|
+
coaches: {
|
|
11307
|
+
trialing: number;
|
|
11308
|
+
registrationOnly: number;
|
|
11309
|
+
subscriptions: number;
|
|
11310
|
+
activeSubscriptions: number;
|
|
11311
|
+
activeOrTrialing: number;
|
|
11312
|
+
};
|
|
11313
|
+
};
|
|
11314
|
+
points: {
|
|
11315
|
+
families: {
|
|
11316
|
+
trialing: number;
|
|
11317
|
+
registrationOnly: number;
|
|
11318
|
+
subscriptions: number;
|
|
11319
|
+
activeSubscriptions: number;
|
|
11320
|
+
activeOrTrialing: number;
|
|
11321
|
+
};
|
|
11322
|
+
coaches: {
|
|
11323
|
+
trialing: number;
|
|
11324
|
+
registrationOnly: number;
|
|
11325
|
+
subscriptions: number;
|
|
11326
|
+
activeSubscriptions: number;
|
|
11327
|
+
activeOrTrialing: number;
|
|
11328
|
+
};
|
|
11329
|
+
periodStart: string;
|
|
11330
|
+
}[];
|
|
11331
|
+
};
|
|
11332
|
+
};
|
|
11333
|
+
}, {
|
|
11334
|
+
window: {
|
|
11335
|
+
since: string;
|
|
11336
|
+
until: string;
|
|
11337
|
+
};
|
|
11338
|
+
interval: "month";
|
|
11339
|
+
cohortBasis: "registrationMonth";
|
|
11340
|
+
totals: {
|
|
11341
|
+
families: {
|
|
11342
|
+
trialing: number;
|
|
11343
|
+
registrationOnly: number;
|
|
11344
|
+
subscriptions: number;
|
|
11345
|
+
activeSubscriptions: number;
|
|
11346
|
+
activeOrTrialing: number;
|
|
11347
|
+
};
|
|
11348
|
+
coaches: {
|
|
11349
|
+
trialing: number;
|
|
11350
|
+
registrationOnly: number;
|
|
11351
|
+
subscriptions: number;
|
|
11352
|
+
activeSubscriptions: number;
|
|
11353
|
+
activeOrTrialing: number;
|
|
11354
|
+
};
|
|
11355
|
+
};
|
|
11356
|
+
points: {
|
|
11357
|
+
families: {
|
|
11358
|
+
trialing: number;
|
|
11359
|
+
registrationOnly: number;
|
|
11360
|
+
subscriptions: number;
|
|
11361
|
+
activeSubscriptions: number;
|
|
11362
|
+
activeOrTrialing: number;
|
|
11363
|
+
};
|
|
11364
|
+
coaches: {
|
|
11365
|
+
trialing: number;
|
|
11366
|
+
registrationOnly: number;
|
|
11367
|
+
subscriptions: number;
|
|
11368
|
+
activeSubscriptions: number;
|
|
11369
|
+
activeOrTrialing: number;
|
|
11370
|
+
};
|
|
11371
|
+
monthStart: string;
|
|
11372
|
+
}[];
|
|
11373
|
+
views: {
|
|
11374
|
+
monthly: {
|
|
11375
|
+
mode: "cumulative";
|
|
11376
|
+
window: {
|
|
11377
|
+
since: string;
|
|
11378
|
+
until: string;
|
|
11379
|
+
};
|
|
11380
|
+
interval: "month";
|
|
11381
|
+
totals: {
|
|
11382
|
+
families: {
|
|
11383
|
+
trialing: number;
|
|
11384
|
+
registrationOnly: number;
|
|
11385
|
+
subscriptions: number;
|
|
11386
|
+
activeSubscriptions: number;
|
|
11387
|
+
activeOrTrialing: number;
|
|
11388
|
+
};
|
|
11389
|
+
coaches: {
|
|
11390
|
+
trialing: number;
|
|
11391
|
+
registrationOnly: number;
|
|
11392
|
+
subscriptions: number;
|
|
11393
|
+
activeSubscriptions: number;
|
|
11394
|
+
activeOrTrialing: number;
|
|
11395
|
+
};
|
|
11396
|
+
};
|
|
11397
|
+
points: {
|
|
11398
|
+
families: {
|
|
11399
|
+
trialing: number;
|
|
11400
|
+
registrationOnly: number;
|
|
11401
|
+
subscriptions: number;
|
|
11402
|
+
activeSubscriptions: number;
|
|
11403
|
+
activeOrTrialing: number;
|
|
11404
|
+
};
|
|
11405
|
+
coaches: {
|
|
11406
|
+
trialing: number;
|
|
11407
|
+
registrationOnly: number;
|
|
11408
|
+
subscriptions: number;
|
|
11409
|
+
activeSubscriptions: number;
|
|
11410
|
+
activeOrTrialing: number;
|
|
11411
|
+
};
|
|
11412
|
+
periodStart: string;
|
|
11413
|
+
}[];
|
|
11414
|
+
};
|
|
11415
|
+
daily: {
|
|
11416
|
+
mode: "cumulative";
|
|
11417
|
+
window: {
|
|
11418
|
+
since: string;
|
|
11419
|
+
until: string;
|
|
11420
|
+
};
|
|
11421
|
+
interval: "day";
|
|
11422
|
+
totals: {
|
|
11423
|
+
families: {
|
|
11424
|
+
trialing: number;
|
|
11425
|
+
registrationOnly: number;
|
|
11426
|
+
subscriptions: number;
|
|
11427
|
+
activeSubscriptions: number;
|
|
11428
|
+
activeOrTrialing: number;
|
|
11429
|
+
};
|
|
11430
|
+
coaches: {
|
|
11431
|
+
trialing: number;
|
|
11432
|
+
registrationOnly: number;
|
|
11433
|
+
subscriptions: number;
|
|
11434
|
+
activeSubscriptions: number;
|
|
11435
|
+
activeOrTrialing: number;
|
|
11436
|
+
};
|
|
11437
|
+
};
|
|
11438
|
+
points: {
|
|
11439
|
+
families: {
|
|
11440
|
+
trialing: number;
|
|
11441
|
+
registrationOnly: number;
|
|
11442
|
+
subscriptions: number;
|
|
11443
|
+
activeSubscriptions: number;
|
|
11444
|
+
activeOrTrialing: number;
|
|
11445
|
+
};
|
|
11446
|
+
coaches: {
|
|
11447
|
+
trialing: number;
|
|
11448
|
+
registrationOnly: number;
|
|
11449
|
+
subscriptions: number;
|
|
11450
|
+
activeSubscriptions: number;
|
|
11451
|
+
activeOrTrialing: number;
|
|
11452
|
+
};
|
|
11453
|
+
periodStart: string;
|
|
11454
|
+
}[];
|
|
11455
|
+
};
|
|
11456
|
+
quarterly: {
|
|
11457
|
+
mode: "cumulative";
|
|
11458
|
+
window: {
|
|
11459
|
+
since: string;
|
|
11460
|
+
until: string;
|
|
11461
|
+
};
|
|
11462
|
+
interval: "quarter";
|
|
11463
|
+
totals: {
|
|
11464
|
+
families: {
|
|
11465
|
+
trialing: number;
|
|
11466
|
+
registrationOnly: number;
|
|
11467
|
+
subscriptions: number;
|
|
11468
|
+
activeSubscriptions: number;
|
|
11469
|
+
activeOrTrialing: number;
|
|
11470
|
+
};
|
|
11471
|
+
coaches: {
|
|
11472
|
+
trialing: number;
|
|
11473
|
+
registrationOnly: number;
|
|
11474
|
+
subscriptions: number;
|
|
11475
|
+
activeSubscriptions: number;
|
|
11476
|
+
activeOrTrialing: number;
|
|
11477
|
+
};
|
|
11478
|
+
};
|
|
11479
|
+
points: {
|
|
11480
|
+
families: {
|
|
11481
|
+
trialing: number;
|
|
11482
|
+
registrationOnly: number;
|
|
11483
|
+
subscriptions: number;
|
|
11484
|
+
activeSubscriptions: number;
|
|
11485
|
+
activeOrTrialing: number;
|
|
11486
|
+
};
|
|
11487
|
+
coaches: {
|
|
11488
|
+
trialing: number;
|
|
11489
|
+
registrationOnly: number;
|
|
11490
|
+
subscriptions: number;
|
|
11491
|
+
activeSubscriptions: number;
|
|
11492
|
+
activeOrTrialing: number;
|
|
11493
|
+
};
|
|
11494
|
+
periodStart: string;
|
|
11495
|
+
}[];
|
|
11496
|
+
};
|
|
11497
|
+
};
|
|
11498
|
+
}>;
|
|
11499
|
+
revenue: z.ZodObject<{
|
|
11500
|
+
currency: z.ZodLiteral<"GBP">;
|
|
11501
|
+
activeCoachMrrPence: z.ZodNumber;
|
|
11502
|
+
coachMrrByOwner: z.ZodObject<{
|
|
11503
|
+
becca: z.ZodObject<{
|
|
11504
|
+
percentageBasisPoints: z.ZodNumber;
|
|
11505
|
+
estimatedMrrPence: z.ZodNumber;
|
|
11506
|
+
}, "strip", z.ZodTypeAny, {
|
|
11507
|
+
estimatedMrrPence: number;
|
|
11508
|
+
percentageBasisPoints: number;
|
|
11509
|
+
}, {
|
|
11510
|
+
estimatedMrrPence: number;
|
|
11511
|
+
percentageBasisPoints: number;
|
|
11512
|
+
}>;
|
|
11513
|
+
nikos: z.ZodObject<{
|
|
11514
|
+
percentageBasisPoints: z.ZodNumber;
|
|
11515
|
+
estimatedMrrPence: z.ZodNumber;
|
|
11516
|
+
}, "strip", z.ZodTypeAny, {
|
|
11517
|
+
estimatedMrrPence: number;
|
|
11518
|
+
percentageBasisPoints: number;
|
|
11519
|
+
}, {
|
|
11520
|
+
estimatedMrrPence: number;
|
|
11521
|
+
percentageBasisPoints: number;
|
|
11522
|
+
}>;
|
|
11523
|
+
}, "strip", z.ZodTypeAny, {
|
|
11524
|
+
becca: {
|
|
11525
|
+
estimatedMrrPence: number;
|
|
11526
|
+
percentageBasisPoints: number;
|
|
11527
|
+
};
|
|
11528
|
+
nikos: {
|
|
11529
|
+
estimatedMrrPence: number;
|
|
11530
|
+
percentageBasisPoints: number;
|
|
11531
|
+
};
|
|
11532
|
+
}, {
|
|
11533
|
+
becca: {
|
|
11534
|
+
estimatedMrrPence: number;
|
|
11535
|
+
percentageBasisPoints: number;
|
|
11536
|
+
};
|
|
11537
|
+
nikos: {
|
|
11538
|
+
estimatedMrrPence: number;
|
|
11539
|
+
percentageBasisPoints: number;
|
|
11540
|
+
};
|
|
11541
|
+
}>;
|
|
11542
|
+
activeFamilyMrrPence: z.ZodNumber;
|
|
11543
|
+
trialingFamilyMrrPence: z.ZodNumber;
|
|
11544
|
+
totalActiveMrrPence: z.ZodNumber;
|
|
11545
|
+
trialingCoachMrrPence: z.ZodNumber;
|
|
11546
|
+
pastDueCoachMrrPence: z.ZodNumber;
|
|
11547
|
+
inactiveBillingFamilyMrrPence: z.ZodNumber;
|
|
11548
|
+
totalAtRiskMrrPence: z.ZodNumber;
|
|
11549
|
+
estimatedRevenueToDatePence: z.ZodNullable<z.ZodNumber>;
|
|
11550
|
+
notes: z.ZodArray<z.ZodString, "many">;
|
|
11551
|
+
}, "strip", z.ZodTypeAny, {
|
|
11552
|
+
currency: "GBP";
|
|
11553
|
+
activeCoachMrrPence: number;
|
|
11554
|
+
coachMrrByOwner: {
|
|
11555
|
+
becca: {
|
|
11556
|
+
estimatedMrrPence: number;
|
|
11557
|
+
percentageBasisPoints: number;
|
|
11558
|
+
};
|
|
11559
|
+
nikos: {
|
|
11560
|
+
estimatedMrrPence: number;
|
|
11561
|
+
percentageBasisPoints: number;
|
|
11562
|
+
};
|
|
11563
|
+
};
|
|
11564
|
+
activeFamilyMrrPence: number;
|
|
11565
|
+
trialingFamilyMrrPence: number;
|
|
11566
|
+
totalActiveMrrPence: number;
|
|
11567
|
+
trialingCoachMrrPence: number;
|
|
11568
|
+
pastDueCoachMrrPence: number;
|
|
11569
|
+
inactiveBillingFamilyMrrPence: number;
|
|
11570
|
+
totalAtRiskMrrPence: number;
|
|
11571
|
+
estimatedRevenueToDatePence: number | null;
|
|
11572
|
+
notes: string[];
|
|
11573
|
+
}, {
|
|
11574
|
+
currency: "GBP";
|
|
11575
|
+
activeCoachMrrPence: number;
|
|
11576
|
+
coachMrrByOwner: {
|
|
11577
|
+
becca: {
|
|
11578
|
+
estimatedMrrPence: number;
|
|
11579
|
+
percentageBasisPoints: number;
|
|
11580
|
+
};
|
|
11581
|
+
nikos: {
|
|
11582
|
+
estimatedMrrPence: number;
|
|
11583
|
+
percentageBasisPoints: number;
|
|
11584
|
+
};
|
|
11585
|
+
};
|
|
11586
|
+
activeFamilyMrrPence: number;
|
|
11587
|
+
trialingFamilyMrrPence: number;
|
|
11588
|
+
totalActiveMrrPence: number;
|
|
11589
|
+
trialingCoachMrrPence: number;
|
|
11590
|
+
pastDueCoachMrrPence: number;
|
|
11591
|
+
inactiveBillingFamilyMrrPence: number;
|
|
11592
|
+
totalAtRiskMrrPence: number;
|
|
11593
|
+
estimatedRevenueToDatePence: number | null;
|
|
11594
|
+
notes: string[];
|
|
11595
|
+
}>;
|
|
11596
|
+
coachSubscriptions: z.ZodObject<{
|
|
11597
|
+
total: z.ZodNumber;
|
|
11598
|
+
paidTotal: z.ZodNumber;
|
|
11599
|
+
byStatus: z.ZodObject<{
|
|
11600
|
+
active: z.ZodNumber;
|
|
11601
|
+
trialing: z.ZodNumber;
|
|
11602
|
+
pastDue: z.ZodNumber;
|
|
11603
|
+
canceled: z.ZodNumber;
|
|
11604
|
+
suspended: z.ZodNumber;
|
|
11605
|
+
}, "strip", z.ZodTypeAny, {
|
|
11606
|
+
active: number;
|
|
11607
|
+
trialing: number;
|
|
11608
|
+
pastDue: number;
|
|
9810
11609
|
suspended: number;
|
|
9811
11610
|
canceled: number;
|
|
9812
11611
|
}, {
|
|
@@ -11180,8 +12979,8 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
|
|
|
11180
12979
|
premiumGraceActive: z.ZodOptional<z.ZodBoolean>;
|
|
11181
12980
|
disabledReason: z.ZodEnum<["none", "notStarted", "expired", "revoked", "billingInactive", "suspendedOrganization", "noEntitlement"]>;
|
|
11182
12981
|
}, "strip", z.ZodTypeAny, {
|
|
11183
|
-
active: boolean;
|
|
11184
12982
|
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
12983
|
+
active: boolean;
|
|
11185
12984
|
expiresAt?: string | null | undefined;
|
|
11186
12985
|
organizationId?: string | undefined;
|
|
11187
12986
|
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
@@ -11192,8 +12991,8 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
|
|
|
11192
12991
|
premiumGraceDaysRemaining?: number | undefined;
|
|
11193
12992
|
premiumGraceActive?: boolean | undefined;
|
|
11194
12993
|
}, {
|
|
11195
|
-
active: boolean;
|
|
11196
12994
|
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
12995
|
+
active: boolean;
|
|
11197
12996
|
expiresAt?: string | null | undefined;
|
|
11198
12997
|
organizationId?: string | undefined;
|
|
11199
12998
|
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
@@ -11357,8 +13156,8 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
|
|
|
11357
13156
|
} | undefined;
|
|
11358
13157
|
} | null;
|
|
11359
13158
|
premium: {
|
|
11360
|
-
active: boolean;
|
|
11361
13159
|
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
13160
|
+
active: boolean;
|
|
11362
13161
|
expiresAt?: string | null | undefined;
|
|
11363
13162
|
organizationId?: string | undefined;
|
|
11364
13163
|
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
@@ -11473,8 +13272,8 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
|
|
|
11473
13272
|
} | undefined;
|
|
11474
13273
|
} | null;
|
|
11475
13274
|
premium: {
|
|
11476
|
-
active: boolean;
|
|
11477
13275
|
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
13276
|
+
active: boolean;
|
|
11478
13277
|
expiresAt?: string | null | undefined;
|
|
11479
13278
|
organizationId?: string | undefined;
|
|
11480
13279
|
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
@@ -11593,8 +13392,8 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
|
|
|
11593
13392
|
} | undefined;
|
|
11594
13393
|
} | null;
|
|
11595
13394
|
premium: {
|
|
11596
|
-
active: boolean;
|
|
11597
13395
|
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
13396
|
+
active: boolean;
|
|
11598
13397
|
expiresAt?: string | null | undefined;
|
|
11599
13398
|
organizationId?: string | undefined;
|
|
11600
13399
|
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
@@ -11759,8 +13558,8 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
|
|
|
11759
13558
|
} | undefined;
|
|
11760
13559
|
} | null;
|
|
11761
13560
|
premium: {
|
|
11762
|
-
active: boolean;
|
|
11763
13561
|
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
13562
|
+
active: boolean;
|
|
11764
13563
|
expiresAt?: string | null | undefined;
|
|
11765
13564
|
organizationId?: string | undefined;
|
|
11766
13565
|
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
@@ -11928,8 +13727,8 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
|
|
|
11928
13727
|
} | undefined;
|
|
11929
13728
|
} | null;
|
|
11930
13729
|
premium: {
|
|
11931
|
-
active: boolean;
|
|
11932
13730
|
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
13731
|
+
active: boolean;
|
|
11933
13732
|
expiresAt?: string | null | undefined;
|
|
11934
13733
|
organizationId?: string | undefined;
|
|
11935
13734
|
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
@@ -11989,6 +13788,172 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
|
|
|
11989
13788
|
directSubscribedThenCoachLinkedRateBasisPoints: number | null;
|
|
11990
13789
|
};
|
|
11991
13790
|
};
|
|
13791
|
+
acquisition: {
|
|
13792
|
+
window: {
|
|
13793
|
+
since: string;
|
|
13794
|
+
until: string;
|
|
13795
|
+
};
|
|
13796
|
+
interval: "month";
|
|
13797
|
+
cohortBasis: "registrationMonth";
|
|
13798
|
+
totals: {
|
|
13799
|
+
families: {
|
|
13800
|
+
trialing: number;
|
|
13801
|
+
registrationOnly: number;
|
|
13802
|
+
subscriptions: number;
|
|
13803
|
+
activeSubscriptions: number;
|
|
13804
|
+
activeOrTrialing: number;
|
|
13805
|
+
};
|
|
13806
|
+
coaches: {
|
|
13807
|
+
trialing: number;
|
|
13808
|
+
registrationOnly: number;
|
|
13809
|
+
subscriptions: number;
|
|
13810
|
+
activeSubscriptions: number;
|
|
13811
|
+
activeOrTrialing: number;
|
|
13812
|
+
};
|
|
13813
|
+
};
|
|
13814
|
+
points: {
|
|
13815
|
+
families: {
|
|
13816
|
+
trialing: number;
|
|
13817
|
+
registrationOnly: number;
|
|
13818
|
+
subscriptions: number;
|
|
13819
|
+
activeSubscriptions: number;
|
|
13820
|
+
activeOrTrialing: number;
|
|
13821
|
+
};
|
|
13822
|
+
coaches: {
|
|
13823
|
+
trialing: number;
|
|
13824
|
+
registrationOnly: number;
|
|
13825
|
+
subscriptions: number;
|
|
13826
|
+
activeSubscriptions: number;
|
|
13827
|
+
activeOrTrialing: number;
|
|
13828
|
+
};
|
|
13829
|
+
monthStart: string;
|
|
13830
|
+
}[];
|
|
13831
|
+
views: {
|
|
13832
|
+
monthly: {
|
|
13833
|
+
mode: "cumulative";
|
|
13834
|
+
window: {
|
|
13835
|
+
since: string;
|
|
13836
|
+
until: string;
|
|
13837
|
+
};
|
|
13838
|
+
interval: "month";
|
|
13839
|
+
totals: {
|
|
13840
|
+
families: {
|
|
13841
|
+
trialing: number;
|
|
13842
|
+
registrationOnly: number;
|
|
13843
|
+
subscriptions: number;
|
|
13844
|
+
activeSubscriptions: number;
|
|
13845
|
+
activeOrTrialing: number;
|
|
13846
|
+
};
|
|
13847
|
+
coaches: {
|
|
13848
|
+
trialing: number;
|
|
13849
|
+
registrationOnly: number;
|
|
13850
|
+
subscriptions: number;
|
|
13851
|
+
activeSubscriptions: number;
|
|
13852
|
+
activeOrTrialing: number;
|
|
13853
|
+
};
|
|
13854
|
+
};
|
|
13855
|
+
points: {
|
|
13856
|
+
families: {
|
|
13857
|
+
trialing: number;
|
|
13858
|
+
registrationOnly: number;
|
|
13859
|
+
subscriptions: number;
|
|
13860
|
+
activeSubscriptions: number;
|
|
13861
|
+
activeOrTrialing: number;
|
|
13862
|
+
};
|
|
13863
|
+
coaches: {
|
|
13864
|
+
trialing: number;
|
|
13865
|
+
registrationOnly: number;
|
|
13866
|
+
subscriptions: number;
|
|
13867
|
+
activeSubscriptions: number;
|
|
13868
|
+
activeOrTrialing: number;
|
|
13869
|
+
};
|
|
13870
|
+
periodStart: string;
|
|
13871
|
+
}[];
|
|
13872
|
+
};
|
|
13873
|
+
daily: {
|
|
13874
|
+
mode: "cumulative";
|
|
13875
|
+
window: {
|
|
13876
|
+
since: string;
|
|
13877
|
+
until: string;
|
|
13878
|
+
};
|
|
13879
|
+
interval: "day";
|
|
13880
|
+
totals: {
|
|
13881
|
+
families: {
|
|
13882
|
+
trialing: number;
|
|
13883
|
+
registrationOnly: number;
|
|
13884
|
+
subscriptions: number;
|
|
13885
|
+
activeSubscriptions: number;
|
|
13886
|
+
activeOrTrialing: number;
|
|
13887
|
+
};
|
|
13888
|
+
coaches: {
|
|
13889
|
+
trialing: number;
|
|
13890
|
+
registrationOnly: number;
|
|
13891
|
+
subscriptions: number;
|
|
13892
|
+
activeSubscriptions: number;
|
|
13893
|
+
activeOrTrialing: number;
|
|
13894
|
+
};
|
|
13895
|
+
};
|
|
13896
|
+
points: {
|
|
13897
|
+
families: {
|
|
13898
|
+
trialing: number;
|
|
13899
|
+
registrationOnly: number;
|
|
13900
|
+
subscriptions: number;
|
|
13901
|
+
activeSubscriptions: number;
|
|
13902
|
+
activeOrTrialing: number;
|
|
13903
|
+
};
|
|
13904
|
+
coaches: {
|
|
13905
|
+
trialing: number;
|
|
13906
|
+
registrationOnly: number;
|
|
13907
|
+
subscriptions: number;
|
|
13908
|
+
activeSubscriptions: number;
|
|
13909
|
+
activeOrTrialing: number;
|
|
13910
|
+
};
|
|
13911
|
+
periodStart: string;
|
|
13912
|
+
}[];
|
|
13913
|
+
};
|
|
13914
|
+
quarterly: {
|
|
13915
|
+
mode: "cumulative";
|
|
13916
|
+
window: {
|
|
13917
|
+
since: string;
|
|
13918
|
+
until: string;
|
|
13919
|
+
};
|
|
13920
|
+
interval: "quarter";
|
|
13921
|
+
totals: {
|
|
13922
|
+
families: {
|
|
13923
|
+
trialing: number;
|
|
13924
|
+
registrationOnly: number;
|
|
13925
|
+
subscriptions: number;
|
|
13926
|
+
activeSubscriptions: number;
|
|
13927
|
+
activeOrTrialing: number;
|
|
13928
|
+
};
|
|
13929
|
+
coaches: {
|
|
13930
|
+
trialing: number;
|
|
13931
|
+
registrationOnly: number;
|
|
13932
|
+
subscriptions: number;
|
|
13933
|
+
activeSubscriptions: number;
|
|
13934
|
+
activeOrTrialing: number;
|
|
13935
|
+
};
|
|
13936
|
+
};
|
|
13937
|
+
points: {
|
|
13938
|
+
families: {
|
|
13939
|
+
trialing: number;
|
|
13940
|
+
registrationOnly: number;
|
|
13941
|
+
subscriptions: number;
|
|
13942
|
+
activeSubscriptions: number;
|
|
13943
|
+
activeOrTrialing: number;
|
|
13944
|
+
};
|
|
13945
|
+
coaches: {
|
|
13946
|
+
trialing: number;
|
|
13947
|
+
registrationOnly: number;
|
|
13948
|
+
subscriptions: number;
|
|
13949
|
+
activeSubscriptions: number;
|
|
13950
|
+
activeOrTrialing: number;
|
|
13951
|
+
};
|
|
13952
|
+
periodStart: string;
|
|
13953
|
+
}[];
|
|
13954
|
+
};
|
|
13955
|
+
};
|
|
13956
|
+
};
|
|
11992
13957
|
revenue: {
|
|
11993
13958
|
currency: "GBP";
|
|
11994
13959
|
activeCoachMrrPence: number;
|
|
@@ -12241,8 +14206,8 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
|
|
|
12241
14206
|
} | undefined;
|
|
12242
14207
|
} | null;
|
|
12243
14208
|
premium: {
|
|
12244
|
-
active: boolean;
|
|
12245
14209
|
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
14210
|
+
active: boolean;
|
|
12246
14211
|
expiresAt?: string | null | undefined;
|
|
12247
14212
|
organizationId?: string | undefined;
|
|
12248
14213
|
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
@@ -12302,6 +14267,172 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
|
|
|
12302
14267
|
directSubscribedThenCoachLinkedRateBasisPoints: number | null;
|
|
12303
14268
|
};
|
|
12304
14269
|
};
|
|
14270
|
+
acquisition: {
|
|
14271
|
+
window: {
|
|
14272
|
+
since: string;
|
|
14273
|
+
until: string;
|
|
14274
|
+
};
|
|
14275
|
+
interval: "month";
|
|
14276
|
+
cohortBasis: "registrationMonth";
|
|
14277
|
+
totals: {
|
|
14278
|
+
families: {
|
|
14279
|
+
trialing: number;
|
|
14280
|
+
registrationOnly: number;
|
|
14281
|
+
subscriptions: number;
|
|
14282
|
+
activeSubscriptions: number;
|
|
14283
|
+
activeOrTrialing: number;
|
|
14284
|
+
};
|
|
14285
|
+
coaches: {
|
|
14286
|
+
trialing: number;
|
|
14287
|
+
registrationOnly: number;
|
|
14288
|
+
subscriptions: number;
|
|
14289
|
+
activeSubscriptions: number;
|
|
14290
|
+
activeOrTrialing: number;
|
|
14291
|
+
};
|
|
14292
|
+
};
|
|
14293
|
+
points: {
|
|
14294
|
+
families: {
|
|
14295
|
+
trialing: number;
|
|
14296
|
+
registrationOnly: number;
|
|
14297
|
+
subscriptions: number;
|
|
14298
|
+
activeSubscriptions: number;
|
|
14299
|
+
activeOrTrialing: number;
|
|
14300
|
+
};
|
|
14301
|
+
coaches: {
|
|
14302
|
+
trialing: number;
|
|
14303
|
+
registrationOnly: number;
|
|
14304
|
+
subscriptions: number;
|
|
14305
|
+
activeSubscriptions: number;
|
|
14306
|
+
activeOrTrialing: number;
|
|
14307
|
+
};
|
|
14308
|
+
monthStart: string;
|
|
14309
|
+
}[];
|
|
14310
|
+
views: {
|
|
14311
|
+
monthly: {
|
|
14312
|
+
mode: "cumulative";
|
|
14313
|
+
window: {
|
|
14314
|
+
since: string;
|
|
14315
|
+
until: string;
|
|
14316
|
+
};
|
|
14317
|
+
interval: "month";
|
|
14318
|
+
totals: {
|
|
14319
|
+
families: {
|
|
14320
|
+
trialing: number;
|
|
14321
|
+
registrationOnly: number;
|
|
14322
|
+
subscriptions: number;
|
|
14323
|
+
activeSubscriptions: number;
|
|
14324
|
+
activeOrTrialing: number;
|
|
14325
|
+
};
|
|
14326
|
+
coaches: {
|
|
14327
|
+
trialing: number;
|
|
14328
|
+
registrationOnly: number;
|
|
14329
|
+
subscriptions: number;
|
|
14330
|
+
activeSubscriptions: number;
|
|
14331
|
+
activeOrTrialing: number;
|
|
14332
|
+
};
|
|
14333
|
+
};
|
|
14334
|
+
points: {
|
|
14335
|
+
families: {
|
|
14336
|
+
trialing: number;
|
|
14337
|
+
registrationOnly: number;
|
|
14338
|
+
subscriptions: number;
|
|
14339
|
+
activeSubscriptions: number;
|
|
14340
|
+
activeOrTrialing: number;
|
|
14341
|
+
};
|
|
14342
|
+
coaches: {
|
|
14343
|
+
trialing: number;
|
|
14344
|
+
registrationOnly: number;
|
|
14345
|
+
subscriptions: number;
|
|
14346
|
+
activeSubscriptions: number;
|
|
14347
|
+
activeOrTrialing: number;
|
|
14348
|
+
};
|
|
14349
|
+
periodStart: string;
|
|
14350
|
+
}[];
|
|
14351
|
+
};
|
|
14352
|
+
daily: {
|
|
14353
|
+
mode: "cumulative";
|
|
14354
|
+
window: {
|
|
14355
|
+
since: string;
|
|
14356
|
+
until: string;
|
|
14357
|
+
};
|
|
14358
|
+
interval: "day";
|
|
14359
|
+
totals: {
|
|
14360
|
+
families: {
|
|
14361
|
+
trialing: number;
|
|
14362
|
+
registrationOnly: number;
|
|
14363
|
+
subscriptions: number;
|
|
14364
|
+
activeSubscriptions: number;
|
|
14365
|
+
activeOrTrialing: number;
|
|
14366
|
+
};
|
|
14367
|
+
coaches: {
|
|
14368
|
+
trialing: number;
|
|
14369
|
+
registrationOnly: number;
|
|
14370
|
+
subscriptions: number;
|
|
14371
|
+
activeSubscriptions: number;
|
|
14372
|
+
activeOrTrialing: number;
|
|
14373
|
+
};
|
|
14374
|
+
};
|
|
14375
|
+
points: {
|
|
14376
|
+
families: {
|
|
14377
|
+
trialing: number;
|
|
14378
|
+
registrationOnly: number;
|
|
14379
|
+
subscriptions: number;
|
|
14380
|
+
activeSubscriptions: number;
|
|
14381
|
+
activeOrTrialing: number;
|
|
14382
|
+
};
|
|
14383
|
+
coaches: {
|
|
14384
|
+
trialing: number;
|
|
14385
|
+
registrationOnly: number;
|
|
14386
|
+
subscriptions: number;
|
|
14387
|
+
activeSubscriptions: number;
|
|
14388
|
+
activeOrTrialing: number;
|
|
14389
|
+
};
|
|
14390
|
+
periodStart: string;
|
|
14391
|
+
}[];
|
|
14392
|
+
};
|
|
14393
|
+
quarterly: {
|
|
14394
|
+
mode: "cumulative";
|
|
14395
|
+
window: {
|
|
14396
|
+
since: string;
|
|
14397
|
+
until: string;
|
|
14398
|
+
};
|
|
14399
|
+
interval: "quarter";
|
|
14400
|
+
totals: {
|
|
14401
|
+
families: {
|
|
14402
|
+
trialing: number;
|
|
14403
|
+
registrationOnly: number;
|
|
14404
|
+
subscriptions: number;
|
|
14405
|
+
activeSubscriptions: number;
|
|
14406
|
+
activeOrTrialing: number;
|
|
14407
|
+
};
|
|
14408
|
+
coaches: {
|
|
14409
|
+
trialing: number;
|
|
14410
|
+
registrationOnly: number;
|
|
14411
|
+
subscriptions: number;
|
|
14412
|
+
activeSubscriptions: number;
|
|
14413
|
+
activeOrTrialing: number;
|
|
14414
|
+
};
|
|
14415
|
+
};
|
|
14416
|
+
points: {
|
|
14417
|
+
families: {
|
|
14418
|
+
trialing: number;
|
|
14419
|
+
registrationOnly: number;
|
|
14420
|
+
subscriptions: number;
|
|
14421
|
+
activeSubscriptions: number;
|
|
14422
|
+
activeOrTrialing: number;
|
|
14423
|
+
};
|
|
14424
|
+
coaches: {
|
|
14425
|
+
trialing: number;
|
|
14426
|
+
registrationOnly: number;
|
|
14427
|
+
subscriptions: number;
|
|
14428
|
+
activeSubscriptions: number;
|
|
14429
|
+
activeOrTrialing: number;
|
|
14430
|
+
};
|
|
14431
|
+
periodStart: string;
|
|
14432
|
+
}[];
|
|
14433
|
+
};
|
|
14434
|
+
};
|
|
14435
|
+
};
|
|
12305
14436
|
revenue: {
|
|
12306
14437
|
currency: "GBP";
|
|
12307
14438
|
activeCoachMrrPence: number;
|
|
@@ -13894,6 +16025,10 @@ export type AdminBillingDirectFamilySubscription = z.infer<typeof adminBillingDi
|
|
|
13894
16025
|
export type AdminBillingCoachRow = z.infer<typeof adminBillingCoachRowSchema>;
|
|
13895
16026
|
export type AdminBillingFamilyAccessCategory = z.infer<typeof adminBillingFamilyAccessCategorySchema>;
|
|
13896
16027
|
export type AdminBillingFamilyRow = z.infer<typeof adminBillingFamilyRowSchema>;
|
|
16028
|
+
export type AdminBillingAcquisitionRange = z.infer<typeof adminBillingAcquisitionRangeSchema>;
|
|
16029
|
+
export type AdminBillingAcquisitionInterval = z.infer<typeof adminBillingAcquisitionIntervalSchema>;
|
|
16030
|
+
export type AdminBillingAcquisitionQuery = z.infer<typeof adminBillingAcquisitionQuerySchema>;
|
|
16031
|
+
export type AdminBillingAcquisitionResponse = z.infer<typeof adminBillingAcquisitionResponseSchema>;
|
|
13897
16032
|
export type AdminBillingSummaryResponse = z.infer<typeof adminBillingSummaryResponseSchema>;
|
|
13898
16033
|
export type AdminStripeSummaryQuery = z.infer<typeof adminStripeSummaryQuerySchema>;
|
|
13899
16034
|
export type AdminStripeOwnerKey = z.infer<typeof adminStripeOwnerKeySchema>;
|