@goldenhippo/builder-cart-schemas 0.6.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",
@@ -2683,7 +2739,12 @@ var createBlogCommentModel = (pageModelId) => {
2683
2739
  };
2684
2740
 
2685
2741
  // src/data/product-group.model.ts
2686
- var createProductGroupModel = (productModelId) => {
2742
+ var ProductGroupType = /* @__PURE__ */ ((ProductGroupType2) => {
2743
+ ProductGroupType2["FlavorOptionGroup"] = "Flavor/Option Group";
2744
+ ProductGroupType2["TrialGroup"] = "Trial Group";
2745
+ return ProductGroupType2;
2746
+ })(ProductGroupType || {});
2747
+ var createProductGroupModel = (productModelId, sectionModelId) => {
2687
2748
  return {
2688
2749
  name: "product-group",
2689
2750
  displayName: "Product Group",
@@ -2730,7 +2791,7 @@ var createProductGroupModel = (productModelId) => {
2730
2791
  {
2731
2792
  name: "shortDescription",
2732
2793
  friendlyName: "Short Description",
2733
- type: "longText",
2794
+ type: "html",
2734
2795
  required: false,
2735
2796
  defaultCollapsed: true,
2736
2797
  localized: true,
@@ -2749,7 +2810,8 @@ var createProductGroupModel = (productModelId) => {
2749
2810
  type: "reference",
2750
2811
  defaultCollapsed: false,
2751
2812
  modelId: productModelId,
2752
- copyOnAdd: false
2813
+ copyOnAdd: false,
2814
+ helperText: "Select a product to include in this group"
2753
2815
  },
2754
2816
  {
2755
2817
  name: "displayName",
@@ -2783,7 +2845,7 @@ var createProductGroupModel = (productModelId) => {
2783
2845
  type: "boolean",
2784
2846
  required: false,
2785
2847
  defaultCollapsed: true,
2786
- localized: true,
2848
+ localized: false,
2787
2849
  helperText: "When true, this product group will not be displayed."
2788
2850
  },
2789
2851
  {
@@ -2791,6 +2853,7 @@ var createProductGroupModel = (productModelId) => {
2791
2853
  friendlyName: "Golden Hippo",
2792
2854
  type: "object",
2793
2855
  defaultCollapsed: true,
2856
+ helperText: "Integration data for Golden Hippo. Do not modify these values.",
2794
2857
  subFields: [
2795
2858
  {
2796
2859
  name: "productionId",
@@ -2824,12 +2887,27 @@ var createProductGroupModel = (productModelId) => {
2824
2887
  defaultCollapsed: true,
2825
2888
  localized: false,
2826
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"
2827
2900
  }
2828
2901
  ]
2829
2902
  };
2830
2903
  };
2831
2904
 
2832
2905
  // src/data/product-grid-filter-group.model.ts
2906
+ var FilterApplicationType = /* @__PURE__ */ ((FilterApplicationType2) => {
2907
+ FilterApplicationType2["Inclusive"] = "Inclusive";
2908
+ FilterApplicationType2["Exclusive"] = "Exclusive";
2909
+ return FilterApplicationType2;
2910
+ })(FilterApplicationType || {});
2833
2911
  var createProductGridConfigModel = (models) => {
2834
2912
  return {
2835
2913
  name: "product-grid-filter-group",
@@ -2862,7 +2940,8 @@ var createProductGridConfigModel = (models) => {
2862
2940
  required: true,
2863
2941
  localized: false,
2864
2942
  copyOnAdd: true,
2865
- defaultCollapsed: false
2943
+ defaultCollapsed: false,
2944
+ helperText: "Select a category to include in this filter group"
2866
2945
  // makeEntryTitle: true,
2867
2946
  }
2868
2947
  ]
@@ -2882,7 +2961,8 @@ var createProductGridConfigModel = (models) => {
2882
2961
  required: true,
2883
2962
  localized: false,
2884
2963
  copyOnAdd: true,
2885
- defaultCollapsed: false
2964
+ defaultCollapsed: false,
2965
+ helperText: "Select an ingredient to include in this filter group"
2886
2966
  // makeEntryTitle: true,
2887
2967
  }
2888
2968
  ]
@@ -2902,7 +2982,8 @@ var createProductGridConfigModel = (models) => {
2902
2982
  required: true,
2903
2983
  localized: false,
2904
2984
  copyOnAdd: true,
2905
- defaultCollapsed: false
2985
+ defaultCollapsed: false,
2986
+ helperText: "Select a use case to include in this filter group"
2906
2987
  // makeEntryTitle: true,
2907
2988
  }
2908
2989
  ],
@@ -2923,7 +3004,8 @@ var createProductGridConfigModel = (models) => {
2923
3004
  required: true,
2924
3005
  localized: false,
2925
3006
  copyOnAdd: true,
2926
- defaultCollapsed: false
3007
+ defaultCollapsed: false,
3008
+ helperText: "Select a tag to include in this filter group"
2927
3009
  // makeEntryTitle: true,
2928
3010
  }
2929
3011
  ],
@@ -2963,6 +3045,8 @@ Object.defineProperty(exports, "createProductUseCaseModel", {
2963
3045
  enumerable: true,
2964
3046
  get: function () { return builderSharedSchemas.createProductUseCaseModel; }
2965
3047
  });
3048
+ exports.FilterApplicationType = FilterApplicationType;
3049
+ exports.ProductGroupType = ProductGroupType;
2966
3050
  exports.createBlogCategoryModel = createBlogCategoryModel;
2967
3051
  exports.createBlogCommentModel = createBlogCommentModel;
2968
3052
  exports.createBrandConfigModel = createBrandConfigModel;