@shipengine/elements 2.13.1 → 2.15.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/components.js +1 -1
- package/elements.js +1 -1
- package/hooks.js +1 -1
- package/index.js +1 -1
- package/package.json +8 -5
- package/src/components/address-preference-context/address-preference-context.d.ts +1 -1
- package/src/components/drawer/drawer.styles.d.ts +1 -0
- package/src/components/enable-insurance-banner/enable-insurance-banner.d.ts +4 -3
- package/src/components/pager/usePager.d.ts +1 -0
- package/src/components/tabs/tabs.styles.d.ts +1 -0
- package/src/components/templates/address-form/address-fields.d.ts +1 -2
- package/src/components/templates/address-form/address-form.d.ts +1 -2
- package/src/components/templates/product-form/product-form.d.ts +3 -1
- package/src/components/templates/products-display/products-display.d.ts +4 -4
- package/src/components/templates/rate-form/rate-form.styles.d.ts +3 -0
- package/src/components/templates/register-funding-source-insurance-form/register-funding-source-insurance-form.d.ts +3 -1
- package/src/components/templates/shipment-form/sections/customs-forms/customs-forms.d.ts +3 -2
- package/src/components/templates/shipment-form/shipment-form.d.ts +5 -2
- package/src/components/templates/theme-creator/theme-creator.d.ts +1 -0
- package/src/components/templates/theme-creator/theme-creator.styles.d.ts +40 -2
- package/src/components/templates/wallet-form/edit-wallet-address-form.d.ts +1 -1
- package/src/components/templates/wallet-form/wallet-schema.d.ts +1 -1
- package/src/components/vat-form/vat-form-schema.d.ts +21 -3
- package/src/components/vat-form/vat-form.d.ts +7 -2
- package/src/components/vat-form/vat-form.styles.d.ts +3 -0
- package/src/components/vat-form/vat-types.d.ts +6 -0
- package/src/components/warehouse-form/warehouse-form-schema.d.ts +6 -0
- package/src/components/warehouse-form/warehouse-form.d.ts +3 -1
- package/src/elements/labels-grid/hooks/use-labels-grid.d.ts +1 -0
- package/src/elements/labels-grid/labels-grid.d.ts +44 -17
- package/src/elements/manage-carriers/manage-carriers.d.ts +11 -3
- package/src/elements/manage-external-carriers/manage-external-carriers.d.ts +11 -3
- package/src/elements/manage-funding/manage-funding-element.d.ts +11 -3
- package/src/elements/manage-warehouses/manage-warehouses.d.ts +11 -3
- package/src/elements/payment-method-settings/payment-method-settings-element.d.ts +11 -3
- package/src/elements/purchase-label/configure-shipment.d.ts +3 -2
- package/src/elements/purchase-label/hooks/index.d.ts +0 -2
- package/src/elements/purchase-label/hooks/use-shipment-form.d.ts +2 -1
- package/src/elements/purchase-label/purchase-label.d.ts +33 -40
- package/src/elements/select-label-layout/select-label-layout-element.d.ts +11 -3
- package/src/elements/shipment-summary/shipment-summary.d.ts +14 -7
- package/src/elements/shipments-grid/hooks/use-shipments-grid.d.ts +1 -0
- package/src/elements/shipments-grid/shipments-grid.d.ts +11 -6
- package/src/elements/theme-creator/theme-creator.d.ts +11 -3
- package/src/elements/transaction-history/transaction-history-element.d.ts +11 -3
- package/src/elements/unit-settings/unit-settings-element.d.ts +11 -3
- package/src/elements/vat-settings/vat-settings-element.d.ts +11 -3
- package/src/elements/void-label/void-label.d.ts +41 -47
- package/src/elements-provider/elements-provider.d.ts +1 -2
- package/src/features/manage-carriers/manage-insurance-provider-row/manage-insurance-provider-row.d.ts +2 -1
- package/src/features/vat-settings/use-vat-settings.d.ts +1 -1
- package/src/features/vat-settings/vat-settings.d.ts +1 -4
- package/src/features/vat-settings/vat-settings.styles.d.ts +7 -0
- package/src/hooks/index.d.ts +2 -0
- package/src/hooks/insurance/use-manage-funding-source-insurance.d.ts +3 -2
- package/src/hooks/options/use-country-code-options.d.ts +1 -1
- package/src/hooks/options/use-state-code-options.d.ts +2 -2
- package/src/{elements/purchase-label/hooks → hooks}/use-configure-shipment.d.ts +5 -10
- package/src/hooks/use-helpers.stories.d.ts +3 -0
- package/src/hooks/use-nested-form.d.ts +6 -2
- package/src/locales/en/index.d.ts +11 -3
- package/src/themes/auctane.d.ts +3 -0
- package/src/themes/index.d.ts +1 -0
- package/src/types/harmonized-tariff-code.d.ts +10 -0
- package/src/types/index.d.ts +4 -3
- package/src/workflows/account-settings/account-settings.d.ts +11 -3
- package/src/workflows/carrier-services/carrier-services.d.ts +11 -26
- package/src/workflows/connect-external-carrier/connect-external-carrier.d.ts +11 -3
- package/src/workflows/label-workflow/label-workflow.d.ts +1126 -101
- package/src/workflows/onboarding/components/ship-from-address-step/ship-from-address-step.d.ts +1 -1
- package/src/workflows/onboarding/onboarding.d.ts +12 -4
- package/transaction-history-element.js +1 -1
- package/use-configure-shipment.js +1 -0
- 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/warehouses.js +1 -0
- package/workflows.js +1 -1
- package/shipment.js +0 -1
- package/src/elements/theme-creator/themeData/index.d.ts +0 -1
- package/src/elements/theme-creator/themeData/themeData.d.ts +0 -2
- package/use-scrub-errors.js +0 -1
- /package/src/{elements/purchase-label/hooks → hooks}/use-import-sales-order.d.ts +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { SE } from "@shipengine/react-api";
|
|
3
|
-
import { UseShippingPresetsOptionsProps } from "../../hooks";
|
|
3
|
+
import { UseConfigureShipmentProps, UseImportSalesOrderProps, UseShippingPresetsOptionsProps } from "../../hooks";
|
|
4
|
+
import { HarmonizedTariffCode } from "../../types";
|
|
4
5
|
import { PurchaseLabelFeatures } from "../../utilities";
|
|
5
6
|
import { ConfigureShipmentProps } from "./configure-shipment";
|
|
6
|
-
import { UseConfigureShipmentProps, UseImportSalesOrderProps } from "./hooks";
|
|
7
7
|
/**
|
|
8
8
|
* # Purchase Label Component Props
|
|
9
9
|
*
|
|
@@ -45,6 +45,10 @@ export type PurchaseLabelCommonProps = {
|
|
|
45
45
|
* flag and green checkmark when the rate is selected.
|
|
46
46
|
*/
|
|
47
47
|
getPreferredRates?: ConfigureShipmentProps["getPreferredRates"];
|
|
48
|
+
/**
|
|
49
|
+
* `harmonizedTariffCodes` is an array of objects that contain the Harmonized Tariff Codes and descriptions used to populate the HS Codes dropdown within the Customs Form.
|
|
50
|
+
*/
|
|
51
|
+
harmonizedTariffCodes?: HarmonizedTariffCode[];
|
|
48
52
|
/**
|
|
49
53
|
* `onAddressValidation` is an async/sync callback function that will be invoked on each Address
|
|
50
54
|
* validation request. For example, whenever you update the `Ship To Address` or
|
|
@@ -262,10 +266,7 @@ export declare const Element: ({ resources, ...props }: PurchaseLabelCommonProps
|
|
|
262
266
|
refund_process: string;
|
|
263
267
|
refund_rules: string;
|
|
264
268
|
resultTitles: {
|
|
265
|
-
approved: string;
|
|
266
|
-
* A unique ID assigned during the creation of a sales order. It can be used to locate the
|
|
267
|
-
* sales order and any subsequent shipments related to that order.
|
|
268
|
-
*/
|
|
269
|
+
approved: string;
|
|
269
270
|
rejected: string;
|
|
270
271
|
};
|
|
271
272
|
voidedOn: string;
|
|
@@ -324,16 +325,18 @@ export declare const Element: ({ resources, ...props }: PurchaseLabelCommonProps
|
|
|
324
325
|
vatNumber: string;
|
|
325
326
|
vatRegistrationTooltip: string;
|
|
326
327
|
vatFormText: string;
|
|
327
|
-
vatFormRegisterLater: string;
|
|
328
328
|
vatNumberInputHint: string;
|
|
329
329
|
vatNumberInputPlaceholder: string;
|
|
330
330
|
verifiedVat: string;
|
|
331
|
+
vatNumberFieldLabel: string;
|
|
332
|
+
vatTypePlaceholder: string;
|
|
333
|
+
issuingAuthorityPlaceholder: string;
|
|
334
|
+
issuingAuthorityFieldLabel: string;
|
|
331
335
|
vatFormErrors: {
|
|
332
336
|
invalidFieldValue: string;
|
|
333
337
|
verificationFailure: string;
|
|
334
338
|
forbidden: string;
|
|
335
339
|
connectionNotSupported: string;
|
|
336
|
-
genericTitle: string;
|
|
337
340
|
genericText: string;
|
|
338
341
|
};
|
|
339
342
|
};
|
|
@@ -366,6 +369,10 @@ export declare const Element: ({ resources, ...props }: PurchaseLabelCommonProps
|
|
|
366
369
|
subtitle: string;
|
|
367
370
|
};
|
|
368
371
|
insuranceProviders: {
|
|
372
|
+
connectionError: {
|
|
373
|
+
title: string;
|
|
374
|
+
description: string;
|
|
375
|
+
};
|
|
369
376
|
parcelguard: {
|
|
370
377
|
description: string;
|
|
371
378
|
terms: string;
|
|
@@ -441,14 +448,6 @@ export declare const Element: ({ resources, ...props }: PurchaseLabelCommonProps
|
|
|
441
448
|
location_fee: string;
|
|
442
449
|
oversize: string;
|
|
443
450
|
returns: string;
|
|
444
|
-
/**
|
|
445
|
-
* # Purchase Label Component Props
|
|
446
|
-
*
|
|
447
|
-
* These are the shared props that will be passed into the `<PurchaseLabel.Element />`, and work
|
|
448
|
-
* for either shipment-based or sales order-based label purchasing.
|
|
449
|
-
*
|
|
450
|
-
* @see {@link PurchaseLabel.Element | This prop types usage in `<PurchaseLabel.Element />`}
|
|
451
|
-
*/
|
|
452
451
|
notifications: string;
|
|
453
452
|
tip: string;
|
|
454
453
|
duties_and_taxes: string;
|
|
@@ -526,7 +525,9 @@ export declare const Element: ({ resources, ...props }: PurchaseLabelCommonProps
|
|
|
526
525
|
};
|
|
527
526
|
hints: {
|
|
528
527
|
contentDescription: string;
|
|
529
|
-
};
|
|
528
|
+
}; /**
|
|
529
|
+
* `harmonizedTariffCodes` is an array of objects that contain the Harmonized Tariff Codes and descriptions used to populate the HS Codes dropdown within the Customs Form.
|
|
530
|
+
*/
|
|
530
531
|
loading: {
|
|
531
532
|
calculatingRates: string;
|
|
532
533
|
};
|
|
@@ -534,7 +535,11 @@ export declare const Element: ({ resources, ...props }: PurchaseLabelCommonProps
|
|
|
534
535
|
browseRates: string;
|
|
535
536
|
selectService: string;
|
|
536
537
|
};
|
|
537
|
-
multipleShippingServices: string;
|
|
538
|
+
multipleShippingServices: string; /**
|
|
539
|
+
* `onAddressValidation` is an async/sync callback function that will be invoked on each Address
|
|
540
|
+
* validation request. For example, whenever you update the `Ship To Address` or
|
|
541
|
+
* `Ship From Address` for a given shipment.
|
|
542
|
+
*/
|
|
538
543
|
schemaErrors: {
|
|
539
544
|
shipFromUnitedStatesOnly: string;
|
|
540
545
|
shipFromAddressRequired: string;
|
|
@@ -545,10 +550,7 @@ export declare const Element: ({ resources, ...props }: PurchaseLabelCommonProps
|
|
|
545
550
|
uspsMediaMailAcknowledgement: string;
|
|
546
551
|
uspsFirstClassMailAcknowledgement_leof: string;
|
|
547
552
|
rateSavings: string;
|
|
548
|
-
upsGroundSaverTermsAcknowledgement: string;
|
|
549
|
-
* `onChangeShipmentFormMode` is an async/sync callback function that will be invoked each time
|
|
550
|
-
* the user toggles the `Shipment Form Mode` between `Browse Rates` and `Selected Rate`.
|
|
551
|
-
*/
|
|
553
|
+
upsGroundSaverTermsAcknowledgement: string;
|
|
552
554
|
dhlExpressTermsAcknowledgement: string;
|
|
553
555
|
noRateService: string;
|
|
554
556
|
};
|
|
@@ -558,10 +560,7 @@ export declare const Element: ({ resources, ...props }: PurchaseLabelCommonProps
|
|
|
558
560
|
b2c: string;
|
|
559
561
|
c2b: string;
|
|
560
562
|
c2c: string;
|
|
561
|
-
b2b: string;
|
|
562
|
-
* `onLabelCreateSuccess` is an async/sync callback provided by the client that is invoked if the
|
|
563
|
-
* label is successfully created/purchased.
|
|
564
|
-
*/
|
|
563
|
+
b2b: string;
|
|
565
564
|
};
|
|
566
565
|
notAtRisk: string;
|
|
567
566
|
notAtRiskShipmentTootip: string;
|
|
@@ -599,9 +598,7 @@ export declare const Element: ({ resources, ...props }: PurchaseLabelCommonProps
|
|
|
599
598
|
windsorFramework: string;
|
|
600
599
|
shipment: string;
|
|
601
600
|
rate_one: string;
|
|
602
|
-
rate_other: string;
|
|
603
|
-
* A unique Id refering the API code used to identify the type of order source, e.g. "amazon_ca"
|
|
604
|
-
*/
|
|
601
|
+
rate_other: string;
|
|
605
602
|
payment: string;
|
|
606
603
|
};
|
|
607
604
|
};
|
|
@@ -934,15 +931,15 @@ export declare const Element: ({ resources, ...props }: PurchaseLabelCommonProps
|
|
|
934
931
|
subFields: {
|
|
935
932
|
optional: string;
|
|
936
933
|
};
|
|
937
|
-
/**
|
|
938
|
-
* The Currency used through out the label purchase process. Default to USD
|
|
939
|
-
*/
|
|
940
934
|
parserFields: {
|
|
941
935
|
fullAddress: string;
|
|
942
936
|
};
|
|
943
937
|
paste: string;
|
|
944
938
|
preference: {
|
|
945
|
-
confirm: string;
|
|
939
|
+
confirm: string; /**
|
|
940
|
+
* A unique ID assigned during the creation of a sales order. It can be used to locate the
|
|
941
|
+
* sales order and any subsequent shipments related to that order.
|
|
942
|
+
*/
|
|
946
943
|
addressNotValidated: string;
|
|
947
944
|
modified: string;
|
|
948
945
|
title: string;
|
|
@@ -1040,6 +1037,7 @@ export declare const Element: ({ resources, ...props }: PurchaseLabelCommonProps
|
|
|
1040
1037
|
taxIssuingAuthority: string;
|
|
1041
1038
|
entityType: string;
|
|
1042
1039
|
};
|
|
1040
|
+
hsCode: string;
|
|
1043
1041
|
nonDelivery: {
|
|
1044
1042
|
returnToSender: string;
|
|
1045
1043
|
treatAsAbandoned: string;
|
|
@@ -1049,12 +1047,6 @@ export declare const Element: ({ resources, ...props }: PurchaseLabelCommonProps
|
|
|
1049
1047
|
recipientPays: string;
|
|
1050
1048
|
tooltip: {
|
|
1051
1049
|
title: string;
|
|
1052
|
-
/**
|
|
1053
|
-
* `onToggleAddressPreferenceDisclosure` is an async/sync callback function that will be invoked
|
|
1054
|
-
* each time the user toggles the `Address Preference` disclosure. This disclosure component
|
|
1055
|
-
* allows the user to select whether they would like to use the address they entered, or
|
|
1056
|
-
* the formatted address that we return after validation.
|
|
1057
|
-
*/
|
|
1058
1050
|
restriction: string;
|
|
1059
1051
|
requirement1: string;
|
|
1060
1052
|
requirement2: string;
|
|
@@ -1083,6 +1075,7 @@ export declare const Element: ({ resources, ...props }: PurchaseLabelCommonProps
|
|
|
1083
1075
|
shipments: string;
|
|
1084
1076
|
warehouses: string;
|
|
1085
1077
|
};
|
|
1078
|
+
labelHasBeenPurchased: string;
|
|
1086
1079
|
emailIsRequired: string;
|
|
1087
1080
|
unknown: string;
|
|
1088
1081
|
noRatesAvailable: string;
|
|
@@ -1193,7 +1186,7 @@ export declare const Element: ({ resources, ...props }: PurchaseLabelCommonProps
|
|
|
1193
1186
|
};
|
|
1194
1187
|
invalidAddressName: string;
|
|
1195
1188
|
invalidAddressNameStrict: string;
|
|
1196
|
-
|
|
1189
|
+
invalidAddressNameOnboarding: string;
|
|
1197
1190
|
invalidAddressPoBox: string;
|
|
1198
1191
|
invalidCreditCardType: string;
|
|
1199
1192
|
invalidExpirationDate: string;
|
|
@@ -101,16 +101,18 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
101
101
|
vatNumber: string;
|
|
102
102
|
vatRegistrationTooltip: string;
|
|
103
103
|
vatFormText: string;
|
|
104
|
-
vatFormRegisterLater: string;
|
|
105
104
|
vatNumberInputHint: string;
|
|
106
105
|
vatNumberInputPlaceholder: string;
|
|
107
106
|
verifiedVat: string;
|
|
107
|
+
vatNumberFieldLabel: string;
|
|
108
|
+
vatTypePlaceholder: string;
|
|
109
|
+
issuingAuthorityPlaceholder: string;
|
|
110
|
+
issuingAuthorityFieldLabel: string;
|
|
108
111
|
vatFormErrors: {
|
|
109
112
|
invalidFieldValue: string;
|
|
110
113
|
verificationFailure: string;
|
|
111
114
|
forbidden: string;
|
|
112
115
|
connectionNotSupported: string;
|
|
113
|
-
genericTitle: string;
|
|
114
116
|
genericText: string;
|
|
115
117
|
};
|
|
116
118
|
};
|
|
@@ -143,6 +145,10 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
143
145
|
subtitle: string;
|
|
144
146
|
};
|
|
145
147
|
insuranceProviders: {
|
|
148
|
+
connectionError: {
|
|
149
|
+
title: string;
|
|
150
|
+
description: string;
|
|
151
|
+
};
|
|
146
152
|
parcelguard: {
|
|
147
153
|
description: string;
|
|
148
154
|
terms: string;
|
|
@@ -798,6 +804,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
798
804
|
taxIssuingAuthority: string;
|
|
799
805
|
entityType: string;
|
|
800
806
|
};
|
|
807
|
+
hsCode: string;
|
|
801
808
|
nonDelivery: {
|
|
802
809
|
returnToSender: string;
|
|
803
810
|
treatAsAbandoned: string;
|
|
@@ -835,6 +842,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
835
842
|
shipments: string;
|
|
836
843
|
warehouses: string;
|
|
837
844
|
};
|
|
845
|
+
labelHasBeenPurchased: string;
|
|
838
846
|
emailIsRequired: string;
|
|
839
847
|
unknown: string;
|
|
840
848
|
noRatesAvailable: string;
|
|
@@ -945,7 +953,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
945
953
|
};
|
|
946
954
|
invalidAddressName: string;
|
|
947
955
|
invalidAddressNameStrict: string;
|
|
948
|
-
|
|
956
|
+
invalidAddressNameOnboarding: string;
|
|
949
957
|
invalidAddressPoBox: string;
|
|
950
958
|
invalidCreditCardType: string;
|
|
951
959
|
invalidExpirationDate: string;
|
|
@@ -192,16 +192,20 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
192
192
|
vatNumber: string;
|
|
193
193
|
vatRegistrationTooltip: string;
|
|
194
194
|
vatFormText: string;
|
|
195
|
-
vatFormRegisterLater: string;
|
|
196
195
|
vatNumberInputHint: string;
|
|
197
196
|
vatNumberInputPlaceholder: string;
|
|
198
197
|
verifiedVat: string;
|
|
198
|
+
vatNumberFieldLabel: string;
|
|
199
|
+
vatTypePlaceholder: string;
|
|
200
|
+
issuingAuthorityPlaceholder: string;
|
|
201
|
+
issuingAuthorityFieldLabel: string; /**
|
|
202
|
+
* `features` is a set of feature flags you would like to enable or disable in this component.
|
|
203
|
+
*/
|
|
199
204
|
vatFormErrors: {
|
|
200
205
|
invalidFieldValue: string;
|
|
201
206
|
verificationFailure: string;
|
|
202
207
|
forbidden: string;
|
|
203
208
|
connectionNotSupported: string;
|
|
204
|
-
genericTitle: string;
|
|
205
209
|
genericText: string;
|
|
206
210
|
};
|
|
207
211
|
};
|
|
@@ -234,6 +238,10 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
234
238
|
subtitle: string;
|
|
235
239
|
};
|
|
236
240
|
insuranceProviders: {
|
|
241
|
+
connectionError: {
|
|
242
|
+
title: string;
|
|
243
|
+
description: string;
|
|
244
|
+
};
|
|
237
245
|
parcelguard: {
|
|
238
246
|
description: string;
|
|
239
247
|
terms: string;
|
|
@@ -250,10 +258,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
250
258
|
};
|
|
251
259
|
info: {
|
|
252
260
|
description: string;
|
|
253
|
-
};
|
|
254
|
-
* `onClickVoidLabel` is a callback function that will be invoked when the user clicks the
|
|
255
|
-
* `Void Label` button.
|
|
256
|
-
*/
|
|
261
|
+
};
|
|
257
262
|
poBox: {
|
|
258
263
|
title: string;
|
|
259
264
|
description: string;
|
|
@@ -932,6 +937,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
932
937
|
taxIssuingAuthority: string;
|
|
933
938
|
entityType: string;
|
|
934
939
|
};
|
|
940
|
+
hsCode: string;
|
|
935
941
|
nonDelivery: {
|
|
936
942
|
returnToSender: string;
|
|
937
943
|
treatAsAbandoned: string;
|
|
@@ -969,6 +975,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
969
975
|
shipments: string;
|
|
970
976
|
warehouses: string;
|
|
971
977
|
};
|
|
978
|
+
labelHasBeenPurchased: string;
|
|
972
979
|
emailIsRequired: string;
|
|
973
980
|
unknown: string;
|
|
974
981
|
noRatesAvailable: string;
|
|
@@ -1079,7 +1086,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
1079
1086
|
};
|
|
1080
1087
|
invalidAddressName: string;
|
|
1081
1088
|
invalidAddressNameStrict: string;
|
|
1082
|
-
|
|
1089
|
+
invalidAddressNameOnboarding: string;
|
|
1083
1090
|
invalidAddressPoBox: string;
|
|
1084
1091
|
invalidCreditCardType: string;
|
|
1085
1092
|
invalidExpirationDate: string;
|
|
@@ -84,6 +84,7 @@ export declare const useShipmentsGrid: ({ shipmentStatus, showShipmentIdFilter,
|
|
|
84
84
|
currentPageSize: number;
|
|
85
85
|
onPageSelect: (page: number) => void;
|
|
86
86
|
onPageSizeSelect: (pageSize: number) => void;
|
|
87
|
+
resetCurrentPage: () => void;
|
|
87
88
|
};
|
|
88
89
|
pagesAmount: number;
|
|
89
90
|
pageSize: number;
|
|
@@ -173,19 +173,18 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
173
173
|
vatNumber: string;
|
|
174
174
|
vatRegistrationTooltip: string;
|
|
175
175
|
vatFormText: string;
|
|
176
|
-
vatFormRegisterLater: string;
|
|
177
176
|
vatNumberInputHint: string;
|
|
178
177
|
vatNumberInputPlaceholder: string;
|
|
179
178
|
verifiedVat: string;
|
|
179
|
+
vatNumberFieldLabel: string;
|
|
180
|
+
vatTypePlaceholder: string;
|
|
181
|
+
issuingAuthorityPlaceholder: string;
|
|
182
|
+
issuingAuthorityFieldLabel: string;
|
|
180
183
|
vatFormErrors: {
|
|
181
184
|
invalidFieldValue: string;
|
|
182
185
|
verificationFailure: string;
|
|
183
186
|
forbidden: string;
|
|
184
187
|
connectionNotSupported: string;
|
|
185
|
-
genericTitle: string;
|
|
186
|
-
/**
|
|
187
|
-
* `onRowClick` callback invoked when a row is clicked.
|
|
188
|
-
*/
|
|
189
188
|
genericText: string;
|
|
190
189
|
};
|
|
191
190
|
};
|
|
@@ -218,6 +217,10 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
218
217
|
subtitle: string;
|
|
219
218
|
};
|
|
220
219
|
insuranceProviders: {
|
|
220
|
+
connectionError: {
|
|
221
|
+
title: string;
|
|
222
|
+
description: string;
|
|
223
|
+
};
|
|
221
224
|
parcelguard: {
|
|
222
225
|
description: string;
|
|
223
226
|
terms: string;
|
|
@@ -933,6 +936,7 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
933
936
|
taxIssuingAuthority: string;
|
|
934
937
|
entityType: string;
|
|
935
938
|
};
|
|
939
|
+
hsCode: string;
|
|
936
940
|
nonDelivery: {
|
|
937
941
|
returnToSender: string;
|
|
938
942
|
treatAsAbandoned: string;
|
|
@@ -970,6 +974,7 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
970
974
|
shipments: string;
|
|
971
975
|
warehouses: string;
|
|
972
976
|
};
|
|
977
|
+
labelHasBeenPurchased: string;
|
|
973
978
|
emailIsRequired: string;
|
|
974
979
|
unknown: string;
|
|
975
980
|
noRatesAvailable: string;
|
|
@@ -1080,7 +1085,7 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
1080
1085
|
};
|
|
1081
1086
|
invalidAddressName: string;
|
|
1082
1087
|
invalidAddressNameStrict: string;
|
|
1083
|
-
|
|
1088
|
+
invalidAddressNameOnboarding: string;
|
|
1084
1089
|
invalidAddressPoBox: string;
|
|
1085
1090
|
invalidCreditCardType: string;
|
|
1086
1091
|
invalidExpirationDate: string;
|
|
@@ -114,16 +114,18 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
114
114
|
vatNumber: string;
|
|
115
115
|
vatRegistrationTooltip: string;
|
|
116
116
|
vatFormText: string;
|
|
117
|
-
vatFormRegisterLater: string;
|
|
118
117
|
vatNumberInputHint: string;
|
|
119
118
|
vatNumberInputPlaceholder: string;
|
|
120
119
|
verifiedVat: string;
|
|
120
|
+
vatNumberFieldLabel: string;
|
|
121
|
+
vatTypePlaceholder: string;
|
|
122
|
+
issuingAuthorityPlaceholder: string;
|
|
123
|
+
issuingAuthorityFieldLabel: string;
|
|
121
124
|
vatFormErrors: {
|
|
122
125
|
invalidFieldValue: string;
|
|
123
126
|
verificationFailure: string;
|
|
124
127
|
forbidden: string;
|
|
125
128
|
connectionNotSupported: string;
|
|
126
|
-
genericTitle: string;
|
|
127
129
|
genericText: string;
|
|
128
130
|
};
|
|
129
131
|
};
|
|
@@ -156,6 +158,10 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
156
158
|
subtitle: string;
|
|
157
159
|
};
|
|
158
160
|
insuranceProviders: {
|
|
161
|
+
connectionError: {
|
|
162
|
+
title: string;
|
|
163
|
+
description: string;
|
|
164
|
+
};
|
|
159
165
|
parcelguard: {
|
|
160
166
|
description: string;
|
|
161
167
|
terms: string;
|
|
@@ -811,6 +817,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
811
817
|
taxIssuingAuthority: string;
|
|
812
818
|
entityType: string;
|
|
813
819
|
};
|
|
820
|
+
hsCode: string;
|
|
814
821
|
nonDelivery: {
|
|
815
822
|
returnToSender: string;
|
|
816
823
|
treatAsAbandoned: string;
|
|
@@ -848,6 +855,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
848
855
|
shipments: string;
|
|
849
856
|
warehouses: string;
|
|
850
857
|
};
|
|
858
|
+
labelHasBeenPurchased: string;
|
|
851
859
|
emailIsRequired: string;
|
|
852
860
|
unknown: string;
|
|
853
861
|
noRatesAvailable: string;
|
|
@@ -958,7 +966,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
958
966
|
};
|
|
959
967
|
invalidAddressName: string;
|
|
960
968
|
invalidAddressNameStrict: string;
|
|
961
|
-
|
|
969
|
+
invalidAddressNameOnboarding: string;
|
|
962
970
|
invalidAddressPoBox: string;
|
|
963
971
|
invalidCreditCardType: string;
|
|
964
972
|
invalidExpirationDate: string;
|
|
@@ -101,16 +101,18 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
101
101
|
vatNumber: string;
|
|
102
102
|
vatRegistrationTooltip: string;
|
|
103
103
|
vatFormText: string;
|
|
104
|
-
vatFormRegisterLater: string;
|
|
105
104
|
vatNumberInputHint: string;
|
|
106
105
|
vatNumberInputPlaceholder: string;
|
|
107
106
|
verifiedVat: string;
|
|
107
|
+
vatNumberFieldLabel: string;
|
|
108
|
+
vatTypePlaceholder: string;
|
|
109
|
+
issuingAuthorityPlaceholder: string;
|
|
110
|
+
issuingAuthorityFieldLabel: string;
|
|
108
111
|
vatFormErrors: {
|
|
109
112
|
invalidFieldValue: string;
|
|
110
113
|
verificationFailure: string;
|
|
111
114
|
forbidden: string;
|
|
112
115
|
connectionNotSupported: string;
|
|
113
|
-
genericTitle: string;
|
|
114
116
|
genericText: string;
|
|
115
117
|
};
|
|
116
118
|
};
|
|
@@ -143,6 +145,10 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
143
145
|
subtitle: string;
|
|
144
146
|
};
|
|
145
147
|
insuranceProviders: {
|
|
148
|
+
connectionError: {
|
|
149
|
+
title: string;
|
|
150
|
+
description: string;
|
|
151
|
+
};
|
|
146
152
|
parcelguard: {
|
|
147
153
|
description: string;
|
|
148
154
|
terms: string;
|
|
@@ -798,6 +804,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
798
804
|
taxIssuingAuthority: string;
|
|
799
805
|
entityType: string;
|
|
800
806
|
};
|
|
807
|
+
hsCode: string;
|
|
801
808
|
nonDelivery: {
|
|
802
809
|
returnToSender: string;
|
|
803
810
|
treatAsAbandoned: string;
|
|
@@ -835,6 +842,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
835
842
|
shipments: string;
|
|
836
843
|
warehouses: string;
|
|
837
844
|
};
|
|
845
|
+
labelHasBeenPurchased: string;
|
|
838
846
|
emailIsRequired: string;
|
|
839
847
|
unknown: string;
|
|
840
848
|
noRatesAvailable: string;
|
|
@@ -945,7 +953,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
945
953
|
};
|
|
946
954
|
invalidAddressName: string;
|
|
947
955
|
invalidAddressNameStrict: string;
|
|
948
|
-
|
|
956
|
+
invalidAddressNameOnboarding: string;
|
|
949
957
|
invalidAddressPoBox: string;
|
|
950
958
|
invalidCreditCardType: string;
|
|
951
959
|
invalidExpirationDate: string;
|
|
@@ -101,16 +101,18 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
101
101
|
vatNumber: string;
|
|
102
102
|
vatRegistrationTooltip: string;
|
|
103
103
|
vatFormText: string;
|
|
104
|
-
vatFormRegisterLater: string;
|
|
105
104
|
vatNumberInputHint: string;
|
|
106
105
|
vatNumberInputPlaceholder: string;
|
|
107
106
|
verifiedVat: string;
|
|
107
|
+
vatNumberFieldLabel: string;
|
|
108
|
+
vatTypePlaceholder: string;
|
|
109
|
+
issuingAuthorityPlaceholder: string;
|
|
110
|
+
issuingAuthorityFieldLabel: string;
|
|
108
111
|
vatFormErrors: {
|
|
109
112
|
invalidFieldValue: string;
|
|
110
113
|
verificationFailure: string;
|
|
111
114
|
forbidden: string;
|
|
112
115
|
connectionNotSupported: string;
|
|
113
|
-
genericTitle: string;
|
|
114
116
|
genericText: string;
|
|
115
117
|
};
|
|
116
118
|
};
|
|
@@ -143,6 +145,10 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
143
145
|
subtitle: string;
|
|
144
146
|
};
|
|
145
147
|
insuranceProviders: {
|
|
148
|
+
connectionError: {
|
|
149
|
+
title: string;
|
|
150
|
+
description: string;
|
|
151
|
+
};
|
|
146
152
|
parcelguard: {
|
|
147
153
|
description: string;
|
|
148
154
|
terms: string;
|
|
@@ -798,6 +804,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
798
804
|
taxIssuingAuthority: string;
|
|
799
805
|
entityType: string;
|
|
800
806
|
};
|
|
807
|
+
hsCode: string;
|
|
801
808
|
nonDelivery: {
|
|
802
809
|
returnToSender: string;
|
|
803
810
|
treatAsAbandoned: string;
|
|
@@ -835,6 +842,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
835
842
|
shipments: string;
|
|
836
843
|
warehouses: string;
|
|
837
844
|
};
|
|
845
|
+
labelHasBeenPurchased: string;
|
|
838
846
|
emailIsRequired: string;
|
|
839
847
|
unknown: string;
|
|
840
848
|
noRatesAvailable: string;
|
|
@@ -945,7 +953,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
945
953
|
};
|
|
946
954
|
invalidAddressName: string;
|
|
947
955
|
invalidAddressNameStrict: string;
|
|
948
|
-
|
|
956
|
+
invalidAddressNameOnboarding: string;
|
|
949
957
|
invalidAddressPoBox: string;
|
|
950
958
|
invalidCreditCardType: string;
|
|
951
959
|
invalidExpirationDate: string;
|
|
@@ -101,16 +101,18 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
101
101
|
vatNumber: string;
|
|
102
102
|
vatRegistrationTooltip: string;
|
|
103
103
|
vatFormText: string;
|
|
104
|
-
vatFormRegisterLater: string;
|
|
105
104
|
vatNumberInputHint: string;
|
|
106
105
|
vatNumberInputPlaceholder: string;
|
|
107
106
|
verifiedVat: string;
|
|
107
|
+
vatNumberFieldLabel: string;
|
|
108
|
+
vatTypePlaceholder: string;
|
|
109
|
+
issuingAuthorityPlaceholder: string;
|
|
110
|
+
issuingAuthorityFieldLabel: string;
|
|
108
111
|
vatFormErrors: {
|
|
109
112
|
invalidFieldValue: string;
|
|
110
113
|
verificationFailure: string;
|
|
111
114
|
forbidden: string;
|
|
112
115
|
connectionNotSupported: string;
|
|
113
|
-
genericTitle: string;
|
|
114
116
|
genericText: string;
|
|
115
117
|
};
|
|
116
118
|
};
|
|
@@ -143,6 +145,10 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
143
145
|
subtitle: string;
|
|
144
146
|
};
|
|
145
147
|
insuranceProviders: {
|
|
148
|
+
connectionError: {
|
|
149
|
+
title: string;
|
|
150
|
+
description: string;
|
|
151
|
+
};
|
|
146
152
|
parcelguard: {
|
|
147
153
|
description: string;
|
|
148
154
|
terms: string;
|
|
@@ -798,6 +804,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
798
804
|
taxIssuingAuthority: string;
|
|
799
805
|
entityType: string;
|
|
800
806
|
};
|
|
807
|
+
hsCode: string;
|
|
801
808
|
nonDelivery: {
|
|
802
809
|
returnToSender: string;
|
|
803
810
|
treatAsAbandoned: string;
|
|
@@ -835,6 +842,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
835
842
|
shipments: string;
|
|
836
843
|
warehouses: string;
|
|
837
844
|
};
|
|
845
|
+
labelHasBeenPurchased: string;
|
|
838
846
|
emailIsRequired: string;
|
|
839
847
|
unknown: string;
|
|
840
848
|
noRatesAvailable: string;
|
|
@@ -945,7 +953,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
945
953
|
};
|
|
946
954
|
invalidAddressName: string;
|
|
947
955
|
invalidAddressNameStrict: string;
|
|
948
|
-
|
|
956
|
+
invalidAddressNameOnboarding: string;
|
|
949
957
|
invalidAddressPoBox: string;
|
|
950
958
|
invalidCreditCardType: string;
|
|
951
959
|
invalidExpirationDate: string;
|