@nikthegeek/dreamsforlittles-shared 0.1.2 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +821 -169
- package/dist/admin.js +33 -2
- package/dist/admin.js.map +1 -1
- package/dist/analysis.d.ts +12 -12
- package/dist/api.d.ts +5 -5
- package/dist/app-runtime-users.d.ts +464 -0
- package/dist/app-runtime-users.js +64 -0
- package/dist/app-runtime-users.js.map +1 -0
- package/dist/auth.d.ts +20 -2
- package/dist/auth.js +7 -2
- package/dist/auth.js.map +1 -1
- package/dist/client-notices.d.ts +585 -585
- 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 +610 -0
- package/dist/coach-activity-notifications.js +179 -0
- package/dist/coach-activity-notifications.js.map +1 -0
- package/dist/coach-family-chat.d.ts +1658 -0
- package/dist/coach-family-chat.js +342 -0
- package/dist/coach-family-chat.js.map +1 -0
- package/dist/coach-family-chat.test.d.ts +1 -0
- package/dist/coach-family-chat.test.js +129 -0
- package/dist/coach-family-chat.test.js.map +1 -0
- package/dist/coach-growth.d.ts +706 -0
- package/dist/coach-growth.js +191 -0
- package/dist/coach-growth.js.map +1 -0
- package/dist/coach-growth.test.d.ts +1 -0
- package/dist/coach-growth.test.js +109 -0
- package/dist/coach-growth.test.js.map +1 -0
- package/dist/coach-private-notes.d.ts +169 -0
- package/dist/coach-private-notes.js +28 -0
- package/dist/coach-private-notes.js.map +1 -0
- package/dist/coach.d.ts +395 -374
- package/dist/coach.js +6 -1
- package/dist/coach.js.map +1 -1
- package/dist/enums.d.ts +1 -1
- package/dist/enums.js +14 -1
- package/dist/enums.js.map +1 -1
- package/dist/errors.d.ts +18 -4
- package/dist/errors.js +42 -0
- package/dist/errors.js.map +1 -1
- package/dist/family-invitations.d.ts +2 -2
- package/dist/family-profile-artifacts.d.ts +43 -31
- package/dist/family-profile-artifacts.js +4 -1
- package/dist/family-profile-artifacts.js.map +1 -1
- package/dist/family.d.ts +3152 -1499
- package/dist/family.js +30 -1
- 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 +8 -0
- package/dist/index.js +8 -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 +28 -28
- package/dist/product-analytics.d.ts +181 -181
- 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 +28 -28
- 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;
|
|
@@ -8142,6 +8166,83 @@ export declare const adminAuditEventsResponseSchema: z.ZodObject<{
|
|
|
8142
8166
|
metadata?: Record<string, unknown> | undefined;
|
|
8143
8167
|
}[];
|
|
8144
8168
|
}>;
|
|
8169
|
+
export declare const adminBillingCoachIntroductoryOfferSchema: z.ZodObject<{
|
|
8170
|
+
campaignId: z.ZodString;
|
|
8171
|
+
mode: z.ZodEnum<["live", "sandbox"]>;
|
|
8172
|
+
status: z.ZodEnum<["active", "ended", "refunded"]>;
|
|
8173
|
+
amountMinor: z.ZodNumber;
|
|
8174
|
+
currency: z.ZodString;
|
|
8175
|
+
paidAt: z.ZodString;
|
|
8176
|
+
endsAt: z.ZodNullable<z.ZodString>;
|
|
8177
|
+
willRenew: z.ZodBoolean;
|
|
8178
|
+
renewal: z.ZodObject<{
|
|
8179
|
+
cadence: z.ZodEnum<["monthly", "sixMonthly", "yearly"]>;
|
|
8180
|
+
amountMinor: z.ZodNumber;
|
|
8181
|
+
currency: z.ZodString;
|
|
8182
|
+
interval: z.ZodObject<{
|
|
8183
|
+
unit: z.ZodEnum<["month", "year"]>;
|
|
8184
|
+
count: z.ZodNumber;
|
|
8185
|
+
}, "strip", z.ZodTypeAny, {
|
|
8186
|
+
unit: "month" | "year";
|
|
8187
|
+
count: number;
|
|
8188
|
+
}, {
|
|
8189
|
+
unit: "month" | "year";
|
|
8190
|
+
count: number;
|
|
8191
|
+
}>;
|
|
8192
|
+
}, "strip", z.ZodTypeAny, {
|
|
8193
|
+
cadence: "monthly" | "sixMonthly" | "yearly";
|
|
8194
|
+
amountMinor: number;
|
|
8195
|
+
currency: string;
|
|
8196
|
+
interval: {
|
|
8197
|
+
unit: "month" | "year";
|
|
8198
|
+
count: number;
|
|
8199
|
+
};
|
|
8200
|
+
}, {
|
|
8201
|
+
cadence: "monthly" | "sixMonthly" | "yearly";
|
|
8202
|
+
amountMinor: number;
|
|
8203
|
+
currency: string;
|
|
8204
|
+
interval: {
|
|
8205
|
+
unit: "month" | "year";
|
|
8206
|
+
count: number;
|
|
8207
|
+
};
|
|
8208
|
+
}>;
|
|
8209
|
+
}, "strip", z.ZodTypeAny, {
|
|
8210
|
+
status: "active" | "ended" | "refunded";
|
|
8211
|
+
mode: "live" | "sandbox";
|
|
8212
|
+
endsAt: string | null;
|
|
8213
|
+
campaignId: string;
|
|
8214
|
+
amountMinor: number;
|
|
8215
|
+
currency: string;
|
|
8216
|
+
paidAt: string;
|
|
8217
|
+
willRenew: boolean;
|
|
8218
|
+
renewal: {
|
|
8219
|
+
cadence: "monthly" | "sixMonthly" | "yearly";
|
|
8220
|
+
amountMinor: number;
|
|
8221
|
+
currency: string;
|
|
8222
|
+
interval: {
|
|
8223
|
+
unit: "month" | "year";
|
|
8224
|
+
count: number;
|
|
8225
|
+
};
|
|
8226
|
+
};
|
|
8227
|
+
}, {
|
|
8228
|
+
status: "active" | "ended" | "refunded";
|
|
8229
|
+
mode: "live" | "sandbox";
|
|
8230
|
+
endsAt: string | null;
|
|
8231
|
+
campaignId: string;
|
|
8232
|
+
amountMinor: number;
|
|
8233
|
+
currency: string;
|
|
8234
|
+
paidAt: string;
|
|
8235
|
+
willRenew: boolean;
|
|
8236
|
+
renewal: {
|
|
8237
|
+
cadence: "monthly" | "sixMonthly" | "yearly";
|
|
8238
|
+
amountMinor: number;
|
|
8239
|
+
currency: string;
|
|
8240
|
+
interval: {
|
|
8241
|
+
unit: "month" | "year";
|
|
8242
|
+
count: number;
|
|
8243
|
+
};
|
|
8244
|
+
};
|
|
8245
|
+
}>;
|
|
8145
8246
|
export declare const adminBillingCoachSubscriptionSchema: z.ZodObject<{
|
|
8146
8247
|
id: z.ZodString;
|
|
8147
8248
|
provider: z.ZodEnum<["manual", "stripe"]>;
|
|
@@ -8161,6 +8262,83 @@ export declare const adminBillingCoachSubscriptionSchema: z.ZodObject<{
|
|
|
8161
8262
|
cadence: z.ZodOptional<z.ZodNullable<z.ZodEnum<["monthly", "sixMonthly", "yearly"]>>>;
|
|
8162
8263
|
updatedAt: z.ZodString;
|
|
8163
8264
|
estimatedMrrPence: z.ZodNullable<z.ZodNumber>;
|
|
8265
|
+
introductoryOffer: z.ZodNullable<z.ZodObject<{
|
|
8266
|
+
campaignId: z.ZodString;
|
|
8267
|
+
mode: z.ZodEnum<["live", "sandbox"]>;
|
|
8268
|
+
status: z.ZodEnum<["active", "ended", "refunded"]>;
|
|
8269
|
+
amountMinor: z.ZodNumber;
|
|
8270
|
+
currency: z.ZodString;
|
|
8271
|
+
paidAt: z.ZodString;
|
|
8272
|
+
endsAt: z.ZodNullable<z.ZodString>;
|
|
8273
|
+
willRenew: z.ZodBoolean;
|
|
8274
|
+
renewal: z.ZodObject<{
|
|
8275
|
+
cadence: z.ZodEnum<["monthly", "sixMonthly", "yearly"]>;
|
|
8276
|
+
amountMinor: z.ZodNumber;
|
|
8277
|
+
currency: z.ZodString;
|
|
8278
|
+
interval: z.ZodObject<{
|
|
8279
|
+
unit: z.ZodEnum<["month", "year"]>;
|
|
8280
|
+
count: z.ZodNumber;
|
|
8281
|
+
}, "strip", z.ZodTypeAny, {
|
|
8282
|
+
unit: "month" | "year";
|
|
8283
|
+
count: number;
|
|
8284
|
+
}, {
|
|
8285
|
+
unit: "month" | "year";
|
|
8286
|
+
count: number;
|
|
8287
|
+
}>;
|
|
8288
|
+
}, "strip", z.ZodTypeAny, {
|
|
8289
|
+
cadence: "monthly" | "sixMonthly" | "yearly";
|
|
8290
|
+
amountMinor: number;
|
|
8291
|
+
currency: string;
|
|
8292
|
+
interval: {
|
|
8293
|
+
unit: "month" | "year";
|
|
8294
|
+
count: number;
|
|
8295
|
+
};
|
|
8296
|
+
}, {
|
|
8297
|
+
cadence: "monthly" | "sixMonthly" | "yearly";
|
|
8298
|
+
amountMinor: number;
|
|
8299
|
+
currency: string;
|
|
8300
|
+
interval: {
|
|
8301
|
+
unit: "month" | "year";
|
|
8302
|
+
count: number;
|
|
8303
|
+
};
|
|
8304
|
+
}>;
|
|
8305
|
+
}, "strip", z.ZodTypeAny, {
|
|
8306
|
+
status: "active" | "ended" | "refunded";
|
|
8307
|
+
mode: "live" | "sandbox";
|
|
8308
|
+
endsAt: string | null;
|
|
8309
|
+
campaignId: string;
|
|
8310
|
+
amountMinor: number;
|
|
8311
|
+
currency: string;
|
|
8312
|
+
paidAt: string;
|
|
8313
|
+
willRenew: boolean;
|
|
8314
|
+
renewal: {
|
|
8315
|
+
cadence: "monthly" | "sixMonthly" | "yearly";
|
|
8316
|
+
amountMinor: number;
|
|
8317
|
+
currency: string;
|
|
8318
|
+
interval: {
|
|
8319
|
+
unit: "month" | "year";
|
|
8320
|
+
count: number;
|
|
8321
|
+
};
|
|
8322
|
+
};
|
|
8323
|
+
}, {
|
|
8324
|
+
status: "active" | "ended" | "refunded";
|
|
8325
|
+
mode: "live" | "sandbox";
|
|
8326
|
+
endsAt: string | null;
|
|
8327
|
+
campaignId: string;
|
|
8328
|
+
amountMinor: number;
|
|
8329
|
+
currency: string;
|
|
8330
|
+
paidAt: string;
|
|
8331
|
+
willRenew: boolean;
|
|
8332
|
+
renewal: {
|
|
8333
|
+
cadence: "monthly" | "sixMonthly" | "yearly";
|
|
8334
|
+
amountMinor: number;
|
|
8335
|
+
currency: string;
|
|
8336
|
+
interval: {
|
|
8337
|
+
unit: "month" | "year";
|
|
8338
|
+
count: number;
|
|
8339
|
+
};
|
|
8340
|
+
};
|
|
8341
|
+
}>>;
|
|
8164
8342
|
}, "strip", z.ZodTypeAny, {
|
|
8165
8343
|
status: "active" | "trialing" | "pastDue" | "suspended" | "canceled";
|
|
8166
8344
|
id: string;
|
|
@@ -8168,6 +8346,25 @@ export declare const adminBillingCoachSubscriptionSchema: z.ZodObject<{
|
|
|
8168
8346
|
maxFamilies: number;
|
|
8169
8347
|
provider: "manual" | "stripe";
|
|
8170
8348
|
estimatedMrrPence: number | null;
|
|
8349
|
+
introductoryOffer: {
|
|
8350
|
+
status: "active" | "ended" | "refunded";
|
|
8351
|
+
mode: "live" | "sandbox";
|
|
8352
|
+
endsAt: string | null;
|
|
8353
|
+
campaignId: string;
|
|
8354
|
+
amountMinor: number;
|
|
8355
|
+
currency: string;
|
|
8356
|
+
paidAt: string;
|
|
8357
|
+
willRenew: boolean;
|
|
8358
|
+
renewal: {
|
|
8359
|
+
cadence: "monthly" | "sixMonthly" | "yearly";
|
|
8360
|
+
amountMinor: number;
|
|
8361
|
+
currency: string;
|
|
8362
|
+
interval: {
|
|
8363
|
+
unit: "month" | "year";
|
|
8364
|
+
count: number;
|
|
8365
|
+
};
|
|
8366
|
+
};
|
|
8367
|
+
} | null;
|
|
8171
8368
|
cadence?: "monthly" | "sixMonthly" | "yearly" | null | undefined;
|
|
8172
8369
|
stripeCustomerId?: string | null | undefined;
|
|
8173
8370
|
stripeSubscriptionId?: string | null | undefined;
|
|
@@ -8179,7 +8376,7 @@ export declare const adminBillingCoachSubscriptionSchema: z.ZodObject<{
|
|
|
8179
8376
|
planId?: string | null | undefined;
|
|
8180
8377
|
storeProductId?: string | null | undefined;
|
|
8181
8378
|
storeEnvironment?: "unknown" | "sandbox" | "production" | null | undefined;
|
|
8182
|
-
stripeMode?: "
|
|
8379
|
+
stripeMode?: "live" | "sandbox" | null | undefined;
|
|
8183
8380
|
}, {
|
|
8184
8381
|
status: "active" | "trialing" | "pastDue" | "suspended" | "canceled";
|
|
8185
8382
|
id: string;
|
|
@@ -8187,6 +8384,25 @@ export declare const adminBillingCoachSubscriptionSchema: z.ZodObject<{
|
|
|
8187
8384
|
maxFamilies: number;
|
|
8188
8385
|
provider: "manual" | "stripe";
|
|
8189
8386
|
estimatedMrrPence: number | null;
|
|
8387
|
+
introductoryOffer: {
|
|
8388
|
+
status: "active" | "ended" | "refunded";
|
|
8389
|
+
mode: "live" | "sandbox";
|
|
8390
|
+
endsAt: string | null;
|
|
8391
|
+
campaignId: string;
|
|
8392
|
+
amountMinor: number;
|
|
8393
|
+
currency: string;
|
|
8394
|
+
paidAt: string;
|
|
8395
|
+
willRenew: boolean;
|
|
8396
|
+
renewal: {
|
|
8397
|
+
cadence: "monthly" | "sixMonthly" | "yearly";
|
|
8398
|
+
amountMinor: number;
|
|
8399
|
+
currency: string;
|
|
8400
|
+
interval: {
|
|
8401
|
+
unit: "month" | "year";
|
|
8402
|
+
count: number;
|
|
8403
|
+
};
|
|
8404
|
+
};
|
|
8405
|
+
} | null;
|
|
8190
8406
|
cadence?: "monthly" | "sixMonthly" | "yearly" | null | undefined;
|
|
8191
8407
|
stripeCustomerId?: string | null | undefined;
|
|
8192
8408
|
stripeSubscriptionId?: string | null | undefined;
|
|
@@ -8198,7 +8414,7 @@ export declare const adminBillingCoachSubscriptionSchema: z.ZodObject<{
|
|
|
8198
8414
|
planId?: string | null | undefined;
|
|
8199
8415
|
storeProductId?: string | null | undefined;
|
|
8200
8416
|
storeEnvironment?: "unknown" | "sandbox" | "production" | null | undefined;
|
|
8201
|
-
stripeMode?: "
|
|
8417
|
+
stripeMode?: "live" | "sandbox" | null | undefined;
|
|
8202
8418
|
}>;
|
|
8203
8419
|
export declare const adminBillingDirectFamilySubscriptionSchema: z.ZodObject<{
|
|
8204
8420
|
id: z.ZodString;
|
|
@@ -8499,6 +8715,83 @@ export declare const adminBillingCoachRowSchema: z.ZodObject<{
|
|
|
8499
8715
|
cadence: z.ZodOptional<z.ZodNullable<z.ZodEnum<["monthly", "sixMonthly", "yearly"]>>>;
|
|
8500
8716
|
updatedAt: z.ZodString;
|
|
8501
8717
|
estimatedMrrPence: z.ZodNullable<z.ZodNumber>;
|
|
8718
|
+
introductoryOffer: z.ZodNullable<z.ZodObject<{
|
|
8719
|
+
campaignId: z.ZodString;
|
|
8720
|
+
mode: z.ZodEnum<["live", "sandbox"]>;
|
|
8721
|
+
status: z.ZodEnum<["active", "ended", "refunded"]>;
|
|
8722
|
+
amountMinor: z.ZodNumber;
|
|
8723
|
+
currency: z.ZodString;
|
|
8724
|
+
paidAt: z.ZodString;
|
|
8725
|
+
endsAt: z.ZodNullable<z.ZodString>;
|
|
8726
|
+
willRenew: z.ZodBoolean;
|
|
8727
|
+
renewal: z.ZodObject<{
|
|
8728
|
+
cadence: z.ZodEnum<["monthly", "sixMonthly", "yearly"]>;
|
|
8729
|
+
amountMinor: z.ZodNumber;
|
|
8730
|
+
currency: z.ZodString;
|
|
8731
|
+
interval: z.ZodObject<{
|
|
8732
|
+
unit: z.ZodEnum<["month", "year"]>;
|
|
8733
|
+
count: z.ZodNumber;
|
|
8734
|
+
}, "strip", z.ZodTypeAny, {
|
|
8735
|
+
unit: "month" | "year";
|
|
8736
|
+
count: number;
|
|
8737
|
+
}, {
|
|
8738
|
+
unit: "month" | "year";
|
|
8739
|
+
count: number;
|
|
8740
|
+
}>;
|
|
8741
|
+
}, "strip", z.ZodTypeAny, {
|
|
8742
|
+
cadence: "monthly" | "sixMonthly" | "yearly";
|
|
8743
|
+
amountMinor: number;
|
|
8744
|
+
currency: string;
|
|
8745
|
+
interval: {
|
|
8746
|
+
unit: "month" | "year";
|
|
8747
|
+
count: number;
|
|
8748
|
+
};
|
|
8749
|
+
}, {
|
|
8750
|
+
cadence: "monthly" | "sixMonthly" | "yearly";
|
|
8751
|
+
amountMinor: number;
|
|
8752
|
+
currency: string;
|
|
8753
|
+
interval: {
|
|
8754
|
+
unit: "month" | "year";
|
|
8755
|
+
count: number;
|
|
8756
|
+
};
|
|
8757
|
+
}>;
|
|
8758
|
+
}, "strip", z.ZodTypeAny, {
|
|
8759
|
+
status: "active" | "ended" | "refunded";
|
|
8760
|
+
mode: "live" | "sandbox";
|
|
8761
|
+
endsAt: string | null;
|
|
8762
|
+
campaignId: string;
|
|
8763
|
+
amountMinor: number;
|
|
8764
|
+
currency: string;
|
|
8765
|
+
paidAt: string;
|
|
8766
|
+
willRenew: boolean;
|
|
8767
|
+
renewal: {
|
|
8768
|
+
cadence: "monthly" | "sixMonthly" | "yearly";
|
|
8769
|
+
amountMinor: number;
|
|
8770
|
+
currency: string;
|
|
8771
|
+
interval: {
|
|
8772
|
+
unit: "month" | "year";
|
|
8773
|
+
count: number;
|
|
8774
|
+
};
|
|
8775
|
+
};
|
|
8776
|
+
}, {
|
|
8777
|
+
status: "active" | "ended" | "refunded";
|
|
8778
|
+
mode: "live" | "sandbox";
|
|
8779
|
+
endsAt: string | null;
|
|
8780
|
+
campaignId: string;
|
|
8781
|
+
amountMinor: number;
|
|
8782
|
+
currency: string;
|
|
8783
|
+
paidAt: string;
|
|
8784
|
+
willRenew: boolean;
|
|
8785
|
+
renewal: {
|
|
8786
|
+
cadence: "monthly" | "sixMonthly" | "yearly";
|
|
8787
|
+
amountMinor: number;
|
|
8788
|
+
currency: string;
|
|
8789
|
+
interval: {
|
|
8790
|
+
unit: "month" | "year";
|
|
8791
|
+
count: number;
|
|
8792
|
+
};
|
|
8793
|
+
};
|
|
8794
|
+
}>>;
|
|
8502
8795
|
}, "strip", z.ZodTypeAny, {
|
|
8503
8796
|
status: "active" | "trialing" | "pastDue" | "suspended" | "canceled";
|
|
8504
8797
|
id: string;
|
|
@@ -8506,6 +8799,25 @@ export declare const adminBillingCoachRowSchema: z.ZodObject<{
|
|
|
8506
8799
|
maxFamilies: number;
|
|
8507
8800
|
provider: "manual" | "stripe";
|
|
8508
8801
|
estimatedMrrPence: number | null;
|
|
8802
|
+
introductoryOffer: {
|
|
8803
|
+
status: "active" | "ended" | "refunded";
|
|
8804
|
+
mode: "live" | "sandbox";
|
|
8805
|
+
endsAt: string | null;
|
|
8806
|
+
campaignId: string;
|
|
8807
|
+
amountMinor: number;
|
|
8808
|
+
currency: string;
|
|
8809
|
+
paidAt: string;
|
|
8810
|
+
willRenew: boolean;
|
|
8811
|
+
renewal: {
|
|
8812
|
+
cadence: "monthly" | "sixMonthly" | "yearly";
|
|
8813
|
+
amountMinor: number;
|
|
8814
|
+
currency: string;
|
|
8815
|
+
interval: {
|
|
8816
|
+
unit: "month" | "year";
|
|
8817
|
+
count: number;
|
|
8818
|
+
};
|
|
8819
|
+
};
|
|
8820
|
+
} | null;
|
|
8509
8821
|
cadence?: "monthly" | "sixMonthly" | "yearly" | null | undefined;
|
|
8510
8822
|
stripeCustomerId?: string | null | undefined;
|
|
8511
8823
|
stripeSubscriptionId?: string | null | undefined;
|
|
@@ -8517,7 +8829,7 @@ export declare const adminBillingCoachRowSchema: z.ZodObject<{
|
|
|
8517
8829
|
planId?: string | null | undefined;
|
|
8518
8830
|
storeProductId?: string | null | undefined;
|
|
8519
8831
|
storeEnvironment?: "unknown" | "sandbox" | "production" | null | undefined;
|
|
8520
|
-
stripeMode?: "
|
|
8832
|
+
stripeMode?: "live" | "sandbox" | null | undefined;
|
|
8521
8833
|
}, {
|
|
8522
8834
|
status: "active" | "trialing" | "pastDue" | "suspended" | "canceled";
|
|
8523
8835
|
id: string;
|
|
@@ -8525,6 +8837,25 @@ export declare const adminBillingCoachRowSchema: z.ZodObject<{
|
|
|
8525
8837
|
maxFamilies: number;
|
|
8526
8838
|
provider: "manual" | "stripe";
|
|
8527
8839
|
estimatedMrrPence: number | null;
|
|
8840
|
+
introductoryOffer: {
|
|
8841
|
+
status: "active" | "ended" | "refunded";
|
|
8842
|
+
mode: "live" | "sandbox";
|
|
8843
|
+
endsAt: string | null;
|
|
8844
|
+
campaignId: string;
|
|
8845
|
+
amountMinor: number;
|
|
8846
|
+
currency: string;
|
|
8847
|
+
paidAt: string;
|
|
8848
|
+
willRenew: boolean;
|
|
8849
|
+
renewal: {
|
|
8850
|
+
cadence: "monthly" | "sixMonthly" | "yearly";
|
|
8851
|
+
amountMinor: number;
|
|
8852
|
+
currency: string;
|
|
8853
|
+
interval: {
|
|
8854
|
+
unit: "month" | "year";
|
|
8855
|
+
count: number;
|
|
8856
|
+
};
|
|
8857
|
+
};
|
|
8858
|
+
} | null;
|
|
8528
8859
|
cadence?: "monthly" | "sixMonthly" | "yearly" | null | undefined;
|
|
8529
8860
|
stripeCustomerId?: string | null | undefined;
|
|
8530
8861
|
stripeSubscriptionId?: string | null | undefined;
|
|
@@ -8536,7 +8867,7 @@ export declare const adminBillingCoachRowSchema: z.ZodObject<{
|
|
|
8536
8867
|
planId?: string | null | undefined;
|
|
8537
8868
|
storeProductId?: string | null | undefined;
|
|
8538
8869
|
storeEnvironment?: "unknown" | "sandbox" | "production" | null | undefined;
|
|
8539
|
-
stripeMode?: "
|
|
8870
|
+
stripeMode?: "live" | "sandbox" | null | undefined;
|
|
8540
8871
|
}>;
|
|
8541
8872
|
activeFamilyCount: z.ZodNumber;
|
|
8542
8873
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -8598,6 +8929,25 @@ export declare const adminBillingCoachRowSchema: z.ZodObject<{
|
|
|
8598
8929
|
maxFamilies: number;
|
|
8599
8930
|
provider: "manual" | "stripe";
|
|
8600
8931
|
estimatedMrrPence: number | null;
|
|
8932
|
+
introductoryOffer: {
|
|
8933
|
+
status: "active" | "ended" | "refunded";
|
|
8934
|
+
mode: "live" | "sandbox";
|
|
8935
|
+
endsAt: string | null;
|
|
8936
|
+
campaignId: string;
|
|
8937
|
+
amountMinor: number;
|
|
8938
|
+
currency: string;
|
|
8939
|
+
paidAt: string;
|
|
8940
|
+
willRenew: boolean;
|
|
8941
|
+
renewal: {
|
|
8942
|
+
cadence: "monthly" | "sixMonthly" | "yearly";
|
|
8943
|
+
amountMinor: number;
|
|
8944
|
+
currency: string;
|
|
8945
|
+
interval: {
|
|
8946
|
+
unit: "month" | "year";
|
|
8947
|
+
count: number;
|
|
8948
|
+
};
|
|
8949
|
+
};
|
|
8950
|
+
} | null;
|
|
8601
8951
|
cadence?: "monthly" | "sixMonthly" | "yearly" | null | undefined;
|
|
8602
8952
|
stripeCustomerId?: string | null | undefined;
|
|
8603
8953
|
stripeSubscriptionId?: string | null | undefined;
|
|
@@ -8609,7 +8959,7 @@ export declare const adminBillingCoachRowSchema: z.ZodObject<{
|
|
|
8609
8959
|
planId?: string | null | undefined;
|
|
8610
8960
|
storeProductId?: string | null | undefined;
|
|
8611
8961
|
storeEnvironment?: "unknown" | "sandbox" | "production" | null | undefined;
|
|
8612
|
-
stripeMode?: "
|
|
8962
|
+
stripeMode?: "live" | "sandbox" | null | undefined;
|
|
8613
8963
|
};
|
|
8614
8964
|
}, {
|
|
8615
8965
|
coach: {
|
|
@@ -8670,6 +9020,25 @@ export declare const adminBillingCoachRowSchema: z.ZodObject<{
|
|
|
8670
9020
|
maxFamilies: number;
|
|
8671
9021
|
provider: "manual" | "stripe";
|
|
8672
9022
|
estimatedMrrPence: number | null;
|
|
9023
|
+
introductoryOffer: {
|
|
9024
|
+
status: "active" | "ended" | "refunded";
|
|
9025
|
+
mode: "live" | "sandbox";
|
|
9026
|
+
endsAt: string | null;
|
|
9027
|
+
campaignId: string;
|
|
9028
|
+
amountMinor: number;
|
|
9029
|
+
currency: string;
|
|
9030
|
+
paidAt: string;
|
|
9031
|
+
willRenew: boolean;
|
|
9032
|
+
renewal: {
|
|
9033
|
+
cadence: "monthly" | "sixMonthly" | "yearly";
|
|
9034
|
+
amountMinor: number;
|
|
9035
|
+
currency: string;
|
|
9036
|
+
interval: {
|
|
9037
|
+
unit: "month" | "year";
|
|
9038
|
+
count: number;
|
|
9039
|
+
};
|
|
9040
|
+
};
|
|
9041
|
+
} | null;
|
|
8673
9042
|
cadence?: "monthly" | "sixMonthly" | "yearly" | null | undefined;
|
|
8674
9043
|
stripeCustomerId?: string | null | undefined;
|
|
8675
9044
|
stripeSubscriptionId?: string | null | undefined;
|
|
@@ -8681,7 +9050,7 @@ export declare const adminBillingCoachRowSchema: z.ZodObject<{
|
|
|
8681
9050
|
planId?: string | null | undefined;
|
|
8682
9051
|
storeProductId?: string | null | undefined;
|
|
8683
9052
|
storeEnvironment?: "unknown" | "sandbox" | "production" | null | undefined;
|
|
8684
|
-
stripeMode?: "
|
|
9053
|
+
stripeMode?: "live" | "sandbox" | null | undefined;
|
|
8685
9054
|
};
|
|
8686
9055
|
}>;
|
|
8687
9056
|
export declare const adminBillingFamilyAccessCategorySchema: z.ZodEnum<["coachLinked", "directSubscription", "coachLinkedAndDirect", "free"]>;
|
|
@@ -9043,8 +9412,8 @@ export declare const adminBillingFamilyRowSchema: z.ZodObject<{
|
|
|
9043
9412
|
premiumGraceActive: z.ZodOptional<z.ZodBoolean>;
|
|
9044
9413
|
disabledReason: z.ZodEnum<["none", "notStarted", "expired", "revoked", "billingInactive", "suspendedOrganization", "noEntitlement"]>;
|
|
9045
9414
|
}, "strip", z.ZodTypeAny, {
|
|
9046
|
-
active: boolean;
|
|
9047
9415
|
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
9416
|
+
active: boolean;
|
|
9048
9417
|
expiresAt?: string | null | undefined;
|
|
9049
9418
|
organizationId?: string | undefined;
|
|
9050
9419
|
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
@@ -9055,8 +9424,8 @@ export declare const adminBillingFamilyRowSchema: z.ZodObject<{
|
|
|
9055
9424
|
premiumGraceDaysRemaining?: number | undefined;
|
|
9056
9425
|
premiumGraceActive?: boolean | undefined;
|
|
9057
9426
|
}, {
|
|
9058
|
-
active: boolean;
|
|
9059
9427
|
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
9428
|
+
active: boolean;
|
|
9060
9429
|
expiresAt?: string | null | undefined;
|
|
9061
9430
|
organizationId?: string | undefined;
|
|
9062
9431
|
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
@@ -9220,8 +9589,8 @@ export declare const adminBillingFamilyRowSchema: z.ZodObject<{
|
|
|
9220
9589
|
} | undefined;
|
|
9221
9590
|
} | null;
|
|
9222
9591
|
premium: {
|
|
9223
|
-
active: boolean;
|
|
9224
9592
|
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
9593
|
+
active: boolean;
|
|
9225
9594
|
expiresAt?: string | null | undefined;
|
|
9226
9595
|
organizationId?: string | undefined;
|
|
9227
9596
|
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
@@ -9336,8 +9705,8 @@ export declare const adminBillingFamilyRowSchema: z.ZodObject<{
|
|
|
9336
9705
|
} | undefined;
|
|
9337
9706
|
} | null;
|
|
9338
9707
|
premium: {
|
|
9339
|
-
active: boolean;
|
|
9340
9708
|
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
9709
|
+
active: boolean;
|
|
9341
9710
|
expiresAt?: string | null | undefined;
|
|
9342
9711
|
organizationId?: string | undefined;
|
|
9343
9712
|
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
@@ -9497,6 +9866,28 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
|
|
|
9497
9866
|
manual: number;
|
|
9498
9867
|
stripe: number;
|
|
9499
9868
|
}>;
|
|
9869
|
+
introductoryOffers: z.ZodObject<{
|
|
9870
|
+
active: z.ZodNumber;
|
|
9871
|
+
ended: z.ZodNumber;
|
|
9872
|
+
refunded: z.ZodNumber;
|
|
9873
|
+
totalRedeemed: z.ZodNumber;
|
|
9874
|
+
recordedGrossPence: z.ZodNumber;
|
|
9875
|
+
activeProjectedMrrPence: z.ZodNumber;
|
|
9876
|
+
}, "strip", z.ZodTypeAny, {
|
|
9877
|
+
active: number;
|
|
9878
|
+
ended: number;
|
|
9879
|
+
refunded: number;
|
|
9880
|
+
totalRedeemed: number;
|
|
9881
|
+
recordedGrossPence: number;
|
|
9882
|
+
activeProjectedMrrPence: number;
|
|
9883
|
+
}, {
|
|
9884
|
+
active: number;
|
|
9885
|
+
ended: number;
|
|
9886
|
+
refunded: number;
|
|
9887
|
+
totalRedeemed: number;
|
|
9888
|
+
recordedGrossPence: number;
|
|
9889
|
+
activeProjectedMrrPence: number;
|
|
9890
|
+
}>;
|
|
9500
9891
|
rows: z.ZodArray<z.ZodObject<{
|
|
9501
9892
|
coach: z.ZodObject<{
|
|
9502
9893
|
id: z.ZodString;
|
|
@@ -9747,6 +10138,83 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
|
|
|
9747
10138
|
cadence: z.ZodOptional<z.ZodNullable<z.ZodEnum<["monthly", "sixMonthly", "yearly"]>>>;
|
|
9748
10139
|
updatedAt: z.ZodString;
|
|
9749
10140
|
estimatedMrrPence: z.ZodNullable<z.ZodNumber>;
|
|
10141
|
+
introductoryOffer: z.ZodNullable<z.ZodObject<{
|
|
10142
|
+
campaignId: z.ZodString;
|
|
10143
|
+
mode: z.ZodEnum<["live", "sandbox"]>;
|
|
10144
|
+
status: z.ZodEnum<["active", "ended", "refunded"]>;
|
|
10145
|
+
amountMinor: z.ZodNumber;
|
|
10146
|
+
currency: z.ZodString;
|
|
10147
|
+
paidAt: z.ZodString;
|
|
10148
|
+
endsAt: z.ZodNullable<z.ZodString>;
|
|
10149
|
+
willRenew: z.ZodBoolean;
|
|
10150
|
+
renewal: z.ZodObject<{
|
|
10151
|
+
cadence: z.ZodEnum<["monthly", "sixMonthly", "yearly"]>;
|
|
10152
|
+
amountMinor: z.ZodNumber;
|
|
10153
|
+
currency: z.ZodString;
|
|
10154
|
+
interval: z.ZodObject<{
|
|
10155
|
+
unit: z.ZodEnum<["month", "year"]>;
|
|
10156
|
+
count: z.ZodNumber;
|
|
10157
|
+
}, "strip", z.ZodTypeAny, {
|
|
10158
|
+
unit: "month" | "year";
|
|
10159
|
+
count: number;
|
|
10160
|
+
}, {
|
|
10161
|
+
unit: "month" | "year";
|
|
10162
|
+
count: number;
|
|
10163
|
+
}>;
|
|
10164
|
+
}, "strip", z.ZodTypeAny, {
|
|
10165
|
+
cadence: "monthly" | "sixMonthly" | "yearly";
|
|
10166
|
+
amountMinor: number;
|
|
10167
|
+
currency: string;
|
|
10168
|
+
interval: {
|
|
10169
|
+
unit: "month" | "year";
|
|
10170
|
+
count: number;
|
|
10171
|
+
};
|
|
10172
|
+
}, {
|
|
10173
|
+
cadence: "monthly" | "sixMonthly" | "yearly";
|
|
10174
|
+
amountMinor: number;
|
|
10175
|
+
currency: string;
|
|
10176
|
+
interval: {
|
|
10177
|
+
unit: "month" | "year";
|
|
10178
|
+
count: number;
|
|
10179
|
+
};
|
|
10180
|
+
}>;
|
|
10181
|
+
}, "strip", z.ZodTypeAny, {
|
|
10182
|
+
status: "active" | "ended" | "refunded";
|
|
10183
|
+
mode: "live" | "sandbox";
|
|
10184
|
+
endsAt: string | null;
|
|
10185
|
+
campaignId: string;
|
|
10186
|
+
amountMinor: number;
|
|
10187
|
+
currency: string;
|
|
10188
|
+
paidAt: string;
|
|
10189
|
+
willRenew: boolean;
|
|
10190
|
+
renewal: {
|
|
10191
|
+
cadence: "monthly" | "sixMonthly" | "yearly";
|
|
10192
|
+
amountMinor: number;
|
|
10193
|
+
currency: string;
|
|
10194
|
+
interval: {
|
|
10195
|
+
unit: "month" | "year";
|
|
10196
|
+
count: number;
|
|
10197
|
+
};
|
|
10198
|
+
};
|
|
10199
|
+
}, {
|
|
10200
|
+
status: "active" | "ended" | "refunded";
|
|
10201
|
+
mode: "live" | "sandbox";
|
|
10202
|
+
endsAt: string | null;
|
|
10203
|
+
campaignId: string;
|
|
10204
|
+
amountMinor: number;
|
|
10205
|
+
currency: string;
|
|
10206
|
+
paidAt: string;
|
|
10207
|
+
willRenew: boolean;
|
|
10208
|
+
renewal: {
|
|
10209
|
+
cadence: "monthly" | "sixMonthly" | "yearly";
|
|
10210
|
+
amountMinor: number;
|
|
10211
|
+
currency: string;
|
|
10212
|
+
interval: {
|
|
10213
|
+
unit: "month" | "year";
|
|
10214
|
+
count: number;
|
|
10215
|
+
};
|
|
10216
|
+
};
|
|
10217
|
+
}>>;
|
|
9750
10218
|
}, "strip", z.ZodTypeAny, {
|
|
9751
10219
|
status: "active" | "trialing" | "pastDue" | "suspended" | "canceled";
|
|
9752
10220
|
id: string;
|
|
@@ -9754,6 +10222,25 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
|
|
|
9754
10222
|
maxFamilies: number;
|
|
9755
10223
|
provider: "manual" | "stripe";
|
|
9756
10224
|
estimatedMrrPence: number | null;
|
|
10225
|
+
introductoryOffer: {
|
|
10226
|
+
status: "active" | "ended" | "refunded";
|
|
10227
|
+
mode: "live" | "sandbox";
|
|
10228
|
+
endsAt: string | null;
|
|
10229
|
+
campaignId: string;
|
|
10230
|
+
amountMinor: number;
|
|
10231
|
+
currency: string;
|
|
10232
|
+
paidAt: string;
|
|
10233
|
+
willRenew: boolean;
|
|
10234
|
+
renewal: {
|
|
10235
|
+
cadence: "monthly" | "sixMonthly" | "yearly";
|
|
10236
|
+
amountMinor: number;
|
|
10237
|
+
currency: string;
|
|
10238
|
+
interval: {
|
|
10239
|
+
unit: "month" | "year";
|
|
10240
|
+
count: number;
|
|
10241
|
+
};
|
|
10242
|
+
};
|
|
10243
|
+
} | null;
|
|
9757
10244
|
cadence?: "monthly" | "sixMonthly" | "yearly" | null | undefined;
|
|
9758
10245
|
stripeCustomerId?: string | null | undefined;
|
|
9759
10246
|
stripeSubscriptionId?: string | null | undefined;
|
|
@@ -9765,7 +10252,7 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
|
|
|
9765
10252
|
planId?: string | null | undefined;
|
|
9766
10253
|
storeProductId?: string | null | undefined;
|
|
9767
10254
|
storeEnvironment?: "unknown" | "sandbox" | "production" | null | undefined;
|
|
9768
|
-
stripeMode?: "
|
|
10255
|
+
stripeMode?: "live" | "sandbox" | null | undefined;
|
|
9769
10256
|
}, {
|
|
9770
10257
|
status: "active" | "trialing" | "pastDue" | "suspended" | "canceled";
|
|
9771
10258
|
id: string;
|
|
@@ -9773,6 +10260,25 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
|
|
|
9773
10260
|
maxFamilies: number;
|
|
9774
10261
|
provider: "manual" | "stripe";
|
|
9775
10262
|
estimatedMrrPence: number | null;
|
|
10263
|
+
introductoryOffer: {
|
|
10264
|
+
status: "active" | "ended" | "refunded";
|
|
10265
|
+
mode: "live" | "sandbox";
|
|
10266
|
+
endsAt: string | null;
|
|
10267
|
+
campaignId: string;
|
|
10268
|
+
amountMinor: number;
|
|
10269
|
+
currency: string;
|
|
10270
|
+
paidAt: string;
|
|
10271
|
+
willRenew: boolean;
|
|
10272
|
+
renewal: {
|
|
10273
|
+
cadence: "monthly" | "sixMonthly" | "yearly";
|
|
10274
|
+
amountMinor: number;
|
|
10275
|
+
currency: string;
|
|
10276
|
+
interval: {
|
|
10277
|
+
unit: "month" | "year";
|
|
10278
|
+
count: number;
|
|
10279
|
+
};
|
|
10280
|
+
};
|
|
10281
|
+
} | null;
|
|
9776
10282
|
cadence?: "monthly" | "sixMonthly" | "yearly" | null | undefined;
|
|
9777
10283
|
stripeCustomerId?: string | null | undefined;
|
|
9778
10284
|
stripeSubscriptionId?: string | null | undefined;
|
|
@@ -9784,7 +10290,7 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
|
|
|
9784
10290
|
planId?: string | null | undefined;
|
|
9785
10291
|
storeProductId?: string | null | undefined;
|
|
9786
10292
|
storeEnvironment?: "unknown" | "sandbox" | "production" | null | undefined;
|
|
9787
|
-
stripeMode?: "
|
|
10293
|
+
stripeMode?: "live" | "sandbox" | null | undefined;
|
|
9788
10294
|
}>;
|
|
9789
10295
|
activeFamilyCount: z.ZodNumber;
|
|
9790
10296
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -9846,6 +10352,25 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
|
|
|
9846
10352
|
maxFamilies: number;
|
|
9847
10353
|
provider: "manual" | "stripe";
|
|
9848
10354
|
estimatedMrrPence: number | null;
|
|
10355
|
+
introductoryOffer: {
|
|
10356
|
+
status: "active" | "ended" | "refunded";
|
|
10357
|
+
mode: "live" | "sandbox";
|
|
10358
|
+
endsAt: string | null;
|
|
10359
|
+
campaignId: string;
|
|
10360
|
+
amountMinor: number;
|
|
10361
|
+
currency: string;
|
|
10362
|
+
paidAt: string;
|
|
10363
|
+
willRenew: boolean;
|
|
10364
|
+
renewal: {
|
|
10365
|
+
cadence: "monthly" | "sixMonthly" | "yearly";
|
|
10366
|
+
amountMinor: number;
|
|
10367
|
+
currency: string;
|
|
10368
|
+
interval: {
|
|
10369
|
+
unit: "month" | "year";
|
|
10370
|
+
count: number;
|
|
10371
|
+
};
|
|
10372
|
+
};
|
|
10373
|
+
} | null;
|
|
9849
10374
|
cadence?: "monthly" | "sixMonthly" | "yearly" | null | undefined;
|
|
9850
10375
|
stripeCustomerId?: string | null | undefined;
|
|
9851
10376
|
stripeSubscriptionId?: string | null | undefined;
|
|
@@ -9857,7 +10382,7 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
|
|
|
9857
10382
|
planId?: string | null | undefined;
|
|
9858
10383
|
storeProductId?: string | null | undefined;
|
|
9859
10384
|
storeEnvironment?: "unknown" | "sandbox" | "production" | null | undefined;
|
|
9860
|
-
stripeMode?: "
|
|
10385
|
+
stripeMode?: "live" | "sandbox" | null | undefined;
|
|
9861
10386
|
};
|
|
9862
10387
|
}, {
|
|
9863
10388
|
coach: {
|
|
@@ -9918,6 +10443,25 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
|
|
|
9918
10443
|
maxFamilies: number;
|
|
9919
10444
|
provider: "manual" | "stripe";
|
|
9920
10445
|
estimatedMrrPence: number | null;
|
|
10446
|
+
introductoryOffer: {
|
|
10447
|
+
status: "active" | "ended" | "refunded";
|
|
10448
|
+
mode: "live" | "sandbox";
|
|
10449
|
+
endsAt: string | null;
|
|
10450
|
+
campaignId: string;
|
|
10451
|
+
amountMinor: number;
|
|
10452
|
+
currency: string;
|
|
10453
|
+
paidAt: string;
|
|
10454
|
+
willRenew: boolean;
|
|
10455
|
+
renewal: {
|
|
10456
|
+
cadence: "monthly" | "sixMonthly" | "yearly";
|
|
10457
|
+
amountMinor: number;
|
|
10458
|
+
currency: string;
|
|
10459
|
+
interval: {
|
|
10460
|
+
unit: "month" | "year";
|
|
10461
|
+
count: number;
|
|
10462
|
+
};
|
|
10463
|
+
};
|
|
10464
|
+
} | null;
|
|
9921
10465
|
cadence?: "monthly" | "sixMonthly" | "yearly" | null | undefined;
|
|
9922
10466
|
stripeCustomerId?: string | null | undefined;
|
|
9923
10467
|
stripeSubscriptionId?: string | null | undefined;
|
|
@@ -9929,7 +10473,7 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
|
|
|
9929
10473
|
planId?: string | null | undefined;
|
|
9930
10474
|
storeProductId?: string | null | undefined;
|
|
9931
10475
|
storeEnvironment?: "unknown" | "sandbox" | "production" | null | undefined;
|
|
9932
|
-
stripeMode?: "
|
|
10476
|
+
stripeMode?: "live" | "sandbox" | null | undefined;
|
|
9933
10477
|
};
|
|
9934
10478
|
}>, "many">;
|
|
9935
10479
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -9952,6 +10496,14 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
|
|
|
9952
10496
|
manual: number;
|
|
9953
10497
|
stripe: number;
|
|
9954
10498
|
};
|
|
10499
|
+
introductoryOffers: {
|
|
10500
|
+
active: number;
|
|
10501
|
+
ended: number;
|
|
10502
|
+
refunded: number;
|
|
10503
|
+
totalRedeemed: number;
|
|
10504
|
+
recordedGrossPence: number;
|
|
10505
|
+
activeProjectedMrrPence: number;
|
|
10506
|
+
};
|
|
9955
10507
|
rows: {
|
|
9956
10508
|
coach: {
|
|
9957
10509
|
id: string;
|
|
@@ -10011,6 +10563,25 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
|
|
|
10011
10563
|
maxFamilies: number;
|
|
10012
10564
|
provider: "manual" | "stripe";
|
|
10013
10565
|
estimatedMrrPence: number | null;
|
|
10566
|
+
introductoryOffer: {
|
|
10567
|
+
status: "active" | "ended" | "refunded";
|
|
10568
|
+
mode: "live" | "sandbox";
|
|
10569
|
+
endsAt: string | null;
|
|
10570
|
+
campaignId: string;
|
|
10571
|
+
amountMinor: number;
|
|
10572
|
+
currency: string;
|
|
10573
|
+
paidAt: string;
|
|
10574
|
+
willRenew: boolean;
|
|
10575
|
+
renewal: {
|
|
10576
|
+
cadence: "monthly" | "sixMonthly" | "yearly";
|
|
10577
|
+
amountMinor: number;
|
|
10578
|
+
currency: string;
|
|
10579
|
+
interval: {
|
|
10580
|
+
unit: "month" | "year";
|
|
10581
|
+
count: number;
|
|
10582
|
+
};
|
|
10583
|
+
};
|
|
10584
|
+
} | null;
|
|
10014
10585
|
cadence?: "monthly" | "sixMonthly" | "yearly" | null | undefined;
|
|
10015
10586
|
stripeCustomerId?: string | null | undefined;
|
|
10016
10587
|
stripeSubscriptionId?: string | null | undefined;
|
|
@@ -10022,7 +10593,7 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
|
|
|
10022
10593
|
planId?: string | null | undefined;
|
|
10023
10594
|
storeProductId?: string | null | undefined;
|
|
10024
10595
|
storeEnvironment?: "unknown" | "sandbox" | "production" | null | undefined;
|
|
10025
|
-
stripeMode?: "
|
|
10596
|
+
stripeMode?: "live" | "sandbox" | null | undefined;
|
|
10026
10597
|
};
|
|
10027
10598
|
}[];
|
|
10028
10599
|
}, {
|
|
@@ -10045,6 +10616,14 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
|
|
|
10045
10616
|
manual: number;
|
|
10046
10617
|
stripe: number;
|
|
10047
10618
|
};
|
|
10619
|
+
introductoryOffers: {
|
|
10620
|
+
active: number;
|
|
10621
|
+
ended: number;
|
|
10622
|
+
refunded: number;
|
|
10623
|
+
totalRedeemed: number;
|
|
10624
|
+
recordedGrossPence: number;
|
|
10625
|
+
activeProjectedMrrPence: number;
|
|
10626
|
+
};
|
|
10048
10627
|
rows: {
|
|
10049
10628
|
coach: {
|
|
10050
10629
|
id: string;
|
|
@@ -10104,6 +10683,25 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
|
|
|
10104
10683
|
maxFamilies: number;
|
|
10105
10684
|
provider: "manual" | "stripe";
|
|
10106
10685
|
estimatedMrrPence: number | null;
|
|
10686
|
+
introductoryOffer: {
|
|
10687
|
+
status: "active" | "ended" | "refunded";
|
|
10688
|
+
mode: "live" | "sandbox";
|
|
10689
|
+
endsAt: string | null;
|
|
10690
|
+
campaignId: string;
|
|
10691
|
+
amountMinor: number;
|
|
10692
|
+
currency: string;
|
|
10693
|
+
paidAt: string;
|
|
10694
|
+
willRenew: boolean;
|
|
10695
|
+
renewal: {
|
|
10696
|
+
cadence: "monthly" | "sixMonthly" | "yearly";
|
|
10697
|
+
amountMinor: number;
|
|
10698
|
+
currency: string;
|
|
10699
|
+
interval: {
|
|
10700
|
+
unit: "month" | "year";
|
|
10701
|
+
count: number;
|
|
10702
|
+
};
|
|
10703
|
+
};
|
|
10704
|
+
} | null;
|
|
10107
10705
|
cadence?: "monthly" | "sixMonthly" | "yearly" | null | undefined;
|
|
10108
10706
|
stripeCustomerId?: string | null | undefined;
|
|
10109
10707
|
stripeSubscriptionId?: string | null | undefined;
|
|
@@ -10115,7 +10713,7 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
|
|
|
10115
10713
|
planId?: string | null | undefined;
|
|
10116
10714
|
storeProductId?: string | null | undefined;
|
|
10117
10715
|
storeEnvironment?: "unknown" | "sandbox" | "production" | null | undefined;
|
|
10118
|
-
stripeMode?: "
|
|
10716
|
+
stripeMode?: "live" | "sandbox" | null | undefined;
|
|
10119
10717
|
};
|
|
10120
10718
|
}[];
|
|
10121
10719
|
}>;
|
|
@@ -10606,8 +11204,8 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
|
|
|
10606
11204
|
premiumGraceActive: z.ZodOptional<z.ZodBoolean>;
|
|
10607
11205
|
disabledReason: z.ZodEnum<["none", "notStarted", "expired", "revoked", "billingInactive", "suspendedOrganization", "noEntitlement"]>;
|
|
10608
11206
|
}, "strip", z.ZodTypeAny, {
|
|
10609
|
-
active: boolean;
|
|
10610
11207
|
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
11208
|
+
active: boolean;
|
|
10611
11209
|
expiresAt?: string | null | undefined;
|
|
10612
11210
|
organizationId?: string | undefined;
|
|
10613
11211
|
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
@@ -10618,8 +11216,8 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
|
|
|
10618
11216
|
premiumGraceDaysRemaining?: number | undefined;
|
|
10619
11217
|
premiumGraceActive?: boolean | undefined;
|
|
10620
11218
|
}, {
|
|
10621
|
-
active: boolean;
|
|
10622
11219
|
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
11220
|
+
active: boolean;
|
|
10623
11221
|
expiresAt?: string | null | undefined;
|
|
10624
11222
|
organizationId?: string | undefined;
|
|
10625
11223
|
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
@@ -10783,8 +11381,8 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
|
|
|
10783
11381
|
} | undefined;
|
|
10784
11382
|
} | null;
|
|
10785
11383
|
premium: {
|
|
10786
|
-
active: boolean;
|
|
10787
11384
|
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
11385
|
+
active: boolean;
|
|
10788
11386
|
expiresAt?: string | null | undefined;
|
|
10789
11387
|
organizationId?: string | undefined;
|
|
10790
11388
|
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
@@ -10899,8 +11497,8 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
|
|
|
10899
11497
|
} | undefined;
|
|
10900
11498
|
} | null;
|
|
10901
11499
|
premium: {
|
|
10902
|
-
active: boolean;
|
|
10903
11500
|
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
11501
|
+
active: boolean;
|
|
10904
11502
|
expiresAt?: string | null | undefined;
|
|
10905
11503
|
organizationId?: string | undefined;
|
|
10906
11504
|
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
@@ -11019,8 +11617,8 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
|
|
|
11019
11617
|
} | undefined;
|
|
11020
11618
|
} | null;
|
|
11021
11619
|
premium: {
|
|
11022
|
-
active: boolean;
|
|
11023
11620
|
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
11621
|
+
active: boolean;
|
|
11024
11622
|
expiresAt?: string | null | undefined;
|
|
11025
11623
|
organizationId?: string | undefined;
|
|
11026
11624
|
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
@@ -11185,8 +11783,8 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
|
|
|
11185
11783
|
} | undefined;
|
|
11186
11784
|
} | null;
|
|
11187
11785
|
premium: {
|
|
11188
|
-
active: boolean;
|
|
11189
11786
|
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
11787
|
+
active: boolean;
|
|
11190
11788
|
expiresAt?: string | null | undefined;
|
|
11191
11789
|
organizationId?: string | undefined;
|
|
11192
11790
|
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
@@ -11354,8 +11952,8 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
|
|
|
11354
11952
|
} | undefined;
|
|
11355
11953
|
} | null;
|
|
11356
11954
|
premium: {
|
|
11357
|
-
active: boolean;
|
|
11358
11955
|
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
11956
|
+
active: boolean;
|
|
11359
11957
|
expiresAt?: string | null | undefined;
|
|
11360
11958
|
organizationId?: string | undefined;
|
|
11361
11959
|
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
@@ -11458,6 +12056,14 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
|
|
|
11458
12056
|
manual: number;
|
|
11459
12057
|
stripe: number;
|
|
11460
12058
|
};
|
|
12059
|
+
introductoryOffers: {
|
|
12060
|
+
active: number;
|
|
12061
|
+
ended: number;
|
|
12062
|
+
refunded: number;
|
|
12063
|
+
totalRedeemed: number;
|
|
12064
|
+
recordedGrossPence: number;
|
|
12065
|
+
activeProjectedMrrPence: number;
|
|
12066
|
+
};
|
|
11461
12067
|
rows: {
|
|
11462
12068
|
coach: {
|
|
11463
12069
|
id: string;
|
|
@@ -11517,6 +12123,25 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
|
|
|
11517
12123
|
maxFamilies: number;
|
|
11518
12124
|
provider: "manual" | "stripe";
|
|
11519
12125
|
estimatedMrrPence: number | null;
|
|
12126
|
+
introductoryOffer: {
|
|
12127
|
+
status: "active" | "ended" | "refunded";
|
|
12128
|
+
mode: "live" | "sandbox";
|
|
12129
|
+
endsAt: string | null;
|
|
12130
|
+
campaignId: string;
|
|
12131
|
+
amountMinor: number;
|
|
12132
|
+
currency: string;
|
|
12133
|
+
paidAt: string;
|
|
12134
|
+
willRenew: boolean;
|
|
12135
|
+
renewal: {
|
|
12136
|
+
cadence: "monthly" | "sixMonthly" | "yearly";
|
|
12137
|
+
amountMinor: number;
|
|
12138
|
+
currency: string;
|
|
12139
|
+
interval: {
|
|
12140
|
+
unit: "month" | "year";
|
|
12141
|
+
count: number;
|
|
12142
|
+
};
|
|
12143
|
+
};
|
|
12144
|
+
} | null;
|
|
11520
12145
|
cadence?: "monthly" | "sixMonthly" | "yearly" | null | undefined;
|
|
11521
12146
|
stripeCustomerId?: string | null | undefined;
|
|
11522
12147
|
stripeSubscriptionId?: string | null | undefined;
|
|
@@ -11528,7 +12153,7 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
|
|
|
11528
12153
|
planId?: string | null | undefined;
|
|
11529
12154
|
storeProductId?: string | null | undefined;
|
|
11530
12155
|
storeEnvironment?: "unknown" | "sandbox" | "production" | null | undefined;
|
|
11531
|
-
stripeMode?: "
|
|
12156
|
+
stripeMode?: "live" | "sandbox" | null | undefined;
|
|
11532
12157
|
};
|
|
11533
12158
|
}[];
|
|
11534
12159
|
};
|
|
@@ -11640,8 +12265,8 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
|
|
|
11640
12265
|
} | undefined;
|
|
11641
12266
|
} | null;
|
|
11642
12267
|
premium: {
|
|
11643
|
-
active: boolean;
|
|
11644
12268
|
disabledReason: "revoked" | "expired" | "none" | "notStarted" | "billingInactive" | "suspendedOrganization" | "noEntitlement";
|
|
12269
|
+
active: boolean;
|
|
11645
12270
|
expiresAt?: string | null | undefined;
|
|
11646
12271
|
organizationId?: string | undefined;
|
|
11647
12272
|
source?: "platformPractice" | "directSubscription" | "coachInvite" | "manualComp" | undefined;
|
|
@@ -11744,6 +12369,14 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
|
|
|
11744
12369
|
manual: number;
|
|
11745
12370
|
stripe: number;
|
|
11746
12371
|
};
|
|
12372
|
+
introductoryOffers: {
|
|
12373
|
+
active: number;
|
|
12374
|
+
ended: number;
|
|
12375
|
+
refunded: number;
|
|
12376
|
+
totalRedeemed: number;
|
|
12377
|
+
recordedGrossPence: number;
|
|
12378
|
+
activeProjectedMrrPence: number;
|
|
12379
|
+
};
|
|
11747
12380
|
rows: {
|
|
11748
12381
|
coach: {
|
|
11749
12382
|
id: string;
|
|
@@ -11803,6 +12436,25 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
|
|
|
11803
12436
|
maxFamilies: number;
|
|
11804
12437
|
provider: "manual" | "stripe";
|
|
11805
12438
|
estimatedMrrPence: number | null;
|
|
12439
|
+
introductoryOffer: {
|
|
12440
|
+
status: "active" | "ended" | "refunded";
|
|
12441
|
+
mode: "live" | "sandbox";
|
|
12442
|
+
endsAt: string | null;
|
|
12443
|
+
campaignId: string;
|
|
12444
|
+
amountMinor: number;
|
|
12445
|
+
currency: string;
|
|
12446
|
+
paidAt: string;
|
|
12447
|
+
willRenew: boolean;
|
|
12448
|
+
renewal: {
|
|
12449
|
+
cadence: "monthly" | "sixMonthly" | "yearly";
|
|
12450
|
+
amountMinor: number;
|
|
12451
|
+
currency: string;
|
|
12452
|
+
interval: {
|
|
12453
|
+
unit: "month" | "year";
|
|
12454
|
+
count: number;
|
|
12455
|
+
};
|
|
12456
|
+
};
|
|
12457
|
+
} | null;
|
|
11806
12458
|
cadence?: "monthly" | "sixMonthly" | "yearly" | null | undefined;
|
|
11807
12459
|
stripeCustomerId?: string | null | undefined;
|
|
11808
12460
|
stripeSubscriptionId?: string | null | undefined;
|
|
@@ -11814,7 +12466,7 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
|
|
|
11814
12466
|
planId?: string | null | undefined;
|
|
11815
12467
|
storeProductId?: string | null | undefined;
|
|
11816
12468
|
storeEnvironment?: "unknown" | "sandbox" | "production" | null | undefined;
|
|
11817
|
-
stripeMode?: "
|
|
12469
|
+
stripeMode?: "live" | "sandbox" | null | undefined;
|
|
11818
12470
|
};
|
|
11819
12471
|
}[];
|
|
11820
12472
|
};
|
|
@@ -11824,19 +12476,19 @@ export declare const adminStripeSummaryQuerySchema: z.ZodEffects<z.ZodObject<{
|
|
|
11824
12476
|
to: z.ZodOptional<z.ZodString>;
|
|
11825
12477
|
mode: z.ZodDefault<z.ZodEnum<["live", "sandbox"]>>;
|
|
11826
12478
|
}, "strict", z.ZodTypeAny, {
|
|
11827
|
-
mode: "
|
|
12479
|
+
mode: "live" | "sandbox";
|
|
11828
12480
|
from?: string | undefined;
|
|
11829
12481
|
to?: string | undefined;
|
|
11830
12482
|
}, {
|
|
11831
|
-
mode?: "
|
|
12483
|
+
mode?: "live" | "sandbox" | undefined;
|
|
11832
12484
|
from?: string | undefined;
|
|
11833
12485
|
to?: string | undefined;
|
|
11834
12486
|
}>, {
|
|
11835
|
-
mode: "
|
|
12487
|
+
mode: "live" | "sandbox";
|
|
11836
12488
|
from?: string | undefined;
|
|
11837
12489
|
to?: string | undefined;
|
|
11838
12490
|
}, {
|
|
11839
|
-
mode?: "
|
|
12491
|
+
mode?: "live" | "sandbox" | undefined;
|
|
11840
12492
|
from?: string | undefined;
|
|
11841
12493
|
to?: string | undefined;
|
|
11842
12494
|
}>;
|
|
@@ -12076,7 +12728,7 @@ export declare const adminStripeSummaryResponseSchema: z.ZodObject<{
|
|
|
12076
12728
|
}[];
|
|
12077
12729
|
}>, "many">;
|
|
12078
12730
|
}, "strip", z.ZodTypeAny, {
|
|
12079
|
-
mode: "
|
|
12731
|
+
mode: "live" | "sandbox";
|
|
12080
12732
|
generatedAt: string;
|
|
12081
12733
|
query: {
|
|
12082
12734
|
from: string | null;
|
|
@@ -12120,7 +12772,7 @@ export declare const adminStripeSummaryResponseSchema: z.ZodObject<{
|
|
|
12120
12772
|
}[];
|
|
12121
12773
|
}[];
|
|
12122
12774
|
}, {
|
|
12123
|
-
mode: "
|
|
12775
|
+
mode: "live" | "sandbox";
|
|
12124
12776
|
generatedAt: string;
|
|
12125
12777
|
query: {
|
|
12126
12778
|
from: string | null;
|
|
@@ -12168,10 +12820,10 @@ export declare const adminStripeResidualSettlementQuerySchema: z.ZodObject<{
|
|
|
12168
12820
|
mode: z.ZodDefault<z.ZodEnum<["live", "sandbox"]>>;
|
|
12169
12821
|
currency: z.ZodDefault<z.ZodLiteral<"gbp">>;
|
|
12170
12822
|
}, "strict", z.ZodTypeAny, {
|
|
12171
|
-
mode: "
|
|
12823
|
+
mode: "live" | "sandbox";
|
|
12172
12824
|
currency: "gbp";
|
|
12173
12825
|
}, {
|
|
12174
|
-
mode?: "
|
|
12826
|
+
mode?: "live" | "sandbox" | undefined;
|
|
12175
12827
|
currency?: "gbp" | undefined;
|
|
12176
12828
|
}>;
|
|
12177
12829
|
export declare const adminStripeOwnerFundingEntryKindSchema: z.ZodEnum<["advance", "repayment", "increaseAdjustment", "decreaseAdjustment"]>;
|
|
@@ -12187,20 +12839,20 @@ export declare const createAdminStripeOwnerFundingEntryRequestSchema: z.ZodObjec
|
|
|
12187
12839
|
note: z.ZodOptional<z.ZodString>;
|
|
12188
12840
|
occurredAt: z.ZodOptional<z.ZodString>;
|
|
12189
12841
|
}, "strict", z.ZodTypeAny, {
|
|
12190
|
-
mode: "
|
|
12842
|
+
mode: "live" | "sandbox";
|
|
12843
|
+
amountMinor: number;
|
|
12191
12844
|
currency: "gbp";
|
|
12192
12845
|
ownerKey: "becca" | "nikos";
|
|
12193
12846
|
kind: "advance" | "repayment" | "increaseAdjustment" | "decreaseAdjustment";
|
|
12194
|
-
amountMinor: number;
|
|
12195
12847
|
reference: string;
|
|
12196
12848
|
note?: string | undefined;
|
|
12197
12849
|
occurredAt?: string | undefined;
|
|
12198
12850
|
}, {
|
|
12851
|
+
amountMinor: number;
|
|
12199
12852
|
ownerKey: "becca" | "nikos";
|
|
12200
12853
|
kind: "advance" | "repayment" | "increaseAdjustment" | "decreaseAdjustment";
|
|
12201
|
-
amountMinor: number;
|
|
12202
12854
|
reference: string;
|
|
12203
|
-
mode?: "
|
|
12855
|
+
mode?: "live" | "sandbox" | undefined;
|
|
12204
12856
|
currency?: "gbp" | undefined;
|
|
12205
12857
|
note?: string | undefined;
|
|
12206
12858
|
occurredAt?: string | undefined;
|
|
@@ -12210,12 +12862,12 @@ export declare const executeAdminStripeResidualSettlementRequestSchema: z.ZodObj
|
|
|
12210
12862
|
currency: z.ZodDefault<z.ZodLiteral<"gbp">>;
|
|
12211
12863
|
previewToken: z.ZodString;
|
|
12212
12864
|
}, "strict", z.ZodTypeAny, {
|
|
12213
|
-
mode: "
|
|
12865
|
+
mode: "live" | "sandbox";
|
|
12214
12866
|
currency: "gbp";
|
|
12215
12867
|
previewToken: string;
|
|
12216
12868
|
}, {
|
|
12217
12869
|
previewToken: string;
|
|
12218
|
-
mode?: "
|
|
12870
|
+
mode?: "live" | "sandbox" | undefined;
|
|
12219
12871
|
currency?: "gbp" | undefined;
|
|
12220
12872
|
}>;
|
|
12221
12873
|
export declare const adminStripeOwnerFundingEntrySchema: z.ZodObject<{
|
|
@@ -12236,11 +12888,11 @@ export declare const adminStripeOwnerFundingEntrySchema: z.ZodObject<{
|
|
|
12236
12888
|
id: string;
|
|
12237
12889
|
createdAt: string;
|
|
12238
12890
|
source: "manual" | "stripePlatformPayout" | "residualSettlement";
|
|
12239
|
-
mode: "
|
|
12891
|
+
mode: "live" | "sandbox";
|
|
12892
|
+
amountMinor: number;
|
|
12240
12893
|
currency: "gbp";
|
|
12241
12894
|
ownerKey: "becca" | "nikos";
|
|
12242
12895
|
kind: "advance" | "repayment" | "increaseAdjustment" | "decreaseAdjustment";
|
|
12243
|
-
amountMinor: number;
|
|
12244
12896
|
note: string | null;
|
|
12245
12897
|
occurredAt: string;
|
|
12246
12898
|
externalReference: string;
|
|
@@ -12249,11 +12901,11 @@ export declare const adminStripeOwnerFundingEntrySchema: z.ZodObject<{
|
|
|
12249
12901
|
id: string;
|
|
12250
12902
|
createdAt: string;
|
|
12251
12903
|
source: "manual" | "stripePlatformPayout" | "residualSettlement";
|
|
12252
|
-
mode: "
|
|
12904
|
+
mode: "live" | "sandbox";
|
|
12905
|
+
amountMinor: number;
|
|
12253
12906
|
currency: "gbp";
|
|
12254
12907
|
ownerKey: "becca" | "nikos";
|
|
12255
12908
|
kind: "advance" | "repayment" | "increaseAdjustment" | "decreaseAdjustment";
|
|
12256
|
-
amountMinor: number;
|
|
12257
12909
|
note: string | null;
|
|
12258
12910
|
occurredAt: string;
|
|
12259
12911
|
externalReference: string;
|
|
@@ -12272,18 +12924,18 @@ export declare const adminStripeResidualSettlementTransferSchema: z.ZodObject<{
|
|
|
12272
12924
|
}, "strip", z.ZodTypeAny, {
|
|
12273
12925
|
status: "planned" | "completed" | "failed";
|
|
12274
12926
|
id: string;
|
|
12927
|
+
amountMinor: number;
|
|
12275
12928
|
percentageBasisPoints: number | null;
|
|
12276
12929
|
ownerKey: "becca" | "nikos";
|
|
12277
|
-
amountMinor: number;
|
|
12278
12930
|
purpose: "advanceRepayment" | "ownerDistribution";
|
|
12279
12931
|
hasStripeTransfer: boolean;
|
|
12280
12932
|
failureCode: string | null;
|
|
12281
12933
|
}, {
|
|
12282
12934
|
status: "planned" | "completed" | "failed";
|
|
12283
12935
|
id: string;
|
|
12936
|
+
amountMinor: number;
|
|
12284
12937
|
percentageBasisPoints: number | null;
|
|
12285
12938
|
ownerKey: "becca" | "nikos";
|
|
12286
|
-
amountMinor: number;
|
|
12287
12939
|
purpose: "advanceRepayment" | "ownerDistribution";
|
|
12288
12940
|
hasStripeTransfer: boolean;
|
|
12289
12941
|
failureCode: string | null;
|
|
@@ -12316,18 +12968,18 @@ export declare const adminStripeResidualSettlementBatchSchema: z.ZodObject<{
|
|
|
12316
12968
|
}, "strip", z.ZodTypeAny, {
|
|
12317
12969
|
status: "planned" | "completed" | "failed";
|
|
12318
12970
|
id: string;
|
|
12971
|
+
amountMinor: number;
|
|
12319
12972
|
percentageBasisPoints: number | null;
|
|
12320
12973
|
ownerKey: "becca" | "nikos";
|
|
12321
|
-
amountMinor: number;
|
|
12322
12974
|
purpose: "advanceRepayment" | "ownerDistribution";
|
|
12323
12975
|
hasStripeTransfer: boolean;
|
|
12324
12976
|
failureCode: string | null;
|
|
12325
12977
|
}, {
|
|
12326
12978
|
status: "planned" | "completed" | "failed";
|
|
12327
12979
|
id: string;
|
|
12980
|
+
amountMinor: number;
|
|
12328
12981
|
percentageBasisPoints: number | null;
|
|
12329
12982
|
ownerKey: "becca" | "nikos";
|
|
12330
|
-
amountMinor: number;
|
|
12331
12983
|
purpose: "advanceRepayment" | "ownerDistribution";
|
|
12332
12984
|
hasStripeTransfer: boolean;
|
|
12333
12985
|
failureCode: string | null;
|
|
@@ -12336,7 +12988,7 @@ export declare const adminStripeResidualSettlementBatchSchema: z.ZodObject<{
|
|
|
12336
12988
|
status: "canceled" | "planned" | "executing" | "completed" | "failed";
|
|
12337
12989
|
id: string;
|
|
12338
12990
|
createdAt: string;
|
|
12339
|
-
mode: "
|
|
12991
|
+
mode: "live" | "sandbox";
|
|
12340
12992
|
currency: "gbp";
|
|
12341
12993
|
failureCode: string | null;
|
|
12342
12994
|
trigger: "owner" | "balanceAvailable" | "scheduled";
|
|
@@ -12351,9 +13003,9 @@ export declare const adminStripeResidualSettlementBatchSchema: z.ZodObject<{
|
|
|
12351
13003
|
transfers: {
|
|
12352
13004
|
status: "planned" | "completed" | "failed";
|
|
12353
13005
|
id: string;
|
|
13006
|
+
amountMinor: number;
|
|
12354
13007
|
percentageBasisPoints: number | null;
|
|
12355
13008
|
ownerKey: "becca" | "nikos";
|
|
12356
|
-
amountMinor: number;
|
|
12357
13009
|
purpose: "advanceRepayment" | "ownerDistribution";
|
|
12358
13010
|
hasStripeTransfer: boolean;
|
|
12359
13011
|
failureCode: string | null;
|
|
@@ -12362,7 +13014,7 @@ export declare const adminStripeResidualSettlementBatchSchema: z.ZodObject<{
|
|
|
12362
13014
|
status: "canceled" | "planned" | "executing" | "completed" | "failed";
|
|
12363
13015
|
id: string;
|
|
12364
13016
|
createdAt: string;
|
|
12365
|
-
mode: "
|
|
13017
|
+
mode: "live" | "sandbox";
|
|
12366
13018
|
currency: "gbp";
|
|
12367
13019
|
failureCode: string | null;
|
|
12368
13020
|
trigger: "owner" | "balanceAvailable" | "scheduled";
|
|
@@ -12377,9 +13029,9 @@ export declare const adminStripeResidualSettlementBatchSchema: z.ZodObject<{
|
|
|
12377
13029
|
transfers: {
|
|
12378
13030
|
status: "planned" | "completed" | "failed";
|
|
12379
13031
|
id: string;
|
|
13032
|
+
amountMinor: number;
|
|
12380
13033
|
percentageBasisPoints: number | null;
|
|
12381
13034
|
ownerKey: "becca" | "nikos";
|
|
12382
|
-
amountMinor: number;
|
|
12383
13035
|
purpose: "advanceRepayment" | "ownerDistribution";
|
|
12384
13036
|
hasStripeTransfer: boolean;
|
|
12385
13037
|
failureCode: string | null;
|
|
@@ -12456,11 +13108,11 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
|
|
|
12456
13108
|
id: string;
|
|
12457
13109
|
createdAt: string;
|
|
12458
13110
|
source: "manual" | "stripePlatformPayout" | "residualSettlement";
|
|
12459
|
-
mode: "
|
|
13111
|
+
mode: "live" | "sandbox";
|
|
13112
|
+
amountMinor: number;
|
|
12460
13113
|
currency: "gbp";
|
|
12461
13114
|
ownerKey: "becca" | "nikos";
|
|
12462
13115
|
kind: "advance" | "repayment" | "increaseAdjustment" | "decreaseAdjustment";
|
|
12463
|
-
amountMinor: number;
|
|
12464
13116
|
note: string | null;
|
|
12465
13117
|
occurredAt: string;
|
|
12466
13118
|
externalReference: string;
|
|
@@ -12469,11 +13121,11 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
|
|
|
12469
13121
|
id: string;
|
|
12470
13122
|
createdAt: string;
|
|
12471
13123
|
source: "manual" | "stripePlatformPayout" | "residualSettlement";
|
|
12472
|
-
mode: "
|
|
13124
|
+
mode: "live" | "sandbox";
|
|
13125
|
+
amountMinor: number;
|
|
12473
13126
|
currency: "gbp";
|
|
12474
13127
|
ownerKey: "becca" | "nikos";
|
|
12475
13128
|
kind: "advance" | "repayment" | "increaseAdjustment" | "decreaseAdjustment";
|
|
12476
|
-
amountMinor: number;
|
|
12477
13129
|
note: string | null;
|
|
12478
13130
|
occurredAt: string;
|
|
12479
13131
|
externalReference: string;
|
|
@@ -12491,11 +13143,11 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
|
|
|
12491
13143
|
id: string;
|
|
12492
13144
|
createdAt: string;
|
|
12493
13145
|
source: "manual" | "stripePlatformPayout" | "residualSettlement";
|
|
12494
|
-
mode: "
|
|
13146
|
+
mode: "live" | "sandbox";
|
|
13147
|
+
amountMinor: number;
|
|
12495
13148
|
currency: "gbp";
|
|
12496
13149
|
ownerKey: "becca" | "nikos";
|
|
12497
13150
|
kind: "advance" | "repayment" | "increaseAdjustment" | "decreaseAdjustment";
|
|
12498
|
-
amountMinor: number;
|
|
12499
13151
|
note: string | null;
|
|
12500
13152
|
occurredAt: string;
|
|
12501
13153
|
externalReference: string;
|
|
@@ -12513,11 +13165,11 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
|
|
|
12513
13165
|
id: string;
|
|
12514
13166
|
createdAt: string;
|
|
12515
13167
|
source: "manual" | "stripePlatformPayout" | "residualSettlement";
|
|
12516
|
-
mode: "
|
|
13168
|
+
mode: "live" | "sandbox";
|
|
13169
|
+
amountMinor: number;
|
|
12517
13170
|
currency: "gbp";
|
|
12518
13171
|
ownerKey: "becca" | "nikos";
|
|
12519
13172
|
kind: "advance" | "repayment" | "increaseAdjustment" | "decreaseAdjustment";
|
|
12520
|
-
amountMinor: number;
|
|
12521
13173
|
note: string | null;
|
|
12522
13174
|
occurredAt: string;
|
|
12523
13175
|
externalReference: string;
|
|
@@ -12529,11 +13181,11 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
|
|
|
12529
13181
|
ownerKey: z.ZodEnum<["becca", "nikos"]>;
|
|
12530
13182
|
amountMinor: z.ZodNumber;
|
|
12531
13183
|
}, "strip", z.ZodTypeAny, {
|
|
12532
|
-
ownerKey: "becca" | "nikos";
|
|
12533
13184
|
amountMinor: number;
|
|
12534
|
-
}, {
|
|
12535
13185
|
ownerKey: "becca" | "nikos";
|
|
13186
|
+
}, {
|
|
12536
13187
|
amountMinor: number;
|
|
13188
|
+
ownerKey: "becca" | "nikos";
|
|
12537
13189
|
}>, "many">;
|
|
12538
13190
|
distributableAmountMinor: z.ZodNumber;
|
|
12539
13191
|
ownerDistributions: z.ZodArray<z.ZodObject<{
|
|
@@ -12541,13 +13193,13 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
|
|
|
12541
13193
|
percentageBasisPoints: z.ZodNumber;
|
|
12542
13194
|
amountMinor: z.ZodNumber;
|
|
12543
13195
|
}, "strip", z.ZodTypeAny, {
|
|
13196
|
+
amountMinor: number;
|
|
12544
13197
|
percentageBasisPoints: number;
|
|
12545
13198
|
ownerKey: "becca" | "nikos";
|
|
12546
|
-
amountMinor: number;
|
|
12547
13199
|
}, {
|
|
13200
|
+
amountMinor: number;
|
|
12548
13201
|
percentageBasisPoints: number;
|
|
12549
13202
|
ownerKey: "becca" | "nikos";
|
|
12550
|
-
amountMinor: number;
|
|
12551
13203
|
}>, "many">;
|
|
12552
13204
|
totalTransferAmountMinor: z.ZodNumber;
|
|
12553
13205
|
previewToken: z.ZodString;
|
|
@@ -12556,13 +13208,13 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
|
|
|
12556
13208
|
surplusAmountMinor: number;
|
|
12557
13209
|
distributableAmountMinor: number;
|
|
12558
13210
|
advanceRepayments: {
|
|
12559
|
-
ownerKey: "becca" | "nikos";
|
|
12560
13211
|
amountMinor: number;
|
|
13212
|
+
ownerKey: "becca" | "nikos";
|
|
12561
13213
|
}[];
|
|
12562
13214
|
ownerDistributions: {
|
|
13215
|
+
amountMinor: number;
|
|
12563
13216
|
percentageBasisPoints: number;
|
|
12564
13217
|
ownerKey: "becca" | "nikos";
|
|
12565
|
-
amountMinor: number;
|
|
12566
13218
|
}[];
|
|
12567
13219
|
totalTransferAmountMinor: number;
|
|
12568
13220
|
}, {
|
|
@@ -12570,13 +13222,13 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
|
|
|
12570
13222
|
surplusAmountMinor: number;
|
|
12571
13223
|
distributableAmountMinor: number;
|
|
12572
13224
|
advanceRepayments: {
|
|
12573
|
-
ownerKey: "becca" | "nikos";
|
|
12574
13225
|
amountMinor: number;
|
|
13226
|
+
ownerKey: "becca" | "nikos";
|
|
12575
13227
|
}[];
|
|
12576
13228
|
ownerDistributions: {
|
|
13229
|
+
amountMinor: number;
|
|
12577
13230
|
percentageBasisPoints: number;
|
|
12578
13231
|
ownerKey: "becca" | "nikos";
|
|
12579
|
-
amountMinor: number;
|
|
12580
13232
|
}[];
|
|
12581
13233
|
totalTransferAmountMinor: number;
|
|
12582
13234
|
}>;
|
|
@@ -12610,18 +13262,18 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
|
|
|
12610
13262
|
}, "strip", z.ZodTypeAny, {
|
|
12611
13263
|
status: "planned" | "completed" | "failed";
|
|
12612
13264
|
id: string;
|
|
13265
|
+
amountMinor: number;
|
|
12613
13266
|
percentageBasisPoints: number | null;
|
|
12614
13267
|
ownerKey: "becca" | "nikos";
|
|
12615
|
-
amountMinor: number;
|
|
12616
13268
|
purpose: "advanceRepayment" | "ownerDistribution";
|
|
12617
13269
|
hasStripeTransfer: boolean;
|
|
12618
13270
|
failureCode: string | null;
|
|
12619
13271
|
}, {
|
|
12620
13272
|
status: "planned" | "completed" | "failed";
|
|
12621
13273
|
id: string;
|
|
13274
|
+
amountMinor: number;
|
|
12622
13275
|
percentageBasisPoints: number | null;
|
|
12623
13276
|
ownerKey: "becca" | "nikos";
|
|
12624
|
-
amountMinor: number;
|
|
12625
13277
|
purpose: "advanceRepayment" | "ownerDistribution";
|
|
12626
13278
|
hasStripeTransfer: boolean;
|
|
12627
13279
|
failureCode: string | null;
|
|
@@ -12630,7 +13282,7 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
|
|
|
12630
13282
|
status: "canceled" | "planned" | "executing" | "completed" | "failed";
|
|
12631
13283
|
id: string;
|
|
12632
13284
|
createdAt: string;
|
|
12633
|
-
mode: "
|
|
13285
|
+
mode: "live" | "sandbox";
|
|
12634
13286
|
currency: "gbp";
|
|
12635
13287
|
failureCode: string | null;
|
|
12636
13288
|
trigger: "owner" | "balanceAvailable" | "scheduled";
|
|
@@ -12645,9 +13297,9 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
|
|
|
12645
13297
|
transfers: {
|
|
12646
13298
|
status: "planned" | "completed" | "failed";
|
|
12647
13299
|
id: string;
|
|
13300
|
+
amountMinor: number;
|
|
12648
13301
|
percentageBasisPoints: number | null;
|
|
12649
13302
|
ownerKey: "becca" | "nikos";
|
|
12650
|
-
amountMinor: number;
|
|
12651
13303
|
purpose: "advanceRepayment" | "ownerDistribution";
|
|
12652
13304
|
hasStripeTransfer: boolean;
|
|
12653
13305
|
failureCode: string | null;
|
|
@@ -12656,7 +13308,7 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
|
|
|
12656
13308
|
status: "canceled" | "planned" | "executing" | "completed" | "failed";
|
|
12657
13309
|
id: string;
|
|
12658
13310
|
createdAt: string;
|
|
12659
|
-
mode: "
|
|
13311
|
+
mode: "live" | "sandbox";
|
|
12660
13312
|
currency: "gbp";
|
|
12661
13313
|
failureCode: string | null;
|
|
12662
13314
|
trigger: "owner" | "balanceAvailable" | "scheduled";
|
|
@@ -12671,9 +13323,9 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
|
|
|
12671
13323
|
transfers: {
|
|
12672
13324
|
status: "planned" | "completed" | "failed";
|
|
12673
13325
|
id: string;
|
|
13326
|
+
amountMinor: number;
|
|
12674
13327
|
percentageBasisPoints: number | null;
|
|
12675
13328
|
ownerKey: "becca" | "nikos";
|
|
12676
|
-
amountMinor: number;
|
|
12677
13329
|
purpose: "advanceRepayment" | "ownerDistribution";
|
|
12678
13330
|
hasStripeTransfer: boolean;
|
|
12679
13331
|
failureCode: string | null;
|
|
@@ -12707,18 +13359,18 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
|
|
|
12707
13359
|
}, "strip", z.ZodTypeAny, {
|
|
12708
13360
|
status: "planned" | "completed" | "failed";
|
|
12709
13361
|
id: string;
|
|
13362
|
+
amountMinor: number;
|
|
12710
13363
|
percentageBasisPoints: number | null;
|
|
12711
13364
|
ownerKey: "becca" | "nikos";
|
|
12712
|
-
amountMinor: number;
|
|
12713
13365
|
purpose: "advanceRepayment" | "ownerDistribution";
|
|
12714
13366
|
hasStripeTransfer: boolean;
|
|
12715
13367
|
failureCode: string | null;
|
|
12716
13368
|
}, {
|
|
12717
13369
|
status: "planned" | "completed" | "failed";
|
|
12718
13370
|
id: string;
|
|
13371
|
+
amountMinor: number;
|
|
12719
13372
|
percentageBasisPoints: number | null;
|
|
12720
13373
|
ownerKey: "becca" | "nikos";
|
|
12721
|
-
amountMinor: number;
|
|
12722
13374
|
purpose: "advanceRepayment" | "ownerDistribution";
|
|
12723
13375
|
hasStripeTransfer: boolean;
|
|
12724
13376
|
failureCode: string | null;
|
|
@@ -12727,7 +13379,7 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
|
|
|
12727
13379
|
status: "canceled" | "planned" | "executing" | "completed" | "failed";
|
|
12728
13380
|
id: string;
|
|
12729
13381
|
createdAt: string;
|
|
12730
|
-
mode: "
|
|
13382
|
+
mode: "live" | "sandbox";
|
|
12731
13383
|
currency: "gbp";
|
|
12732
13384
|
failureCode: string | null;
|
|
12733
13385
|
trigger: "owner" | "balanceAvailable" | "scheduled";
|
|
@@ -12742,9 +13394,9 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
|
|
|
12742
13394
|
transfers: {
|
|
12743
13395
|
status: "planned" | "completed" | "failed";
|
|
12744
13396
|
id: string;
|
|
13397
|
+
amountMinor: number;
|
|
12745
13398
|
percentageBasisPoints: number | null;
|
|
12746
13399
|
ownerKey: "becca" | "nikos";
|
|
12747
|
-
amountMinor: number;
|
|
12748
13400
|
purpose: "advanceRepayment" | "ownerDistribution";
|
|
12749
13401
|
hasStripeTransfer: boolean;
|
|
12750
13402
|
failureCode: string | null;
|
|
@@ -12753,7 +13405,7 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
|
|
|
12753
13405
|
status: "canceled" | "planned" | "executing" | "completed" | "failed";
|
|
12754
13406
|
id: string;
|
|
12755
13407
|
createdAt: string;
|
|
12756
|
-
mode: "
|
|
13408
|
+
mode: "live" | "sandbox";
|
|
12757
13409
|
currency: "gbp";
|
|
12758
13410
|
failureCode: string | null;
|
|
12759
13411
|
trigger: "owner" | "balanceAvailable" | "scheduled";
|
|
@@ -12768,16 +13420,16 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
|
|
|
12768
13420
|
transfers: {
|
|
12769
13421
|
status: "planned" | "completed" | "failed";
|
|
12770
13422
|
id: string;
|
|
13423
|
+
amountMinor: number;
|
|
12771
13424
|
percentageBasisPoints: number | null;
|
|
12772
13425
|
ownerKey: "becca" | "nikos";
|
|
12773
|
-
amountMinor: number;
|
|
12774
13426
|
purpose: "advanceRepayment" | "ownerDistribution";
|
|
12775
13427
|
hasStripeTransfer: boolean;
|
|
12776
13428
|
failureCode: string | null;
|
|
12777
13429
|
}[];
|
|
12778
13430
|
}>, "many">;
|
|
12779
13431
|
}, "strip", z.ZodTypeAny, {
|
|
12780
|
-
mode: "
|
|
13432
|
+
mode: "live" | "sandbox";
|
|
12781
13433
|
generatedAt: string;
|
|
12782
13434
|
currency: "gbp";
|
|
12783
13435
|
configuration: {
|
|
@@ -12806,11 +13458,11 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
|
|
|
12806
13458
|
id: string;
|
|
12807
13459
|
createdAt: string;
|
|
12808
13460
|
source: "manual" | "stripePlatformPayout" | "residualSettlement";
|
|
12809
|
-
mode: "
|
|
13461
|
+
mode: "live" | "sandbox";
|
|
13462
|
+
amountMinor: number;
|
|
12810
13463
|
currency: "gbp";
|
|
12811
13464
|
ownerKey: "becca" | "nikos";
|
|
12812
13465
|
kind: "advance" | "repayment" | "increaseAdjustment" | "decreaseAdjustment";
|
|
12813
|
-
amountMinor: number;
|
|
12814
13466
|
note: string | null;
|
|
12815
13467
|
occurredAt: string;
|
|
12816
13468
|
externalReference: string;
|
|
@@ -12821,13 +13473,13 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
|
|
|
12821
13473
|
surplusAmountMinor: number;
|
|
12822
13474
|
distributableAmountMinor: number;
|
|
12823
13475
|
advanceRepayments: {
|
|
12824
|
-
ownerKey: "becca" | "nikos";
|
|
12825
13476
|
amountMinor: number;
|
|
13477
|
+
ownerKey: "becca" | "nikos";
|
|
12826
13478
|
}[];
|
|
12827
13479
|
ownerDistributions: {
|
|
13480
|
+
amountMinor: number;
|
|
12828
13481
|
percentageBasisPoints: number;
|
|
12829
13482
|
ownerKey: "becca" | "nikos";
|
|
12830
|
-
amountMinor: number;
|
|
12831
13483
|
}[];
|
|
12832
13484
|
totalTransferAmountMinor: number;
|
|
12833
13485
|
};
|
|
@@ -12837,7 +13489,7 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
|
|
|
12837
13489
|
status: "canceled" | "planned" | "executing" | "completed" | "failed";
|
|
12838
13490
|
id: string;
|
|
12839
13491
|
createdAt: string;
|
|
12840
|
-
mode: "
|
|
13492
|
+
mode: "live" | "sandbox";
|
|
12841
13493
|
currency: "gbp";
|
|
12842
13494
|
failureCode: string | null;
|
|
12843
13495
|
trigger: "owner" | "balanceAvailable" | "scheduled";
|
|
@@ -12852,9 +13504,9 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
|
|
|
12852
13504
|
transfers: {
|
|
12853
13505
|
status: "planned" | "completed" | "failed";
|
|
12854
13506
|
id: string;
|
|
13507
|
+
amountMinor: number;
|
|
12855
13508
|
percentageBasisPoints: number | null;
|
|
12856
13509
|
ownerKey: "becca" | "nikos";
|
|
12857
|
-
amountMinor: number;
|
|
12858
13510
|
purpose: "advanceRepayment" | "ownerDistribution";
|
|
12859
13511
|
hasStripeTransfer: boolean;
|
|
12860
13512
|
failureCode: string | null;
|
|
@@ -12864,7 +13516,7 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
|
|
|
12864
13516
|
status: "canceled" | "planned" | "executing" | "completed" | "failed";
|
|
12865
13517
|
id: string;
|
|
12866
13518
|
createdAt: string;
|
|
12867
|
-
mode: "
|
|
13519
|
+
mode: "live" | "sandbox";
|
|
12868
13520
|
currency: "gbp";
|
|
12869
13521
|
failureCode: string | null;
|
|
12870
13522
|
trigger: "owner" | "balanceAvailable" | "scheduled";
|
|
@@ -12879,16 +13531,16 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
|
|
|
12879
13531
|
transfers: {
|
|
12880
13532
|
status: "planned" | "completed" | "failed";
|
|
12881
13533
|
id: string;
|
|
13534
|
+
amountMinor: number;
|
|
12882
13535
|
percentageBasisPoints: number | null;
|
|
12883
13536
|
ownerKey: "becca" | "nikos";
|
|
12884
|
-
amountMinor: number;
|
|
12885
13537
|
purpose: "advanceRepayment" | "ownerDistribution";
|
|
12886
13538
|
hasStripeTransfer: boolean;
|
|
12887
13539
|
failureCode: string | null;
|
|
12888
13540
|
}[];
|
|
12889
13541
|
}[];
|
|
12890
13542
|
}, {
|
|
12891
|
-
mode: "
|
|
13543
|
+
mode: "live" | "sandbox";
|
|
12892
13544
|
generatedAt: string;
|
|
12893
13545
|
currency: "gbp";
|
|
12894
13546
|
configuration: {
|
|
@@ -12917,11 +13569,11 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
|
|
|
12917
13569
|
id: string;
|
|
12918
13570
|
createdAt: string;
|
|
12919
13571
|
source: "manual" | "stripePlatformPayout" | "residualSettlement";
|
|
12920
|
-
mode: "
|
|
13572
|
+
mode: "live" | "sandbox";
|
|
13573
|
+
amountMinor: number;
|
|
12921
13574
|
currency: "gbp";
|
|
12922
13575
|
ownerKey: "becca" | "nikos";
|
|
12923
13576
|
kind: "advance" | "repayment" | "increaseAdjustment" | "decreaseAdjustment";
|
|
12924
|
-
amountMinor: number;
|
|
12925
13577
|
note: string | null;
|
|
12926
13578
|
occurredAt: string;
|
|
12927
13579
|
externalReference: string;
|
|
@@ -12932,13 +13584,13 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
|
|
|
12932
13584
|
surplusAmountMinor: number;
|
|
12933
13585
|
distributableAmountMinor: number;
|
|
12934
13586
|
advanceRepayments: {
|
|
12935
|
-
ownerKey: "becca" | "nikos";
|
|
12936
13587
|
amountMinor: number;
|
|
13588
|
+
ownerKey: "becca" | "nikos";
|
|
12937
13589
|
}[];
|
|
12938
13590
|
ownerDistributions: {
|
|
13591
|
+
amountMinor: number;
|
|
12939
13592
|
percentageBasisPoints: number;
|
|
12940
13593
|
ownerKey: "becca" | "nikos";
|
|
12941
|
-
amountMinor: number;
|
|
12942
13594
|
}[];
|
|
12943
13595
|
totalTransferAmountMinor: number;
|
|
12944
13596
|
};
|
|
@@ -12948,7 +13600,7 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
|
|
|
12948
13600
|
status: "canceled" | "planned" | "executing" | "completed" | "failed";
|
|
12949
13601
|
id: string;
|
|
12950
13602
|
createdAt: string;
|
|
12951
|
-
mode: "
|
|
13603
|
+
mode: "live" | "sandbox";
|
|
12952
13604
|
currency: "gbp";
|
|
12953
13605
|
failureCode: string | null;
|
|
12954
13606
|
trigger: "owner" | "balanceAvailable" | "scheduled";
|
|
@@ -12963,9 +13615,9 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
|
|
|
12963
13615
|
transfers: {
|
|
12964
13616
|
status: "planned" | "completed" | "failed";
|
|
12965
13617
|
id: string;
|
|
13618
|
+
amountMinor: number;
|
|
12966
13619
|
percentageBasisPoints: number | null;
|
|
12967
13620
|
ownerKey: "becca" | "nikos";
|
|
12968
|
-
amountMinor: number;
|
|
12969
13621
|
purpose: "advanceRepayment" | "ownerDistribution";
|
|
12970
13622
|
hasStripeTransfer: boolean;
|
|
12971
13623
|
failureCode: string | null;
|
|
@@ -12975,7 +13627,7 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
|
|
|
12975
13627
|
status: "canceled" | "planned" | "executing" | "completed" | "failed";
|
|
12976
13628
|
id: string;
|
|
12977
13629
|
createdAt: string;
|
|
12978
|
-
mode: "
|
|
13630
|
+
mode: "live" | "sandbox";
|
|
12979
13631
|
currency: "gbp";
|
|
12980
13632
|
failureCode: string | null;
|
|
12981
13633
|
trigger: "owner" | "balanceAvailable" | "scheduled";
|
|
@@ -12990,9 +13642,9 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
|
|
|
12990
13642
|
transfers: {
|
|
12991
13643
|
status: "planned" | "completed" | "failed";
|
|
12992
13644
|
id: string;
|
|
13645
|
+
amountMinor: number;
|
|
12993
13646
|
percentageBasisPoints: number | null;
|
|
12994
13647
|
ownerKey: "becca" | "nikos";
|
|
12995
|
-
amountMinor: number;
|
|
12996
13648
|
purpose: "advanceRepayment" | "ownerDistribution";
|
|
12997
13649
|
hasStripeTransfer: boolean;
|
|
12998
13650
|
failureCode: string | null;
|
|
@@ -13018,11 +13670,11 @@ export declare const adminStripeOwnerFundingEntryResponseSchema: z.ZodObject<{
|
|
|
13018
13670
|
id: string;
|
|
13019
13671
|
createdAt: string;
|
|
13020
13672
|
source: "manual" | "stripePlatformPayout" | "residualSettlement";
|
|
13021
|
-
mode: "
|
|
13673
|
+
mode: "live" | "sandbox";
|
|
13674
|
+
amountMinor: number;
|
|
13022
13675
|
currency: "gbp";
|
|
13023
13676
|
ownerKey: "becca" | "nikos";
|
|
13024
13677
|
kind: "advance" | "repayment" | "increaseAdjustment" | "decreaseAdjustment";
|
|
13025
|
-
amountMinor: number;
|
|
13026
13678
|
note: string | null;
|
|
13027
13679
|
occurredAt: string;
|
|
13028
13680
|
externalReference: string;
|
|
@@ -13031,11 +13683,11 @@ export declare const adminStripeOwnerFundingEntryResponseSchema: z.ZodObject<{
|
|
|
13031
13683
|
id: string;
|
|
13032
13684
|
createdAt: string;
|
|
13033
13685
|
source: "manual" | "stripePlatformPayout" | "residualSettlement";
|
|
13034
|
-
mode: "
|
|
13686
|
+
mode: "live" | "sandbox";
|
|
13687
|
+
amountMinor: number;
|
|
13035
13688
|
currency: "gbp";
|
|
13036
13689
|
ownerKey: "becca" | "nikos";
|
|
13037
13690
|
kind: "advance" | "repayment" | "increaseAdjustment" | "decreaseAdjustment";
|
|
13038
|
-
amountMinor: number;
|
|
13039
13691
|
note: string | null;
|
|
13040
13692
|
occurredAt: string;
|
|
13041
13693
|
externalReference: string;
|
|
@@ -13046,11 +13698,11 @@ export declare const adminStripeOwnerFundingEntryResponseSchema: z.ZodObject<{
|
|
|
13046
13698
|
id: string;
|
|
13047
13699
|
createdAt: string;
|
|
13048
13700
|
source: "manual" | "stripePlatformPayout" | "residualSettlement";
|
|
13049
|
-
mode: "
|
|
13701
|
+
mode: "live" | "sandbox";
|
|
13702
|
+
amountMinor: number;
|
|
13050
13703
|
currency: "gbp";
|
|
13051
13704
|
ownerKey: "becca" | "nikos";
|
|
13052
13705
|
kind: "advance" | "repayment" | "increaseAdjustment" | "decreaseAdjustment";
|
|
13053
|
-
amountMinor: number;
|
|
13054
13706
|
note: string | null;
|
|
13055
13707
|
occurredAt: string;
|
|
13056
13708
|
externalReference: string;
|
|
@@ -13061,11 +13713,11 @@ export declare const adminStripeOwnerFundingEntryResponseSchema: z.ZodObject<{
|
|
|
13061
13713
|
id: string;
|
|
13062
13714
|
createdAt: string;
|
|
13063
13715
|
source: "manual" | "stripePlatformPayout" | "residualSettlement";
|
|
13064
|
-
mode: "
|
|
13716
|
+
mode: "live" | "sandbox";
|
|
13717
|
+
amountMinor: number;
|
|
13065
13718
|
currency: "gbp";
|
|
13066
13719
|
ownerKey: "becca" | "nikos";
|
|
13067
13720
|
kind: "advance" | "repayment" | "increaseAdjustment" | "decreaseAdjustment";
|
|
13068
|
-
amountMinor: number;
|
|
13069
13721
|
note: string | null;
|
|
13070
13722
|
occurredAt: string;
|
|
13071
13723
|
externalReference: string;
|
|
@@ -13100,18 +13752,18 @@ export declare const adminStripeResidualSettlementExecutionResponseSchema: z.Zod
|
|
|
13100
13752
|
}, "strip", z.ZodTypeAny, {
|
|
13101
13753
|
status: "planned" | "completed" | "failed";
|
|
13102
13754
|
id: string;
|
|
13755
|
+
amountMinor: number;
|
|
13103
13756
|
percentageBasisPoints: number | null;
|
|
13104
13757
|
ownerKey: "becca" | "nikos";
|
|
13105
|
-
amountMinor: number;
|
|
13106
13758
|
purpose: "advanceRepayment" | "ownerDistribution";
|
|
13107
13759
|
hasStripeTransfer: boolean;
|
|
13108
13760
|
failureCode: string | null;
|
|
13109
13761
|
}, {
|
|
13110
13762
|
status: "planned" | "completed" | "failed";
|
|
13111
13763
|
id: string;
|
|
13764
|
+
amountMinor: number;
|
|
13112
13765
|
percentageBasisPoints: number | null;
|
|
13113
13766
|
ownerKey: "becca" | "nikos";
|
|
13114
|
-
amountMinor: number;
|
|
13115
13767
|
purpose: "advanceRepayment" | "ownerDistribution";
|
|
13116
13768
|
hasStripeTransfer: boolean;
|
|
13117
13769
|
failureCode: string | null;
|
|
@@ -13120,7 +13772,7 @@ export declare const adminStripeResidualSettlementExecutionResponseSchema: z.Zod
|
|
|
13120
13772
|
status: "canceled" | "planned" | "executing" | "completed" | "failed";
|
|
13121
13773
|
id: string;
|
|
13122
13774
|
createdAt: string;
|
|
13123
|
-
mode: "
|
|
13775
|
+
mode: "live" | "sandbox";
|
|
13124
13776
|
currency: "gbp";
|
|
13125
13777
|
failureCode: string | null;
|
|
13126
13778
|
trigger: "owner" | "balanceAvailable" | "scheduled";
|
|
@@ -13135,9 +13787,9 @@ export declare const adminStripeResidualSettlementExecutionResponseSchema: z.Zod
|
|
|
13135
13787
|
transfers: {
|
|
13136
13788
|
status: "planned" | "completed" | "failed";
|
|
13137
13789
|
id: string;
|
|
13790
|
+
amountMinor: number;
|
|
13138
13791
|
percentageBasisPoints: number | null;
|
|
13139
13792
|
ownerKey: "becca" | "nikos";
|
|
13140
|
-
amountMinor: number;
|
|
13141
13793
|
purpose: "advanceRepayment" | "ownerDistribution";
|
|
13142
13794
|
hasStripeTransfer: boolean;
|
|
13143
13795
|
failureCode: string | null;
|
|
@@ -13146,7 +13798,7 @@ export declare const adminStripeResidualSettlementExecutionResponseSchema: z.Zod
|
|
|
13146
13798
|
status: "canceled" | "planned" | "executing" | "completed" | "failed";
|
|
13147
13799
|
id: string;
|
|
13148
13800
|
createdAt: string;
|
|
13149
|
-
mode: "
|
|
13801
|
+
mode: "live" | "sandbox";
|
|
13150
13802
|
currency: "gbp";
|
|
13151
13803
|
failureCode: string | null;
|
|
13152
13804
|
trigger: "owner" | "balanceAvailable" | "scheduled";
|
|
@@ -13161,9 +13813,9 @@ export declare const adminStripeResidualSettlementExecutionResponseSchema: z.Zod
|
|
|
13161
13813
|
transfers: {
|
|
13162
13814
|
status: "planned" | "completed" | "failed";
|
|
13163
13815
|
id: string;
|
|
13816
|
+
amountMinor: number;
|
|
13164
13817
|
percentageBasisPoints: number | null;
|
|
13165
13818
|
ownerKey: "becca" | "nikos";
|
|
13166
|
-
amountMinor: number;
|
|
13167
13819
|
purpose: "advanceRepayment" | "ownerDistribution";
|
|
13168
13820
|
hasStripeTransfer: boolean;
|
|
13169
13821
|
failureCode: string | null;
|
|
@@ -13174,7 +13826,7 @@ export declare const adminStripeResidualSettlementExecutionResponseSchema: z.Zod
|
|
|
13174
13826
|
status: "canceled" | "planned" | "executing" | "completed" | "failed";
|
|
13175
13827
|
id: string;
|
|
13176
13828
|
createdAt: string;
|
|
13177
|
-
mode: "
|
|
13829
|
+
mode: "live" | "sandbox";
|
|
13178
13830
|
currency: "gbp";
|
|
13179
13831
|
failureCode: string | null;
|
|
13180
13832
|
trigger: "owner" | "balanceAvailable" | "scheduled";
|
|
@@ -13189,9 +13841,9 @@ export declare const adminStripeResidualSettlementExecutionResponseSchema: z.Zod
|
|
|
13189
13841
|
transfers: {
|
|
13190
13842
|
status: "planned" | "completed" | "failed";
|
|
13191
13843
|
id: string;
|
|
13844
|
+
amountMinor: number;
|
|
13192
13845
|
percentageBasisPoints: number | null;
|
|
13193
13846
|
ownerKey: "becca" | "nikos";
|
|
13194
|
-
amountMinor: number;
|
|
13195
13847
|
purpose: "advanceRepayment" | "ownerDistribution";
|
|
13196
13848
|
hasStripeTransfer: boolean;
|
|
13197
13849
|
failureCode: string | null;
|
|
@@ -13202,7 +13854,7 @@ export declare const adminStripeResidualSettlementExecutionResponseSchema: z.Zod
|
|
|
13202
13854
|
status: "canceled" | "planned" | "executing" | "completed" | "failed";
|
|
13203
13855
|
id: string;
|
|
13204
13856
|
createdAt: string;
|
|
13205
|
-
mode: "
|
|
13857
|
+
mode: "live" | "sandbox";
|
|
13206
13858
|
currency: "gbp";
|
|
13207
13859
|
failureCode: string | null;
|
|
13208
13860
|
trigger: "owner" | "balanceAvailable" | "scheduled";
|
|
@@ -13217,9 +13869,9 @@ export declare const adminStripeResidualSettlementExecutionResponseSchema: z.Zod
|
|
|
13217
13869
|
transfers: {
|
|
13218
13870
|
status: "planned" | "completed" | "failed";
|
|
13219
13871
|
id: string;
|
|
13872
|
+
amountMinor: number;
|
|
13220
13873
|
percentageBasisPoints: number | null;
|
|
13221
13874
|
ownerKey: "becca" | "nikos";
|
|
13222
|
-
amountMinor: number;
|
|
13223
13875
|
purpose: "advanceRepayment" | "ownerDistribution";
|
|
13224
13876
|
hasStripeTransfer: boolean;
|
|
13225
13877
|
failureCode: string | null;
|