@ecomiq/storefront 1.1.4 → 1.1.5

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 (36) hide show
  1. package/dist/{chunk-6TMU4OXP.js → chunk-3QGB55R6.js} +3 -3
  2. package/dist/{chunk-6TMU4OXP.js.map → chunk-3QGB55R6.js.map} +1 -1
  3. package/dist/{chunk-EADDSNJS.js → chunk-64GLOWMJ.js} +14 -4
  4. package/dist/chunk-64GLOWMJ.js.map +1 -0
  5. package/dist/chunk-Q4U5OEUT.js +21 -0
  6. package/dist/chunk-Q4U5OEUT.js.map +1 -0
  7. package/dist/{chunk-3URTJY6X.js → chunk-QRR7EPCH.js} +14 -12
  8. package/dist/chunk-QRR7EPCH.js.map +1 -0
  9. package/dist/{chunk-YSD62KQM.js → chunk-ZG2XUYGZ.js} +23 -21
  10. package/dist/chunk-ZG2XUYGZ.js.map +1 -0
  11. package/dist/chunks/client.css +1 -1
  12. package/dist/chunks/client.css.map +1 -1
  13. package/dist/chunks/client.d.ts +535 -25
  14. package/dist/chunks/client.js +517 -193
  15. package/dist/chunks/client.js.map +1 -1
  16. package/dist/chunks/config.js +3 -2
  17. package/dist/chunks/core-public.d.ts +2 -2
  18. package/dist/chunks/core-public.js +4 -10
  19. package/dist/chunks/core-public.js.map +1 -1
  20. package/dist/chunks/server-nextjs.d.ts +3 -3
  21. package/dist/chunks/server-nextjs.js +27 -13
  22. package/dist/chunks/server-nextjs.js.map +1 -1
  23. package/dist/chunks/server-tanstack.d.ts +3 -3
  24. package/dist/chunks/server-tanstack.js +6 -5
  25. package/dist/chunks/server-tanstack.js.map +1 -1
  26. package/dist/{collection-BHD4hhQa.d.ts → collection-C6bWDLiw.d.ts} +318 -1
  27. package/dist/{ecomiq-oauth-password-plugin-gw2dPyYb.d.ts → ecomiq-oauth-password-plugin-J5wDFqzL.d.ts} +2 -2
  28. package/dist/nextjs/api.js +2 -1
  29. package/dist/nextjs/api.js.map +1 -1
  30. package/dist/react/client.css +1 -1
  31. package/dist/tanstack/api.js +3 -2
  32. package/dist/tanstack/api.js.map +1 -1
  33. package/package.json +2 -2
  34. package/dist/chunk-3URTJY6X.js.map +0 -1
  35. package/dist/chunk-EADDSNJS.js.map +0 -1
  36. package/dist/chunk-YSD62KQM.js.map +0 -1
@@ -2,6 +2,36 @@ import { z } from 'zod';
2
2
 
3
3
  declare const StorefrontCmsSettingsSchema: z.ZodObject<{
4
4
  themeKey: z.ZodOptional<z.ZodString>;
5
+ channels: z.ZodOptional<z.ZodObject<{
6
+ storefront: z.ZodOptional<z.ZodObject<{
7
+ enabled: z.ZodOptional<z.ZodBoolean>;
8
+ }, "strip", z.ZodTypeAny, {
9
+ enabled?: boolean | undefined;
10
+ }, {
11
+ enabled?: boolean | undefined;
12
+ }>>;
13
+ pos: z.ZodOptional<z.ZodObject<{
14
+ enabled: z.ZodOptional<z.ZodBoolean>;
15
+ }, "strip", z.ZodTypeAny, {
16
+ enabled?: boolean | undefined;
17
+ }, {
18
+ enabled?: boolean | undefined;
19
+ }>>;
20
+ }, "strip", z.ZodTypeAny, {
21
+ storefront?: {
22
+ enabled?: boolean | undefined;
23
+ } | undefined;
24
+ pos?: {
25
+ enabled?: boolean | undefined;
26
+ } | undefined;
27
+ }, {
28
+ storefront?: {
29
+ enabled?: boolean | undefined;
30
+ } | undefined;
31
+ pos?: {
32
+ enabled?: boolean | undefined;
33
+ } | undefined;
34
+ }>>;
5
35
  branding: z.ZodOptional<z.ZodObject<{
6
36
  logoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
37
  logoDarkUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -115,6 +145,14 @@ declare const StorefrontCmsSettingsSchema: z.ZodObject<{
115
145
  updatedOn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
116
146
  }, "strip", z.ZodTypeAny, {
117
147
  themeKey?: string | undefined;
148
+ channels?: {
149
+ storefront?: {
150
+ enabled?: boolean | undefined;
151
+ } | undefined;
152
+ pos?: {
153
+ enabled?: boolean | undefined;
154
+ } | undefined;
155
+ } | undefined;
118
156
  branding?: {
119
157
  logoUrl?: string | null | undefined;
120
158
  logoDarkUrl?: string | null | undefined;
@@ -154,6 +192,14 @@ declare const StorefrontCmsSettingsSchema: z.ZodObject<{
154
192
  updatedOn?: string | null | undefined;
155
193
  }, {
156
194
  themeKey?: string | undefined;
195
+ channels?: {
196
+ storefront?: {
197
+ enabled?: boolean | undefined;
198
+ } | undefined;
199
+ pos?: {
200
+ enabled?: boolean | undefined;
201
+ } | undefined;
202
+ } | undefined;
157
203
  branding?: {
158
204
  logoUrl?: string | null | undefined;
159
205
  logoDarkUrl?: string | null | undefined;
@@ -196,6 +242,7 @@ declare const StorefrontCmsPageSchema: z.ZodObject<{
196
242
  id: z.ZodString;
197
243
  name: z.ZodString;
198
244
  slug: z.ZodString;
245
+ channel: z.ZodDefault<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["storefront", "pos"]>>>;
199
246
  layout: z.ZodOptional<z.ZodString>;
200
247
  version: z.ZodOptional<z.ZodNumber>;
201
248
  settings: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -213,6 +260,7 @@ declare const StorefrontCmsPageSchema: z.ZodObject<{
213
260
  id: z.ZodString;
214
261
  name: z.ZodString;
215
262
  slug: z.ZodString;
263
+ channel: z.ZodDefault<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["storefront", "pos"]>>>;
216
264
  layout: z.ZodOptional<z.ZodString>;
217
265
  version: z.ZodOptional<z.ZodNumber>;
218
266
  settings: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -230,6 +278,7 @@ declare const StorefrontCmsPageSchema: z.ZodObject<{
230
278
  id: z.ZodString;
231
279
  name: z.ZodString;
232
280
  slug: z.ZodString;
281
+ channel: z.ZodDefault<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["storefront", "pos"]>>>;
233
282
  layout: z.ZodOptional<z.ZodString>;
234
283
  version: z.ZodOptional<z.ZodNumber>;
235
284
  settings: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -673,6 +722,36 @@ declare const StorefrontSettingsSchema: z.ZodEffects<z.ZodObject<{
673
722
  cms: z.ZodObject<{
674
723
  settings: z.ZodObject<{
675
724
  themeKey: z.ZodOptional<z.ZodString>;
725
+ channels: z.ZodOptional<z.ZodObject<{
726
+ storefront: z.ZodOptional<z.ZodObject<{
727
+ enabled: z.ZodOptional<z.ZodBoolean>;
728
+ }, "strip", z.ZodTypeAny, {
729
+ enabled?: boolean | undefined;
730
+ }, {
731
+ enabled?: boolean | undefined;
732
+ }>>;
733
+ pos: z.ZodOptional<z.ZodObject<{
734
+ enabled: z.ZodOptional<z.ZodBoolean>;
735
+ }, "strip", z.ZodTypeAny, {
736
+ enabled?: boolean | undefined;
737
+ }, {
738
+ enabled?: boolean | undefined;
739
+ }>>;
740
+ }, "strip", z.ZodTypeAny, {
741
+ storefront?: {
742
+ enabled?: boolean | undefined;
743
+ } | undefined;
744
+ pos?: {
745
+ enabled?: boolean | undefined;
746
+ } | undefined;
747
+ }, {
748
+ storefront?: {
749
+ enabled?: boolean | undefined;
750
+ } | undefined;
751
+ pos?: {
752
+ enabled?: boolean | undefined;
753
+ } | undefined;
754
+ }>>;
676
755
  branding: z.ZodOptional<z.ZodObject<{
677
756
  logoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
678
757
  logoDarkUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -786,6 +865,14 @@ declare const StorefrontSettingsSchema: z.ZodEffects<z.ZodObject<{
786
865
  updatedOn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
787
866
  }, "strip", z.ZodTypeAny, {
788
867
  themeKey?: string | undefined;
868
+ channels?: {
869
+ storefront?: {
870
+ enabled?: boolean | undefined;
871
+ } | undefined;
872
+ pos?: {
873
+ enabled?: boolean | undefined;
874
+ } | undefined;
875
+ } | undefined;
789
876
  branding?: {
790
877
  logoUrl?: string | null | undefined;
791
878
  logoDarkUrl?: string | null | undefined;
@@ -825,6 +912,14 @@ declare const StorefrontSettingsSchema: z.ZodEffects<z.ZodObject<{
825
912
  updatedOn?: string | null | undefined;
826
913
  }, {
827
914
  themeKey?: string | undefined;
915
+ channels?: {
916
+ storefront?: {
917
+ enabled?: boolean | undefined;
918
+ } | undefined;
919
+ pos?: {
920
+ enabled?: boolean | undefined;
921
+ } | undefined;
922
+ } | undefined;
828
923
  branding?: {
829
924
  logoUrl?: string | null | undefined;
830
925
  logoDarkUrl?: string | null | undefined;
@@ -867,6 +962,7 @@ declare const StorefrontSettingsSchema: z.ZodEffects<z.ZodObject<{
867
962
  id: z.ZodString;
868
963
  name: z.ZodString;
869
964
  slug: z.ZodString;
965
+ channel: z.ZodDefault<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["storefront", "pos"]>>>;
870
966
  layout: z.ZodOptional<z.ZodString>;
871
967
  version: z.ZodOptional<z.ZodNumber>;
872
968
  settings: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -884,6 +980,7 @@ declare const StorefrontSettingsSchema: z.ZodEffects<z.ZodObject<{
884
980
  id: z.ZodString;
885
981
  name: z.ZodString;
886
982
  slug: z.ZodString;
983
+ channel: z.ZodDefault<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["storefront", "pos"]>>>;
887
984
  layout: z.ZodOptional<z.ZodString>;
888
985
  version: z.ZodOptional<z.ZodNumber>;
889
986
  settings: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -901,6 +998,7 @@ declare const StorefrontSettingsSchema: z.ZodEffects<z.ZodObject<{
901
998
  id: z.ZodString;
902
999
  name: z.ZodString;
903
1000
  slug: z.ZodString;
1001
+ channel: z.ZodDefault<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["storefront", "pos"]>>>;
904
1002
  layout: z.ZodOptional<z.ZodString>;
905
1003
  version: z.ZodOptional<z.ZodNumber>;
906
1004
  settings: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -918,6 +1016,14 @@ declare const StorefrontSettingsSchema: z.ZodEffects<z.ZodObject<{
918
1016
  }, "strip", z.ZodTypeAny, {
919
1017
  settings: {
920
1018
  themeKey?: string | undefined;
1019
+ channels?: {
1020
+ storefront?: {
1021
+ enabled?: boolean | undefined;
1022
+ } | undefined;
1023
+ pos?: {
1024
+ enabled?: boolean | undefined;
1025
+ } | undefined;
1026
+ } | undefined;
921
1027
  branding?: {
922
1028
  logoUrl?: string | null | undefined;
923
1029
  logoDarkUrl?: string | null | undefined;
@@ -960,6 +1066,7 @@ declare const StorefrontSettingsSchema: z.ZodEffects<z.ZodObject<{
960
1066
  id: z.ZodString;
961
1067
  name: z.ZodString;
962
1068
  slug: z.ZodString;
1069
+ channel: z.ZodDefault<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["storefront", "pos"]>>>;
963
1070
  layout: z.ZodOptional<z.ZodString>;
964
1071
  version: z.ZodOptional<z.ZodNumber>;
965
1072
  settings: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -977,6 +1084,14 @@ declare const StorefrontSettingsSchema: z.ZodEffects<z.ZodObject<{
977
1084
  }, {
978
1085
  settings: {
979
1086
  themeKey?: string | undefined;
1087
+ channels?: {
1088
+ storefront?: {
1089
+ enabled?: boolean | undefined;
1090
+ } | undefined;
1091
+ pos?: {
1092
+ enabled?: boolean | undefined;
1093
+ } | undefined;
1094
+ } | undefined;
980
1095
  branding?: {
981
1096
  logoUrl?: string | null | undefined;
982
1097
  logoDarkUrl?: string | null | undefined;
@@ -1019,6 +1134,7 @@ declare const StorefrontSettingsSchema: z.ZodEffects<z.ZodObject<{
1019
1134
  id: z.ZodString;
1020
1135
  name: z.ZodString;
1021
1136
  slug: z.ZodString;
1137
+ channel: z.ZodDefault<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["storefront", "pos"]>>>;
1022
1138
  layout: z.ZodOptional<z.ZodString>;
1023
1139
  version: z.ZodOptional<z.ZodNumber>;
1024
1140
  settings: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -1251,6 +1367,36 @@ declare const StorefrontSettingsSchema: z.ZodEffects<z.ZodObject<{
1251
1367
  cms: z.ZodObject<{
1252
1368
  settings: z.ZodObject<{
1253
1369
  themeKey: z.ZodOptional<z.ZodString>;
1370
+ channels: z.ZodOptional<z.ZodObject<{
1371
+ storefront: z.ZodOptional<z.ZodObject<{
1372
+ enabled: z.ZodOptional<z.ZodBoolean>;
1373
+ }, "strip", z.ZodTypeAny, {
1374
+ enabled?: boolean | undefined;
1375
+ }, {
1376
+ enabled?: boolean | undefined;
1377
+ }>>;
1378
+ pos: z.ZodOptional<z.ZodObject<{
1379
+ enabled: z.ZodOptional<z.ZodBoolean>;
1380
+ }, "strip", z.ZodTypeAny, {
1381
+ enabled?: boolean | undefined;
1382
+ }, {
1383
+ enabled?: boolean | undefined;
1384
+ }>>;
1385
+ }, "strip", z.ZodTypeAny, {
1386
+ storefront?: {
1387
+ enabled?: boolean | undefined;
1388
+ } | undefined;
1389
+ pos?: {
1390
+ enabled?: boolean | undefined;
1391
+ } | undefined;
1392
+ }, {
1393
+ storefront?: {
1394
+ enabled?: boolean | undefined;
1395
+ } | undefined;
1396
+ pos?: {
1397
+ enabled?: boolean | undefined;
1398
+ } | undefined;
1399
+ }>>;
1254
1400
  branding: z.ZodOptional<z.ZodObject<{
1255
1401
  logoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1256
1402
  logoDarkUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1364,6 +1510,14 @@ declare const StorefrontSettingsSchema: z.ZodEffects<z.ZodObject<{
1364
1510
  updatedOn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1365
1511
  }, "strip", z.ZodTypeAny, {
1366
1512
  themeKey?: string | undefined;
1513
+ channels?: {
1514
+ storefront?: {
1515
+ enabled?: boolean | undefined;
1516
+ } | undefined;
1517
+ pos?: {
1518
+ enabled?: boolean | undefined;
1519
+ } | undefined;
1520
+ } | undefined;
1367
1521
  branding?: {
1368
1522
  logoUrl?: string | null | undefined;
1369
1523
  logoDarkUrl?: string | null | undefined;
@@ -1403,6 +1557,14 @@ declare const StorefrontSettingsSchema: z.ZodEffects<z.ZodObject<{
1403
1557
  updatedOn?: string | null | undefined;
1404
1558
  }, {
1405
1559
  themeKey?: string | undefined;
1560
+ channels?: {
1561
+ storefront?: {
1562
+ enabled?: boolean | undefined;
1563
+ } | undefined;
1564
+ pos?: {
1565
+ enabled?: boolean | undefined;
1566
+ } | undefined;
1567
+ } | undefined;
1406
1568
  branding?: {
1407
1569
  logoUrl?: string | null | undefined;
1408
1570
  logoDarkUrl?: string | null | undefined;
@@ -1445,6 +1607,7 @@ declare const StorefrontSettingsSchema: z.ZodEffects<z.ZodObject<{
1445
1607
  id: z.ZodString;
1446
1608
  name: z.ZodString;
1447
1609
  slug: z.ZodString;
1610
+ channel: z.ZodDefault<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["storefront", "pos"]>>>;
1448
1611
  layout: z.ZodOptional<z.ZodString>;
1449
1612
  version: z.ZodOptional<z.ZodNumber>;
1450
1613
  settings: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -1462,6 +1625,7 @@ declare const StorefrontSettingsSchema: z.ZodEffects<z.ZodObject<{
1462
1625
  id: z.ZodString;
1463
1626
  name: z.ZodString;
1464
1627
  slug: z.ZodString;
1628
+ channel: z.ZodDefault<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["storefront", "pos"]>>>;
1465
1629
  layout: z.ZodOptional<z.ZodString>;
1466
1630
  version: z.ZodOptional<z.ZodNumber>;
1467
1631
  settings: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -1479,6 +1643,7 @@ declare const StorefrontSettingsSchema: z.ZodEffects<z.ZodObject<{
1479
1643
  id: z.ZodString;
1480
1644
  name: z.ZodString;
1481
1645
  slug: z.ZodString;
1646
+ channel: z.ZodDefault<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["storefront", "pos"]>>>;
1482
1647
  layout: z.ZodOptional<z.ZodString>;
1483
1648
  version: z.ZodOptional<z.ZodNumber>;
1484
1649
  settings: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -1496,6 +1661,14 @@ declare const StorefrontSettingsSchema: z.ZodEffects<z.ZodObject<{
1496
1661
  }, "strip", z.ZodTypeAny, {
1497
1662
  settings: {
1498
1663
  themeKey?: string | undefined;
1664
+ channels?: {
1665
+ storefront?: {
1666
+ enabled?: boolean | undefined;
1667
+ } | undefined;
1668
+ pos?: {
1669
+ enabled?: boolean | undefined;
1670
+ } | undefined;
1671
+ } | undefined;
1499
1672
  branding?: {
1500
1673
  logoUrl?: string | null | undefined;
1501
1674
  logoDarkUrl?: string | null | undefined;
@@ -1538,6 +1711,7 @@ declare const StorefrontSettingsSchema: z.ZodEffects<z.ZodObject<{
1538
1711
  id: z.ZodString;
1539
1712
  name: z.ZodString;
1540
1713
  slug: z.ZodString;
1714
+ channel: z.ZodDefault<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["storefront", "pos"]>>>;
1541
1715
  layout: z.ZodOptional<z.ZodString>;
1542
1716
  version: z.ZodOptional<z.ZodNumber>;
1543
1717
  settings: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -1555,6 +1729,14 @@ declare const StorefrontSettingsSchema: z.ZodEffects<z.ZodObject<{
1555
1729
  }, {
1556
1730
  settings: {
1557
1731
  themeKey?: string | undefined;
1732
+ channels?: {
1733
+ storefront?: {
1734
+ enabled?: boolean | undefined;
1735
+ } | undefined;
1736
+ pos?: {
1737
+ enabled?: boolean | undefined;
1738
+ } | undefined;
1739
+ } | undefined;
1558
1740
  branding?: {
1559
1741
  logoUrl?: string | null | undefined;
1560
1742
  logoDarkUrl?: string | null | undefined;
@@ -1597,6 +1779,7 @@ declare const StorefrontSettingsSchema: z.ZodEffects<z.ZodObject<{
1597
1779
  id: z.ZodString;
1598
1780
  name: z.ZodString;
1599
1781
  slug: z.ZodString;
1782
+ channel: z.ZodDefault<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["storefront", "pos"]>>>;
1600
1783
  layout: z.ZodOptional<z.ZodString>;
1601
1784
  version: z.ZodOptional<z.ZodNumber>;
1602
1785
  settings: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -1829,6 +2012,36 @@ declare const StorefrontSettingsSchema: z.ZodEffects<z.ZodObject<{
1829
2012
  cms: z.ZodObject<{
1830
2013
  settings: z.ZodObject<{
1831
2014
  themeKey: z.ZodOptional<z.ZodString>;
2015
+ channels: z.ZodOptional<z.ZodObject<{
2016
+ storefront: z.ZodOptional<z.ZodObject<{
2017
+ enabled: z.ZodOptional<z.ZodBoolean>;
2018
+ }, "strip", z.ZodTypeAny, {
2019
+ enabled?: boolean | undefined;
2020
+ }, {
2021
+ enabled?: boolean | undefined;
2022
+ }>>;
2023
+ pos: z.ZodOptional<z.ZodObject<{
2024
+ enabled: z.ZodOptional<z.ZodBoolean>;
2025
+ }, "strip", z.ZodTypeAny, {
2026
+ enabled?: boolean | undefined;
2027
+ }, {
2028
+ enabled?: boolean | undefined;
2029
+ }>>;
2030
+ }, "strip", z.ZodTypeAny, {
2031
+ storefront?: {
2032
+ enabled?: boolean | undefined;
2033
+ } | undefined;
2034
+ pos?: {
2035
+ enabled?: boolean | undefined;
2036
+ } | undefined;
2037
+ }, {
2038
+ storefront?: {
2039
+ enabled?: boolean | undefined;
2040
+ } | undefined;
2041
+ pos?: {
2042
+ enabled?: boolean | undefined;
2043
+ } | undefined;
2044
+ }>>;
1832
2045
  branding: z.ZodOptional<z.ZodObject<{
1833
2046
  logoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1834
2047
  logoDarkUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1942,6 +2155,14 @@ declare const StorefrontSettingsSchema: z.ZodEffects<z.ZodObject<{
1942
2155
  updatedOn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1943
2156
  }, "strip", z.ZodTypeAny, {
1944
2157
  themeKey?: string | undefined;
2158
+ channels?: {
2159
+ storefront?: {
2160
+ enabled?: boolean | undefined;
2161
+ } | undefined;
2162
+ pos?: {
2163
+ enabled?: boolean | undefined;
2164
+ } | undefined;
2165
+ } | undefined;
1945
2166
  branding?: {
1946
2167
  logoUrl?: string | null | undefined;
1947
2168
  logoDarkUrl?: string | null | undefined;
@@ -1981,6 +2202,14 @@ declare const StorefrontSettingsSchema: z.ZodEffects<z.ZodObject<{
1981
2202
  updatedOn?: string | null | undefined;
1982
2203
  }, {
1983
2204
  themeKey?: string | undefined;
2205
+ channels?: {
2206
+ storefront?: {
2207
+ enabled?: boolean | undefined;
2208
+ } | undefined;
2209
+ pos?: {
2210
+ enabled?: boolean | undefined;
2211
+ } | undefined;
2212
+ } | undefined;
1984
2213
  branding?: {
1985
2214
  logoUrl?: string | null | undefined;
1986
2215
  logoDarkUrl?: string | null | undefined;
@@ -2023,6 +2252,7 @@ declare const StorefrontSettingsSchema: z.ZodEffects<z.ZodObject<{
2023
2252
  id: z.ZodString;
2024
2253
  name: z.ZodString;
2025
2254
  slug: z.ZodString;
2255
+ channel: z.ZodDefault<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["storefront", "pos"]>>>;
2026
2256
  layout: z.ZodOptional<z.ZodString>;
2027
2257
  version: z.ZodOptional<z.ZodNumber>;
2028
2258
  settings: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -2040,6 +2270,7 @@ declare const StorefrontSettingsSchema: z.ZodEffects<z.ZodObject<{
2040
2270
  id: z.ZodString;
2041
2271
  name: z.ZodString;
2042
2272
  slug: z.ZodString;
2273
+ channel: z.ZodDefault<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["storefront", "pos"]>>>;
2043
2274
  layout: z.ZodOptional<z.ZodString>;
2044
2275
  version: z.ZodOptional<z.ZodNumber>;
2045
2276
  settings: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -2057,6 +2288,7 @@ declare const StorefrontSettingsSchema: z.ZodEffects<z.ZodObject<{
2057
2288
  id: z.ZodString;
2058
2289
  name: z.ZodString;
2059
2290
  slug: z.ZodString;
2291
+ channel: z.ZodDefault<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["storefront", "pos"]>>>;
2060
2292
  layout: z.ZodOptional<z.ZodString>;
2061
2293
  version: z.ZodOptional<z.ZodNumber>;
2062
2294
  settings: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -2074,6 +2306,14 @@ declare const StorefrontSettingsSchema: z.ZodEffects<z.ZodObject<{
2074
2306
  }, "strip", z.ZodTypeAny, {
2075
2307
  settings: {
2076
2308
  themeKey?: string | undefined;
2309
+ channels?: {
2310
+ storefront?: {
2311
+ enabled?: boolean | undefined;
2312
+ } | undefined;
2313
+ pos?: {
2314
+ enabled?: boolean | undefined;
2315
+ } | undefined;
2316
+ } | undefined;
2077
2317
  branding?: {
2078
2318
  logoUrl?: string | null | undefined;
2079
2319
  logoDarkUrl?: string | null | undefined;
@@ -2116,6 +2356,7 @@ declare const StorefrontSettingsSchema: z.ZodEffects<z.ZodObject<{
2116
2356
  id: z.ZodString;
2117
2357
  name: z.ZodString;
2118
2358
  slug: z.ZodString;
2359
+ channel: z.ZodDefault<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["storefront", "pos"]>>>;
2119
2360
  layout: z.ZodOptional<z.ZodString>;
2120
2361
  version: z.ZodOptional<z.ZodNumber>;
2121
2362
  settings: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -2133,6 +2374,14 @@ declare const StorefrontSettingsSchema: z.ZodEffects<z.ZodObject<{
2133
2374
  }, {
2134
2375
  settings: {
2135
2376
  themeKey?: string | undefined;
2377
+ channels?: {
2378
+ storefront?: {
2379
+ enabled?: boolean | undefined;
2380
+ } | undefined;
2381
+ pos?: {
2382
+ enabled?: boolean | undefined;
2383
+ } | undefined;
2384
+ } | undefined;
2136
2385
  branding?: {
2137
2386
  logoUrl?: string | null | undefined;
2138
2387
  logoDarkUrl?: string | null | undefined;
@@ -2175,6 +2424,7 @@ declare const StorefrontSettingsSchema: z.ZodEffects<z.ZodObject<{
2175
2424
  id: z.ZodString;
2176
2425
  name: z.ZodString;
2177
2426
  slug: z.ZodString;
2427
+ channel: z.ZodDefault<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["storefront", "pos"]>>>;
2178
2428
  layout: z.ZodOptional<z.ZodString>;
2179
2429
  version: z.ZodOptional<z.ZodNumber>;
2180
2430
  settings: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -2407,6 +2657,36 @@ declare const StorefrontSettingsSchema: z.ZodEffects<z.ZodObject<{
2407
2657
  cms: z.ZodObject<{
2408
2658
  settings: z.ZodObject<{
2409
2659
  themeKey: z.ZodOptional<z.ZodString>;
2660
+ channels: z.ZodOptional<z.ZodObject<{
2661
+ storefront: z.ZodOptional<z.ZodObject<{
2662
+ enabled: z.ZodOptional<z.ZodBoolean>;
2663
+ }, "strip", z.ZodTypeAny, {
2664
+ enabled?: boolean | undefined;
2665
+ }, {
2666
+ enabled?: boolean | undefined;
2667
+ }>>;
2668
+ pos: z.ZodOptional<z.ZodObject<{
2669
+ enabled: z.ZodOptional<z.ZodBoolean>;
2670
+ }, "strip", z.ZodTypeAny, {
2671
+ enabled?: boolean | undefined;
2672
+ }, {
2673
+ enabled?: boolean | undefined;
2674
+ }>>;
2675
+ }, "strip", z.ZodTypeAny, {
2676
+ storefront?: {
2677
+ enabled?: boolean | undefined;
2678
+ } | undefined;
2679
+ pos?: {
2680
+ enabled?: boolean | undefined;
2681
+ } | undefined;
2682
+ }, {
2683
+ storefront?: {
2684
+ enabled?: boolean | undefined;
2685
+ } | undefined;
2686
+ pos?: {
2687
+ enabled?: boolean | undefined;
2688
+ } | undefined;
2689
+ }>>;
2410
2690
  branding: z.ZodOptional<z.ZodObject<{
2411
2691
  logoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2412
2692
  logoDarkUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2520,6 +2800,14 @@ declare const StorefrontSettingsSchema: z.ZodEffects<z.ZodObject<{
2520
2800
  updatedOn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2521
2801
  }, "strip", z.ZodTypeAny, {
2522
2802
  themeKey?: string | undefined;
2803
+ channels?: {
2804
+ storefront?: {
2805
+ enabled?: boolean | undefined;
2806
+ } | undefined;
2807
+ pos?: {
2808
+ enabled?: boolean | undefined;
2809
+ } | undefined;
2810
+ } | undefined;
2523
2811
  branding?: {
2524
2812
  logoUrl?: string | null | undefined;
2525
2813
  logoDarkUrl?: string | null | undefined;
@@ -2559,6 +2847,14 @@ declare const StorefrontSettingsSchema: z.ZodEffects<z.ZodObject<{
2559
2847
  updatedOn?: string | null | undefined;
2560
2848
  }, {
2561
2849
  themeKey?: string | undefined;
2850
+ channels?: {
2851
+ storefront?: {
2852
+ enabled?: boolean | undefined;
2853
+ } | undefined;
2854
+ pos?: {
2855
+ enabled?: boolean | undefined;
2856
+ } | undefined;
2857
+ } | undefined;
2562
2858
  branding?: {
2563
2859
  logoUrl?: string | null | undefined;
2564
2860
  logoDarkUrl?: string | null | undefined;
@@ -2601,6 +2897,7 @@ declare const StorefrontSettingsSchema: z.ZodEffects<z.ZodObject<{
2601
2897
  id: z.ZodString;
2602
2898
  name: z.ZodString;
2603
2899
  slug: z.ZodString;
2900
+ channel: z.ZodDefault<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["storefront", "pos"]>>>;
2604
2901
  layout: z.ZodOptional<z.ZodString>;
2605
2902
  version: z.ZodOptional<z.ZodNumber>;
2606
2903
  settings: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -2618,6 +2915,7 @@ declare const StorefrontSettingsSchema: z.ZodEffects<z.ZodObject<{
2618
2915
  id: z.ZodString;
2619
2916
  name: z.ZodString;
2620
2917
  slug: z.ZodString;
2918
+ channel: z.ZodDefault<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["storefront", "pos"]>>>;
2621
2919
  layout: z.ZodOptional<z.ZodString>;
2622
2920
  version: z.ZodOptional<z.ZodNumber>;
2623
2921
  settings: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -2635,6 +2933,7 @@ declare const StorefrontSettingsSchema: z.ZodEffects<z.ZodObject<{
2635
2933
  id: z.ZodString;
2636
2934
  name: z.ZodString;
2637
2935
  slug: z.ZodString;
2936
+ channel: z.ZodDefault<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["storefront", "pos"]>>>;
2638
2937
  layout: z.ZodOptional<z.ZodString>;
2639
2938
  version: z.ZodOptional<z.ZodNumber>;
2640
2939
  settings: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -2652,6 +2951,14 @@ declare const StorefrontSettingsSchema: z.ZodEffects<z.ZodObject<{
2652
2951
  }, "strip", z.ZodTypeAny, {
2653
2952
  settings: {
2654
2953
  themeKey?: string | undefined;
2954
+ channels?: {
2955
+ storefront?: {
2956
+ enabled?: boolean | undefined;
2957
+ } | undefined;
2958
+ pos?: {
2959
+ enabled?: boolean | undefined;
2960
+ } | undefined;
2961
+ } | undefined;
2655
2962
  branding?: {
2656
2963
  logoUrl?: string | null | undefined;
2657
2964
  logoDarkUrl?: string | null | undefined;
@@ -2694,6 +3001,7 @@ declare const StorefrontSettingsSchema: z.ZodEffects<z.ZodObject<{
2694
3001
  id: z.ZodString;
2695
3002
  name: z.ZodString;
2696
3003
  slug: z.ZodString;
3004
+ channel: z.ZodDefault<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["storefront", "pos"]>>>;
2697
3005
  layout: z.ZodOptional<z.ZodString>;
2698
3006
  version: z.ZodOptional<z.ZodNumber>;
2699
3007
  settings: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -2711,6 +3019,14 @@ declare const StorefrontSettingsSchema: z.ZodEffects<z.ZodObject<{
2711
3019
  }, {
2712
3020
  settings: {
2713
3021
  themeKey?: string | undefined;
3022
+ channels?: {
3023
+ storefront?: {
3024
+ enabled?: boolean | undefined;
3025
+ } | undefined;
3026
+ pos?: {
3027
+ enabled?: boolean | undefined;
3028
+ } | undefined;
3029
+ } | undefined;
2714
3030
  branding?: {
2715
3031
  logoUrl?: string | null | undefined;
2716
3032
  logoDarkUrl?: string | null | undefined;
@@ -2753,6 +3069,7 @@ declare const StorefrontSettingsSchema: z.ZodEffects<z.ZodObject<{
2753
3069
  id: z.ZodString;
2754
3070
  name: z.ZodString;
2755
3071
  slug: z.ZodString;
3072
+ channel: z.ZodDefault<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["storefront", "pos"]>>>;
2756
3073
  layout: z.ZodOptional<z.ZodString>;
2757
3074
  version: z.ZodOptional<z.ZodNumber>;
2758
3075
  settings: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -3606,4 +3923,4 @@ declare const StorefrontCollectionDetailSchema: z.ZodObject<{
3606
3923
  type StorefrontCollection = z.infer<typeof StorefrontCollectionSchema>;
3607
3924
  type StorefrontCollectionDetail = z.infer<typeof StorefrontCollectionDetailSchema>;
3608
3925
 
3609
- export { type StorefrontSettings as S, type StorefrontPageDetail as a, type StorefrontStore as b, type StorefrontCmsSettings as c, type StorefrontCmsPage as d, type StorefrontProduct as e, type StorefrontProductDetail as f, type StorefrontProductsResponse as g, type StorefrontProductsParamsInput as h, type StorefrontVariant as i, type StorefrontCollection as j, type StorefrontCollectionDetail as k, type StorefrontPageListItem as l, StorefrontSettingsSchema as m, StorefrontStoreSchema as n, StorefrontProductSchema as o, StorefrontProductsResponseSchema as p, StorefrontProductsParamsSchema as q, StorefrontProductDetailSchema as r, StorefrontCollectionSchema as s, StorefrontCollectionsResponseSchema as t, StorefrontCollectionDetailSchema as u, StorefrontPageListItemSchema as v, StorefrontPageDetailSchema as w };
3926
+ export { type StorefrontSettings as S, type StorefrontPageDetail as a, type StorefrontCmsPage as b, type StorefrontCmsSettings as c, type StorefrontCollection as d, type StorefrontCollectionDetail as e, StorefrontCollectionDetailSchema as f, StorefrontCollectionSchema as g, StorefrontCollectionsResponseSchema as h, StorefrontPageDetailSchema as i, type StorefrontPageListItem as j, StorefrontPageListItemSchema as k, type StorefrontProduct as l, type StorefrontProductDetail as m, StorefrontProductDetailSchema as n, StorefrontProductSchema as o, type StorefrontProductsParamsInput as p, StorefrontProductsParamsSchema as q, type StorefrontProductsResponse as r, StorefrontProductsResponseSchema as s, StorefrontSettingsSchema as t, type StorefrontStore as u, StorefrontStoreSchema as v, type StorefrontVariant as w };
@@ -1,4 +1,4 @@
1
- import { S as StorefrontSettings, h as StorefrontProductsParamsInput, g as StorefrontProductsResponse, f as StorefrontProductDetail, j as StorefrontCollection, k as StorefrontCollectionDetail, l as StorefrontPageListItem, a as StorefrontPageDetail } from './collection-BHD4hhQa.js';
1
+ import { S as StorefrontSettings, m as StorefrontProductDetail, p as StorefrontProductsParamsInput, r as StorefrontProductsResponse, e as StorefrontCollectionDetail, d as StorefrontCollection, a as StorefrontPageDetail, j as StorefrontPageListItem } from './collection-C6bWDLiw.js';
2
2
  import { z } from 'zod';
3
3
  import { BetterAuthPlugin } from 'better-auth';
4
4
 
@@ -3626,4 +3626,4 @@ declare function getSharedOrderDraft(shareToken: string): Promise<OrderDraft>;
3626
3626
  */
3627
3627
  declare function ecomiqOAuthPassword(): BetterAuthPlugin;
3628
3628
 
3629
- export { CustomerAddressUpsertSchema as $, getStorefrontPageBySlug as A, getStorefrontPagePreview as B, patchCartBuyer as C, patchCartAddresses as D, ECOMIQ_CLIENTS_STORE_KV_BINDING as E, type FetchPublicStoreSettingsOptions as F, getCart as G, getCartCheckout as H, getShippingOptions as I, putCartShippingMethod as J, addCartCoupon as K, removeCartCoupon as L, createCart as M, checkoutCart as N, uploadPaymentReceipt as O, type PublicStoreSettingsSource as P, getCartPaymentMethods as Q, registerCustomer as R, StoreApiClient as S, CustomerRegisterRequestSchema as T, getCustomerAddresses as U, createCustomerAddress as V, updateCustomerAddress as W, deleteCustomerAddress as X, getCustomerMe as Y, patchCustomer as Z, CustomerAddressSchema as _, type PublicStoreResult as a, CustomerMeSchema as a0, CustomerProfilePatchSchema as a1, customerMeToProfilePatch as a2, type CustomerRegisterRequest as a3, type CustomerAddress as a4, type CustomerAddressUpsert as a5, type CustomerMe as a6, type CustomerProfilePatch as a7, getCustomerOrders as a8, getCustomerOrder as a9, CustomerOrderListItemSchema as aa, CustomerOrderDetailSchema as ab, type CustomerOrderListItemDto as ac, type CustomerOrderDetailDto as ad, getSharedOrderDraft as ae, applyServerRequestOriginFromHeaders as b, setServerRequestOrigin as c, setServerStoreId as d, ecomiqOAuthPassword as e, fetchPublicStoreSettings as f, setClientStoreId as g, getStoreApiBaseUrl as h, isCartNotActiveApiError as i, getStoreApiClient as j, createStoreApiClient as k, type StoreApiGetOptions as l, getStorefrontSettings as m, getStorefrontSettingsFromKv as n, getStorefrontSettingsFromKvByStoreKey as o, buildStorefrontKvSnapshotKey as p, buildStorefrontKvSnapshotKeyFromStoreKey as q, resolvePublicStoreSettingsSource as r, storeApiClient as s, normalizeStoreHost as t, resolveStorefrontSettingsHost as u, getStorefrontProducts as v, getStorefrontProductBySlug as w, getStorefrontCollections as x, getStorefrontCollectionBySlug as y, getStorefrontPages as z };
3629
+ export { isCartNotActiveApiError as $, fetchPublicStoreSettings as A, getCart as B, type CustomerAddress as C, getCartCheckout as D, ECOMIQ_CLIENTS_STORE_KV_BINDING as E, type FetchPublicStoreSettingsOptions as F, getCartPaymentMethods as G, getCustomerAddresses as H, getCustomerMe as I, getCustomerOrder as J, getCustomerOrders as K, getSharedOrderDraft as L, getShippingOptions as M, getStoreApiBaseUrl as N, getStoreApiClient as O, type PublicStoreSettingsSource as P, getStorefrontCollectionBySlug as Q, getStorefrontCollections as R, StoreApiClient as S, getStorefrontPageBySlug as T, getStorefrontPagePreview as U, getStorefrontPages as V, getStorefrontProductBySlug as W, getStorefrontProducts as X, getStorefrontSettings as Y, getStorefrontSettingsFromKv as Z, getStorefrontSettingsFromKvByStoreKey as _, type PublicStoreResult as a, normalizeStoreHost as a0, patchCartAddresses as a1, patchCartBuyer as a2, patchCustomer as a3, putCartShippingMethod as a4, registerCustomer as a5, removeCartCoupon as a6, resolvePublicStoreSettingsSource as a7, resolveStorefrontSettingsHost as a8, setClientStoreId as a9, setServerRequestOrigin as aa, setServerStoreId as ab, storeApiClient as ac, updateCustomerAddress as ad, uploadPaymentReceipt as ae, CustomerAddressSchema as b, type CustomerAddressUpsert as c, CustomerAddressUpsertSchema as d, type CustomerMe as e, CustomerMeSchema as f, type CustomerOrderDetailDto as g, CustomerOrderDetailSchema as h, type CustomerOrderListItemDto as i, CustomerOrderListItemSchema as j, type CustomerProfilePatch as k, CustomerProfilePatchSchema as l, type CustomerRegisterRequest as m, CustomerRegisterRequestSchema as n, type StoreApiGetOptions as o, addCartCoupon as p, applyServerRequestOriginFromHeaders as q, buildStorefrontKvSnapshotKey as r, buildStorefrontKvSnapshotKeyFromStoreKey as s, checkoutCart as t, createCart as u, createCustomerAddress as v, createStoreApiClient as w, customerMeToProfilePatch as x, deleteCustomerAddress as y, ecomiqOAuthPassword as z };
@@ -1,5 +1,6 @@
1
- import { handleStoreProxyRequest } from '../chunk-3URTJY6X.js';
1
+ import { handleStoreProxyRequest } from '../chunk-QRR7EPCH.js';
2
2
  import '../chunk-S7CPZ4UE.js';
3
+ import '../chunk-Q4U5OEUT.js';
3
4
  import { NextResponse } from 'next/server';
4
5
 
5
6
  function toNextJsStoreApiHandler(config = {}) {