@joeygrable94/utm-src-pub-validators 0.0.75 → 0.0.77
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 +17 -15
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +17 -9
- package/dist/index.d.ts +17 -9
- package/dist/index.js +14 -13
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -733,14 +733,20 @@ var SUpdateGroupDocumentRequest = v12__namespace.union([
|
|
|
733
733
|
var SDeleteGroupDocument = v12__namespace.object({
|
|
734
734
|
documentId: IsValidReferenceDocumentId
|
|
735
735
|
});
|
|
736
|
-
var
|
|
736
|
+
var SUtmLinkBuilderPartCampaignDateFormatOptions = [
|
|
737
737
|
"no date",
|
|
738
738
|
"annually",
|
|
739
739
|
"quarterly",
|
|
740
740
|
"monthly",
|
|
741
741
|
"on a specific date"
|
|
742
742
|
];
|
|
743
|
-
var
|
|
743
|
+
var SUtmLinkBuilderPartCampaignDateValue = v12__namespace.object({
|
|
744
|
+
year: v12__namespace.number("Please provide a valid year."),
|
|
745
|
+
quarter: v12__namespace.optional(v12__namespace.number()),
|
|
746
|
+
month: v12__namespace.optional(v12__namespace.number()),
|
|
747
|
+
day: v12__namespace.optional(v12__namespace.number())
|
|
748
|
+
});
|
|
749
|
+
var SUtmLinkBuilderPartCampaignObject = v12__namespace.object({
|
|
744
750
|
campaign_phase: v12__namespace.optional(IsValidUrlUtmPart),
|
|
745
751
|
campaign_product: v12__namespace.optional(IsValidUrlUtmPart),
|
|
746
752
|
campaign_targeting: v12__namespace.optional(
|
|
@@ -753,19 +759,14 @@ var SUtmPartBuilderCampaign = v12__namespace.object({
|
|
|
753
759
|
campaign_key: v12__namespace.optional(IsValidUrlUtmPart),
|
|
754
760
|
campaign_date: v12__namespace.object({
|
|
755
761
|
format: v12__namespace.picklist(
|
|
756
|
-
|
|
762
|
+
SUtmLinkBuilderPartCampaignDateFormatOptions,
|
|
757
763
|
"Please select a valid campaign date format."
|
|
758
764
|
),
|
|
759
|
-
value:
|
|
760
|
-
year: v12__namespace.number("Please provide a valid year."),
|
|
761
|
-
quarter: v12__namespace.optional(v12__namespace.number()),
|
|
762
|
-
month: v12__namespace.optional(v12__namespace.number()),
|
|
763
|
-
day: v12__namespace.optional(v12__namespace.number())
|
|
764
|
-
})
|
|
765
|
+
value: SUtmLinkBuilderPartCampaignDateValue
|
|
765
766
|
}),
|
|
766
767
|
campaign_id: IsValidUrlUtmPart
|
|
767
768
|
});
|
|
768
|
-
var
|
|
769
|
+
var SUtmLinkBuilderPartCreativeFormatObject = v12__namespace.object({
|
|
769
770
|
creative_format: v12__namespace.optional(IsValidUrlUtmPart),
|
|
770
771
|
creative_format_variants: v12__namespace.optional(
|
|
771
772
|
v12__namespace.pipe(
|
|
@@ -797,7 +798,7 @@ var SUtmLinkBuilderTableForm = v12__namespace.object({
|
|
|
797
798
|
v12__namespace.maxLength(10, "You can select up to 10 mediums.")
|
|
798
799
|
),
|
|
799
800
|
campaigns: v12__namespace.pipe(
|
|
800
|
-
v12__namespace.array(
|
|
801
|
+
v12__namespace.array(SUtmLinkBuilderPartCampaignObject),
|
|
801
802
|
v12__namespace.minLength(1, "Please provide at least one campaign."),
|
|
802
803
|
v12__namespace.maxLength(10, "You can provide up to 10 campaigns.")
|
|
803
804
|
),
|
|
@@ -808,7 +809,7 @@ var SUtmLinkBuilderTableForm = v12__namespace.object({
|
|
|
808
809
|
),
|
|
809
810
|
creative_formats: v12__namespace.optional(
|
|
810
811
|
v12__namespace.pipe(
|
|
811
|
-
v12__namespace.array(
|
|
812
|
+
v12__namespace.array(SUtmLinkBuilderPartCreativeFormatObject),
|
|
812
813
|
v12__namespace.minLength(1, "Please select at least one creative format."),
|
|
813
814
|
v12__namespace.maxLength(10, "You can select up to 10 creative formats.")
|
|
814
815
|
)
|
|
@@ -3610,10 +3611,11 @@ exports.SUserRelationSources = SUserRelationSources;
|
|
|
3610
3611
|
exports.SUserRelationTerms = SUserRelationTerms;
|
|
3611
3612
|
exports.SUserRelationTrackingLinks = SUserRelationTrackingLinks;
|
|
3612
3613
|
exports.SUserRelationsDocument = SUserRelationsDocument;
|
|
3613
|
-
exports.
|
|
3614
|
+
exports.SUtmLinkBuilderPartCampaignDateFormatOptions = SUtmLinkBuilderPartCampaignDateFormatOptions;
|
|
3615
|
+
exports.SUtmLinkBuilderPartCampaignDateValue = SUtmLinkBuilderPartCampaignDateValue;
|
|
3616
|
+
exports.SUtmLinkBuilderPartCampaignObject = SUtmLinkBuilderPartCampaignObject;
|
|
3617
|
+
exports.SUtmLinkBuilderPartCreativeFormatObject = SUtmLinkBuilderPartCreativeFormatObject;
|
|
3614
3618
|
exports.SUtmLinkBuilderTableForm = SUtmLinkBuilderTableForm;
|
|
3615
|
-
exports.SUtmPartBuilderCampaign = SUtmPartBuilderCampaign;
|
|
3616
|
-
exports.SUtmPartBuilderCreativeFormatVariant = SUtmPartBuilderCreativeFormatVariant;
|
|
3617
3619
|
exports.SVerifyGroupUserDocument = SVerifyGroupUserDocument;
|
|
3618
3620
|
exports.SWebsiteDocument = SWebsiteDocument;
|
|
3619
3621
|
exports.SWebsiteDocumentWithRelations = SWebsiteDocumentWithRelations;
|