@joeygrable94/utm-src-pub-validators 0.0.76 → 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 +12 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +12 -12
- package/dist/index.d.ts +12 -12
- package/dist/index.js +9 -9
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -733,20 +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
744
|
year: v12__namespace.number("Please provide a valid year."),
|
|
745
745
|
quarter: v12__namespace.optional(v12__namespace.number()),
|
|
746
746
|
month: v12__namespace.optional(v12__namespace.number()),
|
|
747
747
|
day: v12__namespace.optional(v12__namespace.number())
|
|
748
748
|
});
|
|
749
|
-
var
|
|
749
|
+
var SUtmLinkBuilderPartCampaignObject = v12__namespace.object({
|
|
750
750
|
campaign_phase: v12__namespace.optional(IsValidUrlUtmPart),
|
|
751
751
|
campaign_product: v12__namespace.optional(IsValidUrlUtmPart),
|
|
752
752
|
campaign_targeting: v12__namespace.optional(
|
|
@@ -759,14 +759,14 @@ var SUtmPartBuilderCampaign = v12__namespace.object({
|
|
|
759
759
|
campaign_key: v12__namespace.optional(IsValidUrlUtmPart),
|
|
760
760
|
campaign_date: v12__namespace.object({
|
|
761
761
|
format: v12__namespace.picklist(
|
|
762
|
-
|
|
762
|
+
SUtmLinkBuilderPartCampaignDateFormatOptions,
|
|
763
763
|
"Please select a valid campaign date format."
|
|
764
764
|
),
|
|
765
|
-
value:
|
|
765
|
+
value: SUtmLinkBuilderPartCampaignDateValue
|
|
766
766
|
}),
|
|
767
767
|
campaign_id: IsValidUrlUtmPart
|
|
768
768
|
});
|
|
769
|
-
var
|
|
769
|
+
var SUtmLinkBuilderPartCreativeFormatObject = v12__namespace.object({
|
|
770
770
|
creative_format: v12__namespace.optional(IsValidUrlUtmPart),
|
|
771
771
|
creative_format_variants: v12__namespace.optional(
|
|
772
772
|
v12__namespace.pipe(
|
|
@@ -798,7 +798,7 @@ var SUtmLinkBuilderTableForm = v12__namespace.object({
|
|
|
798
798
|
v12__namespace.maxLength(10, "You can select up to 10 mediums.")
|
|
799
799
|
),
|
|
800
800
|
campaigns: v12__namespace.pipe(
|
|
801
|
-
v12__namespace.array(
|
|
801
|
+
v12__namespace.array(SUtmLinkBuilderPartCampaignObject),
|
|
802
802
|
v12__namespace.minLength(1, "Please provide at least one campaign."),
|
|
803
803
|
v12__namespace.maxLength(10, "You can provide up to 10 campaigns.")
|
|
804
804
|
),
|
|
@@ -809,7 +809,7 @@ var SUtmLinkBuilderTableForm = v12__namespace.object({
|
|
|
809
809
|
),
|
|
810
810
|
creative_formats: v12__namespace.optional(
|
|
811
811
|
v12__namespace.pipe(
|
|
812
|
-
v12__namespace.array(
|
|
812
|
+
v12__namespace.array(SUtmLinkBuilderPartCreativeFormatObject),
|
|
813
813
|
v12__namespace.minLength(1, "Please select at least one creative format."),
|
|
814
814
|
v12__namespace.maxLength(10, "You can select up to 10 creative formats.")
|
|
815
815
|
)
|
|
@@ -3611,11 +3611,11 @@ exports.SUserRelationSources = SUserRelationSources;
|
|
|
3611
3611
|
exports.SUserRelationTerms = SUserRelationTerms;
|
|
3612
3612
|
exports.SUserRelationTrackingLinks = SUserRelationTrackingLinks;
|
|
3613
3613
|
exports.SUserRelationsDocument = SUserRelationsDocument;
|
|
3614
|
-
exports.
|
|
3614
|
+
exports.SUtmLinkBuilderPartCampaignDateFormatOptions = SUtmLinkBuilderPartCampaignDateFormatOptions;
|
|
3615
|
+
exports.SUtmLinkBuilderPartCampaignDateValue = SUtmLinkBuilderPartCampaignDateValue;
|
|
3616
|
+
exports.SUtmLinkBuilderPartCampaignObject = SUtmLinkBuilderPartCampaignObject;
|
|
3617
|
+
exports.SUtmLinkBuilderPartCreativeFormatObject = SUtmLinkBuilderPartCreativeFormatObject;
|
|
3615
3618
|
exports.SUtmLinkBuilderTableForm = SUtmLinkBuilderTableForm;
|
|
3616
|
-
exports.SUtmPartBuilderCampaign = SUtmPartBuilderCampaign;
|
|
3617
|
-
exports.SUtmPartBuilderCreativeFormatVariant = SUtmPartBuilderCreativeFormatVariant;
|
|
3618
|
-
exports.SUtmPartCampaignDateValue = SUtmPartCampaignDateValue;
|
|
3619
3619
|
exports.SVerifyGroupUserDocument = SVerifyGroupUserDocument;
|
|
3620
3620
|
exports.SWebsiteDocument = SWebsiteDocument;
|
|
3621
3621
|
exports.SWebsiteDocumentWithRelations = SWebsiteDocumentWithRelations;
|