@shipengine/elements 2.9.0 → 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/field/select/select.d.ts +1 -1
- 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 +30 -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/hooks/use-get-or-create-shipment.d.ts +1 -1
- 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-warehouse-options.d.ts +0 -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
|
@@ -58,6 +58,7 @@ export declare const Element: ({ resources, ...props }: ManageFundingProps & {
|
|
|
58
58
|
showItems: string;
|
|
59
59
|
void: string;
|
|
60
60
|
download: string;
|
|
61
|
+
fileClaim: string;
|
|
61
62
|
};
|
|
62
63
|
fields: {
|
|
63
64
|
dimensions: string;
|
|
@@ -73,6 +74,20 @@ export declare const Element: ({ resources, ...props }: ManageFundingProps & {
|
|
|
73
74
|
insuredValue: string;
|
|
74
75
|
deliveryConfirmation: string;
|
|
75
76
|
};
|
|
77
|
+
insurance: {
|
|
78
|
+
parcelguard: {
|
|
79
|
+
title: string;
|
|
80
|
+
description: string;
|
|
81
|
+
cta: {
|
|
82
|
+
title: string;
|
|
83
|
+
description: string;
|
|
84
|
+
};
|
|
85
|
+
registerSuccess: {
|
|
86
|
+
title: string;
|
|
87
|
+
description: string;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
};
|
|
76
91
|
highVolumeForms: string;
|
|
77
92
|
multipleShippingServices: string;
|
|
78
93
|
sections: {
|
|
@@ -115,12 +130,6 @@ export declare const Element: ({ resources, ...props }: ManageFundingProps & {
|
|
|
115
130
|
};
|
|
116
131
|
"register-wallet": {
|
|
117
132
|
sections: {
|
|
118
|
-
setup: {
|
|
119
|
-
title: string;
|
|
120
|
-
subtitle: string;
|
|
121
|
-
descriptionTitle: string;
|
|
122
|
-
description: string;
|
|
123
|
-
};
|
|
124
133
|
billing: {
|
|
125
134
|
title: string;
|
|
126
135
|
cardSubTitle: string;
|
|
@@ -133,6 +142,17 @@ export declare const Element: ({ resources, ...props }: ManageFundingProps & {
|
|
|
133
142
|
title: string;
|
|
134
143
|
subtitle: string;
|
|
135
144
|
};
|
|
145
|
+
insuranceProviders: {
|
|
146
|
+
parcelguard: {
|
|
147
|
+
description: string;
|
|
148
|
+
terms: string;
|
|
149
|
+
termsLink: string;
|
|
150
|
+
popover: {
|
|
151
|
+
title: string;
|
|
152
|
+
description: string;
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
};
|
|
136
156
|
notifications: {
|
|
137
157
|
error: {
|
|
138
158
|
title: string;
|
|
@@ -227,6 +247,7 @@ export declare const Element: ({ resources, ...props }: ManageFundingProps & {
|
|
|
227
247
|
};
|
|
228
248
|
cta: {
|
|
229
249
|
addPackageDetails: string;
|
|
250
|
+
parcelguard: string;
|
|
230
251
|
};
|
|
231
252
|
errorMessages: {
|
|
232
253
|
customsItemsRequired: string;
|
|
@@ -297,6 +318,17 @@ export declare const Element: ({ resources, ...props }: ManageFundingProps & {
|
|
|
297
318
|
dhlExpressTermsAcknowledgement: string;
|
|
298
319
|
noRateService: string;
|
|
299
320
|
};
|
|
321
|
+
windsorFramework: {
|
|
322
|
+
movementIndicator: string;
|
|
323
|
+
movementIndicators: {
|
|
324
|
+
b2c: string;
|
|
325
|
+
c2b: string;
|
|
326
|
+
c2c: string;
|
|
327
|
+
b2b: string;
|
|
328
|
+
};
|
|
329
|
+
notAtRisk: string;
|
|
330
|
+
notAtRiskShipmentTootip: string;
|
|
331
|
+
};
|
|
300
332
|
requirements: {
|
|
301
333
|
noWarehouse: string;
|
|
302
334
|
noCarrier: string;
|
|
@@ -327,6 +359,7 @@ export declare const Element: ({ resources, ...props }: ManageFundingProps & {
|
|
|
327
359
|
shipToAddressFormFields: string;
|
|
328
360
|
sections: {
|
|
329
361
|
customsForm: string;
|
|
362
|
+
windsorFramework: string;
|
|
330
363
|
shipment: string;
|
|
331
364
|
rate_one: string;
|
|
332
365
|
rate_other: string;
|
|
@@ -351,6 +384,10 @@ export declare const Element: ({ resources, ...props }: ManageFundingProps & {
|
|
|
351
384
|
shipFromAddress: string;
|
|
352
385
|
fundingAndCarrierConnection: string;
|
|
353
386
|
};
|
|
387
|
+
termsAgreement: {
|
|
388
|
+
title: string;
|
|
389
|
+
subtitle: string;
|
|
390
|
+
};
|
|
354
391
|
warehouse: {
|
|
355
392
|
title: string;
|
|
356
393
|
subtitle: string;
|
|
@@ -627,6 +664,7 @@ export declare const Element: ({ resources, ...props }: ManageFundingProps & {
|
|
|
627
664
|
continue: string;
|
|
628
665
|
delete: string;
|
|
629
666
|
edit: string;
|
|
667
|
+
enable: string;
|
|
630
668
|
hide: string;
|
|
631
669
|
parse: string;
|
|
632
670
|
purchase: string;
|
|
@@ -787,6 +825,14 @@ export declare const Element: ({ resources, ...props }: ManageFundingProps & {
|
|
|
787
825
|
unknown: string;
|
|
788
826
|
noRatesAvailable: string;
|
|
789
827
|
refreshAndTryAgain: string;
|
|
828
|
+
windsorFramework: {
|
|
829
|
+
doNotConform: string;
|
|
830
|
+
pleaseAddTheFollowingTaxIds: string;
|
|
831
|
+
windsorFrameworkDefaultMessage: string;
|
|
832
|
+
shipperEori: string;
|
|
833
|
+
recipientEori: string;
|
|
834
|
+
ukims: string;
|
|
835
|
+
};
|
|
790
836
|
};
|
|
791
837
|
errorTypes: {
|
|
792
838
|
accountStatus: string;
|
|
@@ -800,6 +846,7 @@ export declare const Element: ({ resources, ...props }: ManageFundingProps & {
|
|
|
800
846
|
system: string;
|
|
801
847
|
unknown: string;
|
|
802
848
|
validation: string;
|
|
849
|
+
windsorFramework: string;
|
|
803
850
|
};
|
|
804
851
|
grid: {
|
|
805
852
|
"row-count_one": string;
|
|
@@ -826,8 +873,10 @@ export declare const Element: ({ resources, ...props }: ManageFundingProps & {
|
|
|
826
873
|
insuranceProviders: {
|
|
827
874
|
carrier: string;
|
|
828
875
|
none: string;
|
|
876
|
+
parcelguard: string;
|
|
829
877
|
shipsurance: string;
|
|
830
878
|
thirdParty: string;
|
|
879
|
+
x_cover: string;
|
|
831
880
|
};
|
|
832
881
|
loading: {
|
|
833
882
|
accountSettings: string;
|
|
@@ -905,6 +954,9 @@ export declare const Element: ({ resources, ...props }: ManageFundingProps & {
|
|
|
905
954
|
platform: string;
|
|
906
955
|
user: string;
|
|
907
956
|
};
|
|
957
|
+
tags: {
|
|
958
|
+
new: string;
|
|
959
|
+
};
|
|
908
960
|
terms: {
|
|
909
961
|
fields: {
|
|
910
962
|
agreement: string;
|
|
@@ -912,6 +964,7 @@ export declare const Element: ({ resources, ...props }: ManageFundingProps & {
|
|
|
912
964
|
agreeToTerms: string;
|
|
913
965
|
carriersTitle: string;
|
|
914
966
|
fundingSourceTitle: string;
|
|
967
|
+
insuranceProvidersTitle: string;
|
|
915
968
|
shipEngineTitle: string;
|
|
916
969
|
};
|
|
917
970
|
weight: {
|
|
@@ -75,6 +75,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
75
75
|
showItems: string;
|
|
76
76
|
void: string;
|
|
77
77
|
download: string;
|
|
78
|
+
fileClaim: string;
|
|
78
79
|
};
|
|
79
80
|
fields: {
|
|
80
81
|
dimensions: string;
|
|
@@ -90,6 +91,20 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
90
91
|
insuredValue: string;
|
|
91
92
|
deliveryConfirmation: string;
|
|
92
93
|
};
|
|
94
|
+
insurance: {
|
|
95
|
+
parcelguard: {
|
|
96
|
+
title: string;
|
|
97
|
+
description: string;
|
|
98
|
+
cta: {
|
|
99
|
+
title: string;
|
|
100
|
+
description: string;
|
|
101
|
+
};
|
|
102
|
+
registerSuccess: {
|
|
103
|
+
title: string;
|
|
104
|
+
description: string;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
};
|
|
93
108
|
highVolumeForms: string;
|
|
94
109
|
multipleShippingServices: string;
|
|
95
110
|
sections: {
|
|
@@ -132,12 +147,6 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
132
147
|
};
|
|
133
148
|
"register-wallet": {
|
|
134
149
|
sections: {
|
|
135
|
-
setup: {
|
|
136
|
-
title: string;
|
|
137
|
-
subtitle: string;
|
|
138
|
-
descriptionTitle: string;
|
|
139
|
-
description: string;
|
|
140
|
-
};
|
|
141
150
|
billing: {
|
|
142
151
|
title: string;
|
|
143
152
|
cardSubTitle: string;
|
|
@@ -150,6 +159,17 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
150
159
|
title: string;
|
|
151
160
|
subtitle: string;
|
|
152
161
|
};
|
|
162
|
+
insuranceProviders: {
|
|
163
|
+
parcelguard: {
|
|
164
|
+
description: string;
|
|
165
|
+
terms: string;
|
|
166
|
+
termsLink: string;
|
|
167
|
+
popover: {
|
|
168
|
+
title: string;
|
|
169
|
+
description: string;
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
};
|
|
153
173
|
notifications: {
|
|
154
174
|
error: {
|
|
155
175
|
title: string;
|
|
@@ -244,6 +264,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
244
264
|
};
|
|
245
265
|
cta: {
|
|
246
266
|
addPackageDetails: string;
|
|
267
|
+
parcelguard: string;
|
|
247
268
|
};
|
|
248
269
|
errorMessages: {
|
|
249
270
|
customsItemsRequired: string;
|
|
@@ -314,6 +335,17 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
314
335
|
dhlExpressTermsAcknowledgement: string;
|
|
315
336
|
noRateService: string;
|
|
316
337
|
};
|
|
338
|
+
windsorFramework: {
|
|
339
|
+
movementIndicator: string;
|
|
340
|
+
movementIndicators: {
|
|
341
|
+
b2c: string;
|
|
342
|
+
c2b: string;
|
|
343
|
+
c2c: string;
|
|
344
|
+
b2b: string;
|
|
345
|
+
};
|
|
346
|
+
notAtRisk: string;
|
|
347
|
+
notAtRiskShipmentTootip: string;
|
|
348
|
+
};
|
|
317
349
|
requirements: {
|
|
318
350
|
noWarehouse: string;
|
|
319
351
|
noCarrier: string;
|
|
@@ -344,6 +376,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
344
376
|
shipToAddressFormFields: string;
|
|
345
377
|
sections: {
|
|
346
378
|
customsForm: string;
|
|
379
|
+
windsorFramework: string;
|
|
347
380
|
shipment: string;
|
|
348
381
|
rate_one: string;
|
|
349
382
|
rate_other: string;
|
|
@@ -368,6 +401,10 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
368
401
|
shipFromAddress: string;
|
|
369
402
|
fundingAndCarrierConnection: string;
|
|
370
403
|
};
|
|
404
|
+
termsAgreement: {
|
|
405
|
+
title: string;
|
|
406
|
+
subtitle: string;
|
|
407
|
+
};
|
|
371
408
|
warehouse: {
|
|
372
409
|
title: string;
|
|
373
410
|
subtitle: string;
|
|
@@ -661,6 +698,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
661
698
|
*
|
|
662
699
|
*/
|
|
663
700
|
edit: string;
|
|
701
|
+
enable: string;
|
|
664
702
|
hide: string;
|
|
665
703
|
parse: string;
|
|
666
704
|
purchase: string;
|
|
@@ -821,6 +859,14 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
821
859
|
unknown: string;
|
|
822
860
|
noRatesAvailable: string;
|
|
823
861
|
refreshAndTryAgain: string;
|
|
862
|
+
windsorFramework: {
|
|
863
|
+
doNotConform: string;
|
|
864
|
+
pleaseAddTheFollowingTaxIds: string;
|
|
865
|
+
windsorFrameworkDefaultMessage: string;
|
|
866
|
+
shipperEori: string;
|
|
867
|
+
recipientEori: string;
|
|
868
|
+
ukims: string;
|
|
869
|
+
};
|
|
824
870
|
};
|
|
825
871
|
errorTypes: {
|
|
826
872
|
accountStatus: string;
|
|
@@ -834,6 +880,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
834
880
|
system: string;
|
|
835
881
|
unknown: string;
|
|
836
882
|
validation: string;
|
|
883
|
+
windsorFramework: string;
|
|
837
884
|
};
|
|
838
885
|
grid: {
|
|
839
886
|
"row-count_one": string;
|
|
@@ -860,8 +907,10 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
860
907
|
insuranceProviders: {
|
|
861
908
|
carrier: string;
|
|
862
909
|
none: string;
|
|
910
|
+
parcelguard: string;
|
|
863
911
|
shipsurance: string;
|
|
864
912
|
thirdParty: string;
|
|
913
|
+
x_cover: string;
|
|
865
914
|
};
|
|
866
915
|
loading: {
|
|
867
916
|
accountSettings: string;
|
|
@@ -939,6 +988,9 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
939
988
|
platform: string;
|
|
940
989
|
user: string;
|
|
941
990
|
};
|
|
991
|
+
tags: {
|
|
992
|
+
new: string;
|
|
993
|
+
};
|
|
942
994
|
terms: {
|
|
943
995
|
fields: {
|
|
944
996
|
agreement: string;
|
|
@@ -946,6 +998,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
946
998
|
agreeToTerms: string;
|
|
947
999
|
carriersTitle: string;
|
|
948
1000
|
fundingSourceTitle: string;
|
|
1001
|
+
insuranceProvidersTitle: string;
|
|
949
1002
|
shipEngineTitle: string;
|
|
950
1003
|
};
|
|
951
1004
|
weight: {
|
|
@@ -58,6 +58,7 @@ export declare const Element: ({ resources, ...props }: PaymentMethodSettingsPro
|
|
|
58
58
|
showItems: string;
|
|
59
59
|
void: string;
|
|
60
60
|
download: string;
|
|
61
|
+
fileClaim: string;
|
|
61
62
|
};
|
|
62
63
|
fields: {
|
|
63
64
|
dimensions: string;
|
|
@@ -73,6 +74,20 @@ export declare const Element: ({ resources, ...props }: PaymentMethodSettingsPro
|
|
|
73
74
|
insuredValue: string;
|
|
74
75
|
deliveryConfirmation: string;
|
|
75
76
|
};
|
|
77
|
+
insurance: {
|
|
78
|
+
parcelguard: {
|
|
79
|
+
title: string;
|
|
80
|
+
description: string;
|
|
81
|
+
cta: {
|
|
82
|
+
title: string;
|
|
83
|
+
description: string;
|
|
84
|
+
};
|
|
85
|
+
registerSuccess: {
|
|
86
|
+
title: string;
|
|
87
|
+
description: string;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
};
|
|
76
91
|
highVolumeForms: string;
|
|
77
92
|
multipleShippingServices: string;
|
|
78
93
|
sections: {
|
|
@@ -115,12 +130,6 @@ export declare const Element: ({ resources, ...props }: PaymentMethodSettingsPro
|
|
|
115
130
|
};
|
|
116
131
|
"register-wallet": {
|
|
117
132
|
sections: {
|
|
118
|
-
setup: {
|
|
119
|
-
title: string;
|
|
120
|
-
subtitle: string;
|
|
121
|
-
descriptionTitle: string;
|
|
122
|
-
description: string;
|
|
123
|
-
};
|
|
124
133
|
billing: {
|
|
125
134
|
title: string;
|
|
126
135
|
cardSubTitle: string;
|
|
@@ -133,6 +142,17 @@ export declare const Element: ({ resources, ...props }: PaymentMethodSettingsPro
|
|
|
133
142
|
title: string;
|
|
134
143
|
subtitle: string;
|
|
135
144
|
};
|
|
145
|
+
insuranceProviders: {
|
|
146
|
+
parcelguard: {
|
|
147
|
+
description: string;
|
|
148
|
+
terms: string;
|
|
149
|
+
termsLink: string;
|
|
150
|
+
popover: {
|
|
151
|
+
title: string;
|
|
152
|
+
description: string;
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
};
|
|
136
156
|
notifications: {
|
|
137
157
|
error: {
|
|
138
158
|
title: string;
|
|
@@ -227,6 +247,7 @@ export declare const Element: ({ resources, ...props }: PaymentMethodSettingsPro
|
|
|
227
247
|
};
|
|
228
248
|
cta: {
|
|
229
249
|
addPackageDetails: string;
|
|
250
|
+
parcelguard: string;
|
|
230
251
|
};
|
|
231
252
|
errorMessages: {
|
|
232
253
|
customsItemsRequired: string;
|
|
@@ -297,6 +318,17 @@ export declare const Element: ({ resources, ...props }: PaymentMethodSettingsPro
|
|
|
297
318
|
dhlExpressTermsAcknowledgement: string;
|
|
298
319
|
noRateService: string;
|
|
299
320
|
};
|
|
321
|
+
windsorFramework: {
|
|
322
|
+
movementIndicator: string;
|
|
323
|
+
movementIndicators: {
|
|
324
|
+
b2c: string;
|
|
325
|
+
c2b: string;
|
|
326
|
+
c2c: string;
|
|
327
|
+
b2b: string;
|
|
328
|
+
};
|
|
329
|
+
notAtRisk: string;
|
|
330
|
+
notAtRiskShipmentTootip: string;
|
|
331
|
+
};
|
|
300
332
|
requirements: {
|
|
301
333
|
noWarehouse: string;
|
|
302
334
|
noCarrier: string;
|
|
@@ -327,6 +359,7 @@ export declare const Element: ({ resources, ...props }: PaymentMethodSettingsPro
|
|
|
327
359
|
shipToAddressFormFields: string;
|
|
328
360
|
sections: {
|
|
329
361
|
customsForm: string;
|
|
362
|
+
windsorFramework: string;
|
|
330
363
|
shipment: string;
|
|
331
364
|
rate_one: string;
|
|
332
365
|
rate_other: string;
|
|
@@ -351,6 +384,10 @@ export declare const Element: ({ resources, ...props }: PaymentMethodSettingsPro
|
|
|
351
384
|
shipFromAddress: string;
|
|
352
385
|
fundingAndCarrierConnection: string;
|
|
353
386
|
};
|
|
387
|
+
termsAgreement: {
|
|
388
|
+
title: string;
|
|
389
|
+
subtitle: string;
|
|
390
|
+
};
|
|
354
391
|
warehouse: {
|
|
355
392
|
title: string;
|
|
356
393
|
subtitle: string;
|
|
@@ -627,6 +664,7 @@ export declare const Element: ({ resources, ...props }: PaymentMethodSettingsPro
|
|
|
627
664
|
continue: string;
|
|
628
665
|
delete: string;
|
|
629
666
|
edit: string;
|
|
667
|
+
enable: string;
|
|
630
668
|
hide: string;
|
|
631
669
|
parse: string;
|
|
632
670
|
purchase: string;
|
|
@@ -787,6 +825,14 @@ export declare const Element: ({ resources, ...props }: PaymentMethodSettingsPro
|
|
|
787
825
|
unknown: string;
|
|
788
826
|
noRatesAvailable: string;
|
|
789
827
|
refreshAndTryAgain: string;
|
|
828
|
+
windsorFramework: {
|
|
829
|
+
doNotConform: string;
|
|
830
|
+
pleaseAddTheFollowingTaxIds: string;
|
|
831
|
+
windsorFrameworkDefaultMessage: string;
|
|
832
|
+
shipperEori: string;
|
|
833
|
+
recipientEori: string;
|
|
834
|
+
ukims: string;
|
|
835
|
+
};
|
|
790
836
|
};
|
|
791
837
|
errorTypes: {
|
|
792
838
|
accountStatus: string;
|
|
@@ -800,6 +846,7 @@ export declare const Element: ({ resources, ...props }: PaymentMethodSettingsPro
|
|
|
800
846
|
system: string;
|
|
801
847
|
unknown: string;
|
|
802
848
|
validation: string;
|
|
849
|
+
windsorFramework: string;
|
|
803
850
|
};
|
|
804
851
|
grid: {
|
|
805
852
|
"row-count_one": string;
|
|
@@ -826,8 +873,10 @@ export declare const Element: ({ resources, ...props }: PaymentMethodSettingsPro
|
|
|
826
873
|
insuranceProviders: {
|
|
827
874
|
carrier: string;
|
|
828
875
|
none: string;
|
|
876
|
+
parcelguard: string;
|
|
829
877
|
shipsurance: string;
|
|
830
878
|
thirdParty: string;
|
|
879
|
+
x_cover: string;
|
|
831
880
|
};
|
|
832
881
|
loading: {
|
|
833
882
|
accountSettings: string;
|
|
@@ -905,6 +954,9 @@ export declare const Element: ({ resources, ...props }: PaymentMethodSettingsPro
|
|
|
905
954
|
platform: string;
|
|
906
955
|
user: string;
|
|
907
956
|
};
|
|
957
|
+
tags: {
|
|
958
|
+
new: string;
|
|
959
|
+
};
|
|
908
960
|
terms: {
|
|
909
961
|
fields: {
|
|
910
962
|
agreement: string;
|
|
@@ -912,6 +964,7 @@ export declare const Element: ({ resources, ...props }: PaymentMethodSettingsPro
|
|
|
912
964
|
agreeToTerms: string;
|
|
913
965
|
carriersTitle: string;
|
|
914
966
|
fundingSourceTitle: string;
|
|
967
|
+
insuranceProvidersTitle: string;
|
|
915
968
|
shipEngineTitle: string;
|
|
916
969
|
};
|
|
917
970
|
weight: {
|
|
@@ -8,6 +8,6 @@ export type UseGetOrCreateShipmentProps = {
|
|
|
8
8
|
export declare const useGetOrCreateShipment: ({ externalShipmentId, shipmentId, onShipmentUpdated, }: UseGetOrCreateShipmentProps) => {
|
|
9
9
|
errors: SE.CodedError[] | undefined;
|
|
10
10
|
isLoading: boolean;
|
|
11
|
-
refetchShipment:
|
|
11
|
+
refetchShipment: () => Promise<void>;
|
|
12
12
|
shipment: SE.SalesOrderShipment;
|
|
13
13
|
};
|