@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
|
@@ -246,6 +246,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
246
246
|
showItems: string;
|
|
247
247
|
void: string;
|
|
248
248
|
download: string;
|
|
249
|
+
fileClaim: string;
|
|
249
250
|
};
|
|
250
251
|
fields: {
|
|
251
252
|
dimensions: string;
|
|
@@ -261,6 +262,20 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
261
262
|
insuredValue: string;
|
|
262
263
|
deliveryConfirmation: string;
|
|
263
264
|
};
|
|
265
|
+
insurance: {
|
|
266
|
+
parcelguard: {
|
|
267
|
+
title: string;
|
|
268
|
+
description: string;
|
|
269
|
+
cta: {
|
|
270
|
+
title: string;
|
|
271
|
+
description: string;
|
|
272
|
+
};
|
|
273
|
+
registerSuccess: {
|
|
274
|
+
title: string;
|
|
275
|
+
description: string;
|
|
276
|
+
};
|
|
277
|
+
};
|
|
278
|
+
};
|
|
264
279
|
highVolumeForms: string;
|
|
265
280
|
multipleShippingServices: string;
|
|
266
281
|
sections: {
|
|
@@ -303,12 +318,6 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
303
318
|
};
|
|
304
319
|
"register-wallet": {
|
|
305
320
|
sections: {
|
|
306
|
-
setup: {
|
|
307
|
-
title: string;
|
|
308
|
-
subtitle: string;
|
|
309
|
-
descriptionTitle: string;
|
|
310
|
-
description: string;
|
|
311
|
-
};
|
|
312
321
|
billing: {
|
|
313
322
|
title: string;
|
|
314
323
|
cardSubTitle: string;
|
|
@@ -321,6 +330,17 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
321
330
|
title: string;
|
|
322
331
|
subtitle: string;
|
|
323
332
|
};
|
|
333
|
+
insuranceProviders: {
|
|
334
|
+
parcelguard: {
|
|
335
|
+
description: string;
|
|
336
|
+
terms: string;
|
|
337
|
+
termsLink: string;
|
|
338
|
+
popover: {
|
|
339
|
+
title: string;
|
|
340
|
+
description: string;
|
|
341
|
+
};
|
|
342
|
+
};
|
|
343
|
+
};
|
|
324
344
|
notifications: {
|
|
325
345
|
error: {
|
|
326
346
|
title: string;
|
|
@@ -415,6 +435,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
415
435
|
};
|
|
416
436
|
cta: {
|
|
417
437
|
addPackageDetails: string;
|
|
438
|
+
parcelguard: string;
|
|
418
439
|
};
|
|
419
440
|
errorMessages: {
|
|
420
441
|
customsItemsRequired: string;
|
|
@@ -450,14 +471,14 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
450
471
|
requestedShipping: string;
|
|
451
472
|
shipDate: string;
|
|
452
473
|
service: string;
|
|
453
|
-
/**
|
|
454
|
-
* `onApplyPreset` is an async/sync callback function that will be invoked each time a `Preset`
|
|
455
|
-
* has been applied to a shipment.
|
|
456
|
-
*/
|
|
457
474
|
shipTo: string;
|
|
458
475
|
addShipToAddress: string;
|
|
459
476
|
warehouse: string;
|
|
460
477
|
weight: {
|
|
478
|
+
/**
|
|
479
|
+
* `onBeforeLabelCreate` is an async/sync callback function that will be invoked before every
|
|
480
|
+
* label purchase.
|
|
481
|
+
*/
|
|
461
482
|
whole: string;
|
|
462
483
|
fractional: string;
|
|
463
484
|
};
|
|
@@ -489,6 +510,24 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
489
510
|
dhlExpressTermsAcknowledgement: string;
|
|
490
511
|
noRateService: string;
|
|
491
512
|
};
|
|
513
|
+
windsorFramework: {
|
|
514
|
+
movementIndicator: string;
|
|
515
|
+
movementIndicators: {
|
|
516
|
+
b2c: string;
|
|
517
|
+
c2b: string;
|
|
518
|
+
c2c: string;
|
|
519
|
+
b2b: string;
|
|
520
|
+
}; /**
|
|
521
|
+
* `onRatesCalculated` is an async/sync callback function that will be invoked each time rates
|
|
522
|
+
* are calculated for a given shipment.
|
|
523
|
+
*/
|
|
524
|
+
notAtRisk: string;
|
|
525
|
+
notAtRiskShipmentTootip: string;
|
|
526
|
+
};
|
|
527
|
+
/**
|
|
528
|
+
* `onShipmentUpdated` is an async/sync callback function that will be invoked each time a
|
|
529
|
+
* shipment is updated with a new `ShipTo/ShipFrom Address`, `rate`, `preset`, etc.
|
|
530
|
+
*/
|
|
492
531
|
requirements: {
|
|
493
532
|
noWarehouse: string;
|
|
494
533
|
noCarrier: string;
|
|
@@ -519,6 +558,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
519
558
|
shipToAddressFormFields: string;
|
|
520
559
|
sections: {
|
|
521
560
|
customsForm: string;
|
|
561
|
+
windsorFramework: string;
|
|
522
562
|
shipment: string;
|
|
523
563
|
rate_one: string;
|
|
524
564
|
rate_other: string;
|
|
@@ -543,6 +583,10 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
543
583
|
shipFromAddress: string;
|
|
544
584
|
fundingAndCarrierConnection: string;
|
|
545
585
|
};
|
|
586
|
+
termsAgreement: {
|
|
587
|
+
title: string;
|
|
588
|
+
subtitle: string;
|
|
589
|
+
};
|
|
546
590
|
warehouse: {
|
|
547
591
|
title: string;
|
|
548
592
|
subtitle: string;
|
|
@@ -576,10 +620,6 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
576
620
|
aHR0cHM6Ly93d3cucHVyb2xhdG9yLmNvbS9mci9tb2RhbGl0ZXMtZXQtY29uZGl0aW9ucy1kZS1zZXJ2aWNl: string;
|
|
577
621
|
aHR0cHM6Ly93d3cucHVyb2xhdG9yLmNvbS9lbi90ZXJtcy1hbmQtY29uZGl0aW9ucy1zZXJ2aWNl: string;
|
|
578
622
|
};
|
|
579
|
-
/**
|
|
580
|
-
* `onBeforeRateSave` is an async/sync callback function that will be invoked before each time a user
|
|
581
|
-
* saves a rate.
|
|
582
|
-
*/
|
|
583
623
|
termsAndAgreementTitles: {
|
|
584
624
|
"WW9kZWwgRGlyZWN0IC0gVGVybXMgYW5kIENvbmRpdGlvbnMgKOKAnFRlcm1z4oCdKQ==": string;
|
|
585
625
|
"RXZyaSBTZW5kIFRlcm1zICYgQ29uZGl0aW9ucw==": string;
|
|
@@ -830,6 +870,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
830
870
|
continue: string;
|
|
831
871
|
delete: string;
|
|
832
872
|
edit: string;
|
|
873
|
+
enable: string;
|
|
833
874
|
hide: string;
|
|
834
875
|
parse: string;
|
|
835
876
|
purchase: string;
|
|
@@ -906,7 +947,10 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
906
947
|
message: string;
|
|
907
948
|
};
|
|
908
949
|
address: {
|
|
909
|
-
message: string;
|
|
950
|
+
message: string; /**
|
|
951
|
+
* `onChangeAddress` is an async/sync callback function that will be invoked each time a
|
|
952
|
+
* `Ship To Address` or `Ship From Address` has been updated.
|
|
953
|
+
*/
|
|
910
954
|
title: string;
|
|
911
955
|
};
|
|
912
956
|
};
|
|
@@ -923,12 +967,11 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
923
967
|
addDeclaration: string;
|
|
924
968
|
noResults: string;
|
|
925
969
|
contents: {
|
|
926
|
-
documents: string;
|
|
927
|
-
gift: string;
|
|
928
|
-
/**
|
|
970
|
+
documents: string; /**
|
|
929
971
|
* `onLabelCreateFailure` is an async/sync callback function that will be invoked each time a
|
|
930
972
|
* label purchase fails.
|
|
931
973
|
*/
|
|
974
|
+
gift: string;
|
|
932
975
|
merchandise: string;
|
|
933
976
|
returnedGoods: string;
|
|
934
977
|
sample: string;
|
|
@@ -937,10 +980,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
937
980
|
sectionTitle: string;
|
|
938
981
|
addTaxId: string;
|
|
939
982
|
sectionTitleTooltip: string;
|
|
940
|
-
entityTypeTooltipText: string;
|
|
941
|
-
* `onLoad` is an async/sync callback provided by the host application that is invoked after the
|
|
942
|
-
* element is loaded. (This may be useful to grab the shipmentId of a one-off label)
|
|
943
|
-
*/
|
|
983
|
+
entityTypeTooltipText: string;
|
|
944
984
|
entityTypeTooltipPointOne: string;
|
|
945
985
|
entityTypeTooltipPointTwo: string;
|
|
946
986
|
};
|
|
@@ -958,6 +998,12 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
958
998
|
harmonizedTariffCode: string;
|
|
959
999
|
ifDeliveryFails: string;
|
|
960
1000
|
quantity: string;
|
|
1001
|
+
/**
|
|
1002
|
+
* `onToggleAddressPreferenceDisclosure` is an async/sync callback function that will be invoked
|
|
1003
|
+
* each time the user toggles the `Address Preference` disclosure. This disclosure component
|
|
1004
|
+
* allows the user to select whether they would like to use the address they entered, or
|
|
1005
|
+
* the formatted address that we return after validation.
|
|
1006
|
+
*/
|
|
961
1007
|
sku: string;
|
|
962
1008
|
value: string;
|
|
963
1009
|
valueQuantity: string;
|
|
@@ -997,6 +1043,14 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
997
1043
|
unknown: string;
|
|
998
1044
|
noRatesAvailable: string;
|
|
999
1045
|
refreshAndTryAgain: string;
|
|
1046
|
+
windsorFramework: {
|
|
1047
|
+
doNotConform: string;
|
|
1048
|
+
pleaseAddTheFollowingTaxIds: string;
|
|
1049
|
+
windsorFrameworkDefaultMessage: string;
|
|
1050
|
+
shipperEori: string;
|
|
1051
|
+
recipientEori: string;
|
|
1052
|
+
ukims: string;
|
|
1053
|
+
};
|
|
1000
1054
|
};
|
|
1001
1055
|
errorTypes: {
|
|
1002
1056
|
accountStatus: string;
|
|
@@ -1010,6 +1064,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
1010
1064
|
system: string;
|
|
1011
1065
|
unknown: string;
|
|
1012
1066
|
validation: string;
|
|
1067
|
+
windsorFramework: string;
|
|
1013
1068
|
};
|
|
1014
1069
|
grid: {
|
|
1015
1070
|
"row-count_one": string;
|
|
@@ -1036,8 +1091,10 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
1036
1091
|
insuranceProviders: {
|
|
1037
1092
|
carrier: string;
|
|
1038
1093
|
none: string;
|
|
1094
|
+
parcelguard: string;
|
|
1039
1095
|
shipsurance: string;
|
|
1040
1096
|
thirdParty: string;
|
|
1097
|
+
x_cover: string;
|
|
1041
1098
|
};
|
|
1042
1099
|
loading: {
|
|
1043
1100
|
accountSettings: string;
|
|
@@ -1115,6 +1172,9 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
1115
1172
|
platform: string;
|
|
1116
1173
|
user: string;
|
|
1117
1174
|
};
|
|
1175
|
+
tags: {
|
|
1176
|
+
new: string;
|
|
1177
|
+
};
|
|
1118
1178
|
terms: {
|
|
1119
1179
|
fields: {
|
|
1120
1180
|
agreement: string;
|
|
@@ -1122,6 +1182,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
1122
1182
|
agreeToTerms: string;
|
|
1123
1183
|
carriersTitle: string;
|
|
1124
1184
|
fundingSourceTitle: string;
|
|
1185
|
+
insuranceProvidersTitle: string;
|
|
1125
1186
|
shipEngineTitle: string;
|
|
1126
1187
|
};
|
|
1127
1188
|
weight: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
2
|
+
import { ShipmentProps } from "../../components/templates/shipment";
|
|
3
3
|
import { ShipmentSummaryFeatures } from "../../utilities";
|
|
4
4
|
/**
|
|
5
5
|
* # Shipment Summary Component Props
|
|
@@ -17,17 +17,17 @@ export type ComponentProps = {
|
|
|
17
17
|
* `onClickPrintLabel` is a callback function that will be invoked when the user clicks the
|
|
18
18
|
* `Print Label` button.
|
|
19
19
|
*/
|
|
20
|
-
onClickPrintLabel?:
|
|
20
|
+
onClickPrintLabel?: ShipmentProps["onClickPrintLabel"];
|
|
21
21
|
/**
|
|
22
22
|
* `onClickPurchaseLabel` is a callback function that will be invoked when the user clicks the
|
|
23
23
|
* `Purchase Label` button.
|
|
24
24
|
*/
|
|
25
|
-
onClickPurchaseLabel?:
|
|
25
|
+
onClickPurchaseLabel?: ShipmentProps["onClickPurchaseLabel"];
|
|
26
26
|
/**
|
|
27
27
|
* `onClickVoidLabel` is a callback function that will be invoked when the user clicks the
|
|
28
28
|
* `Void Label` button.
|
|
29
29
|
*/
|
|
30
|
-
onClickVoidLabel?:
|
|
30
|
+
onClickVoidLabel?: ShipmentProps["onClickVoidLabel"];
|
|
31
31
|
/**
|
|
32
32
|
* `shipmentId` is the unique identifier for the shipment you wish to view.
|
|
33
33
|
*/
|
|
@@ -146,6 +146,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
146
146
|
showItems: string;
|
|
147
147
|
void: string;
|
|
148
148
|
download: string;
|
|
149
|
+
fileClaim: string;
|
|
149
150
|
};
|
|
150
151
|
fields: {
|
|
151
152
|
dimensions: string;
|
|
@@ -161,6 +162,20 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
161
162
|
insuredValue: string;
|
|
162
163
|
deliveryConfirmation: string;
|
|
163
164
|
};
|
|
165
|
+
insurance: {
|
|
166
|
+
parcelguard: {
|
|
167
|
+
title: string;
|
|
168
|
+
description: string;
|
|
169
|
+
cta: {
|
|
170
|
+
title: string;
|
|
171
|
+
description: string;
|
|
172
|
+
};
|
|
173
|
+
registerSuccess: {
|
|
174
|
+
title: string;
|
|
175
|
+
description: string;
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
};
|
|
164
179
|
highVolumeForms: string;
|
|
165
180
|
multipleShippingServices: string;
|
|
166
181
|
sections: {
|
|
@@ -203,12 +218,6 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
203
218
|
};
|
|
204
219
|
"register-wallet": {
|
|
205
220
|
sections: {
|
|
206
|
-
setup: {
|
|
207
|
-
title: string;
|
|
208
|
-
subtitle: string;
|
|
209
|
-
descriptionTitle: string;
|
|
210
|
-
description: string;
|
|
211
|
-
};
|
|
212
221
|
billing: {
|
|
213
222
|
title: string;
|
|
214
223
|
cardSubTitle: string;
|
|
@@ -221,13 +230,27 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
221
230
|
title: string;
|
|
222
231
|
subtitle: string;
|
|
223
232
|
};
|
|
233
|
+
insuranceProviders: {
|
|
234
|
+
parcelguard: {
|
|
235
|
+
description: string;
|
|
236
|
+
terms: string;
|
|
237
|
+
termsLink: string;
|
|
238
|
+
popover: {
|
|
239
|
+
title: string;
|
|
240
|
+
description: string;
|
|
241
|
+
};
|
|
242
|
+
};
|
|
243
|
+
};
|
|
224
244
|
notifications: {
|
|
225
245
|
error: {
|
|
226
246
|
title: string;
|
|
227
247
|
};
|
|
228
248
|
info: {
|
|
229
249
|
description: string;
|
|
230
|
-
};
|
|
250
|
+
}; /**
|
|
251
|
+
* `onClickVoidLabel` is a callback function that will be invoked when the user clicks the
|
|
252
|
+
* `Void Label` button.
|
|
253
|
+
*/
|
|
231
254
|
poBox: {
|
|
232
255
|
title: string;
|
|
233
256
|
description: string;
|
|
@@ -287,9 +310,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
287
310
|
oversize: string;
|
|
288
311
|
returns: string;
|
|
289
312
|
notifications: string;
|
|
290
|
-
tip: string;
|
|
291
|
-
* `features` is a set of feature flags you would like to enable or disable in this component.
|
|
292
|
-
*/
|
|
313
|
+
tip: string;
|
|
293
314
|
duties_and_taxes: string;
|
|
294
315
|
brokerage_fee: string;
|
|
295
316
|
admin_fee: string;
|
|
@@ -317,6 +338,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
317
338
|
};
|
|
318
339
|
cta: {
|
|
319
340
|
addPackageDetails: string;
|
|
341
|
+
parcelguard: string;
|
|
320
342
|
};
|
|
321
343
|
errorMessages: {
|
|
322
344
|
customsItemsRequired: string;
|
|
@@ -387,6 +409,17 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
387
409
|
dhlExpressTermsAcknowledgement: string;
|
|
388
410
|
noRateService: string;
|
|
389
411
|
};
|
|
412
|
+
windsorFramework: {
|
|
413
|
+
movementIndicator: string;
|
|
414
|
+
movementIndicators: {
|
|
415
|
+
b2c: string;
|
|
416
|
+
c2b: string;
|
|
417
|
+
c2c: string;
|
|
418
|
+
b2b: string;
|
|
419
|
+
};
|
|
420
|
+
notAtRisk: string;
|
|
421
|
+
notAtRiskShipmentTootip: string;
|
|
422
|
+
};
|
|
390
423
|
requirements: {
|
|
391
424
|
noWarehouse: string;
|
|
392
425
|
noCarrier: string;
|
|
@@ -417,6 +450,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
417
450
|
shipToAddressFormFields: string;
|
|
418
451
|
sections: {
|
|
419
452
|
customsForm: string;
|
|
453
|
+
windsorFramework: string;
|
|
420
454
|
shipment: string;
|
|
421
455
|
rate_one: string;
|
|
422
456
|
rate_other: string;
|
|
@@ -441,6 +475,10 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
441
475
|
shipFromAddress: string;
|
|
442
476
|
fundingAndCarrierConnection: string;
|
|
443
477
|
};
|
|
478
|
+
termsAgreement: {
|
|
479
|
+
title: string;
|
|
480
|
+
subtitle: string;
|
|
481
|
+
};
|
|
444
482
|
warehouse: {
|
|
445
483
|
title: string;
|
|
446
484
|
subtitle: string;
|
|
@@ -527,6 +565,9 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
527
565
|
lowBalancePurchaseThreshold: string;
|
|
528
566
|
maximumPurchasesPerDay: string;
|
|
529
567
|
purchaseAmount: string;
|
|
568
|
+
/**
|
|
569
|
+
* `features` is a set of feature flags you would like to enable or disable in this component.
|
|
570
|
+
*/
|
|
530
571
|
readSettings: string;
|
|
531
572
|
};
|
|
532
573
|
addFunds: {
|
|
@@ -615,13 +656,6 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
615
656
|
readyToBuy: string;
|
|
616
657
|
processing: string;
|
|
617
658
|
};
|
|
618
|
-
/**
|
|
619
|
-
* # Shipment Summary Component Props
|
|
620
|
-
*
|
|
621
|
-
* - These are the base props that will be passed into the `<ShipmentSummary />` component.
|
|
622
|
-
*
|
|
623
|
-
* @see {@link ShipmentSummary.Component | This prop types usage in the `<ShipmentSummary />` component}
|
|
624
|
-
*/
|
|
625
659
|
actions: {
|
|
626
660
|
download: {
|
|
627
661
|
pdf: string;
|
|
@@ -638,7 +672,10 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
638
672
|
title: string;
|
|
639
673
|
subtitle: string;
|
|
640
674
|
};
|
|
641
|
-
};
|
|
675
|
+
}; /**
|
|
676
|
+
* `onClickPurchaseLabel` is a callback function that will be invoked when the user clicks the
|
|
677
|
+
* `Purchase Label` button.
|
|
678
|
+
*/
|
|
642
679
|
"list-labels": {
|
|
643
680
|
title: string;
|
|
644
681
|
headers: {
|
|
@@ -677,11 +714,10 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
677
714
|
title: string;
|
|
678
715
|
print: string;
|
|
679
716
|
void: string;
|
|
680
|
-
/**
|
|
717
|
+
printForms: string; /**
|
|
681
718
|
* `onClickPurchaseLabel` is a callback function that will be invoked when the user clicks the
|
|
682
719
|
* `Purchase Label` button.
|
|
683
720
|
*/
|
|
684
|
-
printForms: string;
|
|
685
721
|
};
|
|
686
722
|
errorMessages: {
|
|
687
723
|
title: string;
|
|
@@ -728,6 +764,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
728
764
|
continue: string;
|
|
729
765
|
delete: string;
|
|
730
766
|
edit: string;
|
|
767
|
+
enable: string;
|
|
731
768
|
hide: string;
|
|
732
769
|
parse: string;
|
|
733
770
|
purchase: string;
|
|
@@ -766,11 +803,34 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
766
803
|
modified: string;
|
|
767
804
|
title: string;
|
|
768
805
|
originalAddress: string;
|
|
769
|
-
matchedAddress: string;
|
|
770
|
-
* `shipmentId` is the unique identifier for the shipment you wish to view.
|
|
771
|
-
*/
|
|
806
|
+
matchedAddress: string;
|
|
772
807
|
unableToValidate: string;
|
|
773
808
|
use: {
|
|
809
|
+
/**
|
|
810
|
+
* # Shipment Summary Component
|
|
811
|
+
*
|
|
812
|
+
* - The `<ShipmentSummary />` component is used to for viewing the shipment's tracking number, printing the label that
|
|
813
|
+
* was created, and the option to void the label. When a label is voided, you can see a list of the
|
|
814
|
+
* previously voided labels for a given shipment using this component.
|
|
815
|
+
*
|
|
816
|
+
* @param ComponentProps The base props that will be passed into the `<ShipmentSummary />` component.
|
|
817
|
+
*
|
|
818
|
+
* @returns Element An EmotionJSX.Element that will render the `<ShipmentSummary />` component
|
|
819
|
+
* with all the appropriate wrappers.
|
|
820
|
+
*
|
|
821
|
+
* @example
|
|
822
|
+
* You can see how the `<Component />` is used in the `createElement` function call below.
|
|
823
|
+
* ```tsx
|
|
824
|
+
* export const Element = createElement(Component, ErrorFallback, {
|
|
825
|
+
*
|
|
826
|
+
* resources: { en },
|
|
827
|
+
* });
|
|
828
|
+
* ```
|
|
829
|
+
*
|
|
830
|
+
* <br />
|
|
831
|
+
*
|
|
832
|
+
* @see {@link ShipmentSummary.Element | The **Element** created to render `<ShipmentSummary />`}
|
|
833
|
+
*/
|
|
774
834
|
originalAddress: string;
|
|
775
835
|
matchedAddress: string;
|
|
776
836
|
};
|
|
@@ -890,6 +950,14 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
890
950
|
unknown: string;
|
|
891
951
|
noRatesAvailable: string;
|
|
892
952
|
refreshAndTryAgain: string;
|
|
953
|
+
windsorFramework: {
|
|
954
|
+
doNotConform: string;
|
|
955
|
+
pleaseAddTheFollowingTaxIds: string;
|
|
956
|
+
windsorFrameworkDefaultMessage: string;
|
|
957
|
+
shipperEori: string;
|
|
958
|
+
recipientEori: string;
|
|
959
|
+
ukims: string;
|
|
960
|
+
};
|
|
893
961
|
};
|
|
894
962
|
errorTypes: {
|
|
895
963
|
accountStatus: string;
|
|
@@ -903,6 +971,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
903
971
|
system: string;
|
|
904
972
|
unknown: string;
|
|
905
973
|
validation: string;
|
|
974
|
+
windsorFramework: string;
|
|
906
975
|
};
|
|
907
976
|
grid: {
|
|
908
977
|
"row-count_one": string;
|
|
@@ -929,8 +998,10 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
929
998
|
insuranceProviders: {
|
|
930
999
|
carrier: string;
|
|
931
1000
|
none: string;
|
|
1001
|
+
parcelguard: string;
|
|
932
1002
|
shipsurance: string;
|
|
933
1003
|
thirdParty: string;
|
|
1004
|
+
x_cover: string;
|
|
934
1005
|
};
|
|
935
1006
|
loading: {
|
|
936
1007
|
accountSettings: string;
|
|
@@ -1008,6 +1079,9 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
1008
1079
|
platform: string;
|
|
1009
1080
|
user: string;
|
|
1010
1081
|
};
|
|
1082
|
+
tags: {
|
|
1083
|
+
new: string;
|
|
1084
|
+
};
|
|
1011
1085
|
terms: {
|
|
1012
1086
|
fields: {
|
|
1013
1087
|
agreement: string;
|
|
@@ -1015,6 +1089,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
1015
1089
|
agreeToTerms: string;
|
|
1016
1090
|
carriersTitle: string;
|
|
1017
1091
|
fundingSourceTitle: string;
|
|
1092
|
+
insuranceProvidersTitle: string;
|
|
1018
1093
|
shipEngineTitle: string;
|
|
1019
1094
|
};
|
|
1020
1095
|
weight: {
|
|
@@ -14,6 +14,7 @@ export declare const useShipmentsGrid: ({ shipmentStatus, showShipmentIdFilter,
|
|
|
14
14
|
billToCountryCode?: string | undefined;
|
|
15
15
|
billToParty?: SE.BillToParties | undefined;
|
|
16
16
|
billToPostalCode?: string | undefined;
|
|
17
|
+
canadaDeliveredDuty?: "sender_prepay" | null | undefined;
|
|
17
18
|
collectOnDelivery?: {
|
|
18
19
|
paymentAmount: SE.Money;
|
|
19
20
|
paymentType: SE.PaymentTypes;
|
|
@@ -40,6 +41,7 @@ export declare const useShipmentsGrid: ({ shipmentStatus, showShipmentIdFilter,
|
|
|
40
41
|
shipperRelease?: boolean | undefined;
|
|
41
42
|
thirdPartyConsignee?: boolean | undefined;
|
|
42
43
|
useUpsGroundFreightPricing?: boolean | undefined;
|
|
44
|
+
windsorFrameworkDetails?: SE.WindsorFrameworkDetails | undefined;
|
|
43
45
|
} | undefined;
|
|
44
46
|
carrierId: string;
|
|
45
47
|
comparisonRateType?: string | undefined;
|
|
@@ -99,6 +101,7 @@ export declare const useShipmentsGrid: ({ shipmentStatus, showShipmentIdFilter,
|
|
|
99
101
|
billToCountryCode?: string | undefined;
|
|
100
102
|
billToParty?: SE.BillToParties | undefined;
|
|
101
103
|
billToPostalCode?: string | undefined;
|
|
104
|
+
canadaDeliveredDuty?: "sender_prepay" | null | undefined;
|
|
102
105
|
collectOnDelivery?: {
|
|
103
106
|
paymentAmount: SE.Money;
|
|
104
107
|
paymentType: SE.PaymentTypes;
|
|
@@ -125,6 +128,7 @@ export declare const useShipmentsGrid: ({ shipmentStatus, showShipmentIdFilter,
|
|
|
125
128
|
shipperRelease?: boolean | undefined;
|
|
126
129
|
thirdPartyConsignee?: boolean | undefined;
|
|
127
130
|
useUpsGroundFreightPricing?: boolean | undefined;
|
|
131
|
+
windsorFrameworkDetails?: SE.WindsorFrameworkDetails | undefined;
|
|
128
132
|
} | undefined;
|
|
129
133
|
carrierId: string;
|
|
130
134
|
comparisonRateType?: string | undefined;
|