@_henriquewilson/gabirubi-domain 1.3.63 → 1.3.65
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 +45 -45
- package/dist/model/journey.d.ts +45 -45
- package/dist/model/subscription.model.d.mts +3 -0
- package/dist/model/subscription.model.d.ts +3 -0
- package/dist/model/subscription.model.js +1 -0
- package/dist/model/subscription.model.js.map +1 -1
- package/dist/model/subscription.model.mjs +1 -0
- package/dist/model/subscription.model.mjs.map +1 -1
- package/dist/model/user.model.d.mts +2 -2
- package/dist/model/user.model.d.ts +2 -2
- package/dist/test/string.test.js.map +1 -1
- package/dist/test/string.test.mjs.map +1 -1
- package/dist/util/string.util.d.mts +2 -1
- package/dist/util/string.util.d.ts +2 -1
- package/dist/util/string.util.js +88 -0
- package/dist/util/string.util.js.map +1 -1
- package/dist/util/string.util.mjs +85 -1
- package/dist/util/string.util.mjs.map +1 -1
- package/package.json +1 -1
package/dist/model/journey.d.mts
CHANGED
|
@@ -58,8 +58,8 @@ declare const PlanSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
58
58
|
stripePrice: z.ZodString;
|
|
59
59
|
}>, "strip", z.ZodTypeAny, {
|
|
60
60
|
id: string | number;
|
|
61
|
-
enabled: boolean;
|
|
62
61
|
title: string;
|
|
62
|
+
enabled: boolean;
|
|
63
63
|
price: number;
|
|
64
64
|
period: "month" | "year";
|
|
65
65
|
pixPrice: number;
|
|
@@ -79,8 +79,8 @@ declare const PlanSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
79
79
|
createdAt?: unknown;
|
|
80
80
|
updatedAt?: unknown;
|
|
81
81
|
order?: number | null | undefined;
|
|
82
|
-
enabled?: boolean | undefined;
|
|
83
82
|
description?: string | undefined;
|
|
83
|
+
enabled?: boolean | undefined;
|
|
84
84
|
period?: "month" | "year" | undefined;
|
|
85
85
|
}>;
|
|
86
86
|
declare const JourneySchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -347,8 +347,8 @@ declare const JourneySchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
|
|
|
347
347
|
stripePrice: z.ZodString;
|
|
348
348
|
}>, "strip", z.ZodTypeAny, {
|
|
349
349
|
id: string | number;
|
|
350
|
-
enabled: boolean;
|
|
351
350
|
title: string;
|
|
351
|
+
enabled: boolean;
|
|
352
352
|
price: number;
|
|
353
353
|
period: "month" | "year";
|
|
354
354
|
pixPrice: number;
|
|
@@ -368,8 +368,8 @@ declare const JourneySchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
|
|
|
368
368
|
createdAt?: unknown;
|
|
369
369
|
updatedAt?: unknown;
|
|
370
370
|
order?: number | null | undefined;
|
|
371
|
-
enabled?: boolean | undefined;
|
|
372
371
|
description?: string | undefined;
|
|
372
|
+
enabled?: boolean | undefined;
|
|
373
373
|
period?: "month" | "year" | undefined;
|
|
374
374
|
}>, "many">>;
|
|
375
375
|
}>, z.objectUtil.extendShape<{
|
|
@@ -384,15 +384,15 @@ declare const JourneySchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
|
|
|
384
384
|
}>>, "strip", z.ZodTypeAny, {
|
|
385
385
|
type: "simple" | "modular" | "free";
|
|
386
386
|
id: string | number;
|
|
387
|
-
published: boolean;
|
|
388
387
|
title: string;
|
|
388
|
+
published: boolean;
|
|
389
389
|
activitiesCounter: number;
|
|
390
390
|
createdAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
391
391
|
updatedAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
392
392
|
order?: number | null | undefined;
|
|
393
|
+
description?: string | undefined;
|
|
393
394
|
publishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
394
395
|
unpublishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
395
|
-
description?: string | undefined;
|
|
396
396
|
lastNewsDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
397
397
|
thumbnail?: string | undefined;
|
|
398
398
|
expirationDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
@@ -447,8 +447,8 @@ declare const JourneySchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
|
|
|
447
447
|
stripeProductId?: string | undefined;
|
|
448
448
|
plans?: {
|
|
449
449
|
id: string | number;
|
|
450
|
-
enabled: boolean;
|
|
451
450
|
title: string;
|
|
451
|
+
enabled: boolean;
|
|
452
452
|
price: number;
|
|
453
453
|
period: "month" | "year";
|
|
454
454
|
pixPrice: number;
|
|
@@ -467,10 +467,10 @@ declare const JourneySchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
|
|
|
467
467
|
createdAt?: unknown;
|
|
468
468
|
updatedAt?: unknown;
|
|
469
469
|
order?: number | null | undefined;
|
|
470
|
+
description?: string | undefined;
|
|
470
471
|
publishOnDate?: unknown;
|
|
471
472
|
unpublishOnDate?: unknown;
|
|
472
473
|
published?: boolean | undefined;
|
|
473
|
-
description?: string | undefined;
|
|
474
474
|
lastNewsDate?: unknown;
|
|
475
475
|
thumbnail?: string | undefined;
|
|
476
476
|
expirationDate?: unknown;
|
|
@@ -533,8 +533,8 @@ declare const JourneySchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
|
|
|
533
533
|
createdAt?: unknown;
|
|
534
534
|
updatedAt?: unknown;
|
|
535
535
|
order?: number | null | undefined;
|
|
536
|
-
enabled?: boolean | undefined;
|
|
537
536
|
description?: string | undefined;
|
|
537
|
+
enabled?: boolean | undefined;
|
|
538
538
|
period?: "month" | "year" | undefined;
|
|
539
539
|
}[] | undefined;
|
|
540
540
|
}>;
|
|
@@ -581,20 +581,20 @@ declare const ModuleSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
581
581
|
published: z.ZodDefault<z.ZodBoolean>;
|
|
582
582
|
}>>, "strip", z.ZodTypeAny, {
|
|
583
583
|
id: string | number;
|
|
584
|
-
published: boolean;
|
|
585
584
|
title: string;
|
|
585
|
+
published: boolean;
|
|
586
586
|
isPrivate: boolean;
|
|
587
587
|
createdAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
588
588
|
updatedAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
589
589
|
order?: number | null | undefined;
|
|
590
|
+
publishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
591
|
+
unpublishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
590
592
|
previous?: {
|
|
591
593
|
id: string | number;
|
|
592
594
|
createdAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
593
595
|
updatedAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
594
596
|
order?: number | null | undefined;
|
|
595
597
|
}[] | undefined;
|
|
596
|
-
publishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
597
|
-
unpublishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
598
598
|
rss?: string | undefined;
|
|
599
599
|
isExclusive?: boolean | null | undefined;
|
|
600
600
|
}, {
|
|
@@ -603,15 +603,15 @@ declare const ModuleSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
603
603
|
createdAt?: unknown;
|
|
604
604
|
updatedAt?: unknown;
|
|
605
605
|
order?: number | null | undefined;
|
|
606
|
+
publishOnDate?: unknown;
|
|
607
|
+
unpublishOnDate?: unknown;
|
|
608
|
+
published?: boolean | undefined;
|
|
606
609
|
previous?: {
|
|
607
610
|
id?: unknown;
|
|
608
611
|
createdAt?: unknown;
|
|
609
612
|
updatedAt?: unknown;
|
|
610
613
|
order?: number | null | undefined;
|
|
611
614
|
}[] | undefined;
|
|
612
|
-
publishOnDate?: unknown;
|
|
613
|
-
unpublishOnDate?: unknown;
|
|
614
|
-
published?: boolean | undefined;
|
|
615
615
|
isPrivate?: boolean | undefined;
|
|
616
616
|
rss?: string | undefined;
|
|
617
617
|
isExclusive?: boolean | null | undefined;
|
|
@@ -652,17 +652,15 @@ declare const ActivitySchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
|
|
|
652
652
|
published: z.ZodDefault<z.ZodBoolean>;
|
|
653
653
|
}>>, "strip", z.ZodTypeAny, {
|
|
654
654
|
id: string | number;
|
|
655
|
-
published: boolean;
|
|
656
655
|
title: string;
|
|
657
|
-
content: string;
|
|
658
656
|
contentType: "video" | "document" | "audio" | "text" | "soundcloud" | "youtube" | "form" | "live" | "file";
|
|
657
|
+
content: string;
|
|
659
658
|
hideComments: boolean;
|
|
660
659
|
showChat: boolean;
|
|
660
|
+
published: boolean;
|
|
661
661
|
createdAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
662
662
|
updatedAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
663
663
|
order?: number | null | undefined;
|
|
664
|
-
publishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
665
|
-
unpublishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
666
664
|
description?: string | undefined;
|
|
667
665
|
files?: {
|
|
668
666
|
url: string;
|
|
@@ -670,17 +668,16 @@ declare const ActivitySchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
|
|
|
670
668
|
}[] | undefined;
|
|
671
669
|
reference?: string | undefined;
|
|
672
670
|
tagsStr?: string | undefined;
|
|
671
|
+
publishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
672
|
+
unpublishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
673
673
|
}, {
|
|
674
674
|
title: string;
|
|
675
|
-
content: string;
|
|
676
675
|
contentType: "video" | "document" | "audio" | "text" | "soundcloud" | "youtube" | "form" | "live" | "file";
|
|
676
|
+
content: string;
|
|
677
677
|
id?: unknown;
|
|
678
678
|
createdAt?: unknown;
|
|
679
679
|
updatedAt?: unknown;
|
|
680
680
|
order?: number | null | undefined;
|
|
681
|
-
publishOnDate?: unknown;
|
|
682
|
-
unpublishOnDate?: unknown;
|
|
683
|
-
published?: boolean | undefined;
|
|
684
681
|
description?: string | undefined;
|
|
685
682
|
files?: {
|
|
686
683
|
url: string;
|
|
@@ -690,6 +687,9 @@ declare const ActivitySchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
|
|
|
690
687
|
showChat?: boolean | undefined;
|
|
691
688
|
reference?: string | undefined;
|
|
692
689
|
tagsStr?: string | undefined;
|
|
690
|
+
publishOnDate?: unknown;
|
|
691
|
+
unpublishOnDate?: unknown;
|
|
692
|
+
published?: boolean | undefined;
|
|
693
693
|
}>;
|
|
694
694
|
type Module = z.infer<typeof ModuleSchema>;
|
|
695
695
|
type Journey = z.infer<typeof JourneySchema>;
|
|
@@ -771,17 +771,15 @@ declare const ModuleWithActivities: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
771
771
|
published: z.ZodDefault<z.ZodBoolean>;
|
|
772
772
|
}>>, "strip", z.ZodTypeAny, {
|
|
773
773
|
id: string | number;
|
|
774
|
-
published: boolean;
|
|
775
774
|
title: string;
|
|
776
|
-
content: string;
|
|
777
775
|
contentType: "video" | "document" | "audio" | "text" | "soundcloud" | "youtube" | "form" | "live" | "file";
|
|
776
|
+
content: string;
|
|
778
777
|
hideComments: boolean;
|
|
779
778
|
showChat: boolean;
|
|
779
|
+
published: boolean;
|
|
780
780
|
createdAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
781
781
|
updatedAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
782
782
|
order?: number | null | undefined;
|
|
783
|
-
publishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
784
|
-
unpublishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
785
783
|
description?: string | undefined;
|
|
786
784
|
files?: {
|
|
787
785
|
url: string;
|
|
@@ -789,17 +787,16 @@ declare const ModuleWithActivities: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
789
787
|
}[] | undefined;
|
|
790
788
|
reference?: string | undefined;
|
|
791
789
|
tagsStr?: string | undefined;
|
|
790
|
+
publishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
791
|
+
unpublishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
792
792
|
}, {
|
|
793
793
|
title: string;
|
|
794
|
-
content: string;
|
|
795
794
|
contentType: "video" | "document" | "audio" | "text" | "soundcloud" | "youtube" | "form" | "live" | "file";
|
|
795
|
+
content: string;
|
|
796
796
|
id?: unknown;
|
|
797
797
|
createdAt?: unknown;
|
|
798
798
|
updatedAt?: unknown;
|
|
799
799
|
order?: number | null | undefined;
|
|
800
|
-
publishOnDate?: unknown;
|
|
801
|
-
unpublishOnDate?: unknown;
|
|
802
|
-
published?: boolean | undefined;
|
|
803
800
|
description?: string | undefined;
|
|
804
801
|
files?: {
|
|
805
802
|
url: string;
|
|
@@ -809,25 +806,26 @@ declare const ModuleWithActivities: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
809
806
|
showChat?: boolean | undefined;
|
|
810
807
|
reference?: string | undefined;
|
|
811
808
|
tagsStr?: string | undefined;
|
|
809
|
+
publishOnDate?: unknown;
|
|
810
|
+
unpublishOnDate?: unknown;
|
|
811
|
+
published?: boolean | undefined;
|
|
812
812
|
}>, "many">;
|
|
813
813
|
}>, "strip", z.ZodTypeAny, {
|
|
814
814
|
id: string | number;
|
|
815
|
-
published: boolean;
|
|
816
815
|
title: string;
|
|
816
|
+
published: boolean;
|
|
817
817
|
isPrivate: boolean;
|
|
818
818
|
activities: {
|
|
819
819
|
id: string | number;
|
|
820
|
-
published: boolean;
|
|
821
820
|
title: string;
|
|
822
|
-
content: string;
|
|
823
821
|
contentType: "video" | "document" | "audio" | "text" | "soundcloud" | "youtube" | "form" | "live" | "file";
|
|
822
|
+
content: string;
|
|
824
823
|
hideComments: boolean;
|
|
825
824
|
showChat: boolean;
|
|
825
|
+
published: boolean;
|
|
826
826
|
createdAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
827
827
|
updatedAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
828
828
|
order?: number | null | undefined;
|
|
829
|
-
publishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
830
|
-
unpublishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
831
829
|
description?: string | undefined;
|
|
832
830
|
files?: {
|
|
833
831
|
url: string;
|
|
@@ -835,33 +833,32 @@ declare const ModuleWithActivities: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
835
833
|
}[] | undefined;
|
|
836
834
|
reference?: string | undefined;
|
|
837
835
|
tagsStr?: string | undefined;
|
|
836
|
+
publishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
837
|
+
unpublishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
838
838
|
}[];
|
|
839
839
|
createdAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
840
840
|
updatedAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
841
841
|
order?: number | null | undefined;
|
|
842
|
+
publishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
843
|
+
unpublishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
842
844
|
previous?: {
|
|
843
845
|
id: string | number;
|
|
844
846
|
createdAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
845
847
|
updatedAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
846
848
|
order?: number | null | undefined;
|
|
847
849
|
}[] | undefined;
|
|
848
|
-
publishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
849
|
-
unpublishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
850
850
|
rss?: string | undefined;
|
|
851
851
|
isExclusive?: boolean | null | undefined;
|
|
852
852
|
}, {
|
|
853
853
|
title: string;
|
|
854
854
|
activities: {
|
|
855
855
|
title: string;
|
|
856
|
-
content: string;
|
|
857
856
|
contentType: "video" | "document" | "audio" | "text" | "soundcloud" | "youtube" | "form" | "live" | "file";
|
|
857
|
+
content: string;
|
|
858
858
|
id?: unknown;
|
|
859
859
|
createdAt?: unknown;
|
|
860
860
|
updatedAt?: unknown;
|
|
861
861
|
order?: number | null | undefined;
|
|
862
|
-
publishOnDate?: unknown;
|
|
863
|
-
unpublishOnDate?: unknown;
|
|
864
|
-
published?: boolean | undefined;
|
|
865
862
|
description?: string | undefined;
|
|
866
863
|
files?: {
|
|
867
864
|
url: string;
|
|
@@ -871,20 +868,23 @@ declare const ModuleWithActivities: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
871
868
|
showChat?: boolean | undefined;
|
|
872
869
|
reference?: string | undefined;
|
|
873
870
|
tagsStr?: string | undefined;
|
|
871
|
+
publishOnDate?: unknown;
|
|
872
|
+
unpublishOnDate?: unknown;
|
|
873
|
+
published?: boolean | undefined;
|
|
874
874
|
}[];
|
|
875
875
|
id?: unknown;
|
|
876
876
|
createdAt?: unknown;
|
|
877
877
|
updatedAt?: unknown;
|
|
878
878
|
order?: number | null | undefined;
|
|
879
|
+
publishOnDate?: unknown;
|
|
880
|
+
unpublishOnDate?: unknown;
|
|
881
|
+
published?: boolean | undefined;
|
|
879
882
|
previous?: {
|
|
880
883
|
id?: unknown;
|
|
881
884
|
createdAt?: unknown;
|
|
882
885
|
updatedAt?: unknown;
|
|
883
886
|
order?: number | null | undefined;
|
|
884
887
|
}[] | undefined;
|
|
885
|
-
publishOnDate?: unknown;
|
|
886
|
-
unpublishOnDate?: unknown;
|
|
887
|
-
published?: boolean | undefined;
|
|
888
888
|
isPrivate?: boolean | undefined;
|
|
889
889
|
rss?: string | undefined;
|
|
890
890
|
isExclusive?: boolean | null | undefined;
|
package/dist/model/journey.d.ts
CHANGED
|
@@ -58,8 +58,8 @@ declare const PlanSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
58
58
|
stripePrice: z.ZodString;
|
|
59
59
|
}>, "strip", z.ZodTypeAny, {
|
|
60
60
|
id: string | number;
|
|
61
|
-
enabled: boolean;
|
|
62
61
|
title: string;
|
|
62
|
+
enabled: boolean;
|
|
63
63
|
price: number;
|
|
64
64
|
period: "month" | "year";
|
|
65
65
|
pixPrice: number;
|
|
@@ -79,8 +79,8 @@ declare const PlanSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
79
79
|
createdAt?: unknown;
|
|
80
80
|
updatedAt?: unknown;
|
|
81
81
|
order?: number | null | undefined;
|
|
82
|
-
enabled?: boolean | undefined;
|
|
83
82
|
description?: string | undefined;
|
|
83
|
+
enabled?: boolean | undefined;
|
|
84
84
|
period?: "month" | "year" | undefined;
|
|
85
85
|
}>;
|
|
86
86
|
declare const JourneySchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -347,8 +347,8 @@ declare const JourneySchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
|
|
|
347
347
|
stripePrice: z.ZodString;
|
|
348
348
|
}>, "strip", z.ZodTypeAny, {
|
|
349
349
|
id: string | number;
|
|
350
|
-
enabled: boolean;
|
|
351
350
|
title: string;
|
|
351
|
+
enabled: boolean;
|
|
352
352
|
price: number;
|
|
353
353
|
period: "month" | "year";
|
|
354
354
|
pixPrice: number;
|
|
@@ -368,8 +368,8 @@ declare const JourneySchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
|
|
|
368
368
|
createdAt?: unknown;
|
|
369
369
|
updatedAt?: unknown;
|
|
370
370
|
order?: number | null | undefined;
|
|
371
|
-
enabled?: boolean | undefined;
|
|
372
371
|
description?: string | undefined;
|
|
372
|
+
enabled?: boolean | undefined;
|
|
373
373
|
period?: "month" | "year" | undefined;
|
|
374
374
|
}>, "many">>;
|
|
375
375
|
}>, z.objectUtil.extendShape<{
|
|
@@ -384,15 +384,15 @@ declare const JourneySchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
|
|
|
384
384
|
}>>, "strip", z.ZodTypeAny, {
|
|
385
385
|
type: "simple" | "modular" | "free";
|
|
386
386
|
id: string | number;
|
|
387
|
-
published: boolean;
|
|
388
387
|
title: string;
|
|
388
|
+
published: boolean;
|
|
389
389
|
activitiesCounter: number;
|
|
390
390
|
createdAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
391
391
|
updatedAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
392
392
|
order?: number | null | undefined;
|
|
393
|
+
description?: string | undefined;
|
|
393
394
|
publishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
394
395
|
unpublishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
395
|
-
description?: string | undefined;
|
|
396
396
|
lastNewsDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
397
397
|
thumbnail?: string | undefined;
|
|
398
398
|
expirationDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
@@ -447,8 +447,8 @@ declare const JourneySchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
|
|
|
447
447
|
stripeProductId?: string | undefined;
|
|
448
448
|
plans?: {
|
|
449
449
|
id: string | number;
|
|
450
|
-
enabled: boolean;
|
|
451
450
|
title: string;
|
|
451
|
+
enabled: boolean;
|
|
452
452
|
price: number;
|
|
453
453
|
period: "month" | "year";
|
|
454
454
|
pixPrice: number;
|
|
@@ -467,10 +467,10 @@ declare const JourneySchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
|
|
|
467
467
|
createdAt?: unknown;
|
|
468
468
|
updatedAt?: unknown;
|
|
469
469
|
order?: number | null | undefined;
|
|
470
|
+
description?: string | undefined;
|
|
470
471
|
publishOnDate?: unknown;
|
|
471
472
|
unpublishOnDate?: unknown;
|
|
472
473
|
published?: boolean | undefined;
|
|
473
|
-
description?: string | undefined;
|
|
474
474
|
lastNewsDate?: unknown;
|
|
475
475
|
thumbnail?: string | undefined;
|
|
476
476
|
expirationDate?: unknown;
|
|
@@ -533,8 +533,8 @@ declare const JourneySchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
|
|
|
533
533
|
createdAt?: unknown;
|
|
534
534
|
updatedAt?: unknown;
|
|
535
535
|
order?: number | null | undefined;
|
|
536
|
-
enabled?: boolean | undefined;
|
|
537
536
|
description?: string | undefined;
|
|
537
|
+
enabled?: boolean | undefined;
|
|
538
538
|
period?: "month" | "year" | undefined;
|
|
539
539
|
}[] | undefined;
|
|
540
540
|
}>;
|
|
@@ -581,20 +581,20 @@ declare const ModuleSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
581
581
|
published: z.ZodDefault<z.ZodBoolean>;
|
|
582
582
|
}>>, "strip", z.ZodTypeAny, {
|
|
583
583
|
id: string | number;
|
|
584
|
-
published: boolean;
|
|
585
584
|
title: string;
|
|
585
|
+
published: boolean;
|
|
586
586
|
isPrivate: boolean;
|
|
587
587
|
createdAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
588
588
|
updatedAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
589
589
|
order?: number | null | undefined;
|
|
590
|
+
publishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
591
|
+
unpublishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
590
592
|
previous?: {
|
|
591
593
|
id: string | number;
|
|
592
594
|
createdAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
593
595
|
updatedAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
594
596
|
order?: number | null | undefined;
|
|
595
597
|
}[] | undefined;
|
|
596
|
-
publishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
597
|
-
unpublishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
598
598
|
rss?: string | undefined;
|
|
599
599
|
isExclusive?: boolean | null | undefined;
|
|
600
600
|
}, {
|
|
@@ -603,15 +603,15 @@ declare const ModuleSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
|
|
|
603
603
|
createdAt?: unknown;
|
|
604
604
|
updatedAt?: unknown;
|
|
605
605
|
order?: number | null | undefined;
|
|
606
|
+
publishOnDate?: unknown;
|
|
607
|
+
unpublishOnDate?: unknown;
|
|
608
|
+
published?: boolean | undefined;
|
|
606
609
|
previous?: {
|
|
607
610
|
id?: unknown;
|
|
608
611
|
createdAt?: unknown;
|
|
609
612
|
updatedAt?: unknown;
|
|
610
613
|
order?: number | null | undefined;
|
|
611
614
|
}[] | undefined;
|
|
612
|
-
publishOnDate?: unknown;
|
|
613
|
-
unpublishOnDate?: unknown;
|
|
614
|
-
published?: boolean | undefined;
|
|
615
615
|
isPrivate?: boolean | undefined;
|
|
616
616
|
rss?: string | undefined;
|
|
617
617
|
isExclusive?: boolean | null | undefined;
|
|
@@ -652,17 +652,15 @@ declare const ActivitySchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
|
|
|
652
652
|
published: z.ZodDefault<z.ZodBoolean>;
|
|
653
653
|
}>>, "strip", z.ZodTypeAny, {
|
|
654
654
|
id: string | number;
|
|
655
|
-
published: boolean;
|
|
656
655
|
title: string;
|
|
657
|
-
content: string;
|
|
658
656
|
contentType: "video" | "document" | "audio" | "text" | "soundcloud" | "youtube" | "form" | "live" | "file";
|
|
657
|
+
content: string;
|
|
659
658
|
hideComments: boolean;
|
|
660
659
|
showChat: boolean;
|
|
660
|
+
published: boolean;
|
|
661
661
|
createdAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
662
662
|
updatedAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
663
663
|
order?: number | null | undefined;
|
|
664
|
-
publishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
665
|
-
unpublishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
666
664
|
description?: string | undefined;
|
|
667
665
|
files?: {
|
|
668
666
|
url: string;
|
|
@@ -670,17 +668,16 @@ declare const ActivitySchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
|
|
|
670
668
|
}[] | undefined;
|
|
671
669
|
reference?: string | undefined;
|
|
672
670
|
tagsStr?: string | undefined;
|
|
671
|
+
publishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
672
|
+
unpublishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
673
673
|
}, {
|
|
674
674
|
title: string;
|
|
675
|
-
content: string;
|
|
676
675
|
contentType: "video" | "document" | "audio" | "text" | "soundcloud" | "youtube" | "form" | "live" | "file";
|
|
676
|
+
content: string;
|
|
677
677
|
id?: unknown;
|
|
678
678
|
createdAt?: unknown;
|
|
679
679
|
updatedAt?: unknown;
|
|
680
680
|
order?: number | null | undefined;
|
|
681
|
-
publishOnDate?: unknown;
|
|
682
|
-
unpublishOnDate?: unknown;
|
|
683
|
-
published?: boolean | undefined;
|
|
684
681
|
description?: string | undefined;
|
|
685
682
|
files?: {
|
|
686
683
|
url: string;
|
|
@@ -690,6 +687,9 @@ declare const ActivitySchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
|
|
|
690
687
|
showChat?: boolean | undefined;
|
|
691
688
|
reference?: string | undefined;
|
|
692
689
|
tagsStr?: string | undefined;
|
|
690
|
+
publishOnDate?: unknown;
|
|
691
|
+
unpublishOnDate?: unknown;
|
|
692
|
+
published?: boolean | undefined;
|
|
693
693
|
}>;
|
|
694
694
|
type Module = z.infer<typeof ModuleSchema>;
|
|
695
695
|
type Journey = z.infer<typeof JourneySchema>;
|
|
@@ -771,17 +771,15 @@ declare const ModuleWithActivities: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
771
771
|
published: z.ZodDefault<z.ZodBoolean>;
|
|
772
772
|
}>>, "strip", z.ZodTypeAny, {
|
|
773
773
|
id: string | number;
|
|
774
|
-
published: boolean;
|
|
775
774
|
title: string;
|
|
776
|
-
content: string;
|
|
777
775
|
contentType: "video" | "document" | "audio" | "text" | "soundcloud" | "youtube" | "form" | "live" | "file";
|
|
776
|
+
content: string;
|
|
778
777
|
hideComments: boolean;
|
|
779
778
|
showChat: boolean;
|
|
779
|
+
published: boolean;
|
|
780
780
|
createdAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
781
781
|
updatedAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
782
782
|
order?: number | null | undefined;
|
|
783
|
-
publishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
784
|
-
unpublishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
785
783
|
description?: string | undefined;
|
|
786
784
|
files?: {
|
|
787
785
|
url: string;
|
|
@@ -789,17 +787,16 @@ declare const ModuleWithActivities: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
789
787
|
}[] | undefined;
|
|
790
788
|
reference?: string | undefined;
|
|
791
789
|
tagsStr?: string | undefined;
|
|
790
|
+
publishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
791
|
+
unpublishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
792
792
|
}, {
|
|
793
793
|
title: string;
|
|
794
|
-
content: string;
|
|
795
794
|
contentType: "video" | "document" | "audio" | "text" | "soundcloud" | "youtube" | "form" | "live" | "file";
|
|
795
|
+
content: string;
|
|
796
796
|
id?: unknown;
|
|
797
797
|
createdAt?: unknown;
|
|
798
798
|
updatedAt?: unknown;
|
|
799
799
|
order?: number | null | undefined;
|
|
800
|
-
publishOnDate?: unknown;
|
|
801
|
-
unpublishOnDate?: unknown;
|
|
802
|
-
published?: boolean | undefined;
|
|
803
800
|
description?: string | undefined;
|
|
804
801
|
files?: {
|
|
805
802
|
url: string;
|
|
@@ -809,25 +806,26 @@ declare const ModuleWithActivities: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
809
806
|
showChat?: boolean | undefined;
|
|
810
807
|
reference?: string | undefined;
|
|
811
808
|
tagsStr?: string | undefined;
|
|
809
|
+
publishOnDate?: unknown;
|
|
810
|
+
unpublishOnDate?: unknown;
|
|
811
|
+
published?: boolean | undefined;
|
|
812
812
|
}>, "many">;
|
|
813
813
|
}>, "strip", z.ZodTypeAny, {
|
|
814
814
|
id: string | number;
|
|
815
|
-
published: boolean;
|
|
816
815
|
title: string;
|
|
816
|
+
published: boolean;
|
|
817
817
|
isPrivate: boolean;
|
|
818
818
|
activities: {
|
|
819
819
|
id: string | number;
|
|
820
|
-
published: boolean;
|
|
821
820
|
title: string;
|
|
822
|
-
content: string;
|
|
823
821
|
contentType: "video" | "document" | "audio" | "text" | "soundcloud" | "youtube" | "form" | "live" | "file";
|
|
822
|
+
content: string;
|
|
824
823
|
hideComments: boolean;
|
|
825
824
|
showChat: boolean;
|
|
825
|
+
published: boolean;
|
|
826
826
|
createdAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
827
827
|
updatedAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
828
828
|
order?: number | null | undefined;
|
|
829
|
-
publishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
830
|
-
unpublishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
831
829
|
description?: string | undefined;
|
|
832
830
|
files?: {
|
|
833
831
|
url: string;
|
|
@@ -835,33 +833,32 @@ declare const ModuleWithActivities: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
835
833
|
}[] | undefined;
|
|
836
834
|
reference?: string | undefined;
|
|
837
835
|
tagsStr?: string | undefined;
|
|
836
|
+
publishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
837
|
+
unpublishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
838
838
|
}[];
|
|
839
839
|
createdAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
840
840
|
updatedAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
841
841
|
order?: number | null | undefined;
|
|
842
|
+
publishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
843
|
+
unpublishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
842
844
|
previous?: {
|
|
843
845
|
id: string | number;
|
|
844
846
|
createdAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
845
847
|
updatedAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
846
848
|
order?: number | null | undefined;
|
|
847
849
|
}[] | undefined;
|
|
848
|
-
publishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
849
|
-
unpublishOnDate?: FirebaseFirestore.Timestamp | null | undefined;
|
|
850
850
|
rss?: string | undefined;
|
|
851
851
|
isExclusive?: boolean | null | undefined;
|
|
852
852
|
}, {
|
|
853
853
|
title: string;
|
|
854
854
|
activities: {
|
|
855
855
|
title: string;
|
|
856
|
-
content: string;
|
|
857
856
|
contentType: "video" | "document" | "audio" | "text" | "soundcloud" | "youtube" | "form" | "live" | "file";
|
|
857
|
+
content: string;
|
|
858
858
|
id?: unknown;
|
|
859
859
|
createdAt?: unknown;
|
|
860
860
|
updatedAt?: unknown;
|
|
861
861
|
order?: number | null | undefined;
|
|
862
|
-
publishOnDate?: unknown;
|
|
863
|
-
unpublishOnDate?: unknown;
|
|
864
|
-
published?: boolean | undefined;
|
|
865
862
|
description?: string | undefined;
|
|
866
863
|
files?: {
|
|
867
864
|
url: string;
|
|
@@ -871,20 +868,23 @@ declare const ModuleWithActivities: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
871
868
|
showChat?: boolean | undefined;
|
|
872
869
|
reference?: string | undefined;
|
|
873
870
|
tagsStr?: string | undefined;
|
|
871
|
+
publishOnDate?: unknown;
|
|
872
|
+
unpublishOnDate?: unknown;
|
|
873
|
+
published?: boolean | undefined;
|
|
874
874
|
}[];
|
|
875
875
|
id?: unknown;
|
|
876
876
|
createdAt?: unknown;
|
|
877
877
|
updatedAt?: unknown;
|
|
878
878
|
order?: number | null | undefined;
|
|
879
|
+
publishOnDate?: unknown;
|
|
880
|
+
unpublishOnDate?: unknown;
|
|
881
|
+
published?: boolean | undefined;
|
|
879
882
|
previous?: {
|
|
880
883
|
id?: unknown;
|
|
881
884
|
createdAt?: unknown;
|
|
882
885
|
updatedAt?: unknown;
|
|
883
886
|
order?: number | null | undefined;
|
|
884
887
|
}[] | undefined;
|
|
885
|
-
publishOnDate?: unknown;
|
|
886
|
-
unpublishOnDate?: unknown;
|
|
887
|
-
published?: boolean | undefined;
|
|
888
888
|
isPrivate?: boolean | undefined;
|
|
889
889
|
rss?: string | undefined;
|
|
890
890
|
isExclusive?: boolean | null | undefined;
|
|
@@ -1607,6 +1607,7 @@ declare const SubscriptionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1607
1607
|
split_rules?: string | null | undefined;
|
|
1608
1608
|
}>;
|
|
1609
1609
|
nextCharge: z.ZodOptional<z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>>;
|
|
1610
|
+
skipNextCharge: z.ZodOptional<z.ZodBoolean>;
|
|
1610
1611
|
status: z.ZodOptional<z.ZodNativeEnum<{
|
|
1611
1612
|
readonly ACTIVE: "ACTIVE";
|
|
1612
1613
|
readonly INACTIVE: "INACTIVE";
|
|
@@ -2177,6 +2178,7 @@ declare const SubscriptionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2177
2178
|
split_rules?: string | null | undefined;
|
|
2178
2179
|
} | undefined;
|
|
2179
2180
|
nextCharge?: Timestamp | undefined;
|
|
2181
|
+
skipNextCharge?: boolean | undefined;
|
|
2180
2182
|
payedWith?: "PIX" | "CREDIT_CARD" | "STRIPE" | null | undefined;
|
|
2181
2183
|
planId?: string | null | undefined;
|
|
2182
2184
|
recurrencyPeriod?: number | null | undefined;
|
|
@@ -2674,6 +2676,7 @@ declare const SubscriptionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2674
2676
|
split_rules?: string | null | undefined;
|
|
2675
2677
|
}[] | undefined;
|
|
2676
2678
|
nextCharge?: Timestamp | undefined;
|
|
2679
|
+
skipNextCharge?: boolean | undefined;
|
|
2677
2680
|
payedWith?: "PIX" | "CREDIT_CARD" | "STRIPE" | null | undefined;
|
|
2678
2681
|
planId?: string | null | undefined;
|
|
2679
2682
|
recurrencyPeriod?: number | null | undefined;
|
|
@@ -1607,6 +1607,7 @@ declare const SubscriptionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1607
1607
|
split_rules?: string | null | undefined;
|
|
1608
1608
|
}>;
|
|
1609
1609
|
nextCharge: z.ZodOptional<z.ZodType<Timestamp, z.ZodTypeDef, Timestamp>>;
|
|
1610
|
+
skipNextCharge: z.ZodOptional<z.ZodBoolean>;
|
|
1610
1611
|
status: z.ZodOptional<z.ZodNativeEnum<{
|
|
1611
1612
|
readonly ACTIVE: "ACTIVE";
|
|
1612
1613
|
readonly INACTIVE: "INACTIVE";
|
|
@@ -2177,6 +2178,7 @@ declare const SubscriptionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2177
2178
|
split_rules?: string | null | undefined;
|
|
2178
2179
|
} | undefined;
|
|
2179
2180
|
nextCharge?: Timestamp | undefined;
|
|
2181
|
+
skipNextCharge?: boolean | undefined;
|
|
2180
2182
|
payedWith?: "PIX" | "CREDIT_CARD" | "STRIPE" | null | undefined;
|
|
2181
2183
|
planId?: string | null | undefined;
|
|
2182
2184
|
recurrencyPeriod?: number | null | undefined;
|
|
@@ -2674,6 +2676,7 @@ declare const SubscriptionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2674
2676
|
split_rules?: string | null | undefined;
|
|
2675
2677
|
}[] | undefined;
|
|
2676
2678
|
nextCharge?: Timestamp | undefined;
|
|
2679
|
+
skipNextCharge?: boolean | undefined;
|
|
2677
2680
|
payedWith?: "PIX" | "CREDIT_CARD" | "STRIPE" | null | undefined;
|
|
2678
2681
|
planId?: string | null | undefined;
|
|
2679
2682
|
recurrencyPeriod?: number | null | undefined;
|
|
@@ -336,6 +336,7 @@ var SubscriptionSchema = ModelSchema.extend({
|
|
|
336
336
|
invoices: IuguInvoiceSchema.array().default([]),
|
|
337
337
|
lastInvoice: IuguInvoiceSchema,
|
|
338
338
|
nextCharge: import_zod5.z.custom().optional(),
|
|
339
|
+
skipNextCharge: import_zod5.z.boolean().optional(),
|
|
339
340
|
status: SubscriptionStatusSchema.optional(),
|
|
340
341
|
user: UserSchema.partial(),
|
|
341
342
|
payedWith: import_zod5.z.enum([
|