@scayle/storefront-nuxt 7.72.5 → 7.73.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.
@@ -1,35 +1,1075 @@
1
1
  import { z } from 'zod';
2
- export declare const runtimeConfigSchema: z.ZodObject<{
3
- storefront: z.ZodObject<{
4
- publicShopData: z.ZodArray<z.ZodString, "many">;
5
- redirects: z.ZodOptional<z.ZodObject<{
6
- enabled: z.ZodBoolean;
7
- queryParamWhitelist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2
+ import { type LogLevel } from '@scayle/storefront-core';
3
+ export declare const RedirectsSchema: z.ZodObject<{
4
+ enabled: z.ZodBoolean;
5
+ queryParamWhitelist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
6
+ }, "strip", z.ZodTypeAny, {
7
+ enabled: boolean;
8
+ queryParamWhitelist?: string[] | undefined;
9
+ }, {
10
+ enabled: boolean;
11
+ queryParamWhitelist?: string[] | undefined;
12
+ }>;
13
+ /**
14
+ * @deprecated
15
+ */
16
+ declare const RedisConfigSchema: z.ZodUnion<[z.ZodObject<{
17
+ port: z.ZodOptional<z.ZodNumber>;
18
+ host: z.ZodOptional<z.ZodString>;
19
+ prefix: z.ZodOptional<z.ZodString>;
20
+ sslTransit: z.ZodOptional<z.ZodBoolean>;
21
+ }, "strip", z.ZodTypeAny, {
22
+ port?: number | undefined;
23
+ host?: string | undefined;
24
+ prefix?: string | undefined;
25
+ sslTransit?: boolean | undefined;
26
+ }, {
27
+ port?: number | undefined;
28
+ host?: string | undefined;
29
+ prefix?: string | undefined;
30
+ sslTransit?: boolean | undefined;
31
+ }>, z.ZodObject<{
32
+ port: z.ZodOptional<z.ZodNumber>;
33
+ host: z.ZodOptional<z.ZodString>;
34
+ prefix: z.ZodOptional<z.ZodString>;
35
+ sslTransit: z.ZodOptional<z.ZodBoolean>;
36
+ user: z.ZodString;
37
+ password: z.ZodString;
38
+ }, "strip", z.ZodTypeAny, {
39
+ user: string;
40
+ password: string;
41
+ port?: number | undefined;
42
+ host?: string | undefined;
43
+ prefix?: string | undefined;
44
+ sslTransit?: boolean | undefined;
45
+ }, {
46
+ user: string;
47
+ password: string;
48
+ port?: number | undefined;
49
+ host?: string | undefined;
50
+ prefix?: string | undefined;
51
+ sslTransit?: boolean | undefined;
52
+ }>]>;
53
+ declare const SessionSchema: z.ZodObject<{
54
+ /**
55
+ * The sameSite policy to use for the session cookie
56
+ */
57
+ sameSite: z.ZodOptional<z.ZodEnum<["lax", "strict", "none"]>>;
58
+ /**
59
+ * The default maxAge (in seconds) set on the session cookie and default TTL for session store
60
+ */
61
+ maxAge: z.ZodOptional<z.ZodNumber>;
62
+ /**
63
+ * The name used for the session cookie
64
+ */
65
+ cookieName: z.ZodOptional<z.ZodString>;
66
+ /**
67
+ * The secret used for signing session cookies. If an array is passed, the last
68
+ * value is used for signing new cookies, but all values are used to verify cookies.
69
+ */
70
+ secret: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
71
+ /**
72
+ * Controls the domain option on the session cookie
73
+ */
74
+ domain: z.ZodOptional<z.ZodString>;
75
+ }, "strip", z.ZodTypeAny, {
76
+ domain?: string | undefined;
77
+ sameSite?: "lax" | "strict" | "none" | undefined;
78
+ maxAge?: number | undefined;
79
+ cookieName?: string | undefined;
80
+ secret?: string | string[] | undefined;
81
+ }, {
82
+ domain?: string | undefined;
83
+ sameSite?: "lax" | "strict" | "none" | undefined;
84
+ maxAge?: number | undefined;
85
+ cookieName?: string | undefined;
86
+ secret?: string | string[] | undefined;
87
+ }>;
88
+ declare const BapiSchema: z.ZodObject<{
89
+ host: z.ZodString;
90
+ token: z.ZodString;
91
+ }, "strip", z.ZodTypeAny, {
92
+ host: string;
93
+ token: string;
94
+ }, {
95
+ host: string;
96
+ token: string;
97
+ }>;
98
+ declare const IdpSchema: z.ZodObject<{
99
+ enabled: z.ZodBoolean;
100
+ idpKeys: z.ZodArray<z.ZodString, "many">;
101
+ idpRedirectURL: z.ZodString;
102
+ }, "strip", z.ZodTypeAny, {
103
+ enabled: boolean;
104
+ idpKeys: string[];
105
+ idpRedirectURL: string;
106
+ }, {
107
+ enabled: boolean;
108
+ idpKeys: string[];
109
+ idpRedirectURL: string;
110
+ }>;
111
+ declare const StorageSchema: z.ZodObject<{
112
+ driver: z.ZodEnum<["azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http", ...("azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http")[]]>;
113
+ compression: z.ZodOptional<z.ZodEnum<["deflate", "gzip", "brotli", "none"]>>;
114
+ url: z.ZodOptional<z.ZodString>;
115
+ token: z.ZodOptional<z.ZodString>;
116
+ host: z.ZodOptional<z.ZodString>;
117
+ port: z.ZodOptional<z.ZodNumber>;
118
+ username: z.ZodOptional<z.ZodString>;
119
+ password: z.ZodOptional<z.ZodString>;
120
+ tls: z.ZodOptional<z.ZodBoolean>;
121
+ ttl: z.ZodOptional<z.ZodNumber>;
122
+ }, "strip", z.ZodTypeAny, {
123
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
124
+ ttl?: number | undefined;
125
+ port?: number | undefined;
126
+ host?: string | undefined;
127
+ password?: string | undefined;
128
+ token?: string | undefined;
129
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
130
+ url?: string | undefined;
131
+ username?: string | undefined;
132
+ tls?: boolean | undefined;
133
+ }, {
134
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
135
+ ttl?: number | undefined;
136
+ port?: number | undefined;
137
+ host?: string | undefined;
138
+ password?: string | undefined;
139
+ token?: string | undefined;
140
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
141
+ url?: string | undefined;
142
+ username?: string | undefined;
143
+ tls?: boolean | undefined;
144
+ }>;
145
+ declare const CheckoutShopConfigSchema: z.ZodObject<{
146
+ token: z.ZodString;
147
+ secret: z.ZodString;
148
+ host: z.ZodString;
149
+ user: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
150
+ cbdExpiration: z.ZodOptional<z.ZodNumber>;
151
+ }, "strip", z.ZodTypeAny, {
152
+ user: string | number;
153
+ host: string;
154
+ secret: string;
155
+ token: string;
156
+ cbdExpiration?: number | undefined;
157
+ }, {
158
+ user: string | number;
159
+ host: string;
160
+ secret: string;
161
+ token: string;
162
+ cbdExpiration?: number | undefined;
163
+ }>;
164
+ declare const ShopConfigSchema: z.ZodObject<{
165
+ idp: z.ZodOptional<z.ZodObject<{
166
+ enabled: z.ZodBoolean;
167
+ idpKeys: z.ZodArray<z.ZodString, "many">;
168
+ idpRedirectURL: z.ZodString;
169
+ }, "strip", z.ZodTypeAny, {
170
+ enabled: boolean;
171
+ idpKeys: string[];
172
+ idpRedirectURL: string;
173
+ }, {
174
+ enabled: boolean;
175
+ idpKeys: string[];
176
+ idpRedirectURL: string;
177
+ }>>;
178
+ shopId: z.ZodNumber;
179
+ path: z.ZodOptional<z.ZodString>;
180
+ apiBasePath: z.ZodOptional<z.ZodString>;
181
+ domain: z.ZodString;
182
+ locale: z.ZodString;
183
+ auth: z.ZodObject<{
184
+ resetPasswordUrl: z.ZodString;
185
+ }, "strip", z.ZodTypeAny, {
186
+ resetPasswordUrl: string;
187
+ }, {
188
+ resetPasswordUrl: string;
189
+ }>;
190
+ storeCampaignKeyword: z.ZodOptional<z.ZodString>;
191
+ currency: z.ZodString;
192
+ checkout: z.ZodObject<{
193
+ token: z.ZodString;
194
+ secret: z.ZodString;
195
+ host: z.ZodString;
196
+ user: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
197
+ cbdExpiration: z.ZodOptional<z.ZodNumber>;
198
+ }, "strip", z.ZodTypeAny, {
199
+ user: string | number;
200
+ host: string;
201
+ secret: string;
202
+ token: string;
203
+ cbdExpiration?: number | undefined;
204
+ }, {
205
+ user: string | number;
206
+ host: string;
207
+ secret: string;
208
+ token: string;
209
+ cbdExpiration?: number | undefined;
210
+ }>;
211
+ appKeys: z.ZodOptional<z.ZodObject<{
212
+ wishlistKey: z.ZodString;
213
+ basketKey: z.ZodString;
214
+ hashAlgorithm: z.ZodEnum<[string, ...string[]]>;
215
+ }, "strip", z.ZodTypeAny, {
216
+ wishlistKey: string;
217
+ basketKey: string;
218
+ hashAlgorithm: string;
219
+ }, {
220
+ wishlistKey: string;
221
+ basketKey: string;
222
+ hashAlgorithm: string;
223
+ }>>;
224
+ currencyFractionDigits: z.ZodOptional<z.ZodNumber>;
225
+ isEnabled: z.ZodOptional<z.ZodBoolean>;
226
+ sessionConfig: z.ZodOptional<z.ZodObject<{
227
+ /**
228
+ * The sameSite policy to use for the session cookie
229
+ */
230
+ sameSite: z.ZodOptional<z.ZodEnum<["lax", "strict", "none"]>>;
231
+ /**
232
+ * The default maxAge (in seconds) set on the session cookie and default TTL for session store
233
+ */
234
+ maxAge: z.ZodOptional<z.ZodNumber>;
235
+ /**
236
+ * The name used for the session cookie
237
+ */
238
+ cookieName: z.ZodOptional<z.ZodString>;
239
+ /**
240
+ * The secret used for signing session cookies. If an array is passed, the last
241
+ * value is used for signing new cookies, but all values are used to verify cookies.
242
+ */
243
+ secret: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
244
+ /**
245
+ * Controls the domain option on the session cookie
246
+ */
247
+ domain: z.ZodOptional<z.ZodString>;
248
+ }, "strip", z.ZodTypeAny, {
249
+ domain?: string | undefined;
250
+ sameSite?: "lax" | "strict" | "none" | undefined;
251
+ maxAge?: number | undefined;
252
+ cookieName?: string | undefined;
253
+ secret?: string | string[] | undefined;
254
+ }, {
255
+ domain?: string | undefined;
256
+ sameSite?: "lax" | "strict" | "none" | undefined;
257
+ maxAge?: number | undefined;
258
+ cookieName?: string | undefined;
259
+ secret?: string | string[] | undefined;
260
+ }>>;
261
+ bapi: z.ZodOptional<z.ZodObject<{
262
+ host: z.ZodString;
263
+ token: z.ZodString;
264
+ }, "strip", z.ZodTypeAny, {
265
+ host: string;
266
+ token: string;
267
+ }, {
268
+ host: string;
269
+ token: string;
270
+ }>>;
271
+ storage: z.ZodOptional<z.ZodObject<{
272
+ session: z.ZodOptional<z.ZodObject<{
273
+ driver: z.ZodEnum<["azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http", ...("azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http")[]]>;
274
+ compression: z.ZodOptional<z.ZodEnum<["deflate", "gzip", "brotli", "none"]>>;
275
+ url: z.ZodOptional<z.ZodString>;
276
+ token: z.ZodOptional<z.ZodString>;
277
+ host: z.ZodOptional<z.ZodString>;
278
+ port: z.ZodOptional<z.ZodNumber>;
279
+ username: z.ZodOptional<z.ZodString>;
280
+ password: z.ZodOptional<z.ZodString>;
281
+ tls: z.ZodOptional<z.ZodBoolean>;
282
+ ttl: z.ZodOptional<z.ZodNumber>;
8
283
  }, "strip", z.ZodTypeAny, {
9
- enabled: boolean;
10
- queryParamWhitelist?: string[] | undefined;
284
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
285
+ ttl?: number | undefined;
286
+ port?: number | undefined;
287
+ host?: string | undefined;
288
+ password?: string | undefined;
289
+ token?: string | undefined;
290
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
291
+ url?: string | undefined;
292
+ username?: string | undefined;
293
+ tls?: boolean | undefined;
11
294
  }, {
12
- enabled: boolean;
13
- queryParamWhitelist?: string[] | undefined;
295
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
296
+ ttl?: number | undefined;
297
+ port?: number | undefined;
298
+ host?: string | undefined;
299
+ password?: string | undefined;
300
+ token?: string | undefined;
301
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
302
+ url?: string | undefined;
303
+ username?: string | undefined;
304
+ tls?: boolean | undefined;
305
+ }>>;
306
+ cache: z.ZodOptional<z.ZodObject<{
307
+ driver: z.ZodEnum<["azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http", ...("azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http")[]]>;
308
+ compression: z.ZodOptional<z.ZodEnum<["deflate", "gzip", "brotli", "none"]>>;
309
+ url: z.ZodOptional<z.ZodString>;
310
+ token: z.ZodOptional<z.ZodString>;
311
+ host: z.ZodOptional<z.ZodString>;
312
+ port: z.ZodOptional<z.ZodNumber>;
313
+ username: z.ZodOptional<z.ZodString>;
314
+ password: z.ZodOptional<z.ZodString>;
315
+ tls: z.ZodOptional<z.ZodBoolean>;
316
+ ttl: z.ZodOptional<z.ZodNumber>;
317
+ }, "strip", z.ZodTypeAny, {
318
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
319
+ ttl?: number | undefined;
320
+ port?: number | undefined;
321
+ host?: string | undefined;
322
+ password?: string | undefined;
323
+ token?: string | undefined;
324
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
325
+ url?: string | undefined;
326
+ username?: string | undefined;
327
+ tls?: boolean | undefined;
328
+ }, {
329
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
330
+ ttl?: number | undefined;
331
+ port?: number | undefined;
332
+ host?: string | undefined;
333
+ password?: string | undefined;
334
+ token?: string | undefined;
335
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
336
+ url?: string | undefined;
337
+ username?: string | undefined;
338
+ tls?: boolean | undefined;
14
339
  }>>;
340
+ }, "strip", z.ZodTypeAny, {
341
+ session?: {
342
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
343
+ ttl?: number | undefined;
344
+ port?: number | undefined;
345
+ host?: string | undefined;
346
+ password?: string | undefined;
347
+ token?: string | undefined;
348
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
349
+ url?: string | undefined;
350
+ username?: string | undefined;
351
+ tls?: boolean | undefined;
352
+ } | undefined;
353
+ cache?: {
354
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
355
+ ttl?: number | undefined;
356
+ port?: number | undefined;
357
+ host?: string | undefined;
358
+ password?: string | undefined;
359
+ token?: string | undefined;
360
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
361
+ url?: string | undefined;
362
+ username?: string | undefined;
363
+ tls?: boolean | undefined;
364
+ } | undefined;
365
+ }, {
366
+ session?: {
367
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
368
+ ttl?: number | undefined;
369
+ port?: number | undefined;
370
+ host?: string | undefined;
371
+ password?: string | undefined;
372
+ token?: string | undefined;
373
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
374
+ url?: string | undefined;
375
+ username?: string | undefined;
376
+ tls?: boolean | undefined;
377
+ } | undefined;
378
+ cache?: {
379
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
380
+ ttl?: number | undefined;
381
+ port?: number | undefined;
382
+ host?: string | undefined;
383
+ password?: string | undefined;
384
+ token?: string | undefined;
385
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
386
+ url?: string | undefined;
387
+ username?: string | undefined;
388
+ tls?: boolean | undefined;
389
+ } | undefined;
390
+ }>>;
391
+ isDefault: z.ZodOptional<z.ZodBoolean>;
392
+ /** @deprecated shop-specific storefront.redis config is being removed in favor of global nitro.storage config */
393
+ redis: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
394
+ port: z.ZodOptional<z.ZodNumber>;
395
+ host: z.ZodOptional<z.ZodString>;
396
+ prefix: z.ZodOptional<z.ZodString>;
397
+ sslTransit: z.ZodOptional<z.ZodBoolean>;
398
+ }, "strip", z.ZodTypeAny, {
399
+ port?: number | undefined;
400
+ host?: string | undefined;
401
+ prefix?: string | undefined;
402
+ sslTransit?: boolean | undefined;
403
+ }, {
404
+ port?: number | undefined;
405
+ host?: string | undefined;
406
+ prefix?: string | undefined;
407
+ sslTransit?: boolean | undefined;
408
+ }>, z.ZodObject<{
409
+ port: z.ZodOptional<z.ZodNumber>;
410
+ host: z.ZodOptional<z.ZodString>;
411
+ prefix: z.ZodOptional<z.ZodString>;
412
+ sslTransit: z.ZodOptional<z.ZodBoolean>;
413
+ user: z.ZodString;
414
+ password: z.ZodString;
415
+ }, "strip", z.ZodTypeAny, {
416
+ user: string;
417
+ password: string;
418
+ port?: number | undefined;
419
+ host?: string | undefined;
420
+ prefix?: string | undefined;
421
+ sslTransit?: boolean | undefined;
422
+ }, {
423
+ user: string;
424
+ password: string;
425
+ port?: number | undefined;
426
+ host?: string | undefined;
427
+ prefix?: string | undefined;
428
+ sslTransit?: boolean | undefined;
429
+ }>]>>;
430
+ }, "strip", z.ZodTypeAny, {
431
+ locale: string;
432
+ checkout: {
433
+ user: string | number;
434
+ host: string;
435
+ secret: string;
436
+ token: string;
437
+ cbdExpiration?: number | undefined;
438
+ };
439
+ shopId: number;
440
+ domain: string;
441
+ auth: {
442
+ resetPasswordUrl: string;
443
+ };
444
+ currency: string;
445
+ storeCampaignKeyword?: string | undefined;
446
+ idp?: {
447
+ enabled: boolean;
448
+ idpKeys: string[];
449
+ idpRedirectURL: string;
450
+ } | undefined;
451
+ path?: string | undefined;
452
+ redis?: {
453
+ port?: number | undefined;
454
+ host?: string | undefined;
455
+ prefix?: string | undefined;
456
+ sslTransit?: boolean | undefined;
457
+ } | {
458
+ user: string;
459
+ password: string;
460
+ port?: number | undefined;
461
+ host?: string | undefined;
462
+ prefix?: string | undefined;
463
+ sslTransit?: boolean | undefined;
464
+ } | undefined;
465
+ apiBasePath?: string | undefined;
466
+ appKeys?: {
467
+ wishlistKey: string;
468
+ basketKey: string;
469
+ hashAlgorithm: string;
470
+ } | undefined;
471
+ currencyFractionDigits?: number | undefined;
472
+ isEnabled?: boolean | undefined;
473
+ sessionConfig?: {
474
+ domain?: string | undefined;
475
+ sameSite?: "lax" | "strict" | "none" | undefined;
476
+ maxAge?: number | undefined;
477
+ cookieName?: string | undefined;
478
+ secret?: string | string[] | undefined;
479
+ } | undefined;
480
+ bapi?: {
481
+ host: string;
482
+ token: string;
483
+ } | undefined;
484
+ storage?: {
485
+ session?: {
486
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
487
+ ttl?: number | undefined;
488
+ port?: number | undefined;
489
+ host?: string | undefined;
490
+ password?: string | undefined;
491
+ token?: string | undefined;
492
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
493
+ url?: string | undefined;
494
+ username?: string | undefined;
495
+ tls?: boolean | undefined;
496
+ } | undefined;
497
+ cache?: {
498
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
499
+ ttl?: number | undefined;
500
+ port?: number | undefined;
501
+ host?: string | undefined;
502
+ password?: string | undefined;
503
+ token?: string | undefined;
504
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
505
+ url?: string | undefined;
506
+ username?: string | undefined;
507
+ tls?: boolean | undefined;
508
+ } | undefined;
509
+ } | undefined;
510
+ isDefault?: boolean | undefined;
511
+ }, {
512
+ locale: string;
513
+ checkout: {
514
+ user: string | number;
515
+ host: string;
516
+ secret: string;
517
+ token: string;
518
+ cbdExpiration?: number | undefined;
519
+ };
520
+ shopId: number;
521
+ domain: string;
522
+ auth: {
523
+ resetPasswordUrl: string;
524
+ };
525
+ currency: string;
526
+ storeCampaignKeyword?: string | undefined;
527
+ idp?: {
528
+ enabled: boolean;
529
+ idpKeys: string[];
530
+ idpRedirectURL: string;
531
+ } | undefined;
532
+ path?: string | undefined;
533
+ redis?: {
534
+ port?: number | undefined;
535
+ host?: string | undefined;
536
+ prefix?: string | undefined;
537
+ sslTransit?: boolean | undefined;
538
+ } | {
539
+ user: string;
540
+ password: string;
541
+ port?: number | undefined;
542
+ host?: string | undefined;
543
+ prefix?: string | undefined;
544
+ sslTransit?: boolean | undefined;
545
+ } | undefined;
546
+ apiBasePath?: string | undefined;
547
+ appKeys?: {
548
+ wishlistKey: string;
549
+ basketKey: string;
550
+ hashAlgorithm: string;
551
+ } | undefined;
552
+ currencyFractionDigits?: number | undefined;
553
+ isEnabled?: boolean | undefined;
554
+ sessionConfig?: {
555
+ domain?: string | undefined;
556
+ sameSite?: "lax" | "strict" | "none" | undefined;
557
+ maxAge?: number | undefined;
558
+ cookieName?: string | undefined;
559
+ secret?: string | string[] | undefined;
560
+ } | undefined;
561
+ bapi?: {
562
+ host: string;
563
+ token: string;
564
+ } | undefined;
565
+ storage?: {
566
+ session?: {
567
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
568
+ ttl?: number | undefined;
569
+ port?: number | undefined;
570
+ host?: string | undefined;
571
+ password?: string | undefined;
572
+ token?: string | undefined;
573
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
574
+ url?: string | undefined;
575
+ username?: string | undefined;
576
+ tls?: boolean | undefined;
577
+ } | undefined;
578
+ cache?: {
579
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
580
+ ttl?: number | undefined;
581
+ port?: number | undefined;
582
+ host?: string | undefined;
583
+ password?: string | undefined;
584
+ token?: string | undefined;
585
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
586
+ url?: string | undefined;
587
+ username?: string | undefined;
588
+ tls?: boolean | undefined;
589
+ } | undefined;
590
+ } | undefined;
591
+ isDefault?: boolean | undefined;
592
+ }>;
593
+ declare const ShopSelectorSchema: z.ZodEnum<["path", "domain", "path_or_default"]>;
594
+ declare const StorefrontConfigSchema: z.ZodObject<{
595
+ session: z.ZodOptional<z.ZodObject<{
596
+ /**
597
+ * The sameSite policy to use for the session cookie
598
+ */
599
+ sameSite: z.ZodOptional<z.ZodEnum<["lax", "strict", "none"]>>;
600
+ /**
601
+ * The default maxAge (in seconds) set on the session cookie and default TTL for session store
602
+ */
603
+ maxAge: z.ZodOptional<z.ZodNumber>;
604
+ /**
605
+ * The name used for the session cookie
606
+ */
607
+ cookieName: z.ZodOptional<z.ZodString>;
608
+ /**
609
+ * The secret used for signing session cookies. If an array is passed, the last
610
+ * value is used for signing new cookies, but all values are used to verify cookies.
611
+ */
612
+ secret: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
613
+ /**
614
+ * Controls the domain option on the session cookie
615
+ */
616
+ domain: z.ZodOptional<z.ZodString>;
617
+ }, "strip", z.ZodTypeAny, {
618
+ domain?: string | undefined;
619
+ sameSite?: "lax" | "strict" | "none" | undefined;
620
+ maxAge?: number | undefined;
621
+ cookieName?: string | undefined;
622
+ secret?: string | string[] | undefined;
623
+ }, {
624
+ domain?: string | undefined;
625
+ sameSite?: "lax" | "strict" | "none" | undefined;
626
+ maxAge?: number | undefined;
627
+ cookieName?: string | undefined;
628
+ secret?: string | string[] | undefined;
629
+ }>>;
630
+ bapi: z.ZodObject<{
631
+ host: z.ZodString;
632
+ token: z.ZodString;
633
+ }, "strip", z.ZodTypeAny, {
634
+ host: string;
635
+ token: string;
636
+ }, {
637
+ host: string;
638
+ token: string;
639
+ }>;
640
+ storage: z.ZodOptional<z.ZodObject<{
15
641
  session: z.ZodOptional<z.ZodObject<{
642
+ driver: z.ZodEnum<["azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http", ...("azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http")[]]>;
643
+ compression: z.ZodOptional<z.ZodEnum<["deflate", "gzip", "brotli", "none"]>>;
644
+ url: z.ZodOptional<z.ZodString>;
645
+ token: z.ZodOptional<z.ZodString>;
646
+ host: z.ZodOptional<z.ZodString>;
647
+ port: z.ZodOptional<z.ZodNumber>;
648
+ username: z.ZodOptional<z.ZodString>;
649
+ password: z.ZodOptional<z.ZodString>;
650
+ tls: z.ZodOptional<z.ZodBoolean>;
651
+ ttl: z.ZodOptional<z.ZodNumber>;
652
+ }, "strip", z.ZodTypeAny, {
653
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
654
+ ttl?: number | undefined;
655
+ port?: number | undefined;
656
+ host?: string | undefined;
657
+ password?: string | undefined;
658
+ token?: string | undefined;
659
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
660
+ url?: string | undefined;
661
+ username?: string | undefined;
662
+ tls?: boolean | undefined;
663
+ }, {
664
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
665
+ ttl?: number | undefined;
666
+ port?: number | undefined;
667
+ host?: string | undefined;
668
+ password?: string | undefined;
669
+ token?: string | undefined;
670
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
671
+ url?: string | undefined;
672
+ username?: string | undefined;
673
+ tls?: boolean | undefined;
674
+ }>>;
675
+ cache: z.ZodOptional<z.ZodObject<{
676
+ driver: z.ZodEnum<["azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http", ...("azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http")[]]>;
677
+ compression: z.ZodOptional<z.ZodEnum<["deflate", "gzip", "brotli", "none"]>>;
678
+ url: z.ZodOptional<z.ZodString>;
679
+ token: z.ZodOptional<z.ZodString>;
680
+ host: z.ZodOptional<z.ZodString>;
681
+ port: z.ZodOptional<z.ZodNumber>;
682
+ username: z.ZodOptional<z.ZodString>;
683
+ password: z.ZodOptional<z.ZodString>;
684
+ tls: z.ZodOptional<z.ZodBoolean>;
685
+ ttl: z.ZodOptional<z.ZodNumber>;
686
+ }, "strip", z.ZodTypeAny, {
687
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
688
+ ttl?: number | undefined;
689
+ port?: number | undefined;
690
+ host?: string | undefined;
691
+ password?: string | undefined;
692
+ token?: string | undefined;
693
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
694
+ url?: string | undefined;
695
+ username?: string | undefined;
696
+ tls?: boolean | undefined;
697
+ }, {
698
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
699
+ ttl?: number | undefined;
700
+ port?: number | undefined;
701
+ host?: string | undefined;
702
+ password?: string | undefined;
703
+ token?: string | undefined;
704
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
705
+ url?: string | undefined;
706
+ username?: string | undefined;
707
+ tls?: boolean | undefined;
708
+ }>>;
709
+ }, "strip", z.ZodTypeAny, {
710
+ session?: {
711
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
712
+ ttl?: number | undefined;
713
+ port?: number | undefined;
714
+ host?: string | undefined;
715
+ password?: string | undefined;
716
+ token?: string | undefined;
717
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
718
+ url?: string | undefined;
719
+ username?: string | undefined;
720
+ tls?: boolean | undefined;
721
+ } | undefined;
722
+ cache?: {
723
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
724
+ ttl?: number | undefined;
725
+ port?: number | undefined;
726
+ host?: string | undefined;
727
+ password?: string | undefined;
728
+ token?: string | undefined;
729
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
730
+ url?: string | undefined;
731
+ username?: string | undefined;
732
+ tls?: boolean | undefined;
733
+ } | undefined;
734
+ }, {
735
+ session?: {
736
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
737
+ ttl?: number | undefined;
738
+ port?: number | undefined;
739
+ host?: string | undefined;
740
+ password?: string | undefined;
741
+ token?: string | undefined;
742
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
743
+ url?: string | undefined;
744
+ username?: string | undefined;
745
+ tls?: boolean | undefined;
746
+ } | undefined;
747
+ cache?: {
748
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
749
+ ttl?: number | undefined;
750
+ port?: number | undefined;
751
+ host?: string | undefined;
752
+ password?: string | undefined;
753
+ token?: string | undefined;
754
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
755
+ url?: string | undefined;
756
+ username?: string | undefined;
757
+ tls?: boolean | undefined;
758
+ } | undefined;
759
+ }>>;
760
+ oauth: z.ZodObject<{
761
+ apiHost: z.ZodString;
762
+ clientId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
763
+ clientSecret: z.ZodString;
764
+ }, "strip", z.ZodTypeAny, {
765
+ apiHost: string;
766
+ clientId: string | number;
767
+ clientSecret: string;
768
+ }, {
769
+ apiHost: string;
770
+ clientId: string | number;
771
+ clientSecret: string;
772
+ }>;
773
+ appKeys: z.ZodObject<{
774
+ wishlistKey: z.ZodString;
775
+ basketKey: z.ZodString;
776
+ hashAlgorithm: z.ZodEnum<[string, ...string[]]>;
777
+ }, "strip", z.ZodTypeAny, {
778
+ wishlistKey: string;
779
+ basketKey: string;
780
+ hashAlgorithm: string;
781
+ }, {
782
+ wishlistKey: string;
783
+ basketKey: string;
784
+ hashAlgorithm: string;
785
+ }>;
786
+ apiBasePath: z.ZodOptional<z.ZodString>;
787
+ cache: z.ZodOptional<z.ZodObject<{
788
+ auth: z.ZodObject<{
789
+ username: z.ZodString;
790
+ password: z.ZodString;
791
+ }, "strip", z.ZodTypeAny, {
792
+ password: string;
793
+ username: string;
794
+ }, {
795
+ password: string;
796
+ username: string;
797
+ }>;
798
+ enabled: z.ZodBoolean;
799
+ }, "strip", z.ZodTypeAny, {
800
+ auth: {
801
+ password: string;
802
+ username: string;
803
+ };
804
+ enabled: boolean;
805
+ }, {
806
+ auth: {
807
+ password: string;
808
+ username: string;
809
+ };
810
+ enabled: boolean;
811
+ }>>;
812
+ publicShopData: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
813
+ idp: z.ZodOptional<z.ZodObject<{
814
+ enabled: z.ZodBoolean;
815
+ idpKeys: z.ZodArray<z.ZodString, "many">;
816
+ idpRedirectURL: z.ZodString;
817
+ }, "strip", z.ZodTypeAny, {
818
+ enabled: boolean;
819
+ idpKeys: string[];
820
+ idpRedirectURL: string;
821
+ }, {
822
+ enabled: boolean;
823
+ idpKeys: string[];
824
+ idpRedirectURL: string;
825
+ }>>;
826
+ /** @deprecated Global storefront.redis config is being removed in favor of `storefront.storage` config */
827
+ redis: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
828
+ port: z.ZodOptional<z.ZodNumber>;
829
+ host: z.ZodOptional<z.ZodString>;
830
+ prefix: z.ZodOptional<z.ZodString>;
831
+ sslTransit: z.ZodOptional<z.ZodBoolean>;
832
+ }, "strip", z.ZodTypeAny, {
833
+ port?: number | undefined;
834
+ host?: string | undefined;
835
+ prefix?: string | undefined;
836
+ sslTransit?: boolean | undefined;
837
+ }, {
838
+ port?: number | undefined;
839
+ host?: string | undefined;
840
+ prefix?: string | undefined;
841
+ sslTransit?: boolean | undefined;
842
+ }>, z.ZodObject<{
843
+ port: z.ZodOptional<z.ZodNumber>;
844
+ host: z.ZodOptional<z.ZodString>;
845
+ prefix: z.ZodOptional<z.ZodString>;
846
+ sslTransit: z.ZodOptional<z.ZodBoolean>;
847
+ user: z.ZodString;
848
+ password: z.ZodString;
849
+ }, "strip", z.ZodTypeAny, {
850
+ user: string;
851
+ password: string;
852
+ port?: number | undefined;
853
+ host?: string | undefined;
854
+ prefix?: string | undefined;
855
+ sslTransit?: boolean | undefined;
856
+ }, {
857
+ user: string;
858
+ password: string;
859
+ port?: number | undefined;
860
+ host?: string | undefined;
861
+ prefix?: string | undefined;
862
+ sslTransit?: boolean | undefined;
863
+ }>]>>;
864
+ }, "strip", z.ZodTypeAny, {
865
+ oauth: {
866
+ apiHost: string;
867
+ clientId: string | number;
868
+ clientSecret: string;
869
+ };
870
+ appKeys: {
871
+ wishlistKey: string;
872
+ basketKey: string;
873
+ hashAlgorithm: string;
874
+ };
875
+ bapi: {
876
+ host: string;
877
+ token: string;
878
+ };
879
+ idp?: {
880
+ enabled: boolean;
881
+ idpKeys: string[];
882
+ idpRedirectURL: string;
883
+ } | undefined;
884
+ redis?: {
885
+ port?: number | undefined;
886
+ host?: string | undefined;
887
+ prefix?: string | undefined;
888
+ sslTransit?: boolean | undefined;
889
+ } | {
890
+ user: string;
891
+ password: string;
892
+ port?: number | undefined;
893
+ host?: string | undefined;
894
+ prefix?: string | undefined;
895
+ sslTransit?: boolean | undefined;
896
+ } | undefined;
897
+ apiBasePath?: string | undefined;
898
+ session?: {
899
+ domain?: string | undefined;
900
+ sameSite?: "lax" | "strict" | "none" | undefined;
901
+ maxAge?: number | undefined;
902
+ cookieName?: string | undefined;
903
+ secret?: string | string[] | undefined;
904
+ } | undefined;
905
+ cache?: {
906
+ auth: {
907
+ password: string;
908
+ username: string;
909
+ };
910
+ enabled: boolean;
911
+ } | undefined;
912
+ storage?: {
913
+ session?: {
914
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
915
+ ttl?: number | undefined;
916
+ port?: number | undefined;
917
+ host?: string | undefined;
918
+ password?: string | undefined;
919
+ token?: string | undefined;
920
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
921
+ url?: string | undefined;
922
+ username?: string | undefined;
923
+ tls?: boolean | undefined;
924
+ } | undefined;
925
+ cache?: {
926
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
927
+ ttl?: number | undefined;
928
+ port?: number | undefined;
929
+ host?: string | undefined;
930
+ password?: string | undefined;
931
+ token?: string | undefined;
932
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
933
+ url?: string | undefined;
934
+ username?: string | undefined;
935
+ tls?: boolean | undefined;
936
+ } | undefined;
937
+ } | undefined;
938
+ publicShopData?: string[] | undefined;
939
+ }, {
940
+ oauth: {
941
+ apiHost: string;
942
+ clientId: string | number;
943
+ clientSecret: string;
944
+ };
945
+ appKeys: {
946
+ wishlistKey: string;
947
+ basketKey: string;
948
+ hashAlgorithm: string;
949
+ };
950
+ bapi: {
951
+ host: string;
952
+ token: string;
953
+ };
954
+ idp?: {
955
+ enabled: boolean;
956
+ idpKeys: string[];
957
+ idpRedirectURL: string;
958
+ } | undefined;
959
+ redis?: {
960
+ port?: number | undefined;
961
+ host?: string | undefined;
962
+ prefix?: string | undefined;
963
+ sslTransit?: boolean | undefined;
964
+ } | {
965
+ user: string;
966
+ password: string;
967
+ port?: number | undefined;
968
+ host?: string | undefined;
969
+ prefix?: string | undefined;
970
+ sslTransit?: boolean | undefined;
971
+ } | undefined;
972
+ apiBasePath?: string | undefined;
973
+ session?: {
974
+ domain?: string | undefined;
975
+ sameSite?: "lax" | "strict" | "none" | undefined;
976
+ maxAge?: number | undefined;
977
+ cookieName?: string | undefined;
978
+ secret?: string | string[] | undefined;
979
+ } | undefined;
980
+ cache?: {
981
+ auth: {
982
+ password: string;
983
+ username: string;
984
+ };
985
+ enabled: boolean;
986
+ } | undefined;
987
+ storage?: {
988
+ session?: {
989
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
990
+ ttl?: number | undefined;
991
+ port?: number | undefined;
992
+ host?: string | undefined;
993
+ password?: string | undefined;
994
+ token?: string | undefined;
995
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
996
+ url?: string | undefined;
997
+ username?: string | undefined;
998
+ tls?: boolean | undefined;
999
+ } | undefined;
1000
+ cache?: {
1001
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
1002
+ ttl?: number | undefined;
1003
+ port?: number | undefined;
1004
+ host?: string | undefined;
1005
+ password?: string | undefined;
1006
+ token?: string | undefined;
1007
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
1008
+ url?: string | undefined;
1009
+ username?: string | undefined;
1010
+ tls?: boolean | undefined;
1011
+ } | undefined;
1012
+ } | undefined;
1013
+ publicShopData?: string[] | undefined;
1014
+ }>;
1015
+ declare const PublicRuntimeConfigSchema: z.ZodObject<{
1016
+ log: z.ZodObject<{
1017
+ name: z.ZodString;
1018
+ level: z.ZodType<LogLevel, z.ZodTypeDef, LogLevel>;
1019
+ }, "strip", z.ZodTypeAny, {
1020
+ level: LogLevel;
1021
+ name: string;
1022
+ }, {
1023
+ level: LogLevel;
1024
+ name: string;
1025
+ }>;
1026
+ }, "strip", z.ZodTypeAny, {
1027
+ log: {
1028
+ level: LogLevel;
1029
+ name: string;
1030
+ };
1031
+ }, {
1032
+ log: {
1033
+ level: LogLevel;
1034
+ name: string;
1035
+ };
1036
+ }>;
1037
+ export declare const RuntimeConfigSchema: z.ZodObject<{
1038
+ storefront: z.ZodUnion<[z.ZodObject<{
1039
+ session: z.ZodOptional<z.ZodObject<{
1040
+ /**
1041
+ * The sameSite policy to use for the session cookie
1042
+ */
16
1043
  sameSite: z.ZodOptional<z.ZodEnum<["lax", "strict", "none"]>>;
1044
+ /**
1045
+ * The default maxAge (in seconds) set on the session cookie and default TTL for session store
1046
+ */
17
1047
  maxAge: z.ZodOptional<z.ZodNumber>;
1048
+ /**
1049
+ * The name used for the session cookie
1050
+ */
18
1051
  cookieName: z.ZodOptional<z.ZodString>;
19
- secret: z.ZodOptional<z.ZodString>;
1052
+ /**
1053
+ * The secret used for signing session cookies. If an array is passed, the last
1054
+ * value is used for signing new cookies, but all values are used to verify cookies.
1055
+ */
1056
+ secret: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1057
+ /**
1058
+ * Controls the domain option on the session cookie
1059
+ */
20
1060
  domain: z.ZodOptional<z.ZodString>;
21
1061
  }, "strip", z.ZodTypeAny, {
22
1062
  domain?: string | undefined;
23
- secret?: string | undefined;
24
- cookieName?: string | undefined;
25
- sameSite?: "none" | "lax" | "strict" | undefined;
1063
+ sameSite?: "lax" | "strict" | "none" | undefined;
26
1064
  maxAge?: number | undefined;
1065
+ cookieName?: string | undefined;
1066
+ secret?: string | string[] | undefined;
27
1067
  }, {
28
1068
  domain?: string | undefined;
29
- secret?: string | undefined;
30
- cookieName?: string | undefined;
31
- sameSite?: "none" | "lax" | "strict" | undefined;
1069
+ sameSite?: "lax" | "strict" | "none" | undefined;
32
1070
  maxAge?: number | undefined;
1071
+ cookieName?: string | undefined;
1072
+ secret?: string | string[] | undefined;
33
1073
  }>>;
34
1074
  bapi: z.ZodObject<{
35
1075
  host: z.ZodString;
@@ -41,6 +1081,126 @@ export declare const runtimeConfigSchema: z.ZodObject<{
41
1081
  host: string;
42
1082
  token: string;
43
1083
  }>;
1084
+ storage: z.ZodOptional<z.ZodObject<{
1085
+ session: z.ZodOptional<z.ZodObject<{
1086
+ driver: z.ZodEnum<["azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http", ...("azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http")[]]>;
1087
+ compression: z.ZodOptional<z.ZodEnum<["deflate", "gzip", "brotli", "none"]>>;
1088
+ url: z.ZodOptional<z.ZodString>;
1089
+ token: z.ZodOptional<z.ZodString>;
1090
+ host: z.ZodOptional<z.ZodString>;
1091
+ port: z.ZodOptional<z.ZodNumber>;
1092
+ username: z.ZodOptional<z.ZodString>;
1093
+ password: z.ZodOptional<z.ZodString>;
1094
+ tls: z.ZodOptional<z.ZodBoolean>;
1095
+ ttl: z.ZodOptional<z.ZodNumber>;
1096
+ }, "strip", z.ZodTypeAny, {
1097
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
1098
+ ttl?: number | undefined;
1099
+ port?: number | undefined;
1100
+ host?: string | undefined;
1101
+ password?: string | undefined;
1102
+ token?: string | undefined;
1103
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
1104
+ url?: string | undefined;
1105
+ username?: string | undefined;
1106
+ tls?: boolean | undefined;
1107
+ }, {
1108
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
1109
+ ttl?: number | undefined;
1110
+ port?: number | undefined;
1111
+ host?: string | undefined;
1112
+ password?: string | undefined;
1113
+ token?: string | undefined;
1114
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
1115
+ url?: string | undefined;
1116
+ username?: string | undefined;
1117
+ tls?: boolean | undefined;
1118
+ }>>;
1119
+ cache: z.ZodOptional<z.ZodObject<{
1120
+ driver: z.ZodEnum<["azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http", ...("azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http")[]]>;
1121
+ compression: z.ZodOptional<z.ZodEnum<["deflate", "gzip", "brotli", "none"]>>;
1122
+ url: z.ZodOptional<z.ZodString>;
1123
+ token: z.ZodOptional<z.ZodString>;
1124
+ host: z.ZodOptional<z.ZodString>;
1125
+ port: z.ZodOptional<z.ZodNumber>;
1126
+ username: z.ZodOptional<z.ZodString>;
1127
+ password: z.ZodOptional<z.ZodString>;
1128
+ tls: z.ZodOptional<z.ZodBoolean>;
1129
+ ttl: z.ZodOptional<z.ZodNumber>;
1130
+ }, "strip", z.ZodTypeAny, {
1131
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
1132
+ ttl?: number | undefined;
1133
+ port?: number | undefined;
1134
+ host?: string | undefined;
1135
+ password?: string | undefined;
1136
+ token?: string | undefined;
1137
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
1138
+ url?: string | undefined;
1139
+ username?: string | undefined;
1140
+ tls?: boolean | undefined;
1141
+ }, {
1142
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
1143
+ ttl?: number | undefined;
1144
+ port?: number | undefined;
1145
+ host?: string | undefined;
1146
+ password?: string | undefined;
1147
+ token?: string | undefined;
1148
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
1149
+ url?: string | undefined;
1150
+ username?: string | undefined;
1151
+ tls?: boolean | undefined;
1152
+ }>>;
1153
+ }, "strip", z.ZodTypeAny, {
1154
+ session?: {
1155
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
1156
+ ttl?: number | undefined;
1157
+ port?: number | undefined;
1158
+ host?: string | undefined;
1159
+ password?: string | undefined;
1160
+ token?: string | undefined;
1161
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
1162
+ url?: string | undefined;
1163
+ username?: string | undefined;
1164
+ tls?: boolean | undefined;
1165
+ } | undefined;
1166
+ cache?: {
1167
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
1168
+ ttl?: number | undefined;
1169
+ port?: number | undefined;
1170
+ host?: string | undefined;
1171
+ password?: string | undefined;
1172
+ token?: string | undefined;
1173
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
1174
+ url?: string | undefined;
1175
+ username?: string | undefined;
1176
+ tls?: boolean | undefined;
1177
+ } | undefined;
1178
+ }, {
1179
+ session?: {
1180
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
1181
+ ttl?: number | undefined;
1182
+ port?: number | undefined;
1183
+ host?: string | undefined;
1184
+ password?: string | undefined;
1185
+ token?: string | undefined;
1186
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
1187
+ url?: string | undefined;
1188
+ username?: string | undefined;
1189
+ tls?: boolean | undefined;
1190
+ } | undefined;
1191
+ cache?: {
1192
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
1193
+ ttl?: number | undefined;
1194
+ port?: number | undefined;
1195
+ host?: string | undefined;
1196
+ password?: string | undefined;
1197
+ token?: string | undefined;
1198
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
1199
+ url?: string | undefined;
1200
+ username?: string | undefined;
1201
+ tls?: boolean | undefined;
1202
+ } | undefined;
1203
+ }>>;
44
1204
  oauth: z.ZodObject<{
45
1205
  apiHost: z.ZodString;
46
1206
  clientId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
@@ -54,19 +1214,248 @@ export declare const runtimeConfigSchema: z.ZodObject<{
54
1214
  clientId: string | number;
55
1215
  clientSecret: string;
56
1216
  }>;
1217
+ appKeys: z.ZodObject<{
1218
+ wishlistKey: z.ZodString;
1219
+ basketKey: z.ZodString;
1220
+ hashAlgorithm: z.ZodEnum<[string, ...string[]]>;
1221
+ }, "strip", z.ZodTypeAny, {
1222
+ wishlistKey: string;
1223
+ basketKey: string;
1224
+ hashAlgorithm: string;
1225
+ }, {
1226
+ wishlistKey: string;
1227
+ basketKey: string;
1228
+ hashAlgorithm: string;
1229
+ }>;
1230
+ apiBasePath: z.ZodOptional<z.ZodString>;
1231
+ cache: z.ZodOptional<z.ZodObject<{
1232
+ auth: z.ZodObject<{
1233
+ username: z.ZodString;
1234
+ password: z.ZodString;
1235
+ }, "strip", z.ZodTypeAny, {
1236
+ password: string;
1237
+ username: string;
1238
+ }, {
1239
+ password: string;
1240
+ username: string;
1241
+ }>;
1242
+ enabled: z.ZodBoolean;
1243
+ }, "strip", z.ZodTypeAny, {
1244
+ auth: {
1245
+ password: string;
1246
+ username: string;
1247
+ };
1248
+ enabled: boolean;
1249
+ }, {
1250
+ auth: {
1251
+ password: string;
1252
+ username: string;
1253
+ };
1254
+ enabled: boolean;
1255
+ }>>;
1256
+ publicShopData: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
57
1257
  idp: z.ZodOptional<z.ZodObject<{
58
1258
  enabled: z.ZodBoolean;
59
1259
  idpKeys: z.ZodArray<z.ZodString, "many">;
60
1260
  idpRedirectURL: z.ZodString;
61
1261
  }, "strip", z.ZodTypeAny, {
62
1262
  enabled: boolean;
1263
+ idpKeys: string[];
63
1264
  idpRedirectURL: string;
1265
+ }, {
1266
+ enabled: boolean;
64
1267
  idpKeys: string[];
1268
+ idpRedirectURL: string;
1269
+ }>>;
1270
+ /** @deprecated Global storefront.redis config is being removed in favor of `storefront.storage` config */
1271
+ redis: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1272
+ port: z.ZodOptional<z.ZodNumber>;
1273
+ host: z.ZodOptional<z.ZodString>;
1274
+ prefix: z.ZodOptional<z.ZodString>;
1275
+ sslTransit: z.ZodOptional<z.ZodBoolean>;
1276
+ }, "strip", z.ZodTypeAny, {
1277
+ port?: number | undefined;
1278
+ host?: string | undefined;
1279
+ prefix?: string | undefined;
1280
+ sslTransit?: boolean | undefined;
1281
+ }, {
1282
+ port?: number | undefined;
1283
+ host?: string | undefined;
1284
+ prefix?: string | undefined;
1285
+ sslTransit?: boolean | undefined;
1286
+ }>, z.ZodObject<{
1287
+ port: z.ZodOptional<z.ZodNumber>;
1288
+ host: z.ZodOptional<z.ZodString>;
1289
+ prefix: z.ZodOptional<z.ZodString>;
1290
+ sslTransit: z.ZodOptional<z.ZodBoolean>;
1291
+ user: z.ZodString;
1292
+ password: z.ZodString;
1293
+ }, "strip", z.ZodTypeAny, {
1294
+ user: string;
1295
+ password: string;
1296
+ port?: number | undefined;
1297
+ host?: string | undefined;
1298
+ prefix?: string | undefined;
1299
+ sslTransit?: boolean | undefined;
65
1300
  }, {
1301
+ user: string;
1302
+ password: string;
1303
+ port?: number | undefined;
1304
+ host?: string | undefined;
1305
+ prefix?: string | undefined;
1306
+ sslTransit?: boolean | undefined;
1307
+ }>]>>;
1308
+ }, "strip", z.ZodTypeAny, {
1309
+ oauth: {
1310
+ apiHost: string;
1311
+ clientId: string | number;
1312
+ clientSecret: string;
1313
+ };
1314
+ appKeys: {
1315
+ wishlistKey: string;
1316
+ basketKey: string;
1317
+ hashAlgorithm: string;
1318
+ };
1319
+ bapi: {
1320
+ host: string;
1321
+ token: string;
1322
+ };
1323
+ idp?: {
1324
+ enabled: boolean;
1325
+ idpKeys: string[];
1326
+ idpRedirectURL: string;
1327
+ } | undefined;
1328
+ redis?: {
1329
+ port?: number | undefined;
1330
+ host?: string | undefined;
1331
+ prefix?: string | undefined;
1332
+ sslTransit?: boolean | undefined;
1333
+ } | {
1334
+ user: string;
1335
+ password: string;
1336
+ port?: number | undefined;
1337
+ host?: string | undefined;
1338
+ prefix?: string | undefined;
1339
+ sslTransit?: boolean | undefined;
1340
+ } | undefined;
1341
+ apiBasePath?: string | undefined;
1342
+ session?: {
1343
+ domain?: string | undefined;
1344
+ sameSite?: "lax" | "strict" | "none" | undefined;
1345
+ maxAge?: number | undefined;
1346
+ cookieName?: string | undefined;
1347
+ secret?: string | string[] | undefined;
1348
+ } | undefined;
1349
+ cache?: {
1350
+ auth: {
1351
+ password: string;
1352
+ username: string;
1353
+ };
1354
+ enabled: boolean;
1355
+ } | undefined;
1356
+ storage?: {
1357
+ session?: {
1358
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
1359
+ ttl?: number | undefined;
1360
+ port?: number | undefined;
1361
+ host?: string | undefined;
1362
+ password?: string | undefined;
1363
+ token?: string | undefined;
1364
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
1365
+ url?: string | undefined;
1366
+ username?: string | undefined;
1367
+ tls?: boolean | undefined;
1368
+ } | undefined;
1369
+ cache?: {
1370
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
1371
+ ttl?: number | undefined;
1372
+ port?: number | undefined;
1373
+ host?: string | undefined;
1374
+ password?: string | undefined;
1375
+ token?: string | undefined;
1376
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
1377
+ url?: string | undefined;
1378
+ username?: string | undefined;
1379
+ tls?: boolean | undefined;
1380
+ } | undefined;
1381
+ } | undefined;
1382
+ publicShopData?: string[] | undefined;
1383
+ }, {
1384
+ oauth: {
1385
+ apiHost: string;
1386
+ clientId: string | number;
1387
+ clientSecret: string;
1388
+ };
1389
+ appKeys: {
1390
+ wishlistKey: string;
1391
+ basketKey: string;
1392
+ hashAlgorithm: string;
1393
+ };
1394
+ bapi: {
1395
+ host: string;
1396
+ token: string;
1397
+ };
1398
+ idp?: {
1399
+ enabled: boolean;
1400
+ idpKeys: string[];
1401
+ idpRedirectURL: string;
1402
+ } | undefined;
1403
+ redis?: {
1404
+ port?: number | undefined;
1405
+ host?: string | undefined;
1406
+ prefix?: string | undefined;
1407
+ sslTransit?: boolean | undefined;
1408
+ } | {
1409
+ user: string;
1410
+ password: string;
1411
+ port?: number | undefined;
1412
+ host?: string | undefined;
1413
+ prefix?: string | undefined;
1414
+ sslTransit?: boolean | undefined;
1415
+ } | undefined;
1416
+ apiBasePath?: string | undefined;
1417
+ session?: {
1418
+ domain?: string | undefined;
1419
+ sameSite?: "lax" | "strict" | "none" | undefined;
1420
+ maxAge?: number | undefined;
1421
+ cookieName?: string | undefined;
1422
+ secret?: string | string[] | undefined;
1423
+ } | undefined;
1424
+ cache?: {
1425
+ auth: {
1426
+ password: string;
1427
+ username: string;
1428
+ };
66
1429
  enabled: boolean;
67
- idpRedirectURL: string;
68
- idpKeys: string[];
69
- }>>;
1430
+ } | undefined;
1431
+ storage?: {
1432
+ session?: {
1433
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
1434
+ ttl?: number | undefined;
1435
+ port?: number | undefined;
1436
+ host?: string | undefined;
1437
+ password?: string | undefined;
1438
+ token?: string | undefined;
1439
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
1440
+ url?: string | undefined;
1441
+ username?: string | undefined;
1442
+ tls?: boolean | undefined;
1443
+ } | undefined;
1444
+ cache?: {
1445
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
1446
+ ttl?: number | undefined;
1447
+ port?: number | undefined;
1448
+ host?: string | undefined;
1449
+ password?: string | undefined;
1450
+ token?: string | undefined;
1451
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
1452
+ url?: string | undefined;
1453
+ username?: string | undefined;
1454
+ tls?: boolean | undefined;
1455
+ } | undefined;
1456
+ } | undefined;
1457
+ publicShopData?: string[] | undefined;
1458
+ }>, z.ZodObject<{
70
1459
  shopSelector: z.ZodEnum<["path", "domain", "path_or_default"]>;
71
1460
  stores: z.ZodRecord<z.ZodString, z.ZodObject<{
72
1461
  idp: z.ZodOptional<z.ZodObject<{
@@ -75,12 +1464,12 @@ export declare const runtimeConfigSchema: z.ZodObject<{
75
1464
  idpRedirectURL: z.ZodString;
76
1465
  }, "strip", z.ZodTypeAny, {
77
1466
  enabled: boolean;
78
- idpRedirectURL: string;
79
1467
  idpKeys: string[];
1468
+ idpRedirectURL: string;
80
1469
  }, {
81
1470
  enabled: boolean;
82
- idpRedirectURL: string;
83
1471
  idpKeys: string[];
1472
+ idpRedirectURL: string;
84
1473
  }>>;
85
1474
  shopId: z.ZodNumber;
86
1475
  path: z.ZodOptional<z.ZodString>;
@@ -105,14 +1494,14 @@ export declare const runtimeConfigSchema: z.ZodObject<{
105
1494
  }, "strip", z.ZodTypeAny, {
106
1495
  user: string | number;
107
1496
  host: string;
108
- token: string;
109
1497
  secret: string;
1498
+ token: string;
110
1499
  cbdExpiration?: number | undefined;
111
1500
  }, {
112
1501
  user: string | number;
113
1502
  host: string;
114
- token: string;
115
1503
  secret: string;
1504
+ token: string;
116
1505
  cbdExpiration?: number | undefined;
117
1506
  }>;
118
1507
  appKeys: z.ZodOptional<z.ZodObject<{
@@ -128,26 +1517,42 @@ export declare const runtimeConfigSchema: z.ZodObject<{
128
1517
  basketKey: string;
129
1518
  hashAlgorithm: string;
130
1519
  }>>;
131
- currencyFractionDigits: z.ZodOptional<z.ZodString>;
1520
+ currencyFractionDigits: z.ZodOptional<z.ZodNumber>;
132
1521
  isEnabled: z.ZodOptional<z.ZodBoolean>;
133
1522
  sessionConfig: z.ZodOptional<z.ZodObject<{
1523
+ /**
1524
+ * The sameSite policy to use for the session cookie
1525
+ */
134
1526
  sameSite: z.ZodOptional<z.ZodEnum<["lax", "strict", "none"]>>;
1527
+ /**
1528
+ * The default maxAge (in seconds) set on the session cookie and default TTL for session store
1529
+ */
135
1530
  maxAge: z.ZodOptional<z.ZodNumber>;
1531
+ /**
1532
+ * The name used for the session cookie
1533
+ */
136
1534
  cookieName: z.ZodOptional<z.ZodString>;
137
- secret: z.ZodOptional<z.ZodString>;
1535
+ /**
1536
+ * The secret used for signing session cookies. If an array is passed, the last
1537
+ * value is used for signing new cookies, but all values are used to verify cookies.
1538
+ */
1539
+ secret: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1540
+ /**
1541
+ * Controls the domain option on the session cookie
1542
+ */
138
1543
  domain: z.ZodOptional<z.ZodString>;
139
1544
  }, "strip", z.ZodTypeAny, {
140
1545
  domain?: string | undefined;
141
- secret?: string | undefined;
142
- cookieName?: string | undefined;
143
- sameSite?: "none" | "lax" | "strict" | undefined;
1546
+ sameSite?: "lax" | "strict" | "none" | undefined;
144
1547
  maxAge?: number | undefined;
1548
+ cookieName?: string | undefined;
1549
+ secret?: string | string[] | undefined;
145
1550
  }, {
146
1551
  domain?: string | undefined;
147
- secret?: string | undefined;
148
- cookieName?: string | undefined;
149
- sameSite?: "none" | "lax" | "strict" | undefined;
1552
+ sameSite?: "lax" | "strict" | "none" | undefined;
150
1553
  maxAge?: number | undefined;
1554
+ cookieName?: string | undefined;
1555
+ secret?: string | string[] | undefined;
151
1556
  }>>;
152
1557
  bapi: z.ZodOptional<z.ZodObject<{
153
1558
  host: z.ZodString;
@@ -160,8 +1565,8 @@ export declare const runtimeConfigSchema: z.ZodObject<{
160
1565
  token: string;
161
1566
  }>>;
162
1567
  storage: z.ZodOptional<z.ZodObject<{
163
- session: z.ZodObject<{
164
- driver: z.ZodEnum<[string, ...string[]]>;
1568
+ session: z.ZodOptional<z.ZodObject<{
1569
+ driver: z.ZodEnum<["azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http", ...("azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http")[]]>;
165
1570
  compression: z.ZodOptional<z.ZodEnum<["deflate", "gzip", "brotli", "none"]>>;
166
1571
  url: z.ZodOptional<z.ZodString>;
167
1572
  token: z.ZodOptional<z.ZodString>;
@@ -172,30 +1577,30 @@ export declare const runtimeConfigSchema: z.ZodObject<{
172
1577
  tls: z.ZodOptional<z.ZodBoolean>;
173
1578
  ttl: z.ZodOptional<z.ZodNumber>;
174
1579
  }, "strip", z.ZodTypeAny, {
175
- driver: string;
1580
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
176
1581
  ttl?: number | undefined;
1582
+ port?: number | undefined;
177
1583
  host?: string | undefined;
1584
+ password?: string | undefined;
178
1585
  token?: string | undefined;
1586
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
179
1587
  url?: string | undefined;
180
- compression?: "none" | "gzip" | "brotli" | "deflate" | undefined;
181
- port?: number | undefined;
182
- password?: string | undefined;
183
1588
  username?: string | undefined;
184
1589
  tls?: boolean | undefined;
185
1590
  }, {
186
- driver: string;
1591
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
187
1592
  ttl?: number | undefined;
1593
+ port?: number | undefined;
188
1594
  host?: string | undefined;
1595
+ password?: string | undefined;
189
1596
  token?: string | undefined;
1597
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
190
1598
  url?: string | undefined;
191
- compression?: "none" | "gzip" | "brotli" | "deflate" | undefined;
192
- port?: number | undefined;
193
- password?: string | undefined;
194
1599
  username?: string | undefined;
195
1600
  tls?: boolean | undefined;
196
- }>;
197
- cache: z.ZodObject<{
198
- driver: z.ZodEnum<[string, ...string[]]>;
1601
+ }>>;
1602
+ cache: z.ZodOptional<z.ZodObject<{
1603
+ driver: z.ZodEnum<["azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http", ...("azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http")[]]>;
199
1604
  compression: z.ZodOptional<z.ZodEnum<["deflate", "gzip", "brotli", "none"]>>;
200
1605
  url: z.ZodOptional<z.ZodString>;
201
1606
  token: z.ZodOptional<z.ZodString>;
@@ -206,420 +1611,125 @@ export declare const runtimeConfigSchema: z.ZodObject<{
206
1611
  tls: z.ZodOptional<z.ZodBoolean>;
207
1612
  ttl: z.ZodOptional<z.ZodNumber>;
208
1613
  }, "strip", z.ZodTypeAny, {
209
- driver: string;
1614
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
210
1615
  ttl?: number | undefined;
1616
+ port?: number | undefined;
211
1617
  host?: string | undefined;
1618
+ password?: string | undefined;
212
1619
  token?: string | undefined;
1620
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
213
1621
  url?: string | undefined;
214
- compression?: "none" | "gzip" | "brotli" | "deflate" | undefined;
215
- port?: number | undefined;
216
- password?: string | undefined;
217
1622
  username?: string | undefined;
218
1623
  tls?: boolean | undefined;
219
1624
  }, {
220
- driver: string;
1625
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
221
1626
  ttl?: number | undefined;
1627
+ port?: number | undefined;
222
1628
  host?: string | undefined;
1629
+ password?: string | undefined;
223
1630
  token?: string | undefined;
1631
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
224
1632
  url?: string | undefined;
225
- compression?: "none" | "gzip" | "brotli" | "deflate" | undefined;
226
- port?: number | undefined;
227
- password?: string | undefined;
228
1633
  username?: string | undefined;
229
1634
  tls?: boolean | undefined;
230
- }>;
1635
+ }>>;
231
1636
  }, "strip", z.ZodTypeAny, {
232
- session: {
233
- driver: string;
1637
+ session?: {
1638
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
234
1639
  ttl?: number | undefined;
1640
+ port?: number | undefined;
235
1641
  host?: string | undefined;
1642
+ password?: string | undefined;
236
1643
  token?: string | undefined;
1644
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
237
1645
  url?: string | undefined;
238
- compression?: "none" | "gzip" | "brotli" | "deflate" | undefined;
239
- port?: number | undefined;
240
- password?: string | undefined;
241
1646
  username?: string | undefined;
242
1647
  tls?: boolean | undefined;
243
- };
244
- cache: {
245
- driver: string;
1648
+ } | undefined;
1649
+ cache?: {
1650
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
246
1651
  ttl?: number | undefined;
1652
+ port?: number | undefined;
247
1653
  host?: string | undefined;
1654
+ password?: string | undefined;
248
1655
  token?: string | undefined;
1656
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
249
1657
  url?: string | undefined;
250
- compression?: "none" | "gzip" | "brotli" | "deflate" | undefined;
251
- port?: number | undefined;
252
- password?: string | undefined;
253
1658
  username?: string | undefined;
254
1659
  tls?: boolean | undefined;
255
- };
1660
+ } | undefined;
256
1661
  }, {
257
- session: {
258
- driver: string;
1662
+ session?: {
1663
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
259
1664
  ttl?: number | undefined;
260
- host?: string | undefined;
261
- token?: string | undefined;
262
- url?: string | undefined;
263
- compression?: "none" | "gzip" | "brotli" | "deflate" | undefined;
264
1665
  port?: number | undefined;
265
- password?: string | undefined;
266
- username?: string | undefined;
267
- tls?: boolean | undefined;
268
- };
269
- cache: {
270
- driver: string;
271
- ttl?: number | undefined;
272
1666
  host?: string | undefined;
273
- token?: string | undefined;
274
- url?: string | undefined;
275
- compression?: "none" | "gzip" | "brotli" | "deflate" | undefined;
276
- port?: number | undefined;
277
1667
  password?: string | undefined;
278
- username?: string | undefined;
279
- tls?: boolean | undefined;
280
- };
281
- }>>;
282
- }, "strip", z.ZodTypeAny, {
283
- locale: string;
284
- checkout: {
285
- user: string | number;
286
- host: string;
287
- token: string;
288
- secret: string;
289
- cbdExpiration?: number | undefined;
290
- };
291
- shopId: number;
292
- domain: string;
293
- auth: {
294
- resetPasswordUrl: string;
295
- };
296
- currency: string;
297
- storeCampaignKeyword?: string | undefined;
298
- idp?: {
299
- enabled: boolean;
300
- idpRedirectURL: string;
301
- idpKeys: string[];
302
- } | undefined;
303
- path?: string | undefined;
304
- currencyFractionDigits?: string | undefined;
305
- apiBasePath?: string | undefined;
306
- isEnabled?: boolean | undefined;
307
- sessionConfig?: {
308
- domain?: string | undefined;
309
- secret?: string | undefined;
310
- cookieName?: string | undefined;
311
- sameSite?: "none" | "lax" | "strict" | undefined;
312
- maxAge?: number | undefined;
313
- } | undefined;
314
- bapi?: {
315
- host: string;
316
- token: string;
317
- } | undefined;
318
- appKeys?: {
319
- wishlistKey: string;
320
- basketKey: string;
321
- hashAlgorithm: string;
322
- } | undefined;
323
- storage?: {
324
- session: {
325
- driver: string;
326
- ttl?: number | undefined;
327
- host?: string | undefined;
328
1668
  token?: string | undefined;
1669
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
329
1670
  url?: string | undefined;
330
- compression?: "none" | "gzip" | "brotli" | "deflate" | undefined;
331
- port?: number | undefined;
332
- password?: string | undefined;
333
1671
  username?: string | undefined;
334
1672
  tls?: boolean | undefined;
335
- };
336
- cache: {
337
- driver: string;
1673
+ } | undefined;
1674
+ cache?: {
1675
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
338
1676
  ttl?: number | undefined;
339
- host?: string | undefined;
340
- token?: string | undefined;
341
- url?: string | undefined;
342
- compression?: "none" | "gzip" | "brotli" | "deflate" | undefined;
343
1677
  port?: number | undefined;
344
- password?: string | undefined;
345
- username?: string | undefined;
346
- tls?: boolean | undefined;
347
- };
348
- } | undefined;
349
- }, {
350
- locale: string;
351
- checkout: {
352
- user: string | number;
353
- host: string;
354
- token: string;
355
- secret: string;
356
- cbdExpiration?: number | undefined;
357
- };
358
- shopId: number;
359
- domain: string;
360
- auth: {
361
- resetPasswordUrl: string;
362
- };
363
- currency: string;
364
- storeCampaignKeyword?: string | undefined;
365
- idp?: {
366
- enabled: boolean;
367
- idpRedirectURL: string;
368
- idpKeys: string[];
369
- } | undefined;
370
- path?: string | undefined;
371
- currencyFractionDigits?: string | undefined;
372
- apiBasePath?: string | undefined;
373
- isEnabled?: boolean | undefined;
374
- sessionConfig?: {
375
- domain?: string | undefined;
376
- secret?: string | undefined;
377
- cookieName?: string | undefined;
378
- sameSite?: "none" | "lax" | "strict" | undefined;
379
- maxAge?: number | undefined;
380
- } | undefined;
381
- bapi?: {
382
- host: string;
383
- token: string;
384
- } | undefined;
385
- appKeys?: {
386
- wishlistKey: string;
387
- basketKey: string;
388
- hashAlgorithm: string;
389
- } | undefined;
390
- storage?: {
391
- session: {
392
- driver: string;
393
- ttl?: number | undefined;
394
1678
  host?: string | undefined;
395
- token?: string | undefined;
396
- url?: string | undefined;
397
- compression?: "none" | "gzip" | "brotli" | "deflate" | undefined;
398
- port?: number | undefined;
399
1679
  password?: string | undefined;
400
- username?: string | undefined;
401
- tls?: boolean | undefined;
402
- };
403
- cache: {
404
- driver: string;
405
- ttl?: number | undefined;
406
- host?: string | undefined;
407
1680
  token?: string | undefined;
1681
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
408
1682
  url?: string | undefined;
409
- compression?: "none" | "gzip" | "brotli" | "deflate" | undefined;
410
- port?: number | undefined;
411
- password?: string | undefined;
412
1683
  username?: string | undefined;
413
1684
  tls?: boolean | undefined;
414
- };
415
- } | undefined;
416
- }>>;
417
- storage: z.ZodObject<{
418
- session: z.ZodObject<{
419
- driver: z.ZodEnum<[string, ...string[]]>;
420
- compression: z.ZodOptional<z.ZodEnum<["deflate", "gzip", "brotli", "none"]>>;
421
- url: z.ZodOptional<z.ZodString>;
422
- token: z.ZodOptional<z.ZodString>;
423
- host: z.ZodOptional<z.ZodString>;
1685
+ } | undefined;
1686
+ }>>;
1687
+ isDefault: z.ZodOptional<z.ZodBoolean>;
1688
+ /** @deprecated shop-specific storefront.redis config is being removed in favor of global nitro.storage config */
1689
+ redis: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
424
1690
  port: z.ZodOptional<z.ZodNumber>;
425
- username: z.ZodOptional<z.ZodString>;
426
- password: z.ZodOptional<z.ZodString>;
427
- tls: z.ZodOptional<z.ZodBoolean>;
428
- ttl: z.ZodOptional<z.ZodNumber>;
429
- }, "strip", z.ZodTypeAny, {
430
- driver: string;
431
- ttl?: number | undefined;
432
- host?: string | undefined;
433
- token?: string | undefined;
434
- url?: string | undefined;
435
- compression?: "none" | "gzip" | "brotli" | "deflate" | undefined;
436
- port?: number | undefined;
437
- password?: string | undefined;
438
- username?: string | undefined;
439
- tls?: boolean | undefined;
440
- }, {
441
- driver: string;
442
- ttl?: number | undefined;
443
- host?: string | undefined;
444
- token?: string | undefined;
445
- url?: string | undefined;
446
- compression?: "none" | "gzip" | "brotli" | "deflate" | undefined;
447
- port?: number | undefined;
448
- password?: string | undefined;
449
- username?: string | undefined;
450
- tls?: boolean | undefined;
451
- }>;
452
- cache: z.ZodObject<{
453
- driver: z.ZodEnum<[string, ...string[]]>;
454
- compression: z.ZodOptional<z.ZodEnum<["deflate", "gzip", "brotli", "none"]>>;
455
- url: z.ZodOptional<z.ZodString>;
456
- token: z.ZodOptional<z.ZodString>;
457
1691
  host: z.ZodOptional<z.ZodString>;
458
- port: z.ZodOptional<z.ZodNumber>;
459
- username: z.ZodOptional<z.ZodString>;
460
- password: z.ZodOptional<z.ZodString>;
461
- tls: z.ZodOptional<z.ZodBoolean>;
462
- ttl: z.ZodOptional<z.ZodNumber>;
1692
+ prefix: z.ZodOptional<z.ZodString>;
1693
+ sslTransit: z.ZodOptional<z.ZodBoolean>;
463
1694
  }, "strip", z.ZodTypeAny, {
464
- driver: string;
465
- ttl?: number | undefined;
466
- host?: string | undefined;
467
- token?: string | undefined;
468
- url?: string | undefined;
469
- compression?: "none" | "gzip" | "brotli" | "deflate" | undefined;
470
- port?: number | undefined;
471
- password?: string | undefined;
472
- username?: string | undefined;
473
- tls?: boolean | undefined;
474
- }, {
475
- driver: string;
476
- ttl?: number | undefined;
477
- host?: string | undefined;
478
- token?: string | undefined;
479
- url?: string | undefined;
480
- compression?: "none" | "gzip" | "brotli" | "deflate" | undefined;
481
- port?: number | undefined;
482
- password?: string | undefined;
483
- username?: string | undefined;
484
- tls?: boolean | undefined;
485
- }>;
486
- }, "strip", z.ZodTypeAny, {
487
- session: {
488
- driver: string;
489
- ttl?: number | undefined;
490
- host?: string | undefined;
491
- token?: string | undefined;
492
- url?: string | undefined;
493
- compression?: "none" | "gzip" | "brotli" | "deflate" | undefined;
494
- port?: number | undefined;
495
- password?: string | undefined;
496
- username?: string | undefined;
497
- tls?: boolean | undefined;
498
- };
499
- cache: {
500
- driver: string;
501
- ttl?: number | undefined;
502
- host?: string | undefined;
503
- token?: string | undefined;
504
- url?: string | undefined;
505
- compression?: "none" | "gzip" | "brotli" | "deflate" | undefined;
506
- port?: number | undefined;
507
- password?: string | undefined;
508
- username?: string | undefined;
509
- tls?: boolean | undefined;
510
- };
511
- }, {
512
- session: {
513
- driver: string;
514
- ttl?: number | undefined;
515
- host?: string | undefined;
516
- token?: string | undefined;
517
- url?: string | undefined;
518
- compression?: "none" | "gzip" | "brotli" | "deflate" | undefined;
519
1695
  port?: number | undefined;
520
- password?: string | undefined;
521
- username?: string | undefined;
522
- tls?: boolean | undefined;
523
- };
524
- cache: {
525
- driver: string;
526
- ttl?: number | undefined;
527
1696
  host?: string | undefined;
528
- token?: string | undefined;
529
- url?: string | undefined;
530
- compression?: "none" | "gzip" | "brotli" | "deflate" | undefined;
1697
+ prefix?: string | undefined;
1698
+ sslTransit?: boolean | undefined;
1699
+ }, {
531
1700
  port?: number | undefined;
532
- password?: string | undefined;
533
- username?: string | undefined;
534
- tls?: boolean | undefined;
535
- };
536
- }>;
537
- cache: z.ZodOptional<z.ZodObject<{
538
- auth: z.ZodObject<{
539
- username: z.ZodString;
1701
+ host?: string | undefined;
1702
+ prefix?: string | undefined;
1703
+ sslTransit?: boolean | undefined;
1704
+ }>, z.ZodObject<{
1705
+ port: z.ZodOptional<z.ZodNumber>;
1706
+ host: z.ZodOptional<z.ZodString>;
1707
+ prefix: z.ZodOptional<z.ZodString>;
1708
+ sslTransit: z.ZodOptional<z.ZodBoolean>;
1709
+ user: z.ZodString;
540
1710
  password: z.ZodString;
541
1711
  }, "strip", z.ZodTypeAny, {
1712
+ user: string;
542
1713
  password: string;
543
- username: string;
1714
+ port?: number | undefined;
1715
+ host?: string | undefined;
1716
+ prefix?: string | undefined;
1717
+ sslTransit?: boolean | undefined;
544
1718
  }, {
1719
+ user: string;
545
1720
  password: string;
546
- username: string;
547
- }>;
548
- enabled: z.ZodBoolean;
549
- }, "strip", z.ZodTypeAny, {
550
- auth: {
551
- password: string;
552
- username: string;
553
- };
554
- enabled: boolean;
555
- }, {
556
- auth: {
557
- password: string;
558
- username: string;
559
- };
560
- enabled: boolean;
561
- }>>;
562
- appKeys: z.ZodObject<{
563
- wishlistKey: z.ZodString;
564
- basketKey: z.ZodString;
565
- hashAlgorithm: z.ZodEnum<[string, ...string[]]>;
566
- }, "strip", z.ZodTypeAny, {
567
- wishlistKey: string;
568
- basketKey: string;
569
- hashAlgorithm: string;
570
- }, {
571
- wishlistKey: string;
572
- basketKey: string;
573
- hashAlgorithm: string;
574
- }>;
575
- }, "strip", z.ZodTypeAny, {
576
- oauth: {
577
- apiHost: string;
578
- clientId: string | number;
579
- clientSecret: string;
580
- };
581
- bapi: {
582
- host: string;
583
- token: string;
584
- };
585
- appKeys: {
586
- wishlistKey: string;
587
- basketKey: string;
588
- hashAlgorithm: string;
589
- };
590
- storage: {
591
- session: {
592
- driver: string;
593
- ttl?: number | undefined;
594
- host?: string | undefined;
595
- token?: string | undefined;
596
- url?: string | undefined;
597
- compression?: "none" | "gzip" | "brotli" | "deflate" | undefined;
598
1721
  port?: number | undefined;
599
- password?: string | undefined;
600
- username?: string | undefined;
601
- tls?: boolean | undefined;
602
- };
603
- cache: {
604
- driver: string;
605
- ttl?: number | undefined;
606
1722
  host?: string | undefined;
607
- token?: string | undefined;
608
- url?: string | undefined;
609
- compression?: "none" | "gzip" | "brotli" | "deflate" | undefined;
610
- port?: number | undefined;
611
- password?: string | undefined;
612
- username?: string | undefined;
613
- tls?: boolean | undefined;
614
- };
615
- };
616
- stores: Record<string, {
1723
+ prefix?: string | undefined;
1724
+ sslTransit?: boolean | undefined;
1725
+ }>]>>;
1726
+ }, "strip", z.ZodTypeAny, {
617
1727
  locale: string;
618
1728
  checkout: {
619
1729
  user: string | number;
620
1730
  host: string;
621
- token: string;
622
1731
  secret: string;
1732
+ token: string;
623
1733
  cbdExpiration?: number | undefined;
624
1734
  };
625
1735
  shopId: number;
@@ -631,129 +1741,258 @@ export declare const runtimeConfigSchema: z.ZodObject<{
631
1741
  storeCampaignKeyword?: string | undefined;
632
1742
  idp?: {
633
1743
  enabled: boolean;
634
- idpRedirectURL: string;
635
1744
  idpKeys: string[];
1745
+ idpRedirectURL: string;
636
1746
  } | undefined;
637
1747
  path?: string | undefined;
638
- currencyFractionDigits?: string | undefined;
1748
+ redis?: {
1749
+ port?: number | undefined;
1750
+ host?: string | undefined;
1751
+ prefix?: string | undefined;
1752
+ sslTransit?: boolean | undefined;
1753
+ } | {
1754
+ user: string;
1755
+ password: string;
1756
+ port?: number | undefined;
1757
+ host?: string | undefined;
1758
+ prefix?: string | undefined;
1759
+ sslTransit?: boolean | undefined;
1760
+ } | undefined;
639
1761
  apiBasePath?: string | undefined;
1762
+ appKeys?: {
1763
+ wishlistKey: string;
1764
+ basketKey: string;
1765
+ hashAlgorithm: string;
1766
+ } | undefined;
1767
+ currencyFractionDigits?: number | undefined;
640
1768
  isEnabled?: boolean | undefined;
641
1769
  sessionConfig?: {
642
1770
  domain?: string | undefined;
643
- secret?: string | undefined;
644
- cookieName?: string | undefined;
645
- sameSite?: "none" | "lax" | "strict" | undefined;
1771
+ sameSite?: "lax" | "strict" | "none" | undefined;
646
1772
  maxAge?: number | undefined;
1773
+ cookieName?: string | undefined;
1774
+ secret?: string | string[] | undefined;
647
1775
  } | undefined;
648
1776
  bapi?: {
649
1777
  host: string;
650
1778
  token: string;
651
1779
  } | undefined;
1780
+ storage?: {
1781
+ session?: {
1782
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
1783
+ ttl?: number | undefined;
1784
+ port?: number | undefined;
1785
+ host?: string | undefined;
1786
+ password?: string | undefined;
1787
+ token?: string | undefined;
1788
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
1789
+ url?: string | undefined;
1790
+ username?: string | undefined;
1791
+ tls?: boolean | undefined;
1792
+ } | undefined;
1793
+ cache?: {
1794
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
1795
+ ttl?: number | undefined;
1796
+ port?: number | undefined;
1797
+ host?: string | undefined;
1798
+ password?: string | undefined;
1799
+ token?: string | undefined;
1800
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
1801
+ url?: string | undefined;
1802
+ username?: string | undefined;
1803
+ tls?: boolean | undefined;
1804
+ } | undefined;
1805
+ } | undefined;
1806
+ isDefault?: boolean | undefined;
1807
+ }, {
1808
+ locale: string;
1809
+ checkout: {
1810
+ user: string | number;
1811
+ host: string;
1812
+ secret: string;
1813
+ token: string;
1814
+ cbdExpiration?: number | undefined;
1815
+ };
1816
+ shopId: number;
1817
+ domain: string;
1818
+ auth: {
1819
+ resetPasswordUrl: string;
1820
+ };
1821
+ currency: string;
1822
+ storeCampaignKeyword?: string | undefined;
1823
+ idp?: {
1824
+ enabled: boolean;
1825
+ idpKeys: string[];
1826
+ idpRedirectURL: string;
1827
+ } | undefined;
1828
+ path?: string | undefined;
1829
+ redis?: {
1830
+ port?: number | undefined;
1831
+ host?: string | undefined;
1832
+ prefix?: string | undefined;
1833
+ sslTransit?: boolean | undefined;
1834
+ } | {
1835
+ user: string;
1836
+ password: string;
1837
+ port?: number | undefined;
1838
+ host?: string | undefined;
1839
+ prefix?: string | undefined;
1840
+ sslTransit?: boolean | undefined;
1841
+ } | undefined;
1842
+ apiBasePath?: string | undefined;
652
1843
  appKeys?: {
653
1844
  wishlistKey: string;
654
1845
  basketKey: string;
655
1846
  hashAlgorithm: string;
656
1847
  } | undefined;
1848
+ currencyFractionDigits?: number | undefined;
1849
+ isEnabled?: boolean | undefined;
1850
+ sessionConfig?: {
1851
+ domain?: string | undefined;
1852
+ sameSite?: "lax" | "strict" | "none" | undefined;
1853
+ maxAge?: number | undefined;
1854
+ cookieName?: string | undefined;
1855
+ secret?: string | string[] | undefined;
1856
+ } | undefined;
1857
+ bapi?: {
1858
+ host: string;
1859
+ token: string;
1860
+ } | undefined;
657
1861
  storage?: {
658
- session: {
659
- driver: string;
1862
+ session?: {
1863
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
660
1864
  ttl?: number | undefined;
1865
+ port?: number | undefined;
661
1866
  host?: string | undefined;
1867
+ password?: string | undefined;
662
1868
  token?: string | undefined;
1869
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
663
1870
  url?: string | undefined;
664
- compression?: "none" | "gzip" | "brotli" | "deflate" | undefined;
665
- port?: number | undefined;
666
- password?: string | undefined;
667
1871
  username?: string | undefined;
668
1872
  tls?: boolean | undefined;
669
- };
670
- cache: {
671
- driver: string;
1873
+ } | undefined;
1874
+ cache?: {
1875
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
672
1876
  ttl?: number | undefined;
1877
+ port?: number | undefined;
673
1878
  host?: string | undefined;
1879
+ password?: string | undefined;
674
1880
  token?: string | undefined;
1881
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
675
1882
  url?: string | undefined;
676
- compression?: "none" | "gzip" | "brotli" | "deflate" | undefined;
677
- port?: number | undefined;
678
- password?: string | undefined;
679
1883
  username?: string | undefined;
680
1884
  tls?: boolean | undefined;
681
- };
1885
+ } | undefined;
682
1886
  } | undefined;
683
- }>;
684
- shopSelector: "domain" | "path" | "path_or_default";
685
- publicShopData: string[];
686
- idp?: {
1887
+ isDefault?: boolean | undefined;
1888
+ }>>;
1889
+ redirects: z.ZodOptional<z.ZodObject<{
1890
+ enabled: z.ZodBoolean;
1891
+ queryParamWhitelist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1892
+ }, "strip", z.ZodTypeAny, {
687
1893
  enabled: boolean;
688
- idpRedirectURL: string;
689
- idpKeys: string[];
690
- } | undefined;
691
- redirects?: {
1894
+ queryParamWhitelist?: string[] | undefined;
1895
+ }, {
692
1896
  enabled: boolean;
693
1897
  queryParamWhitelist?: string[] | undefined;
694
- } | undefined;
695
- session?: {
696
- domain?: string | undefined;
697
- secret?: string | undefined;
698
- cookieName?: string | undefined;
699
- sameSite?: "none" | "lax" | "strict" | undefined;
700
- maxAge?: number | undefined;
701
- } | undefined;
702
- cache?: {
1898
+ }>>;
1899
+ }, "strip", z.ZodTypeAny, {
1900
+ shopSelector: "domain" | "path" | "path_or_default";
1901
+ stores: Record<string, {
1902
+ locale: string;
1903
+ checkout: {
1904
+ user: string | number;
1905
+ host: string;
1906
+ secret: string;
1907
+ token: string;
1908
+ cbdExpiration?: number | undefined;
1909
+ };
1910
+ shopId: number;
1911
+ domain: string;
703
1912
  auth: {
704
- password: string;
705
- username: string;
1913
+ resetPasswordUrl: string;
706
1914
  };
707
- enabled: boolean;
708
- } | undefined;
709
- }, {
710
- oauth: {
711
- apiHost: string;
712
- clientId: string | number;
713
- clientSecret: string;
714
- };
715
- bapi: {
716
- host: string;
717
- token: string;
718
- };
719
- appKeys: {
720
- wishlistKey: string;
721
- basketKey: string;
722
- hashAlgorithm: string;
723
- };
724
- storage: {
725
- session: {
726
- driver: string;
727
- ttl?: number | undefined;
728
- host?: string | undefined;
729
- token?: string | undefined;
730
- url?: string | undefined;
731
- compression?: "none" | "gzip" | "brotli" | "deflate" | undefined;
1915
+ currency: string;
1916
+ storeCampaignKeyword?: string | undefined;
1917
+ idp?: {
1918
+ enabled: boolean;
1919
+ idpKeys: string[];
1920
+ idpRedirectURL: string;
1921
+ } | undefined;
1922
+ path?: string | undefined;
1923
+ redis?: {
732
1924
  port?: number | undefined;
733
- password?: string | undefined;
734
- username?: string | undefined;
735
- tls?: boolean | undefined;
736
- };
737
- cache: {
738
- driver: string;
739
- ttl?: number | undefined;
740
1925
  host?: string | undefined;
741
- token?: string | undefined;
742
- url?: string | undefined;
743
- compression?: "none" | "gzip" | "brotli" | "deflate" | undefined;
1926
+ prefix?: string | undefined;
1927
+ sslTransit?: boolean | undefined;
1928
+ } | {
1929
+ user: string;
1930
+ password: string;
744
1931
  port?: number | undefined;
745
- password?: string | undefined;
746
- username?: string | undefined;
747
- tls?: boolean | undefined;
748
- };
749
- };
1932
+ host?: string | undefined;
1933
+ prefix?: string | undefined;
1934
+ sslTransit?: boolean | undefined;
1935
+ } | undefined;
1936
+ apiBasePath?: string | undefined;
1937
+ appKeys?: {
1938
+ wishlistKey: string;
1939
+ basketKey: string;
1940
+ hashAlgorithm: string;
1941
+ } | undefined;
1942
+ currencyFractionDigits?: number | undefined;
1943
+ isEnabled?: boolean | undefined;
1944
+ sessionConfig?: {
1945
+ domain?: string | undefined;
1946
+ sameSite?: "lax" | "strict" | "none" | undefined;
1947
+ maxAge?: number | undefined;
1948
+ cookieName?: string | undefined;
1949
+ secret?: string | string[] | undefined;
1950
+ } | undefined;
1951
+ bapi?: {
1952
+ host: string;
1953
+ token: string;
1954
+ } | undefined;
1955
+ storage?: {
1956
+ session?: {
1957
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
1958
+ ttl?: number | undefined;
1959
+ port?: number | undefined;
1960
+ host?: string | undefined;
1961
+ password?: string | undefined;
1962
+ token?: string | undefined;
1963
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
1964
+ url?: string | undefined;
1965
+ username?: string | undefined;
1966
+ tls?: boolean | undefined;
1967
+ } | undefined;
1968
+ cache?: {
1969
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
1970
+ ttl?: number | undefined;
1971
+ port?: number | undefined;
1972
+ host?: string | undefined;
1973
+ password?: string | undefined;
1974
+ token?: string | undefined;
1975
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
1976
+ url?: string | undefined;
1977
+ username?: string | undefined;
1978
+ tls?: boolean | undefined;
1979
+ } | undefined;
1980
+ } | undefined;
1981
+ isDefault?: boolean | undefined;
1982
+ }>;
1983
+ redirects?: {
1984
+ enabled: boolean;
1985
+ queryParamWhitelist?: string[] | undefined;
1986
+ } | undefined;
1987
+ }, {
1988
+ shopSelector: "domain" | "path" | "path_or_default";
750
1989
  stores: Record<string, {
751
1990
  locale: string;
752
1991
  checkout: {
753
1992
  user: string | number;
754
1993
  host: string;
755
- token: string;
756
1994
  secret: string;
1995
+ token: string;
757
1996
  cbdExpiration?: number | undefined;
758
1997
  };
759
1998
  shopId: number;
@@ -765,116 +2004,109 @@ export declare const runtimeConfigSchema: z.ZodObject<{
765
2004
  storeCampaignKeyword?: string | undefined;
766
2005
  idp?: {
767
2006
  enabled: boolean;
768
- idpRedirectURL: string;
769
2007
  idpKeys: string[];
2008
+ idpRedirectURL: string;
770
2009
  } | undefined;
771
2010
  path?: string | undefined;
772
- currencyFractionDigits?: string | undefined;
2011
+ redis?: {
2012
+ port?: number | undefined;
2013
+ host?: string | undefined;
2014
+ prefix?: string | undefined;
2015
+ sslTransit?: boolean | undefined;
2016
+ } | {
2017
+ user: string;
2018
+ password: string;
2019
+ port?: number | undefined;
2020
+ host?: string | undefined;
2021
+ prefix?: string | undefined;
2022
+ sslTransit?: boolean | undefined;
2023
+ } | undefined;
773
2024
  apiBasePath?: string | undefined;
2025
+ appKeys?: {
2026
+ wishlistKey: string;
2027
+ basketKey: string;
2028
+ hashAlgorithm: string;
2029
+ } | undefined;
2030
+ currencyFractionDigits?: number | undefined;
774
2031
  isEnabled?: boolean | undefined;
775
2032
  sessionConfig?: {
776
2033
  domain?: string | undefined;
777
- secret?: string | undefined;
778
- cookieName?: string | undefined;
779
- sameSite?: "none" | "lax" | "strict" | undefined;
2034
+ sameSite?: "lax" | "strict" | "none" | undefined;
780
2035
  maxAge?: number | undefined;
2036
+ cookieName?: string | undefined;
2037
+ secret?: string | string[] | undefined;
781
2038
  } | undefined;
782
2039
  bapi?: {
783
2040
  host: string;
784
2041
  token: string;
785
2042
  } | undefined;
786
- appKeys?: {
787
- wishlistKey: string;
788
- basketKey: string;
789
- hashAlgorithm: string;
790
- } | undefined;
791
2043
  storage?: {
792
- session: {
793
- driver: string;
2044
+ session?: {
2045
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
794
2046
  ttl?: number | undefined;
2047
+ port?: number | undefined;
795
2048
  host?: string | undefined;
2049
+ password?: string | undefined;
796
2050
  token?: string | undefined;
2051
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
797
2052
  url?: string | undefined;
798
- compression?: "none" | "gzip" | "brotli" | "deflate" | undefined;
799
- port?: number | undefined;
800
- password?: string | undefined;
801
2053
  username?: string | undefined;
802
2054
  tls?: boolean | undefined;
803
- };
804
- cache: {
805
- driver: string;
2055
+ } | undefined;
2056
+ cache?: {
2057
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
806
2058
  ttl?: number | undefined;
2059
+ port?: number | undefined;
807
2060
  host?: string | undefined;
2061
+ password?: string | undefined;
808
2062
  token?: string | undefined;
2063
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
809
2064
  url?: string | undefined;
810
- compression?: "none" | "gzip" | "brotli" | "deflate" | undefined;
811
- port?: number | undefined;
812
- password?: string | undefined;
813
2065
  username?: string | undefined;
814
2066
  tls?: boolean | undefined;
815
- };
2067
+ } | undefined;
816
2068
  } | undefined;
2069
+ isDefault?: boolean | undefined;
817
2070
  }>;
818
- shopSelector: "domain" | "path" | "path_or_default";
819
- publicShopData: string[];
820
- idp?: {
821
- enabled: boolean;
822
- idpRedirectURL: string;
823
- idpKeys: string[];
824
- } | undefined;
825
2071
  redirects?: {
826
2072
  enabled: boolean;
827
2073
  queryParamWhitelist?: string[] | undefined;
828
2074
  } | undefined;
829
- session?: {
830
- domain?: string | undefined;
831
- secret?: string | undefined;
832
- cookieName?: string | undefined;
833
- sameSite?: "none" | "lax" | "strict" | undefined;
834
- maxAge?: number | undefined;
835
- } | undefined;
836
- cache?: {
837
- auth: {
838
- password: string;
839
- username: string;
840
- };
841
- enabled: boolean;
842
- } | undefined;
843
- }>;
2075
+ }>]>;
844
2076
  public: z.ZodObject<{
845
2077
  storefront: z.ZodObject<{
846
2078
  log: z.ZodObject<{
847
2079
  name: z.ZodString;
848
- level: z.ZodString;
2080
+ level: z.ZodType<LogLevel, z.ZodTypeDef, LogLevel>;
849
2081
  }, "strip", z.ZodTypeAny, {
850
- level: string;
2082
+ level: LogLevel;
851
2083
  name: string;
852
2084
  }, {
853
- level: string;
2085
+ level: LogLevel;
854
2086
  name: string;
855
2087
  }>;
856
2088
  }, "strip", z.ZodTypeAny, {
857
2089
  log: {
858
- level: string;
2090
+ level: LogLevel;
859
2091
  name: string;
860
2092
  };
861
2093
  }, {
862
2094
  log: {
863
- level: string;
2095
+ level: LogLevel;
864
2096
  name: string;
865
2097
  };
866
2098
  }>;
867
2099
  }, "strip", z.ZodTypeAny, {
868
2100
  storefront: {
869
2101
  log: {
870
- level: string;
2102
+ level: LogLevel;
871
2103
  name: string;
872
2104
  };
873
2105
  };
874
2106
  }, {
875
2107
  storefront: {
876
2108
  log: {
877
- level: string;
2109
+ level: LogLevel;
878
2110
  name: string;
879
2111
  };
880
2112
  };
@@ -886,48 +2118,84 @@ export declare const runtimeConfigSchema: z.ZodObject<{
886
2118
  clientId: string | number;
887
2119
  clientSecret: string;
888
2120
  };
889
- bapi: {
890
- host: string;
891
- token: string;
892
- };
893
2121
  appKeys: {
894
2122
  wishlistKey: string;
895
2123
  basketKey: string;
896
2124
  hashAlgorithm: string;
897
2125
  };
898
- storage: {
899
- session: {
900
- driver: string;
2126
+ bapi: {
2127
+ host: string;
2128
+ token: string;
2129
+ };
2130
+ idp?: {
2131
+ enabled: boolean;
2132
+ idpKeys: string[];
2133
+ idpRedirectURL: string;
2134
+ } | undefined;
2135
+ redis?: {
2136
+ port?: number | undefined;
2137
+ host?: string | undefined;
2138
+ prefix?: string | undefined;
2139
+ sslTransit?: boolean | undefined;
2140
+ } | {
2141
+ user: string;
2142
+ password: string;
2143
+ port?: number | undefined;
2144
+ host?: string | undefined;
2145
+ prefix?: string | undefined;
2146
+ sslTransit?: boolean | undefined;
2147
+ } | undefined;
2148
+ apiBasePath?: string | undefined;
2149
+ session?: {
2150
+ domain?: string | undefined;
2151
+ sameSite?: "lax" | "strict" | "none" | undefined;
2152
+ maxAge?: number | undefined;
2153
+ cookieName?: string | undefined;
2154
+ secret?: string | string[] | undefined;
2155
+ } | undefined;
2156
+ cache?: {
2157
+ auth: {
2158
+ password: string;
2159
+ username: string;
2160
+ };
2161
+ enabled: boolean;
2162
+ } | undefined;
2163
+ storage?: {
2164
+ session?: {
2165
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
901
2166
  ttl?: number | undefined;
2167
+ port?: number | undefined;
902
2168
  host?: string | undefined;
2169
+ password?: string | undefined;
903
2170
  token?: string | undefined;
2171
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
904
2172
  url?: string | undefined;
905
- compression?: "none" | "gzip" | "brotli" | "deflate" | undefined;
906
- port?: number | undefined;
907
- password?: string | undefined;
908
2173
  username?: string | undefined;
909
2174
  tls?: boolean | undefined;
910
- };
911
- cache: {
912
- driver: string;
2175
+ } | undefined;
2176
+ cache?: {
2177
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
913
2178
  ttl?: number | undefined;
2179
+ port?: number | undefined;
914
2180
  host?: string | undefined;
2181
+ password?: string | undefined;
915
2182
  token?: string | undefined;
2183
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
916
2184
  url?: string | undefined;
917
- compression?: "none" | "gzip" | "brotli" | "deflate" | undefined;
918
- port?: number | undefined;
919
- password?: string | undefined;
920
2185
  username?: string | undefined;
921
2186
  tls?: boolean | undefined;
922
- };
923
- };
2187
+ } | undefined;
2188
+ } | undefined;
2189
+ publicShopData?: string[] | undefined;
2190
+ } | {
2191
+ shopSelector: "domain" | "path" | "path_or_default";
924
2192
  stores: Record<string, {
925
2193
  locale: string;
926
2194
  checkout: {
927
2195
  user: string | number;
928
2196
  host: string;
929
- token: string;
930
2197
  secret: string;
2198
+ token: string;
931
2199
  cbdExpiration?: number | undefined;
932
2200
  };
933
2201
  shopId: number;
@@ -939,86 +2207,79 @@ export declare const runtimeConfigSchema: z.ZodObject<{
939
2207
  storeCampaignKeyword?: string | undefined;
940
2208
  idp?: {
941
2209
  enabled: boolean;
942
- idpRedirectURL: string;
943
2210
  idpKeys: string[];
2211
+ idpRedirectURL: string;
944
2212
  } | undefined;
945
2213
  path?: string | undefined;
946
- currencyFractionDigits?: string | undefined;
2214
+ redis?: {
2215
+ port?: number | undefined;
2216
+ host?: string | undefined;
2217
+ prefix?: string | undefined;
2218
+ sslTransit?: boolean | undefined;
2219
+ } | {
2220
+ user: string;
2221
+ password: string;
2222
+ port?: number | undefined;
2223
+ host?: string | undefined;
2224
+ prefix?: string | undefined;
2225
+ sslTransit?: boolean | undefined;
2226
+ } | undefined;
947
2227
  apiBasePath?: string | undefined;
2228
+ appKeys?: {
2229
+ wishlistKey: string;
2230
+ basketKey: string;
2231
+ hashAlgorithm: string;
2232
+ } | undefined;
2233
+ currencyFractionDigits?: number | undefined;
948
2234
  isEnabled?: boolean | undefined;
949
2235
  sessionConfig?: {
950
2236
  domain?: string | undefined;
951
- secret?: string | undefined;
952
- cookieName?: string | undefined;
953
- sameSite?: "none" | "lax" | "strict" | undefined;
2237
+ sameSite?: "lax" | "strict" | "none" | undefined;
954
2238
  maxAge?: number | undefined;
2239
+ cookieName?: string | undefined;
2240
+ secret?: string | string[] | undefined;
955
2241
  } | undefined;
956
2242
  bapi?: {
957
2243
  host: string;
958
2244
  token: string;
959
2245
  } | undefined;
960
- appKeys?: {
961
- wishlistKey: string;
962
- basketKey: string;
963
- hashAlgorithm: string;
964
- } | undefined;
965
2246
  storage?: {
966
- session: {
967
- driver: string;
2247
+ session?: {
2248
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
968
2249
  ttl?: number | undefined;
2250
+ port?: number | undefined;
969
2251
  host?: string | undefined;
2252
+ password?: string | undefined;
970
2253
  token?: string | undefined;
2254
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
971
2255
  url?: string | undefined;
972
- compression?: "none" | "gzip" | "brotli" | "deflate" | undefined;
973
- port?: number | undefined;
974
- password?: string | undefined;
975
2256
  username?: string | undefined;
976
2257
  tls?: boolean | undefined;
977
- };
978
- cache: {
979
- driver: string;
2258
+ } | undefined;
2259
+ cache?: {
2260
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
980
2261
  ttl?: number | undefined;
2262
+ port?: number | undefined;
981
2263
  host?: string | undefined;
2264
+ password?: string | undefined;
982
2265
  token?: string | undefined;
2266
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
983
2267
  url?: string | undefined;
984
- compression?: "none" | "gzip" | "brotli" | "deflate" | undefined;
985
- port?: number | undefined;
986
- password?: string | undefined;
987
2268
  username?: string | undefined;
988
2269
  tls?: boolean | undefined;
989
- };
2270
+ } | undefined;
990
2271
  } | undefined;
2272
+ isDefault?: boolean | undefined;
991
2273
  }>;
992
- shopSelector: "domain" | "path" | "path_or_default";
993
- publicShopData: string[];
994
- idp?: {
995
- enabled: boolean;
996
- idpRedirectURL: string;
997
- idpKeys: string[];
998
- } | undefined;
999
2274
  redirects?: {
1000
2275
  enabled: boolean;
1001
2276
  queryParamWhitelist?: string[] | undefined;
1002
2277
  } | undefined;
1003
- session?: {
1004
- domain?: string | undefined;
1005
- secret?: string | undefined;
1006
- cookieName?: string | undefined;
1007
- sameSite?: "none" | "lax" | "strict" | undefined;
1008
- maxAge?: number | undefined;
1009
- } | undefined;
1010
- cache?: {
1011
- auth: {
1012
- password: string;
1013
- username: string;
1014
- };
1015
- enabled: boolean;
1016
- } | undefined;
1017
2278
  };
1018
2279
  public: {
1019
2280
  storefront: {
1020
2281
  log: {
1021
- level: string;
2282
+ level: LogLevel;
1022
2283
  name: string;
1023
2284
  };
1024
2285
  };
@@ -1030,48 +2291,84 @@ export declare const runtimeConfigSchema: z.ZodObject<{
1030
2291
  clientId: string | number;
1031
2292
  clientSecret: string;
1032
2293
  };
1033
- bapi: {
1034
- host: string;
1035
- token: string;
1036
- };
1037
2294
  appKeys: {
1038
2295
  wishlistKey: string;
1039
2296
  basketKey: string;
1040
2297
  hashAlgorithm: string;
1041
2298
  };
1042
- storage: {
1043
- session: {
1044
- driver: string;
2299
+ bapi: {
2300
+ host: string;
2301
+ token: string;
2302
+ };
2303
+ idp?: {
2304
+ enabled: boolean;
2305
+ idpKeys: string[];
2306
+ idpRedirectURL: string;
2307
+ } | undefined;
2308
+ redis?: {
2309
+ port?: number | undefined;
2310
+ host?: string | undefined;
2311
+ prefix?: string | undefined;
2312
+ sslTransit?: boolean | undefined;
2313
+ } | {
2314
+ user: string;
2315
+ password: string;
2316
+ port?: number | undefined;
2317
+ host?: string | undefined;
2318
+ prefix?: string | undefined;
2319
+ sslTransit?: boolean | undefined;
2320
+ } | undefined;
2321
+ apiBasePath?: string | undefined;
2322
+ session?: {
2323
+ domain?: string | undefined;
2324
+ sameSite?: "lax" | "strict" | "none" | undefined;
2325
+ maxAge?: number | undefined;
2326
+ cookieName?: string | undefined;
2327
+ secret?: string | string[] | undefined;
2328
+ } | undefined;
2329
+ cache?: {
2330
+ auth: {
2331
+ password: string;
2332
+ username: string;
2333
+ };
2334
+ enabled: boolean;
2335
+ } | undefined;
2336
+ storage?: {
2337
+ session?: {
2338
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
1045
2339
  ttl?: number | undefined;
2340
+ port?: number | undefined;
1046
2341
  host?: string | undefined;
2342
+ password?: string | undefined;
1047
2343
  token?: string | undefined;
2344
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
1048
2345
  url?: string | undefined;
1049
- compression?: "none" | "gzip" | "brotli" | "deflate" | undefined;
1050
- port?: number | undefined;
1051
- password?: string | undefined;
1052
2346
  username?: string | undefined;
1053
2347
  tls?: boolean | undefined;
1054
- };
1055
- cache: {
1056
- driver: string;
2348
+ } | undefined;
2349
+ cache?: {
2350
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
1057
2351
  ttl?: number | undefined;
2352
+ port?: number | undefined;
1058
2353
  host?: string | undefined;
2354
+ password?: string | undefined;
1059
2355
  token?: string | undefined;
2356
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
1060
2357
  url?: string | undefined;
1061
- compression?: "none" | "gzip" | "brotli" | "deflate" | undefined;
1062
- port?: number | undefined;
1063
- password?: string | undefined;
1064
2358
  username?: string | undefined;
1065
2359
  tls?: boolean | undefined;
1066
- };
1067
- };
2360
+ } | undefined;
2361
+ } | undefined;
2362
+ publicShopData?: string[] | undefined;
2363
+ } | {
2364
+ shopSelector: "domain" | "path" | "path_or_default";
1068
2365
  stores: Record<string, {
1069
2366
  locale: string;
1070
2367
  checkout: {
1071
2368
  user: string | number;
1072
2369
  host: string;
1073
- token: string;
1074
2370
  secret: string;
2371
+ token: string;
1075
2372
  cbdExpiration?: number | undefined;
1076
2373
  };
1077
2374
  shopId: number;
@@ -1083,88 +2380,93 @@ export declare const runtimeConfigSchema: z.ZodObject<{
1083
2380
  storeCampaignKeyword?: string | undefined;
1084
2381
  idp?: {
1085
2382
  enabled: boolean;
1086
- idpRedirectURL: string;
1087
2383
  idpKeys: string[];
2384
+ idpRedirectURL: string;
1088
2385
  } | undefined;
1089
2386
  path?: string | undefined;
1090
- currencyFractionDigits?: string | undefined;
2387
+ redis?: {
2388
+ port?: number | undefined;
2389
+ host?: string | undefined;
2390
+ prefix?: string | undefined;
2391
+ sslTransit?: boolean | undefined;
2392
+ } | {
2393
+ user: string;
2394
+ password: string;
2395
+ port?: number | undefined;
2396
+ host?: string | undefined;
2397
+ prefix?: string | undefined;
2398
+ sslTransit?: boolean | undefined;
2399
+ } | undefined;
1091
2400
  apiBasePath?: string | undefined;
2401
+ appKeys?: {
2402
+ wishlistKey: string;
2403
+ basketKey: string;
2404
+ hashAlgorithm: string;
2405
+ } | undefined;
2406
+ currencyFractionDigits?: number | undefined;
1092
2407
  isEnabled?: boolean | undefined;
1093
2408
  sessionConfig?: {
1094
2409
  domain?: string | undefined;
1095
- secret?: string | undefined;
1096
- cookieName?: string | undefined;
1097
- sameSite?: "none" | "lax" | "strict" | undefined;
2410
+ sameSite?: "lax" | "strict" | "none" | undefined;
1098
2411
  maxAge?: number | undefined;
2412
+ cookieName?: string | undefined;
2413
+ secret?: string | string[] | undefined;
1099
2414
  } | undefined;
1100
2415
  bapi?: {
1101
2416
  host: string;
1102
2417
  token: string;
1103
2418
  } | undefined;
1104
- appKeys?: {
1105
- wishlistKey: string;
1106
- basketKey: string;
1107
- hashAlgorithm: string;
1108
- } | undefined;
1109
2419
  storage?: {
1110
- session: {
1111
- driver: string;
2420
+ session?: {
2421
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
1112
2422
  ttl?: number | undefined;
2423
+ port?: number | undefined;
1113
2424
  host?: string | undefined;
2425
+ password?: string | undefined;
1114
2426
  token?: string | undefined;
2427
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
1115
2428
  url?: string | undefined;
1116
- compression?: "none" | "gzip" | "brotli" | "deflate" | undefined;
1117
- port?: number | undefined;
1118
- password?: string | undefined;
1119
2429
  username?: string | undefined;
1120
2430
  tls?: boolean | undefined;
1121
- };
1122
- cache: {
1123
- driver: string;
2431
+ } | undefined;
2432
+ cache?: {
2433
+ driver: "azureAppConfiguration" | "azureCosmos" | "azureKeyVault" | "azureStorageBlob" | "azureStorageTable" | "cloudflareKVBinding" | "cloudflareKVHTTP" | "cloudflareR2Binding" | "fs" | "fsLite" | "github" | "http" | "indexedb" | "localStorage" | "lruCache" | "memory" | "mongodb" | "netlifyBlobs" | "overlay" | "planetscale" | "redis" | "sessionStorage" | "vercelKV" | "cloudflare-kv-binding" | "cloudflare-kv-http";
1124
2434
  ttl?: number | undefined;
2435
+ port?: number | undefined;
1125
2436
  host?: string | undefined;
2437
+ password?: string | undefined;
1126
2438
  token?: string | undefined;
2439
+ compression?: "none" | "deflate" | "gzip" | "brotli" | undefined;
1127
2440
  url?: string | undefined;
1128
- compression?: "none" | "gzip" | "brotli" | "deflate" | undefined;
1129
- port?: number | undefined;
1130
- password?: string | undefined;
1131
2441
  username?: string | undefined;
1132
2442
  tls?: boolean | undefined;
1133
- };
2443
+ } | undefined;
1134
2444
  } | undefined;
2445
+ isDefault?: boolean | undefined;
1135
2446
  }>;
1136
- shopSelector: "domain" | "path" | "path_or_default";
1137
- publicShopData: string[];
1138
- idp?: {
1139
- enabled: boolean;
1140
- idpRedirectURL: string;
1141
- idpKeys: string[];
1142
- } | undefined;
1143
2447
  redirects?: {
1144
2448
  enabled: boolean;
1145
2449
  queryParamWhitelist?: string[] | undefined;
1146
2450
  } | undefined;
1147
- session?: {
1148
- domain?: string | undefined;
1149
- secret?: string | undefined;
1150
- cookieName?: string | undefined;
1151
- sameSite?: "none" | "lax" | "strict" | undefined;
1152
- maxAge?: number | undefined;
1153
- } | undefined;
1154
- cache?: {
1155
- auth: {
1156
- password: string;
1157
- username: string;
1158
- };
1159
- enabled: boolean;
1160
- } | undefined;
1161
2451
  };
1162
2452
  public: {
1163
2453
  storefront: {
1164
2454
  log: {
1165
- level: string;
2455
+ level: LogLevel;
1166
2456
  name: string;
1167
2457
  };
1168
2458
  };
1169
2459
  };
1170
2460
  }>;
2461
+ type CheckoutShopConfigType = z.infer<typeof CheckoutShopConfigSchema>;
2462
+ type SessionType = z.infer<typeof SessionSchema>;
2463
+ type StorageType = z.infer<typeof StorageSchema>;
2464
+ type BapiConfigType = z.infer<typeof BapiSchema>;
2465
+ type ShopConfigType = z.infer<typeof ShopConfigSchema>;
2466
+ type StorefrontConfigType = z.infer<typeof StorefrontConfigSchema>;
2467
+ type ShopSelectorType = z.infer<typeof ShopSelectorSchema>;
2468
+ type RedirectType = z.infer<typeof RedirectsSchema>;
2469
+ type IdpType = z.infer<typeof IdpSchema>;
2470
+ type RedisConfigType = z.infer<typeof RedisConfigSchema>;
2471
+ type ModulePublicRuntimeConfigType = z.infer<typeof PublicRuntimeConfigSchema>;
2472
+ export type { CheckoutShopConfigType, SessionType, StorageType, BapiConfigType, ShopSelectorType, ShopConfigType, StorefrontConfigType, RedirectType, ModulePublicRuntimeConfigType, IdpType, RedisConfigType, };