@_henriquewilson/gabirubi-domain 1.3.21 → 1.3.23
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/integrada/order.d.mts +22 -22
- package/dist/model/integrada/order.d.ts +22 -22
- package/dist/model/integrada/product.d.mts +60 -45
- package/dist/model/integrada/product.d.ts +60 -45
- package/dist/model/integrada/product.js +3 -1
- package/dist/model/integrada/product.js.map +1 -1
- package/dist/model/integrada/product.mjs +3 -1
- package/dist/model/integrada/product.mjs.map +1 -1
- package/dist/model/intercom/conversation.d.mts +325 -325
- package/dist/model/intercom/conversation.d.ts +325 -325
- package/dist/model/intercom/hook.d.mts +3211 -3211
- package/dist/model/intercom/hook.d.ts +3211 -3211
- 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 +25 -25
- package/dist/model/journey.d.ts +25 -25
- package/dist/model/journey.js +2 -1
- package/dist/model/journey.js.map +1 -1
- package/dist/model/journey.mjs +2 -1
- package/dist/model/journey.mjs.map +1 -1
- package/dist/model/melhorenvio/calculate.d.mts +2 -2
- package/dist/model/melhorenvio/calculate.d.ts +2 -2
- package/dist/model/melhorenvio/order.d.mts +26 -26
- package/dist/model/melhorenvio/order.d.ts +26 -26
- package/dist/model/store/shipping.d.mts +4 -4
- package/dist/model/store/shipping.d.ts +4 -4
- package/dist/model/subscription.model.d.mts +4 -4
- package/dist/model/subscription.model.d.ts +4 -4
- package/dist/model/user.model.d.mts +2 -2
- package/dist/model/user.model.d.ts +2 -2
- package/dist/test/activity.test.js +2 -1
- package/dist/test/activity.test.js.map +1 -1
- package/dist/test/activity.test.mjs +2 -1
- package/dist/test/activity.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;
|
|
29
30
|
brand?: string | null | undefined;
|
|
30
31
|
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;
|
|
45
46
|
brand?: string | null | undefined;
|
|
46
47
|
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;
|
|
29
30
|
brand?: string | null | undefined;
|
|
30
31
|
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;
|
|
45
46
|
brand?: string | null | undefined;
|
|
46
47
|
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;
|
|
15
16
|
holder_name: string;
|
|
16
17
|
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;
|
|
25
26
|
holder_name: string;
|
|
26
27
|
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;
|
|
50
51
|
holder_name: string;
|
|
51
52
|
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;
|
|
60
61
|
holder_name: string;
|
|
61
62
|
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;
|
|
75
76
|
holder_name: string;
|
|
76
77
|
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;
|
|
90
91
|
holder_name: string;
|
|
91
92
|
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;
|
|
142
143
|
holder_name: string;
|
|
143
144
|
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;
|
|
152
153
|
holder_name: string;
|
|
153
154
|
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;
|
|
167
168
|
holder_name: string;
|
|
168
169
|
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;
|
|
182
183
|
holder_name: string;
|
|
183
184
|
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;
|
|
219
220
|
holder_name: string;
|
|
220
221
|
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;
|
|
256
257
|
holder_name: string;
|
|
257
258
|
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;
|
|
15
16
|
holder_name: string;
|
|
16
17
|
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;
|
|
25
26
|
holder_name: string;
|
|
26
27
|
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;
|
|
50
51
|
holder_name: string;
|
|
51
52
|
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;
|
|
60
61
|
holder_name: string;
|
|
61
62
|
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;
|
|
75
76
|
holder_name: string;
|
|
76
77
|
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;
|
|
90
91
|
holder_name: string;
|
|
91
92
|
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;
|
|
142
143
|
holder_name: string;
|
|
143
144
|
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;
|
|
152
153
|
holder_name: string;
|
|
153
154
|
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;
|
|
167
168
|
holder_name: string;
|
|
168
169
|
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;
|
|
182
183
|
holder_name: string;
|
|
183
184
|
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;
|
|
219
220
|
holder_name: string;
|
|
220
221
|
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;
|
|
256
257
|
holder_name: string;
|
|
257
258
|
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,34 +473,34 @@ 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;
|
|
479
476
|
previous?: {
|
|
480
477
|
id: string | number;
|
|
481
478
|
createdAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
482
479
|
updatedAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
483
480
|
order?: number | null | undefined;
|
|
484
481
|
}[] | 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;
|
|
496
491
|
previous?: {
|
|
497
492
|
id?: unknown;
|
|
498
493
|
createdAt?: unknown;
|
|
499
494
|
updatedAt?: unknown;
|
|
500
495
|
order?: number | null | undefined;
|
|
501
496
|
}[] | undefined;
|
|
497
|
+
publishOnDate?: unknown;
|
|
498
|
+
unpublishOnDate?: unknown;
|
|
499
|
+
published?: boolean | undefined;
|
|
500
|
+
isPrivate?: boolean | undefined;
|
|
501
|
+
isExclusive?: boolean | null | undefined;
|
|
502
502
|
}>;
|
|
503
|
-
declare const JourneyContentTypeSchema: z.ZodEnum<["video", "document", "audio", "text", "soundcloud", "youtube", "form", "live"]>;
|
|
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<{
|
|
505
505
|
id: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, string | number, unknown>;
|
|
506
506
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>>>;
|
|
@@ -509,7 +509,7 @@ declare const ActivitySchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
|
|
|
509
509
|
}, {
|
|
510
510
|
title: z.ZodString;
|
|
511
511
|
description: z.ZodOptional<z.ZodString>;
|
|
512
|
-
contentType: z.ZodEnum<["video", "document", "audio", "text", "soundcloud", "youtube", "form", "live"]>;
|
|
512
|
+
contentType: z.ZodEnum<["video", "document", "audio", "text", "soundcloud", "youtube", "form", "live", "file"]>;
|
|
513
513
|
content: z.ZodString;
|
|
514
514
|
files: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
515
515
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -537,7 +537,7 @@ declare const ActivitySchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
|
|
|
537
537
|
published: boolean;
|
|
538
538
|
title: string;
|
|
539
539
|
content: string;
|
|
540
|
-
contentType: "video" | "document" | "audio" | "text" | "soundcloud" | "youtube" | "form" | "live";
|
|
540
|
+
contentType: "video" | "document" | "audio" | "text" | "soundcloud" | "youtube" | "form" | "live" | "file";
|
|
541
541
|
hideComments: boolean;
|
|
542
542
|
showChat: boolean;
|
|
543
543
|
createdAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
@@ -553,7 +553,7 @@ declare const ActivitySchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
|
|
|
553
553
|
}, {
|
|
554
554
|
title: string;
|
|
555
555
|
content: string;
|
|
556
|
-
contentType: "video" | "document" | "audio" | "text" | "soundcloud" | "youtube" | "form" | "live";
|
|
556
|
+
contentType: "video" | "document" | "audio" | "text" | "soundcloud" | "youtube" | "form" | "live" | "file";
|
|
557
557
|
id?: unknown;
|
|
558
558
|
createdAt?: unknown;
|
|
559
559
|
updatedAt?: unknown;
|
|
@@ -620,7 +620,7 @@ declare const ModuleWithActivities: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
620
620
|
}, {
|
|
621
621
|
title: z.ZodString;
|
|
622
622
|
description: z.ZodOptional<z.ZodString>;
|
|
623
|
-
contentType: z.ZodEnum<["video", "document", "audio", "text", "soundcloud", "youtube", "form", "live"]>;
|
|
623
|
+
contentType: z.ZodEnum<["video", "document", "audio", "text", "soundcloud", "youtube", "form", "live", "file"]>;
|
|
624
624
|
content: z.ZodString;
|
|
625
625
|
files: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
626
626
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -648,7 +648,7 @@ declare const ModuleWithActivities: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
648
648
|
published: boolean;
|
|
649
649
|
title: string;
|
|
650
650
|
content: string;
|
|
651
|
-
contentType: "video" | "document" | "audio" | "text" | "soundcloud" | "youtube" | "form" | "live";
|
|
651
|
+
contentType: "video" | "document" | "audio" | "text" | "soundcloud" | "youtube" | "form" | "live" | "file";
|
|
652
652
|
hideComments: boolean;
|
|
653
653
|
showChat: boolean;
|
|
654
654
|
createdAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
@@ -664,7 +664,7 @@ declare const ModuleWithActivities: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
664
664
|
}, {
|
|
665
665
|
title: string;
|
|
666
666
|
content: string;
|
|
667
|
-
contentType: "video" | "document" | "audio" | "text" | "soundcloud" | "youtube" | "form" | "live";
|
|
667
|
+
contentType: "video" | "document" | "audio" | "text" | "soundcloud" | "youtube" | "form" | "live" | "file";
|
|
668
668
|
id?: unknown;
|
|
669
669
|
createdAt?: unknown;
|
|
670
670
|
updatedAt?: unknown;
|
|
@@ -690,7 +690,7 @@ declare const ModuleWithActivities: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
690
690
|
published: boolean;
|
|
691
691
|
title: string;
|
|
692
692
|
content: string;
|
|
693
|
-
contentType: "video" | "document" | "audio" | "text" | "soundcloud" | "youtube" | "form" | "live";
|
|
693
|
+
contentType: "video" | "document" | "audio" | "text" | "soundcloud" | "youtube" | "form" | "live" | "file";
|
|
694
694
|
hideComments: boolean;
|
|
695
695
|
showChat: boolean;
|
|
696
696
|
createdAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
@@ -707,21 +707,21 @@ declare const ModuleWithActivities: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
707
707
|
createdAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
708
708
|
updatedAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
709
709
|
order?: number | null | undefined;
|
|
710
|
-
publishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
711
|
-
unpublishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
712
|
-
isExclusive?: boolean | null | undefined;
|
|
713
710
|
previous?: {
|
|
714
711
|
id: string | number;
|
|
715
712
|
createdAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
716
713
|
updatedAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
717
714
|
order?: number | null | undefined;
|
|
718
715
|
}[] | undefined;
|
|
716
|
+
publishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
717
|
+
unpublishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
718
|
+
isExclusive?: boolean | null | undefined;
|
|
719
719
|
}, {
|
|
720
720
|
title: string;
|
|
721
721
|
activities: {
|
|
722
722
|
title: string;
|
|
723
723
|
content: string;
|
|
724
|
-
contentType: "video" | "document" | "audio" | "text" | "soundcloud" | "youtube" | "form" | "live";
|
|
724
|
+
contentType: "video" | "document" | "audio" | "text" | "soundcloud" | "youtube" | "form" | "live" | "file";
|
|
725
725
|
id?: unknown;
|
|
726
726
|
createdAt?: unknown;
|
|
727
727
|
updatedAt?: unknown;
|
|
@@ -741,17 +741,17 @@ declare const ModuleWithActivities: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
741
741
|
createdAt?: unknown;
|
|
742
742
|
updatedAt?: unknown;
|
|
743
743
|
order?: number | null | undefined;
|
|
744
|
-
publishOnDate?: unknown;
|
|
745
|
-
unpublishOnDate?: unknown;
|
|
746
|
-
published?: boolean | undefined;
|
|
747
|
-
isPrivate?: boolean | undefined;
|
|
748
|
-
isExclusive?: boolean | null | undefined;
|
|
749
744
|
previous?: {
|
|
750
745
|
id?: unknown;
|
|
751
746
|
createdAt?: unknown;
|
|
752
747
|
updatedAt?: unknown;
|
|
753
748
|
order?: number | null | undefined;
|
|
754
749
|
}[] | undefined;
|
|
750
|
+
publishOnDate?: unknown;
|
|
751
|
+
unpublishOnDate?: unknown;
|
|
752
|
+
published?: boolean | undefined;
|
|
753
|
+
isPrivate?: boolean | undefined;
|
|
754
|
+
isExclusive?: boolean | null | undefined;
|
|
755
755
|
}>;
|
|
756
756
|
type ModuleWithActivities = z.infer<typeof ModuleWithActivities>;
|
|
757
757
|
type Activity = z.infer<typeof ActivitySchema>;
|
package/dist/model/journey.d.ts
CHANGED
|
@@ -473,34 +473,34 @@ 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;
|
|
479
476
|
previous?: {
|
|
480
477
|
id: string | number;
|
|
481
478
|
createdAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
482
479
|
updatedAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
483
480
|
order?: number | null | undefined;
|
|
484
481
|
}[] | 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;
|
|
496
491
|
previous?: {
|
|
497
492
|
id?: unknown;
|
|
498
493
|
createdAt?: unknown;
|
|
499
494
|
updatedAt?: unknown;
|
|
500
495
|
order?: number | null | undefined;
|
|
501
496
|
}[] | undefined;
|
|
497
|
+
publishOnDate?: unknown;
|
|
498
|
+
unpublishOnDate?: unknown;
|
|
499
|
+
published?: boolean | undefined;
|
|
500
|
+
isPrivate?: boolean | undefined;
|
|
501
|
+
isExclusive?: boolean | null | undefined;
|
|
502
502
|
}>;
|
|
503
|
-
declare const JourneyContentTypeSchema: z.ZodEnum<["video", "document", "audio", "text", "soundcloud", "youtube", "form", "live"]>;
|
|
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<{
|
|
505
505
|
id: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, string | number, unknown>;
|
|
506
506
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>>>;
|
|
@@ -509,7 +509,7 @@ declare const ActivitySchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
|
|
|
509
509
|
}, {
|
|
510
510
|
title: z.ZodString;
|
|
511
511
|
description: z.ZodOptional<z.ZodString>;
|
|
512
|
-
contentType: z.ZodEnum<["video", "document", "audio", "text", "soundcloud", "youtube", "form", "live"]>;
|
|
512
|
+
contentType: z.ZodEnum<["video", "document", "audio", "text", "soundcloud", "youtube", "form", "live", "file"]>;
|
|
513
513
|
content: z.ZodString;
|
|
514
514
|
files: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
515
515
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -537,7 +537,7 @@ declare const ActivitySchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
|
|
|
537
537
|
published: boolean;
|
|
538
538
|
title: string;
|
|
539
539
|
content: string;
|
|
540
|
-
contentType: "video" | "document" | "audio" | "text" | "soundcloud" | "youtube" | "form" | "live";
|
|
540
|
+
contentType: "video" | "document" | "audio" | "text" | "soundcloud" | "youtube" | "form" | "live" | "file";
|
|
541
541
|
hideComments: boolean;
|
|
542
542
|
showChat: boolean;
|
|
543
543
|
createdAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
@@ -553,7 +553,7 @@ declare const ActivitySchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
|
|
|
553
553
|
}, {
|
|
554
554
|
title: string;
|
|
555
555
|
content: string;
|
|
556
|
-
contentType: "video" | "document" | "audio" | "text" | "soundcloud" | "youtube" | "form" | "live";
|
|
556
|
+
contentType: "video" | "document" | "audio" | "text" | "soundcloud" | "youtube" | "form" | "live" | "file";
|
|
557
557
|
id?: unknown;
|
|
558
558
|
createdAt?: unknown;
|
|
559
559
|
updatedAt?: unknown;
|
|
@@ -620,7 +620,7 @@ declare const ModuleWithActivities: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
620
620
|
}, {
|
|
621
621
|
title: z.ZodString;
|
|
622
622
|
description: z.ZodOptional<z.ZodString>;
|
|
623
|
-
contentType: z.ZodEnum<["video", "document", "audio", "text", "soundcloud", "youtube", "form", "live"]>;
|
|
623
|
+
contentType: z.ZodEnum<["video", "document", "audio", "text", "soundcloud", "youtube", "form", "live", "file"]>;
|
|
624
624
|
content: z.ZodString;
|
|
625
625
|
files: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
626
626
|
label: z.ZodOptional<z.ZodString>;
|
|
@@ -648,7 +648,7 @@ declare const ModuleWithActivities: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
648
648
|
published: boolean;
|
|
649
649
|
title: string;
|
|
650
650
|
content: string;
|
|
651
|
-
contentType: "video" | "document" | "audio" | "text" | "soundcloud" | "youtube" | "form" | "live";
|
|
651
|
+
contentType: "video" | "document" | "audio" | "text" | "soundcloud" | "youtube" | "form" | "live" | "file";
|
|
652
652
|
hideComments: boolean;
|
|
653
653
|
showChat: boolean;
|
|
654
654
|
createdAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
@@ -664,7 +664,7 @@ declare const ModuleWithActivities: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
664
664
|
}, {
|
|
665
665
|
title: string;
|
|
666
666
|
content: string;
|
|
667
|
-
contentType: "video" | "document" | "audio" | "text" | "soundcloud" | "youtube" | "form" | "live";
|
|
667
|
+
contentType: "video" | "document" | "audio" | "text" | "soundcloud" | "youtube" | "form" | "live" | "file";
|
|
668
668
|
id?: unknown;
|
|
669
669
|
createdAt?: unknown;
|
|
670
670
|
updatedAt?: unknown;
|
|
@@ -690,7 +690,7 @@ declare const ModuleWithActivities: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
690
690
|
published: boolean;
|
|
691
691
|
title: string;
|
|
692
692
|
content: string;
|
|
693
|
-
contentType: "video" | "document" | "audio" | "text" | "soundcloud" | "youtube" | "form" | "live";
|
|
693
|
+
contentType: "video" | "document" | "audio" | "text" | "soundcloud" | "youtube" | "form" | "live" | "file";
|
|
694
694
|
hideComments: boolean;
|
|
695
695
|
showChat: boolean;
|
|
696
696
|
createdAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
@@ -707,21 +707,21 @@ declare const ModuleWithActivities: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
707
707
|
createdAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
708
708
|
updatedAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
709
709
|
order?: number | null | undefined;
|
|
710
|
-
publishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
711
|
-
unpublishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
712
|
-
isExclusive?: boolean | null | undefined;
|
|
713
710
|
previous?: {
|
|
714
711
|
id: string | number;
|
|
715
712
|
createdAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
716
713
|
updatedAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
717
714
|
order?: number | null | undefined;
|
|
718
715
|
}[] | undefined;
|
|
716
|
+
publishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
717
|
+
unpublishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
718
|
+
isExclusive?: boolean | null | undefined;
|
|
719
719
|
}, {
|
|
720
720
|
title: string;
|
|
721
721
|
activities: {
|
|
722
722
|
title: string;
|
|
723
723
|
content: string;
|
|
724
|
-
contentType: "video" | "document" | "audio" | "text" | "soundcloud" | "youtube" | "form" | "live";
|
|
724
|
+
contentType: "video" | "document" | "audio" | "text" | "soundcloud" | "youtube" | "form" | "live" | "file";
|
|
725
725
|
id?: unknown;
|
|
726
726
|
createdAt?: unknown;
|
|
727
727
|
updatedAt?: unknown;
|
|
@@ -741,17 +741,17 @@ declare const ModuleWithActivities: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
741
741
|
createdAt?: unknown;
|
|
742
742
|
updatedAt?: unknown;
|
|
743
743
|
order?: number | null | undefined;
|
|
744
|
-
publishOnDate?: unknown;
|
|
745
|
-
unpublishOnDate?: unknown;
|
|
746
|
-
published?: boolean | undefined;
|
|
747
|
-
isPrivate?: boolean | undefined;
|
|
748
|
-
isExclusive?: boolean | null | undefined;
|
|
749
744
|
previous?: {
|
|
750
745
|
id?: unknown;
|
|
751
746
|
createdAt?: unknown;
|
|
752
747
|
updatedAt?: unknown;
|
|
753
748
|
order?: number | null | undefined;
|
|
754
749
|
}[] | undefined;
|
|
750
|
+
publishOnDate?: unknown;
|
|
751
|
+
unpublishOnDate?: unknown;
|
|
752
|
+
published?: boolean | undefined;
|
|
753
|
+
isPrivate?: boolean | undefined;
|
|
754
|
+
isExclusive?: boolean | null | undefined;
|
|
755
755
|
}>;
|
|
756
756
|
type ModuleWithActivities = z.infer<typeof ModuleWithActivities>;
|
|
757
757
|
type Activity = z.infer<typeof ActivitySchema>;
|
package/dist/model/journey.js
CHANGED