@beorchid-llc/thrivo-contracts 0.5.5 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/admin-analytics.d.ts +488 -0
- package/dist/admin-analytics.d.ts.map +1 -0
- package/dist/admin-analytics.js +46 -0
- package/dist/admin-analytics.js.map +1 -0
- package/dist/admin-content.d.ts +92 -0
- package/dist/admin-content.d.ts.map +1 -0
- package/dist/admin-content.js +24 -0
- package/dist/admin-content.js.map +1 -0
- package/dist/admin-logs.d.ts +55 -0
- package/dist/admin-logs.d.ts.map +1 -0
- package/dist/admin-logs.js +24 -0
- package/dist/admin-logs.js.map +1 -0
- package/dist/admin-subscriptions.d.ts +40 -0
- package/dist/admin-subscriptions.d.ts.map +1 -0
- package/dist/admin-subscriptions.js +22 -0
- package/dist/admin-subscriptions.js.map +1 -0
- package/dist/admin.d.ts +75 -75
- package/dist/checkins.d.ts +130 -0
- package/dist/checkins.d.ts.map +1 -0
- package/dist/checkins.js +23 -0
- package/dist/checkins.js.map +1 -0
- package/dist/foods.d.ts +1986 -482
- package/dist/foods.d.ts.map +1 -1
- package/dist/foods.js +166 -10
- package/dist/foods.js.map +1 -1
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/metrics.d.ts +913 -0
- package/dist/metrics.d.ts.map +1 -1
- package/dist/metrics.js +124 -1
- package/dist/metrics.js.map +1 -1
- package/dist/push.d.ts +19 -0
- package/dist/push.d.ts.map +1 -0
- package/dist/push.js +12 -0
- package/dist/push.js.map +1 -0
- package/dist/settings.d.ts +52 -52
- package/dist/subscriptions.d.ts +46 -46
- package/dist/users.d.ts +32 -32
- package/package.json +1 -1
package/dist/settings.d.ts
CHANGED
|
@@ -17,8 +17,9 @@ export declare const globalSettingsSchema: z.ZodObject<{
|
|
|
17
17
|
createdAt: z.ZodDate;
|
|
18
18
|
updatedAt: z.ZodDate;
|
|
19
19
|
}, "strip", z.ZodTypeAny, {
|
|
20
|
-
createdAt: Date;
|
|
21
20
|
updatedAt: Date;
|
|
21
|
+
createdAt: Date;
|
|
22
|
+
trialDays: number;
|
|
22
23
|
key: "default";
|
|
23
24
|
pushNotificationsEnabled: boolean;
|
|
24
25
|
dailyFoodLogReminderEnabled: boolean;
|
|
@@ -28,10 +29,10 @@ export declare const globalSettingsSchema: z.ZodObject<{
|
|
|
28
29
|
trialsEnabled: boolean;
|
|
29
30
|
purchasesEnabled: boolean;
|
|
30
31
|
cancellationsEnabled: boolean;
|
|
31
|
-
trialDays: number;
|
|
32
32
|
}, {
|
|
33
|
-
createdAt: Date;
|
|
34
33
|
updatedAt: Date;
|
|
34
|
+
createdAt: Date;
|
|
35
|
+
trialDays: number;
|
|
35
36
|
key: "default";
|
|
36
37
|
pushNotificationsEnabled: boolean;
|
|
37
38
|
dailyFoodLogReminderEnabled: boolean;
|
|
@@ -41,7 +42,6 @@ export declare const globalSettingsSchema: z.ZodObject<{
|
|
|
41
42
|
trialsEnabled: boolean;
|
|
42
43
|
purchasesEnabled: boolean;
|
|
43
44
|
cancellationsEnabled: boolean;
|
|
44
|
-
trialDays: number;
|
|
45
45
|
}>;
|
|
46
46
|
export type GlobalSettings = z.infer<typeof globalSettingsSchema>;
|
|
47
47
|
export declare const userSettingsSchema: z.ZodObject<{
|
|
@@ -60,9 +60,9 @@ export declare const userSettingsSchema: z.ZodObject<{
|
|
|
60
60
|
updatedAt: z.ZodDate;
|
|
61
61
|
}, "strip", z.ZodTypeAny, {
|
|
62
62
|
id: string;
|
|
63
|
+
updatedAt: Date;
|
|
63
64
|
createdAt: Date;
|
|
64
65
|
unitSystem: "metric" | "imperial";
|
|
65
|
-
updatedAt: Date;
|
|
66
66
|
userId: string;
|
|
67
67
|
pushNotificationsEnabled: boolean;
|
|
68
68
|
dailyFoodLogReminderEnabled: boolean;
|
|
@@ -74,9 +74,9 @@ export declare const userSettingsSchema: z.ZodObject<{
|
|
|
74
74
|
hydrationReminderIntervalMinutes: number;
|
|
75
75
|
}, {
|
|
76
76
|
id: string;
|
|
77
|
+
updatedAt: Date;
|
|
77
78
|
createdAt: Date;
|
|
78
79
|
unitSystem: "metric" | "imperial";
|
|
79
|
-
updatedAt: Date;
|
|
80
80
|
userId: string;
|
|
81
81
|
pushNotificationsEnabled: boolean;
|
|
82
82
|
dailyFoodLogReminderEnabled: boolean;
|
|
@@ -103,8 +103,9 @@ export declare const effectiveSettingsSchema: z.ZodObject<{
|
|
|
103
103
|
createdAt: z.ZodDate;
|
|
104
104
|
updatedAt: z.ZodDate;
|
|
105
105
|
}, "strip", z.ZodTypeAny, {
|
|
106
|
-
createdAt: Date;
|
|
107
106
|
updatedAt: Date;
|
|
107
|
+
createdAt: Date;
|
|
108
|
+
trialDays: number;
|
|
108
109
|
key: "default";
|
|
109
110
|
pushNotificationsEnabled: boolean;
|
|
110
111
|
dailyFoodLogReminderEnabled: boolean;
|
|
@@ -114,10 +115,10 @@ export declare const effectiveSettingsSchema: z.ZodObject<{
|
|
|
114
115
|
trialsEnabled: boolean;
|
|
115
116
|
purchasesEnabled: boolean;
|
|
116
117
|
cancellationsEnabled: boolean;
|
|
117
|
-
trialDays: number;
|
|
118
118
|
}, {
|
|
119
|
-
createdAt: Date;
|
|
120
119
|
updatedAt: Date;
|
|
120
|
+
createdAt: Date;
|
|
121
|
+
trialDays: number;
|
|
121
122
|
key: "default";
|
|
122
123
|
pushNotificationsEnabled: boolean;
|
|
123
124
|
dailyFoodLogReminderEnabled: boolean;
|
|
@@ -127,7 +128,6 @@ export declare const effectiveSettingsSchema: z.ZodObject<{
|
|
|
127
128
|
trialsEnabled: boolean;
|
|
128
129
|
purchasesEnabled: boolean;
|
|
129
130
|
cancellationsEnabled: boolean;
|
|
130
|
-
trialDays: number;
|
|
131
131
|
}>;
|
|
132
132
|
user: z.ZodObject<{
|
|
133
133
|
id: z.ZodString;
|
|
@@ -145,9 +145,9 @@ export declare const effectiveSettingsSchema: z.ZodObject<{
|
|
|
145
145
|
updatedAt: z.ZodDate;
|
|
146
146
|
}, "strip", z.ZodTypeAny, {
|
|
147
147
|
id: string;
|
|
148
|
+
updatedAt: Date;
|
|
148
149
|
createdAt: Date;
|
|
149
150
|
unitSystem: "metric" | "imperial";
|
|
150
|
-
updatedAt: Date;
|
|
151
151
|
userId: string;
|
|
152
152
|
pushNotificationsEnabled: boolean;
|
|
153
153
|
dailyFoodLogReminderEnabled: boolean;
|
|
@@ -159,9 +159,9 @@ export declare const effectiveSettingsSchema: z.ZodObject<{
|
|
|
159
159
|
hydrationReminderIntervalMinutes: number;
|
|
160
160
|
}, {
|
|
161
161
|
id: string;
|
|
162
|
+
updatedAt: Date;
|
|
162
163
|
createdAt: Date;
|
|
163
164
|
unitSystem: "metric" | "imperial";
|
|
164
|
-
updatedAt: Date;
|
|
165
165
|
userId: string;
|
|
166
166
|
pushNotificationsEnabled: boolean;
|
|
167
167
|
dailyFoodLogReminderEnabled: boolean;
|
|
@@ -183,6 +183,7 @@ export declare const effectiveSettingsSchema: z.ZodObject<{
|
|
|
183
183
|
cancellationsEnabled: z.ZodBoolean;
|
|
184
184
|
trialDays: z.ZodNumber;
|
|
185
185
|
}, "strip", z.ZodTypeAny, {
|
|
186
|
+
trialDays: number;
|
|
186
187
|
pushNotificationsEnabled: boolean;
|
|
187
188
|
dailyFoodLogReminderEnabled: boolean;
|
|
188
189
|
weightCheckReminderEnabled: boolean;
|
|
@@ -191,8 +192,8 @@ export declare const effectiveSettingsSchema: z.ZodObject<{
|
|
|
191
192
|
trialsEnabled: boolean;
|
|
192
193
|
purchasesEnabled: boolean;
|
|
193
194
|
cancellationsEnabled: boolean;
|
|
194
|
-
trialDays: number;
|
|
195
195
|
}, {
|
|
196
|
+
trialDays: number;
|
|
196
197
|
pushNotificationsEnabled: boolean;
|
|
197
198
|
dailyFoodLogReminderEnabled: boolean;
|
|
198
199
|
weightCheckReminderEnabled: boolean;
|
|
@@ -201,14 +202,13 @@ export declare const effectiveSettingsSchema: z.ZodObject<{
|
|
|
201
202
|
trialsEnabled: boolean;
|
|
202
203
|
purchasesEnabled: boolean;
|
|
203
204
|
cancellationsEnabled: boolean;
|
|
204
|
-
trialDays: number;
|
|
205
205
|
}>;
|
|
206
206
|
}, "strip", z.ZodTypeAny, {
|
|
207
207
|
user: {
|
|
208
208
|
id: string;
|
|
209
|
+
updatedAt: Date;
|
|
209
210
|
createdAt: Date;
|
|
210
211
|
unitSystem: "metric" | "imperial";
|
|
211
|
-
updatedAt: Date;
|
|
212
212
|
userId: string;
|
|
213
213
|
pushNotificationsEnabled: boolean;
|
|
214
214
|
dailyFoodLogReminderEnabled: boolean;
|
|
@@ -220,8 +220,9 @@ export declare const effectiveSettingsSchema: z.ZodObject<{
|
|
|
220
220
|
hydrationReminderIntervalMinutes: number;
|
|
221
221
|
};
|
|
222
222
|
global: {
|
|
223
|
-
createdAt: Date;
|
|
224
223
|
updatedAt: Date;
|
|
224
|
+
createdAt: Date;
|
|
225
|
+
trialDays: number;
|
|
225
226
|
key: "default";
|
|
226
227
|
pushNotificationsEnabled: boolean;
|
|
227
228
|
dailyFoodLogReminderEnabled: boolean;
|
|
@@ -231,9 +232,9 @@ export declare const effectiveSettingsSchema: z.ZodObject<{
|
|
|
231
232
|
trialsEnabled: boolean;
|
|
232
233
|
purchasesEnabled: boolean;
|
|
233
234
|
cancellationsEnabled: boolean;
|
|
234
|
-
trialDays: number;
|
|
235
235
|
};
|
|
236
236
|
effective: {
|
|
237
|
+
trialDays: number;
|
|
237
238
|
pushNotificationsEnabled: boolean;
|
|
238
239
|
dailyFoodLogReminderEnabled: boolean;
|
|
239
240
|
weightCheckReminderEnabled: boolean;
|
|
@@ -242,14 +243,13 @@ export declare const effectiveSettingsSchema: z.ZodObject<{
|
|
|
242
243
|
trialsEnabled: boolean;
|
|
243
244
|
purchasesEnabled: boolean;
|
|
244
245
|
cancellationsEnabled: boolean;
|
|
245
|
-
trialDays: number;
|
|
246
246
|
};
|
|
247
247
|
}, {
|
|
248
248
|
user: {
|
|
249
249
|
id: string;
|
|
250
|
+
updatedAt: Date;
|
|
250
251
|
createdAt: Date;
|
|
251
252
|
unitSystem: "metric" | "imperial";
|
|
252
|
-
updatedAt: Date;
|
|
253
253
|
userId: string;
|
|
254
254
|
pushNotificationsEnabled: boolean;
|
|
255
255
|
dailyFoodLogReminderEnabled: boolean;
|
|
@@ -261,8 +261,9 @@ export declare const effectiveSettingsSchema: z.ZodObject<{
|
|
|
261
261
|
hydrationReminderIntervalMinutes: number;
|
|
262
262
|
};
|
|
263
263
|
global: {
|
|
264
|
-
createdAt: Date;
|
|
265
264
|
updatedAt: Date;
|
|
265
|
+
createdAt: Date;
|
|
266
|
+
trialDays: number;
|
|
266
267
|
key: "default";
|
|
267
268
|
pushNotificationsEnabled: boolean;
|
|
268
269
|
dailyFoodLogReminderEnabled: boolean;
|
|
@@ -272,9 +273,9 @@ export declare const effectiveSettingsSchema: z.ZodObject<{
|
|
|
272
273
|
trialsEnabled: boolean;
|
|
273
274
|
purchasesEnabled: boolean;
|
|
274
275
|
cancellationsEnabled: boolean;
|
|
275
|
-
trialDays: number;
|
|
276
276
|
};
|
|
277
277
|
effective: {
|
|
278
|
+
trialDays: number;
|
|
278
279
|
pushNotificationsEnabled: boolean;
|
|
279
280
|
dailyFoodLogReminderEnabled: boolean;
|
|
280
281
|
weightCheckReminderEnabled: boolean;
|
|
@@ -283,7 +284,6 @@ export declare const effectiveSettingsSchema: z.ZodObject<{
|
|
|
283
284
|
trialsEnabled: boolean;
|
|
284
285
|
purchasesEnabled: boolean;
|
|
285
286
|
cancellationsEnabled: boolean;
|
|
286
|
-
trialDays: number;
|
|
287
287
|
};
|
|
288
288
|
}>;
|
|
289
289
|
export type EffectiveSettings = z.infer<typeof effectiveSettingsSchema>;
|
|
@@ -330,6 +330,7 @@ export declare const updateGlobalSettingsPayloadSchema: z.ZodObject<{
|
|
|
330
330
|
cancellationsEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
331
331
|
trialDays: z.ZodOptional<z.ZodNumber>;
|
|
332
332
|
}, "strip", z.ZodTypeAny, {
|
|
333
|
+
trialDays?: number | undefined;
|
|
333
334
|
pushNotificationsEnabled?: boolean | undefined;
|
|
334
335
|
dailyFoodLogReminderEnabled?: boolean | undefined;
|
|
335
336
|
weightCheckReminderEnabled?: boolean | undefined;
|
|
@@ -338,8 +339,8 @@ export declare const updateGlobalSettingsPayloadSchema: z.ZodObject<{
|
|
|
338
339
|
trialsEnabled?: boolean | undefined;
|
|
339
340
|
purchasesEnabled?: boolean | undefined;
|
|
340
341
|
cancellationsEnabled?: boolean | undefined;
|
|
341
|
-
trialDays?: number | undefined;
|
|
342
342
|
}, {
|
|
343
|
+
trialDays?: number | undefined;
|
|
343
344
|
pushNotificationsEnabled?: boolean | undefined;
|
|
344
345
|
dailyFoodLogReminderEnabled?: boolean | undefined;
|
|
345
346
|
weightCheckReminderEnabled?: boolean | undefined;
|
|
@@ -348,7 +349,6 @@ export declare const updateGlobalSettingsPayloadSchema: z.ZodObject<{
|
|
|
348
349
|
trialsEnabled?: boolean | undefined;
|
|
349
350
|
purchasesEnabled?: boolean | undefined;
|
|
350
351
|
cancellationsEnabled?: boolean | undefined;
|
|
351
|
-
trialDays?: number | undefined;
|
|
352
352
|
}>;
|
|
353
353
|
export type UpdateGlobalSettingsPayload = z.infer<typeof updateGlobalSettingsPayloadSchema>;
|
|
354
354
|
export declare const userSettingsResponseSchema: z.ZodObject<{
|
|
@@ -369,9 +369,9 @@ export declare const userSettingsResponseSchema: z.ZodObject<{
|
|
|
369
369
|
updatedAt: z.ZodDate;
|
|
370
370
|
}, "strip", z.ZodTypeAny, {
|
|
371
371
|
id: string;
|
|
372
|
+
updatedAt: Date;
|
|
372
373
|
createdAt: Date;
|
|
373
374
|
unitSystem: "metric" | "imperial";
|
|
374
|
-
updatedAt: Date;
|
|
375
375
|
userId: string;
|
|
376
376
|
pushNotificationsEnabled: boolean;
|
|
377
377
|
dailyFoodLogReminderEnabled: boolean;
|
|
@@ -383,9 +383,9 @@ export declare const userSettingsResponseSchema: z.ZodObject<{
|
|
|
383
383
|
hydrationReminderIntervalMinutes: number;
|
|
384
384
|
}, {
|
|
385
385
|
id: string;
|
|
386
|
+
updatedAt: Date;
|
|
386
387
|
createdAt: Date;
|
|
387
388
|
unitSystem: "metric" | "imperial";
|
|
388
|
-
updatedAt: Date;
|
|
389
389
|
userId: string;
|
|
390
390
|
pushNotificationsEnabled: boolean;
|
|
391
391
|
dailyFoodLogReminderEnabled: boolean;
|
|
@@ -404,9 +404,9 @@ export declare const userSettingsResponseSchema: z.ZodObject<{
|
|
|
404
404
|
responseCode: number;
|
|
405
405
|
data: {
|
|
406
406
|
id: string;
|
|
407
|
+
updatedAt: Date;
|
|
407
408
|
createdAt: Date;
|
|
408
409
|
unitSystem: "metric" | "imperial";
|
|
409
|
-
updatedAt: Date;
|
|
410
410
|
userId: string;
|
|
411
411
|
pushNotificationsEnabled: boolean;
|
|
412
412
|
dailyFoodLogReminderEnabled: boolean;
|
|
@@ -423,9 +423,9 @@ export declare const userSettingsResponseSchema: z.ZodObject<{
|
|
|
423
423
|
responseCode: number;
|
|
424
424
|
data: {
|
|
425
425
|
id: string;
|
|
426
|
+
updatedAt: Date;
|
|
426
427
|
createdAt: Date;
|
|
427
428
|
unitSystem: "metric" | "imperial";
|
|
428
|
-
updatedAt: Date;
|
|
429
429
|
userId: string;
|
|
430
430
|
pushNotificationsEnabled: boolean;
|
|
431
431
|
dailyFoodLogReminderEnabled: boolean;
|
|
@@ -455,8 +455,9 @@ export declare const effectiveSettingsResponseSchema: z.ZodObject<{
|
|
|
455
455
|
createdAt: z.ZodDate;
|
|
456
456
|
updatedAt: z.ZodDate;
|
|
457
457
|
}, "strip", z.ZodTypeAny, {
|
|
458
|
-
createdAt: Date;
|
|
459
458
|
updatedAt: Date;
|
|
459
|
+
createdAt: Date;
|
|
460
|
+
trialDays: number;
|
|
460
461
|
key: "default";
|
|
461
462
|
pushNotificationsEnabled: boolean;
|
|
462
463
|
dailyFoodLogReminderEnabled: boolean;
|
|
@@ -466,10 +467,10 @@ export declare const effectiveSettingsResponseSchema: z.ZodObject<{
|
|
|
466
467
|
trialsEnabled: boolean;
|
|
467
468
|
purchasesEnabled: boolean;
|
|
468
469
|
cancellationsEnabled: boolean;
|
|
469
|
-
trialDays: number;
|
|
470
470
|
}, {
|
|
471
|
-
createdAt: Date;
|
|
472
471
|
updatedAt: Date;
|
|
472
|
+
createdAt: Date;
|
|
473
|
+
trialDays: number;
|
|
473
474
|
key: "default";
|
|
474
475
|
pushNotificationsEnabled: boolean;
|
|
475
476
|
dailyFoodLogReminderEnabled: boolean;
|
|
@@ -479,7 +480,6 @@ export declare const effectiveSettingsResponseSchema: z.ZodObject<{
|
|
|
479
480
|
trialsEnabled: boolean;
|
|
480
481
|
purchasesEnabled: boolean;
|
|
481
482
|
cancellationsEnabled: boolean;
|
|
482
|
-
trialDays: number;
|
|
483
483
|
}>;
|
|
484
484
|
user: z.ZodObject<{
|
|
485
485
|
id: z.ZodString;
|
|
@@ -497,9 +497,9 @@ export declare const effectiveSettingsResponseSchema: z.ZodObject<{
|
|
|
497
497
|
updatedAt: z.ZodDate;
|
|
498
498
|
}, "strip", z.ZodTypeAny, {
|
|
499
499
|
id: string;
|
|
500
|
+
updatedAt: Date;
|
|
500
501
|
createdAt: Date;
|
|
501
502
|
unitSystem: "metric" | "imperial";
|
|
502
|
-
updatedAt: Date;
|
|
503
503
|
userId: string;
|
|
504
504
|
pushNotificationsEnabled: boolean;
|
|
505
505
|
dailyFoodLogReminderEnabled: boolean;
|
|
@@ -511,9 +511,9 @@ export declare const effectiveSettingsResponseSchema: z.ZodObject<{
|
|
|
511
511
|
hydrationReminderIntervalMinutes: number;
|
|
512
512
|
}, {
|
|
513
513
|
id: string;
|
|
514
|
+
updatedAt: Date;
|
|
514
515
|
createdAt: Date;
|
|
515
516
|
unitSystem: "metric" | "imperial";
|
|
516
|
-
updatedAt: Date;
|
|
517
517
|
userId: string;
|
|
518
518
|
pushNotificationsEnabled: boolean;
|
|
519
519
|
dailyFoodLogReminderEnabled: boolean;
|
|
@@ -535,6 +535,7 @@ export declare const effectiveSettingsResponseSchema: z.ZodObject<{
|
|
|
535
535
|
cancellationsEnabled: z.ZodBoolean;
|
|
536
536
|
trialDays: z.ZodNumber;
|
|
537
537
|
}, "strip", z.ZodTypeAny, {
|
|
538
|
+
trialDays: number;
|
|
538
539
|
pushNotificationsEnabled: boolean;
|
|
539
540
|
dailyFoodLogReminderEnabled: boolean;
|
|
540
541
|
weightCheckReminderEnabled: boolean;
|
|
@@ -543,8 +544,8 @@ export declare const effectiveSettingsResponseSchema: z.ZodObject<{
|
|
|
543
544
|
trialsEnabled: boolean;
|
|
544
545
|
purchasesEnabled: boolean;
|
|
545
546
|
cancellationsEnabled: boolean;
|
|
546
|
-
trialDays: number;
|
|
547
547
|
}, {
|
|
548
|
+
trialDays: number;
|
|
548
549
|
pushNotificationsEnabled: boolean;
|
|
549
550
|
dailyFoodLogReminderEnabled: boolean;
|
|
550
551
|
weightCheckReminderEnabled: boolean;
|
|
@@ -553,14 +554,13 @@ export declare const effectiveSettingsResponseSchema: z.ZodObject<{
|
|
|
553
554
|
trialsEnabled: boolean;
|
|
554
555
|
purchasesEnabled: boolean;
|
|
555
556
|
cancellationsEnabled: boolean;
|
|
556
|
-
trialDays: number;
|
|
557
557
|
}>;
|
|
558
558
|
}, "strip", z.ZodTypeAny, {
|
|
559
559
|
user: {
|
|
560
560
|
id: string;
|
|
561
|
+
updatedAt: Date;
|
|
561
562
|
createdAt: Date;
|
|
562
563
|
unitSystem: "metric" | "imperial";
|
|
563
|
-
updatedAt: Date;
|
|
564
564
|
userId: string;
|
|
565
565
|
pushNotificationsEnabled: boolean;
|
|
566
566
|
dailyFoodLogReminderEnabled: boolean;
|
|
@@ -572,8 +572,9 @@ export declare const effectiveSettingsResponseSchema: z.ZodObject<{
|
|
|
572
572
|
hydrationReminderIntervalMinutes: number;
|
|
573
573
|
};
|
|
574
574
|
global: {
|
|
575
|
-
createdAt: Date;
|
|
576
575
|
updatedAt: Date;
|
|
576
|
+
createdAt: Date;
|
|
577
|
+
trialDays: number;
|
|
577
578
|
key: "default";
|
|
578
579
|
pushNotificationsEnabled: boolean;
|
|
579
580
|
dailyFoodLogReminderEnabled: boolean;
|
|
@@ -583,9 +584,9 @@ export declare const effectiveSettingsResponseSchema: z.ZodObject<{
|
|
|
583
584
|
trialsEnabled: boolean;
|
|
584
585
|
purchasesEnabled: boolean;
|
|
585
586
|
cancellationsEnabled: boolean;
|
|
586
|
-
trialDays: number;
|
|
587
587
|
};
|
|
588
588
|
effective: {
|
|
589
|
+
trialDays: number;
|
|
589
590
|
pushNotificationsEnabled: boolean;
|
|
590
591
|
dailyFoodLogReminderEnabled: boolean;
|
|
591
592
|
weightCheckReminderEnabled: boolean;
|
|
@@ -594,14 +595,13 @@ export declare const effectiveSettingsResponseSchema: z.ZodObject<{
|
|
|
594
595
|
trialsEnabled: boolean;
|
|
595
596
|
purchasesEnabled: boolean;
|
|
596
597
|
cancellationsEnabled: boolean;
|
|
597
|
-
trialDays: number;
|
|
598
598
|
};
|
|
599
599
|
}, {
|
|
600
600
|
user: {
|
|
601
601
|
id: string;
|
|
602
|
+
updatedAt: Date;
|
|
602
603
|
createdAt: Date;
|
|
603
604
|
unitSystem: "metric" | "imperial";
|
|
604
|
-
updatedAt: Date;
|
|
605
605
|
userId: string;
|
|
606
606
|
pushNotificationsEnabled: boolean;
|
|
607
607
|
dailyFoodLogReminderEnabled: boolean;
|
|
@@ -613,8 +613,9 @@ export declare const effectiveSettingsResponseSchema: z.ZodObject<{
|
|
|
613
613
|
hydrationReminderIntervalMinutes: number;
|
|
614
614
|
};
|
|
615
615
|
global: {
|
|
616
|
-
createdAt: Date;
|
|
617
616
|
updatedAt: Date;
|
|
617
|
+
createdAt: Date;
|
|
618
|
+
trialDays: number;
|
|
618
619
|
key: "default";
|
|
619
620
|
pushNotificationsEnabled: boolean;
|
|
620
621
|
dailyFoodLogReminderEnabled: boolean;
|
|
@@ -624,9 +625,9 @@ export declare const effectiveSettingsResponseSchema: z.ZodObject<{
|
|
|
624
625
|
trialsEnabled: boolean;
|
|
625
626
|
purchasesEnabled: boolean;
|
|
626
627
|
cancellationsEnabled: boolean;
|
|
627
|
-
trialDays: number;
|
|
628
628
|
};
|
|
629
629
|
effective: {
|
|
630
|
+
trialDays: number;
|
|
630
631
|
pushNotificationsEnabled: boolean;
|
|
631
632
|
dailyFoodLogReminderEnabled: boolean;
|
|
632
633
|
weightCheckReminderEnabled: boolean;
|
|
@@ -635,7 +636,6 @@ export declare const effectiveSettingsResponseSchema: z.ZodObject<{
|
|
|
635
636
|
trialsEnabled: boolean;
|
|
636
637
|
purchasesEnabled: boolean;
|
|
637
638
|
cancellationsEnabled: boolean;
|
|
638
|
-
trialDays: number;
|
|
639
639
|
};
|
|
640
640
|
}>;
|
|
641
641
|
responseCode: z.ZodNumber;
|
|
@@ -647,9 +647,9 @@ export declare const effectiveSettingsResponseSchema: z.ZodObject<{
|
|
|
647
647
|
data: {
|
|
648
648
|
user: {
|
|
649
649
|
id: string;
|
|
650
|
+
updatedAt: Date;
|
|
650
651
|
createdAt: Date;
|
|
651
652
|
unitSystem: "metric" | "imperial";
|
|
652
|
-
updatedAt: Date;
|
|
653
653
|
userId: string;
|
|
654
654
|
pushNotificationsEnabled: boolean;
|
|
655
655
|
dailyFoodLogReminderEnabled: boolean;
|
|
@@ -661,8 +661,9 @@ export declare const effectiveSettingsResponseSchema: z.ZodObject<{
|
|
|
661
661
|
hydrationReminderIntervalMinutes: number;
|
|
662
662
|
};
|
|
663
663
|
global: {
|
|
664
|
-
createdAt: Date;
|
|
665
664
|
updatedAt: Date;
|
|
665
|
+
createdAt: Date;
|
|
666
|
+
trialDays: number;
|
|
666
667
|
key: "default";
|
|
667
668
|
pushNotificationsEnabled: boolean;
|
|
668
669
|
dailyFoodLogReminderEnabled: boolean;
|
|
@@ -672,9 +673,9 @@ export declare const effectiveSettingsResponseSchema: z.ZodObject<{
|
|
|
672
673
|
trialsEnabled: boolean;
|
|
673
674
|
purchasesEnabled: boolean;
|
|
674
675
|
cancellationsEnabled: boolean;
|
|
675
|
-
trialDays: number;
|
|
676
676
|
};
|
|
677
677
|
effective: {
|
|
678
|
+
trialDays: number;
|
|
678
679
|
pushNotificationsEnabled: boolean;
|
|
679
680
|
dailyFoodLogReminderEnabled: boolean;
|
|
680
681
|
weightCheckReminderEnabled: boolean;
|
|
@@ -683,7 +684,6 @@ export declare const effectiveSettingsResponseSchema: z.ZodObject<{
|
|
|
683
684
|
trialsEnabled: boolean;
|
|
684
685
|
purchasesEnabled: boolean;
|
|
685
686
|
cancellationsEnabled: boolean;
|
|
686
|
-
trialDays: number;
|
|
687
687
|
};
|
|
688
688
|
};
|
|
689
689
|
}, {
|
|
@@ -693,9 +693,9 @@ export declare const effectiveSettingsResponseSchema: z.ZodObject<{
|
|
|
693
693
|
data: {
|
|
694
694
|
user: {
|
|
695
695
|
id: string;
|
|
696
|
+
updatedAt: Date;
|
|
696
697
|
createdAt: Date;
|
|
697
698
|
unitSystem: "metric" | "imperial";
|
|
698
|
-
updatedAt: Date;
|
|
699
699
|
userId: string;
|
|
700
700
|
pushNotificationsEnabled: boolean;
|
|
701
701
|
dailyFoodLogReminderEnabled: boolean;
|
|
@@ -707,8 +707,9 @@ export declare const effectiveSettingsResponseSchema: z.ZodObject<{
|
|
|
707
707
|
hydrationReminderIntervalMinutes: number;
|
|
708
708
|
};
|
|
709
709
|
global: {
|
|
710
|
-
createdAt: Date;
|
|
711
710
|
updatedAt: Date;
|
|
711
|
+
createdAt: Date;
|
|
712
|
+
trialDays: number;
|
|
712
713
|
key: "default";
|
|
713
714
|
pushNotificationsEnabled: boolean;
|
|
714
715
|
dailyFoodLogReminderEnabled: boolean;
|
|
@@ -718,9 +719,9 @@ export declare const effectiveSettingsResponseSchema: z.ZodObject<{
|
|
|
718
719
|
trialsEnabled: boolean;
|
|
719
720
|
purchasesEnabled: boolean;
|
|
720
721
|
cancellationsEnabled: boolean;
|
|
721
|
-
trialDays: number;
|
|
722
722
|
};
|
|
723
723
|
effective: {
|
|
724
|
+
trialDays: number;
|
|
724
725
|
pushNotificationsEnabled: boolean;
|
|
725
726
|
dailyFoodLogReminderEnabled: boolean;
|
|
726
727
|
weightCheckReminderEnabled: boolean;
|
|
@@ -729,7 +730,6 @@ export declare const effectiveSettingsResponseSchema: z.ZodObject<{
|
|
|
729
730
|
trialsEnabled: boolean;
|
|
730
731
|
purchasesEnabled: boolean;
|
|
731
732
|
cancellationsEnabled: boolean;
|
|
732
|
-
trialDays: number;
|
|
733
733
|
};
|
|
734
734
|
};
|
|
735
735
|
}>;
|