@joeygrable94/utm-src-pub-validators 0.0.67 → 0.0.69
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 +4 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -6
- package/dist/index.d.ts +7 -6
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -174,6 +174,7 @@ declare const SDeleteGroupUserDocument: v.ObjectSchema<{
|
|
|
174
174
|
type SDeleteGroupUserDocument = v.InferOutput<typeof SDeleteGroupUserDocument>;
|
|
175
175
|
declare const SVerifyGroupUserDocument: v.ObjectSchema<{
|
|
176
176
|
readonly group: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
177
|
+
readonly user: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
177
178
|
}, undefined>;
|
|
178
179
|
type SVerifyGroupUserDocument = v.InferOutput<typeof SVerifyGroupUserDocument>;
|
|
179
180
|
declare const SGroupUserDocumentStatus: v.ObjectSchema<{
|
|
@@ -598,7 +599,7 @@ declare const SReadTrackingLinkDocumentByDocumentId: v.ObjectSchema<{
|
|
|
598
599
|
}, undefined>;
|
|
599
600
|
type SReadTrackingLinkDocumentByDocumentId = v.InferOutput<typeof SReadTrackingLinkDocumentByDocumentId>;
|
|
600
601
|
declare const SUpdateAsCreatorTrackingLinkDocument: v.ObjectSchema<{
|
|
601
|
-
readonly is_active: v.UndefinedableSchema<v.
|
|
602
|
+
readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
|
|
602
603
|
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>;
|
|
603
604
|
readonly protocol: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">]>, undefined>;
|
|
604
605
|
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>;
|
|
@@ -617,7 +618,7 @@ type SUpdateAsCreatorTrackingLinkDocument = v.InferOutput<typeof SUpdateAsCreato
|
|
|
617
618
|
declare const SUpdateAsCreatorTrackingLinkDocumentRequest: v.ObjectSchema<{
|
|
618
619
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
619
620
|
readonly data: v.ObjectSchema<{
|
|
620
|
-
readonly is_active: v.UndefinedableSchema<v.
|
|
621
|
+
readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
|
|
621
622
|
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>;
|
|
622
623
|
readonly protocol: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">]>, undefined>;
|
|
623
624
|
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>;
|
|
@@ -635,7 +636,7 @@ declare const SUpdateAsCreatorTrackingLinkDocumentRequest: v.ObjectSchema<{
|
|
|
635
636
|
}, undefined>;
|
|
636
637
|
type SUpdateAsCreatorTrackingLinkDocumentRequest = v.InferOutput<typeof SUpdateAsCreatorTrackingLinkDocumentRequest>;
|
|
637
638
|
declare const SUpdateAsInvitedTrackingLinkDocument: v.ObjectSchema<{
|
|
638
|
-
readonly is_active: v.UndefinedableSchema<v.
|
|
639
|
+
readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
|
|
639
640
|
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>;
|
|
640
641
|
readonly protocol: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">]>, undefined>;
|
|
641
642
|
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>;
|
|
@@ -654,7 +655,7 @@ type SUpdateAsInvitedTrackingLinkDocument = v.InferOutput<typeof SUpdateAsInvite
|
|
|
654
655
|
declare const SUpdateAsInvitedTrackingLinkDocumentRequest: v.ObjectSchema<{
|
|
655
656
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
656
657
|
readonly data: v.ObjectSchema<{
|
|
657
|
-
readonly is_active: v.UndefinedableSchema<v.
|
|
658
|
+
readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
|
|
658
659
|
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>;
|
|
659
660
|
readonly protocol: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">]>, undefined>;
|
|
660
661
|
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>;
|
|
@@ -672,7 +673,7 @@ declare const SUpdateAsInvitedTrackingLinkDocumentRequest: v.ObjectSchema<{
|
|
|
672
673
|
}, undefined>;
|
|
673
674
|
type SUpdateAsInvitedTrackingLinkDocumentRequest = v.InferOutput<typeof SUpdateAsInvitedTrackingLinkDocumentRequest>;
|
|
674
675
|
declare const SUpdateTrackingLinkDocumentRequest: v.UnionSchema<[v.ObjectSchema<{
|
|
675
|
-
readonly is_active: v.UndefinedableSchema<v.
|
|
676
|
+
readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
|
|
676
677
|
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>;
|
|
677
678
|
readonly protocol: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">]>, undefined>;
|
|
678
679
|
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>;
|
|
@@ -687,7 +688,7 @@ declare const SUpdateTrackingLinkDocumentRequest: v.UnionSchema<[v.ObjectSchema<
|
|
|
687
688
|
readonly utm_term: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_term is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2028, "the utm_term is too long, it must be 2028 characters or less">, v.RegexAction<string, "utm_term can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
|
|
688
689
|
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>;
|
|
689
690
|
}, undefined>, v.ObjectSchema<{
|
|
690
|
-
readonly is_active: v.UndefinedableSchema<v.
|
|
691
|
+
readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
|
|
691
692
|
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>;
|
|
692
693
|
readonly protocol: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">]>, undefined>;
|
|
693
694
|
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>;
|
package/dist/index.d.ts
CHANGED
|
@@ -174,6 +174,7 @@ declare const SDeleteGroupUserDocument: v.ObjectSchema<{
|
|
|
174
174
|
type SDeleteGroupUserDocument = v.InferOutput<typeof SDeleteGroupUserDocument>;
|
|
175
175
|
declare const SVerifyGroupUserDocument: v.ObjectSchema<{
|
|
176
176
|
readonly group: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
177
|
+
readonly user: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
177
178
|
}, undefined>;
|
|
178
179
|
type SVerifyGroupUserDocument = v.InferOutput<typeof SVerifyGroupUserDocument>;
|
|
179
180
|
declare const SGroupUserDocumentStatus: v.ObjectSchema<{
|
|
@@ -598,7 +599,7 @@ declare const SReadTrackingLinkDocumentByDocumentId: v.ObjectSchema<{
|
|
|
598
599
|
}, undefined>;
|
|
599
600
|
type SReadTrackingLinkDocumentByDocumentId = v.InferOutput<typeof SReadTrackingLinkDocumentByDocumentId>;
|
|
600
601
|
declare const SUpdateAsCreatorTrackingLinkDocument: v.ObjectSchema<{
|
|
601
|
-
readonly is_active: v.UndefinedableSchema<v.
|
|
602
|
+
readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
|
|
602
603
|
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>;
|
|
603
604
|
readonly protocol: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">]>, undefined>;
|
|
604
605
|
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>;
|
|
@@ -617,7 +618,7 @@ type SUpdateAsCreatorTrackingLinkDocument = v.InferOutput<typeof SUpdateAsCreato
|
|
|
617
618
|
declare const SUpdateAsCreatorTrackingLinkDocumentRequest: v.ObjectSchema<{
|
|
618
619
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
619
620
|
readonly data: v.ObjectSchema<{
|
|
620
|
-
readonly is_active: v.UndefinedableSchema<v.
|
|
621
|
+
readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
|
|
621
622
|
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>;
|
|
622
623
|
readonly protocol: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">]>, undefined>;
|
|
623
624
|
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>;
|
|
@@ -635,7 +636,7 @@ declare const SUpdateAsCreatorTrackingLinkDocumentRequest: v.ObjectSchema<{
|
|
|
635
636
|
}, undefined>;
|
|
636
637
|
type SUpdateAsCreatorTrackingLinkDocumentRequest = v.InferOutput<typeof SUpdateAsCreatorTrackingLinkDocumentRequest>;
|
|
637
638
|
declare const SUpdateAsInvitedTrackingLinkDocument: v.ObjectSchema<{
|
|
638
|
-
readonly is_active: v.UndefinedableSchema<v.
|
|
639
|
+
readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
|
|
639
640
|
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>;
|
|
640
641
|
readonly protocol: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">]>, undefined>;
|
|
641
642
|
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>;
|
|
@@ -654,7 +655,7 @@ type SUpdateAsInvitedTrackingLinkDocument = v.InferOutput<typeof SUpdateAsInvite
|
|
|
654
655
|
declare const SUpdateAsInvitedTrackingLinkDocumentRequest: v.ObjectSchema<{
|
|
655
656
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
656
657
|
readonly data: v.ObjectSchema<{
|
|
657
|
-
readonly is_active: v.UndefinedableSchema<v.
|
|
658
|
+
readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
|
|
658
659
|
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>;
|
|
659
660
|
readonly protocol: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">]>, undefined>;
|
|
660
661
|
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>;
|
|
@@ -672,7 +673,7 @@ declare const SUpdateAsInvitedTrackingLinkDocumentRequest: v.ObjectSchema<{
|
|
|
672
673
|
}, undefined>;
|
|
673
674
|
type SUpdateAsInvitedTrackingLinkDocumentRequest = v.InferOutput<typeof SUpdateAsInvitedTrackingLinkDocumentRequest>;
|
|
674
675
|
declare const SUpdateTrackingLinkDocumentRequest: v.UnionSchema<[v.ObjectSchema<{
|
|
675
|
-
readonly is_active: v.UndefinedableSchema<v.
|
|
676
|
+
readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
|
|
676
677
|
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>;
|
|
677
678
|
readonly protocol: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">]>, undefined>;
|
|
678
679
|
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>;
|
|
@@ -687,7 +688,7 @@ declare const SUpdateTrackingLinkDocumentRequest: v.UnionSchema<[v.ObjectSchema<
|
|
|
687
688
|
readonly utm_term: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_term is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2028, "the utm_term is too long, it must be 2028 characters or less">, v.RegexAction<string, "utm_term can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
|
|
688
689
|
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>;
|
|
689
690
|
}, undefined>, v.ObjectSchema<{
|
|
690
|
-
readonly is_active: v.UndefinedableSchema<v.
|
|
691
|
+
readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
|
|
691
692
|
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>;
|
|
692
693
|
readonly protocol: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">]>, undefined>;
|
|
693
694
|
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>;
|
package/dist/index.js
CHANGED
|
@@ -627,7 +627,8 @@ var SDeleteGroupUserDocument = v36.object({
|
|
|
627
627
|
documentId: IsValidReferenceDocumentId
|
|
628
628
|
});
|
|
629
629
|
var SVerifyGroupUserDocument = v36.object({
|
|
630
|
-
group: IsValidReferenceDocumentId
|
|
630
|
+
group: IsValidReferenceDocumentId,
|
|
631
|
+
user: IsValidReferenceDocumentId
|
|
631
632
|
});
|
|
632
633
|
var SGroupUserDocumentStatus = v36.object({
|
|
633
634
|
verified: v36.boolean(),
|
|
@@ -1322,7 +1323,7 @@ var SReadTrackingLinkDocumentByDocumentId = v36.object({
|
|
|
1322
1323
|
documentId: IsValidReferenceDocumentId
|
|
1323
1324
|
});
|
|
1324
1325
|
var SUpdateAsCreatorTrackingLinkDocument = v36.object({
|
|
1325
|
-
is_active:
|
|
1326
|
+
is_active: IsValidOrUndefinedIsActive,
|
|
1326
1327
|
destination: IsValidOrUndefinedUrlDestination,
|
|
1327
1328
|
protocol: IsValidOrUndefinedUrlProtocol,
|
|
1328
1329
|
domain: IsValidOrUndefinedUrlDomain,
|
|
@@ -1342,7 +1343,7 @@ var SUpdateAsCreatorTrackingLinkDocumentRequest = v36.object({
|
|
|
1342
1343
|
data: SUpdateAsCreatorTrackingLinkDocument
|
|
1343
1344
|
});
|
|
1344
1345
|
var SUpdateAsInvitedTrackingLinkDocument = v36.object({
|
|
1345
|
-
is_active:
|
|
1346
|
+
is_active: IsValidOrUndefinedIsActive,
|
|
1346
1347
|
destination: IsValidOrUndefinedUrlDestination,
|
|
1347
1348
|
protocol: IsValidOrUndefinedUrlProtocol,
|
|
1348
1349
|
domain: IsValidOrUndefinedUrlDomain,
|