@_henriquewilson/gabirubi-domain 1.3.38 → 1.3.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/iugu/iugu-charge.d.mts +2 -2
- package/dist/model/iugu/iugu-charge.d.ts +2 -2
- package/dist/model/iugu/iugu-client.d.mts +12 -12
- package/dist/model/iugu/iugu-client.d.ts +12 -12
- package/dist/model/journey.d.mts +16 -16
- package/dist/model/journey.d.ts +16 -16
- package/dist/model/subscription.model.d.mts +16 -9
- package/dist/model/subscription.model.d.ts +16 -9
- package/dist/model/subscription.model.js +16 -1
- package/dist/model/subscription.model.js.map +1 -1
- package/dist/model/subscription.model.mjs +13 -2
- package/dist/model/subscription.model.mjs.map +1 -1
- package/dist/model/user.model.d.mts +7 -4
- package/dist/model/user.model.d.ts +7 -4
- package/dist/model/user.model.js +2 -1
- package/dist/model/user.model.js.map +1 -1
- package/dist/model/user.model.mjs +2 -1
- package/dist/model/user.model.mjs.map +1 -1
- package/dist/test/user.test.js +2 -1
- package/dist/test/user.test.js.map +1 -1
- package/dist/test/user.test.mjs +2 -1
- package/dist/test/user.test.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -26,9 +26,9 @@ declare const IuguChargeSchema: z.ZodObject<{
|
|
|
26
26
|
pdf: string;
|
|
27
27
|
invoice_id: string;
|
|
28
28
|
LR: string;
|
|
29
|
-
reversible?: string | null | undefined;
|
|
30
29
|
brand?: string | null | undefined;
|
|
31
30
|
bin?: string | null | undefined;
|
|
31
|
+
reversible?: string | null | undefined;
|
|
32
32
|
last4?: string | null | undefined;
|
|
33
33
|
issuer?: string | null | undefined;
|
|
34
34
|
identification?: string | null | undefined;
|
|
@@ -42,9 +42,9 @@ declare const IuguChargeSchema: z.ZodObject<{
|
|
|
42
42
|
pdf: string;
|
|
43
43
|
invoice_id: string;
|
|
44
44
|
LR: string;
|
|
45
|
-
reversible?: string | null | undefined;
|
|
46
45
|
brand?: string | null | undefined;
|
|
47
46
|
bin?: string | null | undefined;
|
|
47
|
+
reversible?: string | null | undefined;
|
|
48
48
|
last4?: string | null | undefined;
|
|
49
49
|
issuer?: string | null | undefined;
|
|
50
50
|
identification?: string | null | undefined;
|
|
@@ -26,9 +26,9 @@ declare const IuguChargeSchema: z.ZodObject<{
|
|
|
26
26
|
pdf: string;
|
|
27
27
|
invoice_id: string;
|
|
28
28
|
LR: string;
|
|
29
|
-
reversible?: string | null | undefined;
|
|
30
29
|
brand?: string | null | undefined;
|
|
31
30
|
bin?: string | null | undefined;
|
|
31
|
+
reversible?: string | null | undefined;
|
|
32
32
|
last4?: string | null | undefined;
|
|
33
33
|
issuer?: string | null | undefined;
|
|
34
34
|
identification?: string | null | undefined;
|
|
@@ -42,9 +42,9 @@ declare const IuguChargeSchema: z.ZodObject<{
|
|
|
42
42
|
pdf: string;
|
|
43
43
|
invoice_id: string;
|
|
44
44
|
LR: string;
|
|
45
|
-
reversible?: string | null | undefined;
|
|
46
45
|
brand?: string | null | undefined;
|
|
47
46
|
bin?: string | null | undefined;
|
|
47
|
+
reversible?: string | null | undefined;
|
|
48
48
|
last4?: string | null | undefined;
|
|
49
49
|
issuer?: string | null | undefined;
|
|
50
50
|
identification?: string | null | undefined;
|
|
@@ -12,9 +12,9 @@ declare const dataSchema: z.ZodObject<{
|
|
|
12
12
|
masked_number: z.ZodString;
|
|
13
13
|
}, "strip", z.ZodTypeAny, {
|
|
14
14
|
brand: string;
|
|
15
|
-
bin: string;
|
|
16
15
|
holder_name: string;
|
|
17
16
|
display_number: string;
|
|
17
|
+
bin: string;
|
|
18
18
|
year: number;
|
|
19
19
|
month: number;
|
|
20
20
|
last_digits: string;
|
|
@@ -22,9 +22,9 @@ declare const dataSchema: z.ZodObject<{
|
|
|
22
22
|
masked_number: string;
|
|
23
23
|
}, {
|
|
24
24
|
brand: string;
|
|
25
|
-
bin: string;
|
|
26
25
|
holder_name: string;
|
|
27
26
|
display_number: string;
|
|
27
|
+
bin: string;
|
|
28
28
|
year: number;
|
|
29
29
|
month: number;
|
|
30
30
|
last_digits: string;
|
|
@@ -47,9 +47,9 @@ declare const paymentMethodSchema: z.ZodObject<{
|
|
|
47
47
|
masked_number: z.ZodString;
|
|
48
48
|
}, "strip", z.ZodTypeAny, {
|
|
49
49
|
brand: string;
|
|
50
|
-
bin: string;
|
|
51
50
|
holder_name: string;
|
|
52
51
|
display_number: string;
|
|
52
|
+
bin: string;
|
|
53
53
|
year: number;
|
|
54
54
|
month: number;
|
|
55
55
|
last_digits: string;
|
|
@@ -57,9 +57,9 @@ declare const paymentMethodSchema: z.ZodObject<{
|
|
|
57
57
|
masked_number: string;
|
|
58
58
|
}, {
|
|
59
59
|
brand: string;
|
|
60
|
-
bin: string;
|
|
61
60
|
holder_name: string;
|
|
62
61
|
display_number: string;
|
|
62
|
+
bin: string;
|
|
63
63
|
year: number;
|
|
64
64
|
month: number;
|
|
65
65
|
last_digits: string;
|
|
@@ -72,9 +72,9 @@ declare const paymentMethodSchema: z.ZodObject<{
|
|
|
72
72
|
item_type: string;
|
|
73
73
|
data: {
|
|
74
74
|
brand: string;
|
|
75
|
-
bin: string;
|
|
76
75
|
holder_name: string;
|
|
77
76
|
display_number: string;
|
|
77
|
+
bin: string;
|
|
78
78
|
year: number;
|
|
79
79
|
month: number;
|
|
80
80
|
last_digits: string;
|
|
@@ -87,9 +87,9 @@ declare const paymentMethodSchema: z.ZodObject<{
|
|
|
87
87
|
item_type: string;
|
|
88
88
|
data: {
|
|
89
89
|
brand: string;
|
|
90
|
-
bin: string;
|
|
91
90
|
holder_name: string;
|
|
92
91
|
display_number: string;
|
|
92
|
+
bin: string;
|
|
93
93
|
year: number;
|
|
94
94
|
month: number;
|
|
95
95
|
last_digits: string;
|
|
@@ -139,9 +139,9 @@ declare const IuguClientSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
139
139
|
masked_number: z.ZodString;
|
|
140
140
|
}, "strip", z.ZodTypeAny, {
|
|
141
141
|
brand: string;
|
|
142
|
-
bin: string;
|
|
143
142
|
holder_name: string;
|
|
144
143
|
display_number: string;
|
|
144
|
+
bin: string;
|
|
145
145
|
year: number;
|
|
146
146
|
month: number;
|
|
147
147
|
last_digits: string;
|
|
@@ -149,9 +149,9 @@ declare const IuguClientSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
149
149
|
masked_number: string;
|
|
150
150
|
}, {
|
|
151
151
|
brand: string;
|
|
152
|
-
bin: string;
|
|
153
152
|
holder_name: string;
|
|
154
153
|
display_number: string;
|
|
154
|
+
bin: string;
|
|
155
155
|
year: number;
|
|
156
156
|
month: number;
|
|
157
157
|
last_digits: string;
|
|
@@ -164,9 +164,9 @@ declare const IuguClientSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
164
164
|
item_type: string;
|
|
165
165
|
data: {
|
|
166
166
|
brand: string;
|
|
167
|
-
bin: string;
|
|
168
167
|
holder_name: string;
|
|
169
168
|
display_number: string;
|
|
169
|
+
bin: string;
|
|
170
170
|
year: number;
|
|
171
171
|
month: number;
|
|
172
172
|
last_digits: string;
|
|
@@ -179,9 +179,9 @@ declare const IuguClientSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
179
179
|
item_type: string;
|
|
180
180
|
data: {
|
|
181
181
|
brand: string;
|
|
182
|
-
bin: string;
|
|
183
182
|
holder_name: string;
|
|
184
183
|
display_number: string;
|
|
184
|
+
bin: string;
|
|
185
185
|
year: number;
|
|
186
186
|
month: number;
|
|
187
187
|
last_digits: string;
|
|
@@ -216,9 +216,9 @@ declare const IuguClientSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
216
216
|
item_type: string;
|
|
217
217
|
data: {
|
|
218
218
|
brand: string;
|
|
219
|
-
bin: string;
|
|
220
219
|
holder_name: string;
|
|
221
220
|
display_number: string;
|
|
221
|
+
bin: string;
|
|
222
222
|
year: number;
|
|
223
223
|
month: number;
|
|
224
224
|
last_digits: string;
|
|
@@ -253,9 +253,9 @@ declare const IuguClientSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
253
253
|
item_type: string;
|
|
254
254
|
data: {
|
|
255
255
|
brand: string;
|
|
256
|
-
bin: string;
|
|
257
256
|
holder_name: string;
|
|
258
257
|
display_number: string;
|
|
258
|
+
bin: string;
|
|
259
259
|
year: number;
|
|
260
260
|
month: number;
|
|
261
261
|
last_digits: string;
|
|
@@ -12,9 +12,9 @@ declare const dataSchema: z.ZodObject<{
|
|
|
12
12
|
masked_number: z.ZodString;
|
|
13
13
|
}, "strip", z.ZodTypeAny, {
|
|
14
14
|
brand: string;
|
|
15
|
-
bin: string;
|
|
16
15
|
holder_name: string;
|
|
17
16
|
display_number: string;
|
|
17
|
+
bin: string;
|
|
18
18
|
year: number;
|
|
19
19
|
month: number;
|
|
20
20
|
last_digits: string;
|
|
@@ -22,9 +22,9 @@ declare const dataSchema: z.ZodObject<{
|
|
|
22
22
|
masked_number: string;
|
|
23
23
|
}, {
|
|
24
24
|
brand: string;
|
|
25
|
-
bin: string;
|
|
26
25
|
holder_name: string;
|
|
27
26
|
display_number: string;
|
|
27
|
+
bin: string;
|
|
28
28
|
year: number;
|
|
29
29
|
month: number;
|
|
30
30
|
last_digits: string;
|
|
@@ -47,9 +47,9 @@ declare const paymentMethodSchema: z.ZodObject<{
|
|
|
47
47
|
masked_number: z.ZodString;
|
|
48
48
|
}, "strip", z.ZodTypeAny, {
|
|
49
49
|
brand: string;
|
|
50
|
-
bin: string;
|
|
51
50
|
holder_name: string;
|
|
52
51
|
display_number: string;
|
|
52
|
+
bin: string;
|
|
53
53
|
year: number;
|
|
54
54
|
month: number;
|
|
55
55
|
last_digits: string;
|
|
@@ -57,9 +57,9 @@ declare const paymentMethodSchema: z.ZodObject<{
|
|
|
57
57
|
masked_number: string;
|
|
58
58
|
}, {
|
|
59
59
|
brand: string;
|
|
60
|
-
bin: string;
|
|
61
60
|
holder_name: string;
|
|
62
61
|
display_number: string;
|
|
62
|
+
bin: string;
|
|
63
63
|
year: number;
|
|
64
64
|
month: number;
|
|
65
65
|
last_digits: string;
|
|
@@ -72,9 +72,9 @@ declare const paymentMethodSchema: z.ZodObject<{
|
|
|
72
72
|
item_type: string;
|
|
73
73
|
data: {
|
|
74
74
|
brand: string;
|
|
75
|
-
bin: string;
|
|
76
75
|
holder_name: string;
|
|
77
76
|
display_number: string;
|
|
77
|
+
bin: string;
|
|
78
78
|
year: number;
|
|
79
79
|
month: number;
|
|
80
80
|
last_digits: string;
|
|
@@ -87,9 +87,9 @@ declare const paymentMethodSchema: z.ZodObject<{
|
|
|
87
87
|
item_type: string;
|
|
88
88
|
data: {
|
|
89
89
|
brand: string;
|
|
90
|
-
bin: string;
|
|
91
90
|
holder_name: string;
|
|
92
91
|
display_number: string;
|
|
92
|
+
bin: string;
|
|
93
93
|
year: number;
|
|
94
94
|
month: number;
|
|
95
95
|
last_digits: string;
|
|
@@ -139,9 +139,9 @@ declare const IuguClientSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
139
139
|
masked_number: z.ZodString;
|
|
140
140
|
}, "strip", z.ZodTypeAny, {
|
|
141
141
|
brand: string;
|
|
142
|
-
bin: string;
|
|
143
142
|
holder_name: string;
|
|
144
143
|
display_number: string;
|
|
144
|
+
bin: string;
|
|
145
145
|
year: number;
|
|
146
146
|
month: number;
|
|
147
147
|
last_digits: string;
|
|
@@ -149,9 +149,9 @@ declare const IuguClientSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
149
149
|
masked_number: string;
|
|
150
150
|
}, {
|
|
151
151
|
brand: string;
|
|
152
|
-
bin: string;
|
|
153
152
|
holder_name: string;
|
|
154
153
|
display_number: string;
|
|
154
|
+
bin: string;
|
|
155
155
|
year: number;
|
|
156
156
|
month: number;
|
|
157
157
|
last_digits: string;
|
|
@@ -164,9 +164,9 @@ declare const IuguClientSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
164
164
|
item_type: string;
|
|
165
165
|
data: {
|
|
166
166
|
brand: string;
|
|
167
|
-
bin: string;
|
|
168
167
|
holder_name: string;
|
|
169
168
|
display_number: string;
|
|
169
|
+
bin: string;
|
|
170
170
|
year: number;
|
|
171
171
|
month: number;
|
|
172
172
|
last_digits: string;
|
|
@@ -179,9 +179,9 @@ declare const IuguClientSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
179
179
|
item_type: string;
|
|
180
180
|
data: {
|
|
181
181
|
brand: string;
|
|
182
|
-
bin: string;
|
|
183
182
|
holder_name: string;
|
|
184
183
|
display_number: string;
|
|
184
|
+
bin: string;
|
|
185
185
|
year: number;
|
|
186
186
|
month: number;
|
|
187
187
|
last_digits: string;
|
|
@@ -216,9 +216,9 @@ declare const IuguClientSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
216
216
|
item_type: string;
|
|
217
217
|
data: {
|
|
218
218
|
brand: string;
|
|
219
|
-
bin: string;
|
|
220
219
|
holder_name: string;
|
|
221
220
|
display_number: string;
|
|
221
|
+
bin: string;
|
|
222
222
|
year: number;
|
|
223
223
|
month: number;
|
|
224
224
|
last_digits: string;
|
|
@@ -253,9 +253,9 @@ declare const IuguClientSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
253
253
|
item_type: string;
|
|
254
254
|
data: {
|
|
255
255
|
brand: string;
|
|
256
|
-
bin: string;
|
|
257
256
|
holder_name: string;
|
|
258
257
|
display_number: string;
|
|
258
|
+
bin: string;
|
|
259
259
|
year: number;
|
|
260
260
|
month: number;
|
|
261
261
|
last_digits: string;
|
package/dist/model/journey.d.mts
CHANGED
|
@@ -473,32 +473,32 @@ declare const ModuleSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
473
473
|
createdAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
474
474
|
updatedAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
475
475
|
order?: number | null | undefined;
|
|
476
|
+
publishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
477
|
+
unpublishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
478
|
+
isExclusive?: boolean | null | undefined;
|
|
476
479
|
previous?: {
|
|
477
480
|
id: string | number;
|
|
478
481
|
createdAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
479
482
|
updatedAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
480
483
|
order?: number | null | undefined;
|
|
481
484
|
}[] | undefined;
|
|
482
|
-
publishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
483
|
-
unpublishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
484
|
-
isExclusive?: boolean | null | undefined;
|
|
485
485
|
}, {
|
|
486
486
|
title: string;
|
|
487
487
|
id?: unknown;
|
|
488
488
|
createdAt?: unknown;
|
|
489
489
|
updatedAt?: unknown;
|
|
490
490
|
order?: number | null | undefined;
|
|
491
|
+
publishOnDate?: unknown;
|
|
492
|
+
unpublishOnDate?: unknown;
|
|
493
|
+
published?: boolean | undefined;
|
|
494
|
+
isPrivate?: boolean | undefined;
|
|
495
|
+
isExclusive?: boolean | null | undefined;
|
|
491
496
|
previous?: {
|
|
492
497
|
id?: unknown;
|
|
493
498
|
createdAt?: unknown;
|
|
494
499
|
updatedAt?: unknown;
|
|
495
500
|
order?: number | null | undefined;
|
|
496
501
|
}[] | undefined;
|
|
497
|
-
publishOnDate?: unknown;
|
|
498
|
-
unpublishOnDate?: unknown;
|
|
499
|
-
published?: boolean | undefined;
|
|
500
|
-
isPrivate?: boolean | undefined;
|
|
501
|
-
isExclusive?: boolean | null | undefined;
|
|
502
502
|
}>;
|
|
503
503
|
declare const JourneyContentTypeSchema: z.ZodEnum<["video", "document", "audio", "text", "soundcloud", "youtube", "form", "live", "file"]>;
|
|
504
504
|
declare const ActivitySchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -721,15 +721,15 @@ declare const ModuleWithActivities: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
721
721
|
createdAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
722
722
|
updatedAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
723
723
|
order?: number | null | undefined;
|
|
724
|
+
publishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
725
|
+
unpublishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
726
|
+
isExclusive?: boolean | null | undefined;
|
|
724
727
|
previous?: {
|
|
725
728
|
id: string | number;
|
|
726
729
|
createdAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
727
730
|
updatedAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
728
731
|
order?: number | null | undefined;
|
|
729
732
|
}[] | undefined;
|
|
730
|
-
publishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
731
|
-
unpublishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
732
|
-
isExclusive?: boolean | null | undefined;
|
|
733
733
|
}, {
|
|
734
734
|
title: string;
|
|
735
735
|
activities: {
|
|
@@ -757,17 +757,17 @@ declare const ModuleWithActivities: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
757
757
|
createdAt?: unknown;
|
|
758
758
|
updatedAt?: unknown;
|
|
759
759
|
order?: number | null | undefined;
|
|
760
|
+
publishOnDate?: unknown;
|
|
761
|
+
unpublishOnDate?: unknown;
|
|
762
|
+
published?: boolean | undefined;
|
|
763
|
+
isPrivate?: boolean | undefined;
|
|
764
|
+
isExclusive?: boolean | null | undefined;
|
|
760
765
|
previous?: {
|
|
761
766
|
id?: unknown;
|
|
762
767
|
createdAt?: unknown;
|
|
763
768
|
updatedAt?: unknown;
|
|
764
769
|
order?: number | null | undefined;
|
|
765
770
|
}[] | undefined;
|
|
766
|
-
publishOnDate?: unknown;
|
|
767
|
-
unpublishOnDate?: unknown;
|
|
768
|
-
published?: boolean | undefined;
|
|
769
|
-
isPrivate?: boolean | undefined;
|
|
770
|
-
isExclusive?: boolean | null | undefined;
|
|
771
771
|
}>;
|
|
772
772
|
type ModuleWithActivities = z.infer<typeof ModuleWithActivities>;
|
|
773
773
|
type Activity = z.infer<typeof ActivitySchema>;
|
package/dist/model/journey.d.ts
CHANGED
|
@@ -473,32 +473,32 @@ declare const ModuleSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
473
473
|
createdAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
474
474
|
updatedAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
475
475
|
order?: number | null | undefined;
|
|
476
|
+
publishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
477
|
+
unpublishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
478
|
+
isExclusive?: boolean | null | undefined;
|
|
476
479
|
previous?: {
|
|
477
480
|
id: string | number;
|
|
478
481
|
createdAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
479
482
|
updatedAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
480
483
|
order?: number | null | undefined;
|
|
481
484
|
}[] | undefined;
|
|
482
|
-
publishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
483
|
-
unpublishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
484
|
-
isExclusive?: boolean | null | undefined;
|
|
485
485
|
}, {
|
|
486
486
|
title: string;
|
|
487
487
|
id?: unknown;
|
|
488
488
|
createdAt?: unknown;
|
|
489
489
|
updatedAt?: unknown;
|
|
490
490
|
order?: number | null | undefined;
|
|
491
|
+
publishOnDate?: unknown;
|
|
492
|
+
unpublishOnDate?: unknown;
|
|
493
|
+
published?: boolean | undefined;
|
|
494
|
+
isPrivate?: boolean | undefined;
|
|
495
|
+
isExclusive?: boolean | null | undefined;
|
|
491
496
|
previous?: {
|
|
492
497
|
id?: unknown;
|
|
493
498
|
createdAt?: unknown;
|
|
494
499
|
updatedAt?: unknown;
|
|
495
500
|
order?: number | null | undefined;
|
|
496
501
|
}[] | undefined;
|
|
497
|
-
publishOnDate?: unknown;
|
|
498
|
-
unpublishOnDate?: unknown;
|
|
499
|
-
published?: boolean | undefined;
|
|
500
|
-
isPrivate?: boolean | undefined;
|
|
501
|
-
isExclusive?: boolean | null | undefined;
|
|
502
502
|
}>;
|
|
503
503
|
declare const JourneyContentTypeSchema: z.ZodEnum<["video", "document", "audio", "text", "soundcloud", "youtube", "form", "live", "file"]>;
|
|
504
504
|
declare const ActivitySchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -721,15 +721,15 @@ declare const ModuleWithActivities: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
721
721
|
createdAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
722
722
|
updatedAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
723
723
|
order?: number | null | undefined;
|
|
724
|
+
publishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
725
|
+
unpublishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
726
|
+
isExclusive?: boolean | null | undefined;
|
|
724
727
|
previous?: {
|
|
725
728
|
id: string | number;
|
|
726
729
|
createdAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
727
730
|
updatedAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
728
731
|
order?: number | null | undefined;
|
|
729
732
|
}[] | undefined;
|
|
730
|
-
publishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
731
|
-
unpublishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
732
|
-
isExclusive?: boolean | null | undefined;
|
|
733
733
|
}, {
|
|
734
734
|
title: string;
|
|
735
735
|
activities: {
|
|
@@ -757,17 +757,17 @@ declare const ModuleWithActivities: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
757
757
|
createdAt?: unknown;
|
|
758
758
|
updatedAt?: unknown;
|
|
759
759
|
order?: number | null | undefined;
|
|
760
|
+
publishOnDate?: unknown;
|
|
761
|
+
unpublishOnDate?: unknown;
|
|
762
|
+
published?: boolean | undefined;
|
|
763
|
+
isPrivate?: boolean | undefined;
|
|
764
|
+
isExclusive?: boolean | null | undefined;
|
|
760
765
|
previous?: {
|
|
761
766
|
id?: unknown;
|
|
762
767
|
createdAt?: unknown;
|
|
763
768
|
updatedAt?: unknown;
|
|
764
769
|
order?: number | null | undefined;
|
|
765
770
|
}[] | undefined;
|
|
766
|
-
publishOnDate?: unknown;
|
|
767
|
-
unpublishOnDate?: unknown;
|
|
768
|
-
published?: boolean | undefined;
|
|
769
|
-
isPrivate?: boolean | undefined;
|
|
770
|
-
isExclusive?: boolean | null | undefined;
|
|
771
771
|
}>;
|
|
772
772
|
type ModuleWithActivities = z.infer<typeof ModuleWithActivities>;
|
|
773
773
|
type Activity = z.infer<typeof ActivitySchema>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { Timestamp } from '@google-cloud/firestore';
|
|
3
3
|
|
|
4
|
+
declare const JourneyIdsSchema: z.ZodEnum<["box_rubi_2025", "journey_balance_2024", "journey_balance_2024_extra", "journey_holy_feminine_2025", "journey_prosperity_2025", "portal_alvorecer", "portal_alvorecer_gratis", "protection_blessing_family_2025"]>;
|
|
4
5
|
declare const SubscriptionStatus: {
|
|
5
6
|
readonly ACTIVE: "ACTIVE";
|
|
6
7
|
readonly INACTIVE: "INACTIVE";
|
|
@@ -1632,16 +1633,17 @@ declare const SubscriptionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1632
1633
|
lastSeen: z.ZodOptional<z.ZodOptional<z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>>>;
|
|
1633
1634
|
personalSettings: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1634
1635
|
intercomWhatsapp: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
1636
|
+
country: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
1635
1637
|
enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1636
1638
|
}, "strip", z.ZodTypeAny, {
|
|
1637
1639
|
id?: string | number | undefined;
|
|
1638
1640
|
createdAt?: Timestamp | null | undefined;
|
|
1639
1641
|
updatedAt?: Timestamp | null | undefined;
|
|
1640
1642
|
order?: number | null | undefined;
|
|
1643
|
+
lastNewsDate?: Timestamp | null | undefined;
|
|
1644
|
+
enabled?: boolean | undefined;
|
|
1641
1645
|
email?: string | undefined;
|
|
1642
1646
|
name?: string | undefined;
|
|
1643
|
-
enabled?: boolean | undefined;
|
|
1644
|
-
lastNewsDate?: Timestamp | null | undefined;
|
|
1645
1647
|
password?: string | undefined;
|
|
1646
1648
|
phone?: string | undefined;
|
|
1647
1649
|
userHash?: string | null | undefined;
|
|
@@ -1652,15 +1654,16 @@ declare const SubscriptionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1652
1654
|
lastSeen?: Timestamp | undefined;
|
|
1653
1655
|
personalSettings?: Record<string, any> | undefined;
|
|
1654
1656
|
intercomWhatsapp?: string | null | undefined;
|
|
1657
|
+
country?: string | null | undefined;
|
|
1655
1658
|
}, {
|
|
1656
1659
|
id?: unknown;
|
|
1657
1660
|
createdAt?: unknown;
|
|
1658
1661
|
updatedAt?: unknown;
|
|
1659
1662
|
order?: number | null | undefined;
|
|
1663
|
+
lastNewsDate?: unknown;
|
|
1664
|
+
enabled?: boolean | undefined;
|
|
1660
1665
|
email?: string | undefined;
|
|
1661
1666
|
name?: string | undefined;
|
|
1662
|
-
enabled?: boolean | undefined;
|
|
1663
|
-
lastNewsDate?: unknown;
|
|
1664
1667
|
password?: string | undefined;
|
|
1665
1668
|
phone?: string | undefined;
|
|
1666
1669
|
userHash?: string | null | undefined;
|
|
@@ -1671,6 +1674,7 @@ declare const SubscriptionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1671
1674
|
lastSeen?: Timestamp | undefined;
|
|
1672
1675
|
personalSettings?: Record<string, any> | undefined;
|
|
1673
1676
|
intercomWhatsapp?: string | null | undefined;
|
|
1677
|
+
country?: string | null | undefined;
|
|
1674
1678
|
}>;
|
|
1675
1679
|
payedWith: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1676
1680
|
coupon: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -1686,10 +1690,10 @@ declare const SubscriptionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1686
1690
|
createdAt?: Timestamp | null | undefined;
|
|
1687
1691
|
updatedAt?: Timestamp | null | undefined;
|
|
1688
1692
|
order?: number | null | undefined;
|
|
1693
|
+
lastNewsDate?: Timestamp | null | undefined;
|
|
1694
|
+
enabled?: boolean | undefined;
|
|
1689
1695
|
email?: string | undefined;
|
|
1690
1696
|
name?: string | undefined;
|
|
1691
|
-
enabled?: boolean | undefined;
|
|
1692
|
-
lastNewsDate?: Timestamp | null | undefined;
|
|
1693
1697
|
password?: string | undefined;
|
|
1694
1698
|
phone?: string | undefined;
|
|
1695
1699
|
userHash?: string | null | undefined;
|
|
@@ -1700,6 +1704,7 @@ declare const SubscriptionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1700
1704
|
lastSeen?: Timestamp | undefined;
|
|
1701
1705
|
personalSettings?: Record<string, any> | undefined;
|
|
1702
1706
|
intercomWhatsapp?: string | null | undefined;
|
|
1707
|
+
country?: string | null | undefined;
|
|
1703
1708
|
};
|
|
1704
1709
|
invoice: {
|
|
1705
1710
|
id: string;
|
|
@@ -2178,10 +2183,10 @@ declare const SubscriptionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2178
2183
|
createdAt?: unknown;
|
|
2179
2184
|
updatedAt?: unknown;
|
|
2180
2185
|
order?: number | null | undefined;
|
|
2186
|
+
lastNewsDate?: unknown;
|
|
2187
|
+
enabled?: boolean | undefined;
|
|
2181
2188
|
email?: string | undefined;
|
|
2182
2189
|
name?: string | undefined;
|
|
2183
|
-
enabled?: boolean | undefined;
|
|
2184
|
-
lastNewsDate?: unknown;
|
|
2185
2190
|
password?: string | undefined;
|
|
2186
2191
|
phone?: string | undefined;
|
|
2187
2192
|
userHash?: string | null | undefined;
|
|
@@ -2192,6 +2197,7 @@ declare const SubscriptionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2192
2197
|
lastSeen?: Timestamp | undefined;
|
|
2193
2198
|
personalSettings?: Record<string, any> | undefined;
|
|
2194
2199
|
intercomWhatsapp?: string | null | undefined;
|
|
2200
|
+
country?: string | null | undefined;
|
|
2195
2201
|
};
|
|
2196
2202
|
invoice: {
|
|
2197
2203
|
id: string;
|
|
@@ -2667,5 +2673,6 @@ declare const SubscriptionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2667
2673
|
migrated?: boolean | undefined;
|
|
2668
2674
|
}>;
|
|
2669
2675
|
type Subscription = z.infer<typeof SubscriptionSchema>;
|
|
2676
|
+
type JourneyIds = z.infer<typeof JourneyIdsSchema>;
|
|
2670
2677
|
|
|
2671
|
-
export { type Subscription, SubscriptionSchema, SubscriptionStatus, SubscriptionStatusSchema };
|
|
2678
|
+
export { type JourneyIds, JourneyIdsSchema, type Subscription, SubscriptionSchema, SubscriptionStatus, SubscriptionStatusSchema };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { Timestamp } from '@google-cloud/firestore';
|
|
3
3
|
|
|
4
|
+
declare const JourneyIdsSchema: z.ZodEnum<["box_rubi_2025", "journey_balance_2024", "journey_balance_2024_extra", "journey_holy_feminine_2025", "journey_prosperity_2025", "portal_alvorecer", "portal_alvorecer_gratis", "protection_blessing_family_2025"]>;
|
|
4
5
|
declare const SubscriptionStatus: {
|
|
5
6
|
readonly ACTIVE: "ACTIVE";
|
|
6
7
|
readonly INACTIVE: "INACTIVE";
|
|
@@ -1632,16 +1633,17 @@ declare const SubscriptionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1632
1633
|
lastSeen: z.ZodOptional<z.ZodOptional<z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>>>;
|
|
1633
1634
|
personalSettings: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1634
1635
|
intercomWhatsapp: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
1636
|
+
country: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
1635
1637
|
enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1636
1638
|
}, "strip", z.ZodTypeAny, {
|
|
1637
1639
|
id?: string | number | undefined;
|
|
1638
1640
|
createdAt?: Timestamp | null | undefined;
|
|
1639
1641
|
updatedAt?: Timestamp | null | undefined;
|
|
1640
1642
|
order?: number | null | undefined;
|
|
1643
|
+
lastNewsDate?: Timestamp | null | undefined;
|
|
1644
|
+
enabled?: boolean | undefined;
|
|
1641
1645
|
email?: string | undefined;
|
|
1642
1646
|
name?: string | undefined;
|
|
1643
|
-
enabled?: boolean | undefined;
|
|
1644
|
-
lastNewsDate?: Timestamp | null | undefined;
|
|
1645
1647
|
password?: string | undefined;
|
|
1646
1648
|
phone?: string | undefined;
|
|
1647
1649
|
userHash?: string | null | undefined;
|
|
@@ -1652,15 +1654,16 @@ declare const SubscriptionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1652
1654
|
lastSeen?: Timestamp | undefined;
|
|
1653
1655
|
personalSettings?: Record<string, any> | undefined;
|
|
1654
1656
|
intercomWhatsapp?: string | null | undefined;
|
|
1657
|
+
country?: string | null | undefined;
|
|
1655
1658
|
}, {
|
|
1656
1659
|
id?: unknown;
|
|
1657
1660
|
createdAt?: unknown;
|
|
1658
1661
|
updatedAt?: unknown;
|
|
1659
1662
|
order?: number | null | undefined;
|
|
1663
|
+
lastNewsDate?: unknown;
|
|
1664
|
+
enabled?: boolean | undefined;
|
|
1660
1665
|
email?: string | undefined;
|
|
1661
1666
|
name?: string | undefined;
|
|
1662
|
-
enabled?: boolean | undefined;
|
|
1663
|
-
lastNewsDate?: unknown;
|
|
1664
1667
|
password?: string | undefined;
|
|
1665
1668
|
phone?: string | undefined;
|
|
1666
1669
|
userHash?: string | null | undefined;
|
|
@@ -1671,6 +1674,7 @@ declare const SubscriptionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1671
1674
|
lastSeen?: Timestamp | undefined;
|
|
1672
1675
|
personalSettings?: Record<string, any> | undefined;
|
|
1673
1676
|
intercomWhatsapp?: string | null | undefined;
|
|
1677
|
+
country?: string | null | undefined;
|
|
1674
1678
|
}>;
|
|
1675
1679
|
payedWith: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1676
1680
|
coupon: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -1686,10 +1690,10 @@ declare const SubscriptionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1686
1690
|
createdAt?: Timestamp | null | undefined;
|
|
1687
1691
|
updatedAt?: Timestamp | null | undefined;
|
|
1688
1692
|
order?: number | null | undefined;
|
|
1693
|
+
lastNewsDate?: Timestamp | null | undefined;
|
|
1694
|
+
enabled?: boolean | undefined;
|
|
1689
1695
|
email?: string | undefined;
|
|
1690
1696
|
name?: string | undefined;
|
|
1691
|
-
enabled?: boolean | undefined;
|
|
1692
|
-
lastNewsDate?: Timestamp | null | undefined;
|
|
1693
1697
|
password?: string | undefined;
|
|
1694
1698
|
phone?: string | undefined;
|
|
1695
1699
|
userHash?: string | null | undefined;
|
|
@@ -1700,6 +1704,7 @@ declare const SubscriptionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1700
1704
|
lastSeen?: Timestamp | undefined;
|
|
1701
1705
|
personalSettings?: Record<string, any> | undefined;
|
|
1702
1706
|
intercomWhatsapp?: string | null | undefined;
|
|
1707
|
+
country?: string | null | undefined;
|
|
1703
1708
|
};
|
|
1704
1709
|
invoice: {
|
|
1705
1710
|
id: string;
|
|
@@ -2178,10 +2183,10 @@ declare const SubscriptionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2178
2183
|
createdAt?: unknown;
|
|
2179
2184
|
updatedAt?: unknown;
|
|
2180
2185
|
order?: number | null | undefined;
|
|
2186
|
+
lastNewsDate?: unknown;
|
|
2187
|
+
enabled?: boolean | undefined;
|
|
2181
2188
|
email?: string | undefined;
|
|
2182
2189
|
name?: string | undefined;
|
|
2183
|
-
enabled?: boolean | undefined;
|
|
2184
|
-
lastNewsDate?: unknown;
|
|
2185
2190
|
password?: string | undefined;
|
|
2186
2191
|
phone?: string | undefined;
|
|
2187
2192
|
userHash?: string | null | undefined;
|
|
@@ -2192,6 +2197,7 @@ declare const SubscriptionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2192
2197
|
lastSeen?: Timestamp | undefined;
|
|
2193
2198
|
personalSettings?: Record<string, any> | undefined;
|
|
2194
2199
|
intercomWhatsapp?: string | null | undefined;
|
|
2200
|
+
country?: string | null | undefined;
|
|
2195
2201
|
};
|
|
2196
2202
|
invoice: {
|
|
2197
2203
|
id: string;
|
|
@@ -2667,5 +2673,6 @@ declare const SubscriptionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2667
2673
|
migrated?: boolean | undefined;
|
|
2668
2674
|
}>;
|
|
2669
2675
|
type Subscription = z.infer<typeof SubscriptionSchema>;
|
|
2676
|
+
type JourneyIds = z.infer<typeof JourneyIdsSchema>;
|
|
2670
2677
|
|
|
2671
|
-
export { type Subscription, SubscriptionSchema, SubscriptionStatus, SubscriptionStatusSchema };
|
|
2678
|
+
export { type JourneyIds, JourneyIdsSchema, type Subscription, SubscriptionSchema, SubscriptionStatus, SubscriptionStatusSchema };
|