@joeygrable94/utm-src-pub-validators 0.0.103 → 0.0.104
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 +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -911,7 +911,7 @@ declare const SUpdateAsCreatorCampaignIdDocument: v.ObjectSchema<{
|
|
|
911
911
|
readonly cost: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<"please enter a cost value">, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000000, "your campaign cost exceeds our $1 million dollar limit, please contact us for enterprise solutions">]>, undefined>;
|
|
912
912
|
readonly label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 2, "the label is too short, it must be at least 2 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>, undefined>;
|
|
913
913
|
readonly value: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a value">, v.TrimAction, v.MinLengthAction<string, 2, "the value is too short, it must be at least 2 characters">, v.MaxLengthAction<string, 64, "the value is too long, it must be 64 characters or less">, v.RegexAction<string, "the value can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
|
|
914
|
-
readonly description: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"the description must be a string">, v.TrimAction, v.MaxLengthAction<string, 1024, "the description is too long, it must be 1024 characters or less">]>, undefined>;
|
|
914
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"the description must be a string">, v.TrimAction, v.MaxLengthAction<string, 1024, "the description is too long, it must be 1024 characters or less">]>, undefined>, undefined>;
|
|
915
915
|
readonly is_active: v.OptionalSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
|
|
916
916
|
}, undefined>;
|
|
917
917
|
type SUpdateAsCreatorCampaignIdDocument = v.InferOutput<typeof SUpdateAsCreatorCampaignIdDocument>;
|
|
@@ -921,14 +921,14 @@ declare const SUpdateAsCreatorCampaignIdDocumentRequest: v.ObjectSchema<{
|
|
|
921
921
|
readonly cost: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<"please enter a cost value">, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000000, "your campaign cost exceeds our $1 million dollar limit, please contact us for enterprise solutions">]>, undefined>;
|
|
922
922
|
readonly label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 2, "the label is too short, it must be at least 2 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>, undefined>;
|
|
923
923
|
readonly value: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a value">, v.TrimAction, v.MinLengthAction<string, 2, "the value is too short, it must be at least 2 characters">, v.MaxLengthAction<string, 64, "the value is too long, it must be 64 characters or less">, v.RegexAction<string, "the value can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
|
|
924
|
-
readonly description: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"the description must be a string">, v.TrimAction, v.MaxLengthAction<string, 1024, "the description is too long, it must be 1024 characters or less">]>, undefined>;
|
|
924
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"the description must be a string">, v.TrimAction, v.MaxLengthAction<string, 1024, "the description is too long, it must be 1024 characters or less">]>, undefined>, undefined>;
|
|
925
925
|
readonly is_active: v.OptionalSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
|
|
926
926
|
}, undefined>;
|
|
927
927
|
}, undefined>;
|
|
928
928
|
type SUpdateAsCreatorCampaignIdDocumentRequest = v.InferOutput<typeof SUpdateAsCreatorCampaignIdDocumentRequest>;
|
|
929
929
|
declare const SUpdateAsInvitedCampaignIdDocument: v.ObjectSchema<{
|
|
930
930
|
readonly label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 2, "the label is too short, it must be at least 2 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>, undefined>;
|
|
931
|
-
readonly description: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"the description must be a string">, v.TrimAction, v.MaxLengthAction<string, 1024, "the description is too long, it must be 1024 characters or less">]>, undefined>;
|
|
931
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"the description must be a string">, v.TrimAction, v.MaxLengthAction<string, 1024, "the description is too long, it must be 1024 characters or less">]>, undefined>, undefined>;
|
|
932
932
|
readonly is_active: v.OptionalSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
|
|
933
933
|
}, undefined>;
|
|
934
934
|
type SUpdateAsInvitedCampaignIdDocument = v.InferOutput<typeof SUpdateAsInvitedCampaignIdDocument>;
|
|
@@ -936,7 +936,7 @@ declare const SUpdateAsInvitedCampaignIdDocumentRequest: v.ObjectSchema<{
|
|
|
936
936
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
937
937
|
readonly data: v.ObjectSchema<{
|
|
938
938
|
readonly label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 2, "the label is too short, it must be at least 2 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>, undefined>;
|
|
939
|
-
readonly description: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"the description must be a string">, v.TrimAction, v.MaxLengthAction<string, 1024, "the description is too long, it must be 1024 characters or less">]>, undefined>;
|
|
939
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"the description must be a string">, v.TrimAction, v.MaxLengthAction<string, 1024, "the description is too long, it must be 1024 characters or less">]>, undefined>, undefined>;
|
|
940
940
|
readonly is_active: v.OptionalSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
|
|
941
941
|
}, undefined>;
|
|
942
942
|
}, undefined>;
|
|
@@ -945,11 +945,11 @@ declare const SUpdateCampaignIdDocumentRequest: v.UnionSchema<[v.ObjectSchema<{
|
|
|
945
945
|
readonly cost: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<"please enter a cost value">, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000000, "your campaign cost exceeds our $1 million dollar limit, please contact us for enterprise solutions">]>, undefined>;
|
|
946
946
|
readonly label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 2, "the label is too short, it must be at least 2 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>, undefined>;
|
|
947
947
|
readonly value: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a value">, v.TrimAction, v.MinLengthAction<string, 2, "the value is too short, it must be at least 2 characters">, v.MaxLengthAction<string, 64, "the value is too long, it must be 64 characters or less">, v.RegexAction<string, "the value can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
|
|
948
|
-
readonly description: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"the description must be a string">, v.TrimAction, v.MaxLengthAction<string, 1024, "the description is too long, it must be 1024 characters or less">]>, undefined>;
|
|
948
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"the description must be a string">, v.TrimAction, v.MaxLengthAction<string, 1024, "the description is too long, it must be 1024 characters or less">]>, undefined>, undefined>;
|
|
949
949
|
readonly is_active: v.OptionalSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
|
|
950
950
|
}, undefined>, v.ObjectSchema<{
|
|
951
951
|
readonly label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 2, "the label is too short, it must be at least 2 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>, undefined>;
|
|
952
|
-
readonly description: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"the description must be a string">, v.TrimAction, v.MaxLengthAction<string, 1024, "the description is too long, it must be 1024 characters or less">]>, undefined>;
|
|
952
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"the description must be a string">, v.TrimAction, v.MaxLengthAction<string, 1024, "the description is too long, it must be 1024 characters or less">]>, undefined>, undefined>;
|
|
953
953
|
readonly is_active: v.OptionalSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
|
|
954
954
|
}, undefined>], undefined>;
|
|
955
955
|
type SUpdateCampaignIdDocumentRequest = v.InferOutput<typeof SUpdateCampaignIdDocumentRequest>;
|
package/dist/index.d.ts
CHANGED
|
@@ -911,7 +911,7 @@ declare const SUpdateAsCreatorCampaignIdDocument: v.ObjectSchema<{
|
|
|
911
911
|
readonly cost: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<"please enter a cost value">, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000000, "your campaign cost exceeds our $1 million dollar limit, please contact us for enterprise solutions">]>, undefined>;
|
|
912
912
|
readonly label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 2, "the label is too short, it must be at least 2 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>, undefined>;
|
|
913
913
|
readonly value: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a value">, v.TrimAction, v.MinLengthAction<string, 2, "the value is too short, it must be at least 2 characters">, v.MaxLengthAction<string, 64, "the value is too long, it must be 64 characters or less">, v.RegexAction<string, "the value can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
|
|
914
|
-
readonly description: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"the description must be a string">, v.TrimAction, v.MaxLengthAction<string, 1024, "the description is too long, it must be 1024 characters or less">]>, undefined>;
|
|
914
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"the description must be a string">, v.TrimAction, v.MaxLengthAction<string, 1024, "the description is too long, it must be 1024 characters or less">]>, undefined>, undefined>;
|
|
915
915
|
readonly is_active: v.OptionalSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
|
|
916
916
|
}, undefined>;
|
|
917
917
|
type SUpdateAsCreatorCampaignIdDocument = v.InferOutput<typeof SUpdateAsCreatorCampaignIdDocument>;
|
|
@@ -921,14 +921,14 @@ declare const SUpdateAsCreatorCampaignIdDocumentRequest: v.ObjectSchema<{
|
|
|
921
921
|
readonly cost: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<"please enter a cost value">, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000000, "your campaign cost exceeds our $1 million dollar limit, please contact us for enterprise solutions">]>, undefined>;
|
|
922
922
|
readonly label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 2, "the label is too short, it must be at least 2 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>, undefined>;
|
|
923
923
|
readonly value: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a value">, v.TrimAction, v.MinLengthAction<string, 2, "the value is too short, it must be at least 2 characters">, v.MaxLengthAction<string, 64, "the value is too long, it must be 64 characters or less">, v.RegexAction<string, "the value can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
|
|
924
|
-
readonly description: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"the description must be a string">, v.TrimAction, v.MaxLengthAction<string, 1024, "the description is too long, it must be 1024 characters or less">]>, undefined>;
|
|
924
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"the description must be a string">, v.TrimAction, v.MaxLengthAction<string, 1024, "the description is too long, it must be 1024 characters or less">]>, undefined>, undefined>;
|
|
925
925
|
readonly is_active: v.OptionalSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
|
|
926
926
|
}, undefined>;
|
|
927
927
|
}, undefined>;
|
|
928
928
|
type SUpdateAsCreatorCampaignIdDocumentRequest = v.InferOutput<typeof SUpdateAsCreatorCampaignIdDocumentRequest>;
|
|
929
929
|
declare const SUpdateAsInvitedCampaignIdDocument: v.ObjectSchema<{
|
|
930
930
|
readonly label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 2, "the label is too short, it must be at least 2 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>, undefined>;
|
|
931
|
-
readonly description: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"the description must be a string">, v.TrimAction, v.MaxLengthAction<string, 1024, "the description is too long, it must be 1024 characters or less">]>, undefined>;
|
|
931
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"the description must be a string">, v.TrimAction, v.MaxLengthAction<string, 1024, "the description is too long, it must be 1024 characters or less">]>, undefined>, undefined>;
|
|
932
932
|
readonly is_active: v.OptionalSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
|
|
933
933
|
}, undefined>;
|
|
934
934
|
type SUpdateAsInvitedCampaignIdDocument = v.InferOutput<typeof SUpdateAsInvitedCampaignIdDocument>;
|
|
@@ -936,7 +936,7 @@ declare const SUpdateAsInvitedCampaignIdDocumentRequest: v.ObjectSchema<{
|
|
|
936
936
|
readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
937
937
|
readonly data: v.ObjectSchema<{
|
|
938
938
|
readonly label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 2, "the label is too short, it must be at least 2 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>, undefined>;
|
|
939
|
-
readonly description: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"the description must be a string">, v.TrimAction, v.MaxLengthAction<string, 1024, "the description is too long, it must be 1024 characters or less">]>, undefined>;
|
|
939
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"the description must be a string">, v.TrimAction, v.MaxLengthAction<string, 1024, "the description is too long, it must be 1024 characters or less">]>, undefined>, undefined>;
|
|
940
940
|
readonly is_active: v.OptionalSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
|
|
941
941
|
}, undefined>;
|
|
942
942
|
}, undefined>;
|
|
@@ -945,11 +945,11 @@ declare const SUpdateCampaignIdDocumentRequest: v.UnionSchema<[v.ObjectSchema<{
|
|
|
945
945
|
readonly cost: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<"please enter a cost value">, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000000, "your campaign cost exceeds our $1 million dollar limit, please contact us for enterprise solutions">]>, undefined>;
|
|
946
946
|
readonly label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 2, "the label is too short, it must be at least 2 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>, undefined>;
|
|
947
947
|
readonly value: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a value">, v.TrimAction, v.MinLengthAction<string, 2, "the value is too short, it must be at least 2 characters">, v.MaxLengthAction<string, 64, "the value is too long, it must be 64 characters or less">, v.RegexAction<string, "the value can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
|
|
948
|
-
readonly description: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"the description must be a string">, v.TrimAction, v.MaxLengthAction<string, 1024, "the description is too long, it must be 1024 characters or less">]>, undefined>;
|
|
948
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"the description must be a string">, v.TrimAction, v.MaxLengthAction<string, 1024, "the description is too long, it must be 1024 characters or less">]>, undefined>, undefined>;
|
|
949
949
|
readonly is_active: v.OptionalSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
|
|
950
950
|
}, undefined>, v.ObjectSchema<{
|
|
951
951
|
readonly label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 2, "the label is too short, it must be at least 2 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>, undefined>;
|
|
952
|
-
readonly description: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"the description must be a string">, v.TrimAction, v.MaxLengthAction<string, 1024, "the description is too long, it must be 1024 characters or less">]>, undefined>;
|
|
952
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"the description must be a string">, v.TrimAction, v.MaxLengthAction<string, 1024, "the description is too long, it must be 1024 characters or less">]>, undefined>, undefined>;
|
|
953
953
|
readonly is_active: v.OptionalSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
|
|
954
954
|
}, undefined>], undefined>;
|
|
955
955
|
type SUpdateCampaignIdDocumentRequest = v.InferOutput<typeof SUpdateCampaignIdDocumentRequest>;
|
package/dist/index.js
CHANGED
|
@@ -1678,7 +1678,7 @@ var SUpdateAsCreatorCampaignIdDocument = v12.object({
|
|
|
1678
1678
|
cost: IsValidOrUndefinedCost,
|
|
1679
1679
|
label: IsValidOrUndefinedLabel,
|
|
1680
1680
|
value: IsValidOrUndefinedValue,
|
|
1681
|
-
description:
|
|
1681
|
+
description: IsValidOrUndefinedDescription,
|
|
1682
1682
|
is_active: IsValidOrUndefinedIsActive
|
|
1683
1683
|
});
|
|
1684
1684
|
var SUpdateAsCreatorCampaignIdDocumentRequest = v12.object({
|
|
@@ -1687,7 +1687,7 @@ var SUpdateAsCreatorCampaignIdDocumentRequest = v12.object({
|
|
|
1687
1687
|
});
|
|
1688
1688
|
var SUpdateAsInvitedCampaignIdDocument = v12.object({
|
|
1689
1689
|
label: IsValidOrUndefinedLabel,
|
|
1690
|
-
description:
|
|
1690
|
+
description: IsValidOrUndefinedDescription,
|
|
1691
1691
|
is_active: IsValidOrUndefinedIsActive
|
|
1692
1692
|
});
|
|
1693
1693
|
var SUpdateAsInvitedCampaignIdDocumentRequest = v12.object({
|