@nikthegeek/dreamsforlittles-shared 0.1.1 → 0.1.3

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/admin.d.ts CHANGED
@@ -105,6 +105,220 @@ export declare const updateAdminFamilyTimeZoneRequestSchema: z.ZodObject<{
105
105
  }, {
106
106
  timeZone: string | null;
107
107
  }>;
108
+ export declare const adminActiveTimerCountsSchema: z.ZodObject<{
109
+ total: z.ZodNumber;
110
+ sleep: z.ZodNumber;
111
+ breastfeed: z.ZodNumber;
112
+ pumping: z.ZodNumber;
113
+ }, "strip", z.ZodTypeAny, {
114
+ total: number;
115
+ sleep: number;
116
+ breastfeed: number;
117
+ pumping: number;
118
+ }, {
119
+ total: number;
120
+ sleep: number;
121
+ breastfeed: number;
122
+ pumping: number;
123
+ }>;
124
+ export declare const adminActiveTimerSchema: z.ZodObject<{
125
+ id: z.ZodString;
126
+ activityType: z.ZodEnum<["breastfeed", "sleep", "pumping"]>;
127
+ startedAt: z.ZodString;
128
+ timeZone: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
129
+ localDate: z.ZodNullable<z.ZodString>;
130
+ updatedAt: z.ZodString;
131
+ family: z.ZodObject<{
132
+ id: z.ZodString;
133
+ name: z.ZodString;
134
+ email: z.ZodString;
135
+ }, "strip", z.ZodTypeAny, {
136
+ id: string;
137
+ email: string;
138
+ name: string;
139
+ }, {
140
+ id: string;
141
+ email: string;
142
+ name: string;
143
+ }>;
144
+ baby: z.ZodObject<{
145
+ id: z.ZodString;
146
+ name: z.ZodString;
147
+ }, "strip", z.ZodTypeAny, {
148
+ id: string;
149
+ name: string;
150
+ }, {
151
+ id: string;
152
+ name: string;
153
+ }>;
154
+ }, "strip", z.ZodTypeAny, {
155
+ family: {
156
+ id: string;
157
+ email: string;
158
+ name: string;
159
+ };
160
+ id: string;
161
+ timeZone: string | null;
162
+ startedAt: string;
163
+ updatedAt: string;
164
+ activityType: "sleep" | "breastfeed" | "pumping";
165
+ localDate: string | null;
166
+ baby: {
167
+ id: string;
168
+ name: string;
169
+ };
170
+ }, {
171
+ family: {
172
+ id: string;
173
+ email: string;
174
+ name: string;
175
+ };
176
+ id: string;
177
+ timeZone: string | null;
178
+ startedAt: string;
179
+ updatedAt: string;
180
+ activityType: "sleep" | "breastfeed" | "pumping";
181
+ localDate: string | null;
182
+ baby: {
183
+ id: string;
184
+ name: string;
185
+ };
186
+ }>;
187
+ export declare const adminActiveTimersResponseSchema: z.ZodObject<{
188
+ activeTimers: z.ZodArray<z.ZodObject<{
189
+ id: z.ZodString;
190
+ activityType: z.ZodEnum<["breastfeed", "sleep", "pumping"]>;
191
+ startedAt: z.ZodString;
192
+ timeZone: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
193
+ localDate: z.ZodNullable<z.ZodString>;
194
+ updatedAt: z.ZodString;
195
+ family: z.ZodObject<{
196
+ id: z.ZodString;
197
+ name: z.ZodString;
198
+ email: z.ZodString;
199
+ }, "strip", z.ZodTypeAny, {
200
+ id: string;
201
+ email: string;
202
+ name: string;
203
+ }, {
204
+ id: string;
205
+ email: string;
206
+ name: string;
207
+ }>;
208
+ baby: z.ZodObject<{
209
+ id: z.ZodString;
210
+ name: z.ZodString;
211
+ }, "strip", z.ZodTypeAny, {
212
+ id: string;
213
+ name: string;
214
+ }, {
215
+ id: string;
216
+ name: string;
217
+ }>;
218
+ }, "strip", z.ZodTypeAny, {
219
+ family: {
220
+ id: string;
221
+ email: string;
222
+ name: string;
223
+ };
224
+ id: string;
225
+ timeZone: string | null;
226
+ startedAt: string;
227
+ updatedAt: string;
228
+ activityType: "sleep" | "breastfeed" | "pumping";
229
+ localDate: string | null;
230
+ baby: {
231
+ id: string;
232
+ name: string;
233
+ };
234
+ }, {
235
+ family: {
236
+ id: string;
237
+ email: string;
238
+ name: string;
239
+ };
240
+ id: string;
241
+ timeZone: string | null;
242
+ startedAt: string;
243
+ updatedAt: string;
244
+ activityType: "sleep" | "breastfeed" | "pumping";
245
+ localDate: string | null;
246
+ baby: {
247
+ id: string;
248
+ name: string;
249
+ };
250
+ }>, "many">;
251
+ counts: z.ZodObject<{
252
+ total: z.ZodNumber;
253
+ sleep: z.ZodNumber;
254
+ breastfeed: z.ZodNumber;
255
+ pumping: z.ZodNumber;
256
+ }, "strip", z.ZodTypeAny, {
257
+ total: number;
258
+ sleep: number;
259
+ breastfeed: number;
260
+ pumping: number;
261
+ }, {
262
+ total: number;
263
+ sleep: number;
264
+ breastfeed: number;
265
+ pumping: number;
266
+ }>;
267
+ generatedAt: z.ZodString;
268
+ truncated: z.ZodBoolean;
269
+ }, "strip", z.ZodTypeAny, {
270
+ activeTimers: {
271
+ family: {
272
+ id: string;
273
+ email: string;
274
+ name: string;
275
+ };
276
+ id: string;
277
+ timeZone: string | null;
278
+ startedAt: string;
279
+ updatedAt: string;
280
+ activityType: "sleep" | "breastfeed" | "pumping";
281
+ localDate: string | null;
282
+ baby: {
283
+ id: string;
284
+ name: string;
285
+ };
286
+ }[];
287
+ counts: {
288
+ total: number;
289
+ sleep: number;
290
+ breastfeed: number;
291
+ pumping: number;
292
+ };
293
+ generatedAt: string;
294
+ truncated: boolean;
295
+ }, {
296
+ activeTimers: {
297
+ family: {
298
+ id: string;
299
+ email: string;
300
+ name: string;
301
+ };
302
+ id: string;
303
+ timeZone: string | null;
304
+ startedAt: string;
305
+ updatedAt: string;
306
+ activityType: "sleep" | "breastfeed" | "pumping";
307
+ localDate: string | null;
308
+ baby: {
309
+ id: string;
310
+ name: string;
311
+ };
312
+ }[];
313
+ counts: {
314
+ total: number;
315
+ sleep: number;
316
+ breastfeed: number;
317
+ pumping: number;
318
+ };
319
+ generatedAt: string;
320
+ truncated: boolean;
321
+ }>;
108
322
  export declare const adminCoachActivityQuerySchema: z.ZodObject<{
109
323
  organizationId: z.ZodString;
110
324
  since: z.ZodOptional<z.ZodString>;
@@ -7928,6 +8142,83 @@ export declare const adminAuditEventsResponseSchema: z.ZodObject<{
7928
8142
  metadata?: Record<string, unknown> | undefined;
7929
8143
  }[];
7930
8144
  }>;
8145
+ export declare const adminBillingCoachIntroductoryOfferSchema: z.ZodObject<{
8146
+ campaignId: z.ZodString;
8147
+ mode: z.ZodEnum<["live", "sandbox"]>;
8148
+ status: z.ZodEnum<["active", "ended", "refunded"]>;
8149
+ amountMinor: z.ZodNumber;
8150
+ currency: z.ZodString;
8151
+ paidAt: z.ZodString;
8152
+ endsAt: z.ZodNullable<z.ZodString>;
8153
+ willRenew: z.ZodBoolean;
8154
+ renewal: z.ZodObject<{
8155
+ cadence: z.ZodEnum<["monthly", "sixMonthly", "yearly"]>;
8156
+ amountMinor: z.ZodNumber;
8157
+ currency: z.ZodString;
8158
+ interval: z.ZodObject<{
8159
+ unit: z.ZodEnum<["month", "year"]>;
8160
+ count: z.ZodNumber;
8161
+ }, "strip", z.ZodTypeAny, {
8162
+ unit: "month" | "year";
8163
+ count: number;
8164
+ }, {
8165
+ unit: "month" | "year";
8166
+ count: number;
8167
+ }>;
8168
+ }, "strip", z.ZodTypeAny, {
8169
+ cadence: "monthly" | "sixMonthly" | "yearly";
8170
+ amountMinor: number;
8171
+ currency: string;
8172
+ interval: {
8173
+ unit: "month" | "year";
8174
+ count: number;
8175
+ };
8176
+ }, {
8177
+ cadence: "monthly" | "sixMonthly" | "yearly";
8178
+ amountMinor: number;
8179
+ currency: string;
8180
+ interval: {
8181
+ unit: "month" | "year";
8182
+ count: number;
8183
+ };
8184
+ }>;
8185
+ }, "strip", z.ZodTypeAny, {
8186
+ status: "active" | "ended" | "refunded";
8187
+ mode: "live" | "sandbox";
8188
+ endsAt: string | null;
8189
+ campaignId: string;
8190
+ amountMinor: number;
8191
+ currency: string;
8192
+ paidAt: string;
8193
+ willRenew: boolean;
8194
+ renewal: {
8195
+ cadence: "monthly" | "sixMonthly" | "yearly";
8196
+ amountMinor: number;
8197
+ currency: string;
8198
+ interval: {
8199
+ unit: "month" | "year";
8200
+ count: number;
8201
+ };
8202
+ };
8203
+ }, {
8204
+ status: "active" | "ended" | "refunded";
8205
+ mode: "live" | "sandbox";
8206
+ endsAt: string | null;
8207
+ campaignId: string;
8208
+ amountMinor: number;
8209
+ currency: string;
8210
+ paidAt: string;
8211
+ willRenew: boolean;
8212
+ renewal: {
8213
+ cadence: "monthly" | "sixMonthly" | "yearly";
8214
+ amountMinor: number;
8215
+ currency: string;
8216
+ interval: {
8217
+ unit: "month" | "year";
8218
+ count: number;
8219
+ };
8220
+ };
8221
+ }>;
7931
8222
  export declare const adminBillingCoachSubscriptionSchema: z.ZodObject<{
7932
8223
  id: z.ZodString;
7933
8224
  provider: z.ZodEnum<["manual", "stripe"]>;
@@ -7947,6 +8238,83 @@ export declare const adminBillingCoachSubscriptionSchema: z.ZodObject<{
7947
8238
  cadence: z.ZodOptional<z.ZodNullable<z.ZodEnum<["monthly", "sixMonthly", "yearly"]>>>;
7948
8239
  updatedAt: z.ZodString;
7949
8240
  estimatedMrrPence: z.ZodNullable<z.ZodNumber>;
8241
+ introductoryOffer: z.ZodNullable<z.ZodObject<{
8242
+ campaignId: z.ZodString;
8243
+ mode: z.ZodEnum<["live", "sandbox"]>;
8244
+ status: z.ZodEnum<["active", "ended", "refunded"]>;
8245
+ amountMinor: z.ZodNumber;
8246
+ currency: z.ZodString;
8247
+ paidAt: z.ZodString;
8248
+ endsAt: z.ZodNullable<z.ZodString>;
8249
+ willRenew: z.ZodBoolean;
8250
+ renewal: z.ZodObject<{
8251
+ cadence: z.ZodEnum<["monthly", "sixMonthly", "yearly"]>;
8252
+ amountMinor: z.ZodNumber;
8253
+ currency: z.ZodString;
8254
+ interval: z.ZodObject<{
8255
+ unit: z.ZodEnum<["month", "year"]>;
8256
+ count: z.ZodNumber;
8257
+ }, "strip", z.ZodTypeAny, {
8258
+ unit: "month" | "year";
8259
+ count: number;
8260
+ }, {
8261
+ unit: "month" | "year";
8262
+ count: number;
8263
+ }>;
8264
+ }, "strip", z.ZodTypeAny, {
8265
+ cadence: "monthly" | "sixMonthly" | "yearly";
8266
+ amountMinor: number;
8267
+ currency: string;
8268
+ interval: {
8269
+ unit: "month" | "year";
8270
+ count: number;
8271
+ };
8272
+ }, {
8273
+ cadence: "monthly" | "sixMonthly" | "yearly";
8274
+ amountMinor: number;
8275
+ currency: string;
8276
+ interval: {
8277
+ unit: "month" | "year";
8278
+ count: number;
8279
+ };
8280
+ }>;
8281
+ }, "strip", z.ZodTypeAny, {
8282
+ status: "active" | "ended" | "refunded";
8283
+ mode: "live" | "sandbox";
8284
+ endsAt: string | null;
8285
+ campaignId: string;
8286
+ amountMinor: number;
8287
+ currency: string;
8288
+ paidAt: string;
8289
+ willRenew: boolean;
8290
+ renewal: {
8291
+ cadence: "monthly" | "sixMonthly" | "yearly";
8292
+ amountMinor: number;
8293
+ currency: string;
8294
+ interval: {
8295
+ unit: "month" | "year";
8296
+ count: number;
8297
+ };
8298
+ };
8299
+ }, {
8300
+ status: "active" | "ended" | "refunded";
8301
+ mode: "live" | "sandbox";
8302
+ endsAt: string | null;
8303
+ campaignId: string;
8304
+ amountMinor: number;
8305
+ currency: string;
8306
+ paidAt: string;
8307
+ willRenew: boolean;
8308
+ renewal: {
8309
+ cadence: "monthly" | "sixMonthly" | "yearly";
8310
+ amountMinor: number;
8311
+ currency: string;
8312
+ interval: {
8313
+ unit: "month" | "year";
8314
+ count: number;
8315
+ };
8316
+ };
8317
+ }>>;
7950
8318
  }, "strip", z.ZodTypeAny, {
7951
8319
  status: "active" | "trialing" | "pastDue" | "suspended" | "canceled";
7952
8320
  id: string;
@@ -7954,6 +8322,25 @@ export declare const adminBillingCoachSubscriptionSchema: z.ZodObject<{
7954
8322
  maxFamilies: number;
7955
8323
  provider: "manual" | "stripe";
7956
8324
  estimatedMrrPence: number | null;
8325
+ introductoryOffer: {
8326
+ status: "active" | "ended" | "refunded";
8327
+ mode: "live" | "sandbox";
8328
+ endsAt: string | null;
8329
+ campaignId: string;
8330
+ amountMinor: number;
8331
+ currency: string;
8332
+ paidAt: string;
8333
+ willRenew: boolean;
8334
+ renewal: {
8335
+ cadence: "monthly" | "sixMonthly" | "yearly";
8336
+ amountMinor: number;
8337
+ currency: string;
8338
+ interval: {
8339
+ unit: "month" | "year";
8340
+ count: number;
8341
+ };
8342
+ };
8343
+ } | null;
7957
8344
  cadence?: "monthly" | "sixMonthly" | "yearly" | null | undefined;
7958
8345
  stripeCustomerId?: string | null | undefined;
7959
8346
  stripeSubscriptionId?: string | null | undefined;
@@ -7965,7 +8352,7 @@ export declare const adminBillingCoachSubscriptionSchema: z.ZodObject<{
7965
8352
  planId?: string | null | undefined;
7966
8353
  storeProductId?: string | null | undefined;
7967
8354
  storeEnvironment?: "unknown" | "sandbox" | "production" | null | undefined;
7968
- stripeMode?: "sandbox" | "live" | null | undefined;
8355
+ stripeMode?: "live" | "sandbox" | null | undefined;
7969
8356
  }, {
7970
8357
  status: "active" | "trialing" | "pastDue" | "suspended" | "canceled";
7971
8358
  id: string;
@@ -7973,6 +8360,25 @@ export declare const adminBillingCoachSubscriptionSchema: z.ZodObject<{
7973
8360
  maxFamilies: number;
7974
8361
  provider: "manual" | "stripe";
7975
8362
  estimatedMrrPence: number | null;
8363
+ introductoryOffer: {
8364
+ status: "active" | "ended" | "refunded";
8365
+ mode: "live" | "sandbox";
8366
+ endsAt: string | null;
8367
+ campaignId: string;
8368
+ amountMinor: number;
8369
+ currency: string;
8370
+ paidAt: string;
8371
+ willRenew: boolean;
8372
+ renewal: {
8373
+ cadence: "monthly" | "sixMonthly" | "yearly";
8374
+ amountMinor: number;
8375
+ currency: string;
8376
+ interval: {
8377
+ unit: "month" | "year";
8378
+ count: number;
8379
+ };
8380
+ };
8381
+ } | null;
7976
8382
  cadence?: "monthly" | "sixMonthly" | "yearly" | null | undefined;
7977
8383
  stripeCustomerId?: string | null | undefined;
7978
8384
  stripeSubscriptionId?: string | null | undefined;
@@ -7984,7 +8390,7 @@ export declare const adminBillingCoachSubscriptionSchema: z.ZodObject<{
7984
8390
  planId?: string | null | undefined;
7985
8391
  storeProductId?: string | null | undefined;
7986
8392
  storeEnvironment?: "unknown" | "sandbox" | "production" | null | undefined;
7987
- stripeMode?: "sandbox" | "live" | null | undefined;
8393
+ stripeMode?: "live" | "sandbox" | null | undefined;
7988
8394
  }>;
7989
8395
  export declare const adminBillingDirectFamilySubscriptionSchema: z.ZodObject<{
7990
8396
  id: z.ZodString;
@@ -8285,6 +8691,83 @@ export declare const adminBillingCoachRowSchema: z.ZodObject<{
8285
8691
  cadence: z.ZodOptional<z.ZodNullable<z.ZodEnum<["monthly", "sixMonthly", "yearly"]>>>;
8286
8692
  updatedAt: z.ZodString;
8287
8693
  estimatedMrrPence: z.ZodNullable<z.ZodNumber>;
8694
+ introductoryOffer: z.ZodNullable<z.ZodObject<{
8695
+ campaignId: z.ZodString;
8696
+ mode: z.ZodEnum<["live", "sandbox"]>;
8697
+ status: z.ZodEnum<["active", "ended", "refunded"]>;
8698
+ amountMinor: z.ZodNumber;
8699
+ currency: z.ZodString;
8700
+ paidAt: z.ZodString;
8701
+ endsAt: z.ZodNullable<z.ZodString>;
8702
+ willRenew: z.ZodBoolean;
8703
+ renewal: z.ZodObject<{
8704
+ cadence: z.ZodEnum<["monthly", "sixMonthly", "yearly"]>;
8705
+ amountMinor: z.ZodNumber;
8706
+ currency: z.ZodString;
8707
+ interval: z.ZodObject<{
8708
+ unit: z.ZodEnum<["month", "year"]>;
8709
+ count: z.ZodNumber;
8710
+ }, "strip", z.ZodTypeAny, {
8711
+ unit: "month" | "year";
8712
+ count: number;
8713
+ }, {
8714
+ unit: "month" | "year";
8715
+ count: number;
8716
+ }>;
8717
+ }, "strip", z.ZodTypeAny, {
8718
+ cadence: "monthly" | "sixMonthly" | "yearly";
8719
+ amountMinor: number;
8720
+ currency: string;
8721
+ interval: {
8722
+ unit: "month" | "year";
8723
+ count: number;
8724
+ };
8725
+ }, {
8726
+ cadence: "monthly" | "sixMonthly" | "yearly";
8727
+ amountMinor: number;
8728
+ currency: string;
8729
+ interval: {
8730
+ unit: "month" | "year";
8731
+ count: number;
8732
+ };
8733
+ }>;
8734
+ }, "strip", z.ZodTypeAny, {
8735
+ status: "active" | "ended" | "refunded";
8736
+ mode: "live" | "sandbox";
8737
+ endsAt: string | null;
8738
+ campaignId: string;
8739
+ amountMinor: number;
8740
+ currency: string;
8741
+ paidAt: string;
8742
+ willRenew: boolean;
8743
+ renewal: {
8744
+ cadence: "monthly" | "sixMonthly" | "yearly";
8745
+ amountMinor: number;
8746
+ currency: string;
8747
+ interval: {
8748
+ unit: "month" | "year";
8749
+ count: number;
8750
+ };
8751
+ };
8752
+ }, {
8753
+ status: "active" | "ended" | "refunded";
8754
+ mode: "live" | "sandbox";
8755
+ endsAt: string | null;
8756
+ campaignId: string;
8757
+ amountMinor: number;
8758
+ currency: string;
8759
+ paidAt: string;
8760
+ willRenew: boolean;
8761
+ renewal: {
8762
+ cadence: "monthly" | "sixMonthly" | "yearly";
8763
+ amountMinor: number;
8764
+ currency: string;
8765
+ interval: {
8766
+ unit: "month" | "year";
8767
+ count: number;
8768
+ };
8769
+ };
8770
+ }>>;
8288
8771
  }, "strip", z.ZodTypeAny, {
8289
8772
  status: "active" | "trialing" | "pastDue" | "suspended" | "canceled";
8290
8773
  id: string;
@@ -8292,6 +8775,25 @@ export declare const adminBillingCoachRowSchema: z.ZodObject<{
8292
8775
  maxFamilies: number;
8293
8776
  provider: "manual" | "stripe";
8294
8777
  estimatedMrrPence: number | null;
8778
+ introductoryOffer: {
8779
+ status: "active" | "ended" | "refunded";
8780
+ mode: "live" | "sandbox";
8781
+ endsAt: string | null;
8782
+ campaignId: string;
8783
+ amountMinor: number;
8784
+ currency: string;
8785
+ paidAt: string;
8786
+ willRenew: boolean;
8787
+ renewal: {
8788
+ cadence: "monthly" | "sixMonthly" | "yearly";
8789
+ amountMinor: number;
8790
+ currency: string;
8791
+ interval: {
8792
+ unit: "month" | "year";
8793
+ count: number;
8794
+ };
8795
+ };
8796
+ } | null;
8295
8797
  cadence?: "monthly" | "sixMonthly" | "yearly" | null | undefined;
8296
8798
  stripeCustomerId?: string | null | undefined;
8297
8799
  stripeSubscriptionId?: string | null | undefined;
@@ -8303,7 +8805,7 @@ export declare const adminBillingCoachRowSchema: z.ZodObject<{
8303
8805
  planId?: string | null | undefined;
8304
8806
  storeProductId?: string | null | undefined;
8305
8807
  storeEnvironment?: "unknown" | "sandbox" | "production" | null | undefined;
8306
- stripeMode?: "sandbox" | "live" | null | undefined;
8808
+ stripeMode?: "live" | "sandbox" | null | undefined;
8307
8809
  }, {
8308
8810
  status: "active" | "trialing" | "pastDue" | "suspended" | "canceled";
8309
8811
  id: string;
@@ -8311,6 +8813,25 @@ export declare const adminBillingCoachRowSchema: z.ZodObject<{
8311
8813
  maxFamilies: number;
8312
8814
  provider: "manual" | "stripe";
8313
8815
  estimatedMrrPence: number | null;
8816
+ introductoryOffer: {
8817
+ status: "active" | "ended" | "refunded";
8818
+ mode: "live" | "sandbox";
8819
+ endsAt: string | null;
8820
+ campaignId: string;
8821
+ amountMinor: number;
8822
+ currency: string;
8823
+ paidAt: string;
8824
+ willRenew: boolean;
8825
+ renewal: {
8826
+ cadence: "monthly" | "sixMonthly" | "yearly";
8827
+ amountMinor: number;
8828
+ currency: string;
8829
+ interval: {
8830
+ unit: "month" | "year";
8831
+ count: number;
8832
+ };
8833
+ };
8834
+ } | null;
8314
8835
  cadence?: "monthly" | "sixMonthly" | "yearly" | null | undefined;
8315
8836
  stripeCustomerId?: string | null | undefined;
8316
8837
  stripeSubscriptionId?: string | null | undefined;
@@ -8322,7 +8843,7 @@ export declare const adminBillingCoachRowSchema: z.ZodObject<{
8322
8843
  planId?: string | null | undefined;
8323
8844
  storeProductId?: string | null | undefined;
8324
8845
  storeEnvironment?: "unknown" | "sandbox" | "production" | null | undefined;
8325
- stripeMode?: "sandbox" | "live" | null | undefined;
8846
+ stripeMode?: "live" | "sandbox" | null | undefined;
8326
8847
  }>;
8327
8848
  activeFamilyCount: z.ZodNumber;
8328
8849
  }, "strip", z.ZodTypeAny, {
@@ -8384,6 +8905,25 @@ export declare const adminBillingCoachRowSchema: z.ZodObject<{
8384
8905
  maxFamilies: number;
8385
8906
  provider: "manual" | "stripe";
8386
8907
  estimatedMrrPence: number | null;
8908
+ introductoryOffer: {
8909
+ status: "active" | "ended" | "refunded";
8910
+ mode: "live" | "sandbox";
8911
+ endsAt: string | null;
8912
+ campaignId: string;
8913
+ amountMinor: number;
8914
+ currency: string;
8915
+ paidAt: string;
8916
+ willRenew: boolean;
8917
+ renewal: {
8918
+ cadence: "monthly" | "sixMonthly" | "yearly";
8919
+ amountMinor: number;
8920
+ currency: string;
8921
+ interval: {
8922
+ unit: "month" | "year";
8923
+ count: number;
8924
+ };
8925
+ };
8926
+ } | null;
8387
8927
  cadence?: "monthly" | "sixMonthly" | "yearly" | null | undefined;
8388
8928
  stripeCustomerId?: string | null | undefined;
8389
8929
  stripeSubscriptionId?: string | null | undefined;
@@ -8395,7 +8935,7 @@ export declare const adminBillingCoachRowSchema: z.ZodObject<{
8395
8935
  planId?: string | null | undefined;
8396
8936
  storeProductId?: string | null | undefined;
8397
8937
  storeEnvironment?: "unknown" | "sandbox" | "production" | null | undefined;
8398
- stripeMode?: "sandbox" | "live" | null | undefined;
8938
+ stripeMode?: "live" | "sandbox" | null | undefined;
8399
8939
  };
8400
8940
  }, {
8401
8941
  coach: {
@@ -8456,6 +8996,25 @@ export declare const adminBillingCoachRowSchema: z.ZodObject<{
8456
8996
  maxFamilies: number;
8457
8997
  provider: "manual" | "stripe";
8458
8998
  estimatedMrrPence: number | null;
8999
+ introductoryOffer: {
9000
+ status: "active" | "ended" | "refunded";
9001
+ mode: "live" | "sandbox";
9002
+ endsAt: string | null;
9003
+ campaignId: string;
9004
+ amountMinor: number;
9005
+ currency: string;
9006
+ paidAt: string;
9007
+ willRenew: boolean;
9008
+ renewal: {
9009
+ cadence: "monthly" | "sixMonthly" | "yearly";
9010
+ amountMinor: number;
9011
+ currency: string;
9012
+ interval: {
9013
+ unit: "month" | "year";
9014
+ count: number;
9015
+ };
9016
+ };
9017
+ } | null;
8459
9018
  cadence?: "monthly" | "sixMonthly" | "yearly" | null | undefined;
8460
9019
  stripeCustomerId?: string | null | undefined;
8461
9020
  stripeSubscriptionId?: string | null | undefined;
@@ -8467,7 +9026,7 @@ export declare const adminBillingCoachRowSchema: z.ZodObject<{
8467
9026
  planId?: string | null | undefined;
8468
9027
  storeProductId?: string | null | undefined;
8469
9028
  storeEnvironment?: "unknown" | "sandbox" | "production" | null | undefined;
8470
- stripeMode?: "sandbox" | "live" | null | undefined;
9029
+ stripeMode?: "live" | "sandbox" | null | undefined;
8471
9030
  };
8472
9031
  }>;
8473
9032
  export declare const adminBillingFamilyAccessCategorySchema: z.ZodEnum<["coachLinked", "directSubscription", "coachLinkedAndDirect", "free"]>;
@@ -9283,6 +9842,28 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
9283
9842
  manual: number;
9284
9843
  stripe: number;
9285
9844
  }>;
9845
+ introductoryOffers: z.ZodObject<{
9846
+ active: z.ZodNumber;
9847
+ ended: z.ZodNumber;
9848
+ refunded: z.ZodNumber;
9849
+ totalRedeemed: z.ZodNumber;
9850
+ recordedGrossPence: z.ZodNumber;
9851
+ activeProjectedMrrPence: z.ZodNumber;
9852
+ }, "strip", z.ZodTypeAny, {
9853
+ active: number;
9854
+ ended: number;
9855
+ refunded: number;
9856
+ totalRedeemed: number;
9857
+ recordedGrossPence: number;
9858
+ activeProjectedMrrPence: number;
9859
+ }, {
9860
+ active: number;
9861
+ ended: number;
9862
+ refunded: number;
9863
+ totalRedeemed: number;
9864
+ recordedGrossPence: number;
9865
+ activeProjectedMrrPence: number;
9866
+ }>;
9286
9867
  rows: z.ZodArray<z.ZodObject<{
9287
9868
  coach: z.ZodObject<{
9288
9869
  id: z.ZodString;
@@ -9533,6 +10114,83 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
9533
10114
  cadence: z.ZodOptional<z.ZodNullable<z.ZodEnum<["monthly", "sixMonthly", "yearly"]>>>;
9534
10115
  updatedAt: z.ZodString;
9535
10116
  estimatedMrrPence: z.ZodNullable<z.ZodNumber>;
10117
+ introductoryOffer: z.ZodNullable<z.ZodObject<{
10118
+ campaignId: z.ZodString;
10119
+ mode: z.ZodEnum<["live", "sandbox"]>;
10120
+ status: z.ZodEnum<["active", "ended", "refunded"]>;
10121
+ amountMinor: z.ZodNumber;
10122
+ currency: z.ZodString;
10123
+ paidAt: z.ZodString;
10124
+ endsAt: z.ZodNullable<z.ZodString>;
10125
+ willRenew: z.ZodBoolean;
10126
+ renewal: z.ZodObject<{
10127
+ cadence: z.ZodEnum<["monthly", "sixMonthly", "yearly"]>;
10128
+ amountMinor: z.ZodNumber;
10129
+ currency: z.ZodString;
10130
+ interval: z.ZodObject<{
10131
+ unit: z.ZodEnum<["month", "year"]>;
10132
+ count: z.ZodNumber;
10133
+ }, "strip", z.ZodTypeAny, {
10134
+ unit: "month" | "year";
10135
+ count: number;
10136
+ }, {
10137
+ unit: "month" | "year";
10138
+ count: number;
10139
+ }>;
10140
+ }, "strip", z.ZodTypeAny, {
10141
+ cadence: "monthly" | "sixMonthly" | "yearly";
10142
+ amountMinor: number;
10143
+ currency: string;
10144
+ interval: {
10145
+ unit: "month" | "year";
10146
+ count: number;
10147
+ };
10148
+ }, {
10149
+ cadence: "monthly" | "sixMonthly" | "yearly";
10150
+ amountMinor: number;
10151
+ currency: string;
10152
+ interval: {
10153
+ unit: "month" | "year";
10154
+ count: number;
10155
+ };
10156
+ }>;
10157
+ }, "strip", z.ZodTypeAny, {
10158
+ status: "active" | "ended" | "refunded";
10159
+ mode: "live" | "sandbox";
10160
+ endsAt: string | null;
10161
+ campaignId: string;
10162
+ amountMinor: number;
10163
+ currency: string;
10164
+ paidAt: string;
10165
+ willRenew: boolean;
10166
+ renewal: {
10167
+ cadence: "monthly" | "sixMonthly" | "yearly";
10168
+ amountMinor: number;
10169
+ currency: string;
10170
+ interval: {
10171
+ unit: "month" | "year";
10172
+ count: number;
10173
+ };
10174
+ };
10175
+ }, {
10176
+ status: "active" | "ended" | "refunded";
10177
+ mode: "live" | "sandbox";
10178
+ endsAt: string | null;
10179
+ campaignId: string;
10180
+ amountMinor: number;
10181
+ currency: string;
10182
+ paidAt: string;
10183
+ willRenew: boolean;
10184
+ renewal: {
10185
+ cadence: "monthly" | "sixMonthly" | "yearly";
10186
+ amountMinor: number;
10187
+ currency: string;
10188
+ interval: {
10189
+ unit: "month" | "year";
10190
+ count: number;
10191
+ };
10192
+ };
10193
+ }>>;
9536
10194
  }, "strip", z.ZodTypeAny, {
9537
10195
  status: "active" | "trialing" | "pastDue" | "suspended" | "canceled";
9538
10196
  id: string;
@@ -9540,6 +10198,25 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
9540
10198
  maxFamilies: number;
9541
10199
  provider: "manual" | "stripe";
9542
10200
  estimatedMrrPence: number | null;
10201
+ introductoryOffer: {
10202
+ status: "active" | "ended" | "refunded";
10203
+ mode: "live" | "sandbox";
10204
+ endsAt: string | null;
10205
+ campaignId: string;
10206
+ amountMinor: number;
10207
+ currency: string;
10208
+ paidAt: string;
10209
+ willRenew: boolean;
10210
+ renewal: {
10211
+ cadence: "monthly" | "sixMonthly" | "yearly";
10212
+ amountMinor: number;
10213
+ currency: string;
10214
+ interval: {
10215
+ unit: "month" | "year";
10216
+ count: number;
10217
+ };
10218
+ };
10219
+ } | null;
9543
10220
  cadence?: "monthly" | "sixMonthly" | "yearly" | null | undefined;
9544
10221
  stripeCustomerId?: string | null | undefined;
9545
10222
  stripeSubscriptionId?: string | null | undefined;
@@ -9551,7 +10228,7 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
9551
10228
  planId?: string | null | undefined;
9552
10229
  storeProductId?: string | null | undefined;
9553
10230
  storeEnvironment?: "unknown" | "sandbox" | "production" | null | undefined;
9554
- stripeMode?: "sandbox" | "live" | null | undefined;
10231
+ stripeMode?: "live" | "sandbox" | null | undefined;
9555
10232
  }, {
9556
10233
  status: "active" | "trialing" | "pastDue" | "suspended" | "canceled";
9557
10234
  id: string;
@@ -9559,6 +10236,25 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
9559
10236
  maxFamilies: number;
9560
10237
  provider: "manual" | "stripe";
9561
10238
  estimatedMrrPence: number | null;
10239
+ introductoryOffer: {
10240
+ status: "active" | "ended" | "refunded";
10241
+ mode: "live" | "sandbox";
10242
+ endsAt: string | null;
10243
+ campaignId: string;
10244
+ amountMinor: number;
10245
+ currency: string;
10246
+ paidAt: string;
10247
+ willRenew: boolean;
10248
+ renewal: {
10249
+ cadence: "monthly" | "sixMonthly" | "yearly";
10250
+ amountMinor: number;
10251
+ currency: string;
10252
+ interval: {
10253
+ unit: "month" | "year";
10254
+ count: number;
10255
+ };
10256
+ };
10257
+ } | null;
9562
10258
  cadence?: "monthly" | "sixMonthly" | "yearly" | null | undefined;
9563
10259
  stripeCustomerId?: string | null | undefined;
9564
10260
  stripeSubscriptionId?: string | null | undefined;
@@ -9570,7 +10266,7 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
9570
10266
  planId?: string | null | undefined;
9571
10267
  storeProductId?: string | null | undefined;
9572
10268
  storeEnvironment?: "unknown" | "sandbox" | "production" | null | undefined;
9573
- stripeMode?: "sandbox" | "live" | null | undefined;
10269
+ stripeMode?: "live" | "sandbox" | null | undefined;
9574
10270
  }>;
9575
10271
  activeFamilyCount: z.ZodNumber;
9576
10272
  }, "strip", z.ZodTypeAny, {
@@ -9632,6 +10328,25 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
9632
10328
  maxFamilies: number;
9633
10329
  provider: "manual" | "stripe";
9634
10330
  estimatedMrrPence: number | null;
10331
+ introductoryOffer: {
10332
+ status: "active" | "ended" | "refunded";
10333
+ mode: "live" | "sandbox";
10334
+ endsAt: string | null;
10335
+ campaignId: string;
10336
+ amountMinor: number;
10337
+ currency: string;
10338
+ paidAt: string;
10339
+ willRenew: boolean;
10340
+ renewal: {
10341
+ cadence: "monthly" | "sixMonthly" | "yearly";
10342
+ amountMinor: number;
10343
+ currency: string;
10344
+ interval: {
10345
+ unit: "month" | "year";
10346
+ count: number;
10347
+ };
10348
+ };
10349
+ } | null;
9635
10350
  cadence?: "monthly" | "sixMonthly" | "yearly" | null | undefined;
9636
10351
  stripeCustomerId?: string | null | undefined;
9637
10352
  stripeSubscriptionId?: string | null | undefined;
@@ -9643,7 +10358,7 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
9643
10358
  planId?: string | null | undefined;
9644
10359
  storeProductId?: string | null | undefined;
9645
10360
  storeEnvironment?: "unknown" | "sandbox" | "production" | null | undefined;
9646
- stripeMode?: "sandbox" | "live" | null | undefined;
10361
+ stripeMode?: "live" | "sandbox" | null | undefined;
9647
10362
  };
9648
10363
  }, {
9649
10364
  coach: {
@@ -9704,6 +10419,25 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
9704
10419
  maxFamilies: number;
9705
10420
  provider: "manual" | "stripe";
9706
10421
  estimatedMrrPence: number | null;
10422
+ introductoryOffer: {
10423
+ status: "active" | "ended" | "refunded";
10424
+ mode: "live" | "sandbox";
10425
+ endsAt: string | null;
10426
+ campaignId: string;
10427
+ amountMinor: number;
10428
+ currency: string;
10429
+ paidAt: string;
10430
+ willRenew: boolean;
10431
+ renewal: {
10432
+ cadence: "monthly" | "sixMonthly" | "yearly";
10433
+ amountMinor: number;
10434
+ currency: string;
10435
+ interval: {
10436
+ unit: "month" | "year";
10437
+ count: number;
10438
+ };
10439
+ };
10440
+ } | null;
9707
10441
  cadence?: "monthly" | "sixMonthly" | "yearly" | null | undefined;
9708
10442
  stripeCustomerId?: string | null | undefined;
9709
10443
  stripeSubscriptionId?: string | null | undefined;
@@ -9715,7 +10449,7 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
9715
10449
  planId?: string | null | undefined;
9716
10450
  storeProductId?: string | null | undefined;
9717
10451
  storeEnvironment?: "unknown" | "sandbox" | "production" | null | undefined;
9718
- stripeMode?: "sandbox" | "live" | null | undefined;
10452
+ stripeMode?: "live" | "sandbox" | null | undefined;
9719
10453
  };
9720
10454
  }>, "many">;
9721
10455
  }, "strip", z.ZodTypeAny, {
@@ -9738,6 +10472,14 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
9738
10472
  manual: number;
9739
10473
  stripe: number;
9740
10474
  };
10475
+ introductoryOffers: {
10476
+ active: number;
10477
+ ended: number;
10478
+ refunded: number;
10479
+ totalRedeemed: number;
10480
+ recordedGrossPence: number;
10481
+ activeProjectedMrrPence: number;
10482
+ };
9741
10483
  rows: {
9742
10484
  coach: {
9743
10485
  id: string;
@@ -9797,6 +10539,25 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
9797
10539
  maxFamilies: number;
9798
10540
  provider: "manual" | "stripe";
9799
10541
  estimatedMrrPence: number | null;
10542
+ introductoryOffer: {
10543
+ status: "active" | "ended" | "refunded";
10544
+ mode: "live" | "sandbox";
10545
+ endsAt: string | null;
10546
+ campaignId: string;
10547
+ amountMinor: number;
10548
+ currency: string;
10549
+ paidAt: string;
10550
+ willRenew: boolean;
10551
+ renewal: {
10552
+ cadence: "monthly" | "sixMonthly" | "yearly";
10553
+ amountMinor: number;
10554
+ currency: string;
10555
+ interval: {
10556
+ unit: "month" | "year";
10557
+ count: number;
10558
+ };
10559
+ };
10560
+ } | null;
9800
10561
  cadence?: "monthly" | "sixMonthly" | "yearly" | null | undefined;
9801
10562
  stripeCustomerId?: string | null | undefined;
9802
10563
  stripeSubscriptionId?: string | null | undefined;
@@ -9808,7 +10569,7 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
9808
10569
  planId?: string | null | undefined;
9809
10570
  storeProductId?: string | null | undefined;
9810
10571
  storeEnvironment?: "unknown" | "sandbox" | "production" | null | undefined;
9811
- stripeMode?: "sandbox" | "live" | null | undefined;
10572
+ stripeMode?: "live" | "sandbox" | null | undefined;
9812
10573
  };
9813
10574
  }[];
9814
10575
  }, {
@@ -9831,6 +10592,14 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
9831
10592
  manual: number;
9832
10593
  stripe: number;
9833
10594
  };
10595
+ introductoryOffers: {
10596
+ active: number;
10597
+ ended: number;
10598
+ refunded: number;
10599
+ totalRedeemed: number;
10600
+ recordedGrossPence: number;
10601
+ activeProjectedMrrPence: number;
10602
+ };
9834
10603
  rows: {
9835
10604
  coach: {
9836
10605
  id: string;
@@ -9890,6 +10659,25 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
9890
10659
  maxFamilies: number;
9891
10660
  provider: "manual" | "stripe";
9892
10661
  estimatedMrrPence: number | null;
10662
+ introductoryOffer: {
10663
+ status: "active" | "ended" | "refunded";
10664
+ mode: "live" | "sandbox";
10665
+ endsAt: string | null;
10666
+ campaignId: string;
10667
+ amountMinor: number;
10668
+ currency: string;
10669
+ paidAt: string;
10670
+ willRenew: boolean;
10671
+ renewal: {
10672
+ cadence: "monthly" | "sixMonthly" | "yearly";
10673
+ amountMinor: number;
10674
+ currency: string;
10675
+ interval: {
10676
+ unit: "month" | "year";
10677
+ count: number;
10678
+ };
10679
+ };
10680
+ } | null;
9893
10681
  cadence?: "monthly" | "sixMonthly" | "yearly" | null | undefined;
9894
10682
  stripeCustomerId?: string | null | undefined;
9895
10683
  stripeSubscriptionId?: string | null | undefined;
@@ -9901,7 +10689,7 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
9901
10689
  planId?: string | null | undefined;
9902
10690
  storeProductId?: string | null | undefined;
9903
10691
  storeEnvironment?: "unknown" | "sandbox" | "production" | null | undefined;
9904
- stripeMode?: "sandbox" | "live" | null | undefined;
10692
+ stripeMode?: "live" | "sandbox" | null | undefined;
9905
10693
  };
9906
10694
  }[];
9907
10695
  }>;
@@ -10700,8 +11488,8 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
10700
11488
  accessCategory: "directSubscription" | "coachLinked" | "coachLinkedAndDirect" | "free";
10701
11489
  }>, "many">;
10702
11490
  }, "strip", z.ZodTypeAny, {
10703
- coachLinked: number;
10704
11491
  total: number;
11492
+ coachLinked: number;
10705
11493
  rows: {
10706
11494
  family: {
10707
11495
  id: string;
@@ -10866,8 +11654,8 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
10866
11654
  directSubscribedThenCoachLinkedRateBasisPoints: number | null;
10867
11655
  };
10868
11656
  }, {
10869
- coachLinked: number;
10870
11657
  total: number;
11658
+ coachLinked: number;
10871
11659
  rows: {
10872
11660
  family: {
10873
11661
  id: string;
@@ -11033,9 +11821,10 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
11033
11821
  };
11034
11822
  }>;
11035
11823
  }, "strip", z.ZodTypeAny, {
11824
+ generatedAt: string;
11036
11825
  families: {
11037
- coachLinked: number;
11038
11826
  total: number;
11827
+ coachLinked: number;
11039
11828
  rows: {
11040
11829
  family: {
11041
11830
  id: string;
@@ -11200,7 +11989,6 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
11200
11989
  directSubscribedThenCoachLinkedRateBasisPoints: number | null;
11201
11990
  };
11202
11991
  };
11203
- generatedAt: string;
11204
11992
  revenue: {
11205
11993
  currency: "GBP";
11206
11994
  activeCoachMrrPence: number;
@@ -11244,6 +12032,14 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
11244
12032
  manual: number;
11245
12033
  stripe: number;
11246
12034
  };
12035
+ introductoryOffers: {
12036
+ active: number;
12037
+ ended: number;
12038
+ refunded: number;
12039
+ totalRedeemed: number;
12040
+ recordedGrossPence: number;
12041
+ activeProjectedMrrPence: number;
12042
+ };
11247
12043
  rows: {
11248
12044
  coach: {
11249
12045
  id: string;
@@ -11303,6 +12099,25 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
11303
12099
  maxFamilies: number;
11304
12100
  provider: "manual" | "stripe";
11305
12101
  estimatedMrrPence: number | null;
12102
+ introductoryOffer: {
12103
+ status: "active" | "ended" | "refunded";
12104
+ mode: "live" | "sandbox";
12105
+ endsAt: string | null;
12106
+ campaignId: string;
12107
+ amountMinor: number;
12108
+ currency: string;
12109
+ paidAt: string;
12110
+ willRenew: boolean;
12111
+ renewal: {
12112
+ cadence: "monthly" | "sixMonthly" | "yearly";
12113
+ amountMinor: number;
12114
+ currency: string;
12115
+ interval: {
12116
+ unit: "month" | "year";
12117
+ count: number;
12118
+ };
12119
+ };
12120
+ } | null;
11306
12121
  cadence?: "monthly" | "sixMonthly" | "yearly" | null | undefined;
11307
12122
  stripeCustomerId?: string | null | undefined;
11308
12123
  stripeSubscriptionId?: string | null | undefined;
@@ -11314,14 +12129,15 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
11314
12129
  planId?: string | null | undefined;
11315
12130
  storeProductId?: string | null | undefined;
11316
12131
  storeEnvironment?: "unknown" | "sandbox" | "production" | null | undefined;
11317
- stripeMode?: "sandbox" | "live" | null | undefined;
12132
+ stripeMode?: "live" | "sandbox" | null | undefined;
11318
12133
  };
11319
12134
  }[];
11320
12135
  };
11321
12136
  }, {
12137
+ generatedAt: string;
11322
12138
  families: {
11323
- coachLinked: number;
11324
12139
  total: number;
12140
+ coachLinked: number;
11325
12141
  rows: {
11326
12142
  family: {
11327
12143
  id: string;
@@ -11486,7 +12302,6 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
11486
12302
  directSubscribedThenCoachLinkedRateBasisPoints: number | null;
11487
12303
  };
11488
12304
  };
11489
- generatedAt: string;
11490
12305
  revenue: {
11491
12306
  currency: "GBP";
11492
12307
  activeCoachMrrPence: number;
@@ -11530,6 +12345,14 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
11530
12345
  manual: number;
11531
12346
  stripe: number;
11532
12347
  };
12348
+ introductoryOffers: {
12349
+ active: number;
12350
+ ended: number;
12351
+ refunded: number;
12352
+ totalRedeemed: number;
12353
+ recordedGrossPence: number;
12354
+ activeProjectedMrrPence: number;
12355
+ };
11533
12356
  rows: {
11534
12357
  coach: {
11535
12358
  id: string;
@@ -11589,6 +12412,25 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
11589
12412
  maxFamilies: number;
11590
12413
  provider: "manual" | "stripe";
11591
12414
  estimatedMrrPence: number | null;
12415
+ introductoryOffer: {
12416
+ status: "active" | "ended" | "refunded";
12417
+ mode: "live" | "sandbox";
12418
+ endsAt: string | null;
12419
+ campaignId: string;
12420
+ amountMinor: number;
12421
+ currency: string;
12422
+ paidAt: string;
12423
+ willRenew: boolean;
12424
+ renewal: {
12425
+ cadence: "monthly" | "sixMonthly" | "yearly";
12426
+ amountMinor: number;
12427
+ currency: string;
12428
+ interval: {
12429
+ unit: "month" | "year";
12430
+ count: number;
12431
+ };
12432
+ };
12433
+ } | null;
11592
12434
  cadence?: "monthly" | "sixMonthly" | "yearly" | null | undefined;
11593
12435
  stripeCustomerId?: string | null | undefined;
11594
12436
  stripeSubscriptionId?: string | null | undefined;
@@ -11600,7 +12442,7 @@ export declare const adminBillingSummaryResponseSchema: z.ZodObject<{
11600
12442
  planId?: string | null | undefined;
11601
12443
  storeProductId?: string | null | undefined;
11602
12444
  storeEnvironment?: "unknown" | "sandbox" | "production" | null | undefined;
11603
- stripeMode?: "sandbox" | "live" | null | undefined;
12445
+ stripeMode?: "live" | "sandbox" | null | undefined;
11604
12446
  };
11605
12447
  }[];
11606
12448
  };
@@ -11610,19 +12452,19 @@ export declare const adminStripeSummaryQuerySchema: z.ZodEffects<z.ZodObject<{
11610
12452
  to: z.ZodOptional<z.ZodString>;
11611
12453
  mode: z.ZodDefault<z.ZodEnum<["live", "sandbox"]>>;
11612
12454
  }, "strict", z.ZodTypeAny, {
11613
- mode: "sandbox" | "live";
12455
+ mode: "live" | "sandbox";
11614
12456
  from?: string | undefined;
11615
12457
  to?: string | undefined;
11616
12458
  }, {
11617
- mode?: "sandbox" | "live" | undefined;
12459
+ mode?: "live" | "sandbox" | undefined;
11618
12460
  from?: string | undefined;
11619
12461
  to?: string | undefined;
11620
12462
  }>, {
11621
- mode: "sandbox" | "live";
12463
+ mode: "live" | "sandbox";
11622
12464
  from?: string | undefined;
11623
12465
  to?: string | undefined;
11624
12466
  }, {
11625
- mode?: "sandbox" | "live" | undefined;
12467
+ mode?: "live" | "sandbox" | undefined;
11626
12468
  from?: string | undefined;
11627
12469
  to?: string | undefined;
11628
12470
  }>;
@@ -11862,7 +12704,7 @@ export declare const adminStripeSummaryResponseSchema: z.ZodObject<{
11862
12704
  }[];
11863
12705
  }>, "many">;
11864
12706
  }, "strip", z.ZodTypeAny, {
11865
- mode: "sandbox" | "live";
12707
+ mode: "live" | "sandbox";
11866
12708
  generatedAt: string;
11867
12709
  query: {
11868
12710
  from: string | null;
@@ -11906,7 +12748,7 @@ export declare const adminStripeSummaryResponseSchema: z.ZodObject<{
11906
12748
  }[];
11907
12749
  }[];
11908
12750
  }, {
11909
- mode: "sandbox" | "live";
12751
+ mode: "live" | "sandbox";
11910
12752
  generatedAt: string;
11911
12753
  query: {
11912
12754
  from: string | null;
@@ -11954,10 +12796,10 @@ export declare const adminStripeResidualSettlementQuerySchema: z.ZodObject<{
11954
12796
  mode: z.ZodDefault<z.ZodEnum<["live", "sandbox"]>>;
11955
12797
  currency: z.ZodDefault<z.ZodLiteral<"gbp">>;
11956
12798
  }, "strict", z.ZodTypeAny, {
11957
- mode: "sandbox" | "live";
12799
+ mode: "live" | "sandbox";
11958
12800
  currency: "gbp";
11959
12801
  }, {
11960
- mode?: "sandbox" | "live" | undefined;
12802
+ mode?: "live" | "sandbox" | undefined;
11961
12803
  currency?: "gbp" | undefined;
11962
12804
  }>;
11963
12805
  export declare const adminStripeOwnerFundingEntryKindSchema: z.ZodEnum<["advance", "repayment", "increaseAdjustment", "decreaseAdjustment"]>;
@@ -11973,20 +12815,20 @@ export declare const createAdminStripeOwnerFundingEntryRequestSchema: z.ZodObjec
11973
12815
  note: z.ZodOptional<z.ZodString>;
11974
12816
  occurredAt: z.ZodOptional<z.ZodString>;
11975
12817
  }, "strict", z.ZodTypeAny, {
11976
- mode: "sandbox" | "live";
12818
+ mode: "live" | "sandbox";
12819
+ amountMinor: number;
11977
12820
  currency: "gbp";
11978
12821
  ownerKey: "becca" | "nikos";
11979
12822
  kind: "advance" | "repayment" | "increaseAdjustment" | "decreaseAdjustment";
11980
- amountMinor: number;
11981
12823
  reference: string;
11982
12824
  note?: string | undefined;
11983
12825
  occurredAt?: string | undefined;
11984
12826
  }, {
12827
+ amountMinor: number;
11985
12828
  ownerKey: "becca" | "nikos";
11986
12829
  kind: "advance" | "repayment" | "increaseAdjustment" | "decreaseAdjustment";
11987
- amountMinor: number;
11988
12830
  reference: string;
11989
- mode?: "sandbox" | "live" | undefined;
12831
+ mode?: "live" | "sandbox" | undefined;
11990
12832
  currency?: "gbp" | undefined;
11991
12833
  note?: string | undefined;
11992
12834
  occurredAt?: string | undefined;
@@ -11996,12 +12838,12 @@ export declare const executeAdminStripeResidualSettlementRequestSchema: z.ZodObj
11996
12838
  currency: z.ZodDefault<z.ZodLiteral<"gbp">>;
11997
12839
  previewToken: z.ZodString;
11998
12840
  }, "strict", z.ZodTypeAny, {
11999
- mode: "sandbox" | "live";
12841
+ mode: "live" | "sandbox";
12000
12842
  currency: "gbp";
12001
12843
  previewToken: string;
12002
12844
  }, {
12003
12845
  previewToken: string;
12004
- mode?: "sandbox" | "live" | undefined;
12846
+ mode?: "live" | "sandbox" | undefined;
12005
12847
  currency?: "gbp" | undefined;
12006
12848
  }>;
12007
12849
  export declare const adminStripeOwnerFundingEntrySchema: z.ZodObject<{
@@ -12022,11 +12864,11 @@ export declare const adminStripeOwnerFundingEntrySchema: z.ZodObject<{
12022
12864
  id: string;
12023
12865
  createdAt: string;
12024
12866
  source: "manual" | "stripePlatformPayout" | "residualSettlement";
12025
- mode: "sandbox" | "live";
12867
+ mode: "live" | "sandbox";
12868
+ amountMinor: number;
12026
12869
  currency: "gbp";
12027
12870
  ownerKey: "becca" | "nikos";
12028
12871
  kind: "advance" | "repayment" | "increaseAdjustment" | "decreaseAdjustment";
12029
- amountMinor: number;
12030
12872
  note: string | null;
12031
12873
  occurredAt: string;
12032
12874
  externalReference: string;
@@ -12035,11 +12877,11 @@ export declare const adminStripeOwnerFundingEntrySchema: z.ZodObject<{
12035
12877
  id: string;
12036
12878
  createdAt: string;
12037
12879
  source: "manual" | "stripePlatformPayout" | "residualSettlement";
12038
- mode: "sandbox" | "live";
12880
+ mode: "live" | "sandbox";
12881
+ amountMinor: number;
12039
12882
  currency: "gbp";
12040
12883
  ownerKey: "becca" | "nikos";
12041
12884
  kind: "advance" | "repayment" | "increaseAdjustment" | "decreaseAdjustment";
12042
- amountMinor: number;
12043
12885
  note: string | null;
12044
12886
  occurredAt: string;
12045
12887
  externalReference: string;
@@ -12058,18 +12900,18 @@ export declare const adminStripeResidualSettlementTransferSchema: z.ZodObject<{
12058
12900
  }, "strip", z.ZodTypeAny, {
12059
12901
  status: "planned" | "completed" | "failed";
12060
12902
  id: string;
12903
+ amountMinor: number;
12061
12904
  percentageBasisPoints: number | null;
12062
12905
  ownerKey: "becca" | "nikos";
12063
- amountMinor: number;
12064
12906
  purpose: "advanceRepayment" | "ownerDistribution";
12065
12907
  hasStripeTransfer: boolean;
12066
12908
  failureCode: string | null;
12067
12909
  }, {
12068
12910
  status: "planned" | "completed" | "failed";
12069
12911
  id: string;
12912
+ amountMinor: number;
12070
12913
  percentageBasisPoints: number | null;
12071
12914
  ownerKey: "becca" | "nikos";
12072
- amountMinor: number;
12073
12915
  purpose: "advanceRepayment" | "ownerDistribution";
12074
12916
  hasStripeTransfer: boolean;
12075
12917
  failureCode: string | null;
@@ -12102,18 +12944,18 @@ export declare const adminStripeResidualSettlementBatchSchema: z.ZodObject<{
12102
12944
  }, "strip", z.ZodTypeAny, {
12103
12945
  status: "planned" | "completed" | "failed";
12104
12946
  id: string;
12947
+ amountMinor: number;
12105
12948
  percentageBasisPoints: number | null;
12106
12949
  ownerKey: "becca" | "nikos";
12107
- amountMinor: number;
12108
12950
  purpose: "advanceRepayment" | "ownerDistribution";
12109
12951
  hasStripeTransfer: boolean;
12110
12952
  failureCode: string | null;
12111
12953
  }, {
12112
12954
  status: "planned" | "completed" | "failed";
12113
12955
  id: string;
12956
+ amountMinor: number;
12114
12957
  percentageBasisPoints: number | null;
12115
12958
  ownerKey: "becca" | "nikos";
12116
- amountMinor: number;
12117
12959
  purpose: "advanceRepayment" | "ownerDistribution";
12118
12960
  hasStripeTransfer: boolean;
12119
12961
  failureCode: string | null;
@@ -12122,7 +12964,7 @@ export declare const adminStripeResidualSettlementBatchSchema: z.ZodObject<{
12122
12964
  status: "canceled" | "planned" | "executing" | "completed" | "failed";
12123
12965
  id: string;
12124
12966
  createdAt: string;
12125
- mode: "sandbox" | "live";
12967
+ mode: "live" | "sandbox";
12126
12968
  currency: "gbp";
12127
12969
  failureCode: string | null;
12128
12970
  trigger: "owner" | "balanceAvailable" | "scheduled";
@@ -12137,9 +12979,9 @@ export declare const adminStripeResidualSettlementBatchSchema: z.ZodObject<{
12137
12979
  transfers: {
12138
12980
  status: "planned" | "completed" | "failed";
12139
12981
  id: string;
12982
+ amountMinor: number;
12140
12983
  percentageBasisPoints: number | null;
12141
12984
  ownerKey: "becca" | "nikos";
12142
- amountMinor: number;
12143
12985
  purpose: "advanceRepayment" | "ownerDistribution";
12144
12986
  hasStripeTransfer: boolean;
12145
12987
  failureCode: string | null;
@@ -12148,7 +12990,7 @@ export declare const adminStripeResidualSettlementBatchSchema: z.ZodObject<{
12148
12990
  status: "canceled" | "planned" | "executing" | "completed" | "failed";
12149
12991
  id: string;
12150
12992
  createdAt: string;
12151
- mode: "sandbox" | "live";
12993
+ mode: "live" | "sandbox";
12152
12994
  currency: "gbp";
12153
12995
  failureCode: string | null;
12154
12996
  trigger: "owner" | "balanceAvailable" | "scheduled";
@@ -12163,9 +13005,9 @@ export declare const adminStripeResidualSettlementBatchSchema: z.ZodObject<{
12163
13005
  transfers: {
12164
13006
  status: "planned" | "completed" | "failed";
12165
13007
  id: string;
13008
+ amountMinor: number;
12166
13009
  percentageBasisPoints: number | null;
12167
13010
  ownerKey: "becca" | "nikos";
12168
- amountMinor: number;
12169
13011
  purpose: "advanceRepayment" | "ownerDistribution";
12170
13012
  hasStripeTransfer: boolean;
12171
13013
  failureCode: string | null;
@@ -12242,11 +13084,11 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
12242
13084
  id: string;
12243
13085
  createdAt: string;
12244
13086
  source: "manual" | "stripePlatformPayout" | "residualSettlement";
12245
- mode: "sandbox" | "live";
13087
+ mode: "live" | "sandbox";
13088
+ amountMinor: number;
12246
13089
  currency: "gbp";
12247
13090
  ownerKey: "becca" | "nikos";
12248
13091
  kind: "advance" | "repayment" | "increaseAdjustment" | "decreaseAdjustment";
12249
- amountMinor: number;
12250
13092
  note: string | null;
12251
13093
  occurredAt: string;
12252
13094
  externalReference: string;
@@ -12255,11 +13097,11 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
12255
13097
  id: string;
12256
13098
  createdAt: string;
12257
13099
  source: "manual" | "stripePlatformPayout" | "residualSettlement";
12258
- mode: "sandbox" | "live";
13100
+ mode: "live" | "sandbox";
13101
+ amountMinor: number;
12259
13102
  currency: "gbp";
12260
13103
  ownerKey: "becca" | "nikos";
12261
13104
  kind: "advance" | "repayment" | "increaseAdjustment" | "decreaseAdjustment";
12262
- amountMinor: number;
12263
13105
  note: string | null;
12264
13106
  occurredAt: string;
12265
13107
  externalReference: string;
@@ -12277,11 +13119,11 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
12277
13119
  id: string;
12278
13120
  createdAt: string;
12279
13121
  source: "manual" | "stripePlatformPayout" | "residualSettlement";
12280
- mode: "sandbox" | "live";
13122
+ mode: "live" | "sandbox";
13123
+ amountMinor: number;
12281
13124
  currency: "gbp";
12282
13125
  ownerKey: "becca" | "nikos";
12283
13126
  kind: "advance" | "repayment" | "increaseAdjustment" | "decreaseAdjustment";
12284
- amountMinor: number;
12285
13127
  note: string | null;
12286
13128
  occurredAt: string;
12287
13129
  externalReference: string;
@@ -12299,11 +13141,11 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
12299
13141
  id: string;
12300
13142
  createdAt: string;
12301
13143
  source: "manual" | "stripePlatformPayout" | "residualSettlement";
12302
- mode: "sandbox" | "live";
13144
+ mode: "live" | "sandbox";
13145
+ amountMinor: number;
12303
13146
  currency: "gbp";
12304
13147
  ownerKey: "becca" | "nikos";
12305
13148
  kind: "advance" | "repayment" | "increaseAdjustment" | "decreaseAdjustment";
12306
- amountMinor: number;
12307
13149
  note: string | null;
12308
13150
  occurredAt: string;
12309
13151
  externalReference: string;
@@ -12315,11 +13157,11 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
12315
13157
  ownerKey: z.ZodEnum<["becca", "nikos"]>;
12316
13158
  amountMinor: z.ZodNumber;
12317
13159
  }, "strip", z.ZodTypeAny, {
12318
- ownerKey: "becca" | "nikos";
12319
13160
  amountMinor: number;
12320
- }, {
12321
13161
  ownerKey: "becca" | "nikos";
13162
+ }, {
12322
13163
  amountMinor: number;
13164
+ ownerKey: "becca" | "nikos";
12323
13165
  }>, "many">;
12324
13166
  distributableAmountMinor: z.ZodNumber;
12325
13167
  ownerDistributions: z.ZodArray<z.ZodObject<{
@@ -12327,13 +13169,13 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
12327
13169
  percentageBasisPoints: z.ZodNumber;
12328
13170
  amountMinor: z.ZodNumber;
12329
13171
  }, "strip", z.ZodTypeAny, {
13172
+ amountMinor: number;
12330
13173
  percentageBasisPoints: number;
12331
13174
  ownerKey: "becca" | "nikos";
12332
- amountMinor: number;
12333
13175
  }, {
13176
+ amountMinor: number;
12334
13177
  percentageBasisPoints: number;
12335
13178
  ownerKey: "becca" | "nikos";
12336
- amountMinor: number;
12337
13179
  }>, "many">;
12338
13180
  totalTransferAmountMinor: z.ZodNumber;
12339
13181
  previewToken: z.ZodString;
@@ -12342,13 +13184,13 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
12342
13184
  surplusAmountMinor: number;
12343
13185
  distributableAmountMinor: number;
12344
13186
  advanceRepayments: {
12345
- ownerKey: "becca" | "nikos";
12346
13187
  amountMinor: number;
13188
+ ownerKey: "becca" | "nikos";
12347
13189
  }[];
12348
13190
  ownerDistributions: {
13191
+ amountMinor: number;
12349
13192
  percentageBasisPoints: number;
12350
13193
  ownerKey: "becca" | "nikos";
12351
- amountMinor: number;
12352
13194
  }[];
12353
13195
  totalTransferAmountMinor: number;
12354
13196
  }, {
@@ -12356,13 +13198,13 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
12356
13198
  surplusAmountMinor: number;
12357
13199
  distributableAmountMinor: number;
12358
13200
  advanceRepayments: {
12359
- ownerKey: "becca" | "nikos";
12360
13201
  amountMinor: number;
13202
+ ownerKey: "becca" | "nikos";
12361
13203
  }[];
12362
13204
  ownerDistributions: {
13205
+ amountMinor: number;
12363
13206
  percentageBasisPoints: number;
12364
13207
  ownerKey: "becca" | "nikos";
12365
- amountMinor: number;
12366
13208
  }[];
12367
13209
  totalTransferAmountMinor: number;
12368
13210
  }>;
@@ -12396,18 +13238,18 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
12396
13238
  }, "strip", z.ZodTypeAny, {
12397
13239
  status: "planned" | "completed" | "failed";
12398
13240
  id: string;
13241
+ amountMinor: number;
12399
13242
  percentageBasisPoints: number | null;
12400
13243
  ownerKey: "becca" | "nikos";
12401
- amountMinor: number;
12402
13244
  purpose: "advanceRepayment" | "ownerDistribution";
12403
13245
  hasStripeTransfer: boolean;
12404
13246
  failureCode: string | null;
12405
13247
  }, {
12406
13248
  status: "planned" | "completed" | "failed";
12407
13249
  id: string;
13250
+ amountMinor: number;
12408
13251
  percentageBasisPoints: number | null;
12409
13252
  ownerKey: "becca" | "nikos";
12410
- amountMinor: number;
12411
13253
  purpose: "advanceRepayment" | "ownerDistribution";
12412
13254
  hasStripeTransfer: boolean;
12413
13255
  failureCode: string | null;
@@ -12416,7 +13258,7 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
12416
13258
  status: "canceled" | "planned" | "executing" | "completed" | "failed";
12417
13259
  id: string;
12418
13260
  createdAt: string;
12419
- mode: "sandbox" | "live";
13261
+ mode: "live" | "sandbox";
12420
13262
  currency: "gbp";
12421
13263
  failureCode: string | null;
12422
13264
  trigger: "owner" | "balanceAvailable" | "scheduled";
@@ -12431,9 +13273,9 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
12431
13273
  transfers: {
12432
13274
  status: "planned" | "completed" | "failed";
12433
13275
  id: string;
13276
+ amountMinor: number;
12434
13277
  percentageBasisPoints: number | null;
12435
13278
  ownerKey: "becca" | "nikos";
12436
- amountMinor: number;
12437
13279
  purpose: "advanceRepayment" | "ownerDistribution";
12438
13280
  hasStripeTransfer: boolean;
12439
13281
  failureCode: string | null;
@@ -12442,7 +13284,7 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
12442
13284
  status: "canceled" | "planned" | "executing" | "completed" | "failed";
12443
13285
  id: string;
12444
13286
  createdAt: string;
12445
- mode: "sandbox" | "live";
13287
+ mode: "live" | "sandbox";
12446
13288
  currency: "gbp";
12447
13289
  failureCode: string | null;
12448
13290
  trigger: "owner" | "balanceAvailable" | "scheduled";
@@ -12457,9 +13299,9 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
12457
13299
  transfers: {
12458
13300
  status: "planned" | "completed" | "failed";
12459
13301
  id: string;
13302
+ amountMinor: number;
12460
13303
  percentageBasisPoints: number | null;
12461
13304
  ownerKey: "becca" | "nikos";
12462
- amountMinor: number;
12463
13305
  purpose: "advanceRepayment" | "ownerDistribution";
12464
13306
  hasStripeTransfer: boolean;
12465
13307
  failureCode: string | null;
@@ -12493,18 +13335,18 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
12493
13335
  }, "strip", z.ZodTypeAny, {
12494
13336
  status: "planned" | "completed" | "failed";
12495
13337
  id: string;
13338
+ amountMinor: number;
12496
13339
  percentageBasisPoints: number | null;
12497
13340
  ownerKey: "becca" | "nikos";
12498
- amountMinor: number;
12499
13341
  purpose: "advanceRepayment" | "ownerDistribution";
12500
13342
  hasStripeTransfer: boolean;
12501
13343
  failureCode: string | null;
12502
13344
  }, {
12503
13345
  status: "planned" | "completed" | "failed";
12504
13346
  id: string;
13347
+ amountMinor: number;
12505
13348
  percentageBasisPoints: number | null;
12506
13349
  ownerKey: "becca" | "nikos";
12507
- amountMinor: number;
12508
13350
  purpose: "advanceRepayment" | "ownerDistribution";
12509
13351
  hasStripeTransfer: boolean;
12510
13352
  failureCode: string | null;
@@ -12513,7 +13355,7 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
12513
13355
  status: "canceled" | "planned" | "executing" | "completed" | "failed";
12514
13356
  id: string;
12515
13357
  createdAt: string;
12516
- mode: "sandbox" | "live";
13358
+ mode: "live" | "sandbox";
12517
13359
  currency: "gbp";
12518
13360
  failureCode: string | null;
12519
13361
  trigger: "owner" | "balanceAvailable" | "scheduled";
@@ -12528,9 +13370,9 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
12528
13370
  transfers: {
12529
13371
  status: "planned" | "completed" | "failed";
12530
13372
  id: string;
13373
+ amountMinor: number;
12531
13374
  percentageBasisPoints: number | null;
12532
13375
  ownerKey: "becca" | "nikos";
12533
- amountMinor: number;
12534
13376
  purpose: "advanceRepayment" | "ownerDistribution";
12535
13377
  hasStripeTransfer: boolean;
12536
13378
  failureCode: string | null;
@@ -12539,7 +13381,7 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
12539
13381
  status: "canceled" | "planned" | "executing" | "completed" | "failed";
12540
13382
  id: string;
12541
13383
  createdAt: string;
12542
- mode: "sandbox" | "live";
13384
+ mode: "live" | "sandbox";
12543
13385
  currency: "gbp";
12544
13386
  failureCode: string | null;
12545
13387
  trigger: "owner" | "balanceAvailable" | "scheduled";
@@ -12554,16 +13396,16 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
12554
13396
  transfers: {
12555
13397
  status: "planned" | "completed" | "failed";
12556
13398
  id: string;
13399
+ amountMinor: number;
12557
13400
  percentageBasisPoints: number | null;
12558
13401
  ownerKey: "becca" | "nikos";
12559
- amountMinor: number;
12560
13402
  purpose: "advanceRepayment" | "ownerDistribution";
12561
13403
  hasStripeTransfer: boolean;
12562
13404
  failureCode: string | null;
12563
13405
  }[];
12564
13406
  }>, "many">;
12565
13407
  }, "strip", z.ZodTypeAny, {
12566
- mode: "sandbox" | "live";
13408
+ mode: "live" | "sandbox";
12567
13409
  generatedAt: string;
12568
13410
  currency: "gbp";
12569
13411
  configuration: {
@@ -12592,11 +13434,11 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
12592
13434
  id: string;
12593
13435
  createdAt: string;
12594
13436
  source: "manual" | "stripePlatformPayout" | "residualSettlement";
12595
- mode: "sandbox" | "live";
13437
+ mode: "live" | "sandbox";
13438
+ amountMinor: number;
12596
13439
  currency: "gbp";
12597
13440
  ownerKey: "becca" | "nikos";
12598
13441
  kind: "advance" | "repayment" | "increaseAdjustment" | "decreaseAdjustment";
12599
- amountMinor: number;
12600
13442
  note: string | null;
12601
13443
  occurredAt: string;
12602
13444
  externalReference: string;
@@ -12607,13 +13449,13 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
12607
13449
  surplusAmountMinor: number;
12608
13450
  distributableAmountMinor: number;
12609
13451
  advanceRepayments: {
12610
- ownerKey: "becca" | "nikos";
12611
13452
  amountMinor: number;
13453
+ ownerKey: "becca" | "nikos";
12612
13454
  }[];
12613
13455
  ownerDistributions: {
13456
+ amountMinor: number;
12614
13457
  percentageBasisPoints: number;
12615
13458
  ownerKey: "becca" | "nikos";
12616
- amountMinor: number;
12617
13459
  }[];
12618
13460
  totalTransferAmountMinor: number;
12619
13461
  };
@@ -12623,7 +13465,7 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
12623
13465
  status: "canceled" | "planned" | "executing" | "completed" | "failed";
12624
13466
  id: string;
12625
13467
  createdAt: string;
12626
- mode: "sandbox" | "live";
13468
+ mode: "live" | "sandbox";
12627
13469
  currency: "gbp";
12628
13470
  failureCode: string | null;
12629
13471
  trigger: "owner" | "balanceAvailable" | "scheduled";
@@ -12638,9 +13480,9 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
12638
13480
  transfers: {
12639
13481
  status: "planned" | "completed" | "failed";
12640
13482
  id: string;
13483
+ amountMinor: number;
12641
13484
  percentageBasisPoints: number | null;
12642
13485
  ownerKey: "becca" | "nikos";
12643
- amountMinor: number;
12644
13486
  purpose: "advanceRepayment" | "ownerDistribution";
12645
13487
  hasStripeTransfer: boolean;
12646
13488
  failureCode: string | null;
@@ -12650,7 +13492,7 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
12650
13492
  status: "canceled" | "planned" | "executing" | "completed" | "failed";
12651
13493
  id: string;
12652
13494
  createdAt: string;
12653
- mode: "sandbox" | "live";
13495
+ mode: "live" | "sandbox";
12654
13496
  currency: "gbp";
12655
13497
  failureCode: string | null;
12656
13498
  trigger: "owner" | "balanceAvailable" | "scheduled";
@@ -12665,16 +13507,16 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
12665
13507
  transfers: {
12666
13508
  status: "planned" | "completed" | "failed";
12667
13509
  id: string;
13510
+ amountMinor: number;
12668
13511
  percentageBasisPoints: number | null;
12669
13512
  ownerKey: "becca" | "nikos";
12670
- amountMinor: number;
12671
13513
  purpose: "advanceRepayment" | "ownerDistribution";
12672
13514
  hasStripeTransfer: boolean;
12673
13515
  failureCode: string | null;
12674
13516
  }[];
12675
13517
  }[];
12676
13518
  }, {
12677
- mode: "sandbox" | "live";
13519
+ mode: "live" | "sandbox";
12678
13520
  generatedAt: string;
12679
13521
  currency: "gbp";
12680
13522
  configuration: {
@@ -12703,11 +13545,11 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
12703
13545
  id: string;
12704
13546
  createdAt: string;
12705
13547
  source: "manual" | "stripePlatformPayout" | "residualSettlement";
12706
- mode: "sandbox" | "live";
13548
+ mode: "live" | "sandbox";
13549
+ amountMinor: number;
12707
13550
  currency: "gbp";
12708
13551
  ownerKey: "becca" | "nikos";
12709
13552
  kind: "advance" | "repayment" | "increaseAdjustment" | "decreaseAdjustment";
12710
- amountMinor: number;
12711
13553
  note: string | null;
12712
13554
  occurredAt: string;
12713
13555
  externalReference: string;
@@ -12718,13 +13560,13 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
12718
13560
  surplusAmountMinor: number;
12719
13561
  distributableAmountMinor: number;
12720
13562
  advanceRepayments: {
12721
- ownerKey: "becca" | "nikos";
12722
13563
  amountMinor: number;
13564
+ ownerKey: "becca" | "nikos";
12723
13565
  }[];
12724
13566
  ownerDistributions: {
13567
+ amountMinor: number;
12725
13568
  percentageBasisPoints: number;
12726
13569
  ownerKey: "becca" | "nikos";
12727
- amountMinor: number;
12728
13570
  }[];
12729
13571
  totalTransferAmountMinor: number;
12730
13572
  };
@@ -12734,7 +13576,7 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
12734
13576
  status: "canceled" | "planned" | "executing" | "completed" | "failed";
12735
13577
  id: string;
12736
13578
  createdAt: string;
12737
- mode: "sandbox" | "live";
13579
+ mode: "live" | "sandbox";
12738
13580
  currency: "gbp";
12739
13581
  failureCode: string | null;
12740
13582
  trigger: "owner" | "balanceAvailable" | "scheduled";
@@ -12749,9 +13591,9 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
12749
13591
  transfers: {
12750
13592
  status: "planned" | "completed" | "failed";
12751
13593
  id: string;
13594
+ amountMinor: number;
12752
13595
  percentageBasisPoints: number | null;
12753
13596
  ownerKey: "becca" | "nikos";
12754
- amountMinor: number;
12755
13597
  purpose: "advanceRepayment" | "ownerDistribution";
12756
13598
  hasStripeTransfer: boolean;
12757
13599
  failureCode: string | null;
@@ -12761,7 +13603,7 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
12761
13603
  status: "canceled" | "planned" | "executing" | "completed" | "failed";
12762
13604
  id: string;
12763
13605
  createdAt: string;
12764
- mode: "sandbox" | "live";
13606
+ mode: "live" | "sandbox";
12765
13607
  currency: "gbp";
12766
13608
  failureCode: string | null;
12767
13609
  trigger: "owner" | "balanceAvailable" | "scheduled";
@@ -12776,9 +13618,9 @@ export declare const adminStripeResidualSettlementStateResponseSchema: z.ZodObje
12776
13618
  transfers: {
12777
13619
  status: "planned" | "completed" | "failed";
12778
13620
  id: string;
13621
+ amountMinor: number;
12779
13622
  percentageBasisPoints: number | null;
12780
13623
  ownerKey: "becca" | "nikos";
12781
- amountMinor: number;
12782
13624
  purpose: "advanceRepayment" | "ownerDistribution";
12783
13625
  hasStripeTransfer: boolean;
12784
13626
  failureCode: string | null;
@@ -12804,11 +13646,11 @@ export declare const adminStripeOwnerFundingEntryResponseSchema: z.ZodObject<{
12804
13646
  id: string;
12805
13647
  createdAt: string;
12806
13648
  source: "manual" | "stripePlatformPayout" | "residualSettlement";
12807
- mode: "sandbox" | "live";
13649
+ mode: "live" | "sandbox";
13650
+ amountMinor: number;
12808
13651
  currency: "gbp";
12809
13652
  ownerKey: "becca" | "nikos";
12810
13653
  kind: "advance" | "repayment" | "increaseAdjustment" | "decreaseAdjustment";
12811
- amountMinor: number;
12812
13654
  note: string | null;
12813
13655
  occurredAt: string;
12814
13656
  externalReference: string;
@@ -12817,11 +13659,11 @@ export declare const adminStripeOwnerFundingEntryResponseSchema: z.ZodObject<{
12817
13659
  id: string;
12818
13660
  createdAt: string;
12819
13661
  source: "manual" | "stripePlatformPayout" | "residualSettlement";
12820
- mode: "sandbox" | "live";
13662
+ mode: "live" | "sandbox";
13663
+ amountMinor: number;
12821
13664
  currency: "gbp";
12822
13665
  ownerKey: "becca" | "nikos";
12823
13666
  kind: "advance" | "repayment" | "increaseAdjustment" | "decreaseAdjustment";
12824
- amountMinor: number;
12825
13667
  note: string | null;
12826
13668
  occurredAt: string;
12827
13669
  externalReference: string;
@@ -12832,11 +13674,11 @@ export declare const adminStripeOwnerFundingEntryResponseSchema: z.ZodObject<{
12832
13674
  id: string;
12833
13675
  createdAt: string;
12834
13676
  source: "manual" | "stripePlatformPayout" | "residualSettlement";
12835
- mode: "sandbox" | "live";
13677
+ mode: "live" | "sandbox";
13678
+ amountMinor: number;
12836
13679
  currency: "gbp";
12837
13680
  ownerKey: "becca" | "nikos";
12838
13681
  kind: "advance" | "repayment" | "increaseAdjustment" | "decreaseAdjustment";
12839
- amountMinor: number;
12840
13682
  note: string | null;
12841
13683
  occurredAt: string;
12842
13684
  externalReference: string;
@@ -12847,11 +13689,11 @@ export declare const adminStripeOwnerFundingEntryResponseSchema: z.ZodObject<{
12847
13689
  id: string;
12848
13690
  createdAt: string;
12849
13691
  source: "manual" | "stripePlatformPayout" | "residualSettlement";
12850
- mode: "sandbox" | "live";
13692
+ mode: "live" | "sandbox";
13693
+ amountMinor: number;
12851
13694
  currency: "gbp";
12852
13695
  ownerKey: "becca" | "nikos";
12853
13696
  kind: "advance" | "repayment" | "increaseAdjustment" | "decreaseAdjustment";
12854
- amountMinor: number;
12855
13697
  note: string | null;
12856
13698
  occurredAt: string;
12857
13699
  externalReference: string;
@@ -12886,18 +13728,18 @@ export declare const adminStripeResidualSettlementExecutionResponseSchema: z.Zod
12886
13728
  }, "strip", z.ZodTypeAny, {
12887
13729
  status: "planned" | "completed" | "failed";
12888
13730
  id: string;
13731
+ amountMinor: number;
12889
13732
  percentageBasisPoints: number | null;
12890
13733
  ownerKey: "becca" | "nikos";
12891
- amountMinor: number;
12892
13734
  purpose: "advanceRepayment" | "ownerDistribution";
12893
13735
  hasStripeTransfer: boolean;
12894
13736
  failureCode: string | null;
12895
13737
  }, {
12896
13738
  status: "planned" | "completed" | "failed";
12897
13739
  id: string;
13740
+ amountMinor: number;
12898
13741
  percentageBasisPoints: number | null;
12899
13742
  ownerKey: "becca" | "nikos";
12900
- amountMinor: number;
12901
13743
  purpose: "advanceRepayment" | "ownerDistribution";
12902
13744
  hasStripeTransfer: boolean;
12903
13745
  failureCode: string | null;
@@ -12906,7 +13748,7 @@ export declare const adminStripeResidualSettlementExecutionResponseSchema: z.Zod
12906
13748
  status: "canceled" | "planned" | "executing" | "completed" | "failed";
12907
13749
  id: string;
12908
13750
  createdAt: string;
12909
- mode: "sandbox" | "live";
13751
+ mode: "live" | "sandbox";
12910
13752
  currency: "gbp";
12911
13753
  failureCode: string | null;
12912
13754
  trigger: "owner" | "balanceAvailable" | "scheduled";
@@ -12921,9 +13763,9 @@ export declare const adminStripeResidualSettlementExecutionResponseSchema: z.Zod
12921
13763
  transfers: {
12922
13764
  status: "planned" | "completed" | "failed";
12923
13765
  id: string;
13766
+ amountMinor: number;
12924
13767
  percentageBasisPoints: number | null;
12925
13768
  ownerKey: "becca" | "nikos";
12926
- amountMinor: number;
12927
13769
  purpose: "advanceRepayment" | "ownerDistribution";
12928
13770
  hasStripeTransfer: boolean;
12929
13771
  failureCode: string | null;
@@ -12932,7 +13774,7 @@ export declare const adminStripeResidualSettlementExecutionResponseSchema: z.Zod
12932
13774
  status: "canceled" | "planned" | "executing" | "completed" | "failed";
12933
13775
  id: string;
12934
13776
  createdAt: string;
12935
- mode: "sandbox" | "live";
13777
+ mode: "live" | "sandbox";
12936
13778
  currency: "gbp";
12937
13779
  failureCode: string | null;
12938
13780
  trigger: "owner" | "balanceAvailable" | "scheduled";
@@ -12947,9 +13789,9 @@ export declare const adminStripeResidualSettlementExecutionResponseSchema: z.Zod
12947
13789
  transfers: {
12948
13790
  status: "planned" | "completed" | "failed";
12949
13791
  id: string;
13792
+ amountMinor: number;
12950
13793
  percentageBasisPoints: number | null;
12951
13794
  ownerKey: "becca" | "nikos";
12952
- amountMinor: number;
12953
13795
  purpose: "advanceRepayment" | "ownerDistribution";
12954
13796
  hasStripeTransfer: boolean;
12955
13797
  failureCode: string | null;
@@ -12960,7 +13802,7 @@ export declare const adminStripeResidualSettlementExecutionResponseSchema: z.Zod
12960
13802
  status: "canceled" | "planned" | "executing" | "completed" | "failed";
12961
13803
  id: string;
12962
13804
  createdAt: string;
12963
- mode: "sandbox" | "live";
13805
+ mode: "live" | "sandbox";
12964
13806
  currency: "gbp";
12965
13807
  failureCode: string | null;
12966
13808
  trigger: "owner" | "balanceAvailable" | "scheduled";
@@ -12975,9 +13817,9 @@ export declare const adminStripeResidualSettlementExecutionResponseSchema: z.Zod
12975
13817
  transfers: {
12976
13818
  status: "planned" | "completed" | "failed";
12977
13819
  id: string;
13820
+ amountMinor: number;
12978
13821
  percentageBasisPoints: number | null;
12979
13822
  ownerKey: "becca" | "nikos";
12980
- amountMinor: number;
12981
13823
  purpose: "advanceRepayment" | "ownerDistribution";
12982
13824
  hasStripeTransfer: boolean;
12983
13825
  failureCode: string | null;
@@ -12988,7 +13830,7 @@ export declare const adminStripeResidualSettlementExecutionResponseSchema: z.Zod
12988
13830
  status: "canceled" | "planned" | "executing" | "completed" | "failed";
12989
13831
  id: string;
12990
13832
  createdAt: string;
12991
- mode: "sandbox" | "live";
13833
+ mode: "live" | "sandbox";
12992
13834
  currency: "gbp";
12993
13835
  failureCode: string | null;
12994
13836
  trigger: "owner" | "balanceAvailable" | "scheduled";
@@ -13003,9 +13845,9 @@ export declare const adminStripeResidualSettlementExecutionResponseSchema: z.Zod
13003
13845
  transfers: {
13004
13846
  status: "planned" | "completed" | "failed";
13005
13847
  id: string;
13848
+ amountMinor: number;
13006
13849
  percentageBasisPoints: number | null;
13007
13850
  ownerKey: "becca" | "nikos";
13008
- amountMinor: number;
13009
13851
  purpose: "advanceRepayment" | "ownerDistribution";
13010
13852
  hasStripeTransfer: boolean;
13011
13853
  failureCode: string | null;
@@ -13019,6 +13861,9 @@ export type CreateInviteCodeRequest = z.infer<typeof createInviteCodeRequestSche
13019
13861
  export type UpdateInviteCodeRequest = z.infer<typeof updateInviteCodeRequestSchema>;
13020
13862
  export type CreateFamilyAssignmentRequest = z.infer<typeof createFamilyAssignmentRequestSchema>;
13021
13863
  export type UpdateAdminFamilyTimeZoneRequest = z.infer<typeof updateAdminFamilyTimeZoneRequestSchema>;
13864
+ export type AdminActiveTimerCounts = z.infer<typeof adminActiveTimerCountsSchema>;
13865
+ export type AdminActiveTimer = z.infer<typeof adminActiveTimerSchema>;
13866
+ export type AdminActiveTimersResponse = z.infer<typeof adminActiveTimersResponseSchema>;
13022
13867
  export type AdminCoachActivityQuery = z.infer<typeof adminCoachActivityQuerySchema>;
13023
13868
  export type AdminCoachActivityDailyTrend = z.infer<typeof adminCoachActivityDailyTrendSchema>;
13024
13869
  export type AdminCoachSupportSummary = z.infer<typeof adminCoachSupportSummarySchema>;