@sonic-equipment/ui 0.0.63 → 0.0.65

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/dist/index.d.ts +925 -380
  2. package/dist/index.js +889 -441
  3. package/dist/src/algolia/algolia-insight-instant-search-provider.d.ts +4 -0
  4. package/dist/src/algolia/algolia-pagination.d.ts +1 -1
  5. package/dist/src/algolia/algolia-products-hits-provider.d.ts +6 -0
  6. package/dist/src/algolia/algolia-provider.d.ts +2 -4
  7. package/dist/src/algolia/algolia-query-string-routing.d.ts +2 -2
  8. package/dist/src/algolia/use-algolia-instant-search-state.d.ts +17 -0
  9. package/dist/src/algolia/use-algolia-product-hits.d.ts +6 -1
  10. package/dist/src/breadcrumbs/breadcrumb.d.ts +2 -2
  11. package/dist/src/buttons/button/button.d.ts +4 -2
  12. package/dist/src/buttons/button/button.stories.d.ts +1 -0
  13. package/dist/src/buttons/favorite/connected-favorite-button.d.ts +1 -1
  14. package/dist/src/buttons/link/link.d.ts +14 -0
  15. package/dist/src/buttons/link/link.stories.d.ts +23 -0
  16. package/dist/src/cards/product-card/product-card.d.ts +2 -2
  17. package/dist/src/config.d.ts +1 -2
  18. package/dist/src/global-search/search-input/search-input.d.ts +3 -1
  19. package/dist/src/global-search/search-result-panel/search-result-panel.d.ts +0 -8
  20. package/dist/src/index.d.ts +20 -1
  21. package/dist/src/intl/translation-id.d.ts +1 -1
  22. package/dist/src/intl/types.d.ts +2 -0
  23. package/dist/src/loading/blank-page-spacer.d.ts +4 -0
  24. package/dist/src/pages/page/page.d.ts +2 -2
  25. package/dist/src/pages/product-listing-page/no-results/no-results.d.ts +7 -0
  26. package/dist/src/pages/product-listing-page/product-listing-page-data-types.d.ts +3 -2
  27. package/dist/src/shared/api/bff/model/bff.model.d.ts +3 -2
  28. package/dist/src/shared/api/shop/hooks/authentication/use-sign-in.d.ts +1 -7
  29. package/dist/src/shared/api/shop/hooks/cart/cart.stories.d.ts +2 -4
  30. package/dist/src/shared/api/shop/hooks/cart/use-add-product-to-current-cart.d.ts +1 -5
  31. package/dist/src/shared/api/shop/hooks/cart/use-delete-cart-line-by-id.d.ts +3 -1
  32. package/dist/src/shared/api/shop/hooks/translation/translations.stories.d.ts +9 -0
  33. package/dist/src/shared/api/shop/hooks/translation/use-fetch-translations.d.ts +1 -0
  34. package/dist/src/shared/api/shop/services/authentication-service.d.ts +25 -0
  35. package/dist/src/shared/api/shop/services/cart-service.d.ts +16 -0
  36. package/dist/src/shared/api/shop/services/translation-service.d.ts +2 -0
  37. package/dist/src/shared/feature-flags/use-feature-flags.d.ts +6 -0
  38. package/dist/src/shared/fetch/constants.d.ts +6 -0
  39. package/dist/src/shared/fetch/request.d.ts +7 -1
  40. package/dist/src/shared/routing/route-button.d.ts +2 -4
  41. package/dist/src/shared/routing/route-button.stories.d.ts +16 -0
  42. package/dist/src/shared/routing/route-link.d.ts +2 -11
  43. package/dist/src/shared/routing/route-link.stories.d.ts +16 -0
  44. package/dist/src/shared/utils/environment.d.ts +2 -2
  45. package/dist/src/typography/heading/heading.d.ts +2 -1
  46. package/dist/styles.css +193 -145
  47. package/package.json +1 -1
  48. package/dist/src/buttons/link-button/link-button.d.ts +0 -15
  49. package/dist/src/buttons/link-button/link-button.stories.d.ts +0 -19
  50. package/dist/src/shared/routing/route-provider.stories.d.ts +0 -16
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as _tanstack_react_query from '@tanstack/react-query';
2
- import { ReactElement, MutableRefObject, ReactNode, MouseEvent, RefAttributes, HTMLAttributeAnchorTarget, FormEventHandler, KeyboardEvent, ComponentType } from 'react';
2
+ import { ReactElement, MutableRefObject, ReactNode, RefAttributes, MouseEvent, FormEventHandler, KeyboardEvent, ComponentType } from 'react';
3
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
- import { LinkProps, ButtonProps as ButtonProps$1, PressEvent } from 'react-aria-components';
4
+ import { LinkProps as LinkProps$2, PressEvent } from 'react-aria-components';
5
5
  import { Hit } from '@algolia/client-search';
6
6
  import * as algoliasearch from 'algoliasearch';
7
7
  import { SearchClient } from 'algoliasearch';
@@ -9,20 +9,123 @@ import { RouterProps } from 'instantsearch.js/es/middlewares/createRouterMiddlew
9
9
  import { UiState } from 'instantsearch.js/es/types';
10
10
  import { AutocompleteApi, AutocompleteState as AutocompleteState$1, AutocompleteCollection, InternalAutocompleteSource, BaseItem } from '@algolia/autocomplete-core';
11
11
 
12
- declare const environments = ['sandbox', 'production'] as const
12
+ declare const environments = ['sandbox', 'production', 'local'] as const
13
13
  type Environment = (typeof environments)[number]
14
14
 
15
15
  interface Config {
16
16
  ALGOLIA_API_KEY: string;
17
17
  ALGOLIA_APP_ID: string;
18
18
  ALGOLIA_HOST: string;
19
- ALGOLIA_PROXY_HOST: string;
20
- PROXY_API_URL: string;
19
+ BFF_API_URL: string;
21
20
  SHOP_API_URL: string;
22
21
  }
23
22
  declare const configPerEnvironment: Record<Environment, Config>;
24
23
  declare const config: Config;
25
24
 
25
+ interface RequestErrorOptions {
26
+ body?: unknown;
27
+ context?: string;
28
+ options?: RequestOptions;
29
+ }
30
+ declare class RequestError extends Error {
31
+ isRequestError: boolean;
32
+ status: number;
33
+ statusText?: string;
34
+ body?: any;
35
+ context?: string;
36
+ options?: RequestOptions;
37
+ constructor(responseOrError: Response | any, options?: RequestErrorOptions, status?: number, statusText?: string);
38
+ toJSON(): {
39
+ context: string | undefined;
40
+ error: {
41
+ message: string;
42
+ stack: string | undefined;
43
+ };
44
+ isRequestError: boolean;
45
+ request: {};
46
+ response: {
47
+ body: any;
48
+ status: number;
49
+ statusText: string | undefined;
50
+ };
51
+ };
52
+ }
53
+ declare const isRequestError: (error: any) => error is RequestError;
54
+ declare class BadRequestError extends RequestError {
55
+ constructor(responseOrError: Response | unknown, options?: RequestErrorOptions);
56
+ }
57
+ declare class UnauthorizedRequestError extends RequestError {
58
+ constructor(responseOrError: Response | unknown, options?: RequestErrorOptions);
59
+ }
60
+ declare class ForbiddenRequestError extends RequestError {
61
+ constructor(responseOrError: Response | unknown, options?: RequestErrorOptions);
62
+ }
63
+ declare class NotFoundRequestError extends RequestError {
64
+ constructor(responseOrError: Response | unknown, options?: RequestErrorOptions);
65
+ }
66
+ declare class UnprocessableContentRequestError extends RequestError {
67
+ constructor(responseOrError: Response | unknown, options?: RequestErrorOptions);
68
+ }
69
+ declare class TimeoutRequestError extends RequestError {
70
+ constructor(responseOrError: Response | unknown, options?: RequestErrorOptions);
71
+ }
72
+ declare class InternalServerErrorRequest extends RequestError {
73
+ constructor(responseOrError: Response | unknown, options?: RequestErrorOptions);
74
+ }
75
+ type RequestHeaders = Record<string, string | null | undefined>;
76
+ type RequestHeadersWithBody = RequestHeaders & {
77
+ 'Content-Type': string;
78
+ };
79
+ interface BaseRequestOptions {
80
+ credentials?: RequestCredentials;
81
+ headers?: RequestHeaders;
82
+ method?: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
83
+ params?: Record<string, any>;
84
+ timeout?: number;
85
+ url: string;
86
+ }
87
+ interface RequestOptionsWithFormData extends BaseRequestOptions {
88
+ body: FormData;
89
+ headers: RequestHeaders;
90
+ }
91
+ interface RequestOptionsWithBody extends BaseRequestOptions {
92
+ body: unknown;
93
+ headers: RequestHeadersWithBody;
94
+ }
95
+ interface RequestOptionsWithoutBody extends BaseRequestOptions {
96
+ body?: never;
97
+ headers?: RequestHeaders;
98
+ }
99
+ type RequestOptions = RequestOptionsWithBody | RequestOptionsWithoutBody | RequestOptionsWithFormData;
100
+ type AfterRequestHandler<T> = (args: {
101
+ body: T | undefined;
102
+ error?: RequestError;
103
+ options: RequestOptions;
104
+ response?: Response;
105
+ }) => void;
106
+ type BeforeRequestHandler = (options?: RequestOptions) => RequestOptions | void;
107
+ type RequestReturnType<T> = Promise<{
108
+ body: T;
109
+ headers: Headers;
110
+ status: number;
111
+ statusText: string;
112
+ }>;
113
+ interface Request {
114
+ <T>(options: RequestOptions): RequestReturnType<T>;
115
+ _afterHandlers: AfterRequestHandler<any>[];
116
+ _beforeHandlers: BeforeRequestHandler[];
117
+ after<T = any>(handler: AfterRequestHandler<T>): void;
118
+ before(handler: BeforeRequestHandler): void;
119
+ headers: Omit<RequestHeaders, 'Content-Type'>;
120
+ }
121
+ declare const request: Request;
122
+
123
+ interface UseFeatureFlagsReturnType {
124
+ plpV2: boolean;
125
+ searchV2: boolean;
126
+ }
127
+ declare function useFeatureFlags(): UseFeatureFlagsReturnType;
128
+
26
129
  interface DPRSrcSet {
27
130
  1: string
28
131
  2: string
@@ -85,7 +188,7 @@ interface PromoCard$1 {
85
188
  image: ResponsiveImage;
86
189
  }
87
190
  interface PromoCards {
88
- top: PromoCard$1[];
191
+ top: PromoCard$1[] | null;
89
192
  }
90
193
  interface BreadCrumb {
91
194
  categoryId: string;
@@ -94,8 +197,9 @@ interface BreadCrumb {
94
197
  }
95
198
  interface ProductListingPageDataResponse {
96
199
  breadCrumb: BreadCrumb[];
97
- categories: Category$1;
200
+ categories: Category$1 | null;
98
201
  categoryPages: string;
202
+ hierarchicalCategories: string[];
99
203
  promoCards: PromoCards | null;
100
204
  }
101
205
 
@@ -104,7 +208,7 @@ interface PromoCard {
104
208
  image: ResponsiveImage
105
209
  }
106
210
 
107
- interface Link$2 {
211
+ interface Link$1 {
108
212
  href: string
109
213
  label: string
110
214
  }
@@ -116,11 +220,12 @@ interface Category {
116
220
  }
117
221
 
118
222
  interface ProductListingPageData {
119
- breadCrumb: Link$2[]
120
- category: Category
223
+ breadCrumb: Link$1[]
224
+ category: Category | undefined
121
225
  categoryPages: string
226
+ hierarchicalCategories: string[]
122
227
  promoCards?: {
123
- top: PromoCard[]
228
+ top: PromoCard[] | undefined
124
229
  }
125
230
  subcategories: Category[] | undefined
126
231
  }
@@ -172,7 +277,7 @@ interface AccountModel extends BaseModel$1 {
172
277
  canViewApprovalOrders: boolean;
173
278
  defaultCustomerId: string | null;
174
279
  defaultFulfillmentMethod: string;
175
- defaultWarehouse: WarehouseModel | null;
280
+ defaultWarehouse: WarehouseModel$1 | null;
176
281
  defaultWarehouseId: string | null;
177
282
  email: string;
178
283
  firstName: string;
@@ -220,7 +325,7 @@ interface AccountPaymentProfileModel extends BaseModel$1 {
220
325
  state: string;
221
326
  tokenScheme: string;
222
327
  }
223
- interface PersonaModel extends BaseModel$1 {
328
+ interface PersonaModel$1 extends BaseModel$1 {
224
329
  description: string;
225
330
  id: string;
226
331
  isDefault: boolean;
@@ -249,12 +354,12 @@ interface AccountSettingsModel extends BaseModel$1 {
249
354
  requireSelectCustomerOnSignIn: boolean;
250
355
  useEmailAsUserName: boolean;
251
356
  }
252
- interface SessionModel extends BaseModel$1 {
357
+ interface SessionModel$1 extends BaseModel$1 {
253
358
  activateAccount: boolean;
254
- billTo: BillToModel | null;
359
+ billTo: BillToModel$1 | null;
255
360
  cartReminderUnsubscribeEmail: string;
256
361
  cartReminderUnsubscribeToken: string;
257
- currency: CurrencyModel | null;
362
+ currency: CurrencyModel$1 | null;
258
363
  customLandingPage: string;
259
364
  customerWasUpdated: boolean;
260
365
  dashboardIsHomepage: boolean | null;
@@ -272,25 +377,25 @@ interface SessionModel extends BaseModel$1 {
272
377
  isRestrictedProductExistInCart: boolean;
273
378
  isRestrictedProductRemovedFromCart: boolean;
274
379
  isSalesPerson: boolean;
275
- language: LanguageModel | null;
380
+ language: LanguageModel$1 | null;
276
381
  lastName: string;
277
382
  newPassword: string;
278
383
  password: string;
279
384
  persona: string;
280
- personas: PersonaModel[] | null;
281
- pickUpWarehouse: WarehouseModel | null;
385
+ personas: PersonaModel$1[] | null;
386
+ pickUpWarehouse: WarehouseModel$1 | null;
282
387
  redirectToChangeCustomerPageOnSignIn: boolean;
283
388
  rememberMe: boolean;
284
389
  resetPassword: boolean;
285
390
  resetToken: string;
286
- shipTo: ShipToModel | null;
391
+ shipTo: ShipToModel$1 | null;
287
392
  userLabel: string;
288
393
  userName: string;
289
394
  userProfileId: string | null;
290
395
  userRoles: string;
291
396
  userRolesTranslated: string;
292
397
  }
293
- interface ShipToModel extends BaseModel$1 {
398
+ interface ShipToModel$1 extends BaseModel$1 {
294
399
  address1: string;
295
400
  address2: string;
296
401
  address3: string;
@@ -299,7 +404,7 @@ interface ShipToModel extends BaseModel$1 {
299
404
  city: string;
300
405
  companyName: string;
301
406
  contactFullName: string;
302
- country: CountryModel | null;
407
+ country: CountryModel$1 | null;
303
408
  customerName: string;
304
409
  customerNumber: string;
305
410
  customerSequence: string;
@@ -316,49 +421,49 @@ interface ShipToModel extends BaseModel$1 {
316
421
  oneTimeAddress: boolean;
317
422
  phone: string;
318
423
  postalCode: string;
319
- state: StateModel | null;
320
- validation: CustomerValidationDto | null;
321
- }
322
- interface CustomerValidationDto {
323
- address1: FieldValidationDto | null;
324
- address2: FieldValidationDto | null;
325
- address3: FieldValidationDto | null;
326
- address4: FieldValidationDto | null;
327
- attention: FieldValidationDto | null;
328
- city: FieldValidationDto | null;
329
- companyName: FieldValidationDto | null;
330
- country: FieldValidationDto | null;
331
- email: FieldValidationDto | null;
332
- fax: FieldValidationDto | null;
333
- firstName: FieldValidationDto | null;
334
- lastName: FieldValidationDto | null;
335
- phone: FieldValidationDto | null;
336
- postalCode: FieldValidationDto | null;
337
- state: FieldValidationDto | null;
338
- }
339
- interface FieldValidationDto {
424
+ state: StateModel$1 | null;
425
+ validation: CustomerValidationDto$1 | null;
426
+ }
427
+ interface CustomerValidationDto$1 {
428
+ address1: FieldValidationDto$1 | null;
429
+ address2: FieldValidationDto$1 | null;
430
+ address3: FieldValidationDto$1 | null;
431
+ address4: FieldValidationDto$1 | null;
432
+ attention: FieldValidationDto$1 | null;
433
+ city: FieldValidationDto$1 | null;
434
+ companyName: FieldValidationDto$1 | null;
435
+ country: FieldValidationDto$1 | null;
436
+ email: FieldValidationDto$1 | null;
437
+ fax: FieldValidationDto$1 | null;
438
+ firstName: FieldValidationDto$1 | null;
439
+ lastName: FieldValidationDto$1 | null;
440
+ phone: FieldValidationDto$1 | null;
441
+ postalCode: FieldValidationDto$1 | null;
442
+ state: FieldValidationDto$1 | null;
443
+ }
444
+ interface FieldValidationDto$1 {
340
445
  isDisabled: boolean;
341
446
  isRequired: boolean;
342
447
  maxLength: number | null;
343
448
  }
344
- interface StateModel extends BaseModel$1 {
449
+ interface StateModel$1 extends BaseModel$1 {
345
450
  abbreviation: string;
346
451
  id: string;
347
452
  name: string;
348
453
  }
349
- interface CountryModel extends BaseModel$1 {
454
+ interface CountryModel$1 extends BaseModel$1 {
350
455
  abbreviation: string;
351
456
  id: string;
352
457
  name: string;
353
- states: StateModel[] | null;
458
+ states: StateModel$1[] | null;
354
459
  }
355
- declare enum CurrencyPositioningType {
460
+ declare enum CurrencyPositioningType$1 {
356
461
  Left = "Left",
357
462
  Right = "Right"
358
463
  }
359
- interface LanguageModel extends BaseModel$1 {
464
+ interface LanguageModel$1 extends BaseModel$1 {
360
465
  cultureCode: string;
361
- currencyPositioning: CurrencyPositioningType;
466
+ currencyPositioning: CurrencyPositioningType$1;
362
467
  description: string;
363
468
  id: string;
364
469
  imageFilePath: string;
@@ -366,15 +471,15 @@ interface LanguageModel extends BaseModel$1 {
366
471
  isLive: boolean;
367
472
  languageCode: string;
368
473
  }
369
- interface CurrencyModel extends BaseModel$1 {
474
+ interface CurrencyModel$1 extends BaseModel$1 {
370
475
  currencyCode: string;
371
476
  currencySymbol: string;
372
477
  description: string;
373
478
  id: string;
374
479
  isDefault: boolean;
375
480
  }
376
- interface BillToModel extends BaseModel$1 {
377
- accountsReceivable?: AccountsReceivableDto | null;
481
+ interface BillToModel$1 extends BaseModel$1 {
482
+ accountsReceivable?: AccountsReceivableDto$1 | null;
378
483
  address1: string;
379
484
  address2: string;
380
485
  address3: string;
@@ -385,8 +490,8 @@ interface BillToModel extends BaseModel$1 {
385
490
  companyName: string;
386
491
  contactFullName: string;
387
492
  costCodeTitle: string;
388
- costCodes?: CostCodeModel[] | null;
389
- country: CountryModel | null;
493
+ costCodes?: CostCodeModel$1[] | null;
494
+ country: CountryModel$1 | null;
390
495
  customerCurrencySymbol: string;
391
496
  customerName: string;
392
497
  customerNumber: string;
@@ -402,23 +507,23 @@ interface BillToModel extends BaseModel$1 {
402
507
  lastName: string;
403
508
  phone: string;
404
509
  postalCode: string;
405
- shipTos?: ShipToModel[] | null;
510
+ shipTos?: ShipToModel$1[] | null;
406
511
  shipTosUri: string;
407
- state: StateModel | null;
408
- validation?: CustomerValidationDto | null;
512
+ state: StateModel$1 | null;
513
+ validation?: CustomerValidationDto$1 | null;
409
514
  }
410
- interface CostCodeModel {
515
+ interface CostCodeModel$1 {
411
516
  costCode: string;
412
517
  description: string;
413
518
  id: string;
414
519
  isActive: boolean | null;
415
520
  }
416
- interface AccountsReceivableDto {
417
- agingBucketFuture: AgingBucketDto | null;
418
- agingBucketTotal: AgingBucketDto | null;
419
- agingBuckets: AgingBucketDto[] | null;
521
+ interface AccountsReceivableDto$1 {
522
+ agingBucketFuture: AgingBucketDto$1 | null;
523
+ agingBucketTotal: AgingBucketDto$1 | null;
524
+ agingBuckets: AgingBucketDto$1[] | null;
420
525
  }
421
- interface AgingBucketDto {
526
+ interface AgingBucketDto$1 {
422
527
  amount: number;
423
528
  amountDisplay: string;
424
529
  label: string;
@@ -954,7 +1059,7 @@ interface CartModel extends BaseModel$1 {
954
1059
  additionalEmails: string;
955
1060
  alsoPurchasedProducts: ProductDto[] | null;
956
1061
  approverReason: string;
957
- billTo?: BillToModel | null;
1062
+ billTo?: BillToModel$1 | null;
958
1063
  canBypassCheckoutAddress: boolean;
959
1064
  canCheckOut: boolean;
960
1065
  canEditCostCode: boolean;
@@ -973,7 +1078,7 @@ interface CartModel extends BaseModel$1 {
973
1078
  currencySymbol: string;
974
1079
  customerOrderTaxes: CustomerOrderTaxDto[] | null;
975
1080
  customerVatNumber: string;
976
- defaultWarehouse: WarehouseModel | null;
1081
+ defaultWarehouse: WarehouseModel$1 | null;
977
1082
  displayContinueShoppingLink: boolean;
978
1083
  erpOrderNumber: string;
979
1084
  failedToGetRealTimeInventory: boolean;
@@ -1010,7 +1115,7 @@ interface CartModel extends BaseModel$1 {
1010
1115
  requiresApproval: boolean;
1011
1116
  requiresPoNumber: boolean;
1012
1117
  salespersonName: string;
1013
- shipTo?: ShipToModel | null;
1118
+ shipTo?: ShipToModel$1 | null;
1014
1119
  shipToLabel: string;
1015
1120
  shipVia: ShipViaDto | null;
1016
1121
  shippingAndHandling: number;
@@ -1254,7 +1359,7 @@ interface ProductModel extends BaseModel$1 {
1254
1359
  urlSegment: string;
1255
1360
  variantTraits?: VariantTraitModel[];
1256
1361
  variantTypeId: string | null;
1257
- warehouses?: WarehouseModel[];
1362
+ warehouses?: WarehouseModel$1[];
1258
1363
  }
1259
1364
  interface AutocompleteItemModel extends BaseModel$1 {
1260
1365
  displaySubtitle: JSX.Element;
@@ -1537,18 +1642,18 @@ interface WarehouseCollectionModel extends BaseModel$1 {
1537
1642
  defaultRadius: number;
1538
1643
  distanceUnitOfMeasure: string;
1539
1644
  pagination: PaginationModel$1 | null;
1540
- warehouses: WarehouseModel[] | null;
1645
+ warehouses: WarehouseModel$1[] | null;
1541
1646
  }
1542
1647
  interface BreadCrumbModel {
1543
1648
  categoryId: string;
1544
1649
  text: string;
1545
1650
  url: string;
1546
1651
  }
1547
- interface WarehouseModel extends BaseModel$1 {
1652
+ interface WarehouseModel$1 extends BaseModel$1 {
1548
1653
  address1: string;
1549
1654
  address2: string;
1550
1655
  allowPickup: boolean;
1551
- alternateWarehouses: WarehouseModel[] | null;
1656
+ alternateWarehouses: WarehouseModel$1[] | null;
1552
1657
  city: string;
1553
1658
  contactName: string;
1554
1659
  countryId: string | null;
@@ -1567,7 +1672,7 @@ interface WarehouseModel extends BaseModel$1 {
1567
1672
  shipSite: string;
1568
1673
  state: string;
1569
1674
  }
1570
- interface WarehouseModel {
1675
+ interface WarehouseModel$1 {
1571
1676
  description: string;
1572
1677
  id: string;
1573
1678
  name: string;
@@ -1833,7 +1938,7 @@ interface BaseAddressModel extends BaseModel$1 {
1833
1938
  city: string;
1834
1939
  companyName: string;
1835
1940
  contactFullName: string;
1836
- country: CountryModel | null;
1941
+ country: CountryModel$1 | null;
1837
1942
  customerName: string;
1838
1943
  customerNumber: string;
1839
1944
  customerSequence: string;
@@ -1845,10 +1950,10 @@ interface BaseAddressModel extends BaseModel$1 {
1845
1950
  lastName: string;
1846
1951
  phone: string;
1847
1952
  postalCode: string;
1848
- state: StateModel | null;
1953
+ state: StateModel$1 | null;
1849
1954
  }
1850
1955
  interface BillToCollectionModel extends BaseModel$1 {
1851
- billTos: BillToModel[] | null;
1956
+ billTos: BillToModel$1[] | null;
1852
1957
  pagination: PaginationModel$1 | null;
1853
1958
  }
1854
1959
  interface CustomerSettingsModel extends BaseModel$1 {
@@ -1869,7 +1974,7 @@ interface CustomerSettingsModel extends BaseModel$1 {
1869
1974
  }
1870
1975
  interface ShipToCollectionModel extends BaseModel$1 {
1871
1976
  pagination: PaginationModel$1 | null;
1872
- shipTos: ShipToModel[] | null;
1977
+ shipTos: ShipToModel$1[] | null;
1873
1978
  }
1874
1979
  interface DashboardPanelCollectionModel extends BaseModel$1 {
1875
1980
  dashboardPanels: DashboardPanelModel[] | null;
@@ -2103,7 +2208,7 @@ interface JobQuoteModel extends BaseModel$1 {
2103
2208
  additionalEmails: string;
2104
2209
  alsoPurchasedProducts: ProductDto[] | null;
2105
2210
  approverReason: string;
2106
- billTo?: BillToModel | null;
2211
+ billTo?: BillToModel$1 | null;
2107
2212
  canBypassCheckoutAddress: boolean;
2108
2213
  canCheckOut: boolean;
2109
2214
  canEditCostCode: boolean;
@@ -2123,7 +2228,7 @@ interface JobQuoteModel extends BaseModel$1 {
2123
2228
  customerName: string;
2124
2229
  customerOrderTaxes: CustomerOrderTaxDto[] | null;
2125
2230
  customerVatNumber: string;
2126
- defaultWarehouse: WarehouseModel | null;
2231
+ defaultWarehouse: WarehouseModel$1 | null;
2127
2232
  displayContinueShoppingLink: boolean;
2128
2233
  erpOrderNumber: string;
2129
2234
  expirationDate: Date;
@@ -2167,7 +2272,7 @@ interface JobQuoteModel extends BaseModel$1 {
2167
2272
  requiresApproval: boolean;
2168
2273
  requiresPoNumber: boolean;
2169
2274
  salespersonName: string;
2170
- shipTo?: ShipToModel | null;
2275
+ shipTo?: ShipToModel$1 | null;
2171
2276
  shipToFullAddress: string;
2172
2277
  shipToLabel: string;
2173
2278
  shipVia: ShipViaDto | null;
@@ -2723,7 +2828,7 @@ interface QuoteModel extends BaseModel$1 {
2723
2828
  additionalEmails: string;
2724
2829
  alsoPurchasedProducts: ProductDto[] | null;
2725
2830
  approverReason: string;
2726
- billTo?: BillToModel | null;
2831
+ billTo?: BillToModel$1 | null;
2727
2832
  calculationMethods: CalculationMethod[] | null;
2728
2833
  canBypassCheckoutAddress: boolean;
2729
2834
  canCheckOut: boolean;
@@ -2745,7 +2850,7 @@ interface QuoteModel extends BaseModel$1 {
2745
2850
  customerNumber: string;
2746
2851
  customerOrderTaxes: CustomerOrderTaxDto[] | null;
2747
2852
  customerVatNumber: string;
2748
- defaultWarehouse: WarehouseModel | null;
2853
+ defaultWarehouse: WarehouseModel$1 | null;
2749
2854
  displayContinueShoppingLink: boolean;
2750
2855
  erpOrderNumber: string;
2751
2856
  expirationDate: Date | null;
@@ -2790,7 +2895,7 @@ interface QuoteModel extends BaseModel$1 {
2790
2895
  requiresApproval: boolean;
2791
2896
  requiresPoNumber: boolean;
2792
2897
  salespersonName: string;
2793
- shipTo?: ShipToModel | null;
2898
+ shipTo?: ShipToModel$1 | null;
2794
2899
  shipToFullAddress: string;
2795
2900
  shipToLabel: string;
2796
2901
  shipVia: ShipViaDto | null;
@@ -2859,13 +2964,13 @@ interface SiteMessageCollectionModel extends BaseModel$1 {
2859
2964
  siteMessages: SiteMessageModel[] | null;
2860
2965
  }
2861
2966
  interface CountryCollectionModel extends BaseModel$1 {
2862
- countries: CountryModel[] | null;
2967
+ countries: CountryModel$1[] | null;
2863
2968
  }
2864
2969
  interface CurrencyCollectionModel extends BaseModel$1 {
2865
- currencies: CurrencyModel[] | null;
2970
+ currencies: CurrencyModel$1[] | null;
2866
2971
  }
2867
2972
  interface LanguageCollectionModel extends BaseModel$1 {
2868
- languages: LanguageModel[] | null;
2973
+ languages: LanguageModel$1[] | null;
2869
2974
  }
2870
2975
  interface SettingsCollectionModel extends BaseModel$1 {
2871
2976
  settingsCollection: {
@@ -2873,7 +2978,7 @@ interface SettingsCollectionModel extends BaseModel$1 {
2873
2978
  } | null;
2874
2979
  }
2875
2980
  interface StateCollectionModel extends BaseModel$1 {
2876
- states: StateModel[] | null;
2981
+ states: StateModel$1[] | null;
2877
2982
  }
2878
2983
  interface TranslationDictionaryCollectionModel extends BaseModel$1 {
2879
2984
  pagination: PaginationModel$1 | null;
@@ -2946,7 +3051,7 @@ interface SiteMessageModel {
2946
3051
  message: string;
2947
3052
  name: string;
2948
3053
  }
2949
- interface WishListCollectionModel extends BaseModel$1 {
3054
+ interface WishListCollectionModel$1 extends BaseModel$1 {
2950
3055
  pagination: PaginationModel$1 | null;
2951
3056
  wishListCollection: WishListModel$1[] | null;
2952
3057
  }
@@ -2967,7 +3072,7 @@ interface UpdateWishListLineCollectionModel extends BaseModel$1 {
2967
3072
  includeListLines: boolean;
2968
3073
  wishListId: string;
2969
3074
  }
2970
- interface WishListLineCollectionModel extends BaseModel$1 {
3075
+ interface WishListLineCollectionModel$1 extends BaseModel$1 {
2971
3076
  changedListLineQuantities: {
2972
3077
  [key: string]: number;
2973
3078
  } | null;
@@ -3074,6 +3179,245 @@ interface VmiUserImportCollectionModel extends BaseModel$1 {
3074
3179
  vmiUsers: VmiUserImportModel[] | null;
3075
3180
  }
3076
3181
 
3182
+ /* eslint-disable import/export */
3183
+ /* eslint-disable @typescript-eslint/no-explicit-any */
3184
+ // this file is auto generated and should not be modified by hand
3185
+ interface BaseModel {
3186
+ properties: { [key: string]: string }
3187
+ uri: string
3188
+ }
3189
+
3190
+ interface PaginationModel {
3191
+ currentPage: number
3192
+ defaultPageSize: number
3193
+ nextPageUri: string
3194
+ numberOfPages: number
3195
+ page: number
3196
+ pageSize: number
3197
+ pageSizeOptions: number[]
3198
+ prevPageUri: string
3199
+ sortOptions: SortOptionModel[]
3200
+ sortType: string
3201
+ totalItemCount: number
3202
+ }
3203
+
3204
+ interface SortOptionModel {
3205
+ displayName: string
3206
+ sortType: string
3207
+ }
3208
+
3209
+ interface PersonaModel extends BaseModel {
3210
+ description: string
3211
+ id: string
3212
+ isDefault: boolean
3213
+ name: string
3214
+ }
3215
+
3216
+ interface SessionModel extends BaseModel {
3217
+ activateAccount: boolean
3218
+ billTo: BillToModel | null
3219
+ cartReminderUnsubscribeEmail: string
3220
+ cartReminderUnsubscribeToken: string
3221
+ currency: CurrencyModel | null
3222
+ customLandingPage: string
3223
+ customerWasUpdated: boolean
3224
+ dashboardIsHomepage: boolean | null
3225
+ deviceType: string
3226
+ displayChangeCustomerLink: boolean
3227
+ displayMyAccountMenu: boolean
3228
+ displayPricingAndInventory: boolean
3229
+ email: string
3230
+ firstName: string
3231
+ fulfillmentMethod: string
3232
+ hasDefaultCustomer: boolean
3233
+ hasRfqUpdates: boolean | null
3234
+ isAuthenticated: boolean
3235
+ isGuest: boolean
3236
+ isRestrictedProductExistInCart: boolean
3237
+ isRestrictedProductRemovedFromCart: boolean
3238
+ isSalesPerson: boolean
3239
+ language: LanguageModel | null
3240
+ lastName: string
3241
+ newPassword: string
3242
+ password: string
3243
+ persona: string
3244
+ personas: PersonaModel[] | null
3245
+ pickUpWarehouse: WarehouseModel | null
3246
+ redirectToChangeCustomerPageOnSignIn: boolean
3247
+ rememberMe: boolean
3248
+ resetPassword: boolean
3249
+ resetToken: string
3250
+ shipTo: ShipToModel | null
3251
+ userLabel: string
3252
+ userName: string
3253
+ userProfileId: string | null
3254
+ userRoles: string
3255
+ userRolesTranslated: string
3256
+ }
3257
+
3258
+ interface ShipToModel extends BaseModel {
3259
+ address1: string
3260
+ address2: string
3261
+ address3: string
3262
+ address4: string
3263
+ attention: string
3264
+ city: string
3265
+ companyName: string
3266
+ contactFullName: string
3267
+ country: CountryModel | null
3268
+ customerName: string
3269
+ customerNumber: string
3270
+ customerSequence: string
3271
+ email: string
3272
+ fax: string
3273
+ firstName: string
3274
+ fullAddress: string
3275
+ id: string
3276
+ isDefault: boolean
3277
+ isNew: boolean
3278
+ isVmiLocation: boolean
3279
+ label: string
3280
+ lastName: string
3281
+ oneTimeAddress: boolean
3282
+ phone: string
3283
+ postalCode: string
3284
+ state: StateModel | null
3285
+ validation: CustomerValidationDto | null
3286
+ }
3287
+
3288
+ interface CustomerValidationDto {
3289
+ address1: FieldValidationDto | null
3290
+ address2: FieldValidationDto | null
3291
+ address3: FieldValidationDto | null
3292
+ address4: FieldValidationDto | null
3293
+ attention: FieldValidationDto | null
3294
+ city: FieldValidationDto | null
3295
+ companyName: FieldValidationDto | null
3296
+ country: FieldValidationDto | null
3297
+ email: FieldValidationDto | null
3298
+ fax: FieldValidationDto | null
3299
+ firstName: FieldValidationDto | null
3300
+ lastName: FieldValidationDto | null
3301
+ phone: FieldValidationDto | null
3302
+ postalCode: FieldValidationDto | null
3303
+ state: FieldValidationDto | null
3304
+ }
3305
+
3306
+ interface FieldValidationDto {
3307
+ isDisabled: boolean
3308
+ isRequired: boolean
3309
+ maxLength: number | null
3310
+ }
3311
+
3312
+ interface StateModel extends BaseModel {
3313
+ abbreviation: string
3314
+ id: string
3315
+ name: string
3316
+ }
3317
+
3318
+ interface CountryModel extends BaseModel {
3319
+ abbreviation: string
3320
+ id: string
3321
+ name: string
3322
+ states: StateModel[] | null
3323
+ }
3324
+
3325
+ declare enum CurrencyPositioningType {
3326
+ Left = 'Left',
3327
+ Right = 'Right',
3328
+ }
3329
+
3330
+ interface LanguageModel extends BaseModel {
3331
+ cultureCode: string
3332
+ currencyPositioning: CurrencyPositioningType
3333
+ description: string
3334
+ id: string
3335
+ imageFilePath: string
3336
+ isDefault: boolean
3337
+ isLive: boolean
3338
+ languageCode: string
3339
+ }
3340
+
3341
+ interface CurrencyModel extends BaseModel {
3342
+ currencyCode: string
3343
+ currencySymbol: string
3344
+ description: string
3345
+ id: string
3346
+ isDefault: boolean
3347
+ }
3348
+
3349
+ interface BillToModel extends BaseModel {
3350
+ accountsReceivable?: AccountsReceivableDto | null
3351
+ address1: string
3352
+ address2: string
3353
+ address3: string
3354
+ address4: string
3355
+ attention: string
3356
+ budgetEnforcementLevel: string
3357
+ city: string
3358
+ companyName: string
3359
+ contactFullName: string
3360
+ costCodeTitle: string
3361
+ costCodes?: CostCodeModel[] | null
3362
+ country: CountryModel | null
3363
+ customerCurrencySymbol: string
3364
+ customerName: string
3365
+ customerNumber: string
3366
+ customerSequence: string
3367
+ email: string
3368
+ fax: string
3369
+ firstName: string
3370
+ fullAddress: string
3371
+ id: string
3372
+ isDefault: boolean
3373
+ isGuest: boolean
3374
+ label: string
3375
+ lastName: string
3376
+ phone: string
3377
+ postalCode: string
3378
+ shipTos?: ShipToModel[] | null
3379
+ shipTosUri: string
3380
+ state: StateModel | null
3381
+ validation?: CustomerValidationDto | null
3382
+ }
3383
+
3384
+ interface CostCodeModel {
3385
+ costCode: string
3386
+ description: string
3387
+ id: string
3388
+ isActive: boolean | null
3389
+ }
3390
+
3391
+ interface AccountsReceivableDto {
3392
+ agingBucketFuture: AgingBucketDto | null
3393
+ agingBucketTotal: AgingBucketDto | null
3394
+ agingBuckets: AgingBucketDto[] | null
3395
+ }
3396
+
3397
+ interface AgingBucketDto {
3398
+ amount: number
3399
+ amountDisplay: string
3400
+ label: string
3401
+ }
3402
+
3403
+ declare enum AvailabilityMessageType$1 {
3404
+ NoMessage = 0,
3405
+ Available = 1,
3406
+ OutOfStock = 2,
3407
+ LowStock = 3,
3408
+ }
3409
+
3410
+ interface ProductUnitOfMeasureDto {
3411
+ availability: AvailabilityDto$1 | null
3412
+ description: string
3413
+ isDefault: boolean
3414
+ productUnitOfMeasureId: string
3415
+ qtyPerBaseUnitOfMeasure: number
3416
+ roundingRule: string
3417
+ unitOfMeasure: string
3418
+ unitOfMeasureDisplay: string
3419
+ }
3420
+
3077
3421
  interface ProductSubscriptionDto$1 {
3078
3422
  subscriptionAddToInitialOrder: boolean
3079
3423
  subscriptionAllMonths: boolean
@@ -3096,44 +3440,6 @@ interface ProductSubscriptionDto$1 {
3096
3440
  subscriptionTotalCycles: number
3097
3441
  }
3098
3442
 
3099
- interface SectionOptionDto$1 {
3100
- optionName: string
3101
- sectionName: string
3102
- sectionOptionId: string
3103
- }
3104
-
3105
- declare enum AvailabilityMessageType$1 {
3106
- NoMessage = 0,
3107
- Available = 1,
3108
- OutOfStock = 2,
3109
- LowStock = 3,
3110
- }
3111
-
3112
- interface AvailabilityDto$1 {
3113
- message: string
3114
- messageType: AvailabilityMessageType$1 | null
3115
- requiresRealTimeInventory: boolean
3116
- }
3117
-
3118
- interface BrandDto$1 {
3119
- detailPagePath: string
3120
- id: string
3121
- logoImageAltText: string
3122
- logoLargeImagePath: string
3123
- logoSmallImagePath: string
3124
- name: string
3125
- urlSegment: string
3126
- }
3127
-
3128
- interface BreakPriceDto$1 {
3129
- breakPrice: number
3130
- breakPriceDisplay: string
3131
- breakPriceWithVat: number
3132
- breakPriceWithVatDisplay: string
3133
- breakQty: number
3134
- savingsMessage: string
3135
- }
3136
-
3137
3443
  interface ProductPriceDto$1 {
3138
3444
  actualBreakPrices: BreakPriceDto$1[] | null
3139
3445
  actualPrice: number
@@ -3180,7 +3486,32 @@ interface ProductPriceDto$1 {
3180
3486
  vatRate: number
3181
3487
  }
3182
3488
 
3183
- interface CartLineModel$1 {
3489
+ interface BreakPriceDto$1 {
3490
+ breakPrice: number
3491
+ breakPriceDisplay: string
3492
+ breakPriceWithVat: number
3493
+ breakPriceWithVatDisplay: string
3494
+ breakQty: number
3495
+ savingsMessage: string
3496
+ }
3497
+
3498
+ interface BrandDto$1 {
3499
+ detailPagePath: string
3500
+ id: string
3501
+ logoImageAltText: string
3502
+ logoLargeImagePath: string
3503
+ logoSmallImagePath: string
3504
+ name: string
3505
+ urlSegment: string
3506
+ }
3507
+
3508
+ interface AvailabilityDto$1 {
3509
+ message: string
3510
+ messageType: AvailabilityMessageType$1 | null
3511
+ requiresRealTimeInventory: boolean
3512
+ }
3513
+
3514
+ interface CartLineModel$1 extends BaseModel {
3184
3515
  allowZeroPricing: boolean
3185
3516
  altText: string
3186
3517
  availability: AvailabilityDto$1 | null
@@ -3215,7 +3546,6 @@ interface CartLineModel$1 {
3215
3546
  productName: string
3216
3547
  productSubscription: ProductSubscriptionDto$1 | null
3217
3548
  productUri: string
3218
- properties: { [key: string]: string }
3219
3549
  qtyLeft: number
3220
3550
  qtyOnHand: number
3221
3551
  qtyOrdered: number | null
@@ -3230,102 +3560,178 @@ interface CartLineModel$1 {
3230
3560
  unitOfMeasure: string
3231
3561
  unitOfMeasureDescription: string
3232
3562
  unitOfMeasureDisplay: string
3233
- uri: string
3234
3563
  vmiBinId?: string | null
3235
3564
  }
3236
3565
 
3237
- interface AddProductToCurrentCartParams {
3238
- productId: string;
3239
- qtyOrdered: number;
3240
- unitOfMeasure: string;
3566
+ interface WarehouseModel extends BaseModel {
3567
+ address1: string
3568
+ address2: string
3569
+ allowPickup: boolean
3570
+ alternateWarehouses: WarehouseModel[] | null
3571
+ city: string
3572
+ contactName: string
3573
+ countryId: string | null
3574
+ deactivateOn: Date | null
3575
+ description: string
3576
+ distance: number
3577
+ hours: string
3578
+ id: string
3579
+ isDefault: boolean
3580
+ latitude: number
3581
+ longitude: number
3582
+ name: string
3583
+ phone: string
3584
+ pickupShipViaId: string | null
3585
+ postalCode: string
3586
+ shipSite: string
3587
+ state: string
3241
3588
  }
3242
- declare function useAddProductToCurrentCart(): _tanstack_react_query.UseMutationResult<CartLineModel$1, Error, AddProductToCurrentCartParams, unknown>;
3243
-
3244
- declare function useDeleteCartLineById(): _tanstack_react_query.UseMutationResult<void, Error, string, unknown>;
3245
3589
 
3246
- declare function useFetchCurrentCartLines(): _tanstack_react_query.UseQueryResult<CartLineModel$1[] | null, Error>;
3247
-
3248
- interface UpdateCartLineParams {
3249
- cartLine: CartLineModel$1;
3250
- cartLineId: string;
3590
+ interface WarehouseModel {
3591
+ description: string
3592
+ id: string
3593
+ name: string
3594
+ qtyAvailable: number
3251
3595
  }
3252
- declare function useUpdateCartLineById(): _tanstack_react_query.UseMutationResult<void, Error, UpdateCartLineParams, unknown>;
3253
-
3254
- /* eslint-disable sort-keys-fix/sort-keys-fix */
3255
- declare const breakpoints = {
3256
- sm: 0,
3257
- md: 576,
3258
- lg: 768,
3259
- xl: 1024,
3260
- xxl: 1440,
3261
- } as const
3262
- /* eslint-enable sort-keys-fix/sort-keys-fix */
3263
3596
 
3264
- type Breakpoint = keyof typeof breakpoints
3597
+ interface SectionOptionDto$1 {
3598
+ optionName: string
3599
+ sectionName: string
3600
+ sectionOptionId: string
3601
+ }
3265
3602
 
3266
- interface BreakpointsReturnType extends Record<Breakpoint, boolean> {
3267
- current: Breakpoint
3603
+ interface SectionOptionDto$1 {
3604
+ optionName: string
3605
+ sectionName: string
3606
+ sectionOptionId: string
3268
3607
  }
3269
3608
 
3270
- declare const useBreakpoint: () => BreakpointsReturnType;
3609
+ interface WishListCollectionModel extends BaseModel {
3610
+ pagination: PaginationModel | null
3611
+ wishListCollection: WishListModel[] | null
3612
+ }
3271
3613
 
3272
- declare function useDebouncedCallback<T extends (...args: any[]) => any>(func: T, delay: number): (...args: Parameters<T>) => void;
3614
+ interface WishListEmailScheduleModel extends BaseModel {
3615
+ endDate: Date | null
3616
+ lastDateSent: Date | null
3617
+ message: string
3618
+ repeatInterval: number
3619
+ repeatPeriod: string
3620
+ sendDayOfMonth: number
3621
+ sendDayOfWeek: string
3622
+ startDate: Date
3623
+ }
3273
3624
 
3274
- interface UseDisclosureReturnType {
3275
- close: () => void;
3276
- isClosed: boolean;
3277
- isOpen: boolean;
3278
- open: () => void;
3279
- toggle: () => void;
3625
+ interface WishListLineCollectionModel extends BaseModel {
3626
+ changedListLineQuantities: { [key: string]: number } | null
3627
+ pagination: PaginationModel | null
3628
+ wishListLines: WishListLineModel[] | null
3280
3629
  }
3281
- declare const useDisclosure: (initialState?: boolean) => UseDisclosureReturnType;
3282
3630
 
3283
- declare const useScrollLock: (lock: boolean) => void;
3284
-
3285
- /* eslint-disable import/export */
3286
- /* eslint-disable @typescript-eslint/no-explicit-any */
3287
- // this file is auto generated and should not be modified by hand
3288
- interface BaseModel {
3289
- properties: { [key: string]: string }
3290
- uri: string
3631
+ interface WishListShareModel extends BaseModel {
3632
+ displayName: string
3633
+ id: string
3291
3634
  }
3292
3635
 
3293
- interface PaginationModel {
3294
- currentPage: number
3295
- defaultPageSize: number
3296
- nextPageUri: string
3297
- numberOfPages: number
3298
- page: number
3299
- pageSize: number
3300
- pageSizeOptions: number[]
3301
- prevPageUri: string
3302
- sortOptions: SortOptionModel[]
3303
- sortType: string
3304
- totalItemCount: number
3636
+ interface WishListLineModel extends BaseModel {
3637
+ allowZeroPricing: boolean
3638
+ altText: string
3639
+ availability: AvailabilityDto$1 | null
3640
+ baseUnitOfMeasure: string
3641
+ baseUnitOfMeasureDisplay: string
3642
+ brand: BrandDto$1 | null
3643
+ breakPrices: BreakPriceDto$1[] | null
3644
+ canAddToCart: boolean
3645
+ canBackOrder: boolean
3646
+ canEnterQuantity: boolean
3647
+ canShowPrice: boolean
3648
+ canShowUnitOfMeasure: boolean
3649
+ createdByDisplayName: string
3650
+ createdOn: Date
3651
+ customerName: string
3652
+ erpNumber: string
3653
+ id: string
3654
+ isActive: boolean
3655
+ isDiscontinued: boolean
3656
+ isQtyAdjusted: boolean
3657
+ isSharedLine: boolean
3658
+ isVisible: boolean
3659
+ manufacturerItem: string
3660
+ notes: string
3661
+ packDescription: string
3662
+ pricing: ProductPriceDto$1 | null
3663
+ productId: string
3664
+ productName: string
3665
+ productUnitOfMeasures: ProductUnitOfMeasureDto[] | null
3666
+ productUri: string
3667
+ qtyOnHand: number
3668
+ qtyOrdered: number
3669
+ qtyPerBaseUnitOfMeasure: number
3670
+ quoteRequired: boolean
3671
+ selectedUnitOfMeasure: string
3672
+ shortDescription: string
3673
+ smallImagePath: string
3674
+ sortOrder: number
3675
+ trackInventory: boolean
3676
+ unitOfMeasure: string
3677
+ unitOfMeasureDescription: string
3678
+ unitOfMeasureDisplay: string
3305
3679
  }
3306
3680
 
3307
- interface SortOptionModel {
3308
- displayName: string
3309
- sortType: string
3681
+ interface WishListModel extends BaseModel {
3682
+ allowEdit: boolean
3683
+ canAddAllToCart: boolean
3684
+ canAddToCart: boolean
3685
+ description: string
3686
+ hasAnyLines: boolean
3687
+ id: string
3688
+ isAutogenerated: boolean
3689
+ isGlobal: boolean
3690
+ isSharedList: boolean
3691
+ message: string
3692
+ name: string
3693
+ pagination: PaginationModel | null
3694
+ recipientEmailAddress: string
3695
+ schedule: WishListEmailScheduleModel | null
3696
+ sendDayOfMonthPossibleValues: { key: number; value: string }[] | null
3697
+ sendDayOfWeekPossibleValues: { key: string; value: string }[] | null
3698
+ sendEmail: boolean
3699
+ senderName: string
3700
+ shareOption: string
3701
+ sharedByDisplayName: string
3702
+ sharedUsers: WishListShareModel[] | null
3703
+ updatedByDisplayName: string
3704
+ updatedOn: Date
3705
+ wishListLineCollection: WishListLineModel[] | null
3706
+ wishListLinesCount: number
3707
+ wishListLinesUri: string
3708
+ wishListSharesCount: number
3310
3709
  }
3311
3710
 
3312
- declare enum AvailabilityMessageType {
3313
- NoMessage = 0,
3314
- Available = 1,
3315
- OutOfStock = 2,
3316
- LowStock = 3,
3711
+ declare function getSession(): Promise<SessionModel>;
3712
+ interface AuthenticationResponse$1 {
3713
+ access_token: string;
3714
+ error_description: string;
3715
+ expires_in: number;
3716
+ refresh_token: string;
3317
3717
  }
3318
-
3319
- interface ProductUnitOfMeasureDto {
3320
- availability: AvailabilityDto | null
3321
- description: string
3322
- isDefault: boolean
3323
- productUnitOfMeasureId: string
3324
- qtyPerBaseUnitOfMeasure: number
3325
- roundingRule: string
3326
- unitOfMeasure: string
3327
- unitOfMeasureDisplay: string
3718
+ declare function signIn({ password, userName, }: {
3719
+ password: string;
3720
+ userName: string;
3721
+ }): Promise<AuthenticationResponse$1>;
3722
+ interface CreateSessionRequestBody {
3723
+ isGuest?: boolean | undefined;
3724
+ password?: string | undefined;
3725
+ rememberMe?: boolean | undefined;
3726
+ returnUrl?: string | undefined;
3727
+ userName: string;
3328
3728
  }
3729
+ declare function createSession({ accessToken, password, userName, }: {
3730
+ accessToken: string;
3731
+ password: string;
3732
+ userName: string;
3733
+ }): Promise<void>;
3734
+ declare function signOut(): Promise<void>;
3329
3735
 
3330
3736
  interface ProductSubscriptionDto {
3331
3737
  subscriptionAddToInitialOrder: boolean
@@ -3349,6 +3755,44 @@ interface ProductSubscriptionDto {
3349
3755
  subscriptionTotalCycles: number
3350
3756
  }
3351
3757
 
3758
+ interface SectionOptionDto {
3759
+ optionName: string
3760
+ sectionName: string
3761
+ sectionOptionId: string
3762
+ }
3763
+
3764
+ declare enum AvailabilityMessageType {
3765
+ NoMessage = 0,
3766
+ Available = 1,
3767
+ OutOfStock = 2,
3768
+ LowStock = 3,
3769
+ }
3770
+
3771
+ interface AvailabilityDto {
3772
+ message: string
3773
+ messageType: AvailabilityMessageType | null
3774
+ requiresRealTimeInventory: boolean
3775
+ }
3776
+
3777
+ interface BrandDto {
3778
+ detailPagePath: string
3779
+ id: string
3780
+ logoImageAltText: string
3781
+ logoLargeImagePath: string
3782
+ logoSmallImagePath: string
3783
+ name: string
3784
+ urlSegment: string
3785
+ }
3786
+
3787
+ interface BreakPriceDto {
3788
+ breakPrice: number
3789
+ breakPriceDisplay: string
3790
+ breakPriceWithVat: number
3791
+ breakPriceWithVatDisplay: string
3792
+ breakQty: number
3793
+ savingsMessage: string
3794
+ }
3795
+
3352
3796
  interface ProductPriceDto {
3353
3797
  actualBreakPrices: BreakPriceDto[] | null
3354
3798
  actualPrice: number
@@ -3395,32 +3839,7 @@ interface ProductPriceDto {
3395
3839
  vatRate: number
3396
3840
  }
3397
3841
 
3398
- interface BreakPriceDto {
3399
- breakPrice: number
3400
- breakPriceDisplay: string
3401
- breakPriceWithVat: number
3402
- breakPriceWithVatDisplay: string
3403
- breakQty: number
3404
- savingsMessage: string
3405
- }
3406
-
3407
- interface BrandDto {
3408
- detailPagePath: string
3409
- id: string
3410
- logoImageAltText: string
3411
- logoLargeImagePath: string
3412
- logoSmallImagePath: string
3413
- name: string
3414
- urlSegment: string
3415
- }
3416
-
3417
- interface AvailabilityDto {
3418
- message: string
3419
- messageType: AvailabilityMessageType | null
3420
- requiresRealTimeInventory: boolean
3421
- }
3422
-
3423
- interface CartLineModel extends BaseModel {
3842
+ interface CartLineModel {
3424
3843
  allowZeroPricing: boolean
3425
3844
  altText: string
3426
3845
  availability: AvailabilityDto | null
@@ -3455,6 +3874,7 @@ interface CartLineModel extends BaseModel {
3455
3874
  productName: string
3456
3875
  productSubscription: ProductSubscriptionDto | null
3457
3876
  productUri: string
3877
+ properties: { [key: string]: string }
3458
3878
  qtyLeft: number
3459
3879
  qtyOnHand: number
3460
3880
  qtyOrdered: number | null
@@ -3469,117 +3889,238 @@ interface CartLineModel extends BaseModel {
3469
3889
  unitOfMeasure: string
3470
3890
  unitOfMeasureDescription: string
3471
3891
  unitOfMeasureDisplay: string
3892
+ uri: string
3472
3893
  vmiBinId?: string | null
3473
3894
  }
3474
3895
 
3475
- interface SectionOptionDto {
3476
- optionName: string
3477
- sectionName: string
3478
- sectionOptionId: string
3896
+ declare function fetchCurrentCartLines(): Promise<CartLineModel[] | null>;
3897
+ declare function updateCartLineById({ cartLine, cartLineId, }: {
3898
+ cartLine: CartLineModel;
3899
+ cartLineId: string;
3900
+ }): Promise<void>;
3901
+ declare function deleteCartLineById({ cartLineId, }: {
3902
+ cartLineId: string;
3903
+ }): Promise<void>;
3904
+ interface AddProductToCurrentCartParams$1 {
3905
+ productId: string;
3906
+ qtyOrdered: number;
3907
+ unitOfMeasure: string;
3479
3908
  }
3480
-
3481
- interface SectionOptionDto {
3482
- optionName: string
3483
- sectionName: string
3484
- sectionOptionId: string
3909
+ declare function addProductToCurrentCart(productOrderData: AddProductToCurrentCartParams$1): Promise<CartLineModel$1>;
3910
+
3911
+ type TranslationId$1 =
3912
+ | "'{0}' in all products"
3913
+ | ' to your account to manage your lists.'
3914
+ | 'Add to list'
3915
+ | 'An unexpected error occured'
3916
+ | 'Cancel'
3917
+ | 'Create new list'
3918
+ | 'Chosen filters'
3919
+ | 'Clear filters'
3920
+ | 'Clear'
3921
+ | 'Double check your spelling'
3922
+ | 'Excl. VAT'
3923
+ | 'Explore by categories'
3924
+ | 'Exploring our products by category'
3925
+ | 'Hide filters'
3926
+ | 'Incl. VAT'
3927
+ | 'List name already exists'
3928
+ | 'New list name'
3929
+ | 'Please Sign In'
3930
+ | 'Popular searches'
3931
+ | 'Products'
3932
+ | 'Quick access'
3933
+ | 'Recent searches'
3934
+ | 'Searching again using more general terms'
3935
+ | 'See all results'
3936
+ | 'Select a list'
3937
+ | 'Show all'
3938
+ | 'Show filters'
3939
+ | 'Show less'
3940
+ | 'Show'
3941
+ | 'Sorry, we could not find matches for'
3942
+ | 'Sort by'
3943
+ | 'Submit'
3944
+ | 'Suggestions'
3945
+ | 'Use fewer keywords'
3946
+ | 'You could try'
3947
+ | 'You must '
3948
+ | 'article'
3949
+ | 'articles'
3950
+ | 'facet.categories'
3951
+ | 'facet.height'
3952
+ | 'facet.weight'
3953
+ | 'of'
3954
+ | 'sign in'
3955
+ | 'sort.newest'
3956
+ | 'sort.price_asc'
3957
+ | 'sort.price_desc'
3958
+ | 'sort.relevance'
3959
+ | 'tag.limited'
3960
+ | 'tag.new'
3961
+ | 'Search tools, toolsets, boxes and more'
3962
+ | 'You could try exploring our products by category'
3963
+ | "Try 'Search' and try to find the product you're looking for"
3964
+ | 'Sorry, there are no products found'
3965
+ | 'Continue shopping'
3966
+ | "Unfortnately, We found no articles for your search '{0}'"
3967
+ | 'You could try checking the spelling of your search query'
3968
+ | 'Try another search'
3969
+ | 'Are you looking for information about our service? Please visit our customer support page'
3970
+
3971
+ type Translations$1 = Record<TranslationId$1, string>
3972
+
3973
+ declare function fetchTranslations(): Promise<Translations$1>;
3974
+
3975
+ declare function createWishList(): Promise<WishListModel>;
3976
+ declare function addWishListItemToWishList({ productId, wishListId, }: {
3977
+ productId: string;
3978
+ wishListId: string;
3979
+ }): Promise<void>;
3980
+ declare function removeWishListItemFromWishList({ wishListId, wishListItemId, }: {
3981
+ wishListId: string;
3982
+ wishListItemId: string;
3983
+ }): Promise<void>;
3984
+ declare class WishListNameAlreadyExistsError extends Error {
3985
+ constructor();
3485
3986
  }
3987
+ declare function addWishList({ name, }: {
3988
+ name: string;
3989
+ }): Promise<WishListModel>;
3990
+ declare function deleteWishListItemFromWishList({ wishListId, wishListItemId, }: {
3991
+ wishListId: string;
3992
+ wishListItemId: string;
3993
+ }): Promise<void>;
3994
+ declare function deleteWishList({ wishListId, }: {
3995
+ wishListId: string;
3996
+ }): Promise<void>;
3997
+ declare function getWishLists(): Promise<WishListCollectionModel>;
3998
+ declare function getWishList({ wishListId, }: {
3999
+ wishListId: string;
4000
+ }): Promise<WishListModel>;
4001
+ declare function getWishListItemsByWishListId({ wishListId, }: {
4002
+ wishListId: string;
4003
+ }): Promise<WishListLineCollectionModel>;
3486
4004
 
3487
- interface WishListEmailScheduleModel extends BaseModel {
3488
- endDate: Date | null
3489
- lastDateSent: Date | null
3490
- message: string
3491
- repeatInterval: number
3492
- repeatPeriod: string
3493
- sendDayOfMonth: number
3494
- sendDayOfWeek: string
3495
- startDate: Date
3496
- }
4005
+ declare function useIsAuthenticated(): boolean | undefined;
3497
4006
 
3498
- interface WishListShareModel extends BaseModel {
3499
- displayName: string
3500
- id: string
4007
+ declare function useSession(): _tanstack_react_query.UseQueryResult<SessionModel, Error>;
4008
+
4009
+ interface AuthenticationResponse {
4010
+ access_token: string
4011
+ error_description: string
4012
+ expires_in: number
4013
+ refresh_token: string
3501
4014
  }
3502
4015
 
3503
- interface WishListLineModel extends BaseModel {
3504
- allowZeroPricing: boolean
3505
- altText: string
3506
- availability: AvailabilityDto | null
3507
- baseUnitOfMeasure: string
3508
- baseUnitOfMeasureDisplay: string
3509
- brand: BrandDto | null
3510
- breakPrices: BreakPriceDto[] | null
3511
- canAddToCart: boolean
3512
- canBackOrder: boolean
3513
- canEnterQuantity: boolean
3514
- canShowPrice: boolean
3515
- canShowUnitOfMeasure: boolean
3516
- createdByDisplayName: string
3517
- createdOn: Date
3518
- customerName: string
3519
- erpNumber: string
3520
- id: string
3521
- isActive: boolean
3522
- isDiscontinued: boolean
3523
- isQtyAdjusted: boolean
3524
- isSharedLine: boolean
3525
- isVisible: boolean
3526
- manufacturerItem: string
3527
- notes: string
3528
- packDescription: string
3529
- pricing: ProductPriceDto | null
4016
+ declare function useSignIn(): _tanstack_react_query.UseMutationResult<AuthenticationResponse, Error, {
4017
+ password: string;
4018
+ userName: string;
4019
+ }, unknown>;
4020
+
4021
+ declare function useSignOut(): _tanstack_react_query.UseMutationResult<void, Error, void, unknown>;
4022
+
4023
+ interface AddProductToCurrentCartParams {
3530
4024
  productId: string
3531
- productName: string
3532
- productUnitOfMeasures: ProductUnitOfMeasureDto[] | null
3533
- productUri: string
3534
- qtyOnHand: number
3535
4025
  qtyOrdered: number
3536
- qtyPerBaseUnitOfMeasure: number
3537
- quoteRequired: boolean
3538
- selectedUnitOfMeasure: string
3539
- shortDescription: string
3540
- smallImagePath: string
3541
- sortOrder: number
3542
- trackInventory: boolean
3543
4026
  unitOfMeasure: string
3544
- unitOfMeasureDescription: string
3545
- unitOfMeasureDisplay: string
3546
4027
  }
3547
4028
 
3548
- interface WishListModel extends BaseModel {
3549
- allowEdit: boolean
3550
- canAddAllToCart: boolean
3551
- canAddToCart: boolean
3552
- description: string
3553
- hasAnyLines: boolean
3554
- id: string
3555
- isAutogenerated: boolean
3556
- isGlobal: boolean
3557
- isSharedList: boolean
3558
- message: string
3559
- name: string
3560
- pagination: PaginationModel | null
3561
- recipientEmailAddress: string
3562
- schedule: WishListEmailScheduleModel | null
3563
- sendDayOfMonthPossibleValues: { key: number; value: string }[] | null
3564
- sendDayOfWeekPossibleValues: { key: string; value: string }[] | null
3565
- sendEmail: boolean
3566
- senderName: string
3567
- shareOption: string
3568
- sharedByDisplayName: string
3569
- sharedUsers: WishListShareModel[] | null
3570
- updatedByDisplayName: string
3571
- updatedOn: Date
3572
- wishListLineCollection: WishListLineModel[] | null
3573
- wishListLinesCount: number
3574
- wishListLinesUri: string
3575
- wishListSharesCount: number
4029
+ declare function useAddProductToCurrentCart(): _tanstack_react_query.UseMutationResult<CartLineModel, Error, AddProductToCurrentCartParams, unknown>;
4030
+
4031
+ declare function useDeleteCartLineById(): _tanstack_react_query.UseMutationResult<void, Error, {
4032
+ cartLineId: string;
4033
+ }, unknown>;
4034
+
4035
+ declare function useFetchCurrentCartLines(): _tanstack_react_query.UseQueryResult<CartLineModel[] | null, Error>;
4036
+
4037
+ interface UpdateCartLineParams {
4038
+ cartLine: CartLineModel;
4039
+ cartLineId: string;
3576
4040
  }
4041
+ declare function useUpdateCartLineById(): _tanstack_react_query.UseMutationResult<void, Error, UpdateCartLineParams, unknown>;
4042
+
4043
+ type TranslationId = "'{0}' in all products" | ' to your account to manage your lists.' | 'Add to list' | 'An unexpected error occured' | 'Cancel' | 'Create new list' | 'Chosen filters' | 'Clear filters' | 'Clear' | 'Double check your spelling' | 'Excl. VAT' | 'Explore by categories' | 'Exploring our products by category' | 'Hide filters' | 'Incl. VAT' | 'List name already exists' | 'New list name' | 'Please Sign In' | 'Popular searches' | 'Products' | 'Quick access' | 'Recent searches' | 'Searching again using more general terms' | 'See all results' | 'Select a list' | 'Show all' | 'Show filters' | 'Show less' | 'Show' | 'Sorry, we could not find matches for' | 'Sort by' | 'Submit' | 'Suggestions' | 'Use fewer keywords' | 'You could try' | 'You must ' | 'article' | 'articles' | 'facet.categories' | 'facet.height' | 'facet.weight' | 'of' | 'sign in' | 'sort.newest' | 'sort.price_asc' | 'sort.price_desc' | 'sort.relevance' | 'tag.limited' | 'tag.new' | 'Search tools, toolsets, boxes and more' | 'You could try exploring our products by category' | "Try 'Search' and try to find the product you're looking for" | 'Sorry, there are no products found' | 'Continue shopping' | "Unfortnately, We found no articles for your search '{0}'" | 'You could try checking the spelling of your search query' | 'Try another search' | 'Are you looking for information about our service? Please visit our customer support page';
4044
+
4045
+ type Translations = Record<TranslationId, string>;
4046
+ type FormatMessageFunction = (id: string, ...replacementValues: readonly string[]) => string | undefined;
4047
+
4048
+ declare function useFetchTranslations(): _tanstack_react_query.UseQueryResult<Translations, Error>;
4049
+
4050
+ declare function useAddWishListItemToCurrentWishList(): _tanstack_react_query.UseMutationResult<void, Error, {
4051
+ productId: string;
4052
+ }, unknown>;
4053
+
4054
+ interface AddWishListItemToWishListParams {
4055
+ productId: string;
4056
+ wishListId: string;
4057
+ }
4058
+ declare function useAddWishListItemToWishList(): _tanstack_react_query.UseMutationResult<void, Error, AddWishListItemToWishListParams, unknown>;
4059
+
4060
+ interface AddWishListParams {
4061
+ name: string;
4062
+ }
4063
+ declare function useAddWishList(): _tanstack_react_query.UseMutationResult<string, Error, AddWishListParams, unknown>;
4064
+
4065
+ declare function useCreateCurrentWishList(): _tanstack_react_query.UseMutationResult<string, Error, void, unknown>;
4066
+
4067
+ interface DeleteWishlistItemFromWishlistParams {
4068
+ wishListId: string;
4069
+ wishListItemId: string;
4070
+ }
4071
+ declare function useDeleteWishListItemFromWishList(): _tanstack_react_query.UseMutationResult<void, Error, DeleteWishlistItemFromWishlistParams, unknown>;
4072
+
4073
+ interface UseFetchAllWishListsItemsArgs {
4074
+ enabled?: boolean;
4075
+ }
4076
+ declare function useFetchAllWishListsItems({ enabled }?: UseFetchAllWishListsItemsArgs): _tanstack_react_query.UseQueryResult<{
4077
+ wishList: WishListModel;
4078
+ wishListItem: WishListLineModel;
4079
+ }[], Error>;
4080
+
4081
+ declare function useFetchWishLists(): _tanstack_react_query.UseQueryResult<WishListCollectionModel, Error>;
4082
+
4083
+ declare function useRemoveWishListItemFromCurrentWishList(): _tanstack_react_query.UseMutationResult<void, Error, {
4084
+ wishListId: string;
4085
+ wishListItemId: string;
4086
+ }, unknown>;
4087
+
4088
+ /* eslint-disable sort-keys-fix/sort-keys-fix */
4089
+ declare const breakpoints = {
4090
+ sm: 0,
4091
+ md: 576,
4092
+ lg: 768,
4093
+ xl: 1024,
4094
+ xxl: 1440,
4095
+ } as const
4096
+ /* eslint-enable sort-keys-fix/sort-keys-fix */
4097
+
4098
+ type Breakpoint = keyof typeof breakpoints
4099
+
4100
+ interface BreakpointsReturnType extends Record<Breakpoint, boolean> {
4101
+ current: Breakpoint
4102
+ }
4103
+
4104
+ declare const useBreakpoint: () => BreakpointsReturnType;
4105
+
4106
+ declare function useDebouncedCallback<T extends (...args: any[]) => any>(func: T, delay: number): (...args: Parameters<T>) => void;
4107
+
4108
+ interface UseDisclosureReturnType {
4109
+ close: () => void;
4110
+ isClosed: boolean;
4111
+ isOpen: boolean;
4112
+ open: () => void;
4113
+ toggle: () => void;
4114
+ }
4115
+ declare const useDisclosure: (initialState?: boolean) => UseDisclosureReturnType;
4116
+
4117
+ declare const useScrollLock: (lock: boolean) => void;
3577
4118
 
3578
4119
  interface Props$2 {
3579
- onCartLineAdded?: (cartLine: CartLineModel) => void;
3580
- onCartLineError?: (error: Error, cartLine: CartLineModel | undefined) => void;
3581
- onCartLineRemoved?: (cartLine: CartLineModel) => void;
3582
- onCartLineUpdated?: (cartLine: CartLineModel) => void;
4120
+ onCartLineAdded?: (cartLine: CartLineModel$1) => void;
4121
+ onCartLineError?: (error: Error, cartLine: CartLineModel$1 | undefined) => void;
4122
+ onCartLineRemoved?: (cartLine: CartLineModel$1) => void;
4123
+ onCartLineUpdated?: (cartLine: CartLineModel$1) => void;
3583
4124
  }
3584
4125
  declare function CartProvider(props: Props$2): null;
3585
4126
  declare function useCartEvents(): Props$2;
@@ -3662,11 +4203,11 @@ interface UpdateGlobalState$1<T> {
3662
4203
  declare function useGlobalState<T>(key: string | symbol): [T | undefined, UpdateGlobalState$1<T | undefined>];
3663
4204
  declare function useGlobalState<T>(key: string | symbol, initialState: T): [T, UpdateGlobalState$1<T>];
3664
4205
 
3665
- interface NavigateOptions$1 {
4206
+ interface NavigateOptions {
3666
4207
  prefetch?: boolean;
3667
4208
  replace?: boolean;
3668
4209
  }
3669
- type NavigateFn = (href: string, options?: NavigateOptions$1) => void;
4210
+ type NavigateFn = (href: string, options?: NavigateOptions) => void;
3670
4211
  interface RouteProviderProps {
3671
4212
  children: ReactNode;
3672
4213
  navigate: NavigateFn;
@@ -3674,22 +4215,45 @@ interface RouteProviderProps {
3674
4215
  declare function RouteProvider({ children, navigate }: RouteProviderProps): react_jsx_runtime.JSX.Element;
3675
4216
  declare function useNavigate(): NavigateFn;
3676
4217
 
3677
- interface AutocompleteProps$1 {
3678
- areaSelected?: boolean;
3679
- id?: string;
3680
- onClick?(event: MouseEvent): void;
3681
- onMouseDown?(event: MouseEvent): void;
3682
- onMouseMove?(event: MouseEvent): void;
3683
- role?: 'option';
4218
+ interface LinkProps$1
4219
+ extends LinkProps$2,
4220
+ RefAttributes<HTMLAnchorElement> {
4221
+ areaSelected?: boolean
4222
+ className?: string
4223
+ color?: 'primary' | 'secondary'
4224
+ hasUnderline?: boolean
4225
+ id?: string
4226
+ onClick?(event: MouseEvent): void
4227
+ onMouseDown?(event: MouseEvent): void
4228
+ onMouseMove?(event: MouseEvent): void
4229
+ role?: 'option'
3684
4230
  }
3685
- interface RouteLinkProps extends LinkProps, RefAttributes<HTMLAnchorElement>, AutocompleteProps$1 {
3686
- route?: NavigateOptions$1;
4231
+
4232
+ interface RouteLinkProps extends LinkProps$1 {
4233
+ route?: NavigateOptions;
3687
4234
  }
3688
4235
  declare function RouteLink({ children, onClick: _onClick, ...props }: RouteLinkProps): react_jsx_runtime.JSX.Element;
3689
4236
 
3690
- interface RouteButtonProps extends ButtonProps$1, RefAttributes<HTMLButtonElement> {
3691
- href?: string;
3692
- route?: NavigateOptions$1;
4237
+ interface ButtonProps$1 {
4238
+ _pseudo?: 'none' | 'focus' | 'hover' | 'active'
4239
+ children?: ReactNode
4240
+ className?: string
4241
+ color?: 'primary' | 'secondary'
4242
+ condensed?: boolean
4243
+ href?: string
4244
+ icon?: React.ReactNode
4245
+ iconPosition?: 'left' | 'right'
4246
+ isDisabled?: boolean
4247
+ onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void
4248
+ onPress?: VoidFunction | ((...args: unknown[]) => void)
4249
+ size?: 'sm' | 'md' | 'lg'
4250
+ type?: 'button' | 'submit' | 'reset'
4251
+ variant?: 'solid' | 'outline' | 'ghost'
4252
+ withArrow?: boolean
4253
+ }
4254
+
4255
+ interface RouteButtonProps extends ButtonProps$1 {
4256
+ route?: NavigateOptions;
3693
4257
  }
3694
4258
  declare function RouteButton({ children, ...props }: RouteButtonProps): react_jsx_runtime.JSX.Element;
3695
4259
 
@@ -3752,31 +4316,33 @@ interface ProductHit$1 {
3752
4316
  storefrontSlug: string;
3753
4317
  }
3754
4318
 
3755
- interface Link$1 {
4319
+ interface BreadcrumbLink$1 {
3756
4320
  href: string;
3757
4321
  label: string;
3758
4322
  }
3759
4323
  interface BreadcrumbProps {
3760
- links: Link$1[];
4324
+ links: BreadcrumbLink$1[];
3761
4325
  }
3762
4326
  declare function Breadcrumb({ links }: BreadcrumbProps): react_jsx_runtime.JSX.Element | null;
3763
4327
 
3764
4328
  interface ButtonProps {
3765
4329
  _pseudo?: 'none' | 'focus' | 'hover' | 'active';
3766
- children?: ReactNode | string;
4330
+ children?: ReactNode;
3767
4331
  className?: string;
3768
4332
  color?: 'primary' | 'secondary';
3769
4333
  condensed?: boolean;
4334
+ href?: string;
3770
4335
  icon?: React.ReactNode;
3771
4336
  iconPosition?: 'left' | 'right';
3772
4337
  isDisabled?: boolean;
4338
+ onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
3773
4339
  onPress?: VoidFunction | ((...args: unknown[]) => void);
3774
4340
  size?: 'sm' | 'md' | 'lg';
3775
4341
  type?: 'button' | 'submit' | 'reset';
3776
4342
  variant?: 'solid' | 'outline' | 'ghost';
3777
4343
  withArrow?: boolean;
3778
4344
  }
3779
- declare function Button({ _pseudo, children, className, color, condensed, icon, iconPosition, isDisabled, onPress, size, type, variant, withArrow, }: ButtonProps): react_jsx_runtime.JSX.Element;
4345
+ declare function Button({ _pseudo, children, className, color, condensed, href, icon, iconPosition, isDisabled, onClick: _onClick, onPress, size, type, variant, withArrow, }: ButtonProps): react_jsx_runtime.JSX.Element;
3780
4346
 
3781
4347
  interface FavoriteButtonProps {
3782
4348
  isDisabled?: boolean;
@@ -3796,29 +4362,18 @@ interface IconButtonProps {
3796
4362
  }
3797
4363
  declare function IconButton({ children, className, color, isDisabled, onPress, size, type, }: IconButtonProps): react_jsx_runtime.JSX.Element;
3798
4364
 
3799
- interface UpdateGlobalState<T> {
3800
- (value: T): void
3801
- (fn: (value: T) => T): void
3802
- }
3803
-
3804
- interface NavigateOptions {
3805
- prefetch?: boolean
3806
- replace?: boolean
3807
- }
3808
-
3809
- interface LinkButtonProps {
3810
- children?: React.ReactNode | string;
4365
+ interface LinkProps extends LinkProps$2, RefAttributes<HTMLAnchorElement> {
4366
+ areaSelected?: boolean;
3811
4367
  className?: string;
3812
4368
  color?: 'primary' | 'secondary';
3813
4369
  hasUnderline?: boolean;
3814
- href?: string;
3815
- isDisabled?: boolean;
3816
- onPress?: VoidFunction;
3817
- route?: NavigateOptions;
3818
- target?: HTMLAttributeAnchorTarget;
3819
- type?: 'button' | 'link';
4370
+ id?: string;
4371
+ onClick?(event: MouseEvent): void;
4372
+ onMouseDown?(event: MouseEvent): void;
4373
+ onMouseMove?(event: MouseEvent): void;
4374
+ role?: 'option';
3820
4375
  }
3821
- declare function LinkButton({ children, className, href, isDisabled, onPress, route, hasUnderline, target, color, type, }: LinkButtonProps): react_jsx_runtime.JSX.Element;
4376
+ declare function Link({ children, className, color, hasUnderline, onClick: _onClick, ...props }: LinkProps): react_jsx_runtime.JSX.Element;
3822
4377
 
3823
4378
  type AddToCartState = 'initial' | 'spinner' | 'manual-input';
3824
4379
  interface AddToCartButtonProps {
@@ -3841,16 +4396,7 @@ interface ProductPrice$1 {
3841
4396
  price: number
3842
4397
  }
3843
4398
 
3844
- interface AutocompleteProps {
3845
- areaSelected?: boolean
3846
- id?: string
3847
- onClick?(event: MouseEvent): void
3848
- onMouseDown?(event: MouseEvent): void
3849
- onMouseMove?(event: MouseEvent): void
3850
- role?: 'option'
3851
- }
3852
-
3853
- interface ProductCardProps extends AutocompleteProps {
4399
+ interface ProductCardProps extends LinkProps$1 {
3854
4400
  addToCartButton: ReactElement;
3855
4401
  favoriteButton?: ReactElement;
3856
4402
  href: string;
@@ -4024,8 +4570,6 @@ interface TextFieldProps {
4024
4570
  */
4025
4571
  declare function TextField({ autoFocus, autoGrow, defaultValue, isDisabled, isInvalid, isMultiline, isReadOnly, isRequired, label, maxLength, name, onChange, onInput, onKeyUp, placeholder, rows, showLabel, size, value, }: TextFieldProps): react_jsx_runtime.JSX.Element;
4026
4572
 
4027
- type TranslationId = "'{0}' in all products" | ' to your account to manage your lists.' | 'Add to list' | 'An unexpected error occured' | 'Cancel' | 'Create new list' | 'Chosen filters' | 'Clear filters' | 'Clear' | 'Double check your spelling' | 'Excl. VAT' | 'Explore by categories' | 'Exploring our products by category' | 'Hide filters' | 'Incl. VAT' | 'List name already exists' | 'New list name' | 'Please Sign In' | 'Popular searches' | 'Products' | 'Quick access' | 'Recent searches' | 'Searching again using more general terms' | 'See all results' | 'Select a list' | 'Show all' | 'Show filters' | 'Show less' | 'Show' | 'Sorry, we could not find matches for' | 'Sort by' | 'Submit' | 'Suggestions' | 'Use fewer keywords' | 'You could try' | 'You must ' | 'article' | 'articles' | 'facet.categories' | 'facet.height' | 'facet.weight' | 'of' | 'sign in' | 'sort.newest' | 'sort.price_asc' | 'sort.price_desc' | 'sort.relevance' | 'tag.limited' | 'tag.new';
4028
-
4029
4573
  interface FormattedMessageProps {
4030
4574
  fallbackValue?: string;
4031
4575
  id: TranslationId;
@@ -4034,8 +4578,6 @@ interface FormattedMessageProps {
4034
4578
  }
4035
4579
  declare const FormattedMessage: ComponentType<FormattedMessageProps>;
4036
4580
 
4037
- type FormatMessageFunction = (id: string, ...replacementValues: readonly string[]) => string | undefined;
4038
-
4039
4581
  interface IntlProviderProps {
4040
4582
  children: React.ReactNode;
4041
4583
  formatMessage: FormatMessageFunction;
@@ -4071,13 +4613,18 @@ declare function PageContainer({ children, className, }: {
4071
4613
  className?: string;
4072
4614
  }): react_jsx_runtime.JSX.Element;
4073
4615
 
4074
- interface Link {
4616
+ interface UpdateGlobalState<T> {
4617
+ (value: T): void
4618
+ (fn: (value: T) => T): void
4619
+ }
4620
+
4621
+ interface BreadcrumbLink {
4075
4622
  href: string
4076
4623
  label: string
4077
4624
  }
4078
4625
 
4079
4626
  interface PageProps {
4080
- breadCrumb: Link[];
4627
+ breadCrumb: BreadcrumbLink[];
4081
4628
  children: ReactNode;
4082
4629
  className?: string;
4083
4630
  title?: string;
@@ -4169,7 +4716,7 @@ declare function AlgoliaMultiSelectFilterSection({ attribute, }: AlgoliaMultiSel
4169
4716
  interface AlgoliaPaginationProps {
4170
4717
  onChange: (pageNumber: number) => void;
4171
4718
  }
4172
- declare function AlgoliaPagination({ onChange }: AlgoliaPaginationProps): react_jsx_runtime.JSX.Element;
4719
+ declare function AlgoliaPagination({ onChange }: AlgoliaPaginationProps): react_jsx_runtime.JSX.Element | null;
4173
4720
 
4174
4721
  declare const createSonicSearchClient: ({ apiKey, appId, host, }: {
4175
4722
  apiKey: string;
@@ -4196,6 +4743,7 @@ declare function AlgoliaInsightsProvider({ children, value, }: {
4196
4743
  interface AlgoliaProviderProps {
4197
4744
  categoryPages?: string;
4198
4745
  children: ReactNode;
4746
+ hierarchicalCategories?: string[];
4199
4747
  languageCode: string;
4200
4748
  offlineSearchClient?: SearchClient;
4201
4749
  online?: boolean;
@@ -4203,10 +4751,7 @@ interface AlgoliaProviderProps {
4203
4751
  routing?: boolean | RouterProps<UiState, UiState> | undefined;
4204
4752
  searchClient: SearchClient;
4205
4753
  }
4206
- declare function AlgoliaInsightInstantSearchProvider({ children, }: {
4207
- children?: ReactNode;
4208
- }): react_jsx_runtime.JSX.Element;
4209
- declare function AlgoliaProvider({ categoryPages, children, languageCode, offlineSearchClient, online: _online, query, routing, searchClient, }: AlgoliaProviderProps): react_jsx_runtime.JSX.Element;
4754
+ declare function AlgoliaProvider({ categoryPages, children, hierarchicalCategories, languageCode, offlineSearchClient, online: _online, query, routing, searchClient, }: AlgoliaProviderProps): react_jsx_runtime.JSX.Element;
4210
4755
  declare function useAlgolia(): {
4211
4756
  online: boolean;
4212
4757
  setOnline: UpdateGlobalState<boolean>;
@@ -4431,4 +4976,4 @@ declare function ReactQueryContainer({ children }: {
4431
4976
  children: ReactNode;
4432
4977
  }): react_jsx_runtime.JSX.Element;
4433
4978
 
4434
- export { Accordion, type AccountCollectionModel, type AccountModel, type AccountPaymentProfileCollectionModel, type AccountPaymentProfileModel, type AccountSettingsModel, type AccountShipToCollectionModel, type AccountShipToModel, type AccountsReceivableDto, type AddProductToCurrentCartParams, AddToCartButton, type AddressFieldCollectionModel, type AddressFieldDisplayCollectionModel, type AddressFieldDisplayModel, type AgingBucketDto, AlgoliaActiveCategories, AlgoliaCategoriesFilters, AlgoliaFilterPanel, type AlgoliaFilterPanelProps, AlgoliaInsightInstantSearchProvider, AlgoliaInsightsProvider, AlgoliaInsightsProviderContext, type AlgoliaInsightsProviderState, AlgoliaMultiSelectFilterSection, AlgoliaPagination, AlgoliaProvider, AlgoliaResultsCount, AlgoliaSortBy, type AttributeTypeDto, type AttributeTypeFacetModel, type AttributeTypeModel, type AttributeValueDto, type AttributeValueFacetModel, type AttributeValueModel, type AutocompleteItemModel, type AutocompleteModel, type AutocompleteProductCollectionModel, type AutocompleteProductModel, type AutocompleteProps$1 as AutocompleteProps, type AvailabilityDto$2 as AvailabilityDto, AvailabilityMessageType$2 as AvailabilityMessageType, BadgeImagePlacementValues, type BadgeModel, BadgeStyleValues, BadgeTypeValues, type BaseAddressModel, type BaseModel$1 as BaseModel, type BillToCollectionModel, type BillToModel, type BrandAlphabetLetterModel, type BrandAlphabetModel, type BrandAutocompleteModel, type BrandCategoryCollectionModel, type BrandCategoryModel, type BrandCollectionModel, type BrandDto$2 as BrandDto, type BrandModel, type BrandProductLineCollectionModel, type BrandProductLineModel, type BreadCrumb, type BreadCrumbModel, Breadcrumb, type BreadcrumbProps, type BreakPriceDto$2 as BreakPriceDto, type BreakPriceRfqModel, type BudgetCalendarCollectionModel, type BudgetCalendarModel, type BudgetCollectionModel, type BudgetLineModel, type BudgetModel, Button, type ButtonProps, type CalculationMethod, type CarrierDto, type CartCollectionModel, type CartLineCollectionModel, type CartLineModel$2 as CartLineModel, type CartModel, CartProvider, type CartSettingsModel, type CatalogPageModel, type Category$1 as Category, CategoryCarousel, type CategoryCarouselProps, type CategoryCollectionModel, type CategoryFacetModel, type CategoryModel, Checkbox, type CheckboxProps$1 as CheckboxProps, type ChildTraitValueModel, ColorCheckbox, type ColorCheckboxProps, type ConfigSectionDto, type ConfigSectionModel, type ConfigSectionOptionDto, type ConfigurationModel, ConnectedAddToCartButton, type ContactUsModel, type ContentModel, type CostCodeDto, type CostCodeModel, type CountryCollectionModel, type CountryModel, type CreditCardBillingAddressDto, type CreditCardDto, type CrossSellCollectionModel, type CurrencyCollectionModel, type CurrencyModel, CurrencyPositioningType, type CustomerCostCodeDto, type CustomerOrderTaxDto, type CustomerSettingsModel, type CustomerValidationDto, type DashboardPanelCollectionModel, type DashboardPanelModel, type DealerCollectionModel, type DealerModel, type DetailModel, type DocumentDto, type DocumentModel, type ECheckDto, type FacetModel, FavoriteButton, type FavoriteButtonProps, FavoriteProvider, type FetchProductListingPageDataArgs, type FieldScoreDetailedDto, type FieldScoreDetailedModel, type FieldScoreDto, type FieldScoreModel, type FieldValidationDto, type FilterOption, FilterSection, type Filters, FormattedMessage, type FormattedMessageFunction, type FormattedMessageProps, GlobalSearch, GlobalSearchContainer, GlobalSearchDisclosureContext, GlobalStateProvider, GlobalStateProviderContext, IconButton, type IconButtonProps, Image, type ImageModel, IntlProvider, type InventoryAvailabilityDto, type InventoryWarehousesDto, type InvoiceCollectionModel, type InvoiceHistoryTaxDto, type InvoiceLineModel, type InvoiceModel, type InvoiceSettingsModel, type JobQuoteCollectionModel, type JobQuoteLineModel, type JobQuoteModel, type LanguageCollectionModel, type LanguageModel, type LegacyConfigurationDto, type Link$1 as Link, LinkButton, type LinkButtonProps, LoadingOverlay, type MessageCollectionModel, type MessageModel, type MobileAppSettingsModel, type MobileContentModel, type MobilePageDto, type MobileWidgetDto, MultiSelect, type MultiSelectProps, type NavigateFn, type NavigateOptions$1 as NavigateOptions, NumberField, type NumberFieldSize, type OrderApprovalCollectionModel, type OrderCollectionModel, type OrderHistoryTaxDto, type OrderLineModel, type OrderModel, type OrderPromotionModel, type OrderRequestModel, type OrderSettingsModel, type OrderStatusMappingCollectionModel, type OrderStatusMappingModel, Page, PageContainer, type PageProps, type PaginationModel$1 as PaginationModel, type PaymentMethodDto, type PaymentOptionsDto, type PersonaModel, type PoRequisitionModel, type PriceFacetModel, type PriceRangeModel, type PricingRfqModel, type ProductAutocompleteItemModel, type ProductAvailabilityModel, ProductCard, type ProductCardProps, type ProductCollectionModel, type ProductDto, type ProductHit$1 as ProductHit, type ProductImageDto, type ProductInventoryDto, type ProductLineDto, type ProductLineModel, ProductListingPage, type ProductListingPageDataResponse, type ProductListingPageProps, type ProductModel, ProductOverviewGrid, type ProductOverviewGridProps, ProductPrice, type ProductPriceDto$2 as ProductPriceDto, type ProductPriceModel, type ProductPriceProps, type ProductSettingsModel, ProductSku, type ProductSkuProps, type ProductSubscriptionDto$2 as ProductSubscriptionDto, type ProductSubscriptionModel, type ProductUnitOfMeasureDto$1 as ProductUnitOfMeasureDto, type ProfileTransactionRequestModel, ProgressCircle, type ProgressCircleProps, type PromoCard$1 as PromoCard, type PromoCards, type PromotionCollectionModel, type PromotionModel, type QuoteCollectionModel, type QuoteLineModel, type QuoteModel, type QuoteSettingsModel, ReactQueryContainer, type RealTimeCartInventoryModel, type RealTimeInventoryModel, type RealTimePricingModel, type RefinementListItem, type RelatedProductDto, type RequisitionCollectionModel, type RequisitionLineCollectionModel, type RequisitionLineModel, type RequisitionModel, type RmaLineDto, type RmaModel, RouteButton, RouteLink, RouteProvider, type RouteProviderProps, type SalespersonModel, type ScoreExplanationDto, type ScoreExplanationModel, SearchResultsPage, type SectionOptionDto$2 as SectionOptionDto, type SectionOptionModel, Select, type SelectProps, type SessionModel, type SessionRequestModel, type SettingsCollectionModel, type SetupRequestModel, type ShareEntityModel, type ShareOrderModel, type ShipToCollectionModel, type ShipToModel, type ShipViaDto, type ShipmentPackageDto, type ShipmentPackageLineDto, ShowAll, type ShowAllProps, Sidebar, SidebarDetectBreakpoint, type SidebarProps, SidebarProvider, type SiteMessageCollectionModel, type SiteMessageModel, type SortOptionModel$1 as SortOptionModel, type SpecificationDto, type SpecificationModel, type StateCollectionModel, type StateModel, type StyleTraitDto, type StyleValueDto, type StyledProductDto, type SuggestionModel, type TellAFriendModel, TextField, type TraitValueModel, type TranslationDictionaryCollectionModel, type TranslationDictionaryModel, type TranslationId, type UnitOfMeasureModel, type UpdateCartLineParams, type UpdateGlobalState$1 as UpdateGlobalState, type UpdateWishListLineCollectionModel, type UseAlgoliaEventResult, VariantDisplayTypeValues, type VariantTraitModel, type VmiBinCollectionModel, type VmiBinCountModel, type VmiBinModel, type VmiCountCollectionModel, type VmiCountModel, type VmiLocationCollectionModel, type VmiLocationModel, type VmiNoteCollectionModel, type VmiNoteModel, type VmiUserImportCollectionModel, type VmiUserImportModel, type VmiUserModel, type WarehouseCollectionModel, type WarehouseDto, type WarehouseModel, type WebsiteModel, type WebsiteSettingsModel, type WishListCollectionModel, type WishListEmailScheduleModel$1 as WishListEmailScheduleModel, type WishListLineCollectionModel, type WishListLineModel$1 as WishListLineModel, type WishListModel$1 as WishListModel, type WishListSettingsModel, type WishListShareModel$1 as WishListShareModel, config, configPerEnvironment, createSonicSearchClient, transformAlgoliaProductHitToProductHit, useAddProductToCurrentCart, useAlgolia, useAlgoliaInsights, useAlgoliaSearch, useBreakpoint, useCartEvents, useDebouncedCallback, useDeleteCartLineById, useDisclosure, useFavorite, useFavoriteProduct, useFetchCurrentCartLines, useFetchProductListingPageData, useFormattedMessage, useGlobalSearchDisclosure, useGlobalState, useNavigate, useScrollLock, useUpdateCartLineById, userToken, userTokenEventEmitter };
4979
+ export { Accordion, type AccountCollectionModel, type AccountModel, type AccountPaymentProfileCollectionModel, type AccountPaymentProfileModel, type AccountSettingsModel, type AccountShipToCollectionModel, type AccountShipToModel, type AccountsReceivableDto$1 as AccountsReceivableDto, type AddProductToCurrentCartParams$1 as AddProductToCurrentCartParams, AddToCartButton, type AddressFieldCollectionModel, type AddressFieldDisplayCollectionModel, type AddressFieldDisplayModel, type AgingBucketDto$1 as AgingBucketDto, AlgoliaActiveCategories, AlgoliaCategoriesFilters, AlgoliaFilterPanel, type AlgoliaFilterPanelProps, AlgoliaInsightsProvider, AlgoliaInsightsProviderContext, type AlgoliaInsightsProviderState, AlgoliaMultiSelectFilterSection, AlgoliaPagination, AlgoliaProvider, AlgoliaResultsCount, AlgoliaSortBy, type AttributeTypeDto, type AttributeTypeFacetModel, type AttributeTypeModel, type AttributeValueDto, type AttributeValueFacetModel, type AttributeValueModel, type AuthenticationResponse$1 as AuthenticationResponse, type AutocompleteItemModel, type AutocompleteModel, type AutocompleteProductCollectionModel, type AutocompleteProductModel, type AvailabilityDto$2 as AvailabilityDto, AvailabilityMessageType$2 as AvailabilityMessageType, BadRequestError, BadgeImagePlacementValues, type BadgeModel, BadgeStyleValues, BadgeTypeValues, type BaseAddressModel, type BaseModel$1 as BaseModel, type BillToCollectionModel, type BillToModel$1 as BillToModel, type BrandAlphabetLetterModel, type BrandAlphabetModel, type BrandAutocompleteModel, type BrandCategoryCollectionModel, type BrandCategoryModel, type BrandCollectionModel, type BrandDto$2 as BrandDto, type BrandModel, type BrandProductLineCollectionModel, type BrandProductLineModel, type BreadCrumb, type BreadCrumbModel, Breadcrumb, type BreadcrumbLink$1 as BreadcrumbLink, type BreadcrumbProps, type BreakPriceDto$2 as BreakPriceDto, type BreakPriceRfqModel, type BudgetCalendarCollectionModel, type BudgetCalendarModel, type BudgetCollectionModel, type BudgetLineModel, type BudgetModel, Button, type ButtonProps, type CalculationMethod, type CarrierDto, type CartCollectionModel, type CartLineCollectionModel, type CartLineModel$2 as CartLineModel, type CartModel, CartProvider, type CartSettingsModel, type CatalogPageModel, type Category$1 as Category, CategoryCarousel, type CategoryCarouselProps, type CategoryCollectionModel, type CategoryFacetModel, type CategoryModel, Checkbox, type CheckboxProps$1 as CheckboxProps, type ChildTraitValueModel, ColorCheckbox, type ColorCheckboxProps, type ConfigSectionDto, type ConfigSectionModel, type ConfigSectionOptionDto, type ConfigurationModel, ConnectedAddToCartButton, type ContactUsModel, type ContentModel, type CostCodeDto, type CostCodeModel$1 as CostCodeModel, type CountryCollectionModel, type CountryModel$1 as CountryModel, type CreateSessionRequestBody, type CreditCardBillingAddressDto, type CreditCardDto, type CrossSellCollectionModel, type CurrencyCollectionModel, type CurrencyModel$1 as CurrencyModel, CurrencyPositioningType$1 as CurrencyPositioningType, type CustomerCostCodeDto, type CustomerOrderTaxDto, type CustomerSettingsModel, type CustomerValidationDto$1 as CustomerValidationDto, type DashboardPanelCollectionModel, type DashboardPanelModel, type DealerCollectionModel, type DealerModel, type DetailModel, type DocumentDto, type DocumentModel, type ECheckDto, type FacetModel, FavoriteButton, type FavoriteButtonProps, FavoriteProvider, type FetchProductListingPageDataArgs, type FieldScoreDetailedDto, type FieldScoreDetailedModel, type FieldScoreDto, type FieldScoreModel, type FieldValidationDto$1 as FieldValidationDto, type FilterOption, FilterSection, type Filters, ForbiddenRequestError, FormattedMessage, type FormattedMessageFunction, type FormattedMessageProps, GlobalSearch, GlobalSearchContainer, GlobalSearchDisclosureContext, GlobalStateProvider, GlobalStateProviderContext, IconButton, type IconButtonProps, Image, type ImageModel, InternalServerErrorRequest, IntlProvider, type InventoryAvailabilityDto, type InventoryWarehousesDto, type InvoiceCollectionModel, type InvoiceHistoryTaxDto, type InvoiceLineModel, type InvoiceModel, type InvoiceSettingsModel, type JobQuoteCollectionModel, type JobQuoteLineModel, type JobQuoteModel, type LanguageCollectionModel, type LanguageModel$1 as LanguageModel, type LegacyConfigurationDto, Link, type LinkProps, LoadingOverlay, type MessageCollectionModel, type MessageModel, type MobileAppSettingsModel, type MobileContentModel, type MobilePageDto, type MobileWidgetDto, MultiSelect, type MultiSelectProps, type NavigateFn, type NavigateOptions, NotFoundRequestError, NumberField, type NumberFieldSize, type OrderApprovalCollectionModel, type OrderCollectionModel, type OrderHistoryTaxDto, type OrderLineModel, type OrderModel, type OrderPromotionModel, type OrderRequestModel, type OrderSettingsModel, type OrderStatusMappingCollectionModel, type OrderStatusMappingModel, Page, PageContainer, type PageProps, type PaginationModel$1 as PaginationModel, type PaymentMethodDto, type PaymentOptionsDto, type PersonaModel$1 as PersonaModel, type PoRequisitionModel, type PriceFacetModel, type PriceRangeModel, type PricingRfqModel, type ProductAutocompleteItemModel, type ProductAvailabilityModel, ProductCard, type ProductCardProps, type ProductCollectionModel, type ProductDto, type ProductHit$1 as ProductHit, type ProductImageDto, type ProductInventoryDto, type ProductLineDto, type ProductLineModel, ProductListingPage, type ProductListingPageDataResponse, type ProductListingPageProps, type ProductModel, ProductOverviewGrid, type ProductOverviewGridProps, ProductPrice, type ProductPriceDto$2 as ProductPriceDto, type ProductPriceModel, type ProductPriceProps, type ProductSettingsModel, ProductSku, type ProductSkuProps, type ProductSubscriptionDto$2 as ProductSubscriptionDto, type ProductSubscriptionModel, type ProductUnitOfMeasureDto$1 as ProductUnitOfMeasureDto, type ProfileTransactionRequestModel, ProgressCircle, type ProgressCircleProps, type PromoCard$1 as PromoCard, type PromoCards, type PromotionCollectionModel, type PromotionModel, type QuoteCollectionModel, type QuoteLineModel, type QuoteModel, type QuoteSettingsModel, ReactQueryContainer, type RealTimeCartInventoryModel, type RealTimeInventoryModel, type RealTimePricingModel, type RefinementListItem, type RelatedProductDto, RequestError, type RequestHeaders, type RequisitionCollectionModel, type RequisitionLineCollectionModel, type RequisitionLineModel, type RequisitionModel, type RmaLineDto, type RmaModel, RouteButton, RouteLink, RouteProvider, type RouteProviderProps, type SalespersonModel, type ScoreExplanationDto, type ScoreExplanationModel, SearchResultsPage, type SectionOptionDto$2 as SectionOptionDto, type SectionOptionModel, Select, type SelectProps, type SessionModel$1 as SessionModel, type SessionRequestModel, type SettingsCollectionModel, type SetupRequestModel, type ShareEntityModel, type ShareOrderModel, type ShipToCollectionModel, type ShipToModel$1 as ShipToModel, type ShipViaDto, type ShipmentPackageDto, type ShipmentPackageLineDto, ShowAll, type ShowAllProps, Sidebar, SidebarDetectBreakpoint, type SidebarProps, SidebarProvider, type SiteMessageCollectionModel, type SiteMessageModel, type SortOptionModel$1 as SortOptionModel, type SpecificationDto, type SpecificationModel, type StateCollectionModel, type StateModel$1 as StateModel, type StyleTraitDto, type StyleValueDto, type StyledProductDto, type SuggestionModel, type TellAFriendModel, TextField, TimeoutRequestError, type TraitValueModel, type TranslationDictionaryCollectionModel, type TranslationDictionaryModel, type TranslationId, UnauthorizedRequestError, type UnitOfMeasureModel, UnprocessableContentRequestError, type UpdateCartLineParams, type UpdateGlobalState$1 as UpdateGlobalState, type UpdateWishListLineCollectionModel, type UseAlgoliaEventResult, VariantDisplayTypeValues, type VariantTraitModel, type VmiBinCollectionModel, type VmiBinCountModel, type VmiBinModel, type VmiCountCollectionModel, type VmiCountModel, type VmiLocationCollectionModel, type VmiLocationModel, type VmiNoteCollectionModel, type VmiNoteModel, type VmiUserImportCollectionModel, type VmiUserImportModel, type VmiUserModel, type WarehouseCollectionModel, type WarehouseDto, type WarehouseModel$1 as WarehouseModel, type WebsiteModel, type WebsiteSettingsModel, type WishListCollectionModel$1 as WishListCollectionModel, type WishListEmailScheduleModel$1 as WishListEmailScheduleModel, type WishListLineCollectionModel$1 as WishListLineCollectionModel, type WishListLineModel$1 as WishListLineModel, type WishListModel$1 as WishListModel, WishListNameAlreadyExistsError, type WishListSettingsModel, type WishListShareModel$1 as WishListShareModel, addProductToCurrentCart, addWishList, addWishListItemToWishList, config, configPerEnvironment, createSession, createSonicSearchClient, createWishList, deleteCartLineById, deleteWishList, deleteWishListItemFromWishList, fetchCurrentCartLines, fetchTranslations, getSession, getWishList, getWishListItemsByWishListId, getWishLists, isRequestError, removeWishListItemFromWishList, request, signIn, signOut, transformAlgoliaProductHitToProductHit, updateCartLineById, useAddProductToCurrentCart, useAddWishList, useAddWishListItemToCurrentWishList, useAddWishListItemToWishList, useAlgolia, useAlgoliaInsights, useAlgoliaSearch, useBreakpoint, useCartEvents, useCreateCurrentWishList, useDebouncedCallback, useDeleteCartLineById, useDeleteWishListItemFromWishList, useDisclosure, useFavorite, useFavoriteProduct, useFeatureFlags, useFetchAllWishListsItems, useFetchCurrentCartLines, useFetchProductListingPageData, useFetchTranslations, useFetchWishLists, useFormattedMessage, useGlobalSearchDisclosure, useGlobalState, useIsAuthenticated, useNavigate, useRemoveWishListItemFromCurrentWishList, useScrollLock, useSession, useSignIn, useSignOut, useUpdateCartLineById, userToken, userTokenEventEmitter };