@joeygrable94/utm-src-pub-validators 0.0.52 → 0.0.53
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 +671 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +788 -9
- package/dist/index.d.ts +788 -9
- package/dist/index.js +653 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -610,6 +610,14 @@ var SCreateGroupUserDocument = v29__namespace.object({
|
|
|
610
610
|
user: IsValidReferenceDocumentId,
|
|
611
611
|
scopes: IsValidGroupUserScopes
|
|
612
612
|
});
|
|
613
|
+
var SCreateGroupUserAssignMultipleUsers = v29__namespace.object({
|
|
614
|
+
group: IsValidReferenceDocumentId,
|
|
615
|
+
user: v29__namespace.pipe(
|
|
616
|
+
v29__namespace.array(IsValidReferenceDocumentId),
|
|
617
|
+
v29__namespace.minLength(1, "Please assign at least one user to this group")
|
|
618
|
+
),
|
|
619
|
+
scopes: IsValidGroupUserScopes
|
|
620
|
+
});
|
|
613
621
|
var SCreateGroupUserDocumentRequest = v29__namespace.object({
|
|
614
622
|
documentId: IsValidReferenceDocumentId,
|
|
615
623
|
data: SCreateGroupUserDocument
|
|
@@ -1346,6 +1354,10 @@ var SCreateTrackingLinkDocument = v29__namespace.object({
|
|
|
1346
1354
|
utm_term: IsValidUrlUtmTerm,
|
|
1347
1355
|
utm_id: IsValidUrlUtmId
|
|
1348
1356
|
});
|
|
1357
|
+
var SCreateMultipleTrackingLinkDocuments = v29__namespace.pipe(
|
|
1358
|
+
v29__namespace.array(SCreateTrackingLinkDocument),
|
|
1359
|
+
v29__namespace.minLength(1, "Please create at least one tracking link")
|
|
1360
|
+
);
|
|
1349
1361
|
var SCreateTrackingLinkDocumentRequest = v29__namespace.object({
|
|
1350
1362
|
documentId: IsValidReferenceDocumentId,
|
|
1351
1363
|
data: SCreateTrackingLinkDocument
|
|
@@ -1559,6 +1571,10 @@ var SCreateCampaignIdDocument = v29__namespace.object({
|
|
|
1559
1571
|
description: IsValidDescription,
|
|
1560
1572
|
is_active: IsValidIsActive
|
|
1561
1573
|
});
|
|
1574
|
+
var SCreateMultipleCampaignIdDocuments = v29__namespace.pipe(
|
|
1575
|
+
v29__namespace.array(SCreateCampaignIdDocument),
|
|
1576
|
+
v29__namespace.minLength(1, "At least one campaign ID is required")
|
|
1577
|
+
);
|
|
1562
1578
|
var SCreateCampaignIdDocumentRequest = v29__namespace.object({
|
|
1563
1579
|
documentId: IsValidReferenceDocumentId,
|
|
1564
1580
|
data: SCreateCampaignIdDocument
|
|
@@ -1617,6 +1633,10 @@ var SCreateCampaignKeyDocument = v29__namespace.object({
|
|
|
1617
1633
|
description: IsValidDescription,
|
|
1618
1634
|
is_active: IsValidIsActive
|
|
1619
1635
|
});
|
|
1636
|
+
var SCreateMultipleCampaignKeyDocuments = v29__namespace.pipe(
|
|
1637
|
+
v29__namespace.array(SCreateCampaignKeyDocument),
|
|
1638
|
+
v29__namespace.minLength(1, "At least one campaign key is required")
|
|
1639
|
+
);
|
|
1620
1640
|
var SCreateCampaignKeyDocumentRequest = v29__namespace.object({
|
|
1621
1641
|
documentId: IsValidReferenceDocumentId,
|
|
1622
1642
|
data: SCreateCampaignKeyDocument
|
|
@@ -1674,6 +1694,10 @@ var SCreateCampaignPhaseDocument = v29__namespace.object({
|
|
|
1674
1694
|
description: IsValidDescription,
|
|
1675
1695
|
is_active: IsValidIsActive
|
|
1676
1696
|
});
|
|
1697
|
+
var SCreateMultipleCampaignPhaseDocuments = v29__namespace.pipe(
|
|
1698
|
+
v29__namespace.array(SCreateCampaignPhaseDocument),
|
|
1699
|
+
v29__namespace.minLength(1, "At least one campaign phase is required")
|
|
1700
|
+
);
|
|
1677
1701
|
var SCreateCampaignPhaseDocumentRequest = v29__namespace.object({
|
|
1678
1702
|
documentId: IsValidReferenceDocumentId,
|
|
1679
1703
|
data: SCreateCampaignPhaseDocument
|
|
@@ -1731,6 +1755,10 @@ var SCreateCampaignProductDocument = v29__namespace.object({
|
|
|
1731
1755
|
description: IsValidDescription,
|
|
1732
1756
|
is_active: IsValidIsActive
|
|
1733
1757
|
});
|
|
1758
|
+
var SCreateMultipleCampaignProductDocuments = v29__namespace.pipe(
|
|
1759
|
+
v29__namespace.array(SCreateCampaignProductDocument),
|
|
1760
|
+
v29__namespace.minLength(1, "At least one campaign product is required")
|
|
1761
|
+
);
|
|
1734
1762
|
var SCreateCampaignProductDocumentRequest = v29__namespace.object({
|
|
1735
1763
|
documentId: IsValidReferenceDocumentId,
|
|
1736
1764
|
data: SCreateCampaignProductDocument
|
|
@@ -1788,6 +1816,10 @@ var SCreateContentDocument = v29__namespace.object({
|
|
|
1788
1816
|
description: IsValidDescription,
|
|
1789
1817
|
is_active: IsValidIsActive
|
|
1790
1818
|
});
|
|
1819
|
+
var SCreateMultipleContentDocuments = v29__namespace.pipe(
|
|
1820
|
+
v29__namespace.array(SCreateContentDocument),
|
|
1821
|
+
v29__namespace.minLength(1, "At least one term is required")
|
|
1822
|
+
);
|
|
1791
1823
|
var SCreateContentDocumentRequest = v29__namespace.object({
|
|
1792
1824
|
documentId: IsValidReferenceDocumentId,
|
|
1793
1825
|
data: SCreateContentDocument
|
|
@@ -1845,6 +1877,10 @@ var SCreateCreativeFormatVariantDocument = v29__namespace.object({
|
|
|
1845
1877
|
description: IsValidDescription,
|
|
1846
1878
|
is_active: IsValidIsActive
|
|
1847
1879
|
});
|
|
1880
|
+
var SCreateMultipleCreativeFormatVariantDocuments = v29__namespace.pipe(
|
|
1881
|
+
v29__namespace.array(SCreateCreativeFormatVariantDocument),
|
|
1882
|
+
v29__namespace.minLength(1, "At least one term is required")
|
|
1883
|
+
);
|
|
1848
1884
|
var SCreateCreativeFormatVariantDocumentRequest = v29__namespace.object({
|
|
1849
1885
|
documentId: IsValidReferenceDocumentId,
|
|
1850
1886
|
data: SCreateCreativeFormatVariantDocument
|
|
@@ -1902,6 +1938,10 @@ var SCreateCreativeFormatDocument = v29__namespace.object({
|
|
|
1902
1938
|
description: IsValidDescription,
|
|
1903
1939
|
is_active: IsValidIsActive
|
|
1904
1940
|
});
|
|
1941
|
+
var SCreateMultipleCreativeFormatDocuments = v29__namespace.pipe(
|
|
1942
|
+
v29__namespace.array(SCreateCreativeFormatDocument),
|
|
1943
|
+
v29__namespace.minLength(1, "At least one creative format is required")
|
|
1944
|
+
);
|
|
1905
1945
|
var SCreateCreativeFormatDocumentRequest = v29__namespace.object({
|
|
1906
1946
|
documentId: IsValidReferenceDocumentId,
|
|
1907
1947
|
data: SCreateCreativeFormatDocument
|
|
@@ -1959,6 +1999,10 @@ var SCreateMediumDocument = v29__namespace.object({
|
|
|
1959
1999
|
description: IsValidDescription,
|
|
1960
2000
|
is_active: IsValidIsActive
|
|
1961
2001
|
});
|
|
2002
|
+
var SCreateMultipleMediumDocuments = v29__namespace.pipe(
|
|
2003
|
+
v29__namespace.array(SCreateMediumDocument),
|
|
2004
|
+
v29__namespace.minLength(1, "At least one medium is required")
|
|
2005
|
+
);
|
|
1962
2006
|
var SCreateMediumDocumentRequest = v29__namespace.object({
|
|
1963
2007
|
documentId: IsValidReferenceDocumentId,
|
|
1964
2008
|
data: SCreateMediumDocument
|
|
@@ -2016,6 +2060,10 @@ var SCreateSourceDocument = v29__namespace.object({
|
|
|
2016
2060
|
description: IsValidDescription,
|
|
2017
2061
|
is_active: IsValidIsActive
|
|
2018
2062
|
});
|
|
2063
|
+
var SCreateMultipleSourceDocuments = v29__namespace.pipe(
|
|
2064
|
+
v29__namespace.array(SCreateSourceDocument),
|
|
2065
|
+
v29__namespace.minLength(1, "At least one source is required")
|
|
2066
|
+
);
|
|
2019
2067
|
var SCreateSourceDocumentRequest = v29__namespace.object({
|
|
2020
2068
|
documentId: IsValidReferenceDocumentId,
|
|
2021
2069
|
data: SCreateSourceDocument
|
|
@@ -2073,6 +2121,10 @@ var SCreateTermDocument = v29__namespace.object({
|
|
|
2073
2121
|
description: IsValidDescription,
|
|
2074
2122
|
is_active: IsValidIsActive
|
|
2075
2123
|
});
|
|
2124
|
+
var SCreateMultipleTermDocuments = v29__namespace.pipe(
|
|
2125
|
+
v29__namespace.array(SCreateTermDocument),
|
|
2126
|
+
v29__namespace.minLength(1, "At least one term is required")
|
|
2127
|
+
);
|
|
2076
2128
|
var SCreateTermDocumentRequest = v29__namespace.object({
|
|
2077
2129
|
documentId: IsValidReferenceDocumentId,
|
|
2078
2130
|
data: SCreateTermDocument
|
|
@@ -2130,6 +2182,10 @@ var SCreateWebsiteDocument = v29__namespace.object({
|
|
|
2130
2182
|
is_secure: IsValidIsSecure,
|
|
2131
2183
|
is_active: IsValidIsActive
|
|
2132
2184
|
});
|
|
2185
|
+
var SCreateMultipleWebsiteDocuments = v29__namespace.pipe(
|
|
2186
|
+
v29__namespace.array(SCreateWebsiteDocument),
|
|
2187
|
+
v29__namespace.minLength(1, "At least one website is required")
|
|
2188
|
+
);
|
|
2133
2189
|
var SCreateWebsiteDocumentRequest = v29__namespace.object({
|
|
2134
2190
|
documentId: IsValidReferenceDocumentId,
|
|
2135
2191
|
data: SCreateWebsiteDocument
|
|
@@ -2368,6 +2424,602 @@ var SWebsiteDocumentWithRelations = v29__namespace.object({
|
|
|
2368
2424
|
...SWebsiteRelationsDocument.entries
|
|
2369
2425
|
});
|
|
2370
2426
|
|
|
2427
|
+
// src/templates/utm-parameter.defaults.ts
|
|
2428
|
+
var default_sources = {
|
|
2429
|
+
meta: {
|
|
2430
|
+
label: "Meta (FB/IG)",
|
|
2431
|
+
value: "meta",
|
|
2432
|
+
description: "Content published to all Meta platforms: Facebook, Instagram",
|
|
2433
|
+
is_active: true
|
|
2434
|
+
},
|
|
2435
|
+
facebook: {
|
|
2436
|
+
label: "Facebook",
|
|
2437
|
+
value: "meta_facebook",
|
|
2438
|
+
description: "Content published exclusively on Facebook",
|
|
2439
|
+
is_active: true
|
|
2440
|
+
},
|
|
2441
|
+
instagram: {
|
|
2442
|
+
label: "Instagram",
|
|
2443
|
+
value: "meta_instagram",
|
|
2444
|
+
description: "Content published exclusively on Instagram",
|
|
2445
|
+
is_active: true
|
|
2446
|
+
},
|
|
2447
|
+
tiktok: {
|
|
2448
|
+
label: "TikTok",
|
|
2449
|
+
value: "tiktok",
|
|
2450
|
+
description: "Content published exclusively on TikTok",
|
|
2451
|
+
is_active: true
|
|
2452
|
+
},
|
|
2453
|
+
twitter: {
|
|
2454
|
+
label: "X/Twitter",
|
|
2455
|
+
value: "twitter",
|
|
2456
|
+
description: "Content for X.com formerly known as Twitter",
|
|
2457
|
+
is_active: true
|
|
2458
|
+
},
|
|
2459
|
+
xcom: {
|
|
2460
|
+
label: "X.com",
|
|
2461
|
+
value: "x_twitter",
|
|
2462
|
+
description: "Content published exclusively on X.com",
|
|
2463
|
+
is_active: true
|
|
2464
|
+
},
|
|
2465
|
+
linkedin: {
|
|
2466
|
+
label: "LinkedIn",
|
|
2467
|
+
value: "linkedin",
|
|
2468
|
+
description: "Content published exclusively on LinkedIn",
|
|
2469
|
+
is_active: true
|
|
2470
|
+
},
|
|
2471
|
+
pinterest: {
|
|
2472
|
+
label: "Pinterest",
|
|
2473
|
+
value: "pinterest",
|
|
2474
|
+
description: "Content published exclusively on Pinterest",
|
|
2475
|
+
is_active: true
|
|
2476
|
+
},
|
|
2477
|
+
youtube: {
|
|
2478
|
+
label: "YouTube",
|
|
2479
|
+
value: "youtube",
|
|
2480
|
+
description: "Content published exclusively on YouTube",
|
|
2481
|
+
is_active: true
|
|
2482
|
+
},
|
|
2483
|
+
sms: {
|
|
2484
|
+
label: "Text Message (SMS)",
|
|
2485
|
+
value: "sms",
|
|
2486
|
+
description: "Content published exclusively via Text Message (SMS)",
|
|
2487
|
+
is_active: true
|
|
2488
|
+
},
|
|
2489
|
+
email: {
|
|
2490
|
+
label: "Email",
|
|
2491
|
+
value: "email",
|
|
2492
|
+
description: "Content published exclusively via Email",
|
|
2493
|
+
is_active: true
|
|
2494
|
+
},
|
|
2495
|
+
google: {
|
|
2496
|
+
label: "Google Ads",
|
|
2497
|
+
value: "google",
|
|
2498
|
+
description: "Content published exclusively via Google Ads",
|
|
2499
|
+
is_active: true
|
|
2500
|
+
},
|
|
2501
|
+
realtorcom: {
|
|
2502
|
+
label: "Realtor.com",
|
|
2503
|
+
value: "rdc",
|
|
2504
|
+
description: "Content published exclusively on Realtor.com (RDC)",
|
|
2505
|
+
is_active: true
|
|
2506
|
+
},
|
|
2507
|
+
zillow: {
|
|
2508
|
+
label: "Zillow",
|
|
2509
|
+
value: "zillow",
|
|
2510
|
+
description: "Content published exclusively on Zillow",
|
|
2511
|
+
is_active: true
|
|
2512
|
+
},
|
|
2513
|
+
bdx_nhs: {
|
|
2514
|
+
label: "New Home Source (Zonda)",
|
|
2515
|
+
value: "bdx_nhs",
|
|
2516
|
+
description: "Content published exclusively on New Home Source",
|
|
2517
|
+
is_active: true
|
|
2518
|
+
},
|
|
2519
|
+
yelp: {
|
|
2520
|
+
label: "Yelp",
|
|
2521
|
+
value: "yelp",
|
|
2522
|
+
description: "Content published exclusively on Yelp",
|
|
2523
|
+
is_active: true
|
|
2524
|
+
},
|
|
2525
|
+
qr_code: {
|
|
2526
|
+
label: "QR Code",
|
|
2527
|
+
value: "qr_code",
|
|
2528
|
+
description: "Content published exclusively via a QR Code",
|
|
2529
|
+
is_active: true
|
|
2530
|
+
},
|
|
2531
|
+
stackadapt: {
|
|
2532
|
+
label: "StackAdapt",
|
|
2533
|
+
value: "stackadapt",
|
|
2534
|
+
description: "Content published exclusively via StackAdapt",
|
|
2535
|
+
is_active: true
|
|
2536
|
+
},
|
|
2537
|
+
newswire: {
|
|
2538
|
+
label: "Newswire",
|
|
2539
|
+
value: "newswire",
|
|
2540
|
+
description: "Content published exclusively via Newswire",
|
|
2541
|
+
is_active: true
|
|
2542
|
+
},
|
|
2543
|
+
mobile_app: {
|
|
2544
|
+
label: "Mobile App",
|
|
2545
|
+
value: "mobile_app",
|
|
2546
|
+
description: "Content published exclusively via a Mobile App",
|
|
2547
|
+
is_active: true
|
|
2548
|
+
},
|
|
2549
|
+
referral: {
|
|
2550
|
+
label: "Referral",
|
|
2551
|
+
value: "referral",
|
|
2552
|
+
description: "Content published exclusively via a Referral source",
|
|
2553
|
+
is_active: true
|
|
2554
|
+
}
|
|
2555
|
+
};
|
|
2556
|
+
var default_mediums = {
|
|
2557
|
+
social: {
|
|
2558
|
+
label: "Organic Social",
|
|
2559
|
+
value: "social",
|
|
2560
|
+
description: "Organic social posts across all platforms",
|
|
2561
|
+
is_active: true
|
|
2562
|
+
},
|
|
2563
|
+
paid_social: {
|
|
2564
|
+
label: "Paid Social",
|
|
2565
|
+
value: "paid_social",
|
|
2566
|
+
description: "Any paid media on social platforms",
|
|
2567
|
+
is_active: true
|
|
2568
|
+
},
|
|
2569
|
+
paid_search: {
|
|
2570
|
+
label: "Paid Search",
|
|
2571
|
+
value: "paid_search",
|
|
2572
|
+
description: "Reserved for text-based ads on search platforms (google, bing, etc)",
|
|
2573
|
+
is_active: true
|
|
2574
|
+
},
|
|
2575
|
+
paid_display: {
|
|
2576
|
+
label: "Paid Display",
|
|
2577
|
+
value: "paid_display",
|
|
2578
|
+
description: "Any image-based ads through a paid media buying platform (excluding social)",
|
|
2579
|
+
is_active: true
|
|
2580
|
+
},
|
|
2581
|
+
paid_video: {
|
|
2582
|
+
label: "Paid Video",
|
|
2583
|
+
value: "paid_video",
|
|
2584
|
+
description: "Any video-based ads through a paid media buying platform (excluding social)",
|
|
2585
|
+
is_active: true
|
|
2586
|
+
},
|
|
2587
|
+
paid_listing: {
|
|
2588
|
+
label: "Paid Listing",
|
|
2589
|
+
value: "paid_listing",
|
|
2590
|
+
description: "Paid product listing on a ad/partner/affiliated website",
|
|
2591
|
+
is_active: true
|
|
2592
|
+
},
|
|
2593
|
+
paid: {
|
|
2594
|
+
label: "Paid",
|
|
2595
|
+
value: "paid",
|
|
2596
|
+
description: "Reserved for any other paid promotions that do not fit into the other categories",
|
|
2597
|
+
is_active: true
|
|
2598
|
+
},
|
|
2599
|
+
blast: {
|
|
2600
|
+
label: "Blast",
|
|
2601
|
+
value: "blast",
|
|
2602
|
+
description: "Used when sending a piece of content through an OWNED media source (such as email or text) to an entire group of people all at once",
|
|
2603
|
+
is_active: true
|
|
2604
|
+
},
|
|
2605
|
+
paid_blast: {
|
|
2606
|
+
label: "Paid Blast",
|
|
2607
|
+
value: "paid_blast",
|
|
2608
|
+
description: "Used when sending a piece of content through a PAID media source (such as paid email lists or third-party text referral) to an entire group of people all at once",
|
|
2609
|
+
is_active: true
|
|
2610
|
+
},
|
|
2611
|
+
flow: {
|
|
2612
|
+
label: "Flow",
|
|
2613
|
+
value: "flow",
|
|
2614
|
+
description: "Used when sending a piece of content through an OWNED media source (such as email or text) to a single user as a part of a multi-touch drip campaign",
|
|
2615
|
+
is_active: true
|
|
2616
|
+
},
|
|
2617
|
+
signage: {
|
|
2618
|
+
label: "Signage",
|
|
2619
|
+
value: "signage",
|
|
2620
|
+
description: "Used when a user scans a QR code off of a sign, can add others here if we use QR codes on other content.",
|
|
2621
|
+
is_active: true
|
|
2622
|
+
},
|
|
2623
|
+
content: {
|
|
2624
|
+
label: "Content",
|
|
2625
|
+
value: "content",
|
|
2626
|
+
description: "Used for generic content mediums other than the mediums listed",
|
|
2627
|
+
is_active: true
|
|
2628
|
+
},
|
|
2629
|
+
paid_ctv: {
|
|
2630
|
+
label: "Connected TV",
|
|
2631
|
+
value: "paid_ctv",
|
|
2632
|
+
description: "Used for paid ads on TV, Streaming Providers or other Connected TV sources",
|
|
2633
|
+
is_active: true
|
|
2634
|
+
},
|
|
2635
|
+
popup: {
|
|
2636
|
+
label: "Popup",
|
|
2637
|
+
value: "popup",
|
|
2638
|
+
description: "Used only for popup content embedded on a website (owned or third party)",
|
|
2639
|
+
is_active: true
|
|
2640
|
+
},
|
|
2641
|
+
press_release: {
|
|
2642
|
+
label: "Press Release",
|
|
2643
|
+
value: "press_release",
|
|
2644
|
+
description: "Used for content related to a press release",
|
|
2645
|
+
is_active: true
|
|
2646
|
+
}
|
|
2647
|
+
};
|
|
2648
|
+
var default_campaign_phases = {
|
|
2649
|
+
brand: {
|
|
2650
|
+
label: "Brand",
|
|
2651
|
+
value: "brand",
|
|
2652
|
+
description: "Company branded content",
|
|
2653
|
+
is_active: true
|
|
2654
|
+
},
|
|
2655
|
+
p1: {
|
|
2656
|
+
label: "Phase 1",
|
|
2657
|
+
value: "p1",
|
|
2658
|
+
description: "Interest list building",
|
|
2659
|
+
is_active: true
|
|
2660
|
+
},
|
|
2661
|
+
p2: {
|
|
2662
|
+
label: "Phase 2",
|
|
2663
|
+
value: "p2",
|
|
2664
|
+
description: "Pre-qual/pre-sale",
|
|
2665
|
+
is_active: true
|
|
2666
|
+
},
|
|
2667
|
+
p3: {
|
|
2668
|
+
label: "Phase 3",
|
|
2669
|
+
value: "p3",
|
|
2670
|
+
description: "Grand opening/now available",
|
|
2671
|
+
is_active: true
|
|
2672
|
+
},
|
|
2673
|
+
p4: {
|
|
2674
|
+
label: "Phase 4",
|
|
2675
|
+
value: "p4",
|
|
2676
|
+
description: "For sale/maintenance period",
|
|
2677
|
+
is_active: true
|
|
2678
|
+
},
|
|
2679
|
+
p5: {
|
|
2680
|
+
label: "Phase 5",
|
|
2681
|
+
value: "p5",
|
|
2682
|
+
description: "Final sale",
|
|
2683
|
+
is_active: true
|
|
2684
|
+
}
|
|
2685
|
+
};
|
|
2686
|
+
var default_contents = {
|
|
2687
|
+
testimonial: {
|
|
2688
|
+
label: "Testimonial",
|
|
2689
|
+
value: "testimonial",
|
|
2690
|
+
description: "Buyer telling story about their purchase experience",
|
|
2691
|
+
is_active: true
|
|
2692
|
+
},
|
|
2693
|
+
agent: {
|
|
2694
|
+
label: "Agent",
|
|
2695
|
+
value: "agent",
|
|
2696
|
+
description: "Salespeople on camera marketing their neighborhood",
|
|
2697
|
+
is_active: true
|
|
2698
|
+
},
|
|
2699
|
+
education: {
|
|
2700
|
+
label: "Education",
|
|
2701
|
+
value: "education",
|
|
2702
|
+
description: "Content that is to educate buyers on any variety of home buying process",
|
|
2703
|
+
is_active: true
|
|
2704
|
+
},
|
|
2705
|
+
charity: {
|
|
2706
|
+
label: "Charity",
|
|
2707
|
+
value: "charity",
|
|
2708
|
+
description: "Content related to any charitable efforts on behalf of builder",
|
|
2709
|
+
is_active: true
|
|
2710
|
+
},
|
|
2711
|
+
recruitment: {
|
|
2712
|
+
label: "Recruitment",
|
|
2713
|
+
value: "recruitment",
|
|
2714
|
+
description: "Content showcasing staff and culture to recruit future employees",
|
|
2715
|
+
is_active: true
|
|
2716
|
+
},
|
|
2717
|
+
lifestyle: {
|
|
2718
|
+
label: "Lifestyle",
|
|
2719
|
+
value: "lifestyle",
|
|
2720
|
+
description: "Content about the surrounding area and what it\u2019s like to live in a place",
|
|
2721
|
+
is_active: true
|
|
2722
|
+
},
|
|
2723
|
+
milestone: {
|
|
2724
|
+
label: "Milestone",
|
|
2725
|
+
value: "milestone",
|
|
2726
|
+
description: "Benchmarks in the building process and life of a community",
|
|
2727
|
+
is_active: true
|
|
2728
|
+
},
|
|
2729
|
+
trends: {
|
|
2730
|
+
label: "Trends",
|
|
2731
|
+
value: "trends",
|
|
2732
|
+
description: "Content that is trending on social media",
|
|
2733
|
+
is_active: true
|
|
2734
|
+
},
|
|
2735
|
+
brand: {
|
|
2736
|
+
label: "Brand",
|
|
2737
|
+
value: "brand",
|
|
2738
|
+
description: "Content focused on client culture and mission and who they are",
|
|
2739
|
+
is_active: true
|
|
2740
|
+
},
|
|
2741
|
+
events: {
|
|
2742
|
+
label: "Events",
|
|
2743
|
+
value: "events",
|
|
2744
|
+
description: "Content about events like grand openings, phase releases, tours, parties, etc",
|
|
2745
|
+
is_active: true
|
|
2746
|
+
},
|
|
2747
|
+
personalization: {
|
|
2748
|
+
label: "Personalization",
|
|
2749
|
+
value: "personalization",
|
|
2750
|
+
description: "For personalized content",
|
|
2751
|
+
is_active: true
|
|
2752
|
+
},
|
|
2753
|
+
tour_guide: {
|
|
2754
|
+
label: "Tour Guide",
|
|
2755
|
+
value: "tour_guide",
|
|
2756
|
+
description: "Used for content that promotes touring a physical space",
|
|
2757
|
+
is_active: true
|
|
2758
|
+
},
|
|
2759
|
+
product: {
|
|
2760
|
+
label: "Product",
|
|
2761
|
+
value: "product",
|
|
2762
|
+
description: "Any content specifically about a product or sale item",
|
|
2763
|
+
is_active: true
|
|
2764
|
+
},
|
|
2765
|
+
recipes: {
|
|
2766
|
+
label: "Recipes",
|
|
2767
|
+
value: "recipes",
|
|
2768
|
+
description: "Content featuring recipes and cooking tips",
|
|
2769
|
+
is_active: true
|
|
2770
|
+
},
|
|
2771
|
+
holiday: {
|
|
2772
|
+
label: "Holiday",
|
|
2773
|
+
value: "holiday",
|
|
2774
|
+
description: "Content about national holidays",
|
|
2775
|
+
is_active: true
|
|
2776
|
+
},
|
|
2777
|
+
culture: {
|
|
2778
|
+
label: "Culture",
|
|
2779
|
+
value: "culture",
|
|
2780
|
+
description: "Content about our team, things we do, how we work together, our values",
|
|
2781
|
+
is_active: true
|
|
2782
|
+
},
|
|
2783
|
+
our_work: {
|
|
2784
|
+
label: "Our Work",
|
|
2785
|
+
value: "our_work",
|
|
2786
|
+
description: "Content about the work we do for our clients or ourselves, our thought process",
|
|
2787
|
+
is_active: true
|
|
2788
|
+
},
|
|
2789
|
+
other: {
|
|
2790
|
+
label: "Other",
|
|
2791
|
+
value: "other",
|
|
2792
|
+
description: "For other content not defined in by a specific content pillar",
|
|
2793
|
+
is_active: true
|
|
2794
|
+
}
|
|
2795
|
+
};
|
|
2796
|
+
var default_creative_formats = {
|
|
2797
|
+
post: {
|
|
2798
|
+
label: "Post",
|
|
2799
|
+
value: "post",
|
|
2800
|
+
description: "organic content post",
|
|
2801
|
+
is_active: true
|
|
2802
|
+
},
|
|
2803
|
+
content: {
|
|
2804
|
+
label: "Content",
|
|
2805
|
+
value: "content",
|
|
2806
|
+
description: "organic content or other content (not social post)",
|
|
2807
|
+
is_active: true
|
|
2808
|
+
},
|
|
2809
|
+
reel: {
|
|
2810
|
+
label: "Reel",
|
|
2811
|
+
value: "reel",
|
|
2812
|
+
description: "organic content for video reels",
|
|
2813
|
+
is_active: true
|
|
2814
|
+
},
|
|
2815
|
+
reel_ad: {
|
|
2816
|
+
label: "Reel Ad",
|
|
2817
|
+
value: "reel_ad",
|
|
2818
|
+
description: "paid media for video reel ads",
|
|
2819
|
+
is_active: true
|
|
2820
|
+
},
|
|
2821
|
+
story_content: {
|
|
2822
|
+
label: "Story",
|
|
2823
|
+
value: "story_content",
|
|
2824
|
+
description: "Ephemeral story content",
|
|
2825
|
+
is_active: true
|
|
2826
|
+
},
|
|
2827
|
+
story_ad: {
|
|
2828
|
+
label: "Story Ad",
|
|
2829
|
+
value: "story_ad",
|
|
2830
|
+
description: "Paid ephemeral story content",
|
|
2831
|
+
is_active: true
|
|
2832
|
+
},
|
|
2833
|
+
listing: {
|
|
2834
|
+
label: "Listing",
|
|
2835
|
+
value: "listing",
|
|
2836
|
+
description: "ad listing that blends into organic listings",
|
|
2837
|
+
is_active: true
|
|
2838
|
+
},
|
|
2839
|
+
native: {
|
|
2840
|
+
label: "Native Ad",
|
|
2841
|
+
value: "native",
|
|
2842
|
+
description: "Content that blends in with the native content on an affiliate website",
|
|
2843
|
+
is_active: true
|
|
2844
|
+
},
|
|
2845
|
+
traffic: {
|
|
2846
|
+
label: "Traffic",
|
|
2847
|
+
value: "traffic_ad",
|
|
2848
|
+
description: "For Ads designed to drive traffic to a specific destination",
|
|
2849
|
+
is_active: true
|
|
2850
|
+
},
|
|
2851
|
+
darkpost: {
|
|
2852
|
+
label: "Dark Post",
|
|
2853
|
+
value: "darkpost",
|
|
2854
|
+
description: "For Meta DarkPosts",
|
|
2855
|
+
is_active: true
|
|
2856
|
+
},
|
|
2857
|
+
boost: {
|
|
2858
|
+
label: "Boost",
|
|
2859
|
+
value: "boost",
|
|
2860
|
+
description: "For boosted content on social",
|
|
2861
|
+
is_active: true
|
|
2862
|
+
},
|
|
2863
|
+
collection: {
|
|
2864
|
+
label: "Collection Ad",
|
|
2865
|
+
value: "collection",
|
|
2866
|
+
description: "For Meta Collection Ads",
|
|
2867
|
+
is_active: true
|
|
2868
|
+
},
|
|
2869
|
+
conversion: {
|
|
2870
|
+
label: "Conversion Ad",
|
|
2871
|
+
value: "conversion",
|
|
2872
|
+
description: "For Meta Conversion Ads",
|
|
2873
|
+
is_active: true
|
|
2874
|
+
},
|
|
2875
|
+
lead_ad: {
|
|
2876
|
+
label: "Lead Ad",
|
|
2877
|
+
value: "lead_ad",
|
|
2878
|
+
description: "For Meta Lead Ads",
|
|
2879
|
+
is_active: true
|
|
2880
|
+
},
|
|
2881
|
+
internal: {
|
|
2882
|
+
label: "Internal",
|
|
2883
|
+
value: "internal",
|
|
2884
|
+
description: "Emails sent via an Internal CRM",
|
|
2885
|
+
is_active: true
|
|
2886
|
+
},
|
|
2887
|
+
retargeting: {
|
|
2888
|
+
label: "Retargeting",
|
|
2889
|
+
value: "retargeting",
|
|
2890
|
+
description: "Ad retargeted to a different audience than the original content",
|
|
2891
|
+
is_active: true
|
|
2892
|
+
},
|
|
2893
|
+
profile: {
|
|
2894
|
+
label: "Profile",
|
|
2895
|
+
value: "profile",
|
|
2896
|
+
description: "For links that are used on platform profile pages or SmartBio like profile referral sources",
|
|
2897
|
+
is_active: true
|
|
2898
|
+
},
|
|
2899
|
+
sitelink: {
|
|
2900
|
+
label: "Site Link",
|
|
2901
|
+
value: "sitelink",
|
|
2902
|
+
description: "For the additional links provided in a Google Search Ad.",
|
|
2903
|
+
is_active: true
|
|
2904
|
+
},
|
|
2905
|
+
sponsored_ad: {
|
|
2906
|
+
label: "Sponsored Ad",
|
|
2907
|
+
value: "sponsored_ad",
|
|
2908
|
+
description: "For LinkedIn Sponsored Ad posts.",
|
|
2909
|
+
is_active: true
|
|
2910
|
+
}
|
|
2911
|
+
};
|
|
2912
|
+
var default_creative_format_variants = {
|
|
2913
|
+
short_form: {
|
|
2914
|
+
label: "Short Form Video",
|
|
2915
|
+
value: "short_form",
|
|
2916
|
+
description: "Short form video content",
|
|
2917
|
+
is_active: true
|
|
2918
|
+
},
|
|
2919
|
+
long_form: {
|
|
2920
|
+
label: "Long Form Video",
|
|
2921
|
+
value: "long_form",
|
|
2922
|
+
description: "Long form video content",
|
|
2923
|
+
is_active: true
|
|
2924
|
+
},
|
|
2925
|
+
image: {
|
|
2926
|
+
label: "Image",
|
|
2927
|
+
value: "image",
|
|
2928
|
+
description: "Content that rely on photography to convey a message",
|
|
2929
|
+
is_active: true
|
|
2930
|
+
},
|
|
2931
|
+
gif: {
|
|
2932
|
+
label: "GIF",
|
|
2933
|
+
value: "gif",
|
|
2934
|
+
description: "Content using an animated GIF",
|
|
2935
|
+
is_active: true
|
|
2936
|
+
},
|
|
2937
|
+
text: {
|
|
2938
|
+
label: "Text",
|
|
2939
|
+
value: "text",
|
|
2940
|
+
description: "Content that rely on typography/text to convey a message",
|
|
2941
|
+
is_active: true
|
|
2942
|
+
},
|
|
2943
|
+
carousel: {
|
|
2944
|
+
label: "Carousel",
|
|
2945
|
+
value: "carousel",
|
|
2946
|
+
description: "Content in a carousel or slideshow format",
|
|
2947
|
+
is_active: true
|
|
2948
|
+
},
|
|
2949
|
+
people: {
|
|
2950
|
+
label: "People",
|
|
2951
|
+
value: "people",
|
|
2952
|
+
description: "Content that uses humans/actors to convey a message",
|
|
2953
|
+
is_active: true
|
|
2954
|
+
},
|
|
2955
|
+
faceless: {
|
|
2956
|
+
label: "Faceless (No People)",
|
|
2957
|
+
value: "faceless",
|
|
2958
|
+
description: "Content with no people/human faces depicted",
|
|
2959
|
+
is_active: true
|
|
2960
|
+
},
|
|
2961
|
+
popup: {
|
|
2962
|
+
label: "Pop Up",
|
|
2963
|
+
value: "popup",
|
|
2964
|
+
description: "Website pop up content",
|
|
2965
|
+
is_active: true
|
|
2966
|
+
},
|
|
2967
|
+
banner: {
|
|
2968
|
+
label: "Banner",
|
|
2969
|
+
value: "banner",
|
|
2970
|
+
description: "Banner content on a website",
|
|
2971
|
+
is_active: true
|
|
2972
|
+
},
|
|
2973
|
+
broker: {
|
|
2974
|
+
label: "Broker",
|
|
2975
|
+
value: "broker",
|
|
2976
|
+
description: "Content created for brokers",
|
|
2977
|
+
is_active: true
|
|
2978
|
+
},
|
|
2979
|
+
consumer: {
|
|
2980
|
+
label: "Consumer",
|
|
2981
|
+
value: "consumer",
|
|
2982
|
+
description: "Content created for consumers",
|
|
2983
|
+
is_active: true
|
|
2984
|
+
},
|
|
2985
|
+
redrop: {
|
|
2986
|
+
label: "Redrop",
|
|
2987
|
+
value: "redrop",
|
|
2988
|
+
description: "Content that is re-dropped to the same audience",
|
|
2989
|
+
is_active: true
|
|
2990
|
+
},
|
|
2991
|
+
variant_a: {
|
|
2992
|
+
label: "Variant A",
|
|
2993
|
+
value: "variant_a",
|
|
2994
|
+
description: "Used for a/b testing and/or ad variant names.",
|
|
2995
|
+
is_active: true
|
|
2996
|
+
},
|
|
2997
|
+
variant_b: {
|
|
2998
|
+
label: "Variant B",
|
|
2999
|
+
value: "variant_b",
|
|
3000
|
+
description: "Used for a/b testing and/or ad variant names.",
|
|
3001
|
+
is_active: true
|
|
3002
|
+
},
|
|
3003
|
+
variant_c: {
|
|
3004
|
+
label: "Variant C",
|
|
3005
|
+
value: "variant_c",
|
|
3006
|
+
description: "Used for a/b testing and/or ad variant names.",
|
|
3007
|
+
is_active: true
|
|
3008
|
+
},
|
|
3009
|
+
variant_d: {
|
|
3010
|
+
label: "Variant D",
|
|
3011
|
+
value: "variant_d",
|
|
3012
|
+
description: "Used for a/b testing and/or ad variant names.",
|
|
3013
|
+
is_active: true
|
|
3014
|
+
},
|
|
3015
|
+
client_creative: {
|
|
3016
|
+
label: "Client Creative",
|
|
3017
|
+
value: "client_creative",
|
|
3018
|
+
description: "Creative content was provided by the client to use\u2014not GC designed content.",
|
|
3019
|
+
is_active: true
|
|
3020
|
+
}
|
|
3021
|
+
};
|
|
3022
|
+
|
|
2371
3023
|
// src/utilities/datetime.ts
|
|
2372
3024
|
function dateToday() {
|
|
2373
3025
|
const date2 = /* @__PURE__ */ new Date();
|
|
@@ -2624,10 +3276,23 @@ exports.SCreateCreativeFormatDocumentRequest = SCreateCreativeFormatDocumentRequ
|
|
|
2624
3276
|
exports.SCreateCreativeFormatVariantDocument = SCreateCreativeFormatVariantDocument;
|
|
2625
3277
|
exports.SCreateCreativeFormatVariantDocumentRequest = SCreateCreativeFormatVariantDocumentRequest;
|
|
2626
3278
|
exports.SCreateGroupDocument = SCreateGroupDocument;
|
|
3279
|
+
exports.SCreateGroupUserAssignMultipleUsers = SCreateGroupUserAssignMultipleUsers;
|
|
2627
3280
|
exports.SCreateGroupUserDocument = SCreateGroupUserDocument;
|
|
2628
3281
|
exports.SCreateGroupUserDocumentRequest = SCreateGroupUserDocumentRequest;
|
|
2629
3282
|
exports.SCreateMediumDocument = SCreateMediumDocument;
|
|
2630
3283
|
exports.SCreateMediumDocumentRequest = SCreateMediumDocumentRequest;
|
|
3284
|
+
exports.SCreateMultipleCampaignIdDocuments = SCreateMultipleCampaignIdDocuments;
|
|
3285
|
+
exports.SCreateMultipleCampaignKeyDocuments = SCreateMultipleCampaignKeyDocuments;
|
|
3286
|
+
exports.SCreateMultipleCampaignPhaseDocuments = SCreateMultipleCampaignPhaseDocuments;
|
|
3287
|
+
exports.SCreateMultipleCampaignProductDocuments = SCreateMultipleCampaignProductDocuments;
|
|
3288
|
+
exports.SCreateMultipleContentDocuments = SCreateMultipleContentDocuments;
|
|
3289
|
+
exports.SCreateMultipleCreativeFormatDocuments = SCreateMultipleCreativeFormatDocuments;
|
|
3290
|
+
exports.SCreateMultipleCreativeFormatVariantDocuments = SCreateMultipleCreativeFormatVariantDocuments;
|
|
3291
|
+
exports.SCreateMultipleMediumDocuments = SCreateMultipleMediumDocuments;
|
|
3292
|
+
exports.SCreateMultipleSourceDocuments = SCreateMultipleSourceDocuments;
|
|
3293
|
+
exports.SCreateMultipleTermDocuments = SCreateMultipleTermDocuments;
|
|
3294
|
+
exports.SCreateMultipleTrackingLinkDocuments = SCreateMultipleTrackingLinkDocuments;
|
|
3295
|
+
exports.SCreateMultipleWebsiteDocuments = SCreateMultipleWebsiteDocuments;
|
|
2631
3296
|
exports.SCreateSourceDocument = SCreateSourceDocument;
|
|
2632
3297
|
exports.SCreateSourceDocumentRequest = SCreateSourceDocumentRequest;
|
|
2633
3298
|
exports.SCreateTermDocument = SCreateTermDocument;
|
|
@@ -2882,6 +3547,12 @@ exports.WEBSITE_PAGINATION_DEFAULT_SIZE_LIMIT = WEBSITE_PAGINATION_DEFAULT_SIZE_
|
|
|
2882
3547
|
exports.WEBSITE_PAGINATION_MAX_SIZE_LIMIT = WEBSITE_PAGINATION_MAX_SIZE_LIMIT;
|
|
2883
3548
|
exports.datePlusDays = datePlusDays;
|
|
2884
3549
|
exports.dateToday = dateToday;
|
|
3550
|
+
exports.default_campaign_phases = default_campaign_phases;
|
|
3551
|
+
exports.default_contents = default_contents;
|
|
3552
|
+
exports.default_creative_format_variants = default_creative_format_variants;
|
|
3553
|
+
exports.default_creative_formats = default_creative_formats;
|
|
3554
|
+
exports.default_mediums = default_mediums;
|
|
3555
|
+
exports.default_sources = default_sources;
|
|
2885
3556
|
exports.isValidationFailure = isValidationFailure;
|
|
2886
3557
|
exports.isValidationSuccess = isValidationSuccess;
|
|
2887
3558
|
exports.omitUndefined = omitUndefined;
|