@joeygrable94/utm-src-pub-validators 0.0.89 → 0.0.90
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/index.cjs +6 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +24 -2
- package/dist/index.d.ts +24 -2
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -531,7 +531,7 @@ declare const SStripeCheckoutCreateSession: v.ObjectSchema<{
|
|
|
531
531
|
type SStripeCheckoutCreateSession = v.InferOutput<typeof SStripeCheckoutCreateSession>;
|
|
532
532
|
|
|
533
533
|
declare const SQuerySortTrackingLinkDocuments: v.OptionalSchema<v.ObjectSchema<{
|
|
534
|
-
readonly key: v.SchemaWithFallback<v.PicklistSchema<["id", "destination", "is_active", "protocol", "domain", "path", "query", "fragment", "utm_source", "utm_medium", "utm_campaign", "utm_creative_format", "utm_content", "utm_term", "utm_id", "createdAt", "updatedAt"], undefined>, "createdAt">;
|
|
534
|
+
readonly key: v.SchemaWithFallback<v.PicklistSchema<["id", "url", "destination", "is_active", "protocol", "domain", "path", "query", "fragment", "utm_source", "utm_medium", "utm_campaign", "utm_creative_format", "utm_content", "utm_term", "utm_id", "createdAt", "updatedAt"], undefined>, "createdAt">;
|
|
535
535
|
readonly order: v.SchemaWithFallback<v.PicklistSchema<["ASC", "DESC"], undefined>, "DESC">;
|
|
536
536
|
}, undefined>, {
|
|
537
537
|
readonly key: "createdAt";
|
|
@@ -543,6 +543,7 @@ declare const SQueryListTrackingLinkDocuments: v.ObjectSchema<{
|
|
|
543
543
|
readonly page: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, 1>, 1>;
|
|
544
544
|
readonly size: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 10, undefined>, v.MaxValueAction<number, 10000, undefined>]>, 100>, 100>;
|
|
545
545
|
readonly is_active: v.SchemaWithFallback<v.OptionalSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>, true>;
|
|
546
|
+
readonly url: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>, undefined>;
|
|
546
547
|
readonly destination: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>, undefined>;
|
|
547
548
|
readonly protocol: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">]>, undefined>;
|
|
548
549
|
readonly domain: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a domain">, v.TrimAction, v.MinLengthAction<string, 10, "the domain is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 253, "the domain is too long, it must be 253 characters or less">, v.RegexAction<string, "please provide a valid domain name">]>, undefined>;
|
|
@@ -559,7 +560,7 @@ declare const SQueryListTrackingLinkDocuments: v.ObjectSchema<{
|
|
|
559
560
|
readonly group: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
560
561
|
readonly creator: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
561
562
|
readonly sort: v.OptionalSchema<v.ObjectSchema<{
|
|
562
|
-
readonly key: v.SchemaWithFallback<v.PicklistSchema<["id", "destination", "is_active", "protocol", "domain", "path", "query", "fragment", "utm_source", "utm_medium", "utm_campaign", "utm_creative_format", "utm_content", "utm_term", "utm_id", "createdAt", "updatedAt"], undefined>, "createdAt">;
|
|
563
|
+
readonly key: v.SchemaWithFallback<v.PicklistSchema<["id", "url", "destination", "is_active", "protocol", "domain", "path", "query", "fragment", "utm_source", "utm_medium", "utm_campaign", "utm_creative_format", "utm_content", "utm_term", "utm_id", "createdAt", "updatedAt"], undefined>, "createdAt">;
|
|
563
564
|
readonly order: v.SchemaWithFallback<v.PicklistSchema<["ASC", "DESC"], undefined>, "DESC">;
|
|
564
565
|
}, undefined>, {
|
|
565
566
|
readonly key: "createdAt";
|
|
@@ -570,6 +571,7 @@ type SQueryListTrackingLinkDocuments = v.InferOutput<typeof SQueryListTrackingLi
|
|
|
570
571
|
declare const SCreateTrackingLinkDocument: v.ObjectSchema<{
|
|
571
572
|
readonly group: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
572
573
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
574
|
+
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
573
575
|
readonly destination: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
574
576
|
readonly protocol: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">]>;
|
|
575
577
|
readonly domain: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a domain">, v.TrimAction, v.MinLengthAction<string, 10, "the domain is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 253, "the domain is too long, it must be 253 characters or less">, v.RegexAction<string, "please provide a valid domain name">]>;
|
|
@@ -589,6 +591,7 @@ declare const SCreateMultipleTrackingLinkDocuments: v.ObjectSchema<{
|
|
|
589
591
|
readonly tracking_links: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
590
592
|
readonly group: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
591
593
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
594
|
+
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
592
595
|
readonly destination: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
593
596
|
readonly protocol: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">]>;
|
|
594
597
|
readonly domain: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a domain">, v.TrimAction, v.MinLengthAction<string, 10, "the domain is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 253, "the domain is too long, it must be 253 characters or less">, v.RegexAction<string, "please provide a valid domain name">]>;
|
|
@@ -605,6 +608,7 @@ declare const SCreateMultipleTrackingLinkDocuments: v.ObjectSchema<{
|
|
|
605
608
|
}, undefined>, undefined>, v.MinLengthAction<{
|
|
606
609
|
group: string;
|
|
607
610
|
is_active: boolean;
|
|
611
|
+
url: string;
|
|
608
612
|
destination: string;
|
|
609
613
|
protocol: "http" | "https";
|
|
610
614
|
domain: string;
|
|
@@ -626,6 +630,7 @@ declare const SCreatePreviewTrackingLinkDocument: v.ObjectSchema<{
|
|
|
626
630
|
readonly is_saved: v.BooleanSchema<undefined>;
|
|
627
631
|
readonly group: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
628
632
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
633
|
+
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
629
634
|
readonly destination: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
630
635
|
readonly protocol: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">]>;
|
|
631
636
|
readonly domain: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a domain">, v.TrimAction, v.MinLengthAction<string, 10, "the domain is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 253, "the domain is too long, it must be 253 characters or less">, v.RegexAction<string, "please provide a valid domain name">]>;
|
|
@@ -647,6 +652,7 @@ declare const SCreatePreviewMultipleTrackingLinkDocuments: v.ObjectSchema<{
|
|
|
647
652
|
readonly is_saved: v.BooleanSchema<undefined>;
|
|
648
653
|
readonly group: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
649
654
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
655
|
+
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
650
656
|
readonly destination: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
651
657
|
readonly protocol: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">]>;
|
|
652
658
|
readonly domain: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a domain">, v.TrimAction, v.MinLengthAction<string, 10, "the domain is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 253, "the domain is too long, it must be 253 characters or less">, v.RegexAction<string, "please provide a valid domain name">]>;
|
|
@@ -665,6 +671,7 @@ declare const SCreatePreviewMultipleTrackingLinkDocuments: v.ObjectSchema<{
|
|
|
665
671
|
is_saved: boolean;
|
|
666
672
|
group: string;
|
|
667
673
|
is_active: boolean;
|
|
674
|
+
url: string;
|
|
668
675
|
destination: string;
|
|
669
676
|
protocol: "http" | "https";
|
|
670
677
|
domain: string;
|
|
@@ -691,6 +698,7 @@ declare const SReadTrackingLinkDocumentByDocumentId: v.ObjectSchema<{
|
|
|
691
698
|
type SReadTrackingLinkDocumentByDocumentId = v.InferOutput<typeof SReadTrackingLinkDocumentByDocumentId>;
|
|
692
699
|
declare const SUpdateAsCreatorTrackingLinkDocument: v.ObjectSchema<{
|
|
693
700
|
readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
|
|
701
|
+
readonly url: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>, undefined>;
|
|
694
702
|
readonly destination: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>, undefined>;
|
|
695
703
|
readonly protocol: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">]>, undefined>;
|
|
696
704
|
readonly domain: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a domain">, v.TrimAction, v.MinLengthAction<string, 10, "the domain is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 253, "the domain is too long, it must be 253 characters or less">, v.RegexAction<string, "please provide a valid domain name">]>, undefined>;
|
|
@@ -710,6 +718,7 @@ declare const SUpdateAsCreatorTrackingLinkDocumentRequest: v.ObjectSchema<{
|
|
|
710
718
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
711
719
|
readonly data: v.ObjectSchema<{
|
|
712
720
|
readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
|
|
721
|
+
readonly url: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>, undefined>;
|
|
713
722
|
readonly destination: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>, undefined>;
|
|
714
723
|
readonly protocol: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">]>, undefined>;
|
|
715
724
|
readonly domain: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a domain">, v.TrimAction, v.MinLengthAction<string, 10, "the domain is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 253, "the domain is too long, it must be 253 characters or less">, v.RegexAction<string, "please provide a valid domain name">]>, undefined>;
|
|
@@ -728,6 +737,7 @@ declare const SUpdateAsCreatorTrackingLinkDocumentRequest: v.ObjectSchema<{
|
|
|
728
737
|
type SUpdateAsCreatorTrackingLinkDocumentRequest = v.InferOutput<typeof SUpdateAsCreatorTrackingLinkDocumentRequest>;
|
|
729
738
|
declare const SUpdateAsInvitedTrackingLinkDocument: v.ObjectSchema<{
|
|
730
739
|
readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
|
|
740
|
+
readonly url: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>, undefined>;
|
|
731
741
|
readonly destination: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>, undefined>;
|
|
732
742
|
readonly protocol: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">]>, undefined>;
|
|
733
743
|
readonly domain: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a domain">, v.TrimAction, v.MinLengthAction<string, 10, "the domain is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 253, "the domain is too long, it must be 253 characters or less">, v.RegexAction<string, "please provide a valid domain name">]>, undefined>;
|
|
@@ -747,6 +757,7 @@ declare const SUpdateAsInvitedTrackingLinkDocumentRequest: v.ObjectSchema<{
|
|
|
747
757
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
748
758
|
readonly data: v.ObjectSchema<{
|
|
749
759
|
readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
|
|
760
|
+
readonly url: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>, undefined>;
|
|
750
761
|
readonly destination: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>, undefined>;
|
|
751
762
|
readonly protocol: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">]>, undefined>;
|
|
752
763
|
readonly domain: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a domain">, v.TrimAction, v.MinLengthAction<string, 10, "the domain is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 253, "the domain is too long, it must be 253 characters or less">, v.RegexAction<string, "please provide a valid domain name">]>, undefined>;
|
|
@@ -765,6 +776,7 @@ declare const SUpdateAsInvitedTrackingLinkDocumentRequest: v.ObjectSchema<{
|
|
|
765
776
|
type SUpdateAsInvitedTrackingLinkDocumentRequest = v.InferOutput<typeof SUpdateAsInvitedTrackingLinkDocumentRequest>;
|
|
766
777
|
declare const SUpdateTrackingLinkDocumentRequest: v.UnionSchema<[v.ObjectSchema<{
|
|
767
778
|
readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
|
|
779
|
+
readonly url: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>, undefined>;
|
|
768
780
|
readonly destination: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>, undefined>;
|
|
769
781
|
readonly protocol: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">]>, undefined>;
|
|
770
782
|
readonly domain: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a domain">, v.TrimAction, v.MinLengthAction<string, 10, "the domain is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 253, "the domain is too long, it must be 253 characters or less">, v.RegexAction<string, "please provide a valid domain name">]>, undefined>;
|
|
@@ -780,6 +792,7 @@ declare const SUpdateTrackingLinkDocumentRequest: v.UnionSchema<[v.ObjectSchema<
|
|
|
780
792
|
readonly utm_id: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_id is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2030, "the utm_id is too long, it must be 2030 characters or less">, v.RegexAction<string, "utm_id can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
|
|
781
793
|
}, undefined>, v.ObjectSchema<{
|
|
782
794
|
readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
|
|
795
|
+
readonly url: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>, undefined>;
|
|
783
796
|
readonly destination: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>, undefined>;
|
|
784
797
|
readonly protocol: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">]>, undefined>;
|
|
785
798
|
readonly domain: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a domain">, v.TrimAction, v.MinLengthAction<string, 10, "the domain is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 253, "the domain is too long, it must be 253 characters or less">, v.RegexAction<string, "please provide a valid domain name">]>, undefined>;
|
|
@@ -2306,6 +2319,7 @@ declare const SGroupRelationWebsites: v.ObjectSchema<{
|
|
|
2306
2319
|
}, undefined>;
|
|
2307
2320
|
declare const SGroupRelationTrackingLinks: v.ObjectSchema<{
|
|
2308
2321
|
readonly tracking_links: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
2322
|
+
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
2309
2323
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
2310
2324
|
readonly destination: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
2311
2325
|
readonly protocol: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">]>;
|
|
@@ -2572,6 +2586,7 @@ declare const SGroupRelationsDocument: v.ObjectSchema<{
|
|
|
2572
2586
|
readonly updatedAt: v.StringSchema<undefined>;
|
|
2573
2587
|
}, undefined>, undefined>;
|
|
2574
2588
|
readonly tracking_links: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
2589
|
+
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
2575
2590
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
2576
2591
|
readonly destination: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
2577
2592
|
readonly protocol: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">]>;
|
|
@@ -2937,6 +2952,7 @@ type StripeProductPricesResponse = {
|
|
|
2937
2952
|
};
|
|
2938
2953
|
|
|
2939
2954
|
declare const STrackingLinkDocument: v.ObjectSchema<{
|
|
2955
|
+
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
2940
2956
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
2941
2957
|
readonly destination: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
2942
2958
|
readonly protocol: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">]>;
|
|
@@ -2987,6 +3003,7 @@ declare const STrackingLinkRelationsDocument: v.ObjectSchema<{
|
|
|
2987
3003
|
}, undefined>;
|
|
2988
3004
|
|
|
2989
3005
|
declare const SBaseTrackingLinkDocument: v.ObjectSchema<{
|
|
3006
|
+
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
2990
3007
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
2991
3008
|
readonly destination: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
2992
3009
|
readonly protocol: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">]>;
|
|
@@ -3183,6 +3200,7 @@ declare const SUserRelationCreatedWebsites: v.ObjectSchema<{
|
|
|
3183
3200
|
}, undefined>;
|
|
3184
3201
|
declare const SUserRelationTrackingLinks: v.ObjectSchema<{
|
|
3185
3202
|
readonly tracking_links: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
3203
|
+
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
3186
3204
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
3187
3205
|
readonly destination: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
3188
3206
|
readonly protocol: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">]>;
|
|
@@ -3448,6 +3466,7 @@ declare const SUserRelationsDocument: v.ObjectSchema<{
|
|
|
3448
3466
|
readonly updatedAt: v.StringSchema<undefined>;
|
|
3449
3467
|
}, undefined>, undefined>, undefined>;
|
|
3450
3468
|
readonly tracking_links: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
3469
|
+
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
3451
3470
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
3452
3471
|
readonly destination: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
3453
3472
|
readonly protocol: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">]>;
|
|
@@ -4423,6 +4442,7 @@ declare const SGroupDocumentWithRelations: v.ObjectSchema<{
|
|
|
4423
4442
|
readonly updatedAt: v.StringSchema<undefined>;
|
|
4424
4443
|
}, undefined>, undefined>;
|
|
4425
4444
|
readonly tracking_links: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
4445
|
+
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
4426
4446
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
4427
4447
|
readonly destination: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
4428
4448
|
readonly protocol: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">]>;
|
|
@@ -4532,6 +4552,7 @@ declare const STrackingLinkDocumentWithRelations: v.ObjectSchema<{
|
|
|
4532
4552
|
readonly createdAt: v.StringSchema<undefined>;
|
|
4533
4553
|
readonly updatedAt: v.StringSchema<undefined>;
|
|
4534
4554
|
}, undefined>, undefined>;
|
|
4555
|
+
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
4535
4556
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
4536
4557
|
readonly destination: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
4537
4558
|
readonly protocol: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">]>;
|
|
@@ -4756,6 +4777,7 @@ declare const SUserDocumentWithRelations: v.ObjectSchema<{
|
|
|
4756
4777
|
readonly updatedAt: v.StringSchema<undefined>;
|
|
4757
4778
|
}, undefined>, undefined>, undefined>;
|
|
4758
4779
|
readonly tracking_links: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
4780
|
+
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
4759
4781
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
4760
4782
|
readonly destination: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
4761
4783
|
readonly protocol: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">]>;
|
package/dist/index.d.ts
CHANGED
|
@@ -531,7 +531,7 @@ declare const SStripeCheckoutCreateSession: v.ObjectSchema<{
|
|
|
531
531
|
type SStripeCheckoutCreateSession = v.InferOutput<typeof SStripeCheckoutCreateSession>;
|
|
532
532
|
|
|
533
533
|
declare const SQuerySortTrackingLinkDocuments: v.OptionalSchema<v.ObjectSchema<{
|
|
534
|
-
readonly key: v.SchemaWithFallback<v.PicklistSchema<["id", "destination", "is_active", "protocol", "domain", "path", "query", "fragment", "utm_source", "utm_medium", "utm_campaign", "utm_creative_format", "utm_content", "utm_term", "utm_id", "createdAt", "updatedAt"], undefined>, "createdAt">;
|
|
534
|
+
readonly key: v.SchemaWithFallback<v.PicklistSchema<["id", "url", "destination", "is_active", "protocol", "domain", "path", "query", "fragment", "utm_source", "utm_medium", "utm_campaign", "utm_creative_format", "utm_content", "utm_term", "utm_id", "createdAt", "updatedAt"], undefined>, "createdAt">;
|
|
535
535
|
readonly order: v.SchemaWithFallback<v.PicklistSchema<["ASC", "DESC"], undefined>, "DESC">;
|
|
536
536
|
}, undefined>, {
|
|
537
537
|
readonly key: "createdAt";
|
|
@@ -543,6 +543,7 @@ declare const SQueryListTrackingLinkDocuments: v.ObjectSchema<{
|
|
|
543
543
|
readonly page: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, 1>, 1>;
|
|
544
544
|
readonly size: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 10, undefined>, v.MaxValueAction<number, 10000, undefined>]>, 100>, 100>;
|
|
545
545
|
readonly is_active: v.SchemaWithFallback<v.OptionalSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>, true>;
|
|
546
|
+
readonly url: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>, undefined>;
|
|
546
547
|
readonly destination: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>, undefined>;
|
|
547
548
|
readonly protocol: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">]>, undefined>;
|
|
548
549
|
readonly domain: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a domain">, v.TrimAction, v.MinLengthAction<string, 10, "the domain is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 253, "the domain is too long, it must be 253 characters or less">, v.RegexAction<string, "please provide a valid domain name">]>, undefined>;
|
|
@@ -559,7 +560,7 @@ declare const SQueryListTrackingLinkDocuments: v.ObjectSchema<{
|
|
|
559
560
|
readonly group: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
560
561
|
readonly creator: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
561
562
|
readonly sort: v.OptionalSchema<v.ObjectSchema<{
|
|
562
|
-
readonly key: v.SchemaWithFallback<v.PicklistSchema<["id", "destination", "is_active", "protocol", "domain", "path", "query", "fragment", "utm_source", "utm_medium", "utm_campaign", "utm_creative_format", "utm_content", "utm_term", "utm_id", "createdAt", "updatedAt"], undefined>, "createdAt">;
|
|
563
|
+
readonly key: v.SchemaWithFallback<v.PicklistSchema<["id", "url", "destination", "is_active", "protocol", "domain", "path", "query", "fragment", "utm_source", "utm_medium", "utm_campaign", "utm_creative_format", "utm_content", "utm_term", "utm_id", "createdAt", "updatedAt"], undefined>, "createdAt">;
|
|
563
564
|
readonly order: v.SchemaWithFallback<v.PicklistSchema<["ASC", "DESC"], undefined>, "DESC">;
|
|
564
565
|
}, undefined>, {
|
|
565
566
|
readonly key: "createdAt";
|
|
@@ -570,6 +571,7 @@ type SQueryListTrackingLinkDocuments = v.InferOutput<typeof SQueryListTrackingLi
|
|
|
570
571
|
declare const SCreateTrackingLinkDocument: v.ObjectSchema<{
|
|
571
572
|
readonly group: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
572
573
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
574
|
+
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
573
575
|
readonly destination: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
574
576
|
readonly protocol: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">]>;
|
|
575
577
|
readonly domain: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a domain">, v.TrimAction, v.MinLengthAction<string, 10, "the domain is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 253, "the domain is too long, it must be 253 characters or less">, v.RegexAction<string, "please provide a valid domain name">]>;
|
|
@@ -589,6 +591,7 @@ declare const SCreateMultipleTrackingLinkDocuments: v.ObjectSchema<{
|
|
|
589
591
|
readonly tracking_links: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
590
592
|
readonly group: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
591
593
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
594
|
+
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
592
595
|
readonly destination: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
593
596
|
readonly protocol: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">]>;
|
|
594
597
|
readonly domain: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a domain">, v.TrimAction, v.MinLengthAction<string, 10, "the domain is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 253, "the domain is too long, it must be 253 characters or less">, v.RegexAction<string, "please provide a valid domain name">]>;
|
|
@@ -605,6 +608,7 @@ declare const SCreateMultipleTrackingLinkDocuments: v.ObjectSchema<{
|
|
|
605
608
|
}, undefined>, undefined>, v.MinLengthAction<{
|
|
606
609
|
group: string;
|
|
607
610
|
is_active: boolean;
|
|
611
|
+
url: string;
|
|
608
612
|
destination: string;
|
|
609
613
|
protocol: "http" | "https";
|
|
610
614
|
domain: string;
|
|
@@ -626,6 +630,7 @@ declare const SCreatePreviewTrackingLinkDocument: v.ObjectSchema<{
|
|
|
626
630
|
readonly is_saved: v.BooleanSchema<undefined>;
|
|
627
631
|
readonly group: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
628
632
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
633
|
+
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
629
634
|
readonly destination: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
630
635
|
readonly protocol: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">]>;
|
|
631
636
|
readonly domain: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a domain">, v.TrimAction, v.MinLengthAction<string, 10, "the domain is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 253, "the domain is too long, it must be 253 characters or less">, v.RegexAction<string, "please provide a valid domain name">]>;
|
|
@@ -647,6 +652,7 @@ declare const SCreatePreviewMultipleTrackingLinkDocuments: v.ObjectSchema<{
|
|
|
647
652
|
readonly is_saved: v.BooleanSchema<undefined>;
|
|
648
653
|
readonly group: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
649
654
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
655
|
+
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
650
656
|
readonly destination: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
651
657
|
readonly protocol: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">]>;
|
|
652
658
|
readonly domain: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a domain">, v.TrimAction, v.MinLengthAction<string, 10, "the domain is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 253, "the domain is too long, it must be 253 characters or less">, v.RegexAction<string, "please provide a valid domain name">]>;
|
|
@@ -665,6 +671,7 @@ declare const SCreatePreviewMultipleTrackingLinkDocuments: v.ObjectSchema<{
|
|
|
665
671
|
is_saved: boolean;
|
|
666
672
|
group: string;
|
|
667
673
|
is_active: boolean;
|
|
674
|
+
url: string;
|
|
668
675
|
destination: string;
|
|
669
676
|
protocol: "http" | "https";
|
|
670
677
|
domain: string;
|
|
@@ -691,6 +698,7 @@ declare const SReadTrackingLinkDocumentByDocumentId: v.ObjectSchema<{
|
|
|
691
698
|
type SReadTrackingLinkDocumentByDocumentId = v.InferOutput<typeof SReadTrackingLinkDocumentByDocumentId>;
|
|
692
699
|
declare const SUpdateAsCreatorTrackingLinkDocument: v.ObjectSchema<{
|
|
693
700
|
readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
|
|
701
|
+
readonly url: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>, undefined>;
|
|
694
702
|
readonly destination: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>, undefined>;
|
|
695
703
|
readonly protocol: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">]>, undefined>;
|
|
696
704
|
readonly domain: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a domain">, v.TrimAction, v.MinLengthAction<string, 10, "the domain is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 253, "the domain is too long, it must be 253 characters or less">, v.RegexAction<string, "please provide a valid domain name">]>, undefined>;
|
|
@@ -710,6 +718,7 @@ declare const SUpdateAsCreatorTrackingLinkDocumentRequest: v.ObjectSchema<{
|
|
|
710
718
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
711
719
|
readonly data: v.ObjectSchema<{
|
|
712
720
|
readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
|
|
721
|
+
readonly url: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>, undefined>;
|
|
713
722
|
readonly destination: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>, undefined>;
|
|
714
723
|
readonly protocol: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">]>, undefined>;
|
|
715
724
|
readonly domain: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a domain">, v.TrimAction, v.MinLengthAction<string, 10, "the domain is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 253, "the domain is too long, it must be 253 characters or less">, v.RegexAction<string, "please provide a valid domain name">]>, undefined>;
|
|
@@ -728,6 +737,7 @@ declare const SUpdateAsCreatorTrackingLinkDocumentRequest: v.ObjectSchema<{
|
|
|
728
737
|
type SUpdateAsCreatorTrackingLinkDocumentRequest = v.InferOutput<typeof SUpdateAsCreatorTrackingLinkDocumentRequest>;
|
|
729
738
|
declare const SUpdateAsInvitedTrackingLinkDocument: v.ObjectSchema<{
|
|
730
739
|
readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
|
|
740
|
+
readonly url: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>, undefined>;
|
|
731
741
|
readonly destination: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>, undefined>;
|
|
732
742
|
readonly protocol: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">]>, undefined>;
|
|
733
743
|
readonly domain: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a domain">, v.TrimAction, v.MinLengthAction<string, 10, "the domain is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 253, "the domain is too long, it must be 253 characters or less">, v.RegexAction<string, "please provide a valid domain name">]>, undefined>;
|
|
@@ -747,6 +757,7 @@ declare const SUpdateAsInvitedTrackingLinkDocumentRequest: v.ObjectSchema<{
|
|
|
747
757
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
748
758
|
readonly data: v.ObjectSchema<{
|
|
749
759
|
readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
|
|
760
|
+
readonly url: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>, undefined>;
|
|
750
761
|
readonly destination: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>, undefined>;
|
|
751
762
|
readonly protocol: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">]>, undefined>;
|
|
752
763
|
readonly domain: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a domain">, v.TrimAction, v.MinLengthAction<string, 10, "the domain is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 253, "the domain is too long, it must be 253 characters or less">, v.RegexAction<string, "please provide a valid domain name">]>, undefined>;
|
|
@@ -765,6 +776,7 @@ declare const SUpdateAsInvitedTrackingLinkDocumentRequest: v.ObjectSchema<{
|
|
|
765
776
|
type SUpdateAsInvitedTrackingLinkDocumentRequest = v.InferOutput<typeof SUpdateAsInvitedTrackingLinkDocumentRequest>;
|
|
766
777
|
declare const SUpdateTrackingLinkDocumentRequest: v.UnionSchema<[v.ObjectSchema<{
|
|
767
778
|
readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
|
|
779
|
+
readonly url: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>, undefined>;
|
|
768
780
|
readonly destination: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>, undefined>;
|
|
769
781
|
readonly protocol: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">]>, undefined>;
|
|
770
782
|
readonly domain: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a domain">, v.TrimAction, v.MinLengthAction<string, 10, "the domain is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 253, "the domain is too long, it must be 253 characters or less">, v.RegexAction<string, "please provide a valid domain name">]>, undefined>;
|
|
@@ -780,6 +792,7 @@ declare const SUpdateTrackingLinkDocumentRequest: v.UnionSchema<[v.ObjectSchema<
|
|
|
780
792
|
readonly utm_id: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_id is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2030, "the utm_id is too long, it must be 2030 characters or less">, v.RegexAction<string, "utm_id can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
|
|
781
793
|
}, undefined>, v.ObjectSchema<{
|
|
782
794
|
readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
|
|
795
|
+
readonly url: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>, undefined>;
|
|
783
796
|
readonly destination: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>, undefined>;
|
|
784
797
|
readonly protocol: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">]>, undefined>;
|
|
785
798
|
readonly domain: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a domain">, v.TrimAction, v.MinLengthAction<string, 10, "the domain is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 253, "the domain is too long, it must be 253 characters or less">, v.RegexAction<string, "please provide a valid domain name">]>, undefined>;
|
|
@@ -2306,6 +2319,7 @@ declare const SGroupRelationWebsites: v.ObjectSchema<{
|
|
|
2306
2319
|
}, undefined>;
|
|
2307
2320
|
declare const SGroupRelationTrackingLinks: v.ObjectSchema<{
|
|
2308
2321
|
readonly tracking_links: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
2322
|
+
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
2309
2323
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
2310
2324
|
readonly destination: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
2311
2325
|
readonly protocol: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">]>;
|
|
@@ -2572,6 +2586,7 @@ declare const SGroupRelationsDocument: v.ObjectSchema<{
|
|
|
2572
2586
|
readonly updatedAt: v.StringSchema<undefined>;
|
|
2573
2587
|
}, undefined>, undefined>;
|
|
2574
2588
|
readonly tracking_links: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
2589
|
+
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
2575
2590
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
2576
2591
|
readonly destination: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
2577
2592
|
readonly protocol: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">]>;
|
|
@@ -2937,6 +2952,7 @@ type StripeProductPricesResponse = {
|
|
|
2937
2952
|
};
|
|
2938
2953
|
|
|
2939
2954
|
declare const STrackingLinkDocument: v.ObjectSchema<{
|
|
2955
|
+
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
2940
2956
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
2941
2957
|
readonly destination: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
2942
2958
|
readonly protocol: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">]>;
|
|
@@ -2987,6 +3003,7 @@ declare const STrackingLinkRelationsDocument: v.ObjectSchema<{
|
|
|
2987
3003
|
}, undefined>;
|
|
2988
3004
|
|
|
2989
3005
|
declare const SBaseTrackingLinkDocument: v.ObjectSchema<{
|
|
3006
|
+
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
2990
3007
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
2991
3008
|
readonly destination: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
2992
3009
|
readonly protocol: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">]>;
|
|
@@ -3183,6 +3200,7 @@ declare const SUserRelationCreatedWebsites: v.ObjectSchema<{
|
|
|
3183
3200
|
}, undefined>;
|
|
3184
3201
|
declare const SUserRelationTrackingLinks: v.ObjectSchema<{
|
|
3185
3202
|
readonly tracking_links: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
3203
|
+
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
3186
3204
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
3187
3205
|
readonly destination: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
3188
3206
|
readonly protocol: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">]>;
|
|
@@ -3448,6 +3466,7 @@ declare const SUserRelationsDocument: v.ObjectSchema<{
|
|
|
3448
3466
|
readonly updatedAt: v.StringSchema<undefined>;
|
|
3449
3467
|
}, undefined>, undefined>, undefined>;
|
|
3450
3468
|
readonly tracking_links: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
3469
|
+
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
3451
3470
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
3452
3471
|
readonly destination: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
3453
3472
|
readonly protocol: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">]>;
|
|
@@ -4423,6 +4442,7 @@ declare const SGroupDocumentWithRelations: v.ObjectSchema<{
|
|
|
4423
4442
|
readonly updatedAt: v.StringSchema<undefined>;
|
|
4424
4443
|
}, undefined>, undefined>;
|
|
4425
4444
|
readonly tracking_links: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
4445
|
+
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
4426
4446
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
4427
4447
|
readonly destination: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
4428
4448
|
readonly protocol: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">]>;
|
|
@@ -4532,6 +4552,7 @@ declare const STrackingLinkDocumentWithRelations: v.ObjectSchema<{
|
|
|
4532
4552
|
readonly createdAt: v.StringSchema<undefined>;
|
|
4533
4553
|
readonly updatedAt: v.StringSchema<undefined>;
|
|
4534
4554
|
}, undefined>, undefined>;
|
|
4555
|
+
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
4535
4556
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
4536
4557
|
readonly destination: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
4537
4558
|
readonly protocol: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">]>;
|
|
@@ -4756,6 +4777,7 @@ declare const SUserDocumentWithRelations: v.ObjectSchema<{
|
|
|
4756
4777
|
readonly updatedAt: v.StringSchema<undefined>;
|
|
4757
4778
|
}, undefined>, undefined>, undefined>;
|
|
4758
4779
|
readonly tracking_links: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
4780
|
+
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
4759
4781
|
readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
|
|
4760
4782
|
readonly destination: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
4761
4783
|
readonly protocol: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">]>;
|
package/dist/index.js
CHANGED
|
@@ -857,6 +857,7 @@ var SQuerySortTrackingLinkDocuments = v9.optional(
|
|
|
857
857
|
key: v9.fallback(
|
|
858
858
|
v9.picklist([
|
|
859
859
|
"id",
|
|
860
|
+
"url",
|
|
860
861
|
"destination",
|
|
861
862
|
"is_active",
|
|
862
863
|
"protocol",
|
|
@@ -898,6 +899,7 @@ var SQueryListTrackingLinkDocuments = v9.object({
|
|
|
898
899
|
TRACKING_LINK_PAGINATION_DEFAULT_SIZE_LIMIT
|
|
899
900
|
),
|
|
900
901
|
is_active: v9.fallback(v9.optional(IsValidIsActive), true),
|
|
902
|
+
url: v9.optional(IsValidUrlDestination),
|
|
901
903
|
destination: v9.optional(IsValidUrlDestination),
|
|
902
904
|
protocol: v9.optional(IsValidUrlProtocol),
|
|
903
905
|
domain: v9.optional(IsValidUrlDomain),
|
|
@@ -918,6 +920,7 @@ var SQueryListTrackingLinkDocuments = v9.object({
|
|
|
918
920
|
var SCreateTrackingLinkDocument = v9.object({
|
|
919
921
|
group: IsValidReferenceDocumentId,
|
|
920
922
|
is_active: IsValidIsActive,
|
|
923
|
+
url: IsValidUrlDestination,
|
|
921
924
|
destination: IsValidUrlDestination,
|
|
922
925
|
protocol: IsValidUrlProtocol,
|
|
923
926
|
domain: IsValidUrlDomain,
|
|
@@ -957,6 +960,7 @@ var SReadTrackingLinkDocumentByDocumentId = v9.object({
|
|
|
957
960
|
});
|
|
958
961
|
var SUpdateAsCreatorTrackingLinkDocument = v9.object({
|
|
959
962
|
is_active: IsValidOrUndefinedIsActive,
|
|
963
|
+
url: IsValidOrUndefinedUrlDestination,
|
|
960
964
|
destination: IsValidOrUndefinedUrlDestination,
|
|
961
965
|
protocol: IsValidOrUndefinedUrlProtocol,
|
|
962
966
|
domain: IsValidOrUndefinedUrlDomain,
|
|
@@ -977,6 +981,7 @@ var SUpdateAsCreatorTrackingLinkDocumentRequest = v9.object({
|
|
|
977
981
|
});
|
|
978
982
|
var SUpdateAsInvitedTrackingLinkDocument = v9.object({
|
|
979
983
|
is_active: IsValidOrUndefinedIsActive,
|
|
984
|
+
url: IsValidOrUndefinedUrlDestination,
|
|
980
985
|
destination: IsValidOrUndefinedUrlDestination,
|
|
981
986
|
protocol: IsValidOrUndefinedUrlProtocol,
|
|
982
987
|
domain: IsValidOrUndefinedUrlDomain,
|
|
@@ -2183,6 +2188,7 @@ var SGroupDocument = v9.object({
|
|
|
2183
2188
|
...SBaseGroupDocument.entries
|
|
2184
2189
|
});
|
|
2185
2190
|
var SBaseTrackingLinkDocument = v9.object({
|
|
2191
|
+
url: IsValidUrlDestination,
|
|
2186
2192
|
is_active: IsValidIsActive,
|
|
2187
2193
|
destination: IsValidUrlDestination,
|
|
2188
2194
|
protocol: IsValidUrlProtocol,
|