@_henriquewilson/gabirubi-domain 1.0.39 → 1.0.40
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/model/journey.d.mts +6 -6
- package/dist/model/journey.d.ts +6 -6
- package/dist/model/purchase.d.mts +2 -2
- package/dist/model/purchase.d.ts +2 -2
- package/dist/model/subscription.model.d.mts +22 -24
- package/dist/model/subscription.model.d.ts +22 -24
- package/dist/model/subscription.model.js +1 -1
- package/dist/model/subscription.model.js.map +1 -1
- package/dist/model/subscription.model.mjs +1 -1
- package/dist/model/subscription.model.mjs.map +1 -1
- package/package.json +1 -1
package/dist/model/journey.d.mts
CHANGED
|
@@ -82,26 +82,26 @@ declare const ModuleSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
82
82
|
title: string;
|
|
83
83
|
id?: string | null | undefined;
|
|
84
84
|
order?: number | null | undefined;
|
|
85
|
-
publishOnDate?: FirebaseFirestore.Timestamp | undefined;
|
|
86
85
|
previous?: {
|
|
87
86
|
createAt: FirebaseFirestore.Timestamp;
|
|
88
87
|
updateAt: FirebaseFirestore.Timestamp;
|
|
89
88
|
id?: string | null | undefined;
|
|
90
89
|
order?: number | null | undefined;
|
|
91
90
|
}[] | undefined;
|
|
91
|
+
publishOnDate?: FirebaseFirestore.Timestamp | undefined;
|
|
92
92
|
}, {
|
|
93
93
|
title: string;
|
|
94
94
|
id?: string | null | undefined;
|
|
95
95
|
order?: number | null | undefined;
|
|
96
96
|
createAt?: unknown;
|
|
97
97
|
updateAt?: unknown;
|
|
98
|
-
publishOnDate?: unknown;
|
|
99
98
|
previous?: {
|
|
100
99
|
id?: string | null | undefined;
|
|
101
100
|
order?: number | null | undefined;
|
|
102
101
|
createAt?: unknown;
|
|
103
102
|
updateAt?: unknown;
|
|
104
103
|
}[] | undefined;
|
|
104
|
+
publishOnDate?: unknown;
|
|
105
105
|
}>;
|
|
106
106
|
declare const JourneyContentTypeSchema: z.ZodEnum<["video", "file", "audio", "text"]>;
|
|
107
107
|
declare const ActivitySchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -222,7 +222,6 @@ declare const ModuleWithActivities: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
222
222
|
}>, "strip", z.ZodTypeAny, {
|
|
223
223
|
createAt: FirebaseFirestore.Timestamp;
|
|
224
224
|
updateAt: FirebaseFirestore.Timestamp;
|
|
225
|
-
title: string;
|
|
226
225
|
activities: {
|
|
227
226
|
createAt: FirebaseFirestore.Timestamp;
|
|
228
227
|
updateAt: FirebaseFirestore.Timestamp;
|
|
@@ -234,17 +233,17 @@ declare const ModuleWithActivities: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
234
233
|
publishOnDate?: FirebaseFirestore.Timestamp | undefined;
|
|
235
234
|
description?: string | undefined;
|
|
236
235
|
}[];
|
|
236
|
+
title: string;
|
|
237
237
|
id?: string | null | undefined;
|
|
238
238
|
order?: number | null | undefined;
|
|
239
|
-
publishOnDate?: FirebaseFirestore.Timestamp | undefined;
|
|
240
239
|
previous?: {
|
|
241
240
|
createAt: FirebaseFirestore.Timestamp;
|
|
242
241
|
updateAt: FirebaseFirestore.Timestamp;
|
|
243
242
|
id?: string | null | undefined;
|
|
244
243
|
order?: number | null | undefined;
|
|
245
244
|
}[] | undefined;
|
|
245
|
+
publishOnDate?: FirebaseFirestore.Timestamp | undefined;
|
|
246
246
|
}, {
|
|
247
|
-
title: string;
|
|
248
247
|
activities: {
|
|
249
248
|
title: string;
|
|
250
249
|
contentType: "video" | "file" | "audio" | "text";
|
|
@@ -256,17 +255,18 @@ declare const ModuleWithActivities: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
256
255
|
publishOnDate?: unknown;
|
|
257
256
|
description?: string | undefined;
|
|
258
257
|
}[];
|
|
258
|
+
title: string;
|
|
259
259
|
id?: string | null | undefined;
|
|
260
260
|
order?: number | null | undefined;
|
|
261
261
|
createAt?: unknown;
|
|
262
262
|
updateAt?: unknown;
|
|
263
|
-
publishOnDate?: unknown;
|
|
264
263
|
previous?: {
|
|
265
264
|
id?: string | null | undefined;
|
|
266
265
|
order?: number | null | undefined;
|
|
267
266
|
createAt?: unknown;
|
|
268
267
|
updateAt?: unknown;
|
|
269
268
|
}[] | undefined;
|
|
269
|
+
publishOnDate?: unknown;
|
|
270
270
|
}>;
|
|
271
271
|
type ModuleWithActivities = z.infer<typeof ModuleWithActivities>;
|
|
272
272
|
type Activity = z.infer<typeof ActivitySchema>;
|
package/dist/model/journey.d.ts
CHANGED
|
@@ -82,26 +82,26 @@ declare const ModuleSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
82
82
|
title: string;
|
|
83
83
|
id?: string | null | undefined;
|
|
84
84
|
order?: number | null | undefined;
|
|
85
|
-
publishOnDate?: FirebaseFirestore.Timestamp | undefined;
|
|
86
85
|
previous?: {
|
|
87
86
|
createAt: FirebaseFirestore.Timestamp;
|
|
88
87
|
updateAt: FirebaseFirestore.Timestamp;
|
|
89
88
|
id?: string | null | undefined;
|
|
90
89
|
order?: number | null | undefined;
|
|
91
90
|
}[] | undefined;
|
|
91
|
+
publishOnDate?: FirebaseFirestore.Timestamp | undefined;
|
|
92
92
|
}, {
|
|
93
93
|
title: string;
|
|
94
94
|
id?: string | null | undefined;
|
|
95
95
|
order?: number | null | undefined;
|
|
96
96
|
createAt?: unknown;
|
|
97
97
|
updateAt?: unknown;
|
|
98
|
-
publishOnDate?: unknown;
|
|
99
98
|
previous?: {
|
|
100
99
|
id?: string | null | undefined;
|
|
101
100
|
order?: number | null | undefined;
|
|
102
101
|
createAt?: unknown;
|
|
103
102
|
updateAt?: unknown;
|
|
104
103
|
}[] | undefined;
|
|
104
|
+
publishOnDate?: unknown;
|
|
105
105
|
}>;
|
|
106
106
|
declare const JourneyContentTypeSchema: z.ZodEnum<["video", "file", "audio", "text"]>;
|
|
107
107
|
declare const ActivitySchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -222,7 +222,6 @@ declare const ModuleWithActivities: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
222
222
|
}>, "strip", z.ZodTypeAny, {
|
|
223
223
|
createAt: FirebaseFirestore.Timestamp;
|
|
224
224
|
updateAt: FirebaseFirestore.Timestamp;
|
|
225
|
-
title: string;
|
|
226
225
|
activities: {
|
|
227
226
|
createAt: FirebaseFirestore.Timestamp;
|
|
228
227
|
updateAt: FirebaseFirestore.Timestamp;
|
|
@@ -234,17 +233,17 @@ declare const ModuleWithActivities: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
234
233
|
publishOnDate?: FirebaseFirestore.Timestamp | undefined;
|
|
235
234
|
description?: string | undefined;
|
|
236
235
|
}[];
|
|
236
|
+
title: string;
|
|
237
237
|
id?: string | null | undefined;
|
|
238
238
|
order?: number | null | undefined;
|
|
239
|
-
publishOnDate?: FirebaseFirestore.Timestamp | undefined;
|
|
240
239
|
previous?: {
|
|
241
240
|
createAt: FirebaseFirestore.Timestamp;
|
|
242
241
|
updateAt: FirebaseFirestore.Timestamp;
|
|
243
242
|
id?: string | null | undefined;
|
|
244
243
|
order?: number | null | undefined;
|
|
245
244
|
}[] | undefined;
|
|
245
|
+
publishOnDate?: FirebaseFirestore.Timestamp | undefined;
|
|
246
246
|
}, {
|
|
247
|
-
title: string;
|
|
248
247
|
activities: {
|
|
249
248
|
title: string;
|
|
250
249
|
contentType: "video" | "file" | "audio" | "text";
|
|
@@ -256,17 +255,18 @@ declare const ModuleWithActivities: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
256
255
|
publishOnDate?: unknown;
|
|
257
256
|
description?: string | undefined;
|
|
258
257
|
}[];
|
|
258
|
+
title: string;
|
|
259
259
|
id?: string | null | undefined;
|
|
260
260
|
order?: number | null | undefined;
|
|
261
261
|
createAt?: unknown;
|
|
262
262
|
updateAt?: unknown;
|
|
263
|
-
publishOnDate?: unknown;
|
|
264
263
|
previous?: {
|
|
265
264
|
id?: string | null | undefined;
|
|
266
265
|
order?: number | null | undefined;
|
|
267
266
|
createAt?: unknown;
|
|
268
267
|
updateAt?: unknown;
|
|
269
268
|
}[] | undefined;
|
|
269
|
+
publishOnDate?: unknown;
|
|
270
270
|
}>;
|
|
271
271
|
type ModuleWithActivities = z.infer<typeof ModuleWithActivities>;
|
|
272
272
|
type Activity = z.infer<typeof ActivitySchema>;
|
|
@@ -96,6 +96,7 @@ declare const ModuleProgressWithActivities: z.ZodObject<z.objectUtil.extendShape
|
|
|
96
96
|
}>, "strip", z.ZodTypeAny, {
|
|
97
97
|
createAt: FirebaseFirestore.Timestamp;
|
|
98
98
|
updateAt: FirebaseFirestore.Timestamp;
|
|
99
|
+
completionCounter: number;
|
|
99
100
|
activities: {
|
|
100
101
|
createAt: FirebaseFirestore.Timestamp;
|
|
101
102
|
updateAt: FirebaseFirestore.Timestamp;
|
|
@@ -103,10 +104,10 @@ declare const ModuleProgressWithActivities: z.ZodObject<z.objectUtil.extendShape
|
|
|
103
104
|
id?: string | null | undefined;
|
|
104
105
|
order?: number | null | undefined;
|
|
105
106
|
}[];
|
|
106
|
-
completionCounter: number;
|
|
107
107
|
id?: string | null | undefined;
|
|
108
108
|
order?: number | null | undefined;
|
|
109
109
|
}, {
|
|
110
|
+
completionCounter: number;
|
|
110
111
|
activities: {
|
|
111
112
|
completionPercentage: number;
|
|
112
113
|
id?: string | null | undefined;
|
|
@@ -114,7 +115,6 @@ declare const ModuleProgressWithActivities: z.ZodObject<z.objectUtil.extendShape
|
|
|
114
115
|
createAt?: unknown;
|
|
115
116
|
updateAt?: unknown;
|
|
116
117
|
}[];
|
|
117
|
-
completionCounter: number;
|
|
118
118
|
id?: string | null | undefined;
|
|
119
119
|
order?: number | null | undefined;
|
|
120
120
|
createAt?: unknown;
|
package/dist/model/purchase.d.ts
CHANGED
|
@@ -96,6 +96,7 @@ declare const ModuleProgressWithActivities: z.ZodObject<z.objectUtil.extendShape
|
|
|
96
96
|
}>, "strip", z.ZodTypeAny, {
|
|
97
97
|
createAt: FirebaseFirestore.Timestamp;
|
|
98
98
|
updateAt: FirebaseFirestore.Timestamp;
|
|
99
|
+
completionCounter: number;
|
|
99
100
|
activities: {
|
|
100
101
|
createAt: FirebaseFirestore.Timestamp;
|
|
101
102
|
updateAt: FirebaseFirestore.Timestamp;
|
|
@@ -103,10 +104,10 @@ declare const ModuleProgressWithActivities: z.ZodObject<z.objectUtil.extendShape
|
|
|
103
104
|
id?: string | null | undefined;
|
|
104
105
|
order?: number | null | undefined;
|
|
105
106
|
}[];
|
|
106
|
-
completionCounter: number;
|
|
107
107
|
id?: string | null | undefined;
|
|
108
108
|
order?: number | null | undefined;
|
|
109
109
|
}, {
|
|
110
|
+
completionCounter: number;
|
|
110
111
|
activities: {
|
|
111
112
|
completionPercentage: number;
|
|
112
113
|
id?: string | null | undefined;
|
|
@@ -114,7 +115,6 @@ declare const ModuleProgressWithActivities: z.ZodObject<z.objectUtil.extendShape
|
|
|
114
115
|
createAt?: unknown;
|
|
115
116
|
updateAt?: unknown;
|
|
116
117
|
}[];
|
|
117
|
-
completionCounter: number;
|
|
118
118
|
id?: string | null | undefined;
|
|
119
119
|
order?: number | null | undefined;
|
|
120
120
|
createAt?: unknown;
|
|
@@ -533,37 +533,35 @@ declare const SubscriptionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
533
533
|
early_payment_discounts?: unknown[] | null | undefined;
|
|
534
534
|
split_rules?: string | null | undefined;
|
|
535
535
|
}>;
|
|
536
|
-
user: z.ZodObject<
|
|
537
|
-
id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString
|
|
538
|
-
order: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber
|
|
539
|
-
createAt: z.ZodEffects<z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>, FirebaseFirestore.Timestamp, unknown
|
|
540
|
-
updateAt: z.ZodEffects<z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>, FirebaseFirestore.Timestamp, unknown
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
}
|
|
548
|
-
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
549
|
-
}>, "strip", z.ZodTypeAny, {
|
|
550
|
-
createAt: FirebaseFirestore.Timestamp;
|
|
551
|
-
updateAt: FirebaseFirestore.Timestamp;
|
|
552
|
-
enabled: boolean;
|
|
553
|
-
email: string;
|
|
536
|
+
user: z.ZodObject<{
|
|
537
|
+
id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>>;
|
|
538
|
+
order: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>>;
|
|
539
|
+
createAt: z.ZodOptional<z.ZodEffects<z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>, FirebaseFirestore.Timestamp, unknown>>;
|
|
540
|
+
updateAt: z.ZodOptional<z.ZodEffects<z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>, FirebaseFirestore.Timestamp, unknown>>;
|
|
541
|
+
email: z.ZodOptional<z.ZodString>;
|
|
542
|
+
password: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
543
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
544
|
+
phone: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
545
|
+
userHash: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
546
|
+
enabled: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
547
|
+
}, "strip", z.ZodTypeAny, {
|
|
554
548
|
id?: string | null | undefined;
|
|
555
549
|
order?: number | null | undefined;
|
|
550
|
+
createAt?: FirebaseFirestore.Timestamp | undefined;
|
|
551
|
+
updateAt?: FirebaseFirestore.Timestamp | undefined;
|
|
552
|
+
enabled?: boolean | undefined;
|
|
553
|
+
email?: string | undefined;
|
|
556
554
|
password?: string | undefined;
|
|
557
555
|
name?: string | undefined;
|
|
558
556
|
phone?: string | undefined;
|
|
559
557
|
userHash?: string | null | undefined;
|
|
560
558
|
}, {
|
|
561
|
-
email: string;
|
|
562
559
|
id?: string | null | undefined;
|
|
563
560
|
order?: number | null | undefined;
|
|
564
561
|
createAt?: unknown;
|
|
565
562
|
updateAt?: unknown;
|
|
566
563
|
enabled?: boolean | undefined;
|
|
564
|
+
email?: string | undefined;
|
|
567
565
|
password?: string | undefined;
|
|
568
566
|
name?: string | undefined;
|
|
569
567
|
phone?: string | undefined;
|
|
@@ -728,12 +726,12 @@ declare const SubscriptionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
728
726
|
split_rules?: string | null | undefined;
|
|
729
727
|
};
|
|
730
728
|
user: {
|
|
731
|
-
createAt: FirebaseFirestore.Timestamp;
|
|
732
|
-
updateAt: FirebaseFirestore.Timestamp;
|
|
733
|
-
enabled: boolean;
|
|
734
|
-
email: string;
|
|
735
729
|
id?: string | null | undefined;
|
|
736
730
|
order?: number | null | undefined;
|
|
731
|
+
createAt?: FirebaseFirestore.Timestamp | undefined;
|
|
732
|
+
updateAt?: FirebaseFirestore.Timestamp | undefined;
|
|
733
|
+
enabled?: boolean | undefined;
|
|
734
|
+
email?: string | undefined;
|
|
737
735
|
password?: string | undefined;
|
|
738
736
|
name?: string | undefined;
|
|
739
737
|
phone?: string | undefined;
|
|
@@ -898,12 +896,12 @@ declare const SubscriptionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
898
896
|
split_rules?: string | null | undefined;
|
|
899
897
|
};
|
|
900
898
|
user: {
|
|
901
|
-
email: string;
|
|
902
899
|
id?: string | null | undefined;
|
|
903
900
|
order?: number | null | undefined;
|
|
904
901
|
createAt?: unknown;
|
|
905
902
|
updateAt?: unknown;
|
|
906
903
|
enabled?: boolean | undefined;
|
|
904
|
+
email?: string | undefined;
|
|
907
905
|
password?: string | undefined;
|
|
908
906
|
name?: string | undefined;
|
|
909
907
|
phone?: string | undefined;
|
|
@@ -533,37 +533,35 @@ declare const SubscriptionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
533
533
|
early_payment_discounts?: unknown[] | null | undefined;
|
|
534
534
|
split_rules?: string | null | undefined;
|
|
535
535
|
}>;
|
|
536
|
-
user: z.ZodObject<
|
|
537
|
-
id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString
|
|
538
|
-
order: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber
|
|
539
|
-
createAt: z.ZodEffects<z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>, FirebaseFirestore.Timestamp, unknown
|
|
540
|
-
updateAt: z.ZodEffects<z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>, FirebaseFirestore.Timestamp, unknown
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
}
|
|
548
|
-
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
549
|
-
}>, "strip", z.ZodTypeAny, {
|
|
550
|
-
createAt: FirebaseFirestore.Timestamp;
|
|
551
|
-
updateAt: FirebaseFirestore.Timestamp;
|
|
552
|
-
enabled: boolean;
|
|
553
|
-
email: string;
|
|
536
|
+
user: z.ZodObject<{
|
|
537
|
+
id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>>;
|
|
538
|
+
order: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>>;
|
|
539
|
+
createAt: z.ZodOptional<z.ZodEffects<z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>, FirebaseFirestore.Timestamp, unknown>>;
|
|
540
|
+
updateAt: z.ZodOptional<z.ZodEffects<z.ZodOptional<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>, FirebaseFirestore.Timestamp, unknown>>;
|
|
541
|
+
email: z.ZodOptional<z.ZodString>;
|
|
542
|
+
password: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
543
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
544
|
+
phone: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
545
|
+
userHash: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
546
|
+
enabled: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
547
|
+
}, "strip", z.ZodTypeAny, {
|
|
554
548
|
id?: string | null | undefined;
|
|
555
549
|
order?: number | null | undefined;
|
|
550
|
+
createAt?: FirebaseFirestore.Timestamp | undefined;
|
|
551
|
+
updateAt?: FirebaseFirestore.Timestamp | undefined;
|
|
552
|
+
enabled?: boolean | undefined;
|
|
553
|
+
email?: string | undefined;
|
|
556
554
|
password?: string | undefined;
|
|
557
555
|
name?: string | undefined;
|
|
558
556
|
phone?: string | undefined;
|
|
559
557
|
userHash?: string | null | undefined;
|
|
560
558
|
}, {
|
|
561
|
-
email: string;
|
|
562
559
|
id?: string | null | undefined;
|
|
563
560
|
order?: number | null | undefined;
|
|
564
561
|
createAt?: unknown;
|
|
565
562
|
updateAt?: unknown;
|
|
566
563
|
enabled?: boolean | undefined;
|
|
564
|
+
email?: string | undefined;
|
|
567
565
|
password?: string | undefined;
|
|
568
566
|
name?: string | undefined;
|
|
569
567
|
phone?: string | undefined;
|
|
@@ -728,12 +726,12 @@ declare const SubscriptionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
728
726
|
split_rules?: string | null | undefined;
|
|
729
727
|
};
|
|
730
728
|
user: {
|
|
731
|
-
createAt: FirebaseFirestore.Timestamp;
|
|
732
|
-
updateAt: FirebaseFirestore.Timestamp;
|
|
733
|
-
enabled: boolean;
|
|
734
|
-
email: string;
|
|
735
729
|
id?: string | null | undefined;
|
|
736
730
|
order?: number | null | undefined;
|
|
731
|
+
createAt?: FirebaseFirestore.Timestamp | undefined;
|
|
732
|
+
updateAt?: FirebaseFirestore.Timestamp | undefined;
|
|
733
|
+
enabled?: boolean | undefined;
|
|
734
|
+
email?: string | undefined;
|
|
737
735
|
password?: string | undefined;
|
|
738
736
|
name?: string | undefined;
|
|
739
737
|
phone?: string | undefined;
|
|
@@ -898,12 +896,12 @@ declare const SubscriptionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
898
896
|
split_rules?: string | null | undefined;
|
|
899
897
|
};
|
|
900
898
|
user: {
|
|
901
|
-
email: string;
|
|
902
899
|
id?: string | null | undefined;
|
|
903
900
|
order?: number | null | undefined;
|
|
904
901
|
createAt?: unknown;
|
|
905
902
|
updateAt?: unknown;
|
|
906
903
|
enabled?: boolean | undefined;
|
|
904
|
+
email?: string | undefined;
|
|
907
905
|
password?: string | undefined;
|
|
908
906
|
name?: string | undefined;
|
|
909
907
|
phone?: string | undefined;
|
|
@@ -186968,7 +186968,7 @@ var UserSchema = ModelSchema.extend({
|
|
|
186968
186968
|
var import_zod5 = require("zod");
|
|
186969
186969
|
var SubscriptionSchema = ModelSchema.extend({
|
|
186970
186970
|
invoice: IuguInvoiceSchema,
|
|
186971
|
-
user: UserSchema,
|
|
186971
|
+
user: UserSchema.partial(),
|
|
186972
186972
|
coupon: import_zod5.z.string().nullish().optional(),
|
|
186973
186973
|
portalEmail: import_zod5.z.string().nullish().optional()
|
|
186974
186974
|
});
|