@sonic-equipment/ui 0.0.64 → 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.
- package/dist/index.d.ts +857 -324
- package/dist/index.js +812 -373
- package/dist/src/algolia/algolia-insight-instant-search-provider.d.ts +4 -0
- package/dist/src/algolia/algolia-pagination.d.ts +1 -1
- package/dist/src/algolia/algolia-products-hits-provider.d.ts +6 -0
- package/dist/src/algolia/algolia-provider.d.ts +0 -3
- package/dist/src/algolia/use-algolia-instant-search-state.d.ts +17 -0
- package/dist/src/algolia/use-algolia-product-hits.d.ts +6 -1
- package/dist/src/global-search/search-result-panel/search-result-panel.d.ts +0 -8
- package/dist/src/index.d.ts +19 -0
- package/dist/src/intl/translation-id.d.ts +1 -1
- package/dist/src/intl/types.d.ts +2 -0
- package/dist/src/loading/blank-page-spacer.d.ts +4 -0
- package/dist/src/pages/product-listing-page/no-results/no-results.d.ts +7 -0
- package/dist/src/pages/product-listing-page/product-listing-page-data-types.d.ts +2 -2
- package/dist/src/shared/api/bff/model/bff.model.d.ts +2 -2
- package/dist/src/shared/api/shop/hooks/authentication/use-sign-in.d.ts +1 -7
- package/dist/src/shared/api/shop/hooks/cart/cart.stories.d.ts +2 -4
- package/dist/src/shared/api/shop/hooks/cart/use-add-product-to-current-cart.d.ts +1 -5
- package/dist/src/shared/api/shop/hooks/cart/use-delete-cart-line-by-id.d.ts +3 -1
- package/dist/src/shared/api/shop/hooks/translation/translations.stories.d.ts +9 -0
- package/dist/src/shared/api/shop/hooks/translation/use-fetch-translations.d.ts +1 -0
- package/dist/src/shared/api/shop/services/authentication-service.d.ts +25 -0
- package/dist/src/shared/api/shop/services/cart-service.d.ts +16 -0
- package/dist/src/shared/api/shop/services/translation-service.d.ts +2 -0
- package/dist/src/shared/feature-flags/use-feature-flags.d.ts +6 -0
- package/dist/src/shared/fetch/constants.d.ts +6 -0
- package/dist/src/shared/fetch/request.d.ts +7 -1
- package/dist/src/shared/utils/environment.d.ts +2 -2
- package/dist/src/typography/heading/heading.d.ts +2 -1
- package/dist/styles.css +50 -18
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ 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 {
|
|
@@ -22,6 +22,110 @@ interface Config {
|
|
|
22
22
|
declare const configPerEnvironment: Record<Environment, Config>;
|
|
23
23
|
declare const config: Config;
|
|
24
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
|
+
|
|
25
129
|
interface DPRSrcSet {
|
|
26
130
|
1: string
|
|
27
131
|
2: string
|
|
@@ -84,7 +188,7 @@ interface PromoCard$1 {
|
|
|
84
188
|
image: ResponsiveImage;
|
|
85
189
|
}
|
|
86
190
|
interface PromoCards {
|
|
87
|
-
top: PromoCard$1[];
|
|
191
|
+
top: PromoCard$1[] | null;
|
|
88
192
|
}
|
|
89
193
|
interface BreadCrumb {
|
|
90
194
|
categoryId: string;
|
|
@@ -93,7 +197,7 @@ interface BreadCrumb {
|
|
|
93
197
|
}
|
|
94
198
|
interface ProductListingPageDataResponse {
|
|
95
199
|
breadCrumb: BreadCrumb[];
|
|
96
|
-
categories: Category$1;
|
|
200
|
+
categories: Category$1 | null;
|
|
97
201
|
categoryPages: string;
|
|
98
202
|
hierarchicalCategories: string[];
|
|
99
203
|
promoCards: PromoCards | null;
|
|
@@ -117,11 +221,11 @@ interface Category {
|
|
|
117
221
|
|
|
118
222
|
interface ProductListingPageData {
|
|
119
223
|
breadCrumb: Link$1[]
|
|
120
|
-
category: Category
|
|
224
|
+
category: Category | undefined
|
|
121
225
|
categoryPages: string
|
|
122
226
|
hierarchicalCategories: string[]
|
|
123
227
|
promoCards?: {
|
|
124
|
-
top: PromoCard[]
|
|
228
|
+
top: PromoCard[] | undefined
|
|
125
229
|
}
|
|
126
230
|
subcategories: Category[] | undefined
|
|
127
231
|
}
|
|
@@ -173,7 +277,7 @@ interface AccountModel extends BaseModel$1 {
|
|
|
173
277
|
canViewApprovalOrders: boolean;
|
|
174
278
|
defaultCustomerId: string | null;
|
|
175
279
|
defaultFulfillmentMethod: string;
|
|
176
|
-
defaultWarehouse: WarehouseModel | null;
|
|
280
|
+
defaultWarehouse: WarehouseModel$1 | null;
|
|
177
281
|
defaultWarehouseId: string | null;
|
|
178
282
|
email: string;
|
|
179
283
|
firstName: string;
|
|
@@ -221,7 +325,7 @@ interface AccountPaymentProfileModel extends BaseModel$1 {
|
|
|
221
325
|
state: string;
|
|
222
326
|
tokenScheme: string;
|
|
223
327
|
}
|
|
224
|
-
interface PersonaModel extends BaseModel$1 {
|
|
328
|
+
interface PersonaModel$1 extends BaseModel$1 {
|
|
225
329
|
description: string;
|
|
226
330
|
id: string;
|
|
227
331
|
isDefault: boolean;
|
|
@@ -250,12 +354,12 @@ interface AccountSettingsModel extends BaseModel$1 {
|
|
|
250
354
|
requireSelectCustomerOnSignIn: boolean;
|
|
251
355
|
useEmailAsUserName: boolean;
|
|
252
356
|
}
|
|
253
|
-
interface SessionModel extends BaseModel$1 {
|
|
357
|
+
interface SessionModel$1 extends BaseModel$1 {
|
|
254
358
|
activateAccount: boolean;
|
|
255
|
-
billTo: BillToModel | null;
|
|
359
|
+
billTo: BillToModel$1 | null;
|
|
256
360
|
cartReminderUnsubscribeEmail: string;
|
|
257
361
|
cartReminderUnsubscribeToken: string;
|
|
258
|
-
currency: CurrencyModel | null;
|
|
362
|
+
currency: CurrencyModel$1 | null;
|
|
259
363
|
customLandingPage: string;
|
|
260
364
|
customerWasUpdated: boolean;
|
|
261
365
|
dashboardIsHomepage: boolean | null;
|
|
@@ -273,25 +377,25 @@ interface SessionModel extends BaseModel$1 {
|
|
|
273
377
|
isRestrictedProductExistInCart: boolean;
|
|
274
378
|
isRestrictedProductRemovedFromCart: boolean;
|
|
275
379
|
isSalesPerson: boolean;
|
|
276
|
-
language: LanguageModel | null;
|
|
380
|
+
language: LanguageModel$1 | null;
|
|
277
381
|
lastName: string;
|
|
278
382
|
newPassword: string;
|
|
279
383
|
password: string;
|
|
280
384
|
persona: string;
|
|
281
|
-
personas: PersonaModel[] | null;
|
|
282
|
-
pickUpWarehouse: WarehouseModel | null;
|
|
385
|
+
personas: PersonaModel$1[] | null;
|
|
386
|
+
pickUpWarehouse: WarehouseModel$1 | null;
|
|
283
387
|
redirectToChangeCustomerPageOnSignIn: boolean;
|
|
284
388
|
rememberMe: boolean;
|
|
285
389
|
resetPassword: boolean;
|
|
286
390
|
resetToken: string;
|
|
287
|
-
shipTo: ShipToModel | null;
|
|
391
|
+
shipTo: ShipToModel$1 | null;
|
|
288
392
|
userLabel: string;
|
|
289
393
|
userName: string;
|
|
290
394
|
userProfileId: string | null;
|
|
291
395
|
userRoles: string;
|
|
292
396
|
userRolesTranslated: string;
|
|
293
397
|
}
|
|
294
|
-
interface ShipToModel extends BaseModel$1 {
|
|
398
|
+
interface ShipToModel$1 extends BaseModel$1 {
|
|
295
399
|
address1: string;
|
|
296
400
|
address2: string;
|
|
297
401
|
address3: string;
|
|
@@ -300,7 +404,7 @@ interface ShipToModel extends BaseModel$1 {
|
|
|
300
404
|
city: string;
|
|
301
405
|
companyName: string;
|
|
302
406
|
contactFullName: string;
|
|
303
|
-
country: CountryModel | null;
|
|
407
|
+
country: CountryModel$1 | null;
|
|
304
408
|
customerName: string;
|
|
305
409
|
customerNumber: string;
|
|
306
410
|
customerSequence: string;
|
|
@@ -317,49 +421,49 @@ interface ShipToModel extends BaseModel$1 {
|
|
|
317
421
|
oneTimeAddress: boolean;
|
|
318
422
|
phone: string;
|
|
319
423
|
postalCode: string;
|
|
320
|
-
state: StateModel | null;
|
|
321
|
-
validation: CustomerValidationDto | null;
|
|
322
|
-
}
|
|
323
|
-
interface CustomerValidationDto {
|
|
324
|
-
address1: FieldValidationDto | null;
|
|
325
|
-
address2: FieldValidationDto | null;
|
|
326
|
-
address3: FieldValidationDto | null;
|
|
327
|
-
address4: FieldValidationDto | null;
|
|
328
|
-
attention: FieldValidationDto | null;
|
|
329
|
-
city: FieldValidationDto | null;
|
|
330
|
-
companyName: FieldValidationDto | null;
|
|
331
|
-
country: FieldValidationDto | null;
|
|
332
|
-
email: FieldValidationDto | null;
|
|
333
|
-
fax: FieldValidationDto | null;
|
|
334
|
-
firstName: FieldValidationDto | null;
|
|
335
|
-
lastName: FieldValidationDto | null;
|
|
336
|
-
phone: FieldValidationDto | null;
|
|
337
|
-
postalCode: FieldValidationDto | null;
|
|
338
|
-
state: FieldValidationDto | null;
|
|
339
|
-
}
|
|
340
|
-
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 {
|
|
341
445
|
isDisabled: boolean;
|
|
342
446
|
isRequired: boolean;
|
|
343
447
|
maxLength: number | null;
|
|
344
448
|
}
|
|
345
|
-
interface StateModel extends BaseModel$1 {
|
|
449
|
+
interface StateModel$1 extends BaseModel$1 {
|
|
346
450
|
abbreviation: string;
|
|
347
451
|
id: string;
|
|
348
452
|
name: string;
|
|
349
453
|
}
|
|
350
|
-
interface CountryModel extends BaseModel$1 {
|
|
454
|
+
interface CountryModel$1 extends BaseModel$1 {
|
|
351
455
|
abbreviation: string;
|
|
352
456
|
id: string;
|
|
353
457
|
name: string;
|
|
354
|
-
states: StateModel[] | null;
|
|
458
|
+
states: StateModel$1[] | null;
|
|
355
459
|
}
|
|
356
|
-
declare enum CurrencyPositioningType {
|
|
460
|
+
declare enum CurrencyPositioningType$1 {
|
|
357
461
|
Left = "Left",
|
|
358
462
|
Right = "Right"
|
|
359
463
|
}
|
|
360
|
-
interface LanguageModel extends BaseModel$1 {
|
|
464
|
+
interface LanguageModel$1 extends BaseModel$1 {
|
|
361
465
|
cultureCode: string;
|
|
362
|
-
currencyPositioning: CurrencyPositioningType;
|
|
466
|
+
currencyPositioning: CurrencyPositioningType$1;
|
|
363
467
|
description: string;
|
|
364
468
|
id: string;
|
|
365
469
|
imageFilePath: string;
|
|
@@ -367,15 +471,15 @@ interface LanguageModel extends BaseModel$1 {
|
|
|
367
471
|
isLive: boolean;
|
|
368
472
|
languageCode: string;
|
|
369
473
|
}
|
|
370
|
-
interface CurrencyModel extends BaseModel$1 {
|
|
474
|
+
interface CurrencyModel$1 extends BaseModel$1 {
|
|
371
475
|
currencyCode: string;
|
|
372
476
|
currencySymbol: string;
|
|
373
477
|
description: string;
|
|
374
478
|
id: string;
|
|
375
479
|
isDefault: boolean;
|
|
376
480
|
}
|
|
377
|
-
interface BillToModel extends BaseModel$1 {
|
|
378
|
-
accountsReceivable?: AccountsReceivableDto | null;
|
|
481
|
+
interface BillToModel$1 extends BaseModel$1 {
|
|
482
|
+
accountsReceivable?: AccountsReceivableDto$1 | null;
|
|
379
483
|
address1: string;
|
|
380
484
|
address2: string;
|
|
381
485
|
address3: string;
|
|
@@ -386,8 +490,8 @@ interface BillToModel extends BaseModel$1 {
|
|
|
386
490
|
companyName: string;
|
|
387
491
|
contactFullName: string;
|
|
388
492
|
costCodeTitle: string;
|
|
389
|
-
costCodes?: CostCodeModel[] | null;
|
|
390
|
-
country: CountryModel | null;
|
|
493
|
+
costCodes?: CostCodeModel$1[] | null;
|
|
494
|
+
country: CountryModel$1 | null;
|
|
391
495
|
customerCurrencySymbol: string;
|
|
392
496
|
customerName: string;
|
|
393
497
|
customerNumber: string;
|
|
@@ -403,23 +507,23 @@ interface BillToModel extends BaseModel$1 {
|
|
|
403
507
|
lastName: string;
|
|
404
508
|
phone: string;
|
|
405
509
|
postalCode: string;
|
|
406
|
-
shipTos?: ShipToModel[] | null;
|
|
510
|
+
shipTos?: ShipToModel$1[] | null;
|
|
407
511
|
shipTosUri: string;
|
|
408
|
-
state: StateModel | null;
|
|
409
|
-
validation?: CustomerValidationDto | null;
|
|
512
|
+
state: StateModel$1 | null;
|
|
513
|
+
validation?: CustomerValidationDto$1 | null;
|
|
410
514
|
}
|
|
411
|
-
interface CostCodeModel {
|
|
515
|
+
interface CostCodeModel$1 {
|
|
412
516
|
costCode: string;
|
|
413
517
|
description: string;
|
|
414
518
|
id: string;
|
|
415
519
|
isActive: boolean | null;
|
|
416
520
|
}
|
|
417
|
-
interface AccountsReceivableDto {
|
|
418
|
-
agingBucketFuture: AgingBucketDto | null;
|
|
419
|
-
agingBucketTotal: AgingBucketDto | null;
|
|
420
|
-
agingBuckets: AgingBucketDto[] | null;
|
|
521
|
+
interface AccountsReceivableDto$1 {
|
|
522
|
+
agingBucketFuture: AgingBucketDto$1 | null;
|
|
523
|
+
agingBucketTotal: AgingBucketDto$1 | null;
|
|
524
|
+
agingBuckets: AgingBucketDto$1[] | null;
|
|
421
525
|
}
|
|
422
|
-
interface AgingBucketDto {
|
|
526
|
+
interface AgingBucketDto$1 {
|
|
423
527
|
amount: number;
|
|
424
528
|
amountDisplay: string;
|
|
425
529
|
label: string;
|
|
@@ -955,7 +1059,7 @@ interface CartModel extends BaseModel$1 {
|
|
|
955
1059
|
additionalEmails: string;
|
|
956
1060
|
alsoPurchasedProducts: ProductDto[] | null;
|
|
957
1061
|
approverReason: string;
|
|
958
|
-
billTo?: BillToModel | null;
|
|
1062
|
+
billTo?: BillToModel$1 | null;
|
|
959
1063
|
canBypassCheckoutAddress: boolean;
|
|
960
1064
|
canCheckOut: boolean;
|
|
961
1065
|
canEditCostCode: boolean;
|
|
@@ -974,7 +1078,7 @@ interface CartModel extends BaseModel$1 {
|
|
|
974
1078
|
currencySymbol: string;
|
|
975
1079
|
customerOrderTaxes: CustomerOrderTaxDto[] | null;
|
|
976
1080
|
customerVatNumber: string;
|
|
977
|
-
defaultWarehouse: WarehouseModel | null;
|
|
1081
|
+
defaultWarehouse: WarehouseModel$1 | null;
|
|
978
1082
|
displayContinueShoppingLink: boolean;
|
|
979
1083
|
erpOrderNumber: string;
|
|
980
1084
|
failedToGetRealTimeInventory: boolean;
|
|
@@ -1011,7 +1115,7 @@ interface CartModel extends BaseModel$1 {
|
|
|
1011
1115
|
requiresApproval: boolean;
|
|
1012
1116
|
requiresPoNumber: boolean;
|
|
1013
1117
|
salespersonName: string;
|
|
1014
|
-
shipTo?: ShipToModel | null;
|
|
1118
|
+
shipTo?: ShipToModel$1 | null;
|
|
1015
1119
|
shipToLabel: string;
|
|
1016
1120
|
shipVia: ShipViaDto | null;
|
|
1017
1121
|
shippingAndHandling: number;
|
|
@@ -1255,7 +1359,7 @@ interface ProductModel extends BaseModel$1 {
|
|
|
1255
1359
|
urlSegment: string;
|
|
1256
1360
|
variantTraits?: VariantTraitModel[];
|
|
1257
1361
|
variantTypeId: string | null;
|
|
1258
|
-
warehouses?: WarehouseModel[];
|
|
1362
|
+
warehouses?: WarehouseModel$1[];
|
|
1259
1363
|
}
|
|
1260
1364
|
interface AutocompleteItemModel extends BaseModel$1 {
|
|
1261
1365
|
displaySubtitle: JSX.Element;
|
|
@@ -1538,18 +1642,18 @@ interface WarehouseCollectionModel extends BaseModel$1 {
|
|
|
1538
1642
|
defaultRadius: number;
|
|
1539
1643
|
distanceUnitOfMeasure: string;
|
|
1540
1644
|
pagination: PaginationModel$1 | null;
|
|
1541
|
-
warehouses: WarehouseModel[] | null;
|
|
1645
|
+
warehouses: WarehouseModel$1[] | null;
|
|
1542
1646
|
}
|
|
1543
1647
|
interface BreadCrumbModel {
|
|
1544
1648
|
categoryId: string;
|
|
1545
1649
|
text: string;
|
|
1546
1650
|
url: string;
|
|
1547
1651
|
}
|
|
1548
|
-
interface WarehouseModel extends BaseModel$1 {
|
|
1652
|
+
interface WarehouseModel$1 extends BaseModel$1 {
|
|
1549
1653
|
address1: string;
|
|
1550
1654
|
address2: string;
|
|
1551
1655
|
allowPickup: boolean;
|
|
1552
|
-
alternateWarehouses: WarehouseModel[] | null;
|
|
1656
|
+
alternateWarehouses: WarehouseModel$1[] | null;
|
|
1553
1657
|
city: string;
|
|
1554
1658
|
contactName: string;
|
|
1555
1659
|
countryId: string | null;
|
|
@@ -1568,7 +1672,7 @@ interface WarehouseModel extends BaseModel$1 {
|
|
|
1568
1672
|
shipSite: string;
|
|
1569
1673
|
state: string;
|
|
1570
1674
|
}
|
|
1571
|
-
interface WarehouseModel {
|
|
1675
|
+
interface WarehouseModel$1 {
|
|
1572
1676
|
description: string;
|
|
1573
1677
|
id: string;
|
|
1574
1678
|
name: string;
|
|
@@ -1834,7 +1938,7 @@ interface BaseAddressModel extends BaseModel$1 {
|
|
|
1834
1938
|
city: string;
|
|
1835
1939
|
companyName: string;
|
|
1836
1940
|
contactFullName: string;
|
|
1837
|
-
country: CountryModel | null;
|
|
1941
|
+
country: CountryModel$1 | null;
|
|
1838
1942
|
customerName: string;
|
|
1839
1943
|
customerNumber: string;
|
|
1840
1944
|
customerSequence: string;
|
|
@@ -1846,10 +1950,10 @@ interface BaseAddressModel extends BaseModel$1 {
|
|
|
1846
1950
|
lastName: string;
|
|
1847
1951
|
phone: string;
|
|
1848
1952
|
postalCode: string;
|
|
1849
|
-
state: StateModel | null;
|
|
1953
|
+
state: StateModel$1 | null;
|
|
1850
1954
|
}
|
|
1851
1955
|
interface BillToCollectionModel extends BaseModel$1 {
|
|
1852
|
-
billTos: BillToModel[] | null;
|
|
1956
|
+
billTos: BillToModel$1[] | null;
|
|
1853
1957
|
pagination: PaginationModel$1 | null;
|
|
1854
1958
|
}
|
|
1855
1959
|
interface CustomerSettingsModel extends BaseModel$1 {
|
|
@@ -1870,7 +1974,7 @@ interface CustomerSettingsModel extends BaseModel$1 {
|
|
|
1870
1974
|
}
|
|
1871
1975
|
interface ShipToCollectionModel extends BaseModel$1 {
|
|
1872
1976
|
pagination: PaginationModel$1 | null;
|
|
1873
|
-
shipTos: ShipToModel[] | null;
|
|
1977
|
+
shipTos: ShipToModel$1[] | null;
|
|
1874
1978
|
}
|
|
1875
1979
|
interface DashboardPanelCollectionModel extends BaseModel$1 {
|
|
1876
1980
|
dashboardPanels: DashboardPanelModel[] | null;
|
|
@@ -2104,7 +2208,7 @@ interface JobQuoteModel extends BaseModel$1 {
|
|
|
2104
2208
|
additionalEmails: string;
|
|
2105
2209
|
alsoPurchasedProducts: ProductDto[] | null;
|
|
2106
2210
|
approverReason: string;
|
|
2107
|
-
billTo?: BillToModel | null;
|
|
2211
|
+
billTo?: BillToModel$1 | null;
|
|
2108
2212
|
canBypassCheckoutAddress: boolean;
|
|
2109
2213
|
canCheckOut: boolean;
|
|
2110
2214
|
canEditCostCode: boolean;
|
|
@@ -2124,7 +2228,7 @@ interface JobQuoteModel extends BaseModel$1 {
|
|
|
2124
2228
|
customerName: string;
|
|
2125
2229
|
customerOrderTaxes: CustomerOrderTaxDto[] | null;
|
|
2126
2230
|
customerVatNumber: string;
|
|
2127
|
-
defaultWarehouse: WarehouseModel | null;
|
|
2231
|
+
defaultWarehouse: WarehouseModel$1 | null;
|
|
2128
2232
|
displayContinueShoppingLink: boolean;
|
|
2129
2233
|
erpOrderNumber: string;
|
|
2130
2234
|
expirationDate: Date;
|
|
@@ -2168,7 +2272,7 @@ interface JobQuoteModel extends BaseModel$1 {
|
|
|
2168
2272
|
requiresApproval: boolean;
|
|
2169
2273
|
requiresPoNumber: boolean;
|
|
2170
2274
|
salespersonName: string;
|
|
2171
|
-
shipTo?: ShipToModel | null;
|
|
2275
|
+
shipTo?: ShipToModel$1 | null;
|
|
2172
2276
|
shipToFullAddress: string;
|
|
2173
2277
|
shipToLabel: string;
|
|
2174
2278
|
shipVia: ShipViaDto | null;
|
|
@@ -2724,7 +2828,7 @@ interface QuoteModel extends BaseModel$1 {
|
|
|
2724
2828
|
additionalEmails: string;
|
|
2725
2829
|
alsoPurchasedProducts: ProductDto[] | null;
|
|
2726
2830
|
approverReason: string;
|
|
2727
|
-
billTo?: BillToModel | null;
|
|
2831
|
+
billTo?: BillToModel$1 | null;
|
|
2728
2832
|
calculationMethods: CalculationMethod[] | null;
|
|
2729
2833
|
canBypassCheckoutAddress: boolean;
|
|
2730
2834
|
canCheckOut: boolean;
|
|
@@ -2746,7 +2850,7 @@ interface QuoteModel extends BaseModel$1 {
|
|
|
2746
2850
|
customerNumber: string;
|
|
2747
2851
|
customerOrderTaxes: CustomerOrderTaxDto[] | null;
|
|
2748
2852
|
customerVatNumber: string;
|
|
2749
|
-
defaultWarehouse: WarehouseModel | null;
|
|
2853
|
+
defaultWarehouse: WarehouseModel$1 | null;
|
|
2750
2854
|
displayContinueShoppingLink: boolean;
|
|
2751
2855
|
erpOrderNumber: string;
|
|
2752
2856
|
expirationDate: Date | null;
|
|
@@ -2791,7 +2895,7 @@ interface QuoteModel extends BaseModel$1 {
|
|
|
2791
2895
|
requiresApproval: boolean;
|
|
2792
2896
|
requiresPoNumber: boolean;
|
|
2793
2897
|
salespersonName: string;
|
|
2794
|
-
shipTo?: ShipToModel | null;
|
|
2898
|
+
shipTo?: ShipToModel$1 | null;
|
|
2795
2899
|
shipToFullAddress: string;
|
|
2796
2900
|
shipToLabel: string;
|
|
2797
2901
|
shipVia: ShipViaDto | null;
|
|
@@ -2860,13 +2964,13 @@ interface SiteMessageCollectionModel extends BaseModel$1 {
|
|
|
2860
2964
|
siteMessages: SiteMessageModel[] | null;
|
|
2861
2965
|
}
|
|
2862
2966
|
interface CountryCollectionModel extends BaseModel$1 {
|
|
2863
|
-
countries: CountryModel[] | null;
|
|
2967
|
+
countries: CountryModel$1[] | null;
|
|
2864
2968
|
}
|
|
2865
2969
|
interface CurrencyCollectionModel extends BaseModel$1 {
|
|
2866
|
-
currencies: CurrencyModel[] | null;
|
|
2970
|
+
currencies: CurrencyModel$1[] | null;
|
|
2867
2971
|
}
|
|
2868
2972
|
interface LanguageCollectionModel extends BaseModel$1 {
|
|
2869
|
-
languages: LanguageModel[] | null;
|
|
2973
|
+
languages: LanguageModel$1[] | null;
|
|
2870
2974
|
}
|
|
2871
2975
|
interface SettingsCollectionModel extends BaseModel$1 {
|
|
2872
2976
|
settingsCollection: {
|
|
@@ -2874,7 +2978,7 @@ interface SettingsCollectionModel extends BaseModel$1 {
|
|
|
2874
2978
|
} | null;
|
|
2875
2979
|
}
|
|
2876
2980
|
interface StateCollectionModel extends BaseModel$1 {
|
|
2877
|
-
states: StateModel[] | null;
|
|
2981
|
+
states: StateModel$1[] | null;
|
|
2878
2982
|
}
|
|
2879
2983
|
interface TranslationDictionaryCollectionModel extends BaseModel$1 {
|
|
2880
2984
|
pagination: PaginationModel$1 | null;
|
|
@@ -2947,7 +3051,7 @@ interface SiteMessageModel {
|
|
|
2947
3051
|
message: string;
|
|
2948
3052
|
name: string;
|
|
2949
3053
|
}
|
|
2950
|
-
interface WishListCollectionModel extends BaseModel$1 {
|
|
3054
|
+
interface WishListCollectionModel$1 extends BaseModel$1 {
|
|
2951
3055
|
pagination: PaginationModel$1 | null;
|
|
2952
3056
|
wishListCollection: WishListModel$1[] | null;
|
|
2953
3057
|
}
|
|
@@ -2968,7 +3072,7 @@ interface UpdateWishListLineCollectionModel extends BaseModel$1 {
|
|
|
2968
3072
|
includeListLines: boolean;
|
|
2969
3073
|
wishListId: string;
|
|
2970
3074
|
}
|
|
2971
|
-
interface WishListLineCollectionModel extends BaseModel$1 {
|
|
3075
|
+
interface WishListLineCollectionModel$1 extends BaseModel$1 {
|
|
2972
3076
|
changedListLineQuantities: {
|
|
2973
3077
|
[key: string]: number;
|
|
2974
3078
|
} | null;
|
|
@@ -3075,6 +3179,245 @@ interface VmiUserImportCollectionModel extends BaseModel$1 {
|
|
|
3075
3179
|
vmiUsers: VmiUserImportModel[] | null;
|
|
3076
3180
|
}
|
|
3077
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
|
+
|
|
3078
3421
|
interface ProductSubscriptionDto$1 {
|
|
3079
3422
|
subscriptionAddToInitialOrder: boolean
|
|
3080
3423
|
subscriptionAllMonths: boolean
|
|
@@ -3097,44 +3440,6 @@ interface ProductSubscriptionDto$1 {
|
|
|
3097
3440
|
subscriptionTotalCycles: number
|
|
3098
3441
|
}
|
|
3099
3442
|
|
|
3100
|
-
interface SectionOptionDto$1 {
|
|
3101
|
-
optionName: string
|
|
3102
|
-
sectionName: string
|
|
3103
|
-
sectionOptionId: string
|
|
3104
|
-
}
|
|
3105
|
-
|
|
3106
|
-
declare enum AvailabilityMessageType$1 {
|
|
3107
|
-
NoMessage = 0,
|
|
3108
|
-
Available = 1,
|
|
3109
|
-
OutOfStock = 2,
|
|
3110
|
-
LowStock = 3,
|
|
3111
|
-
}
|
|
3112
|
-
|
|
3113
|
-
interface AvailabilityDto$1 {
|
|
3114
|
-
message: string
|
|
3115
|
-
messageType: AvailabilityMessageType$1 | null
|
|
3116
|
-
requiresRealTimeInventory: boolean
|
|
3117
|
-
}
|
|
3118
|
-
|
|
3119
|
-
interface BrandDto$1 {
|
|
3120
|
-
detailPagePath: string
|
|
3121
|
-
id: string
|
|
3122
|
-
logoImageAltText: string
|
|
3123
|
-
logoLargeImagePath: string
|
|
3124
|
-
logoSmallImagePath: string
|
|
3125
|
-
name: string
|
|
3126
|
-
urlSegment: string
|
|
3127
|
-
}
|
|
3128
|
-
|
|
3129
|
-
interface BreakPriceDto$1 {
|
|
3130
|
-
breakPrice: number
|
|
3131
|
-
breakPriceDisplay: string
|
|
3132
|
-
breakPriceWithVat: number
|
|
3133
|
-
breakPriceWithVatDisplay: string
|
|
3134
|
-
breakQty: number
|
|
3135
|
-
savingsMessage: string
|
|
3136
|
-
}
|
|
3137
|
-
|
|
3138
3443
|
interface ProductPriceDto$1 {
|
|
3139
3444
|
actualBreakPrices: BreakPriceDto$1[] | null
|
|
3140
3445
|
actualPrice: number
|
|
@@ -3181,7 +3486,32 @@ interface ProductPriceDto$1 {
|
|
|
3181
3486
|
vatRate: number
|
|
3182
3487
|
}
|
|
3183
3488
|
|
|
3184
|
-
interface
|
|
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 {
|
|
3185
3515
|
allowZeroPricing: boolean
|
|
3186
3516
|
altText: string
|
|
3187
3517
|
availability: AvailabilityDto$1 | null
|
|
@@ -3216,7 +3546,6 @@ interface CartLineModel$1 {
|
|
|
3216
3546
|
productName: string
|
|
3217
3547
|
productSubscription: ProductSubscriptionDto$1 | null
|
|
3218
3548
|
productUri: string
|
|
3219
|
-
properties: { [key: string]: string }
|
|
3220
3549
|
qtyLeft: number
|
|
3221
3550
|
qtyOnHand: number
|
|
3222
3551
|
qtyOrdered: number | null
|
|
@@ -3231,102 +3560,178 @@ interface CartLineModel$1 {
|
|
|
3231
3560
|
unitOfMeasure: string
|
|
3232
3561
|
unitOfMeasureDescription: string
|
|
3233
3562
|
unitOfMeasureDisplay: string
|
|
3234
|
-
uri: string
|
|
3235
3563
|
vmiBinId?: string | null
|
|
3236
3564
|
}
|
|
3237
3565
|
|
|
3238
|
-
interface
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
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
|
|
3242
3588
|
}
|
|
3243
|
-
declare function useAddProductToCurrentCart(): _tanstack_react_query.UseMutationResult<CartLineModel$1, Error, AddProductToCurrentCartParams, unknown>;
|
|
3244
|
-
|
|
3245
|
-
declare function useDeleteCartLineById(): _tanstack_react_query.UseMutationResult<void, Error, string, unknown>;
|
|
3246
|
-
|
|
3247
|
-
declare function useFetchCurrentCartLines(): _tanstack_react_query.UseQueryResult<CartLineModel$1[] | null, Error>;
|
|
3248
3589
|
|
|
3249
|
-
interface
|
|
3250
|
-
|
|
3251
|
-
|
|
3590
|
+
interface WarehouseModel {
|
|
3591
|
+
description: string
|
|
3592
|
+
id: string
|
|
3593
|
+
name: string
|
|
3594
|
+
qtyAvailable: number
|
|
3252
3595
|
}
|
|
3253
|
-
declare function useUpdateCartLineById(): _tanstack_react_query.UseMutationResult<void, Error, UpdateCartLineParams, unknown>;
|
|
3254
|
-
|
|
3255
|
-
/* eslint-disable sort-keys-fix/sort-keys-fix */
|
|
3256
|
-
declare const breakpoints = {
|
|
3257
|
-
sm: 0,
|
|
3258
|
-
md: 576,
|
|
3259
|
-
lg: 768,
|
|
3260
|
-
xl: 1024,
|
|
3261
|
-
xxl: 1440,
|
|
3262
|
-
} as const
|
|
3263
|
-
/* eslint-enable sort-keys-fix/sort-keys-fix */
|
|
3264
3596
|
|
|
3265
|
-
|
|
3597
|
+
interface SectionOptionDto$1 {
|
|
3598
|
+
optionName: string
|
|
3599
|
+
sectionName: string
|
|
3600
|
+
sectionOptionId: string
|
|
3601
|
+
}
|
|
3266
3602
|
|
|
3267
|
-
interface
|
|
3268
|
-
|
|
3603
|
+
interface SectionOptionDto$1 {
|
|
3604
|
+
optionName: string
|
|
3605
|
+
sectionName: string
|
|
3606
|
+
sectionOptionId: string
|
|
3269
3607
|
}
|
|
3270
3608
|
|
|
3271
|
-
|
|
3609
|
+
interface WishListCollectionModel extends BaseModel {
|
|
3610
|
+
pagination: PaginationModel | null
|
|
3611
|
+
wishListCollection: WishListModel[] | null
|
|
3612
|
+
}
|
|
3272
3613
|
|
|
3273
|
-
|
|
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
|
+
}
|
|
3274
3624
|
|
|
3275
|
-
interface
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
open: () => void;
|
|
3280
|
-
toggle: () => void;
|
|
3625
|
+
interface WishListLineCollectionModel extends BaseModel {
|
|
3626
|
+
changedListLineQuantities: { [key: string]: number } | null
|
|
3627
|
+
pagination: PaginationModel | null
|
|
3628
|
+
wishListLines: WishListLineModel[] | null
|
|
3281
3629
|
}
|
|
3282
|
-
declare const useDisclosure: (initialState?: boolean) => UseDisclosureReturnType;
|
|
3283
3630
|
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
3288
|
-
// this file is auto generated and should not be modified by hand
|
|
3289
|
-
interface BaseModel {
|
|
3290
|
-
properties: { [key: string]: string }
|
|
3291
|
-
uri: string
|
|
3631
|
+
interface WishListShareModel extends BaseModel {
|
|
3632
|
+
displayName: string
|
|
3633
|
+
id: string
|
|
3292
3634
|
}
|
|
3293
3635
|
|
|
3294
|
-
interface
|
|
3295
|
-
|
|
3296
|
-
|
|
3297
|
-
|
|
3298
|
-
|
|
3299
|
-
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
|
|
3305
|
-
|
|
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
|
|
3306
3679
|
}
|
|
3307
3680
|
|
|
3308
|
-
interface
|
|
3309
|
-
|
|
3310
|
-
|
|
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
|
|
3311
3709
|
}
|
|
3312
3710
|
|
|
3313
|
-
declare
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
|
|
3317
|
-
|
|
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;
|
|
3318
3717
|
}
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
|
|
3322
|
-
|
|
3323
|
-
|
|
3324
|
-
|
|
3325
|
-
|
|
3326
|
-
|
|
3327
|
-
|
|
3328
|
-
|
|
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;
|
|
3329
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>;
|
|
3330
3735
|
|
|
3331
3736
|
interface ProductSubscriptionDto {
|
|
3332
3737
|
subscriptionAddToInitialOrder: boolean
|
|
@@ -3350,6 +3755,44 @@ interface ProductSubscriptionDto {
|
|
|
3350
3755
|
subscriptionTotalCycles: number
|
|
3351
3756
|
}
|
|
3352
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
|
+
|
|
3353
3796
|
interface ProductPriceDto {
|
|
3354
3797
|
actualBreakPrices: BreakPriceDto[] | null
|
|
3355
3798
|
actualPrice: number
|
|
@@ -3396,32 +3839,7 @@ interface ProductPriceDto {
|
|
|
3396
3839
|
vatRate: number
|
|
3397
3840
|
}
|
|
3398
3841
|
|
|
3399
|
-
interface
|
|
3400
|
-
breakPrice: number
|
|
3401
|
-
breakPriceDisplay: string
|
|
3402
|
-
breakPriceWithVat: number
|
|
3403
|
-
breakPriceWithVatDisplay: string
|
|
3404
|
-
breakQty: number
|
|
3405
|
-
savingsMessage: string
|
|
3406
|
-
}
|
|
3407
|
-
|
|
3408
|
-
interface BrandDto {
|
|
3409
|
-
detailPagePath: string
|
|
3410
|
-
id: string
|
|
3411
|
-
logoImageAltText: string
|
|
3412
|
-
logoLargeImagePath: string
|
|
3413
|
-
logoSmallImagePath: string
|
|
3414
|
-
name: string
|
|
3415
|
-
urlSegment: string
|
|
3416
|
-
}
|
|
3417
|
-
|
|
3418
|
-
interface AvailabilityDto {
|
|
3419
|
-
message: string
|
|
3420
|
-
messageType: AvailabilityMessageType | null
|
|
3421
|
-
requiresRealTimeInventory: boolean
|
|
3422
|
-
}
|
|
3423
|
-
|
|
3424
|
-
interface CartLineModel extends BaseModel {
|
|
3842
|
+
interface CartLineModel {
|
|
3425
3843
|
allowZeroPricing: boolean
|
|
3426
3844
|
altText: string
|
|
3427
3845
|
availability: AvailabilityDto | null
|
|
@@ -3456,6 +3874,7 @@ interface CartLineModel extends BaseModel {
|
|
|
3456
3874
|
productName: string
|
|
3457
3875
|
productSubscription: ProductSubscriptionDto | null
|
|
3458
3876
|
productUri: string
|
|
3877
|
+
properties: { [key: string]: string }
|
|
3459
3878
|
qtyLeft: number
|
|
3460
3879
|
qtyOnHand: number
|
|
3461
3880
|
qtyOrdered: number | null
|
|
@@ -3470,117 +3889,238 @@ interface CartLineModel extends BaseModel {
|
|
|
3470
3889
|
unitOfMeasure: string
|
|
3471
3890
|
unitOfMeasureDescription: string
|
|
3472
3891
|
unitOfMeasureDisplay: string
|
|
3892
|
+
uri: string
|
|
3473
3893
|
vmiBinId?: string | null
|
|
3474
3894
|
}
|
|
3475
3895
|
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
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;
|
|
3480
3908
|
}
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
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();
|
|
3486
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>;
|
|
3487
4004
|
|
|
3488
|
-
|
|
3489
|
-
endDate: Date | null
|
|
3490
|
-
lastDateSent: Date | null
|
|
3491
|
-
message: string
|
|
3492
|
-
repeatInterval: number
|
|
3493
|
-
repeatPeriod: string
|
|
3494
|
-
sendDayOfMonth: number
|
|
3495
|
-
sendDayOfWeek: string
|
|
3496
|
-
startDate: Date
|
|
3497
|
-
}
|
|
4005
|
+
declare function useIsAuthenticated(): boolean | undefined;
|
|
3498
4006
|
|
|
3499
|
-
|
|
3500
|
-
|
|
3501
|
-
|
|
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
|
|
3502
4014
|
}
|
|
3503
4015
|
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
canAddToCart: boolean
|
|
3513
|
-
canBackOrder: boolean
|
|
3514
|
-
canEnterQuantity: boolean
|
|
3515
|
-
canShowPrice: boolean
|
|
3516
|
-
canShowUnitOfMeasure: boolean
|
|
3517
|
-
createdByDisplayName: string
|
|
3518
|
-
createdOn: Date
|
|
3519
|
-
customerName: string
|
|
3520
|
-
erpNumber: string
|
|
3521
|
-
id: string
|
|
3522
|
-
isActive: boolean
|
|
3523
|
-
isDiscontinued: boolean
|
|
3524
|
-
isQtyAdjusted: boolean
|
|
3525
|
-
isSharedLine: boolean
|
|
3526
|
-
isVisible: boolean
|
|
3527
|
-
manufacturerItem: string
|
|
3528
|
-
notes: string
|
|
3529
|
-
packDescription: string
|
|
3530
|
-
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 {
|
|
3531
4024
|
productId: string
|
|
3532
|
-
productName: string
|
|
3533
|
-
productUnitOfMeasures: ProductUnitOfMeasureDto[] | null
|
|
3534
|
-
productUri: string
|
|
3535
|
-
qtyOnHand: number
|
|
3536
4025
|
qtyOrdered: number
|
|
3537
|
-
qtyPerBaseUnitOfMeasure: number
|
|
3538
|
-
quoteRequired: boolean
|
|
3539
|
-
selectedUnitOfMeasure: string
|
|
3540
|
-
shortDescription: string
|
|
3541
|
-
smallImagePath: string
|
|
3542
|
-
sortOrder: number
|
|
3543
|
-
trackInventory: boolean
|
|
3544
4026
|
unitOfMeasure: string
|
|
3545
|
-
unitOfMeasureDescription: string
|
|
3546
|
-
unitOfMeasureDisplay: string
|
|
3547
4027
|
}
|
|
3548
4028
|
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
|
|
3563
|
-
|
|
3564
|
-
|
|
3565
|
-
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
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;
|
|
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;
|
|
3577
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;
|
|
3578
4118
|
|
|
3579
4119
|
interface Props$2 {
|
|
3580
|
-
onCartLineAdded?: (cartLine: CartLineModel) => void;
|
|
3581
|
-
onCartLineError?: (error: Error, cartLine: CartLineModel | undefined) => void;
|
|
3582
|
-
onCartLineRemoved?: (cartLine: CartLineModel) => void;
|
|
3583
|
-
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;
|
|
3584
4124
|
}
|
|
3585
4125
|
declare function CartProvider(props: Props$2): null;
|
|
3586
4126
|
declare function useCartEvents(): Props$2;
|
|
@@ -4030,8 +4570,6 @@ interface TextFieldProps {
|
|
|
4030
4570
|
*/
|
|
4031
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;
|
|
4032
4572
|
|
|
4033
|
-
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';
|
|
4034
|
-
|
|
4035
4573
|
interface FormattedMessageProps {
|
|
4036
4574
|
fallbackValue?: string;
|
|
4037
4575
|
id: TranslationId;
|
|
@@ -4040,8 +4578,6 @@ interface FormattedMessageProps {
|
|
|
4040
4578
|
}
|
|
4041
4579
|
declare const FormattedMessage: ComponentType<FormattedMessageProps>;
|
|
4042
4580
|
|
|
4043
|
-
type FormatMessageFunction = (id: string, ...replacementValues: readonly string[]) => string | undefined;
|
|
4044
|
-
|
|
4045
4581
|
interface IntlProviderProps {
|
|
4046
4582
|
children: React.ReactNode;
|
|
4047
4583
|
formatMessage: FormatMessageFunction;
|
|
@@ -4180,7 +4716,7 @@ declare function AlgoliaMultiSelectFilterSection({ attribute, }: AlgoliaMultiSel
|
|
|
4180
4716
|
interface AlgoliaPaginationProps {
|
|
4181
4717
|
onChange: (pageNumber: number) => void;
|
|
4182
4718
|
}
|
|
4183
|
-
declare function AlgoliaPagination({ onChange }: AlgoliaPaginationProps): react_jsx_runtime.JSX.Element;
|
|
4719
|
+
declare function AlgoliaPagination({ onChange }: AlgoliaPaginationProps): react_jsx_runtime.JSX.Element | null;
|
|
4184
4720
|
|
|
4185
4721
|
declare const createSonicSearchClient: ({ apiKey, appId, host, }: {
|
|
4186
4722
|
apiKey: string;
|
|
@@ -4215,9 +4751,6 @@ interface AlgoliaProviderProps {
|
|
|
4215
4751
|
routing?: boolean | RouterProps<UiState, UiState> | undefined;
|
|
4216
4752
|
searchClient: SearchClient;
|
|
4217
4753
|
}
|
|
4218
|
-
declare function AlgoliaInsightInstantSearchProvider({ children, }: {
|
|
4219
|
-
children?: ReactNode;
|
|
4220
|
-
}): react_jsx_runtime.JSX.Element;
|
|
4221
4754
|
declare function AlgoliaProvider({ categoryPages, children, hierarchicalCategories, languageCode, offlineSearchClient, online: _online, query, routing, searchClient, }: AlgoliaProviderProps): react_jsx_runtime.JSX.Element;
|
|
4222
4755
|
declare function useAlgolia(): {
|
|
4223
4756
|
online: boolean;
|
|
@@ -4443,4 +4976,4 @@ declare function ReactQueryContainer({ children }: {
|
|
|
4443
4976
|
children: ReactNode;
|
|
4444
4977
|
}): react_jsx_runtime.JSX.Element;
|
|
4445
4978
|
|
|
4446
|
-
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 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 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, 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, Link, type LinkProps, LoadingOverlay, type MessageCollectionModel, type MessageModel, type MobileAppSettingsModel, type MobileContentModel, type MobilePageDto, type MobileWidgetDto, MultiSelect, type MultiSelectProps, type NavigateFn, type 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 };
|