@goldenhippo/builder-cart-schemas 0.7.0 → 0.8.0

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.
@@ -1211,7 +1211,14 @@ var createHeaderConfig = () => {
1211
1211
  helperText: "Select the type of header to use",
1212
1212
  defaultCollapsed: true,
1213
1213
  type: "select",
1214
- enum: ["BASIC" /* BASIC */, "MEDIUM" /* MEDIUM */, "MEGA" /* MEGA */, "NONE" /* NONE */, "DMP" /* DMP */],
1214
+ enum: [
1215
+ "BASIC" /* BASIC */,
1216
+ "MEDIUM" /* MEDIUM */,
1217
+ "MEGA" /* MEGA */,
1218
+ "LINKLESS" /* LINKLESS */,
1219
+ "NONE" /* NONE */,
1220
+ "DMP" /* DMP */
1221
+ ],
1215
1222
  defaultValue: "MEDIUM"
1216
1223
  },
1217
1224
  headerOptions.basic,
@@ -1230,14 +1237,16 @@ var createFooterConfig = () => {
1230
1237
  friendlyName: "Footer",
1231
1238
  type: "object",
1232
1239
  defaultCollapsed: true,
1240
+ helperText: "Footer layout and content settings",
1233
1241
  subFields: [
1234
1242
  {
1235
1243
  name: "footerType",
1236
- friendlyName: "Type",
1244
+ friendlyName: "Footer Type",
1237
1245
  type: "select",
1238
1246
  enum: ["BASIC" /* BASIC */, "MEGA" /* MEGA */, "NONE" /* NONE */],
1239
1247
  defaultValue: "BASIC" /* BASIC */,
1240
- defaultCollapsed: true
1248
+ defaultCollapsed: true,
1249
+ helperText: "Choose the footer layout style for the website"
1241
1250
  }
1242
1251
  ]
1243
1252
  };
@@ -1250,6 +1259,7 @@ var createFeatureConfig = (gridFilterModelId) => {
1250
1259
  friendlyName: "Features",
1251
1260
  type: "object",
1252
1261
  defaultCollapsed: true,
1262
+ helperText: "Enable or disable site-wide features and behaviors",
1253
1263
  subFields: [
1254
1264
  {
1255
1265
  name: "productGridFilterType",
@@ -1329,6 +1339,22 @@ var createFeatureConfig = (gridFilterModelId) => {
1329
1339
  type: "boolean",
1330
1340
  localized: false,
1331
1341
  defaultCollapsed: true
1342
+ },
1343
+ {
1344
+ name: "subscriptionExperience",
1345
+ friendlyName: "Subscription Experience",
1346
+ type: "select",
1347
+ enum: ["Classic", "Version 2"],
1348
+ defaultValue: "Classic",
1349
+ defaultCollapsed: false,
1350
+ helperText: "Select the subscription management experience for customers"
1351
+ },
1352
+ {
1353
+ name: "useDefaultFrequencies",
1354
+ friendlyName: "Use Default Frequencies",
1355
+ type: "boolean",
1356
+ helperText: "When enabled, the selected frequency on an Offer Selector is calculated based on the product and quantity selected.",
1357
+ defaultCollapsed: false
1332
1358
  }
1333
1359
  ]
1334
1360
  };
@@ -1342,6 +1368,7 @@ var createSupportConfig = () => {
1342
1368
  type: "object",
1343
1369
  defaultCollapsed: true,
1344
1370
  localized: false,
1371
+ helperText: "Contact information displayed to customers on the website",
1345
1372
  subFields: [
1346
1373
  {
1347
1374
  name: "email",
@@ -2016,7 +2043,7 @@ var createPageConfig = () => {
2016
2043
  type: "select",
2017
2044
  required: true,
2018
2045
  defaultCollapsed: true,
2019
- helperText: "",
2046
+ helperText: "System identifier for this cancellation reason \u2014 used for analytics tracking",
2020
2047
  enum: [
2021
2048
  "DoNotLike" /* DoNotLike */,
2022
2049
  "NotWorking" /* NotWorking */,
@@ -2056,7 +2083,7 @@ var createPageConfig = () => {
2056
2083
  friendlyName: "Button Link",
2057
2084
  type: "url",
2058
2085
  required: false,
2059
- helperText: "",
2086
+ helperText: "URL to navigate to when this button is clicked",
2060
2087
  defaultCollapsed: true
2061
2088
  },
2062
2089
  {
@@ -2064,7 +2091,7 @@ var createPageConfig = () => {
2064
2091
  type: "select",
2065
2092
  friendlyName: "Button Type",
2066
2093
  required: false,
2067
- helperText: "",
2094
+ helperText: "Determines the button behavior \u2014 links navigate away, while other types trigger actions",
2068
2095
  enum: [
2069
2096
  "link" /* Link */,
2070
2097
  "update" /* Update */,
@@ -2170,6 +2197,7 @@ var createCookieConfig = () => {
2170
2197
  friendlyName: "Cookie Configuration",
2171
2198
  type: "object",
2172
2199
  defaultCollapsed: true,
2200
+ helperText: "Settings for the cookie consent popup displayed to visitors",
2173
2201
  subFields: [
2174
2202
  {
2175
2203
  name: "popupBanner",
@@ -2245,7 +2273,8 @@ var createGeneralConfig = (bannerModelId) => {
2245
2273
  type: "text",
2246
2274
  defaultCollapsed: true,
2247
2275
  localized: false,
2248
- required: true
2276
+ required: true,
2277
+ helperText: "The brand name displayed across the website"
2249
2278
  },
2250
2279
  {
2251
2280
  name: "images",
@@ -2253,6 +2282,7 @@ var createGeneralConfig = (bannerModelId) => {
2253
2282
  type: "object",
2254
2283
  defaultCollapsed: true,
2255
2284
  localized: false,
2285
+ helperText: "Logo and brand images used throughout the website",
2256
2286
  subFields: [
2257
2287
  {
2258
2288
  name: "brandLogoSmall",
@@ -2362,6 +2392,7 @@ var createGeneralConfig = (bannerModelId) => {
2362
2392
  type: "object",
2363
2393
  defaultCollapsed: true,
2364
2394
  localized: false,
2395
+ helperText: "Links to legal pages and external profiles",
2365
2396
  subFields: [
2366
2397
  {
2367
2398
  name: "termsLink",
@@ -2416,15 +2447,15 @@ var createGeneralConfig = (bannerModelId) => {
2416
2447
  friendlyName: "Social Media Links",
2417
2448
  type: "object",
2418
2449
  localized: false,
2419
- helperText: "",
2450
+ helperText: "Links to the brand's social media profiles",
2420
2451
  defaultCollapsed: true,
2421
2452
  subFields: [
2422
2453
  {
2423
2454
  name: "twitter",
2424
- friendlyName: "Twitter",
2455
+ friendlyName: "Twitter / X",
2425
2456
  type: "url",
2426
2457
  localized: false,
2427
- helperText: "",
2458
+ helperText: "Link to the brand's Twitter/X profile",
2428
2459
  defaultCollapsed: true
2429
2460
  },
2430
2461
  {
@@ -2432,15 +2463,15 @@ var createGeneralConfig = (bannerModelId) => {
2432
2463
  friendlyName: "Facebook",
2433
2464
  type: "url",
2434
2465
  localized: false,
2435
- helperText: "",
2466
+ helperText: "Link to the brand's Facebook page",
2436
2467
  defaultCollapsed: true
2437
2468
  },
2438
2469
  {
2439
2470
  name: "youtube",
2440
- friendlyName: "Youtube",
2471
+ friendlyName: "YouTube",
2441
2472
  type: "url",
2442
2473
  localized: false,
2443
- helperText: "",
2474
+ helperText: "Link to the brand's YouTube channel",
2444
2475
  defaultCollapsed: true
2445
2476
  },
2446
2477
  {
@@ -2448,7 +2479,7 @@ var createGeneralConfig = (bannerModelId) => {
2448
2479
  friendlyName: "Instagram",
2449
2480
  type: "url",
2450
2481
  localized: false,
2451
- helperText: "",
2482
+ helperText: "Link to the brand's Instagram profile",
2452
2483
  defaultCollapsed: true
2453
2484
  },
2454
2485
  {
@@ -2456,15 +2487,15 @@ var createGeneralConfig = (bannerModelId) => {
2456
2487
  friendlyName: "Pinterest",
2457
2488
  type: "url",
2458
2489
  localized: false,
2459
- helperText: "",
2490
+ helperText: "Link to the brand's Pinterest profile",
2460
2491
  defaultCollapsed: true
2461
2492
  },
2462
2493
  {
2463
2494
  name: "tiktok",
2464
- friendlyName: "Tiktok",
2495
+ friendlyName: "TikTok",
2465
2496
  type: "url",
2466
2497
  localized: false,
2467
- helperText: "",
2498
+ helperText: "Link to the brand's TikTok profile",
2468
2499
  defaultCollapsed: true
2469
2500
  }
2470
2501
  ]
@@ -2518,7 +2549,31 @@ var createBrandConfigModel = (gridFilterModelId, bannerModelId) => {
2518
2549
  createFeatureConfig(gridFilterModelId),
2519
2550
  createSupportConfig(),
2520
2551
  createPageConfig(),
2521
- createCookieConfig()
2552
+ createCookieConfig(),
2553
+ {
2554
+ name: "seo",
2555
+ friendlyName: "SEO",
2556
+ type: "object",
2557
+ defaultCollapsed: true,
2558
+ localized: false,
2559
+ helperText: "Search engine optimization settings for the brand",
2560
+ subFields: [
2561
+ {
2562
+ name: "description",
2563
+ friendlyName: "Site Description",
2564
+ type: "longText",
2565
+ defaultCollapsed: false,
2566
+ helperText: "Default meta description for the website, used when pages do not provide their own"
2567
+ },
2568
+ {
2569
+ name: "knowsAbout",
2570
+ friendlyName: "Topics",
2571
+ type: "Tags",
2572
+ defaultCollapsed: false,
2573
+ helperText: "Topics the brand is knowledgeable about, used in structured data for search engines"
2574
+ }
2575
+ ]
2576
+ }
2522
2577
  ]
2523
2578
  };
2524
2579
  };
@@ -2612,7 +2667,8 @@ var BlogCommentModel = {
2612
2667
  name: "email",
2613
2668
  friendlyName: "Email",
2614
2669
  required: false,
2615
- defaultCollapsed: false
2670
+ defaultCollapsed: false,
2671
+ helperText: "Email address of the commenter"
2616
2672
  },
2617
2673
  {
2618
2674
  type: "html",
@@ -2688,7 +2744,7 @@ var ProductGroupType = /* @__PURE__ */ ((ProductGroupType2) => {
2688
2744
  ProductGroupType2["TrialGroup"] = "Trial Group";
2689
2745
  return ProductGroupType2;
2690
2746
  })(ProductGroupType || {});
2691
- var createProductGroupModel = (productModelId) => {
2747
+ var createProductGroupModel = (productModelId, sectionModelId) => {
2692
2748
  return {
2693
2749
  name: "product-group",
2694
2750
  displayName: "Product Group",
@@ -2735,7 +2791,7 @@ var createProductGroupModel = (productModelId) => {
2735
2791
  {
2736
2792
  name: "shortDescription",
2737
2793
  friendlyName: "Short Description",
2738
- type: "longText",
2794
+ type: "html",
2739
2795
  required: false,
2740
2796
  defaultCollapsed: true,
2741
2797
  localized: true,
@@ -2754,7 +2810,8 @@ var createProductGroupModel = (productModelId) => {
2754
2810
  type: "reference",
2755
2811
  defaultCollapsed: false,
2756
2812
  modelId: productModelId,
2757
- copyOnAdd: false
2813
+ copyOnAdd: false,
2814
+ helperText: "Select a product to include in this group"
2758
2815
  },
2759
2816
  {
2760
2817
  name: "displayName",
@@ -2788,7 +2845,7 @@ var createProductGroupModel = (productModelId) => {
2788
2845
  type: "boolean",
2789
2846
  required: false,
2790
2847
  defaultCollapsed: true,
2791
- localized: true,
2848
+ localized: false,
2792
2849
  helperText: "When true, this product group will not be displayed."
2793
2850
  },
2794
2851
  {
@@ -2796,6 +2853,7 @@ var createProductGroupModel = (productModelId) => {
2796
2853
  friendlyName: "Golden Hippo",
2797
2854
  type: "object",
2798
2855
  defaultCollapsed: true,
2856
+ helperText: "Integration data for Golden Hippo. Do not modify these values.",
2799
2857
  subFields: [
2800
2858
  {
2801
2859
  name: "productionId",
@@ -2829,6 +2887,16 @@ var createProductGroupModel = (productModelId) => {
2829
2887
  defaultCollapsed: true,
2830
2888
  localized: false,
2831
2889
  helperText: "The internal name for this product group."
2890
+ },
2891
+ {
2892
+ name: "informationCallout",
2893
+ friendlyName: "Information Callout",
2894
+ type: "reference",
2895
+ required: false,
2896
+ modelId: sectionModelId,
2897
+ copyOnAdd: true,
2898
+ defaultCollapsed: false,
2899
+ helperText: "Optional content section displayed alongside this product group"
2832
2900
  }
2833
2901
  ]
2834
2902
  };
@@ -2872,7 +2940,8 @@ var createProductGridConfigModel = (models) => {
2872
2940
  required: true,
2873
2941
  localized: false,
2874
2942
  copyOnAdd: true,
2875
- defaultCollapsed: false
2943
+ defaultCollapsed: false,
2944
+ helperText: "Select a category to include in this filter group"
2876
2945
  // makeEntryTitle: true,
2877
2946
  }
2878
2947
  ]
@@ -2892,7 +2961,8 @@ var createProductGridConfigModel = (models) => {
2892
2961
  required: true,
2893
2962
  localized: false,
2894
2963
  copyOnAdd: true,
2895
- defaultCollapsed: false
2964
+ defaultCollapsed: false,
2965
+ helperText: "Select an ingredient to include in this filter group"
2896
2966
  // makeEntryTitle: true,
2897
2967
  }
2898
2968
  ]
@@ -2912,7 +2982,8 @@ var createProductGridConfigModel = (models) => {
2912
2982
  required: true,
2913
2983
  localized: false,
2914
2984
  copyOnAdd: true,
2915
- defaultCollapsed: false
2985
+ defaultCollapsed: false,
2986
+ helperText: "Select a use case to include in this filter group"
2916
2987
  // makeEntryTitle: true,
2917
2988
  }
2918
2989
  ],
@@ -2933,7 +3004,8 @@ var createProductGridConfigModel = (models) => {
2933
3004
  required: true,
2934
3005
  localized: false,
2935
3006
  copyOnAdd: true,
2936
- defaultCollapsed: false
3007
+ defaultCollapsed: false,
3008
+ helperText: "Select a tag to include in this filter group"
2937
3009
  // makeEntryTitle: true,
2938
3010
  }
2939
3011
  ],