@ecomiq/storefront 0.1.0 → 0.1.1

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.
package/dist/react.d.ts CHANGED
@@ -1,106 +1,27 @@
1
1
  import { GeoItem } from './core.js';
2
- export { CartAddressesRequest, CartAddressesRequestSchema, CartBuyerRequest, CartBuyerRequestSchema, CartCheckoutPayment, CartCheckoutPaymentAction, CartCheckoutPaymentActionSchema, CartCheckoutPaymentSchema, CartCheckoutReadResponse, CartCheckoutReadResponseSchema, CartCheckoutRequest, CartCheckoutRequestSchema, CartCheckoutResponse, CartCheckoutResponseSchema, CartCouponRequest, CartCouponRequestSchema, CartCreateRequest, CartCreateRequestSchema, CartItemModifierRequest, CartItemModifierRequestSchema, CartItemRequest, CartItemRequestSchema, CartPaymentMethod, CartPaymentMethodSchema, CartPaymentMethodsResponse, CartPaymentMethodsResponseSchema, CartPaymentReceiptResponse, CartPaymentReceiptResponseSchema, CartResponse, CartResponseBundleItemSchema, CartResponseItemSchema, CartResponseSchema, CartShippingMethodPutRequest, CartShippingMethodPutRequestSchema, CustomerAddressUpsertInput, CustomerOrderDetail, CustomerOrderLineItem, CustomerOrderListItem, CustomerOrderShippingAddress, CustomerProfile, CustomerProfilePatch, CustomerSavedAddress, STOREFRONT_API_PATH_PREFIX, STOREFRONT_ECOMIQ_OAUTH_COOKIE_NAME, STOREFRONT_ECOMIQ_OAUTH_COOKIE_PATH, ShippingOptionGroup, ShippingOptionGroupSchema, ShippingOptionsResponse, ShippingOptionsResponseSchema, ShippingRate, ShippingRateSchema, StoreTheme, StorefrontPageBlock, StorefrontPageDetail, StorefrontPageDetailSchema, StorefrontPageListItem, StorefrontPageListItemSchema, StorefrontPageSection, ThemeComponentName, ThemeComponentsMap, ThemeName, apiClient, cartService, collectionService, countryCurrency, customerOrderStatusTone, fetchStorefrontGeoDistricts, fetchStorefrontGeoProvinces, formatCurrency, formatCustomerOrderStatus, formatOrderDate, formatOrderDateTime, loadStorefrontGeoDepartments, pageService, productService, resolveIneiCodesFromLabels, storeService, toGeoItems } from './core.js';
3
- import { P as ProductsFilters, d as StorefrontProductsParamsInput } from './store-CYBCpY6v.js';
4
- export { e as Product, t as ProductSchema, f as ProductVariant, u as ProductVariantSchema, w as ProductsFiltersSchema, g as ProductsResponse, v as ProductsResponseSchema, m as StorefrontBundleItem, C as StorefrontBundleItemSchema, I as StorefrontCheckoutSettingsSchema, r as StorefrontCmsPage, q as StorefrontCmsSettings, c as StorefrontCollection, o as StorefrontCollectionDetail, F as StorefrontCollectionDetailSchema, D as StorefrontCollectionSchema, n as StorefrontCollectionsResponse, E as StorefrontCollectionsResponseSchema, l as StorefrontPriceTier, B as StorefrontPriceTierSchema, a as StorefrontProduct, b as StorefrontProductDetail, A as StorefrontProductDetailSchema, k as StorefrontProductImage, x as StorefrontProductSchema, z as StorefrontProductsParamsSchema, h as StorefrontProductsResponse, y as StorefrontProductsResponseSchema, S as StorefrontSettings, s as StorefrontSettingsLegacyFlat, J as StorefrontSettingsLegacyFlatSchema, G as StorefrontSettingsSchema, p as StorefrontStore, H as StorefrontStoreSchema, i as StorefrontVariant, j as StorefrontVariantOption, N as normalizeStorefrontSettingsPayload, L as storefrontFaviconUrl, M as storefrontOgImageUrl, K as storefrontStoreRecord } from './store-CYBCpY6v.js';
5
- import * as react from 'react';
6
- import react__default, { ReactNode } from 'react';
2
+ export { CartAddressesRequest, CartAddressesRequestSchema, CartBuyerRequest, CartBuyerRequestSchema, CartCheckoutPayment, CartCheckoutPaymentAction, CartCheckoutPaymentActionSchema, CartCheckoutPaymentSchema, CartCheckoutReadResponse, CartCheckoutReadResponseSchema, CartCheckoutRequest, CartCheckoutRequestSchema, CartCheckoutResponse, CartCheckoutResponseSchema, CartCouponRequest, CartCouponRequestSchema, CartCreateRequest, CartCreateRequestSchema, CartItemModifierRequest, CartItemModifierRequestSchema, CartItemRequest, CartItemRequestSchema, CartPaymentMethod, CartPaymentMethodSchema, CartPaymentMethodsResponse, CartPaymentMethodsResponseSchema, CartPaymentReceiptResponse, CartPaymentReceiptResponseSchema, CartResponse, CartResponseBundleItemSchema, CartResponseItemSchema, CartResponseSchema, CartShippingMethodPutRequest, CartShippingMethodPutRequestSchema, CustomerAddressUpsertInput, CustomerOrderDetail, CustomerOrderLineItem, CustomerOrderListItem, CustomerOrderShippingAddress, CustomerProfile, CustomerProfilePatch, CustomerSavedAddress, STOREFRONT_API_PATH_PREFIX, STOREFRONT_ECOMIQ_OAUTH_COOKIE_NAME, STOREFRONT_ECOMIQ_OAUTH_COOKIE_PATH, ShippingOptionGroup, ShippingOptionGroupSchema, ShippingOptionsResponse, ShippingOptionsResponseSchema, ShippingRate, ShippingRateSchema, StoreTheme, StorefrontPageBlock, StorefrontPageDetail, StorefrontPageDetailSchema, StorefrontPageListItem, StorefrontPageListItemSchema, StorefrontPageSection, apiClient, cartService, collectionService, countryCurrency, customerOrderStatusTone, fetchStorefrontGeoDistricts, fetchStorefrontGeoProvinces, formatCurrency, formatCustomerOrderStatus, formatOrderDate, formatOrderDateTime, loadStorefrontGeoDepartments, pageService, productService, resolveIneiCodesFromLabels, storeService, toGeoItems } from './core.js';
3
+ import { P as ProductsFilters, a as StorefrontProductsParamsInput } from './store-to_vuWRF.js';
4
+ export { b as Product, t as ProductSchema, c as ProductVariant, u as ProductVariantSchema, w as ProductsFiltersSchema, d as ProductsResponse, v as ProductsResponseSchema, l as StorefrontBundleItem, C as StorefrontBundleItemSchema, I as StorefrontCheckoutSettingsSchema, r as StorefrontCmsPage, q as StorefrontCmsSettings, m as StorefrontCollection, o as StorefrontCollectionDetail, F as StorefrontCollectionDetailSchema, D as StorefrontCollectionSchema, n as StorefrontCollectionsResponse, E as StorefrontCollectionsResponseSchema, k as StorefrontPriceTier, B as StorefrontPriceTierSchema, e as StorefrontProduct, g as StorefrontProductDetail, A as StorefrontProductDetailSchema, j as StorefrontProductImage, x as StorefrontProductSchema, z as StorefrontProductsParamsSchema, f as StorefrontProductsResponse, y as StorefrontProductsResponseSchema, S as StorefrontSettings, s as StorefrontSettingsLegacyFlat, J as StorefrontSettingsLegacyFlatSchema, G as StorefrontSettingsSchema, p as StorefrontStore, H as StorefrontStoreSchema, h as StorefrontVariant, i as StorefrontVariantOption, N as normalizeStorefrontSettingsPayload, L as storefrontFaviconUrl, M as storefrontOgImageUrl, K as storefrontStoreRecord } from './store-to_vuWRF.js';
5
+ import * as React from 'react';
6
+ import { ReactNode } from 'react';
7
7
  import * as _tanstack_react_query from '@tanstack/react-query';
8
8
  import { DehydratedState } from '@tanstack/react-query';
9
- import * as better_auth_react from 'better-auth/react';
10
- import { createAuthClient } from 'better-auth/react';
11
- import * as better_auth from 'better-auth';
12
- import { BetterAuthPlugin } from 'better-auth';
9
+ export { E as EcomiqProvider, e as EcomiqProviderProps, O as OptionGroup, P as ProductVariantSelector, h as ProductVariantSelectorProps, j as ProductVariantSelectorRenderProps, i as SelectedOptions, c as StorefrontAuthClientInstance, S as StorefrontAuthProvider, d as StorefrontSessionUser, f as findStorefrontCmsPageBySlug, s as storefrontAccessTokenNeedsRefresh, a as storefrontSessionEndsSoon, g as useStore, u as useStorefrontAuthClient, b as useStorefrontSession } from './find-storefront-cms-page-c8CktSz7.js';
13
10
  import * as zod from 'zod';
14
11
  import { UseFormReturn } from 'react-hook-form';
15
- import { C as CmsSectionsRendererProps } from './find-storefront-cms-page-Bo0-G1FK.js';
16
- export { b as CmsLinkProps, d as CmsProduct, e as CmsRenderBlock, h as CmsRenderSection, i as CmsRenderSettings, j as CmsSectionData, D as DEFAULT_CMS_IMAGE_URL, O as OptionGroup, P as ProductVariantSelector, k as ProductVariantSelectorProps, m as ProductVariantSelectorRenderProps, S as SafeThemeInjector, l as SelectedOptions, c as canonicalSectionType, f as findStorefrontCmsPageBySlug, g as getCmsSectionKey, p as productSortValue, s as sanitizeHtml, a as storefrontHref, u as useStore } from './find-storefront-cms-page-Bo0-G1FK.js';
17
12
  import * as zustand_middleware from 'zustand/middleware';
18
13
  import * as zustand from 'zustand';
14
+ import { BetterAuthPlugin } from 'better-auth';
19
15
  import { BetterAuthClientPlugin } from 'better-auth/client';
20
16
  import 'axios';
17
+ import 'better-auth/react';
21
18
  import '@ecomiq/storefront/react';
22
19
 
23
20
  interface QueryProviderProps {
24
21
  children: ReactNode;
25
22
  dehydratedState?: DehydratedState;
26
23
  }
27
- declare function QueryProvider({ children, dehydratedState }: QueryProviderProps): react.JSX.Element;
28
-
29
- /** Instancia de `createAuthClient` (better-auth/react) con los plugins de la app. */
30
- type StorefrontAuthClientInstance = ReturnType<typeof createAuthClient>;
31
- declare function StorefrontAuthProvider({ authClient, children, }: {
32
- authClient: StorefrontAuthClientInstance;
33
- children: react__default.ReactNode;
34
- }): react__default.JSX.Element;
35
- declare function useStorefrontAuthClient(): StorefrontAuthClientInstance;
36
- type StorefrontSessionUser = {
37
- id: string;
38
- email: string;
39
- firstName: string;
40
- lastName: string;
41
- name?: string;
42
- phone?: string;
43
- };
44
- /** Caducidad alineada con OAuth/`expires_in` (skew en ms). El bearer ya no viene en JSON de sesión. */
45
- declare function storefrontSessionEndsSoon(expiresAt: Date | undefined, skewMs?: number): boolean;
46
- /** @deprecated Usar `storefrontSessionEndsSoon` */
47
- declare const storefrontAccessTokenNeedsRefresh: typeof storefrontSessionEndsSoon;
48
- /**
49
- * Sesión Better Auth + usuario mapeado para UI (headers, drawer).
50
- */
51
- declare function useStorefrontSession(): {
52
- session: {
53
- data: {
54
- user: better_auth.StripEmptyObjects<{
55
- id: string;
56
- createdAt: Date;
57
- updatedAt: Date;
58
- email: string;
59
- emailVerified: boolean;
60
- name: string;
61
- image?: string | null | undefined;
62
- }>;
63
- session: better_auth.StripEmptyObjects<{
64
- id: string;
65
- createdAt: Date;
66
- updatedAt: Date;
67
- userId: string;
68
- expiresAt: Date;
69
- token: string;
70
- ipAddress?: string | null | undefined;
71
- userAgent?: string | null | undefined;
72
- }>;
73
- } | null;
74
- isPending: boolean;
75
- isRefetching: boolean;
76
- error: better_auth_react.BetterFetchError | null;
77
- refetch: (queryParams?: {
78
- query?: better_auth.SessionQueryParams;
79
- } | undefined) => Promise<void>;
80
- };
81
- user: StorefrontSessionUser | null;
82
- sessionExpiresAt: Date | undefined;
83
- isAuthenticated: boolean;
84
- isPending: boolean;
85
- error: better_auth_react.BetterFetchError | null;
86
- refetch: (queryParams?: {
87
- query?: better_auth.SessionQueryParams;
88
- } | undefined) => Promise<void>;
89
- signOut: () => Promise<{
90
- data: {
91
- success: boolean;
92
- };
93
- error: null;
94
- } | {
95
- data: null;
96
- error: {
97
- code?: string | undefined | undefined;
98
- message?: string | undefined | undefined;
99
- status: number;
100
- statusText: string;
101
- };
102
- }>;
103
- };
24
+ declare function QueryProvider({ children, dehydratedState }: QueryProviderProps): React.JSX.Element;
104
25
 
105
26
  declare function useUser(): {};
106
27
 
@@ -111,15 +32,15 @@ declare const useProducts: (storeId?: string) => {
111
32
  items: {
112
33
  id: string;
113
34
  name: string;
114
- slug: string;
115
35
  images: {
116
36
  url: string;
117
37
  name?: string | undefined;
118
38
  isPrimary?: boolean | undefined;
119
39
  }[];
120
- description?: string | undefined;
40
+ slug: string;
121
41
  basePrice?: number | undefined;
122
42
  salePrice?: number | undefined;
43
+ description?: string | undefined;
123
44
  categories?: {
124
45
  id: string;
125
46
  name: string;
@@ -136,9 +57,6 @@ declare const useProducts: (storeId?: string) => {
136
57
  productId: string;
137
58
  weight: number | null;
138
59
  order: number | null;
139
- status?: string | null | undefined;
140
- updatedOn?: string | null | undefined;
141
- createdOn?: string | null | undefined;
142
60
  basePrice?: number | null | undefined;
143
61
  comparePrice?: number | null | undefined;
144
62
  originalPrice?: number | null | undefined;
@@ -153,9 +71,12 @@ declare const useProducts: (storeId?: string) => {
153
71
  leadTime?: string | null | undefined;
154
72
  barCode?: string | null | undefined;
155
73
  shippingWeight?: number | null | undefined;
74
+ status?: string | null | undefined;
156
75
  images?: string[] | null | undefined;
157
76
  attributes?: string[] | null | undefined;
158
77
  variantStatus?: string | null | undefined;
78
+ createdOn?: string | null | undefined;
79
+ updatedOn?: string | null | undefined;
159
80
  deletedOn?: string | null | undefined;
160
81
  }[] | undefined;
161
82
  }[];
@@ -170,15 +91,15 @@ declare const useProducts: (storeId?: string) => {
170
91
  items: {
171
92
  id: string;
172
93
  name: string;
173
- slug: string;
174
94
  images: {
175
95
  url: string;
176
96
  name?: string | undefined;
177
97
  isPrimary?: boolean | undefined;
178
98
  }[];
179
- description?: string | undefined;
99
+ slug: string;
180
100
  basePrice?: number | undefined;
181
101
  salePrice?: number | undefined;
102
+ description?: string | undefined;
182
103
  categories?: {
183
104
  id: string;
184
105
  name: string;
@@ -195,9 +116,6 @@ declare const useProducts: (storeId?: string) => {
195
116
  productId: string;
196
117
  weight: number | null;
197
118
  order: number | null;
198
- status?: string | null | undefined;
199
- updatedOn?: string | null | undefined;
200
- createdOn?: string | null | undefined;
201
119
  basePrice?: number | null | undefined;
202
120
  comparePrice?: number | null | undefined;
203
121
  originalPrice?: number | null | undefined;
@@ -212,9 +130,12 @@ declare const useProducts: (storeId?: string) => {
212
130
  leadTime?: string | null | undefined;
213
131
  barCode?: string | null | undefined;
214
132
  shippingWeight?: number | null | undefined;
133
+ status?: string | null | undefined;
215
134
  images?: string[] | null | undefined;
216
135
  attributes?: string[] | null | undefined;
217
136
  variantStatus?: string | null | undefined;
137
+ createdOn?: string | null | undefined;
138
+ updatedOn?: string | null | undefined;
218
139
  deletedOn?: string | null | undefined;
219
140
  }[] | undefined;
220
141
  }[];
@@ -228,15 +149,15 @@ declare const useProducts: (storeId?: string) => {
228
149
  useProduct: (id: string) => _tanstack_react_query.UseQueryResult<{
229
150
  id: string;
230
151
  name: string;
231
- slug: string;
232
152
  images: {
233
153
  url: string;
234
154
  name?: string | undefined;
235
155
  isPrimary?: boolean | undefined;
236
156
  }[];
237
- description?: string | undefined;
157
+ slug: string;
238
158
  basePrice?: number | undefined;
239
159
  salePrice?: number | undefined;
160
+ description?: string | undefined;
240
161
  categories?: {
241
162
  id: string;
242
163
  name: string;
@@ -253,9 +174,6 @@ declare const useProducts: (storeId?: string) => {
253
174
  productId: string;
254
175
  weight: number | null;
255
176
  order: number | null;
256
- status?: string | null | undefined;
257
- updatedOn?: string | null | undefined;
258
- createdOn?: string | null | undefined;
259
177
  basePrice?: number | null | undefined;
260
178
  comparePrice?: number | null | undefined;
261
179
  originalPrice?: number | null | undefined;
@@ -270,24 +188,27 @@ declare const useProducts: (storeId?: string) => {
270
188
  leadTime?: string | null | undefined;
271
189
  barCode?: string | null | undefined;
272
190
  shippingWeight?: number | null | undefined;
191
+ status?: string | null | undefined;
273
192
  images?: string[] | null | undefined;
274
193
  attributes?: string[] | null | undefined;
275
194
  variantStatus?: string | null | undefined;
195
+ createdOn?: string | null | undefined;
196
+ updatedOn?: string | null | undefined;
276
197
  deletedOn?: string | null | undefined;
277
198
  }[] | undefined;
278
199
  }, Error>;
279
200
  useProductBySlug: (slug: string) => _tanstack_react_query.UseQueryResult<{
280
201
  id: string;
281
202
  name: string;
282
- slug: string;
283
203
  images: {
284
204
  url: string;
285
205
  name?: string | undefined;
286
206
  isPrimary?: boolean | undefined;
287
207
  }[];
288
- description?: string | undefined;
208
+ slug: string;
289
209
  basePrice?: number | undefined;
290
210
  salePrice?: number | undefined;
211
+ description?: string | undefined;
291
212
  categories?: {
292
213
  id: string;
293
214
  name: string;
@@ -304,9 +225,6 @@ declare const useProducts: (storeId?: string) => {
304
225
  productId: string;
305
226
  weight: number | null;
306
227
  order: number | null;
307
- status?: string | null | undefined;
308
- updatedOn?: string | null | undefined;
309
- createdOn?: string | null | undefined;
310
228
  basePrice?: number | null | undefined;
311
229
  comparePrice?: number | null | undefined;
312
230
  originalPrice?: number | null | undefined;
@@ -321,9 +239,12 @@ declare const useProducts: (storeId?: string) => {
321
239
  leadTime?: string | null | undefined;
322
240
  barCode?: string | null | undefined;
323
241
  shippingWeight?: number | null | undefined;
242
+ status?: string | null | undefined;
324
243
  images?: string[] | null | undefined;
325
244
  attributes?: string[] | null | undefined;
326
245
  variantStatus?: string | null | undefined;
246
+ createdOn?: string | null | undefined;
247
+ updatedOn?: string | null | undefined;
327
248
  deletedOn?: string | null | undefined;
328
249
  }[] | undefined;
329
250
  }, Error>;
@@ -331,15 +252,15 @@ declare const useProducts: (storeId?: string) => {
331
252
  items: {
332
253
  id: string;
333
254
  name: string;
334
- slug: string;
335
255
  images: {
336
256
  url: string;
337
257
  name?: string | undefined;
338
258
  isPrimary?: boolean | undefined;
339
259
  }[];
340
- description?: string | undefined;
260
+ slug: string;
341
261
  basePrice?: number | undefined;
342
262
  salePrice?: number | undefined;
263
+ description?: string | undefined;
343
264
  categories?: {
344
265
  id: string;
345
266
  name: string;
@@ -356,9 +277,6 @@ declare const useProducts: (storeId?: string) => {
356
277
  productId: string;
357
278
  weight: number | null;
358
279
  order: number | null;
359
- status?: string | null | undefined;
360
- updatedOn?: string | null | undefined;
361
- createdOn?: string | null | undefined;
362
280
  basePrice?: number | null | undefined;
363
281
  comparePrice?: number | null | undefined;
364
282
  originalPrice?: number | null | undefined;
@@ -373,9 +291,12 @@ declare const useProducts: (storeId?: string) => {
373
291
  leadTime?: string | null | undefined;
374
292
  barCode?: string | null | undefined;
375
293
  shippingWeight?: number | null | undefined;
294
+ status?: string | null | undefined;
376
295
  images?: string[] | null | undefined;
377
296
  attributes?: string[] | null | undefined;
378
297
  variantStatus?: string | null | undefined;
298
+ createdOn?: string | null | undefined;
299
+ updatedOn?: string | null | undefined;
379
300
  deletedOn?: string | null | undefined;
380
301
  }[] | undefined;
381
302
  }[];
@@ -390,15 +311,15 @@ declare const useProducts: (storeId?: string) => {
390
311
  items: {
391
312
  id: string;
392
313
  name: string;
393
- slug: string;
394
314
  images: {
395
315
  url: string;
396
316
  name?: string | undefined;
397
317
  isPrimary?: boolean | undefined;
398
318
  }[];
399
- description?: string | undefined;
319
+ slug: string;
400
320
  basePrice?: number | undefined;
401
321
  salePrice?: number | undefined;
322
+ description?: string | undefined;
402
323
  categories?: {
403
324
  id: string;
404
325
  name: string;
@@ -415,9 +336,6 @@ declare const useProducts: (storeId?: string) => {
415
336
  productId: string;
416
337
  weight: number | null;
417
338
  order: number | null;
418
- status?: string | null | undefined;
419
- updatedOn?: string | null | undefined;
420
- createdOn?: string | null | undefined;
421
339
  basePrice?: number | null | undefined;
422
340
  comparePrice?: number | null | undefined;
423
341
  originalPrice?: number | null | undefined;
@@ -432,9 +350,12 @@ declare const useProducts: (storeId?: string) => {
432
350
  leadTime?: string | null | undefined;
433
351
  barCode?: string | null | undefined;
434
352
  shippingWeight?: number | null | undefined;
353
+ status?: string | null | undefined;
435
354
  images?: string[] | null | undefined;
436
355
  attributes?: string[] | null | undefined;
437
356
  variantStatus?: string | null | undefined;
357
+ createdOn?: string | null | undefined;
358
+ updatedOn?: string | null | undefined;
438
359
  deletedOn?: string | null | undefined;
439
360
  }[] | undefined;
440
361
  }[];
@@ -449,15 +370,15 @@ declare const useProducts: (storeId?: string) => {
449
370
  items: {
450
371
  id: string;
451
372
  name: string;
452
- slug: string;
453
373
  images: {
454
374
  url: string;
455
375
  name?: string | undefined;
456
376
  isPrimary?: boolean | undefined;
457
377
  }[];
458
- description?: string | undefined;
378
+ slug: string;
459
379
  basePrice?: number | undefined;
460
380
  salePrice?: number | undefined;
381
+ description?: string | undefined;
461
382
  categories?: {
462
383
  id: string;
463
384
  name: string;
@@ -474,9 +395,6 @@ declare const useProducts: (storeId?: string) => {
474
395
  productId: string;
475
396
  weight: number | null;
476
397
  order: number | null;
477
- status?: string | null | undefined;
478
- updatedOn?: string | null | undefined;
479
- createdOn?: string | null | undefined;
480
398
  basePrice?: number | null | undefined;
481
399
  comparePrice?: number | null | undefined;
482
400
  originalPrice?: number | null | undefined;
@@ -491,9 +409,12 @@ declare const useProducts: (storeId?: string) => {
491
409
  leadTime?: string | null | undefined;
492
410
  barCode?: string | null | undefined;
493
411
  shippingWeight?: number | null | undefined;
412
+ status?: string | null | undefined;
494
413
  images?: string[] | null | undefined;
495
414
  attributes?: string[] | null | undefined;
496
415
  variantStatus?: string | null | undefined;
416
+ createdOn?: string | null | undefined;
417
+ updatedOn?: string | null | undefined;
497
418
  deletedOn?: string | null | undefined;
498
419
  }[] | undefined;
499
420
  }[];
@@ -508,15 +429,15 @@ declare const useProducts: (storeId?: string) => {
508
429
  items: {
509
430
  id: string;
510
431
  name: string;
511
- slug: string;
512
432
  images: {
513
433
  url: string;
514
434
  name?: string | undefined;
515
435
  isPrimary?: boolean | undefined;
516
436
  }[];
517
- description?: string | undefined;
437
+ slug: string;
518
438
  basePrice?: number | undefined;
519
439
  salePrice?: number | undefined;
440
+ description?: string | undefined;
520
441
  categories?: {
521
442
  id: string;
522
443
  name: string;
@@ -533,9 +454,6 @@ declare const useProducts: (storeId?: string) => {
533
454
  productId: string;
534
455
  weight: number | null;
535
456
  order: number | null;
536
- status?: string | null | undefined;
537
- updatedOn?: string | null | undefined;
538
- createdOn?: string | null | undefined;
539
457
  basePrice?: number | null | undefined;
540
458
  comparePrice?: number | null | undefined;
541
459
  originalPrice?: number | null | undefined;
@@ -550,9 +468,12 @@ declare const useProducts: (storeId?: string) => {
550
468
  leadTime?: string | null | undefined;
551
469
  barCode?: string | null | undefined;
552
470
  shippingWeight?: number | null | undefined;
471
+ status?: string | null | undefined;
553
472
  images?: string[] | null | undefined;
554
473
  attributes?: string[] | null | undefined;
555
474
  variantStatus?: string | null | undefined;
475
+ createdOn?: string | null | undefined;
476
+ updatedOn?: string | null | undefined;
556
477
  deletedOn?: string | null | undefined;
557
478
  }[] | undefined;
558
479
  }[];
@@ -664,16 +585,16 @@ declare const useProducts: (storeId?: string) => {
664
585
  maxPrice?: number | null | undefined;
665
586
  }, Error, {
666
587
  sort?: "price_asc" | "price_desc" | "name_asc" | "name_desc" | "newest" | undefined;
667
- sellerId?: string | undefined;
668
- search?: string | undefined;
669
588
  inStock?: boolean | undefined;
670
589
  page?: number | undefined;
671
590
  pageSize?: number | undefined;
672
591
  category?: string | undefined;
592
+ search?: string | undefined;
673
593
  minPrice?: number | undefined;
674
594
  maxPrice?: number | undefined;
675
595
  productType?: string | undefined;
676
596
  brand?: string | undefined;
597
+ sellerId?: string | undefined;
677
598
  collection?: string | undefined;
678
599
  } | undefined, unknown>;
679
600
  };
@@ -682,8 +603,8 @@ declare const useCollections: (storeId?: string) => {
682
603
  useStorefrontCollectionsList: () => _tanstack_react_query.UseQueryResult<{
683
604
  id: string;
684
605
  name: string;
685
- slug: string;
686
606
  type: string;
607
+ slug: string;
687
608
  productCount: number;
688
609
  description?: string | null | undefined;
689
610
  imageUrl?: string | null | undefined;
@@ -691,8 +612,8 @@ declare const useCollections: (storeId?: string) => {
691
612
  useStorefrontCollectionBySlug: (slug: string) => _tanstack_react_query.UseQueryResult<{
692
613
  id: string;
693
614
  name: string;
694
- slug: string;
695
615
  type: string;
616
+ slug: string;
696
617
  productCount: number;
697
618
  description?: string | null | undefined;
698
619
  imageUrl?: string | null | undefined;
@@ -700,8 +621,8 @@ declare const useCollections: (storeId?: string) => {
700
621
  useRefreshStorefrontCollections: () => _tanstack_react_query.UseMutationResult<{
701
622
  id: string;
702
623
  name: string;
703
- slug: string;
704
624
  type: string;
625
+ slug: string;
705
626
  productCount: number;
706
627
  description?: string | null | undefined;
707
628
  imageUrl?: string | null | undefined;
@@ -736,12 +657,12 @@ declare const usePages: (storeId?: string) => {
736
657
  }, zod.ZodUnknown, "strip"> | undefined;
737
658
  sections?: {
738
659
  id: string;
739
- type: string;
740
660
  order: number;
661
+ type: string;
741
662
  blocks: {
742
663
  id: string;
743
- type: string;
744
664
  order: number;
665
+ type: string;
745
666
  settings?: Record<string, unknown> | undefined;
746
667
  }[];
747
668
  settings?: Record<string, unknown> | undefined;
@@ -1039,6 +960,4 @@ declare function ecomiqOAuthPassword(): BetterAuthPlugin;
1039
960
  */
1040
961
  declare function ecomiqOAuthPasswordClient(): BetterAuthClientPlugin;
1041
962
 
1042
- declare function CmsSectionsRenderer({ sections, sectionData, linkComponent, currency, preview, wrap, }: CmsSectionsRendererProps): react.JSX.Element;
1043
-
1044
- export { type CartItem, type CheckoutCustomerLocal, CmsSectionsRenderer, CmsSectionsRendererProps, type GeoIneiFormFields, GeoItem, ProductsFilters, QueryProvider, type StorefrontAuthClientInstance, StorefrontAuthProvider, StorefrontProductsParamsInput, type StorefrontSessionUser, ecomiqOAuthPassword, ecomiqOAuthPasswordClient, storefrontAccessTokenNeedsRefresh, storefrontSessionEndsSoon, useCart, useCartAddresses, useCartCreate, useCartGet, useCollections, useConfig, usePages, useProducts, useStorefrontAuthClient, useStorefrontGeoInei, useStorefrontSession, useUser };
963
+ export { type CartItem, type CheckoutCustomerLocal, type GeoIneiFormFields, GeoItem, ProductsFilters, QueryProvider, StorefrontProductsParamsInput, ecomiqOAuthPassword, ecomiqOAuthPasswordClient, useCart, useCartAddresses, useCartCreate, useCartGet, useCollections, useConfig, usePages, useProducts, useStorefrontGeoInei, useUser };