@shipengine/elements 2.9.1 → 2.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/actions-menu.js +5 -5
- package/carrier.js +1 -1
- package/components.js +1 -1
- package/elements.js +1 -1
- package/hooks.js +1 -1
- package/index.js +1 -1
- package/{warehouses.js → insurance.js} +1 -1
- package/package.json +3 -3
- package/shipment.js +1 -1
- package/src/components/add-funds-form/add-funds-form.d.ts +2 -1
- package/src/components/enable-insurance-banner/enable-insurance-banner.d.ts +8 -0
- package/src/components/enable-insurance-banner/enable-insurance-banner.styles.d.ts +37 -0
- package/src/components/enable-insurance-banner/index.d.ts +1 -0
- package/src/components/field/rate-card/insurance-popover/index.d.ts +1 -0
- package/src/components/field/rate-card/insurance-popover/insurance-popover.d.ts +11 -0
- package/src/components/field/rate-card/insurance-popover/insurance-popover.styles.d.ts +14 -0
- package/src/components/field/rate-card/rate-card.d.ts +1 -1
- package/src/components/field/rate-card/rate-card.styles.d.ts +1 -0
- package/src/components/fund-and-purchase/fund-and-purchase.d.ts +2 -1
- package/src/components/templates/index.d.ts +1 -0
- package/src/components/templates/label/label.d.ts +1 -0
- package/src/components/templates/rate-form/rate-form.styles.d.ts +3 -0
- package/src/components/templates/rate-form/rate-view.d.ts +36 -0
- package/src/components/templates/register-funding-source-insurance-form/index.d.ts +2 -0
- package/src/components/templates/register-funding-source-insurance-form/register-funding-source-insurance-form-shema.d.ts +10 -0
- package/src/components/templates/register-funding-source-insurance-form/register-funding-source-insurance-form.d.ts +15 -0
- package/src/components/templates/register-funding-source-insurance-form/register-funding-source-insurance-from.styles.d.ts +14 -0
- package/src/components/templates/shipment/shipment.d.ts +1 -1
- package/src/components/templates/shipment-form/sections/customs-forms/components/index.d.ts +1 -0
- package/src/components/templates/shipment-form/sections/customs-forms/components/windsor-framework/windsor-framework.d.ts +7 -0
- package/src/components/templates/shipment-form/sections/customs-forms/components/windsor-framework/windsor-framework.styles.d.ts +20 -0
- package/src/components/templates/shipment-form/sections/customs-forms/customs-forms.d.ts +2 -1
- package/src/components/templates/shipment-form/shipment-form.styles.d.ts +20 -0
- package/src/components/templates/shipment-form/shipment-schema.d.ts +201 -13
- package/src/elements/label-layout/label-layout-element.d.ts +59 -6
- package/src/elements/labels-grid/labels-grid.d.ts +67 -15
- package/src/elements/manage-carriers/manage-carriers.d.ts +59 -6
- package/src/elements/manage-external-carriers/manage-external-carriers.d.ts +81 -27
- package/src/elements/manage-funding/manage-funding-element.d.ts +59 -6
- package/src/elements/manage-warehouses/manage-warehouses.d.ts +59 -6
- package/src/elements/payment-method-settings/payment-method-settings-element.d.ts +59 -6
- package/src/elements/purchase-label/purchase-label.d.ts +83 -22
- package/src/elements/shipment-summary/shipment-summary.d.ts +102 -27
- package/src/elements/shipments-grid/hooks/use-shipments-grid.d.ts +4 -0
- package/src/elements/shipments-grid/shipments-grid.d.ts +61 -13
- package/src/elements/theme-creator/theme-creator.d.ts +59 -6
- package/src/elements/transaction-history/transaction-history-element.d.ts +59 -6
- package/src/elements/unit-settings/unit-settings-element.d.ts +59 -6
- package/src/elements/vat-settings/vat-settings-element.d.ts +59 -6
- package/src/elements/void-label/void-label.d.ts +73 -57
- package/src/features/manage-carriers/hooks/use-list-funding-source-carriers.d.ts +3 -1
- package/src/features/manage-carriers/manage-insurance-provider-row/index.d.ts +1 -0
- package/src/features/manage-carriers/manage-insurance-provider-row/info-popover.d.ts +10 -0
- package/src/features/manage-carriers/manage-insurance-provider-row/manage-insurance-provider-row.d.ts +7 -0
- package/src/features/manage-carriers/manage-insurance-provider-row/manage-insurance-provider-row.styles.d.ts +37 -0
- package/src/hooks/index.d.ts +1 -0
- package/src/hooks/insurance/index.d.ts +2 -0
- package/src/hooks/insurance/use-get-funding-source-insurance-provider.d.ts +14 -0
- package/src/hooks/insurance/use-manage-funding-source-insurance.d.ts +10 -0
- package/src/hooks/options/index.d.ts +2 -0
- package/src/hooks/options/use-insurance-provider-options.d.ts +8 -3
- package/src/hooks/options/use-movement-indicator-options.d.ts +12 -0
- package/src/hooks/options/use-rate-options.d.ts +4 -1
- package/src/hooks/options/use-windsor-framework.d.ts +9 -0
- package/src/locales/en/index.d.ts +59 -6
- package/src/types/index.d.ts +1 -0
- package/src/types/insurance-metadata.d.ts +25 -0
- package/src/utilities/feature-flags/types.d.ts +8 -0
- package/src/utilities/shipengine/carrier.d.ts +16 -0
- package/src/utilities/shipengine/index.d.ts +1 -0
- package/src/utilities/shipengine/insurance.d.ts +17 -0
- package/src/workflows/account-settings/account-settings.d.ts +86 -7
- package/src/workflows/carrier-services/carrier-services.d.ts +59 -6
- package/src/workflows/connect-external-carrier/connect-external-carrier.d.ts +59 -6
- package/src/workflows/onboarding/components/carrier-recovery-form/carrier-recovery-form-schema.d.ts +18 -18
- package/src/workflows/onboarding/components/confirmation-and-submission-step/use-confirmation-and-submission-step.d.ts +4 -2
- package/src/workflows/onboarding/components/terms-agreement-form/terms-agreement-form.d.ts +2 -1
- package/src/workflows/onboarding/components/terms-agreement-step/terms-agreement-step.d.ts +4 -3
- package/src/workflows/onboarding/components/terms-agreement-step/terms-agreement-step.styles.d.ts +4 -0
- package/src/workflows/onboarding/components/terms-agreement-step/use-terms-agreement-step.d.ts +3 -3
- package/src/workflows/onboarding/onboarding.d.ts +60 -7
- package/suspend-text.js +1 -1
- package/transaction-history-element.js +1 -1
- package/use-run-once-on-true.js +1 -0
- package/use-scrub-errors.js +1 -1
- package/use-toggle.js +1 -1
- package/use-unit-settings.js +1 -1
- package/usePager.js +1 -1
- package/utilities.js +1 -1
- package/vat.js +1 -1
- package/wallet-form.js +1 -1
- package/workflows.js +1 -1
- package/carrier-logo.js +0 -1
|
@@ -53,6 +53,7 @@ declare const _default: {
|
|
|
53
53
|
showItems: string;
|
|
54
54
|
void: string;
|
|
55
55
|
download: string;
|
|
56
|
+
fileClaim: string;
|
|
56
57
|
};
|
|
57
58
|
fields: {
|
|
58
59
|
dimensions: string;
|
|
@@ -68,6 +69,20 @@ declare const _default: {
|
|
|
68
69
|
insuredValue: string;
|
|
69
70
|
deliveryConfirmation: string;
|
|
70
71
|
};
|
|
72
|
+
insurance: {
|
|
73
|
+
parcelguard: {
|
|
74
|
+
title: string;
|
|
75
|
+
description: string;
|
|
76
|
+
cta: {
|
|
77
|
+
title: string;
|
|
78
|
+
description: string;
|
|
79
|
+
};
|
|
80
|
+
registerSuccess: {
|
|
81
|
+
title: string;
|
|
82
|
+
description: string;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
};
|
|
71
86
|
highVolumeForms: string;
|
|
72
87
|
multipleShippingServices: string;
|
|
73
88
|
sections: {
|
|
@@ -110,12 +125,6 @@ declare const _default: {
|
|
|
110
125
|
};
|
|
111
126
|
"register-wallet": {
|
|
112
127
|
sections: {
|
|
113
|
-
setup: {
|
|
114
|
-
title: string;
|
|
115
|
-
subtitle: string;
|
|
116
|
-
descriptionTitle: string;
|
|
117
|
-
description: string;
|
|
118
|
-
};
|
|
119
128
|
billing: {
|
|
120
129
|
title: string;
|
|
121
130
|
cardSubTitle: string;
|
|
@@ -128,6 +137,17 @@ declare const _default: {
|
|
|
128
137
|
title: string;
|
|
129
138
|
subtitle: string;
|
|
130
139
|
};
|
|
140
|
+
insuranceProviders: {
|
|
141
|
+
parcelguard: {
|
|
142
|
+
description: string;
|
|
143
|
+
terms: string;
|
|
144
|
+
termsLink: string;
|
|
145
|
+
popover: {
|
|
146
|
+
title: string;
|
|
147
|
+
description: string;
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
};
|
|
131
151
|
notifications: {
|
|
132
152
|
error: {
|
|
133
153
|
title: string;
|
|
@@ -222,6 +242,7 @@ declare const _default: {
|
|
|
222
242
|
};
|
|
223
243
|
cta: {
|
|
224
244
|
addPackageDetails: string;
|
|
245
|
+
parcelguard: string;
|
|
225
246
|
};
|
|
226
247
|
errorMessages: {
|
|
227
248
|
customsItemsRequired: string;
|
|
@@ -292,6 +313,17 @@ declare const _default: {
|
|
|
292
313
|
dhlExpressTermsAcknowledgement: string;
|
|
293
314
|
noRateService: string;
|
|
294
315
|
};
|
|
316
|
+
windsorFramework: {
|
|
317
|
+
movementIndicator: string;
|
|
318
|
+
movementIndicators: {
|
|
319
|
+
b2c: string;
|
|
320
|
+
c2b: string;
|
|
321
|
+
c2c: string;
|
|
322
|
+
b2b: string;
|
|
323
|
+
};
|
|
324
|
+
notAtRisk: string;
|
|
325
|
+
notAtRiskShipmentTootip: string;
|
|
326
|
+
};
|
|
295
327
|
requirements: {
|
|
296
328
|
noWarehouse: string;
|
|
297
329
|
noCarrier: string;
|
|
@@ -322,6 +354,7 @@ declare const _default: {
|
|
|
322
354
|
shipToAddressFormFields: string;
|
|
323
355
|
sections: {
|
|
324
356
|
customsForm: string;
|
|
357
|
+
windsorFramework: string;
|
|
325
358
|
shipment: string;
|
|
326
359
|
rate_one: string;
|
|
327
360
|
rate_other: string;
|
|
@@ -346,6 +379,10 @@ declare const _default: {
|
|
|
346
379
|
shipFromAddress: string;
|
|
347
380
|
fundingAndCarrierConnection: string;
|
|
348
381
|
};
|
|
382
|
+
termsAgreement: {
|
|
383
|
+
title: string;
|
|
384
|
+
subtitle: string;
|
|
385
|
+
};
|
|
349
386
|
warehouse: {
|
|
350
387
|
title: string;
|
|
351
388
|
subtitle: string;
|
|
@@ -622,6 +659,7 @@ declare const _default: {
|
|
|
622
659
|
continue: string;
|
|
623
660
|
delete: string;
|
|
624
661
|
edit: string;
|
|
662
|
+
enable: string;
|
|
625
663
|
hide: string;
|
|
626
664
|
parse: string;
|
|
627
665
|
purchase: string;
|
|
@@ -782,6 +820,14 @@ declare const _default: {
|
|
|
782
820
|
unknown: string;
|
|
783
821
|
noRatesAvailable: string;
|
|
784
822
|
refreshAndTryAgain: string;
|
|
823
|
+
windsorFramework: {
|
|
824
|
+
doNotConform: string;
|
|
825
|
+
pleaseAddTheFollowingTaxIds: string;
|
|
826
|
+
windsorFrameworkDefaultMessage: string;
|
|
827
|
+
shipperEori: string;
|
|
828
|
+
recipientEori: string;
|
|
829
|
+
ukims: string;
|
|
830
|
+
};
|
|
785
831
|
};
|
|
786
832
|
errorTypes: {
|
|
787
833
|
accountStatus: string;
|
|
@@ -795,6 +841,7 @@ declare const _default: {
|
|
|
795
841
|
system: string;
|
|
796
842
|
unknown: string;
|
|
797
843
|
validation: string;
|
|
844
|
+
windsorFramework: string;
|
|
798
845
|
};
|
|
799
846
|
grid: {
|
|
800
847
|
"row-count_one": string;
|
|
@@ -821,8 +868,10 @@ declare const _default: {
|
|
|
821
868
|
insuranceProviders: {
|
|
822
869
|
carrier: string;
|
|
823
870
|
none: string;
|
|
871
|
+
parcelguard: string;
|
|
824
872
|
shipsurance: string;
|
|
825
873
|
thirdParty: string;
|
|
874
|
+
x_cover: string;
|
|
826
875
|
};
|
|
827
876
|
loading: {
|
|
828
877
|
accountSettings: string;
|
|
@@ -900,6 +949,9 @@ declare const _default: {
|
|
|
900
949
|
platform: string;
|
|
901
950
|
user: string;
|
|
902
951
|
};
|
|
952
|
+
tags: {
|
|
953
|
+
new: string;
|
|
954
|
+
};
|
|
903
955
|
terms: {
|
|
904
956
|
fields: {
|
|
905
957
|
agreement: string;
|
|
@@ -907,6 +959,7 @@ declare const _default: {
|
|
|
907
959
|
agreeToTerms: string;
|
|
908
960
|
carriersTitle: string;
|
|
909
961
|
fundingSourceTitle: string;
|
|
962
|
+
insuranceProvidersTitle: string;
|
|
910
963
|
shipEngineTitle: string;
|
|
911
964
|
};
|
|
912
965
|
weight: {
|
package/src/types/index.d.ts
CHANGED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { SE } from "@shipengine/react-api";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*
|
|
5
|
+
* # Insurance Metadata - Insurance Provider With Friendly Name
|
|
6
|
+
*/
|
|
7
|
+
export type InsuranceProviderWithFriendlyName = {
|
|
8
|
+
friendlyName: "ParcelGuard" | "XCover";
|
|
9
|
+
provider: SE.FundingSourceInsuranceProvider;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*
|
|
14
|
+
* # Insurance Metadata - Insurance Provider Profile
|
|
15
|
+
*/
|
|
16
|
+
export type InsuranceProviderProfile = {
|
|
17
|
+
agreedToTerms?: boolean;
|
|
18
|
+
terms: SE.MetadataOptionalTerm;
|
|
19
|
+
} & InsuranceProviderWithFriendlyName;
|
|
20
|
+
/**
|
|
21
|
+
* @internal
|
|
22
|
+
*
|
|
23
|
+
* # Insurance Metadata - Insurance Provider Record
|
|
24
|
+
*/
|
|
25
|
+
export type InsuranceProviderRecord = Record<string, InsuranceProviderWithFriendlyName>;
|
|
@@ -42,6 +42,10 @@ export type ShipmentFormFeatures = {
|
|
|
42
42
|
* varying shipment configurations. This is useful for rate shopping.
|
|
43
43
|
*/
|
|
44
44
|
browseRates?: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Enables the `carrier insurance` feature, allowing users to select carrier insurance when insuring their shipment.
|
|
47
|
+
*/
|
|
48
|
+
includeCarrierInsurance?: boolean;
|
|
45
49
|
/**
|
|
46
50
|
* Enables the `shipsurance insurance` feature, allowing users to select Shipsurance when insuring their shipment.
|
|
47
51
|
*/
|
|
@@ -64,6 +68,10 @@ export type ShipmentSummaryFeatures = {
|
|
|
64
68
|
schedulePickup?: boolean;
|
|
65
69
|
};
|
|
66
70
|
export type PurchaseLabelFeatures = {
|
|
71
|
+
/**
|
|
72
|
+
* Feature still in beta. When enabled, the Windsor Framework will display forms, messaging, and error messages if a shipment requires specific Windsor Framework features.
|
|
73
|
+
*/
|
|
74
|
+
betaEnableWindsorFramework?: boolean;
|
|
67
75
|
/**
|
|
68
76
|
* List of all supported `countries` available in ShipEngine Elements.
|
|
69
77
|
*/
|
|
@@ -15,6 +15,22 @@ export declare const isUspsCarrier: (carrierCode: string) => boolean;
|
|
|
15
15
|
* @category Utilities
|
|
16
16
|
*/
|
|
17
17
|
export declare const isUpsCarrier: (carrierCode: string) => boolean;
|
|
18
|
+
/**
|
|
19
|
+
* @internal
|
|
20
|
+
*
|
|
21
|
+
* # Carrier Utilities - isYodelCarrier
|
|
22
|
+
*
|
|
23
|
+
* @category Utilities
|
|
24
|
+
*/
|
|
25
|
+
export declare const isYodelCarrier: (carrierCode: string) => boolean;
|
|
26
|
+
/**
|
|
27
|
+
* @internal
|
|
28
|
+
*
|
|
29
|
+
* # Carrier Utilities - isEvriCarrier
|
|
30
|
+
*
|
|
31
|
+
* @category Utilities
|
|
32
|
+
*/
|
|
33
|
+
export declare const isEvriCarrier: (carrierCode: string) => boolean;
|
|
18
34
|
/**
|
|
19
35
|
* @internal
|
|
20
36
|
*
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { SE } from "@shipengine/react-api";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*
|
|
5
|
+
* # Insurance Utilities - getInsuranceProviderWithFriendlyName
|
|
6
|
+
*
|
|
7
|
+
* @category Utilities
|
|
8
|
+
*/
|
|
9
|
+
export declare const getInsuranceProviderWithFriendlyName: (termType: string) => import("../../types").InsuranceProviderWithFriendlyName;
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*
|
|
13
|
+
* # Insurance Utilities - getIsInsuraceProviderAccepted
|
|
14
|
+
*
|
|
15
|
+
* @category Utilities
|
|
16
|
+
*/
|
|
17
|
+
export declare const getIsInsuraceProviderAccepted: (termType: string, acceptedTerms?: SE.Term[]) => boolean;
|
|
@@ -89,6 +89,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
89
89
|
showItems: string;
|
|
90
90
|
void: string;
|
|
91
91
|
download: string;
|
|
92
|
+
fileClaim: string;
|
|
92
93
|
};
|
|
93
94
|
fields: {
|
|
94
95
|
dimensions: string;
|
|
@@ -104,6 +105,20 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
104
105
|
insuredValue: string;
|
|
105
106
|
deliveryConfirmation: string;
|
|
106
107
|
};
|
|
108
|
+
insurance: {
|
|
109
|
+
parcelguard: {
|
|
110
|
+
title: string;
|
|
111
|
+
description: string;
|
|
112
|
+
cta: {
|
|
113
|
+
title: string;
|
|
114
|
+
description: string;
|
|
115
|
+
};
|
|
116
|
+
registerSuccess: {
|
|
117
|
+
title: string;
|
|
118
|
+
description: string;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
};
|
|
107
122
|
highVolumeForms: string;
|
|
108
123
|
multipleShippingServices: string;
|
|
109
124
|
sections: {
|
|
@@ -148,12 +163,6 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
148
163
|
};
|
|
149
164
|
"register-wallet": {
|
|
150
165
|
sections: {
|
|
151
|
-
setup: {
|
|
152
|
-
title: string;
|
|
153
|
-
subtitle: string;
|
|
154
|
-
descriptionTitle: string;
|
|
155
|
-
description: string;
|
|
156
|
-
};
|
|
157
166
|
billing: {
|
|
158
167
|
title: string;
|
|
159
168
|
cardSubTitle: string;
|
|
@@ -166,6 +175,17 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
166
175
|
title: string;
|
|
167
176
|
subtitle: string;
|
|
168
177
|
};
|
|
178
|
+
insuranceProviders: {
|
|
179
|
+
parcelguard: {
|
|
180
|
+
description: string;
|
|
181
|
+
terms: string;
|
|
182
|
+
termsLink: string;
|
|
183
|
+
popover: {
|
|
184
|
+
title: string;
|
|
185
|
+
description: string;
|
|
186
|
+
};
|
|
187
|
+
};
|
|
188
|
+
};
|
|
169
189
|
notifications: {
|
|
170
190
|
error: {
|
|
171
191
|
title: string;
|
|
@@ -260,6 +280,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
260
280
|
};
|
|
261
281
|
cta: {
|
|
262
282
|
addPackageDetails: string;
|
|
283
|
+
parcelguard: string;
|
|
263
284
|
};
|
|
264
285
|
errorMessages: {
|
|
265
286
|
customsItemsRequired: string;
|
|
@@ -330,6 +351,17 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
330
351
|
dhlExpressTermsAcknowledgement: string;
|
|
331
352
|
noRateService: string;
|
|
332
353
|
};
|
|
354
|
+
windsorFramework: {
|
|
355
|
+
movementIndicator: string;
|
|
356
|
+
movementIndicators: {
|
|
357
|
+
b2c: string;
|
|
358
|
+
c2b: string;
|
|
359
|
+
c2c: string;
|
|
360
|
+
b2b: string;
|
|
361
|
+
};
|
|
362
|
+
notAtRisk: string;
|
|
363
|
+
notAtRiskShipmentTootip: string;
|
|
364
|
+
};
|
|
333
365
|
requirements: {
|
|
334
366
|
noWarehouse: string;
|
|
335
367
|
noCarrier: string;
|
|
@@ -360,6 +392,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
360
392
|
shipToAddressFormFields: string;
|
|
361
393
|
sections: {
|
|
362
394
|
customsForm: string;
|
|
395
|
+
windsorFramework: string;
|
|
363
396
|
shipment: string;
|
|
364
397
|
rate_one: string;
|
|
365
398
|
rate_other: string;
|
|
@@ -384,11 +417,17 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
384
417
|
shipFromAddress: string;
|
|
385
418
|
fundingAndCarrierConnection: string;
|
|
386
419
|
};
|
|
420
|
+
termsAgreement: {
|
|
421
|
+
title: string;
|
|
422
|
+
subtitle: string;
|
|
423
|
+
};
|
|
387
424
|
warehouse: {
|
|
388
425
|
title: string;
|
|
389
426
|
subtitle: string;
|
|
390
427
|
inlineMessage: string;
|
|
391
|
-
};
|
|
428
|
+
}; /**
|
|
429
|
+
* `features` is a set of feature flags you would like to enable or disable in this component.
|
|
430
|
+
*/
|
|
392
431
|
errors: {
|
|
393
432
|
noCarriers: {
|
|
394
433
|
title: string;
|
|
@@ -429,6 +468,30 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
429
468
|
tooltip: {
|
|
430
469
|
warehouse: string;
|
|
431
470
|
};
|
|
471
|
+
/**
|
|
472
|
+
* # Registered Account Settings Element
|
|
473
|
+
*
|
|
474
|
+
* - This is the registered `<AccountSettings />` element that will be used to render the
|
|
475
|
+
* `<AccountSettings.Element />` component.
|
|
476
|
+
*
|
|
477
|
+
* @param ElementProps The props, callbacks, and resources necessary to render
|
|
478
|
+
* the `<AccountSettings.Element />` component.
|
|
479
|
+
*
|
|
480
|
+
* @example
|
|
481
|
+
* The `<Component />` is the source JSX that is rendered when you make use of the `AccountSettings`
|
|
482
|
+
* Element directly. Here is a brief example of how you would use it within your application.
|
|
483
|
+
* ```tsx
|
|
484
|
+
* <AccountSettings.Element/>
|
|
485
|
+
* ```
|
|
486
|
+
*
|
|
487
|
+
* <br />
|
|
488
|
+
*
|
|
489
|
+
* @see {@link AccountSettings.ComponentProps | The **props** that can be passed into the `<AccountSettings.Element />` component}
|
|
490
|
+
* @see {@link CarrierServices.Element | The `<CarrierServices />` component used to view connected carriers and manage funding}
|
|
491
|
+
* @see {@link ManageWarehouses.Component | The `<ManageWarehouses />` component used to add, update, or remove warehouses}
|
|
492
|
+
* @see {@link PaymentMethodSettings | The `<PaymentMethodSettings />` component used to manage payment methods}
|
|
493
|
+
* @see {@link ManageFunding | The `<ManageFunding />` component used to manage funding rules and add funds to a carrier account}
|
|
494
|
+
*/
|
|
432
495
|
welcomePage: {
|
|
433
496
|
title: string;
|
|
434
497
|
message: string;
|
|
@@ -660,6 +723,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
660
723
|
continue: string;
|
|
661
724
|
delete: string;
|
|
662
725
|
edit: string;
|
|
726
|
+
enable: string;
|
|
663
727
|
hide: string;
|
|
664
728
|
parse: string;
|
|
665
729
|
purchase: string;
|
|
@@ -820,6 +884,14 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
820
884
|
unknown: string;
|
|
821
885
|
noRatesAvailable: string;
|
|
822
886
|
refreshAndTryAgain: string;
|
|
887
|
+
windsorFramework: {
|
|
888
|
+
doNotConform: string;
|
|
889
|
+
pleaseAddTheFollowingTaxIds: string;
|
|
890
|
+
windsorFrameworkDefaultMessage: string;
|
|
891
|
+
shipperEori: string;
|
|
892
|
+
recipientEori: string;
|
|
893
|
+
ukims: string;
|
|
894
|
+
};
|
|
823
895
|
};
|
|
824
896
|
errorTypes: {
|
|
825
897
|
accountStatus: string;
|
|
@@ -833,6 +905,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
833
905
|
system: string;
|
|
834
906
|
unknown: string;
|
|
835
907
|
validation: string;
|
|
908
|
+
windsorFramework: string;
|
|
836
909
|
};
|
|
837
910
|
grid: {
|
|
838
911
|
"row-count_one": string;
|
|
@@ -859,8 +932,10 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
859
932
|
insuranceProviders: {
|
|
860
933
|
carrier: string;
|
|
861
934
|
none: string;
|
|
935
|
+
parcelguard: string;
|
|
862
936
|
shipsurance: string;
|
|
863
937
|
thirdParty: string;
|
|
938
|
+
x_cover: string;
|
|
864
939
|
};
|
|
865
940
|
loading: {
|
|
866
941
|
accountSettings: string;
|
|
@@ -938,6 +1013,9 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
938
1013
|
platform: string;
|
|
939
1014
|
user: string;
|
|
940
1015
|
};
|
|
1016
|
+
tags: {
|
|
1017
|
+
new: string;
|
|
1018
|
+
};
|
|
941
1019
|
terms: {
|
|
942
1020
|
fields: {
|
|
943
1021
|
agreement: string;
|
|
@@ -945,6 +1023,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
945
1023
|
agreeToTerms: string;
|
|
946
1024
|
carriersTitle: string;
|
|
947
1025
|
fundingSourceTitle: string;
|
|
1026
|
+
insuranceProvidersTitle: string;
|
|
948
1027
|
shipEngineTitle: string;
|
|
949
1028
|
};
|
|
950
1029
|
weight: {
|
|
@@ -83,6 +83,7 @@ export declare const Element: ({ resources, ...props }: CarrierServicesProps & {
|
|
|
83
83
|
showItems: string;
|
|
84
84
|
void: string;
|
|
85
85
|
download: string;
|
|
86
|
+
fileClaim: string;
|
|
86
87
|
};
|
|
87
88
|
fields: {
|
|
88
89
|
dimensions: string;
|
|
@@ -98,6 +99,20 @@ export declare const Element: ({ resources, ...props }: CarrierServicesProps & {
|
|
|
98
99
|
insuredValue: string;
|
|
99
100
|
deliveryConfirmation: string;
|
|
100
101
|
};
|
|
102
|
+
insurance: {
|
|
103
|
+
parcelguard: {
|
|
104
|
+
title: string;
|
|
105
|
+
description: string;
|
|
106
|
+
cta: {
|
|
107
|
+
title: string;
|
|
108
|
+
description: string;
|
|
109
|
+
};
|
|
110
|
+
registerSuccess: {
|
|
111
|
+
title: string;
|
|
112
|
+
description: string;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
};
|
|
101
116
|
highVolumeForms: string;
|
|
102
117
|
multipleShippingServices: string;
|
|
103
118
|
sections: {
|
|
@@ -140,12 +155,6 @@ export declare const Element: ({ resources, ...props }: CarrierServicesProps & {
|
|
|
140
155
|
};
|
|
141
156
|
"register-wallet": {
|
|
142
157
|
sections: {
|
|
143
|
-
setup: {
|
|
144
|
-
title: string;
|
|
145
|
-
subtitle: string;
|
|
146
|
-
descriptionTitle: string;
|
|
147
|
-
description: string;
|
|
148
|
-
};
|
|
149
158
|
billing: {
|
|
150
159
|
title: string;
|
|
151
160
|
cardSubTitle: string;
|
|
@@ -158,6 +167,17 @@ export declare const Element: ({ resources, ...props }: CarrierServicesProps & {
|
|
|
158
167
|
title: string;
|
|
159
168
|
subtitle: string;
|
|
160
169
|
};
|
|
170
|
+
insuranceProviders: {
|
|
171
|
+
parcelguard: {
|
|
172
|
+
description: string;
|
|
173
|
+
terms: string;
|
|
174
|
+
termsLink: string;
|
|
175
|
+
popover: {
|
|
176
|
+
title: string;
|
|
177
|
+
description: string;
|
|
178
|
+
};
|
|
179
|
+
};
|
|
180
|
+
};
|
|
161
181
|
notifications: {
|
|
162
182
|
error: {
|
|
163
183
|
title: string;
|
|
@@ -252,6 +272,7 @@ export declare const Element: ({ resources, ...props }: CarrierServicesProps & {
|
|
|
252
272
|
};
|
|
253
273
|
cta: {
|
|
254
274
|
addPackageDetails: string;
|
|
275
|
+
parcelguard: string;
|
|
255
276
|
};
|
|
256
277
|
errorMessages: {
|
|
257
278
|
customsItemsRequired: string;
|
|
@@ -322,6 +343,17 @@ export declare const Element: ({ resources, ...props }: CarrierServicesProps & {
|
|
|
322
343
|
dhlExpressTermsAcknowledgement: string;
|
|
323
344
|
noRateService: string;
|
|
324
345
|
};
|
|
346
|
+
windsorFramework: {
|
|
347
|
+
movementIndicator: string;
|
|
348
|
+
movementIndicators: {
|
|
349
|
+
b2c: string;
|
|
350
|
+
c2b: string;
|
|
351
|
+
c2c: string;
|
|
352
|
+
b2b: string;
|
|
353
|
+
};
|
|
354
|
+
notAtRisk: string;
|
|
355
|
+
notAtRiskShipmentTootip: string;
|
|
356
|
+
};
|
|
325
357
|
requirements: {
|
|
326
358
|
noWarehouse: string;
|
|
327
359
|
noCarrier: string;
|
|
@@ -352,6 +384,7 @@ export declare const Element: ({ resources, ...props }: CarrierServicesProps & {
|
|
|
352
384
|
shipToAddressFormFields: string;
|
|
353
385
|
sections: {
|
|
354
386
|
customsForm: string;
|
|
387
|
+
windsorFramework: string;
|
|
355
388
|
shipment: string;
|
|
356
389
|
rate_one: string;
|
|
357
390
|
rate_other: string;
|
|
@@ -376,6 +409,10 @@ export declare const Element: ({ resources, ...props }: CarrierServicesProps & {
|
|
|
376
409
|
shipFromAddress: string;
|
|
377
410
|
fundingAndCarrierConnection: string;
|
|
378
411
|
};
|
|
412
|
+
termsAgreement: {
|
|
413
|
+
title: string;
|
|
414
|
+
subtitle: string;
|
|
415
|
+
};
|
|
379
416
|
warehouse: {
|
|
380
417
|
title: string;
|
|
381
418
|
subtitle: string;
|
|
@@ -652,6 +689,7 @@ export declare const Element: ({ resources, ...props }: CarrierServicesProps & {
|
|
|
652
689
|
continue: string;
|
|
653
690
|
delete: string;
|
|
654
691
|
edit: string;
|
|
692
|
+
enable: string;
|
|
655
693
|
hide: string;
|
|
656
694
|
parse: string;
|
|
657
695
|
purchase: string;
|
|
@@ -812,6 +850,14 @@ export declare const Element: ({ resources, ...props }: CarrierServicesProps & {
|
|
|
812
850
|
unknown: string;
|
|
813
851
|
noRatesAvailable: string;
|
|
814
852
|
refreshAndTryAgain: string;
|
|
853
|
+
windsorFramework: {
|
|
854
|
+
doNotConform: string;
|
|
855
|
+
pleaseAddTheFollowingTaxIds: string;
|
|
856
|
+
windsorFrameworkDefaultMessage: string;
|
|
857
|
+
shipperEori: string;
|
|
858
|
+
recipientEori: string;
|
|
859
|
+
ukims: string;
|
|
860
|
+
};
|
|
815
861
|
};
|
|
816
862
|
errorTypes: {
|
|
817
863
|
accountStatus: string;
|
|
@@ -825,6 +871,7 @@ export declare const Element: ({ resources, ...props }: CarrierServicesProps & {
|
|
|
825
871
|
system: string;
|
|
826
872
|
unknown: string;
|
|
827
873
|
validation: string;
|
|
874
|
+
windsorFramework: string;
|
|
828
875
|
};
|
|
829
876
|
grid: {
|
|
830
877
|
"row-count_one": string;
|
|
@@ -851,8 +898,10 @@ export declare const Element: ({ resources, ...props }: CarrierServicesProps & {
|
|
|
851
898
|
insuranceProviders: {
|
|
852
899
|
carrier: string;
|
|
853
900
|
none: string;
|
|
901
|
+
parcelguard: string;
|
|
854
902
|
shipsurance: string;
|
|
855
903
|
thirdParty: string;
|
|
904
|
+
x_cover: string;
|
|
856
905
|
};
|
|
857
906
|
loading: {
|
|
858
907
|
accountSettings: string;
|
|
@@ -930,6 +979,9 @@ export declare const Element: ({ resources, ...props }: CarrierServicesProps & {
|
|
|
930
979
|
platform: string;
|
|
931
980
|
user: string;
|
|
932
981
|
};
|
|
982
|
+
tags: {
|
|
983
|
+
new: string;
|
|
984
|
+
};
|
|
933
985
|
terms: {
|
|
934
986
|
fields: {
|
|
935
987
|
agreement: string;
|
|
@@ -937,6 +989,7 @@ export declare const Element: ({ resources, ...props }: CarrierServicesProps & {
|
|
|
937
989
|
agreeToTerms: string;
|
|
938
990
|
carriersTitle: string;
|
|
939
991
|
fundingSourceTitle: string;
|
|
992
|
+
insuranceProvidersTitle: string;
|
|
940
993
|
shipEngineTitle: string;
|
|
941
994
|
};
|
|
942
995
|
weight: {
|