@shipengine/elements 2.9.1 → 2.11.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/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-select/rate-card}/cost-breakdown/cost-breakdown.styles.d.ts +0 -1
- package/src/components/field/rate-select/rate-card/rate-card.d.ts +16 -0
- package/src/components/field/rate-select/rate-card/rate-card.styles.d.ts +30 -0
- package/src/components/field/rate-select/rate-select.d.ts +1 -0
- package/src/components/fund-and-purchase/fund-and-purchase.d.ts +2 -1
- package/src/components/service-card/service-card.d.ts +36 -0
- package/src/components/service-card/service-card.styles.d.ts +68 -0
- package/src/components/service-point-display/service-point-display.d.ts +1 -0
- package/src/components/service-points/service-points.d.ts +3 -2
- package/src/components/service-points/service-points.styles.d.ts +6 -0
- package/src/components/templates/index.d.ts +2 -1
- package/src/components/templates/label-display/index.d.ts +1 -0
- package/src/components/templates/label-display/label-card.d.ts +17 -0
- package/src/components/templates/{label/label.styles.d.ts → label-display/label-card.styles.d.ts} +8 -2
- package/src/components/templates/label-display/label-display.d.ts +15 -0
- package/src/components/templates/rate-form/rate-form.d.ts +3 -1
- package/src/components/templates/rate-form/rate-form.styles.d.ts +3 -0
- package/src/components/templates/rate-form/rate-view.d.ts +38 -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.d.ts +1 -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/components/templates/wallet-form/wallet-form.d.ts +2 -1
- package/src/elements/index.d.ts +2 -2
- package/src/elements/labels-grid/hooks/use-labels-grid.d.ts +5 -1
- package/src/elements/labels-grid/labels-grid.d.ts +92 -36
- 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/hooks/use-rates-form.d.ts +2 -0
- package/src/elements/purchase-label/hooks/use-shipment-form.d.ts +1 -1
- package/src/elements/purchase-label/purchase-label.d.ts +83 -22
- package/src/elements/select-label-layout/index.d.ts +1 -0
- package/src/elements/{label-layout/label-layout-element.d.ts → select-label-layout/select-label-layout-element.d.ts} +59 -6
- 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/index.d.ts +1 -1
- package/src/features/manage-carriers/hooks/use-carrier-metadata.d.ts +2 -2
- 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/features/select-label-layout/index.d.ts +2 -0
- package/src/features/select-label-layout/select-label-layout.d.ts +7 -0
- package/src/features/{label-layout → select-label-layout}/use-label-layout.d.ts +2 -2
- package/src/features/unit-settings/unit-settings.d.ts +2 -2
- package/src/features/unit-settings/use-unit-settings.d.ts +3 -3
- package/src/features/vat-settings/use-vat-settings.d.ts +3 -3
- 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/index.d.ts +1 -0
- package/src/locales/en/index.d.ts +59 -6
- package/src/types/carrier-metadata.d.ts +1 -1
- 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 +41 -0
- package/src/utilities/index.d.ts +1 -1
- 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/utilities/tracking-formatter.d.ts +9 -0
- package/src/workflows/account-settings/account-settings.d.ts +60 -12
- package/src/workflows/account-settings/use-get-panel-props.d.ts +3 -3
- 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/funding-step/funding-step.d.ts +2 -1
- 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/validation.js +1 -0
- package/vat.js +1 -1
- package/wallet-form.js +1 -1
- package/workflows.js +1 -1
- package/carrier-logo.js +0 -1
- package/src/components/field/rate-card/rate-card.d.ts +0 -19
- package/src/components/field/rate-card/rate-card.styles.d.ts +0 -22
- package/src/components/templates/label/index.d.ts +0 -1
- package/src/components/templates/label/label.d.ts +0 -12
- package/src/elements/label-layout/index.d.ts +0 -1
- package/src/features/label-layout/index.d.ts +0 -2
- package/src/features/label-layout/label-layout.d.ts +0 -7
- package/src/utilities/tracking-status-formatter.d.ts +0 -1
- package/warehouses.js +0 -1
- /package/src/components/field/{rate-card → rate-select/rate-card}/cost-breakdown/cost-breakdown.d.ts +0 -0
- /package/src/components/field/{rate-card → rate-select/rate-card}/cost-breakdown/index.d.ts +0 -0
- /package/src/components/field/{rate-card → rate-select/rate-card}/index.d.ts +0 -0
- /package/src/components/field/{rate-card → rate-select/rate-card}/rate-detail-cost-breakdown/index.d.ts +0 -0
- /package/src/components/field/{rate-card → rate-select/rate-card}/rate-detail-cost-breakdown/rate-detail-cost-breakdown.d.ts +0 -0
- /package/src/components/field/{rate-card → rate-select/rate-card}/rate-detail-cost-breakdown/rate-detail-cost-breakdown.styles.d.ts +0 -0
- /package/src/components/{label → history/history-card/label}/index.d.ts +0 -0
- /package/src/components/{label → history/history-card/label}/label.d.ts +0 -0
- /package/src/components/{label → history/history-card/label}/label.styles.d.ts +0 -0
- /package/src/features/{label-layout/label-layout.styles.d.ts → select-label-layout/select-label-layout.styles.d.ts} +0 -0
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { SE } from "@shipengine/js-api";
|
|
3
|
+
import { LabelsGridFeatures } from "../../utilities";
|
|
3
4
|
export type LabelsGridProps = {
|
|
5
|
+
/**
|
|
6
|
+
* `features` provides optional feature configuration for the Element
|
|
7
|
+
* If no value is defined, default configuration will be used.
|
|
8
|
+
*/
|
|
9
|
+
features?: LabelsGridFeatures;
|
|
4
10
|
/**
|
|
5
11
|
* `labelStatus` is the status of the labels you wish to view.
|
|
6
12
|
* If no value is defined, all labels will be rendered.
|
|
@@ -30,16 +36,8 @@ export type LabelsGridProps = {
|
|
|
30
36
|
* `onRowClick` callback invoked when a row is clicked.
|
|
31
37
|
*/
|
|
32
38
|
onRowClick?: (label: SE.Label) => void;
|
|
33
|
-
/**
|
|
34
|
-
* `showLabelIdFilter` controls the display of the label Id search filter
|
|
35
|
-
*/
|
|
36
|
-
showLabelIdFilter?: boolean;
|
|
37
|
-
/**
|
|
38
|
-
* `showShipmentIdFilter` controls the display of the shipmentId search filter
|
|
39
|
-
*/
|
|
40
|
-
showShipmentIdFilter?: boolean;
|
|
41
39
|
};
|
|
42
|
-
export declare const Component: ({ labelStatus,
|
|
40
|
+
export declare const Component: ({ labelStatus, features, onClickPrintLabel, onClickVoidLabel, onClickPrintForms, onClickViewDetails, onRowClick, }: LabelsGridProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
43
41
|
export declare const Element: ({ resources, ...props }: LabelsGridProps & {
|
|
44
42
|
resources?: {
|
|
45
43
|
en: {
|
|
@@ -97,6 +95,7 @@ export declare const Element: ({ resources, ...props }: LabelsGridProps & {
|
|
|
97
95
|
showItems: string;
|
|
98
96
|
void: string;
|
|
99
97
|
download: string;
|
|
98
|
+
fileClaim: string;
|
|
100
99
|
};
|
|
101
100
|
fields: {
|
|
102
101
|
dimensions: string;
|
|
@@ -112,10 +111,26 @@ export declare const Element: ({ resources, ...props }: LabelsGridProps & {
|
|
|
112
111
|
insuredValue: string;
|
|
113
112
|
deliveryConfirmation: string;
|
|
114
113
|
};
|
|
114
|
+
insurance: {
|
|
115
|
+
parcelguard: {
|
|
116
|
+
title: string;
|
|
117
|
+
description: string;
|
|
118
|
+
cta: {
|
|
119
|
+
title: string;
|
|
120
|
+
description: string;
|
|
121
|
+
};
|
|
122
|
+
registerSuccess: {
|
|
123
|
+
title: string;
|
|
124
|
+
description: string;
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
};
|
|
115
128
|
highVolumeForms: string;
|
|
116
129
|
multipleShippingServices: string;
|
|
117
130
|
sections: {
|
|
118
|
-
labels: string;
|
|
131
|
+
labels: string; /**
|
|
132
|
+
* `onRowClick` callback invoked when a row is clicked.
|
|
133
|
+
*/
|
|
119
134
|
shipmentSummary: string;
|
|
120
135
|
};
|
|
121
136
|
noLabels: string;
|
|
@@ -154,12 +169,6 @@ export declare const Element: ({ resources, ...props }: LabelsGridProps & {
|
|
|
154
169
|
};
|
|
155
170
|
"register-wallet": {
|
|
156
171
|
sections: {
|
|
157
|
-
setup: {
|
|
158
|
-
title: string;
|
|
159
|
-
subtitle: string;
|
|
160
|
-
descriptionTitle: string;
|
|
161
|
-
description: string;
|
|
162
|
-
};
|
|
163
172
|
billing: {
|
|
164
173
|
title: string;
|
|
165
174
|
cardSubTitle: string;
|
|
@@ -172,6 +181,17 @@ export declare const Element: ({ resources, ...props }: LabelsGridProps & {
|
|
|
172
181
|
title: string;
|
|
173
182
|
subtitle: string;
|
|
174
183
|
};
|
|
184
|
+
insuranceProviders: {
|
|
185
|
+
parcelguard: {
|
|
186
|
+
description: string;
|
|
187
|
+
terms: string;
|
|
188
|
+
termsLink: string;
|
|
189
|
+
popover: {
|
|
190
|
+
title: string;
|
|
191
|
+
description: string;
|
|
192
|
+
};
|
|
193
|
+
};
|
|
194
|
+
};
|
|
175
195
|
notifications: {
|
|
176
196
|
error: {
|
|
177
197
|
title: string;
|
|
@@ -236,10 +256,7 @@ export declare const Element: ({ resources, ...props }: LabelsGridProps & {
|
|
|
236
256
|
pickup: string;
|
|
237
257
|
location_fee: string;
|
|
238
258
|
oversize: string;
|
|
239
|
-
returns: string;
|
|
240
|
-
* `labelStatus` is the status of the labels you wish to view.
|
|
241
|
-
* If no value is defined, all labels will be rendered.
|
|
242
|
-
*/
|
|
259
|
+
returns: string;
|
|
243
260
|
notifications: string;
|
|
244
261
|
tip: string;
|
|
245
262
|
duties_and_taxes: string;
|
|
@@ -249,7 +266,10 @@ export declare const Element: ({ resources, ...props }: LabelsGridProps & {
|
|
|
249
266
|
auctane_service_fee: string;
|
|
250
267
|
product_price: string;
|
|
251
268
|
};
|
|
252
|
-
};
|
|
269
|
+
}; /**
|
|
270
|
+
* `labelStatus` is the status of the labels you wish to view.
|
|
271
|
+
* If no value is defined, all labels will be rendered.
|
|
272
|
+
*/
|
|
253
273
|
"purchase-label": {
|
|
254
274
|
title: string;
|
|
255
275
|
actions: {
|
|
@@ -269,9 +289,13 @@ export declare const Element: ({ resources, ...props }: LabelsGridProps & {
|
|
|
269
289
|
};
|
|
270
290
|
cta: {
|
|
271
291
|
addPackageDetails: string;
|
|
292
|
+
parcelguard: string;
|
|
272
293
|
};
|
|
273
294
|
errorMessages: {
|
|
274
|
-
customsItemsRequired: string;
|
|
295
|
+
customsItemsRequired: string; /**
|
|
296
|
+
* `features` provides optional feature configuration for the Element
|
|
297
|
+
* If no value is defined, default configuration will be used.
|
|
298
|
+
*/
|
|
275
299
|
invalidAddress: string;
|
|
276
300
|
noRates: string;
|
|
277
301
|
salesOrderNotLoaded: string;
|
|
@@ -339,6 +363,17 @@ export declare const Element: ({ resources, ...props }: LabelsGridProps & {
|
|
|
339
363
|
dhlExpressTermsAcknowledgement: string;
|
|
340
364
|
noRateService: string;
|
|
341
365
|
};
|
|
366
|
+
windsorFramework: {
|
|
367
|
+
movementIndicator: string;
|
|
368
|
+
movementIndicators: {
|
|
369
|
+
b2c: string;
|
|
370
|
+
c2b: string;
|
|
371
|
+
c2c: string;
|
|
372
|
+
b2b: string;
|
|
373
|
+
};
|
|
374
|
+
notAtRisk: string;
|
|
375
|
+
notAtRiskShipmentTootip: string;
|
|
376
|
+
};
|
|
342
377
|
requirements: {
|
|
343
378
|
noWarehouse: string;
|
|
344
379
|
noCarrier: string;
|
|
@@ -369,6 +404,7 @@ export declare const Element: ({ resources, ...props }: LabelsGridProps & {
|
|
|
369
404
|
shipToAddressFormFields: string;
|
|
370
405
|
sections: {
|
|
371
406
|
customsForm: string;
|
|
407
|
+
windsorFramework: string;
|
|
372
408
|
shipment: string;
|
|
373
409
|
rate_one: string;
|
|
374
410
|
rate_other: string;
|
|
@@ -393,6 +429,10 @@ export declare const Element: ({ resources, ...props }: LabelsGridProps & {
|
|
|
393
429
|
shipFromAddress: string;
|
|
394
430
|
fundingAndCarrierConnection: string;
|
|
395
431
|
};
|
|
432
|
+
termsAgreement: {
|
|
433
|
+
title: string;
|
|
434
|
+
subtitle: string;
|
|
435
|
+
};
|
|
396
436
|
warehouse: {
|
|
397
437
|
title: string;
|
|
398
438
|
subtitle: string;
|
|
@@ -401,10 +441,7 @@ export declare const Element: ({ resources, ...props }: LabelsGridProps & {
|
|
|
401
441
|
errors: {
|
|
402
442
|
noCarriers: {
|
|
403
443
|
title: string;
|
|
404
|
-
subtitle: string;
|
|
405
|
-
* `onClickPrintForm` is an optional callback function that will be invoked when the user clicks the
|
|
406
|
-
* `Print Forms` button.
|
|
407
|
-
*/
|
|
444
|
+
subtitle: string;
|
|
408
445
|
};
|
|
409
446
|
};
|
|
410
447
|
success: {
|
|
@@ -502,7 +539,10 @@ export declare const Element: ({ resources, ...props }: LabelsGridProps & {
|
|
|
502
539
|
insufficientFunds: string;
|
|
503
540
|
insufficientFundsTitle: string;
|
|
504
541
|
negativeBalance: string;
|
|
505
|
-
negativeBalanceTitle: string;
|
|
542
|
+
negativeBalanceTitle: string; /**
|
|
543
|
+
* `onClickVoidLabel` is a callback function that controls the display of `Void Label` button and
|
|
544
|
+
* will be invoked when the user clicks on it.
|
|
545
|
+
*/
|
|
506
546
|
newBalance: string;
|
|
507
547
|
};
|
|
508
548
|
errors: {
|
|
@@ -622,7 +662,10 @@ export declare const Element: ({ resources, ...props }: LabelsGridProps & {
|
|
|
622
662
|
error: string;
|
|
623
663
|
};
|
|
624
664
|
actions: {
|
|
625
|
-
title: string;
|
|
665
|
+
title: string; /**
|
|
666
|
+
* `labelStatus` is the status of the labels you wish to view.
|
|
667
|
+
* If no value is defined, all labels will be rendered.
|
|
668
|
+
*/
|
|
626
669
|
print: string;
|
|
627
670
|
void: string;
|
|
628
671
|
printForms: string;
|
|
@@ -672,6 +715,7 @@ export declare const Element: ({ resources, ...props }: LabelsGridProps & {
|
|
|
672
715
|
continue: string;
|
|
673
716
|
delete: string;
|
|
674
717
|
edit: string;
|
|
718
|
+
enable: string;
|
|
675
719
|
hide: string;
|
|
676
720
|
parse: string;
|
|
677
721
|
purchase: string;
|
|
@@ -714,9 +758,6 @@ export declare const Element: ({ resources, ...props }: LabelsGridProps & {
|
|
|
714
758
|
unableToValidate: string;
|
|
715
759
|
use: {
|
|
716
760
|
originalAddress: string;
|
|
717
|
-
/**
|
|
718
|
-
* `onRowClick` callback invoked when a row is clicked.
|
|
719
|
-
*/
|
|
720
761
|
matchedAddress: string;
|
|
721
762
|
};
|
|
722
763
|
};
|
|
@@ -835,6 +876,14 @@ export declare const Element: ({ resources, ...props }: LabelsGridProps & {
|
|
|
835
876
|
unknown: string;
|
|
836
877
|
noRatesAvailable: string;
|
|
837
878
|
refreshAndTryAgain: string;
|
|
879
|
+
windsorFramework: {
|
|
880
|
+
doNotConform: string;
|
|
881
|
+
pleaseAddTheFollowingTaxIds: string;
|
|
882
|
+
windsorFrameworkDefaultMessage: string;
|
|
883
|
+
shipperEori: string;
|
|
884
|
+
recipientEori: string;
|
|
885
|
+
ukims: string;
|
|
886
|
+
};
|
|
838
887
|
};
|
|
839
888
|
errorTypes: {
|
|
840
889
|
accountStatus: string;
|
|
@@ -848,6 +897,7 @@ export declare const Element: ({ resources, ...props }: LabelsGridProps & {
|
|
|
848
897
|
system: string;
|
|
849
898
|
unknown: string;
|
|
850
899
|
validation: string;
|
|
900
|
+
windsorFramework: string;
|
|
851
901
|
};
|
|
852
902
|
grid: {
|
|
853
903
|
"row-count_one": string;
|
|
@@ -874,8 +924,10 @@ export declare const Element: ({ resources, ...props }: LabelsGridProps & {
|
|
|
874
924
|
insuranceProviders: {
|
|
875
925
|
carrier: string;
|
|
876
926
|
none: string;
|
|
927
|
+
parcelguard: string;
|
|
877
928
|
shipsurance: string;
|
|
878
929
|
thirdParty: string;
|
|
930
|
+
x_cover: string;
|
|
879
931
|
};
|
|
880
932
|
loading: {
|
|
881
933
|
accountSettings: string;
|
|
@@ -953,6 +1005,9 @@ export declare const Element: ({ resources, ...props }: LabelsGridProps & {
|
|
|
953
1005
|
platform: string;
|
|
954
1006
|
user: string;
|
|
955
1007
|
};
|
|
1008
|
+
tags: {
|
|
1009
|
+
new: string;
|
|
1010
|
+
};
|
|
956
1011
|
terms: {
|
|
957
1012
|
fields: {
|
|
958
1013
|
agreement: string;
|
|
@@ -960,6 +1015,7 @@ export declare const Element: ({ resources, ...props }: LabelsGridProps & {
|
|
|
960
1015
|
agreeToTerms: string;
|
|
961
1016
|
carriersTitle: string;
|
|
962
1017
|
fundingSourceTitle: string;
|
|
1018
|
+
insuranceProvidersTitle: string;
|
|
963
1019
|
shipEngineTitle: string;
|
|
964
1020
|
};
|
|
965
1021
|
weight: {
|
|
@@ -1016,13 +1072,13 @@ export declare const Element: ({ resources, ...props }: LabelsGridProps & {
|
|
|
1016
1072
|
transactionHistory: string;
|
|
1017
1073
|
adjustmentHistory: string;
|
|
1018
1074
|
warehouses: string;
|
|
1019
|
-
carriers: string;
|
|
1020
|
-
* `labelStatus` is the status of the labels you wish to view.
|
|
1021
|
-
* If no value is defined, all labels will be rendered.
|
|
1022
|
-
*/
|
|
1075
|
+
carriers: string;
|
|
1023
1076
|
externalCarriers: string;
|
|
1024
1077
|
labelLayout: string;
|
|
1025
|
-
unitSettings: string;
|
|
1078
|
+
unitSettings: string; /**
|
|
1079
|
+
* `features` provides optional feature configuration for the Element
|
|
1080
|
+
* If no value is defined, default configuration will be used.
|
|
1081
|
+
*/
|
|
1026
1082
|
vatSettings: string;
|
|
1027
1083
|
};
|
|
1028
1084
|
};
|
|
@@ -81,6 +81,7 @@ export declare const Element: ({ resources, ...props }: ShipEngineCarriersProps
|
|
|
81
81
|
showItems: string;
|
|
82
82
|
void: string;
|
|
83
83
|
download: string;
|
|
84
|
+
fileClaim: string;
|
|
84
85
|
};
|
|
85
86
|
fields: {
|
|
86
87
|
dimensions: string;
|
|
@@ -96,6 +97,20 @@ export declare const Element: ({ resources, ...props }: ShipEngineCarriersProps
|
|
|
96
97
|
insuredValue: string;
|
|
97
98
|
deliveryConfirmation: string;
|
|
98
99
|
};
|
|
100
|
+
insurance: {
|
|
101
|
+
parcelguard: {
|
|
102
|
+
title: string;
|
|
103
|
+
description: string;
|
|
104
|
+
cta: {
|
|
105
|
+
title: string;
|
|
106
|
+
description: string;
|
|
107
|
+
};
|
|
108
|
+
registerSuccess: {
|
|
109
|
+
title: string;
|
|
110
|
+
description: string;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
};
|
|
99
114
|
highVolumeForms: string;
|
|
100
115
|
multipleShippingServices: string;
|
|
101
116
|
sections: {
|
|
@@ -138,12 +153,6 @@ export declare const Element: ({ resources, ...props }: ShipEngineCarriersProps
|
|
|
138
153
|
};
|
|
139
154
|
"register-wallet": {
|
|
140
155
|
sections: {
|
|
141
|
-
setup: {
|
|
142
|
-
title: string;
|
|
143
|
-
subtitle: string;
|
|
144
|
-
descriptionTitle: string;
|
|
145
|
-
description: string;
|
|
146
|
-
};
|
|
147
156
|
billing: {
|
|
148
157
|
title: string;
|
|
149
158
|
cardSubTitle: string;
|
|
@@ -156,6 +165,17 @@ export declare const Element: ({ resources, ...props }: ShipEngineCarriersProps
|
|
|
156
165
|
title: string;
|
|
157
166
|
subtitle: string;
|
|
158
167
|
};
|
|
168
|
+
insuranceProviders: {
|
|
169
|
+
parcelguard: {
|
|
170
|
+
description: string;
|
|
171
|
+
terms: string;
|
|
172
|
+
termsLink: string;
|
|
173
|
+
popover: {
|
|
174
|
+
title: string;
|
|
175
|
+
description: string;
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
};
|
|
159
179
|
notifications: {
|
|
160
180
|
error: {
|
|
161
181
|
title: string;
|
|
@@ -272,6 +292,7 @@ export declare const Element: ({ resources, ...props }: ShipEngineCarriersProps
|
|
|
272
292
|
};
|
|
273
293
|
cta: {
|
|
274
294
|
addPackageDetails: string;
|
|
295
|
+
parcelguard: string;
|
|
275
296
|
};
|
|
276
297
|
errorMessages: {
|
|
277
298
|
customsItemsRequired: string;
|
|
@@ -342,6 +363,17 @@ export declare const Element: ({ resources, ...props }: ShipEngineCarriersProps
|
|
|
342
363
|
dhlExpressTermsAcknowledgement: string;
|
|
343
364
|
noRateService: string;
|
|
344
365
|
};
|
|
366
|
+
windsorFramework: {
|
|
367
|
+
movementIndicator: string;
|
|
368
|
+
movementIndicators: {
|
|
369
|
+
b2c: string;
|
|
370
|
+
c2b: string;
|
|
371
|
+
c2c: string;
|
|
372
|
+
b2b: string;
|
|
373
|
+
};
|
|
374
|
+
notAtRisk: string;
|
|
375
|
+
notAtRiskShipmentTootip: string;
|
|
376
|
+
};
|
|
345
377
|
requirements: {
|
|
346
378
|
noWarehouse: string;
|
|
347
379
|
noCarrier: string;
|
|
@@ -372,6 +404,7 @@ export declare const Element: ({ resources, ...props }: ShipEngineCarriersProps
|
|
|
372
404
|
shipToAddressFormFields: string;
|
|
373
405
|
sections: {
|
|
374
406
|
customsForm: string;
|
|
407
|
+
windsorFramework: string;
|
|
375
408
|
shipment: string;
|
|
376
409
|
rate_one: string;
|
|
377
410
|
rate_other: string;
|
|
@@ -396,6 +429,10 @@ export declare const Element: ({ resources, ...props }: ShipEngineCarriersProps
|
|
|
396
429
|
shipFromAddress: string;
|
|
397
430
|
fundingAndCarrierConnection: string;
|
|
398
431
|
};
|
|
432
|
+
termsAgreement: {
|
|
433
|
+
title: string;
|
|
434
|
+
subtitle: string;
|
|
435
|
+
};
|
|
399
436
|
warehouse: {
|
|
400
437
|
title: string;
|
|
401
438
|
subtitle: string;
|
|
@@ -694,6 +731,7 @@ export declare const Element: ({ resources, ...props }: ShipEngineCarriersProps
|
|
|
694
731
|
* @see {@link ManageCarriers.ComponentProps | The props that are passed into the `<ManageCarriers />` component}
|
|
695
732
|
* @see {@link AccountSettings.Element | The `<AccountSettings />` component renders the `<ManageCarriers />` component}
|
|
696
733
|
*/
|
|
734
|
+
enable: string;
|
|
697
735
|
hide: string;
|
|
698
736
|
parse: string;
|
|
699
737
|
purchase: string;
|
|
@@ -854,6 +892,14 @@ export declare const Element: ({ resources, ...props }: ShipEngineCarriersProps
|
|
|
854
892
|
unknown: string;
|
|
855
893
|
noRatesAvailable: string;
|
|
856
894
|
refreshAndTryAgain: string;
|
|
895
|
+
windsorFramework: {
|
|
896
|
+
doNotConform: string;
|
|
897
|
+
pleaseAddTheFollowingTaxIds: string;
|
|
898
|
+
windsorFrameworkDefaultMessage: string;
|
|
899
|
+
shipperEori: string;
|
|
900
|
+
recipientEori: string;
|
|
901
|
+
ukims: string;
|
|
902
|
+
};
|
|
857
903
|
};
|
|
858
904
|
errorTypes: {
|
|
859
905
|
accountStatus: string;
|
|
@@ -867,6 +913,7 @@ export declare const Element: ({ resources, ...props }: ShipEngineCarriersProps
|
|
|
867
913
|
system: string;
|
|
868
914
|
unknown: string;
|
|
869
915
|
validation: string;
|
|
916
|
+
windsorFramework: string;
|
|
870
917
|
};
|
|
871
918
|
grid: {
|
|
872
919
|
"row-count_one": string;
|
|
@@ -893,8 +940,10 @@ export declare const Element: ({ resources, ...props }: ShipEngineCarriersProps
|
|
|
893
940
|
insuranceProviders: {
|
|
894
941
|
carrier: string;
|
|
895
942
|
none: string;
|
|
943
|
+
parcelguard: string;
|
|
896
944
|
shipsurance: string;
|
|
897
945
|
thirdParty: string;
|
|
946
|
+
x_cover: string;
|
|
898
947
|
};
|
|
899
948
|
loading: {
|
|
900
949
|
accountSettings: string;
|
|
@@ -972,6 +1021,9 @@ export declare const Element: ({ resources, ...props }: ShipEngineCarriersProps
|
|
|
972
1021
|
platform: string;
|
|
973
1022
|
user: string;
|
|
974
1023
|
};
|
|
1024
|
+
tags: {
|
|
1025
|
+
new: string;
|
|
1026
|
+
};
|
|
975
1027
|
terms: {
|
|
976
1028
|
fields: {
|
|
977
1029
|
agreement: string;
|
|
@@ -979,6 +1031,7 @@ export declare const Element: ({ resources, ...props }: ShipEngineCarriersProps
|
|
|
979
1031
|
agreeToTerms: string;
|
|
980
1032
|
carriersTitle: string;
|
|
981
1033
|
fundingSourceTitle: string;
|
|
1034
|
+
insuranceProvidersTitle: string;
|
|
982
1035
|
shipEngineTitle: string;
|
|
983
1036
|
};
|
|
984
1037
|
weight: {
|
|
@@ -103,6 +103,7 @@ export declare const Element: ({ resources, ...props }: ExternalCarriersProps &
|
|
|
103
103
|
*/
|
|
104
104
|
void: string;
|
|
105
105
|
download: string;
|
|
106
|
+
fileClaim: string;
|
|
106
107
|
};
|
|
107
108
|
fields: {
|
|
108
109
|
dimensions: string;
|
|
@@ -118,6 +119,20 @@ export declare const Element: ({ resources, ...props }: ExternalCarriersProps &
|
|
|
118
119
|
insuredValue: string;
|
|
119
120
|
deliveryConfirmation: string;
|
|
120
121
|
};
|
|
122
|
+
insurance: {
|
|
123
|
+
parcelguard: {
|
|
124
|
+
title: string;
|
|
125
|
+
description: string;
|
|
126
|
+
cta: {
|
|
127
|
+
title: string;
|
|
128
|
+
description: string;
|
|
129
|
+
};
|
|
130
|
+
registerSuccess: {
|
|
131
|
+
title: string;
|
|
132
|
+
description: string;
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
};
|
|
121
136
|
highVolumeForms: string;
|
|
122
137
|
multipleShippingServices: string;
|
|
123
138
|
sections: {
|
|
@@ -160,33 +175,6 @@ export declare const Element: ({ resources, ...props }: ExternalCarriersProps &
|
|
|
160
175
|
};
|
|
161
176
|
"register-wallet": {
|
|
162
177
|
sections: {
|
|
163
|
-
setup: {
|
|
164
|
-
title: string;
|
|
165
|
-
subtitle: string;
|
|
166
|
-
descriptionTitle: string;
|
|
167
|
-
description: string;
|
|
168
|
-
}; /**
|
|
169
|
-
* # ManageExternalCarriers Element
|
|
170
|
-
*
|
|
171
|
-
* @param ComponentProps The base props that will be passed into the `<ManageExternalCarriers />` component.
|
|
172
|
-
*
|
|
173
|
-
* @returns Element A React element that renders the `<ManageExternalCarriers />` component allowing users
|
|
174
|
-
* to view a list of their own carrier accounts that have been connected to their ShipEngine account,
|
|
175
|
-
* and to add additional carriers.
|
|
176
|
-
* This component is composed in the `<AccountSettings />` Element.
|
|
177
|
-
*
|
|
178
|
-
* @example
|
|
179
|
-
* ```tsx
|
|
180
|
-
* (() => {
|
|
181
|
-
* return <ManageExternalCarriers.Element isModalFullScreen={false} />;
|
|
182
|
-
* })();
|
|
183
|
-
* ```
|
|
184
|
-
*
|
|
185
|
-
* <br />
|
|
186
|
-
*
|
|
187
|
-
* @see {@link ManageExternalCarriers.ComponentProps | The props that are passed into the `<ManageExternalCarriers />` component}
|
|
188
|
-
* @see {@link AccountSettings.Element | The `<AccountSettings />` component renders the `<ManageExternalCarriers />` component}
|
|
189
|
-
*/
|
|
190
178
|
billing: {
|
|
191
179
|
title: string;
|
|
192
180
|
cardSubTitle: string;
|
|
@@ -196,9 +184,42 @@ export declare const Element: ({ resources, ...props }: ExternalCarriersProps &
|
|
|
196
184
|
title: string;
|
|
197
185
|
};
|
|
198
186
|
carriers: {
|
|
187
|
+
/**
|
|
188
|
+
* # ManageExternalCarriers Element
|
|
189
|
+
*
|
|
190
|
+
* @param ComponentProps The base props that will be passed into the `<ManageExternalCarriers />` component.
|
|
191
|
+
*
|
|
192
|
+
* @returns Element A React element that renders the `<ManageExternalCarriers />` component allowing users
|
|
193
|
+
* to view a list of their own carrier accounts that have been connected to their ShipEngine account,
|
|
194
|
+
* and to add additional carriers.
|
|
195
|
+
* This component is composed in the `<AccountSettings />` Element.
|
|
196
|
+
*
|
|
197
|
+
* @example
|
|
198
|
+
* ```tsx
|
|
199
|
+
* (() => {
|
|
200
|
+
* return <ManageExternalCarriers.Element isModalFullScreen={false} />;
|
|
201
|
+
* })();
|
|
202
|
+
* ```
|
|
203
|
+
*
|
|
204
|
+
* <br />
|
|
205
|
+
*
|
|
206
|
+
* @see {@link ManageExternalCarriers.ComponentProps | The props that are passed into the `<ManageExternalCarriers />` component}
|
|
207
|
+
* @see {@link AccountSettings.Element | The `<AccountSettings />` component renders the `<ManageExternalCarriers />` component}
|
|
208
|
+
*/
|
|
199
209
|
title: string;
|
|
200
210
|
subtitle: string;
|
|
201
211
|
};
|
|
212
|
+
insuranceProviders: {
|
|
213
|
+
parcelguard: {
|
|
214
|
+
description: string;
|
|
215
|
+
terms: string;
|
|
216
|
+
termsLink: string;
|
|
217
|
+
popover: {
|
|
218
|
+
title: string;
|
|
219
|
+
description: string;
|
|
220
|
+
};
|
|
221
|
+
};
|
|
222
|
+
};
|
|
202
223
|
notifications: {
|
|
203
224
|
error: {
|
|
204
225
|
title: string;
|
|
@@ -293,6 +314,7 @@ export declare const Element: ({ resources, ...props }: ExternalCarriersProps &
|
|
|
293
314
|
};
|
|
294
315
|
cta: {
|
|
295
316
|
addPackageDetails: string;
|
|
317
|
+
parcelguard: string;
|
|
296
318
|
};
|
|
297
319
|
errorMessages: {
|
|
298
320
|
customsItemsRequired: string;
|
|
@@ -363,6 +385,17 @@ export declare const Element: ({ resources, ...props }: ExternalCarriersProps &
|
|
|
363
385
|
dhlExpressTermsAcknowledgement: string;
|
|
364
386
|
noRateService: string;
|
|
365
387
|
};
|
|
388
|
+
windsorFramework: {
|
|
389
|
+
movementIndicator: string;
|
|
390
|
+
movementIndicators: {
|
|
391
|
+
b2c: string;
|
|
392
|
+
c2b: string;
|
|
393
|
+
c2c: string;
|
|
394
|
+
b2b: string;
|
|
395
|
+
};
|
|
396
|
+
notAtRisk: string;
|
|
397
|
+
notAtRiskShipmentTootip: string;
|
|
398
|
+
};
|
|
366
399
|
requirements: {
|
|
367
400
|
noWarehouse: string;
|
|
368
401
|
noCarrier: string;
|
|
@@ -393,6 +426,7 @@ export declare const Element: ({ resources, ...props }: ExternalCarriersProps &
|
|
|
393
426
|
shipToAddressFormFields: string;
|
|
394
427
|
sections: {
|
|
395
428
|
customsForm: string;
|
|
429
|
+
windsorFramework: string;
|
|
396
430
|
shipment: string;
|
|
397
431
|
rate_one: string;
|
|
398
432
|
rate_other: string;
|
|
@@ -417,6 +451,10 @@ export declare const Element: ({ resources, ...props }: ExternalCarriersProps &
|
|
|
417
451
|
shipFromAddress: string;
|
|
418
452
|
fundingAndCarrierConnection: string;
|
|
419
453
|
};
|
|
454
|
+
termsAgreement: {
|
|
455
|
+
title: string;
|
|
456
|
+
subtitle: string;
|
|
457
|
+
};
|
|
420
458
|
warehouse: {
|
|
421
459
|
title: string;
|
|
422
460
|
subtitle: string;
|
|
@@ -693,6 +731,7 @@ export declare const Element: ({ resources, ...props }: ExternalCarriersProps &
|
|
|
693
731
|
continue: string;
|
|
694
732
|
delete: string;
|
|
695
733
|
edit: string;
|
|
734
|
+
enable: string;
|
|
696
735
|
hide: string;
|
|
697
736
|
parse: string;
|
|
698
737
|
purchase: string;
|
|
@@ -853,6 +892,14 @@ export declare const Element: ({ resources, ...props }: ExternalCarriersProps &
|
|
|
853
892
|
unknown: string;
|
|
854
893
|
noRatesAvailable: string;
|
|
855
894
|
refreshAndTryAgain: string;
|
|
895
|
+
windsorFramework: {
|
|
896
|
+
doNotConform: string;
|
|
897
|
+
pleaseAddTheFollowingTaxIds: string;
|
|
898
|
+
windsorFrameworkDefaultMessage: string;
|
|
899
|
+
shipperEori: string;
|
|
900
|
+
recipientEori: string;
|
|
901
|
+
ukims: string;
|
|
902
|
+
};
|
|
856
903
|
};
|
|
857
904
|
errorTypes: {
|
|
858
905
|
accountStatus: string;
|
|
@@ -866,6 +913,7 @@ export declare const Element: ({ resources, ...props }: ExternalCarriersProps &
|
|
|
866
913
|
system: string;
|
|
867
914
|
unknown: string;
|
|
868
915
|
validation: string;
|
|
916
|
+
windsorFramework: string;
|
|
869
917
|
};
|
|
870
918
|
grid: {
|
|
871
919
|
"row-count_one": string;
|
|
@@ -892,8 +940,10 @@ export declare const Element: ({ resources, ...props }: ExternalCarriersProps &
|
|
|
892
940
|
insuranceProviders: {
|
|
893
941
|
carrier: string;
|
|
894
942
|
none: string;
|
|
943
|
+
parcelguard: string;
|
|
895
944
|
shipsurance: string;
|
|
896
945
|
thirdParty: string;
|
|
946
|
+
x_cover: string;
|
|
897
947
|
};
|
|
898
948
|
loading: {
|
|
899
949
|
accountSettings: string;
|
|
@@ -971,6 +1021,9 @@ export declare const Element: ({ resources, ...props }: ExternalCarriersProps &
|
|
|
971
1021
|
platform: string;
|
|
972
1022
|
user: string;
|
|
973
1023
|
};
|
|
1024
|
+
tags: {
|
|
1025
|
+
new: string;
|
|
1026
|
+
};
|
|
974
1027
|
terms: {
|
|
975
1028
|
fields: {
|
|
976
1029
|
agreement: string;
|
|
@@ -978,6 +1031,7 @@ export declare const Element: ({ resources, ...props }: ExternalCarriersProps &
|
|
|
978
1031
|
agreeToTerms: string;
|
|
979
1032
|
carriersTitle: string;
|
|
980
1033
|
fundingSourceTitle: string;
|
|
1034
|
+
insuranceProvidersTitle: string;
|
|
981
1035
|
shipEngineTitle: string;
|
|
982
1036
|
};
|
|
983
1037
|
weight: {
|