@shopbite-de/storefront 1.23.3 → 1.24.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.
Files changed (153) hide show
  1. package/.env.example +19 -0
  2. package/.github/workflows/build.yaml +1 -1
  3. package/.github/workflows/ci.yaml +6 -3
  4. package/CLAUDE.md +41 -3
  5. package/README.md +139 -40
  6. package/api-gen.config.json +9 -0
  7. package/api-types/storeApiSchema.shopbite.overrides.json +35 -0
  8. package/api-types/storeApiTypes.d.ts +95 -81
  9. package/app/app.vue +37 -53
  10. package/app/assets/css/main.css +20 -4
  11. package/app/components/Address/Fields.vue +2 -21
  12. package/app/components/AnimatedSection.vue +9 -4
  13. package/app/components/BottomNavi.vue +9 -2
  14. package/app/components/Cart/Item.vue +21 -10
  15. package/app/components/Category/Header.vue +9 -3
  16. package/app/components/Category/Listing.vue +51 -42
  17. package/app/components/Checkout/PaymentAndDelivery.vue +19 -3
  18. package/app/components/Checkout/Summary.vue +65 -1
  19. package/app/components/Cta.vue +4 -2
  20. package/app/components/Food/MarqueeItem.vue +20 -8
  21. package/app/components/Footer/Contact.vue +78 -0
  22. package/app/components/Footer/StoreStatus.vue +30 -0
  23. package/app/components/Footer.vue +2 -1
  24. package/app/components/Header/Body.vue +1 -1
  25. package/app/components/Header/Right.vue +27 -13
  26. package/app/components/Header/Title.vue +1 -0
  27. package/app/components/Header.vue +5 -15
  28. package/app/components/Hero.vue +45 -2
  29. package/app/components/ImageGallery.vue +11 -5
  30. package/app/components/Product/Card.vue +9 -3
  31. package/app/components/Product/CardFooter.vue +22 -12
  32. package/app/components/User/RegistrationForm.vue +0 -1
  33. package/app/components/Wishlist.vue +2 -15
  34. package/app/composables/useAddToCart.ts +13 -13
  35. package/app/composables/useAddressAutocomplete.ts +12 -19
  36. package/app/composables/useAddressSuggestionArea.ts +16 -0
  37. package/app/composables/useAddressValidation.ts +3 -19
  38. package/app/composables/useCartMutations.ts +168 -0
  39. package/app/composables/{useCategory.ts → useCategoryById.ts} +1 -1
  40. package/app/composables/useCategorySeo.ts +22 -25
  41. package/app/composables/useCheckoutMethodGuard.ts +201 -0
  42. package/app/composables/useMatomo.ts +25 -0
  43. package/app/composables/useMatomoConfig.ts +12 -0
  44. package/app/composables/useMenuSectionSchema.ts +55 -0
  45. package/app/composables/useNavigation.ts +12 -9
  46. package/app/composables/usePageSeo.ts +50 -0
  47. package/app/composables/useRestaurantSchema.ts +64 -0
  48. package/app/composables/useScrollAnimation.ts +39 -8
  49. package/app/composables/useSearchTracking.ts +33 -0
  50. package/app/composables/useSeoUrlRoute.ts +58 -0
  51. package/app/composables/useSortingSelection.ts +28 -0
  52. package/app/composables/useStoreStatus.ts +48 -0
  53. package/app/composables/useTrackEvent.ts +29 -23
  54. package/app/pages/[...all].vue +4 -4
  55. package/app/pages/account/recover/password/index.vue +1 -0
  56. package/app/pages/anmelden.vue +4 -0
  57. package/app/pages/bestellung/[id]/erfolg.vue +1 -5
  58. package/app/pages/bestellung/[id]/fehler.vue +2 -2
  59. package/app/pages/bestellung/[id]/index.vue +9 -3
  60. package/app/pages/bestellung/bestaetigen.vue +1 -5
  61. package/app/pages/bestellung/warenkorb.vue +1 -5
  62. package/app/pages/bestellung/zahlung-versand.vue +1 -5
  63. package/app/pages/c/[...all].vue +2 -35
  64. package/app/pages/index.vue +25 -13
  65. package/app/pages/kontakt.vue +4 -0
  66. package/app/pages/konto/adressen.vue +4 -0
  67. package/app/pages/konto/bestellung/[id].vue +4 -0
  68. package/app/pages/konto/bestellungen.vue +4 -0
  69. package/app/pages/konto/index.vue +4 -0
  70. package/app/pages/konto/profil.vue +4 -0
  71. package/app/pages/maintenance.vue +6 -0
  72. package/app/pages/merkliste.vue +1 -7
  73. package/app/pages/passwort-vergessen.vue +1 -0
  74. package/app/pages/registrierung/bestaetigen.vue +4 -0
  75. package/app/pages/registrierung/index.vue +4 -0
  76. package/app/pages/speisekarte/[...all].vue +2 -36
  77. package/app/pages/suche.vue +24 -21
  78. package/app/plugins/matomo.ts +35 -0
  79. package/app/utils/hydrateWhenVisible.ts +20 -0
  80. package/app/utils/media.ts +33 -0
  81. package/app/utils/openingHours.ts +67 -0
  82. package/app/utils/schema.ts +235 -0
  83. package/app/utils/seo.ts +56 -0
  84. package/app/utils/seoPath.ts +57 -0
  85. package/content/index.yml +10 -9
  86. package/content.config.ts +3 -0
  87. package/docs/notes/2026-07-05-issue-259-matomo-broken.md +7 -0
  88. package/docs/notes/2026-09-08-issue-240-shipping-method-blocked.md +83 -0
  89. package/docs/notes/2026-09-08-issue-241-cart-lock-conflicts.md +63 -0
  90. package/docs/notes/2026-09-08-issue-244-category-url-trailing-slash.md +65 -0
  91. package/docs/notes/2026-09-08-issue-276-payment-method-blocked.md +39 -0
  92. package/docs/notes/2026-09-08-issue-277-typecheck.md +99 -0
  93. package/docs/notes/2026-09-10-issue-250-animated-section.md +23 -0
  94. package/docs/notes/2026-09-10-issue-251-shop-data-in-base-layer.md +30 -0
  95. package/docs/notes/2026-09-10-issue-272-restaurant-schema.md +27 -0
  96. package/docs/notes/2026-09-10-issue-273-performance-media.md +64 -0
  97. package/docs/notes/2026-09-10-issue-274-seo-basics.md +49 -0
  98. package/docs/notes/2026-09-10-issue-275-accessibility.md +46 -0
  99. package/docs/notes/2026-09-10-issue-290-footer-nap.md +28 -0
  100. package/docs/notes/2026-09-10-issue-291-seo-url-trailing-slash.md +24 -0
  101. package/docs/notes/2026-09-10-issue-294-matomo-without-config.md +33 -0
  102. package/docs/notes/2026-09-10-issue-295-search-hydration-mismatch.md +25 -0
  103. package/docs/notes/2026-09-10-issue-296-track-direct-search.md +19 -0
  104. package/docs/notes/2026-09-10-issue-312-store-api-criteria-post.md +64 -0
  105. package/docs/notes/2026-09-10-issue-313-wishlist-scoped-tailwind.md +29 -0
  106. package/docs/notes/2026-09-10-issue-314-mobile-js-cost.md +119 -0
  107. package/node.dockerfile +5 -2
  108. package/nuxt.config.ts +74 -15
  109. package/package.json +5 -3
  110. package/patches/@shopware__nuxt-module@1.5.1.patch +32 -0
  111. package/pnpm-workspace.yaml +2 -0
  112. package/public/hero-poster.webp +0 -0
  113. package/server/api/__sitemap__/urls.get.ts +49 -0
  114. package/server/api/category/[categoryId].get.ts +20 -9
  115. package/server/api/content/home.get.ts +14 -0
  116. package/server/api/content/page.get.ts +22 -0
  117. package/server/api/listing/[categoryId].get.ts +12 -18
  118. package/server/api/product/[productId]/cross-selling.get.ts +3 -9
  119. package/server/api/product/[productId].get.ts +4 -8
  120. package/server/plugins/site-url.ts +13 -0
  121. package/server/plugins/sitemap-trailing-slash.ts +26 -0
  122. package/server/utils/sitemap.ts +60 -0
  123. package/server/utils/storeApi.ts +34 -0
  124. package/shopware.d.ts +35 -11
  125. package/test/nuxt/AddressFields.test.ts +2 -73
  126. package/test/nuxt/AnimatedSection.test.ts +67 -0
  127. package/test/nuxt/CartItem.test.ts +95 -0
  128. package/test/nuxt/FooterContact.test.ts +102 -0
  129. package/test/nuxt/FooterStoreStatus.test.ts +48 -0
  130. package/test/nuxt/HeaderRight.test.ts +14 -10
  131. package/test/nuxt/Hero.test.ts +68 -0
  132. package/test/nuxt/PaymentAndDelivery.test.ts +67 -8
  133. package/test/nuxt/RegistrationForm.test.ts +3 -0
  134. package/test/nuxt/useAddToCart.test.ts +34 -1
  135. package/test/nuxt/useAddressAutocomplete.test.ts +2 -38
  136. package/test/nuxt/useAddressSuggestionArea.test.ts +27 -0
  137. package/test/nuxt/useBusinessHours.test.ts +1 -1
  138. package/test/nuxt/useCartMutations.test.ts +225 -0
  139. package/test/nuxt/useCheckoutMethodGuard.test.ts +386 -0
  140. package/test/nuxt/useScrollAnimation.test.ts +55 -49
  141. package/test/nuxt/useSearchTracking.test.ts +71 -0
  142. package/test/nuxt/useSeoUrlRoute.test.ts +93 -0
  143. package/test/nuxt/useStoreStatus.test.ts +77 -0
  144. package/test/nuxt/useTrackEvent.test.ts +112 -0
  145. package/test/unit/media.spec.ts +49 -0
  146. package/test/unit/openingHours.spec.ts +59 -0
  147. package/test/unit/schema.spec.ts +243 -0
  148. package/test/unit/seo.spec.ts +107 -0
  149. package/test/unit/seoPath.spec.ts +116 -0
  150. package/test/unit/sitemap.spec.ts +88 -0
  151. package/test/unit/useCategorySeo.spec.ts +40 -30
  152. package/test/unit/useSortingSelection.spec.ts +39 -0
  153. package/app/composables/useValidCitiesForDelivery.ts +0 -12
@@ -14,6 +14,19 @@ type GenericRecord =
14
14
  | {
15
15
  [key: string]: GenericRecord;
16
16
  };
17
+ type CustomFields = {
18
+ [key: string]: CustomFieldValue;
19
+ };
20
+ type CustomFieldValue =
21
+ | null
22
+ | string
23
+ | string[]
24
+ | number
25
+ | boolean
26
+ | CustomFieldValue[]
27
+ | {
28
+ [key: string]: CustomFieldValue;
29
+ };
17
30
  export type components = {
18
31
  schemas: Schemas;
19
32
  parameters: {
@@ -253,7 +266,7 @@ export type Schemas = {
253
266
  seoUrls?: components["schemas"]["SeoUrl"][];
254
267
  translated: {
255
268
  categoryId: string;
256
- customFields?: GenericRecord;
269
+ customFields?: CustomFields | null;
257
270
  description?: string;
258
271
  externalLink?: string;
259
272
  internalLink?: string;
@@ -487,7 +500,7 @@ export type Schemas = {
487
500
  /** Format: date-time */
488
501
  readonly createdAt?: string;
489
502
  customEntityTypeId?: string;
490
- customFields?: GenericRecord;
503
+ customFields?: CustomFields | null;
491
504
  description?: string;
492
505
  /** Shows nested categories on a product category page. */
493
506
  displayNestedProducts?: boolean;
@@ -580,7 +593,7 @@ export type Schemas = {
580
593
  /** Format: date-time */
581
594
  readonly createdAt?: string;
582
595
  customEntityTypeId?: string;
583
- customFields?: GenericRecord;
596
+ customFields?: CustomFields | null;
584
597
  description?: string;
585
598
  /** Shows nested categories on a product category page. */
586
599
  displayNestedProducts?: boolean;
@@ -757,7 +770,7 @@ export type Schemas = {
757
770
  readonly createdAt?: string;
758
771
  /** One or more CSS classes added and separated by spaces. */
759
772
  cssClass?: string;
760
- customFields?: GenericRecord;
773
+ customFields?: CustomFields | null;
761
774
  id: string;
762
775
  /** Defines for the margin area on the bottom of an element. */
763
776
  marginBottom?: string;
@@ -800,7 +813,7 @@ export type Schemas = {
800
813
  readonly createdAt?: string;
801
814
  /** One or more CSS classes added and separated by spaces. */
802
815
  cssClass?: string;
803
- customFields?: GenericRecord;
816
+ customFields?: CustomFields | null;
804
817
  /** This field will be implemented in the future. */
805
818
  entity?: string;
806
819
  id: string;
@@ -843,7 +856,7 @@ export type Schemas = {
843
856
  readonly createdAt?: string;
844
857
  /** One or more CSS classes added and separated by spaces. */
845
858
  cssClass?: string;
846
- customFields?: GenericRecord;
859
+ customFields?: CustomFields | null;
847
860
  id: string;
848
861
  /** Hides the sidebar on mobile viewports. It can hold values such as 'mobile', 'wrap', any other string or be unset. */
849
862
  mobileBehavior?: string;
@@ -882,7 +895,7 @@ export type Schemas = {
882
895
  config?: GenericRecord;
883
896
  /** Format: date-time */
884
897
  readonly createdAt?: string;
885
- customFields?: GenericRecord;
898
+ customFields?: CustomFields | null;
886
899
  readonly data?: GenericRecord;
887
900
  fieldConfig?: GenericRecord;
888
901
  id: string;
@@ -991,7 +1004,7 @@ export type Schemas = {
991
1004
  currencyId: string;
992
1005
  enabled: boolean;
993
1006
  };
994
- customFields?: GenericRecord;
1007
+ customFields?: CustomFields | null;
995
1008
  /** Default pattern of postal or zip code. */
996
1009
  defaultPostalCodePattern?: string;
997
1010
  /** The country's state is displayed in the address when boolean value is `true`. */
@@ -1057,7 +1070,7 @@ export type Schemas = {
1057
1070
  currencyId: string;
1058
1071
  enabled: boolean;
1059
1072
  };
1060
- customFields?: GenericRecord;
1073
+ customFields?: CustomFields | null;
1061
1074
  /** Default pattern of postal or zip code. */
1062
1075
  defaultPostalCodePattern?: string;
1063
1076
  /** The country's state is displayed in the address when boolean value is `true`. */
@@ -1120,7 +1133,7 @@ export type Schemas = {
1120
1133
  countryId: string;
1121
1134
  /** Format: date-time */
1122
1135
  readonly createdAt?: string;
1123
- customFields?: GenericRecord;
1136
+ customFields?: CustomFields | null;
1124
1137
  id: string;
1125
1138
  name: string;
1126
1139
  /**
@@ -1145,7 +1158,7 @@ export type Schemas = {
1145
1158
  countryId: string;
1146
1159
  /** Format: date-time */
1147
1160
  readonly createdAt?: string;
1148
- customFields?: GenericRecord;
1161
+ customFields?: CustomFields | null;
1149
1162
  id: string;
1150
1163
  name: string;
1151
1164
  /**
@@ -1214,7 +1227,7 @@ export type Schemas = {
1214
1227
  Currency: {
1215
1228
  /** Format: date-time */
1216
1229
  readonly createdAt?: string;
1217
- customFields?: GenericRecord;
1230
+ customFields?: CustomFields | null;
1218
1231
  /**
1219
1232
  * Format: float
1220
1233
  * Currency exchange rate.
@@ -1272,7 +1285,7 @@ export type Schemas = {
1272
1285
  CurrencyJsonApi: components["schemas"]["resource"] & {
1273
1286
  /** Format: date-time */
1274
1287
  readonly createdAt?: string;
1275
- customFields?: GenericRecord;
1288
+ customFields?: CustomFields | null;
1276
1289
  /**
1277
1290
  * Format: float
1278
1291
  * Currency exchange rate.
@@ -1370,7 +1383,7 @@ export type Schemas = {
1370
1383
  createdById?: string;
1371
1384
  /** Unique number assigned to identity a customer. */
1372
1385
  customerNumber: string;
1373
- customFields?: GenericRecord;
1386
+ customFields?: CustomFields | null;
1374
1387
  /** Default billing address for the customer */
1375
1388
  defaultBillingAddress?: components["schemas"]["CustomerAddress"];
1376
1389
  /** Unique identity of default billing address. */
@@ -1489,7 +1502,7 @@ export type Schemas = {
1489
1502
  readonly createdAt?: string;
1490
1503
  /** Unique identity of customer. */
1491
1504
  customerId: string;
1492
- customFields?: GenericRecord;
1505
+ customFields?: CustomFields | null;
1493
1506
  /** Name of customer's department. */
1494
1507
  department?: string;
1495
1508
  /** First name of the customer. */
@@ -1526,7 +1539,7 @@ export type Schemas = {
1526
1539
  countryId: string;
1527
1540
  countryState?: components["schemas"]["CountryState"];
1528
1541
  countryStateId?: string;
1529
- customFields?: GenericRecord;
1542
+ customFields?: CustomFields | null;
1530
1543
  department?: string;
1531
1544
  firstName: string;
1532
1545
  lastName: string;
@@ -1554,7 +1567,7 @@ export type Schemas = {
1554
1567
  readonly createdAt?: string;
1555
1568
  /** Unique identity of customer. */
1556
1569
  customerId: string;
1557
- customFields?: GenericRecord;
1570
+ customFields?: CustomFields | null;
1558
1571
  /** Name of customer's department. */
1559
1572
  department?: string;
1560
1573
  /** First name of the customer. */
@@ -1641,7 +1654,7 @@ export type Schemas = {
1641
1654
  CustomerGroup: {
1642
1655
  /** Format: date-time */
1643
1656
  readonly createdAt?: string;
1644
- customFields?: GenericRecord;
1657
+ customFields?: CustomFields | null;
1645
1658
  /** If boolean value is `true` gross value is displayed else, net value will be displayed to the customer. */
1646
1659
  displayGross?: boolean;
1647
1660
  id: string;
@@ -1655,6 +1668,7 @@ export type Schemas = {
1655
1668
  translated: {
1656
1669
  name: string;
1657
1670
  registrationIntroduction: string;
1671
+ registrationOnlyCompanyRegistration?: boolean;
1658
1672
  registrationSeoMetaDescription: string;
1659
1673
  registrationTitle: string;
1660
1674
  };
@@ -1679,7 +1693,7 @@ export type Schemas = {
1679
1693
  readonly createdAt?: string;
1680
1694
  /** Unique identity of the customer. */
1681
1695
  customerId: string;
1682
- customFields?: GenericRecord;
1696
+ customFields?: CustomFields | null;
1683
1697
  id: string;
1684
1698
  products?: components["schemas"]["CustomerWishlistProduct"][];
1685
1699
  /** Format: date-time */
@@ -1698,7 +1712,7 @@ export type Schemas = {
1698
1712
  DeliveryTime: {
1699
1713
  /** Format: date-time */
1700
1714
  readonly createdAt?: string;
1701
- customFields?: GenericRecord;
1715
+ customFields?: CustomFields | null;
1702
1716
  id: string;
1703
1717
  /**
1704
1718
  * Format: int64
@@ -1727,7 +1741,7 @@ export type Schemas = {
1727
1741
  };
1728
1742
  /** Format: date-time */
1729
1743
  readonly createdAt?: string;
1730
- customFields?: GenericRecord;
1744
+ customFields?: CustomFields | null;
1731
1745
  deepLinkCode: string;
1732
1746
  dependentDocuments?: components["schemas"]["Document"][];
1733
1747
  documentA11yMediaFile?: components["schemas"]["Media"];
@@ -1753,7 +1767,7 @@ export type Schemas = {
1753
1767
  config?: GenericRecord;
1754
1768
  /** Format: date-time */
1755
1769
  readonly createdAt?: string;
1756
- customFields?: GenericRecord;
1770
+ customFields?: CustomFields | null;
1757
1771
  /** Unique number associated with every document. */
1758
1772
  documentNumber?: string;
1759
1773
  /** Unique identity of the document type. */
@@ -1790,7 +1804,7 @@ export type Schemas = {
1790
1804
  DocumentType: {
1791
1805
  /** Format: date-time */
1792
1806
  readonly createdAt?: string;
1793
- customFields?: GenericRecord;
1807
+ customFields?: CustomFields | null;
1794
1808
  id: string;
1795
1809
  name: string;
1796
1810
  /** Technical name of document type. */
@@ -1932,7 +1946,7 @@ export type Schemas = {
1932
1946
  cmsPageVersionId?: string;
1933
1947
  /** Format: date-time */
1934
1948
  readonly createdAt?: string;
1935
- customFields?: GenericRecord;
1949
+ customFields?: CustomFields | null;
1936
1950
  id: string;
1937
1951
  keywords?: string;
1938
1952
  metaDescription?: string;
@@ -1962,7 +1976,7 @@ export type Schemas = {
1962
1976
  cmsPageVersionId?: string;
1963
1977
  /** Format: date-time */
1964
1978
  readonly createdAt?: string;
1965
- customFields?: GenericRecord;
1979
+ customFields?: CustomFields | null;
1966
1980
  id: string;
1967
1981
  keywords?: string;
1968
1982
  metaDescription?: string;
@@ -2024,7 +2038,7 @@ export type Schemas = {
2024
2038
  children?: components["schemas"]["Language"][];
2025
2039
  /** Format: date-time */
2026
2040
  readonly createdAt?: string;
2027
- customFields?: GenericRecord;
2041
+ customFields?: CustomFields | null;
2028
2042
  id: string;
2029
2043
  /** Locale defining regional settings (date, time, number formats) */
2030
2044
  locale?: components["schemas"]["Locale"];
@@ -2046,7 +2060,7 @@ export type Schemas = {
2046
2060
  active?: boolean;
2047
2061
  /** Format: date-time */
2048
2062
  readonly createdAt?: string;
2049
- customFields?: GenericRecord;
2063
+ customFields?: CustomFields | null;
2050
2064
  id: string;
2051
2065
  /** Unique identity of locale. */
2052
2066
  localeId: string;
@@ -2199,7 +2213,7 @@ export type Schemas = {
2199
2213
  code: string;
2200
2214
  /** Format: date-time */
2201
2215
  readonly createdAt?: string;
2202
- customFields?: GenericRecord;
2216
+ customFields?: CustomFields | null;
2203
2217
  id: string;
2204
2218
  name: string;
2205
2219
  territory: string;
@@ -2245,7 +2259,7 @@ export type Schemas = {
2245
2259
  contentPlain: string;
2246
2260
  /** Format: date-time */
2247
2261
  readonly createdAt?: string;
2248
- customFields?: GenericRecord;
2262
+ customFields?: CustomFields | null;
2249
2263
  id?: string;
2250
2264
  mailTemplateType?: components["schemas"]["MailTemplateType"];
2251
2265
  media?: components["schemas"]["MailTemplateMedia"][];
@@ -2271,7 +2285,7 @@ export type Schemas = {
2271
2285
  MailTemplateType: {
2272
2286
  /** Format: date-time */
2273
2287
  readonly createdAt?: string;
2274
- customFields?: GenericRecord;
2288
+ customFields?: CustomFields | null;
2275
2289
  id: string;
2276
2290
  name: string;
2277
2291
  /** Technical name of mail template. */
@@ -2376,7 +2390,7 @@ export type Schemas = {
2376
2390
  config?: GenericRecord;
2377
2391
  /** Format: date-time */
2378
2392
  readonly createdAt?: string;
2379
- customFields?: GenericRecord;
2393
+ customFields?: CustomFields | null;
2380
2394
  /** Type of file indication. For example: jpeg, png. */
2381
2395
  fileExtension: string;
2382
2396
  /** Name of the media file uploaded. */
@@ -2454,7 +2468,7 @@ export type Schemas = {
2454
2468
  MediaThumbnail: {
2455
2469
  /** Format: date-time */
2456
2470
  readonly createdAt?: string;
2457
- customFields?: GenericRecord;
2471
+ customFields?: CustomFields | null;
2458
2472
  /**
2459
2473
  * Format: int64
2460
2474
  * Height of the thumbnail.
@@ -2478,7 +2492,7 @@ export type Schemas = {
2478
2492
  MediaThumbnailSize: {
2479
2493
  /** Format: date-time */
2480
2494
  readonly createdAt?: string;
2481
- customFields?: GenericRecord;
2495
+ customFields?: CustomFields | null;
2482
2496
  /**
2483
2497
  * Format: int64
2484
2498
  * Height of the thumbnail.
@@ -2639,7 +2653,7 @@ export type Schemas = {
2639
2653
  currencyId: string;
2640
2654
  /** Comments given by comments. */
2641
2655
  customerComment?: string;
2642
- customFields?: GenericRecord;
2656
+ customFields?: CustomFields | null;
2643
2657
  /** It is a generated special code linked to email. It is used to access orders placed by guest customers. */
2644
2658
  deepLinkCode?: string;
2645
2659
  /** Delivery information including shipping address and tracking */
@@ -2742,7 +2756,7 @@ export type Schemas = {
2742
2756
  countryStateId?: string;
2743
2757
  /** Format: date-time */
2744
2758
  readonly createdAt?: string;
2745
- customFields?: GenericRecord;
2759
+ customFields?: CustomFields | null;
2746
2760
  /** Name of the department. */
2747
2761
  department?: string;
2748
2762
  /** First name of the customer. */
@@ -2774,7 +2788,7 @@ export type Schemas = {
2774
2788
  readonly createdAt?: string;
2775
2789
  /** Unique number assigned to the customer. */
2776
2790
  customerNumber?: string;
2777
- customFields?: GenericRecord;
2791
+ customFields?: CustomFields | null;
2778
2792
  /** Email address of the customer. */
2779
2793
  email: string;
2780
2794
  /** First name of the customer. */
@@ -2795,7 +2809,7 @@ export type Schemas = {
2795
2809
  OrderDelivery: {
2796
2810
  /** Format: date-time */
2797
2811
  readonly createdAt?: string;
2798
- customFields?: GenericRecord;
2812
+ customFields?: CustomFields | null;
2799
2813
  id: string;
2800
2814
  /** Unique identity of order. */
2801
2815
  orderId: string;
@@ -2856,7 +2870,7 @@ export type Schemas = {
2856
2870
  OrderDeliveryPosition: {
2857
2871
  /** Format: date-time */
2858
2872
  readonly createdAt?: string;
2859
- customFields?: GenericRecord;
2873
+ customFields?: CustomFields | null;
2860
2874
  id: string;
2861
2875
  /** Unique identity of order delivery. */
2862
2876
  orderDeliveryId: string;
@@ -2916,7 +2930,7 @@ export type Schemas = {
2916
2930
  coverId?: string;
2917
2931
  /** Format: date-time */
2918
2932
  readonly createdAt?: string;
2919
- customFields?: GenericRecord;
2933
+ customFields?: CustomFields | null;
2920
2934
  /** Description of line items in an order. */
2921
2935
  description?: string;
2922
2936
  /** Digital downloads associated with this line item */
@@ -2941,7 +2955,7 @@ export type Schemas = {
2941
2955
  readonly categoryIds?: string[];
2942
2956
  /** Format: date-time */
2943
2957
  readonly createdAt?: string;
2944
- customFields?: GenericRecord;
2958
+ customFields?: CustomFields | null;
2945
2959
  features?: unknown[];
2946
2960
  isCloseout?: boolean;
2947
2961
  isNew?: boolean;
@@ -3025,7 +3039,7 @@ export type Schemas = {
3025
3039
  accessGranted: boolean;
3026
3040
  /** Format: date-time */
3027
3041
  readonly createdAt?: string;
3028
- customFields?: GenericRecord;
3042
+ customFields?: CustomFields | null;
3029
3043
  id: string;
3030
3044
  media: components["schemas"]["Media"];
3031
3045
  /** Unique identity of media. */
@@ -3088,7 +3102,7 @@ export type Schemas = {
3088
3102
  captures?: components["schemas"]["OrderTransactionCapture"][];
3089
3103
  /** Format: date-time */
3090
3104
  readonly createdAt?: string;
3091
- customFields?: GenericRecord;
3105
+ customFields?: CustomFields | null;
3092
3106
  id: string;
3093
3107
  /** Unique identity of an order. */
3094
3108
  orderId: string;
@@ -3132,7 +3146,7 @@ export type Schemas = {
3132
3146
  };
3133
3147
  /** Format: date-time */
3134
3148
  readonly createdAt?: string;
3135
- customFields?: GenericRecord;
3149
+ customFields?: CustomFields | null;
3136
3150
  /** External payment provider token. */
3137
3151
  externalReference?: string;
3138
3152
  id: string;
@@ -3177,7 +3191,7 @@ export type Schemas = {
3177
3191
  captureVersionId?: string;
3178
3192
  /** Format: date-time */
3179
3193
  readonly createdAt?: string;
3180
- customFields?: GenericRecord;
3194
+ customFields?: CustomFields | null;
3181
3195
  /** External payment provider token. */
3182
3196
  externalReference?: string;
3183
3197
  id: string;
@@ -3218,7 +3232,7 @@ export type Schemas = {
3218
3232
  };
3219
3233
  /** Format: date-time */
3220
3234
  readonly createdAt?: string;
3221
- customFields?: GenericRecord;
3235
+ customFields?: CustomFields | null;
3222
3236
  /** External payment provider token. */
3223
3237
  externalReference?: string;
3224
3238
  id: string;
@@ -3248,7 +3262,7 @@ export type Schemas = {
3248
3262
  afterOrderEnabled?: boolean;
3249
3263
  /** Format: date-time */
3250
3264
  readonly createdAt?: string;
3251
- customFields?: GenericRecord;
3265
+ customFields?: CustomFields | null;
3252
3266
  description?: string;
3253
3267
  readonly distinguishableName?: string;
3254
3268
  id: string;
@@ -3283,7 +3297,7 @@ export type Schemas = {
3283
3297
  afterOrderEnabled?: boolean;
3284
3298
  /** Format: date-time */
3285
3299
  readonly createdAt?: string;
3286
- customFields?: GenericRecord;
3300
+ customFields?: CustomFields | null;
3287
3301
  description?: string;
3288
3302
  readonly distinguishableName?: string;
3289
3303
  id: string;
@@ -3415,7 +3429,7 @@ export type Schemas = {
3415
3429
  readonly createdAt?: string;
3416
3430
  /** Cross-selling configurations (related products, accessories, similar items) */
3417
3431
  crossSellings?: components["schemas"]["ProductCrossSelling"][];
3418
- customFields?: GenericRecord;
3432
+ customFields?: CustomFields | null;
3419
3433
  /** Estimated delivery time for the product */
3420
3434
  deliveryTime?: components["schemas"]["DeliveryTime"];
3421
3435
  /** Unique identity of delivery time. */
@@ -3604,7 +3618,7 @@ export type Schemas = {
3604
3618
  ProductConfiguratorSetting: {
3605
3619
  /** Format: date-time */
3606
3620
  readonly createdAt?: string;
3607
- customFields?: GenericRecord;
3621
+ customFields?: CustomFields | null;
3608
3622
  id: string;
3609
3623
  media?: components["schemas"]["Media"];
3610
3624
  /** Unique identity of media. */
@@ -3671,7 +3685,7 @@ export type Schemas = {
3671
3685
  ProductDownload: {
3672
3686
  /** Format: date-time */
3673
3687
  readonly createdAt?: string;
3674
- customFields?: GenericRecord;
3688
+ customFields?: CustomFields | null;
3675
3689
  id: string;
3676
3690
  media?: components["schemas"]["Media"];
3677
3691
  /** Unique identity of media. */
@@ -3735,7 +3749,7 @@ export type Schemas = {
3735
3749
  coverId?: string;
3736
3750
  /** Format: date-time */
3737
3751
  readonly createdAt?: string;
3738
- customFields?: GenericRecord;
3752
+ customFields?: CustomFields | null;
3739
3753
  /** Unique identity of delivery time. */
3740
3754
  deliveryTimeId?: string;
3741
3755
  description?: string;
@@ -4377,7 +4391,7 @@ export type Schemas = {
4377
4391
  ProductManufacturer: {
4378
4392
  /** Format: date-time */
4379
4393
  readonly createdAt?: string;
4380
- customFields?: GenericRecord;
4394
+ customFields?: CustomFields | null;
4381
4395
  description?: string;
4382
4396
  id: string;
4383
4397
  link?: string;
@@ -4433,7 +4447,7 @@ export type Schemas = {
4433
4447
  ProductMedia: {
4434
4448
  /** Format: date-time */
4435
4449
  readonly createdAt?: string;
4436
- customFields?: GenericRecord;
4450
+ customFields?: CustomFields | null;
4437
4451
  id: string;
4438
4452
  media: components["schemas"]["Media"];
4439
4453
  /** Unique identity of the media. */
@@ -4464,7 +4478,7 @@ export type Schemas = {
4464
4478
  content: string;
4465
4479
  /** Format: date-time */
4466
4480
  readonly createdAt?: string;
4467
- customFields?: GenericRecord;
4481
+ customFields?: CustomFields | null;
4468
4482
  /** External user name. */
4469
4483
  externalUser?: string;
4470
4484
  id: string;
@@ -4526,7 +4540,7 @@ export type Schemas = {
4526
4540
  ProductStream: {
4527
4541
  /** Format: date-time */
4528
4542
  readonly createdAt?: string;
4529
- customFields?: GenericRecord;
4543
+ customFields?: CustomFields | null;
4530
4544
  description?: string;
4531
4545
  id: string;
4532
4546
  name: string;
@@ -4554,7 +4568,7 @@ export type Schemas = {
4554
4568
  Promotion: {
4555
4569
  /** Format: date-time */
4556
4570
  readonly createdAt?: string;
4557
- customFields?: GenericRecord;
4571
+ customFields?: CustomFields | null;
4558
4572
  id?: string;
4559
4573
  /** Format: date-time */
4560
4574
  readonly updatedAt?: string;
@@ -4597,7 +4611,7 @@ export type Schemas = {
4597
4611
  PropertyGroup: {
4598
4612
  /** Format: date-time */
4599
4613
  readonly createdAt?: string;
4600
- customFields?: GenericRecord;
4614
+ customFields?: CustomFields | null;
4601
4615
  description?: string;
4602
4616
  /** Property groups can be displayed in the form of text, image, dropdown or color. */
4603
4617
  displayType?: string;
@@ -4628,7 +4642,7 @@ export type Schemas = {
4628
4642
  combinable?: boolean;
4629
4643
  /** Format: date-time */
4630
4644
  readonly createdAt?: string;
4631
- customFields?: GenericRecord;
4645
+ customFields?: CustomFields | null;
4632
4646
  group: components["schemas"]["PropertyGroup"];
4633
4647
  /** Unique identity of property group. */
4634
4648
  groupId: string;
@@ -4690,7 +4704,7 @@ export type Schemas = {
4690
4704
  Rule: {
4691
4705
  /** Format: date-time */
4692
4706
  readonly createdAt?: string;
4693
- customFields?: GenericRecord;
4707
+ customFields?: CustomFields | null;
4694
4708
  /** Description of the rule. */
4695
4709
  description?: string;
4696
4710
  id?: string;
@@ -4723,7 +4737,7 @@ export type Schemas = {
4723
4737
  currencyId: string;
4724
4738
  /** Unique identity of customer group. */
4725
4739
  customerGroupId: string;
4726
- customFields?: GenericRecord;
4740
+ customFields?: CustomFields | null;
4727
4741
  /** Domain URLs configured for the sales channel */
4728
4742
  domains?: components["schemas"]["Domain"][];
4729
4743
  /** Root category for footer navigation */
@@ -4865,7 +4879,7 @@ export type Schemas = {
4865
4879
  currency?: components["schemas"]["Currency"];
4866
4880
  /** Unique identity of currency. */
4867
4881
  currencyId: string;
4868
- customFields?: GenericRecord;
4882
+ customFields?: CustomFields | null;
4869
4883
  /** This is used to toggle the language configurations, say between DE and DE-DE for instance. */
4870
4884
  hreflangUseOnlyLocale?: boolean;
4871
4885
  id: string;
@@ -4893,7 +4907,7 @@ export type Schemas = {
4893
4907
  Salutation: {
4894
4908
  /** Format: date-time */
4895
4909
  readonly createdAt?: string;
4896
- customFields?: GenericRecord;
4910
+ customFields?: CustomFields | null;
4897
4911
  displayName: string;
4898
4912
  id: string;
4899
4913
  letterName: string;
@@ -4910,7 +4924,7 @@ export type Schemas = {
4910
4924
  SalutationJsonApi: components["schemas"]["resource"] & {
4911
4925
  /** Format: date-time */
4912
4926
  readonly createdAt?: string;
4913
- customFields?: GenericRecord;
4927
+ customFields?: CustomFields | null;
4914
4928
  displayName: string;
4915
4929
  id: string;
4916
4930
  letterName: string;
@@ -4941,7 +4955,7 @@ export type Schemas = {
4941
4955
  SeoUrl: {
4942
4956
  /** Format: date-time */
4943
4957
  readonly createdAt?: string;
4944
- customFields?: GenericRecord;
4958
+ customFields?: CustomFields | null;
4945
4959
  /** Runtime field, cannot be used as part of the criteria. */
4946
4960
  error?: string;
4947
4961
  /** The key that references to product or category entity ID. */
@@ -4977,7 +4991,7 @@ export type Schemas = {
4977
4991
  SeoUrlJsonApi: components["schemas"]["resource"] & {
4978
4992
  /** Format: date-time */
4979
4993
  readonly createdAt?: string;
4980
- customFields?: GenericRecord;
4994
+ customFields?: CustomFields | null;
4981
4995
  /** Runtime field, cannot be used as part of the criteria. */
4982
4996
  error?: string;
4983
4997
  /** The key that references to product or category entity ID. */
@@ -5007,7 +5021,7 @@ export type Schemas = {
5007
5021
  SeoUrlTemplate: {
5008
5022
  /** Format: date-time */
5009
5023
  readonly createdAt?: string;
5010
- customFields?: GenericRecord;
5024
+ customFields?: CustomFields | null;
5011
5025
  id?: string;
5012
5026
  /** Created SEO URL template can be made usable by setting `isValid` to true. */
5013
5027
  isValid?: boolean;
@@ -5023,7 +5037,7 @@ export type Schemas = {
5023
5037
  availabilityRule?: components["schemas"]["Rule"];
5024
5038
  /** Format: date-time */
5025
5039
  readonly createdAt?: string;
5026
- customFields?: GenericRecord;
5040
+ customFields?: CustomFields | null;
5027
5041
  /** Estimated delivery time information */
5028
5042
  deliveryTime?: components["schemas"]["DeliveryTime"];
5029
5043
  /** Unique identity of deliveryTime. */
@@ -5067,7 +5081,7 @@ export type Schemas = {
5067
5081
  active?: boolean;
5068
5082
  /** Format: date-time */
5069
5083
  readonly createdAt?: string;
5070
- customFields?: GenericRecord;
5084
+ customFields?: CustomFields | null;
5071
5085
  /** Unique identity of deliveryTime. */
5072
5086
  deliveryTimeId: string;
5073
5087
  description?: string;
@@ -5324,7 +5338,7 @@ export type Schemas = {
5324
5338
  /** Format: date-time */
5325
5339
  readonly createdAt?: string;
5326
5340
  currencyPrice?: components["schemas"]["Price"][];
5327
- customFields?: GenericRecord;
5341
+ customFields?: CustomFields | null;
5328
5342
  id: string;
5329
5343
  /**
5330
5344
  * Format: float
@@ -5395,7 +5409,7 @@ export type Schemas = {
5395
5409
  Snippet: {
5396
5410
  /** Format: date-time */
5397
5411
  readonly createdAt?: string;
5398
- customFields?: GenericRecord;
5412
+ customFields?: CustomFields | null;
5399
5413
  id?: string;
5400
5414
  /** Unique identity od snippet set. */
5401
5415
  setId: string;
@@ -5409,7 +5423,7 @@ export type Schemas = {
5409
5423
  SnippetSet: {
5410
5424
  /** Format: date-time */
5411
5425
  readonly createdAt?: string;
5412
- customFields?: GenericRecord;
5426
+ customFields?: CustomFields | null;
5413
5427
  id?: string;
5414
5428
  /** ISO nomenclature used to classify languages. */
5415
5429
  iso: string;
@@ -5447,7 +5461,7 @@ export type Schemas = {
5447
5461
  StateMachineState: {
5448
5462
  /** Format: date-time */
5449
5463
  readonly createdAt?: string;
5450
- customFields?: GenericRecord;
5464
+ customFields?: CustomFields | null;
5451
5465
  id?: string;
5452
5466
  name: string;
5453
5467
  /** Technical name of StateMachineState. */
@@ -5508,7 +5522,7 @@ export type Schemas = {
5508
5522
  Tax: {
5509
5523
  /** Format: date-time */
5510
5524
  readonly createdAt?: string;
5511
- customFields?: GenericRecord;
5525
+ customFields?: CustomFields | null;
5512
5526
  id: string;
5513
5527
  /** Name defined for a Tax. */
5514
5528
  name: string;
@@ -5532,7 +5546,7 @@ export type Schemas = {
5532
5546
  appId?: string;
5533
5547
  /** Format: date-time */
5534
5548
  readonly createdAt?: string;
5535
- customFields?: GenericRecord;
5549
+ customFields?: CustomFields | null;
5536
5550
  id: string;
5537
5551
  name: string;
5538
5552
  /**
@@ -5571,7 +5585,7 @@ export type Schemas = {
5571
5585
  configValues?: GenericRecord;
5572
5586
  /** Format: date-time */
5573
5587
  readonly createdAt?: string;
5574
- customFields?: GenericRecord;
5588
+ customFields?: CustomFields | null;
5575
5589
  description?: string;
5576
5590
  helpTexts?: GenericRecord;
5577
5591
  id: string;
@@ -5596,7 +5610,7 @@ export type Schemas = {
5596
5610
  Unit: {
5597
5611
  /** Format: date-time */
5598
5612
  readonly createdAt?: string;
5599
- customFields?: GenericRecord;
5613
+ customFields?: CustomFields | null;
5600
5614
  id: string;
5601
5615
  name: string;
5602
5616
  shortCode: string;
@@ -7375,7 +7389,7 @@ export type operations = {
7375
7389
  /** City */
7376
7390
  city?: string;
7377
7391
  /** Custom field data that should be added to the subscription. */
7378
- customFields?: string;
7392
+ customFields?: CustomFields | null;
7379
7393
  /** Email address that will receive the confirmation and the newsletter. */
7380
7394
  email: string;
7381
7395
  /** First name */
@@ -7397,7 +7411,10 @@ export type operations = {
7397
7411
  /** Zip code */
7398
7412
  zipCode?: string;
7399
7413
  };
7400
- response: never;
7414
+ response: {
7415
+ /** @enum {string} */
7416
+ status: "direct" | "notSet" | "optIn" | "optOut";
7417
+ };
7401
7418
  responseCode: 200;
7402
7419
  };
7403
7420
  "unsubscribeToNewsletter post /newsletter/unsubscribe": {
@@ -7546,9 +7563,6 @@ export type operations = {
7546
7563
  body: components["schemas"]["Criteria"] & {
7547
7564
  /** List only available */
7548
7565
  onlyAvailable?: boolean;
7549
- } & {
7550
- /** List only available */
7551
- onlyAvailable?: boolean;
7552
7566
  };
7553
7567
  response: {
7554
7568
  /** aggregation result */