@shipengine/elements 1.8.0 → 2.0.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/README.md +0 -4
- package/address-8f8119f4.js +1 -0
- package/assertions-dfa95b4d.js +1 -0
- package/carrier-c2a5ed53.js +1 -0
- package/carrier-logo-330e926f.js +1 -0
- package/components.js +1 -0
- package/constants.js +1 -0
- package/elements.js +1 -0
- package/extensions.js +1 -0
- package/formatString-413ec7c7.js +1 -0
- package/hooks.js +1 -0
- package/index.js +1 -25578
- package/money-d4f3d7c3.js +1 -0
- package/package.json +53 -7
- package/phone-87dd7bd8.js +1 -0
- package/schemas.js +1 -0
- package/shipment-150160e0.js +1 -0
- package/src/components/add-funds-form/add-funds-form.d.ts +1 -1
- package/src/components/address-preference-context/address-preference-context.d.ts +5 -2
- package/src/components/auto-funding-form/auto-funding-form.d.ts +1 -1
- package/src/components/carrier-balance/carrier-balance.d.ts +1 -1
- package/src/components/carrier-icon/carrier-icon.d.ts +9 -9
- package/src/components/carrier-logo/carrier-logo.d.ts +2 -1
- package/src/components/collapsible-panel/collapsible-panel.d.ts +1 -1
- package/src/components/display-term/display-term.d.ts +1 -1
- package/src/components/edit-billing-form/edit-billing-form.d.ts +1 -1
- package/src/components/field/date-picker/date-picker.d.ts +1 -1
- package/src/components/field/money-input/money-input.d.ts +1 -1
- package/src/components/field/rate-card/cost-breakdown/cost-breakdown.d.ts +1 -1
- package/src/components/field/rate-card/rate-card.d.ts +3 -2
- package/src/components/field/rate-card/rate-card.styles.d.ts +0 -1
- package/src/components/field/rate-select/rate-select.d.ts +7 -2
- package/src/components/fund-and-purchase/fund-and-purchase.d.ts +5 -2
- package/src/components/here-map/here-map.d.ts +16 -0
- package/src/components/here-map/here-map.styles.d.ts +23 -0
- package/src/components/history/history-card/history-card.d.ts +1 -1
- package/src/components/index.d.ts +1 -0
- package/src/components/items-breakdown/items-breakdown.d.ts +1 -1
- package/src/components/modal/modal.d.ts +2 -1
- package/src/components/pager/pager.d.ts +1 -1
- package/src/components/rate-details/index.d.ts +1 -0
- package/src/components/rate-details/rate-details.d.ts +17 -0
- package/src/components/rate-details/rate-details.styles.d.ts +23 -0
- package/src/components/save-status/save-status.d.ts +1 -1
- package/src/components/search-bar/index.d.ts +1 -0
- package/src/components/search-bar/search-bar.d.ts +8 -0
- package/src/components/service-point-display/operating-hours.d.ts +6 -0
- package/src/components/service-point-display/operating-hours.styles.d.ts +44 -0
- package/src/components/service-point-display/service-point-display.d.ts +6 -6
- package/src/components/service-point-display/service-point-display.styles.d.ts +13 -19
- package/src/components/service-points/service-points.d.ts +3 -2
- package/src/components/tabs/tabs.d.ts +5 -1
- package/src/components/tabs/tabs.styles.d.ts +3 -2
- package/src/components/templates/address-display/address-display.d.ts +1 -1
- package/src/components/templates/address-preference-display/address-preference-display.d.ts +1 -1
- package/src/components/templates/address-preference-select/address-preference-select.d.ts +1 -1
- package/src/components/templates/connect-external-carrier-form/connect-external-carrier-form.d.ts +12 -0
- package/src/components/templates/connect-external-carrier-form/index.d.ts +1 -0
- package/src/components/templates/index.d.ts +2 -2
- package/src/components/templates/label/label.d.ts +1 -1
- package/src/components/templates/label/label.styles.d.ts +21 -1
- package/src/components/templates/product-form/product-form-schema.d.ts +12 -0
- package/src/components/templates/product-form/product-form.d.ts +1 -1
- package/src/components/templates/products-display/products-display.d.ts +1 -1
- package/src/components/templates/pudo-rate-tabs/index.d.ts +0 -1
- package/src/components/templates/pudo-rate-tabs/pudo-list-view/pudo-list-view.d.ts +5 -0
- package/src/components/templates/pudo-rate-tabs/pudo-map-view/pudo-map-view.d.ts +15 -0
- package/src/components/templates/pudo-rate-tabs/pudo-rate-tabs.d.ts +17 -15
- package/src/components/templates/rate-form/rate-form.d.ts +11 -4
- package/src/components/templates/register-funding-source-carrier-form/index.d.ts +2 -0
- package/src/components/templates/register-funding-source-carrier-form/register-funding-source-carrier-form.d.ts +13 -0
- package/src/components/templates/register-funding-source-carrier-form/register-funding-source-carrier-form.styles.d.ts +25 -0
- package/src/components/templates/{add-carrier-form/add-carrier-form-schema.d.ts → register-funding-source-carrier-form/register-funding-source-carrier-schema.d.ts} +42 -88
- package/src/components/templates/shipment/shipment.d.ts +3 -10
- package/src/components/templates/shipment-form/shipment-form.d.ts +2 -9
- package/src/components/templates/shipment-form/shipment-schema.d.ts +1 -1
- package/src/components/templates/suspend-sales-order/suspend-sales-order.d.ts +1 -1
- package/src/components/templates/suspend-shipment/suspend-shipment.d.ts +1 -1
- package/src/components/templates/wallet-form/edit-wallet-address-form.d.ts +1 -1
- package/src/components/templates/wallet-form/wallet-form.d.ts +2 -4
- package/src/components/templates/wallet-form/wallet-schema.d.ts +1 -1
- package/src/components/wallet-card/wallet-card.d.ts +1 -1
- package/src/components/warehouse-form/warehouse-form.d.ts +1 -1
- package/src/create-element/create-element.d.ts +10 -0
- package/src/create-element/element/element.d.ts +16 -0
- package/src/create-element/element/hooks/index.d.ts +1 -0
- package/src/create-element/element/hooks/use-i18n.d.ts +12 -0
- package/src/create-element/element/index.d.ts +3 -0
- package/src/create-element/element/utils/get-emotion-cache.d.ts +2 -0
- package/src/create-element/element/utils/index.d.ts +1 -0
- package/src/create-element/error-boundary/error-boundary.d.ts +21 -0
- package/src/create-element/error-boundary/index.d.ts +1 -0
- package/src/create-element/index.d.ts +1 -0
- package/src/elements/index.d.ts +5 -4
- package/src/elements/label-layout/label-layout-element.d.ts +50 -4
- package/src/elements/labels-grid/labels-grid.d.ts +51 -5
- package/src/elements/manage-carriers/index.d.ts +1 -0
- package/src/elements/{shipengine-carriers/shipengine-carriers.d.ts → manage-carriers/manage-carriers.d.ts} +101 -49
- package/src/elements/manage-external-carriers/index.d.ts +1 -0
- package/src/elements/{external-carriers/external-carriers.d.ts → manage-external-carriers/manage-external-carriers.d.ts} +58 -41
- package/src/elements/manage-funding/manage-funding-element.d.ts +50 -4
- package/src/elements/manage-warehouses/manage-warehouses.d.ts +68 -5
- package/src/elements/payment-method-settings/payment-method-settings-element.d.ts +50 -4
- package/src/elements/purchase-label/configure-shipment.d.ts +4 -26
- package/src/elements/purchase-label/hooks/use-address.d.ts +1 -1
- package/src/elements/purchase-label/hooks/use-configure-shipment.d.ts +1 -1
- package/src/elements/purchase-label/hooks/use-customs.d.ts +1 -1
- package/src/elements/purchase-label/hooks/use-import-sales-order.d.ts +2 -2
- package/src/elements/purchase-label/hooks/use-load-shipment.d.ts +3 -3
- package/src/elements/purchase-label/hooks/use-pending-shipment.d.ts +1 -1
- package/src/elements/purchase-label/hooks/use-presets.d.ts +1 -1
- package/src/elements/purchase-label/hooks/use-rates-form.d.ts +6 -1
- package/src/elements/purchase-label/hooks/use-rates-with-cache.d.ts +1 -1
- package/src/elements/purchase-label/hooks/use-request-preferred-rates.d.ts +1 -1
- package/src/elements/purchase-label/hooks/use-request-rates.d.ts +1 -1
- package/src/elements/purchase-label/hooks/use-shipment-form.d.ts +1 -1
- package/src/elements/purchase-label/purchase-label-by-sales-order.d.ts +1 -1
- package/src/elements/purchase-label/purchase-label-by-shipment.d.ts +1 -1
- package/src/elements/purchase-label/purchase-label.d.ts +67 -44
- package/src/elements/shipment-summary/index.d.ts +1 -0
- package/src/elements/{view-shipment/view-shipment.d.ts → shipment-summary/shipment-summary.d.ts} +87 -51
- package/src/elements/shipments-grid/shipments-grid.d.ts +51 -5
- package/src/elements/theme-creator/theme-creator.d.ts +50 -4
- package/src/elements/theme-creator/themeData/themeData.d.ts +0 -1
- package/src/elements/transaction-history/index.d.ts +1 -0
- package/src/elements/{wallet-history/wallet-history-element.d.ts → transaction-history/transaction-history-element.d.ts} +50 -4
- package/src/elements/unit-settings/unit-settings-element.d.ts +50 -4
- package/src/elements/vat-settings/vat-settings-element.d.ts +50 -4
- package/src/elements/void-label/components/actions/actions.d.ts +4 -4
- package/src/elements/void-label/components/message/message.d.ts +1 -1
- package/src/elements/void-label/void-label.d.ts +80 -45
- package/src/elements-provider/elements-provider.d.ts +46 -0
- package/src/elements-provider/elements-test-provider.d.ts +3 -0
- package/src/elements-provider/hooks/index.d.ts +1 -0
- package/src/elements-provider/hooks/use-load-icons.d.ts +7 -0
- package/src/elements-provider/index.d.ts +1 -0
- package/src/factories/shipengine/address.d.ts +1 -1
- package/src/factories/shipengine/carrier.d.ts +1 -1
- package/src/factories/shipengine/index.d.ts +1 -1
- package/src/factories/shipengine/label.d.ts +3 -1
- package/src/factories/shipengine/money.d.ts +1 -1
- package/src/factories/shipengine/order-source.d.ts +1 -1
- package/src/factories/shipengine/package.d.ts +1 -1
- package/src/factories/shipengine/resource.d.ts +1 -1
- package/src/factories/shipengine/sales-order.d.ts +1 -1
- package/src/factories/shipengine/service-point.d.ts +1 -1
- package/src/factories/shipengine/service.d.ts +1 -1
- package/src/factories/shipengine/shipment.d.ts +1 -1
- package/src/factories/shipengine/{wallet-history.d.ts → transaction-history.d.ts} +1 -1
- package/src/factories/shipengine/warehouse.d.ts +1 -1
- package/src/factories/shipengine/weight.d.ts +1 -1
- package/src/features/index.d.ts +3 -3
- package/src/features/label-layout/label-layout.d.ts +1 -1
- package/src/features/label-layout/use-label-layout.d.ts +1 -1
- package/src/features/manage-carriers/hooks/index.d.ts +3 -0
- package/src/features/manage-carriers/hooks/use-carrier-metadata.d.ts +2 -0
- package/src/features/manage-carriers/hooks/use-list-funding-source-carriers.d.ts +11 -0
- package/src/features/manage-carriers/index.d.ts +1 -0
- package/src/features/manage-carriers/manage-carriers-row/index.d.ts +1 -0
- package/src/features/manage-carriers/manage-carriers-row/manage-carriers-row.d.ts +11 -0
- package/src/features/manage-carriers/manage-carriers.d.ts +4 -0
- package/src/features/manage-external-carriers/index.d.ts +1 -0
- package/src/features/manage-external-carriers/manage-external-carriers.d.ts +4 -0
- package/src/features/manage-warehouses/manage-warehouses.d.ts +1 -1
- package/src/features/manage-warehouses/use-manage-warehouses.d.ts +9 -9
- package/src/features/manage-warehouses/warehouse-display/warehouse-display.d.ts +1 -1
- package/src/features/transaction-history/index.d.ts +1 -0
- package/src/features/transaction-history/transaction-history.d.ts +6 -0
- package/src/features/unit-settings/unit-settings.d.ts +1 -1
- package/src/features/unit-settings/use-unit-settings.d.ts +1 -1
- package/src/features/vat-settings/use-vat-settings.d.ts +5 -5
- package/src/hooks/here-map/init.d.ts +6 -0
- package/src/hooks/here-map/use-here-map-ui.d.ts +10 -0
- package/src/hooks/here-map/use-here-map.d.ts +5 -0
- package/src/hooks/options/use-confirmation-options.d.ts +1 -1
- package/src/hooks/options/use-customs-contents-options.d.ts +1 -1
- package/src/hooks/options/use-customs-non-delivery-options.d.ts +1 -1
- package/src/hooks/options/use-insurance-provider-options.d.ts +1 -1
- package/src/hooks/options/use-package-options.d.ts +1 -1
- package/src/hooks/options/use-rate-options.d.ts +1 -1
- package/src/hooks/options/use-service-code-options.d.ts +1 -1
- package/src/hooks/options/use-service-points.d.ts +5 -3
- package/src/hooks/options/use-shipment-metadata.d.ts +1 -1
- package/src/hooks/options/use-shipping-presets-options.d.ts +1 -1
- package/src/hooks/options/use-warehouse-options.d.ts +1 -1
- package/src/hooks/use-address-validation.d.ts +1 -1
- package/src/hooks/use-get-or-create-shipment.d.ts +3 -3
- package/src/hooks/use-scrub-errors.d.ts +1 -1
- package/src/index.d.ts +1 -0
- package/src/locales/en/index.d.ts +50 -4
- package/src/mocks/carriers/handlers.d.ts +1 -1
- package/src/mocks/warehouses/handlers.d.ts +1 -1
- package/src/schemas/shipengine/money.d.ts +1 -1
- package/src/testing/test-utils.d.ts +8 -1
- package/src/themes/fallback.d.ts +3 -0
- package/src/themes/index.d.ts +4 -0
- package/src/types/carrier-metadata.d.ts +7 -11
- package/src/types/index.d.ts +0 -1
- package/src/types/preferred-rates.d.ts +1 -1
- package/src/types/shipping-preset/shipping-preset.d.ts +1 -1
- package/src/utilities/date.d.ts +1 -2
- package/src/utilities/error.d.ts +1 -1
- package/src/utilities/feature-flags/feature-flags.d.ts +18 -0
- package/src/utilities/feature-flags/index.d.ts +2 -0
- package/src/utilities/feature-flags/types.d.ts +141 -0
- package/src/utilities/money.d.ts +1 -1
- package/src/utilities/rates.d.ts +1 -1
- package/src/utilities/shipengine/address.d.ts +1 -1
- package/src/utilities/shipengine/carrier.d.ts +9 -1
- package/src/utilities/shipengine/dimensions.d.ts +1 -1
- package/src/utilities/shipengine/sales-order.d.ts +1 -1
- package/src/utilities/shipengine/shipment.d.ts +1 -1
- package/src/utilities/shipengine/warehouses.d.ts +1 -1
- package/src/utilities/shipengine/weight.d.ts +1 -1
- package/src/workflows/account-settings/account-settings.d.ts +56 -17
- package/src/workflows/{manage-wallet-workflow/manage-wallet-workflow.d.ts → carrier-services/carrier-services.d.ts} +79 -25
- package/src/workflows/carrier-services/index.d.ts +1 -0
- package/src/workflows/{connect-carrier/connect-carrier.d.ts → connect-external-carrier/connect-external-carrier.d.ts} +58 -39
- package/src/workflows/connect-external-carrier/index.d.ts +1 -0
- package/src/workflows/index.d.ts +3 -2
- package/src/workflows/label-workflow/index.d.ts +1 -0
- package/src/workflows/{purchase-label-workflow/purchase-label-workflow.d.ts → label-workflow/label-workflow.d.ts} +16 -34
- package/src/workflows/onboarding/components/carrier-recovery-form/carrier-recovery-form.d.ts +4 -5
- package/src/workflows/onboarding/components/funding-and-carrier-connection-step/funding-and-carrier-connection-step.d.ts +2 -4
- package/src/workflows/onboarding/components/funding-and-carrier-connection-step/use-funding-and-carrier-connection-step.d.ts +2 -3
- package/src/workflows/onboarding/components/onboarding-wizard/onboarding-wizard.d.ts +2 -9
- package/src/workflows/onboarding/components/ship-from-address-step/ship-from-address-step.d.ts +1 -1
- package/src/workflows/onboarding/components/ship-from-address-step/use-ship-from-address-step.d.ts +1 -1
- package/src/workflows/onboarding/components/terms-agreement-form/terms-agreement-form.d.ts +1 -1
- package/src/workflows/onboarding/components/terms-agreement-step/terms-agreement-step.d.ts +1 -1
- package/src/workflows/onboarding/components/terms-agreement-step/use-terms-agreement-step.d.ts +2 -7
- package/src/workflows/onboarding/onboarding.d.ts +71 -73
- package/story-notes-c714d2ed.js +1 -0
- package/suspend-text-cad3a977.js +1 -0
- package/transaction-history-element-cbfe487c.js +1 -0
- package/types.js +1 -0
- package/use-page-layout-8cb5075f.js +1 -0
- package/use-scrub-errors-9870a6f3.js +1 -0
- package/use-toggle-866d7938.js +1 -0
- package/use-unit-settings-a5bae16e.js +1 -0
- package/utilities.js +1 -0
- package/validation-528e7834.js +1 -0
- package/wallet-form-9e4bfaea.js +1 -0
- package/warehouse-form-da6a7ac5.js +34 -0
- package/warehouses-a83188ab.js +1 -0
- package/workflows.js +1 -0
- package/zod-60def96c.js +1 -0
- package/index.cjs +0 -25795
- package/src/components/templates/add-carrier-form/add-carrier-form-test.d.ts +0 -1
- package/src/components/templates/add-carrier-form/add-carrier-form.d.ts +0 -10
- package/src/components/templates/add-carrier-form/index.d.ts +0 -2
- package/src/components/templates/connect-carrier-form/connect-carrier-form.d.ts +0 -12
- package/src/components/templates/connect-carrier-form/index.d.ts +0 -1
- package/src/components/templates/pudo-rate-tabs/service-points-search-bar/index.d.ts +0 -1
- package/src/components/templates/pudo-rate-tabs/service-points-search-bar/service-points-search-bar.d.ts +0 -6
- package/src/elements/external-carriers/index.d.ts +0 -1
- package/src/elements/shipengine-carriers/index.d.ts +0 -1
- package/src/elements/view-shipment/index.d.ts +0 -1
- package/src/elements/wallet-history/index.d.ts +0 -1
- package/src/features/external-carriers/external-carriers.d.ts +0 -10
- package/src/features/external-carriers/index.d.ts +0 -1
- package/src/features/shipengine-carriers/hooks/index.d.ts +0 -2
- package/src/features/shipengine-carriers/hooks/use-carrier-metadata.d.ts +0 -13
- package/src/features/shipengine-carriers/hooks/use-list-connected-carriers.d.ts +0 -11
- package/src/features/shipengine-carriers/index.d.ts +0 -1
- package/src/features/shipengine-carriers/shipengine-carriers-row/index.d.ts +0 -1
- package/src/features/shipengine-carriers/shipengine-carriers-row/shipengine-carriers-row.d.ts +0 -9
- package/src/features/shipengine-carriers/shipengine-carriers.d.ts +0 -10
- package/src/features/wallet-history/index.d.ts +0 -1
- package/src/features/wallet-history/wallet-history.d.ts +0 -6
- package/src/hooks/use-elements.d.ts +0 -35
- package/src/types/patch.d.ts +0 -2
- package/src/utilities/feature-flags.d.ts +0 -232
- package/src/workflows/connect-carrier/index.d.ts +0 -1
- package/src/workflows/manage-wallet-workflow/index.d.ts +0 -1
- package/src/workflows/purchase-label-workflow/index.d.ts +0 -1
- /package/src/components/templates/{connect-carrier-form/connect-carrier-form.styles.d.ts → connect-external-carrier-form/connect-external-carrier-form.styles.d.ts} +0 -0
- /package/src/features/{shipengine-carriers/shipengine-carriers-row/shipengine-carriers-row.styles.d.ts → manage-carriers/manage-carriers-row/manage-carriers-row.styles.d.ts} +0 -0
- /package/src/features/{shipengine-carriers/shipengine-carriers.styles.d.ts → manage-carriers/manage-carriers.styles.d.ts} +0 -0
- /package/src/features/{wallet-history/wallet-history.styles.d.ts → transaction-history/transaction-history.styles.d.ts} +0 -0
- /package/src/workflows/{manage-wallet-workflow → carrier-services}/use-get-wallet-panel-props.d.ts +0 -0
|
@@ -74,6 +74,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
74
74
|
schedulePickup: string;
|
|
75
75
|
showItems: string;
|
|
76
76
|
void: string;
|
|
77
|
+
download: string;
|
|
77
78
|
};
|
|
78
79
|
fields: {
|
|
79
80
|
dimensions: string;
|
|
@@ -93,6 +94,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
93
94
|
multipleShippingServices: string;
|
|
94
95
|
sections: {
|
|
95
96
|
labels: string;
|
|
97
|
+
shipmentSummary: string;
|
|
96
98
|
};
|
|
97
99
|
noLabels: string;
|
|
98
100
|
};
|
|
@@ -114,7 +116,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
114
116
|
genericText: string;
|
|
115
117
|
};
|
|
116
118
|
};
|
|
117
|
-
"
|
|
119
|
+
"manage-carriers": {
|
|
118
120
|
title: string;
|
|
119
121
|
headers: {
|
|
120
122
|
accountCarriers: string;
|
|
@@ -182,8 +184,48 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
182
184
|
};
|
|
183
185
|
};
|
|
184
186
|
"register-carrier": {
|
|
185
|
-
formTitle:
|
|
186
|
-
|
|
187
|
+
formTitle: {
|
|
188
|
+
default: string;
|
|
189
|
+
new: string;
|
|
190
|
+
edit: string;
|
|
191
|
+
};
|
|
192
|
+
notifications: {
|
|
193
|
+
error: {
|
|
194
|
+
title: string;
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
};
|
|
198
|
+
"rate-details": {
|
|
199
|
+
total: string;
|
|
200
|
+
subtotal: string;
|
|
201
|
+
registerVat: string;
|
|
202
|
+
concepts: {
|
|
203
|
+
confirmation: string;
|
|
204
|
+
uncategorized: string;
|
|
205
|
+
shipping: string;
|
|
206
|
+
insurance: string;
|
|
207
|
+
confirm: string;
|
|
208
|
+
discount: string;
|
|
209
|
+
fuel_charge: string;
|
|
210
|
+
additional_fees: string;
|
|
211
|
+
tariff: string;
|
|
212
|
+
tax: string;
|
|
213
|
+
delivery: string;
|
|
214
|
+
handling: string;
|
|
215
|
+
special_goods: string;
|
|
216
|
+
pickup: string;
|
|
217
|
+
location_fee: string;
|
|
218
|
+
oversize: string;
|
|
219
|
+
returns: string;
|
|
220
|
+
notifications: string;
|
|
221
|
+
tip: string;
|
|
222
|
+
duties_and_taxes: string;
|
|
223
|
+
brokerage_fee: string;
|
|
224
|
+
admin_fee: string;
|
|
225
|
+
adjustment: string;
|
|
226
|
+
auctane_service_fee: string;
|
|
227
|
+
product_price: string;
|
|
228
|
+
};
|
|
187
229
|
};
|
|
188
230
|
"purchase-label": {
|
|
189
231
|
title: string;
|
|
@@ -296,7 +338,10 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
296
338
|
today: string;
|
|
297
339
|
viewMap: string;
|
|
298
340
|
otherLocations: string;
|
|
299
|
-
|
|
341
|
+
noServicePointsForService: string;
|
|
342
|
+
error: string;
|
|
343
|
+
paperless: string;
|
|
344
|
+
localTimeDisclaimer: string;
|
|
300
345
|
};
|
|
301
346
|
shipToAddressFormFields: string;
|
|
302
347
|
sections: {
|
|
@@ -533,7 +578,24 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
533
578
|
confirm: string;
|
|
534
579
|
connect: string;
|
|
535
580
|
continue: string;
|
|
536
|
-
delete: string;
|
|
581
|
+
delete: string; /**
|
|
582
|
+
* # Manage Warehouses Component
|
|
583
|
+
*
|
|
584
|
+
* - The `<ManageWarehouses />` component is used to manage warehouses on a user's ShipEngine account. Users can add, update, or make warehouses inactive.
|
|
585
|
+
*
|
|
586
|
+
* @returns Element A React element that renders the `<ManageWarehouses />` component allowing users
|
|
587
|
+
* to manage warehouses on their ShipEngine account.
|
|
588
|
+
*
|
|
589
|
+
* @example
|
|
590
|
+
* ```tsx
|
|
591
|
+
* export const ManageWarehousesExample = () => {
|
|
592
|
+
* return <ManageWarehouses.Component />;
|
|
593
|
+
* };
|
|
594
|
+
* ```
|
|
595
|
+
*
|
|
596
|
+
* <br />
|
|
597
|
+
*
|
|
598
|
+
*/
|
|
537
599
|
edit: string;
|
|
538
600
|
hide: string;
|
|
539
601
|
parse: string;
|
|
@@ -800,6 +862,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
800
862
|
gram: string;
|
|
801
863
|
kilogram: string;
|
|
802
864
|
};
|
|
865
|
+
ZnVuZGluZ19zb3VyY2VfaWQgbXVzdCBiZSBhbiBpbnRlZ2Vy: string;
|
|
803
866
|
T25seSByZXNpZGVudGlhbCBkZWxpdmVyeSBhZGRyZXNzZXMgYXJlIGFsbG93ZWQgZm9yIFVQUyBHcm91bmQgU2F2ZXIu: string;
|
|
804
867
|
"VGhlIHNlbGVjdGVkIHNlcnZpY2UgaW5jbHVkZXMgaW5zdXJhbmNlIGZvciBhbiBpbnN1cmVkIGFtb3VudCB1cCB0byAkMTAwLgo=": string;
|
|
805
868
|
"VGhlIHNlbGVjdGVkIHNlcnZpY2UgaW5jbHVkZXMgaW5zdXJhbmNlIGZvciBhbiBpbnN1cmVkIGFtb3VudCB1cCB0byAkNTAuCg==": string;
|
|
@@ -56,6 +56,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
56
56
|
schedulePickup: string;
|
|
57
57
|
showItems: string;
|
|
58
58
|
void: string;
|
|
59
|
+
download: string;
|
|
59
60
|
};
|
|
60
61
|
fields: {
|
|
61
62
|
dimensions: string;
|
|
@@ -75,6 +76,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
75
76
|
multipleShippingServices: string;
|
|
76
77
|
sections: {
|
|
77
78
|
labels: string;
|
|
79
|
+
shipmentSummary: string;
|
|
78
80
|
};
|
|
79
81
|
noLabels: string;
|
|
80
82
|
};
|
|
@@ -96,7 +98,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
96
98
|
genericText: string;
|
|
97
99
|
};
|
|
98
100
|
};
|
|
99
|
-
"
|
|
101
|
+
"manage-carriers": {
|
|
100
102
|
title: string;
|
|
101
103
|
headers: {
|
|
102
104
|
accountCarriers: string;
|
|
@@ -164,8 +166,48 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
164
166
|
};
|
|
165
167
|
};
|
|
166
168
|
"register-carrier": {
|
|
167
|
-
formTitle:
|
|
168
|
-
|
|
169
|
+
formTitle: {
|
|
170
|
+
default: string;
|
|
171
|
+
new: string;
|
|
172
|
+
edit: string;
|
|
173
|
+
};
|
|
174
|
+
notifications: {
|
|
175
|
+
error: {
|
|
176
|
+
title: string;
|
|
177
|
+
};
|
|
178
|
+
};
|
|
179
|
+
};
|
|
180
|
+
"rate-details": {
|
|
181
|
+
total: string;
|
|
182
|
+
subtotal: string;
|
|
183
|
+
registerVat: string;
|
|
184
|
+
concepts: {
|
|
185
|
+
confirmation: string;
|
|
186
|
+
uncategorized: string;
|
|
187
|
+
shipping: string;
|
|
188
|
+
insurance: string;
|
|
189
|
+
confirm: string;
|
|
190
|
+
discount: string;
|
|
191
|
+
fuel_charge: string;
|
|
192
|
+
additional_fees: string;
|
|
193
|
+
tariff: string;
|
|
194
|
+
tax: string;
|
|
195
|
+
delivery: string;
|
|
196
|
+
handling: string;
|
|
197
|
+
special_goods: string;
|
|
198
|
+
pickup: string;
|
|
199
|
+
location_fee: string;
|
|
200
|
+
oversize: string;
|
|
201
|
+
returns: string;
|
|
202
|
+
notifications: string;
|
|
203
|
+
tip: string;
|
|
204
|
+
duties_and_taxes: string;
|
|
205
|
+
brokerage_fee: string;
|
|
206
|
+
admin_fee: string;
|
|
207
|
+
adjustment: string;
|
|
208
|
+
auctane_service_fee: string;
|
|
209
|
+
product_price: string;
|
|
210
|
+
};
|
|
169
211
|
};
|
|
170
212
|
"purchase-label": {
|
|
171
213
|
title: string;
|
|
@@ -278,7 +320,10 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
278
320
|
today: string;
|
|
279
321
|
viewMap: string;
|
|
280
322
|
otherLocations: string;
|
|
281
|
-
|
|
323
|
+
noServicePointsForService: string;
|
|
324
|
+
error: string;
|
|
325
|
+
paperless: string;
|
|
326
|
+
localTimeDisclaimer: string;
|
|
282
327
|
};
|
|
283
328
|
shipToAddressFormFields: string;
|
|
284
329
|
sections: {
|
|
@@ -782,6 +827,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
782
827
|
gram: string;
|
|
783
828
|
kilogram: string;
|
|
784
829
|
};
|
|
830
|
+
ZnVuZGluZ19zb3VyY2VfaWQgbXVzdCBiZSBhbiBpbnRlZ2Vy: string;
|
|
785
831
|
T25seSByZXNpZGVudGlhbCBkZWxpdmVyeSBhZGRyZXNzZXMgYXJlIGFsbG93ZWQgZm9yIFVQUyBHcm91bmQgU2F2ZXIu: string;
|
|
786
832
|
"VGhlIHNlbGVjdGVkIHNlcnZpY2UgaW5jbHVkZXMgaW5zdXJhbmNlIGZvciBhbiBpbnN1cmVkIGFtb3VudCB1cCB0byAkMTAwLgo=": string;
|
|
787
833
|
"VGhlIHNlbGVjdGVkIHNlcnZpY2UgaW5jbHVkZXMgaW5zdXJhbmNlIGZvciBhbiBpbnN1cmVkIGFtb3VudCB1cCB0byAkNTAuCg==": string;
|
|
@@ -1,37 +1,15 @@
|
|
|
1
|
-
import { SE } from "@shipengine/
|
|
1
|
+
import { SE } from "@shipengine/react-api";
|
|
2
2
|
import { RateFormProps } from "../../components/templates/rate-form";
|
|
3
|
-
import {
|
|
3
|
+
import { ShipmentFormProps } from "../../components/templates/shipment-form";
|
|
4
4
|
import { UseShippingPresetsOptionsProps } from "../../hooks";
|
|
5
5
|
import { PreferredRatesResponse } from "../../types";
|
|
6
|
+
import { PurchaseLabelFeatures } from "../../utilities";
|
|
6
7
|
import { UseRatesFormProps, UseShipmentFormProps } from "./hooks";
|
|
7
8
|
export type ShipmentFormMode = "browse_rates" | "select_service";
|
|
8
|
-
export type RateFormFeatures = {
|
|
9
|
-
enableFunding?: boolean;
|
|
10
|
-
enableGlobalPostFiltering?: boolean;
|
|
11
|
-
enablePudoUI?: boolean;
|
|
12
|
-
labelLayout?: boolean;
|
|
13
|
-
nicknameRate?: boolean;
|
|
14
|
-
requireDhlTermsAcknowledgement?: boolean;
|
|
15
|
-
saveRate?: boolean;
|
|
16
|
-
};
|
|
17
|
-
export type ConfigureShipmentFeatures = {
|
|
18
|
-
compatibleCountryCodes?: UseShipmentFormProps["compatibleCountryCodes"];
|
|
19
|
-
configureShipment?: {
|
|
20
|
-
enableErrorWhenShipmentCancelled: boolean;
|
|
21
|
-
};
|
|
22
|
-
partnerMessages?: {
|
|
23
|
-
incompleteLabelPurchaseRequirements?: string;
|
|
24
|
-
};
|
|
25
|
-
presentation?: {
|
|
26
|
-
poweredByShipEngine?: boolean;
|
|
27
|
-
};
|
|
28
|
-
rateForm?: RateFormFeatures;
|
|
29
|
-
shipmentForm?: ShipmentFormFeatures;
|
|
30
|
-
};
|
|
31
9
|
export type ConfigureShipmentProps = {
|
|
32
10
|
currency: SE.Currency;
|
|
33
11
|
errors?: ShipmentFormProps["errors"];
|
|
34
|
-
features?:
|
|
12
|
+
features?: PurchaseLabelFeatures;
|
|
35
13
|
getPreferredRates?: (shipment: SE.SalesOrderShipment, isInternational: boolean) => Promise<PreferredRatesResponse | undefined>;
|
|
36
14
|
insuranceAccount?: SE.InsuranceAccount;
|
|
37
15
|
isLoading?: ShipmentFormProps["isLoading"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SE } from "@shipengine/
|
|
1
|
+
import { SE } from "@shipengine/react-api";
|
|
2
2
|
import { AddressParserPayload } from "../../../components/templates/address-parser";
|
|
3
3
|
import { AddressPreference } from "../../../components/templates/address-preference-display";
|
|
4
4
|
import { CharsetWarning, OnChangeAddressOptions } from "../../../components/templates/shipment-form";
|
|
@@ -5,7 +5,7 @@ export type UseImportSalesOrderProps = {
|
|
|
5
5
|
salesOrderId?: string;
|
|
6
6
|
};
|
|
7
7
|
export declare const useImportSalesOrder: ({ externalOrderId, externalOrderNumber, orderSourceCode, salesOrderId, }: UseImportSalesOrderProps) => {
|
|
8
|
-
errors: import("@shipengine/
|
|
8
|
+
errors: import("@shipengine/react-api").CodedError[] | undefined;
|
|
9
9
|
isLoading: boolean;
|
|
10
|
-
salesOrder: import("@shipengine/
|
|
10
|
+
salesOrder: import("@shipengine/react-api").SalesOrder | undefined;
|
|
11
11
|
};
|
|
@@ -2,8 +2,8 @@ export type UseLoadShipmentProps = {
|
|
|
2
2
|
shipmentId: string;
|
|
3
3
|
};
|
|
4
4
|
export declare const useLoadShipment: ({ shipmentId }: UseLoadShipmentProps) => {
|
|
5
|
-
errors: import("@shipengine/
|
|
5
|
+
errors: import("@shipengine/react-api").CodedError[] | undefined;
|
|
6
6
|
isLoading: boolean;
|
|
7
|
-
refetchShipment: <TPageData>(options?: (import("@tanstack/query-core").RefetchOptions & import("@tanstack/query-core").RefetchQueryFilters<TPageData>) | undefined) => Promise<import("@tanstack/query-core").QueryObserverResult<import("@shipengine/
|
|
8
|
-
shipment: import("@shipengine/
|
|
7
|
+
refetchShipment: <TPageData>(options?: (import("@tanstack/query-core").RefetchOptions & import("@tanstack/query-core").RefetchQueryFilters<TPageData>) | undefined) => Promise<import("@tanstack/query-core").QueryObserverResult<import("@shipengine/react-api").SalesOrderShipment, import("@shipengine/react-api").CodedError[]>>;
|
|
8
|
+
shipment: import("@shipengine/react-api").SalesOrderShipment | undefined;
|
|
9
9
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CodedError, SE } from "@shipengine/
|
|
1
|
+
import { CodedError, SE } from "@shipengine/react-api";
|
|
2
2
|
export type UsePendingShipmentProps = {
|
|
3
3
|
breakOnCancelledShipment?: boolean;
|
|
4
4
|
onLoad?: (salesOrder: SE.SalesOrder, shipments: SE.SalesOrderShipment[], pendingShipment?: SE.SalesOrderShipment) => Promise<void> | void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SE } from "@shipengine/
|
|
1
|
+
import { SE } from "@shipengine/react-api";
|
|
2
2
|
import { UseRatesWithCacheProps } from "./use-rates-with-cache";
|
|
3
3
|
export type UseRatesFormProps = {
|
|
4
4
|
getPreferredRates?: UseRatesWithCacheProps["getPreferredRates"];
|
|
@@ -25,10 +25,12 @@ export declare const useRatesForm: ({ getPreferredRates, onBeforeRateSaved, onBe
|
|
|
25
25
|
carriers: SE.Carrier[] | undefined;
|
|
26
26
|
displayableRateErrors: string[] | undefined;
|
|
27
27
|
errors: SE.CodedError[] | undefined;
|
|
28
|
+
fetchServicePoints: (searchQuery?: import("../../../hooks").ServicePointSearchQuery | undefined) => void;
|
|
28
29
|
isLoading: boolean;
|
|
29
30
|
labelErrors: string[] | undefined;
|
|
30
31
|
labels: SE.Label[];
|
|
31
32
|
labelsLoading: boolean;
|
|
33
|
+
listServicePointsErrors: SE.CodedError[] | null;
|
|
32
34
|
onSave: ({ carrierId, serviceCode }: Pick<SE.Rate, "carrierId" | "serviceCode">) => Promise<void>;
|
|
33
35
|
onSubmit: (rateId: string, servicePoint?: SE.ServicePoint) => Promise<void>;
|
|
34
36
|
preferredRates: import("../../..").PreferredRatesResponse | undefined;
|
|
@@ -36,5 +38,8 @@ export declare const useRatesForm: ({ getPreferredRates, onBeforeRateSaved, onBe
|
|
|
36
38
|
requestRates: (shipment: SE.SalesOrderShipment, isInternational: boolean) => Promise<void>;
|
|
37
39
|
resetLabel: () => void;
|
|
38
40
|
resetRates: () => void;
|
|
41
|
+
servicePointSearchQuery: import("../../../hooks").ServicePointSearchQuery | undefined;
|
|
42
|
+
servicePointsFetching: boolean;
|
|
43
|
+
servicePointsResponse: SE.ServicePointsListResponse | undefined;
|
|
39
44
|
shipment: SE.SalesOrderShipment | undefined;
|
|
40
45
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SE } from "@shipengine/
|
|
1
|
+
import { SE } from "@shipengine/react-api";
|
|
2
2
|
import { UseImportSalesOrderProps } from "./hooks";
|
|
3
3
|
import { PurchaseLabelCommonProps } from "./purchase-label";
|
|
4
4
|
export type PurchaseLabelSalesOrderProps = PurchaseLabelCommonProps & {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { UseShippingPresetsOptionsProps } from "../../hooks";
|
|
3
|
+
import { PurchaseLabelFeatures } from "../../utilities";
|
|
3
4
|
import { ConfigureShipmentProps } from "./configure-shipment";
|
|
4
5
|
import { UseConfigureShipmentProps } from "./hooks";
|
|
5
6
|
import { PurchaseLabelSalesOrderProps } from "./purchase-label-by-sales-order";
|
|
@@ -16,7 +17,7 @@ export type PurchaseLabelCommonProps = {
|
|
|
16
17
|
/**
|
|
17
18
|
* `features` is a set of feature flags you would like to enable or disable in this component.
|
|
18
19
|
*/
|
|
19
|
-
features?:
|
|
20
|
+
features?: PurchaseLabelFeatures;
|
|
20
21
|
/**
|
|
21
22
|
*`getPreferredRates is an async/sync optional callback function that will be invoked each time rates are caculated.
|
|
22
23
|
* This is an optional callback function that returns an array of ShipEngine rates. The rates from this response will
|
|
@@ -139,7 +140,7 @@ export type ElementProps = PurchaseLabelByShipmentProps | PurchaseLabelSalesOrde
|
|
|
139
140
|
* @example
|
|
140
141
|
* You can see how the `<Component />` is used in the `createElement` function call below.
|
|
141
142
|
* ```tsx
|
|
142
|
-
* export const Element =
|
|
143
|
+
* export const Element = createElement(Component, ErrorFallback, {
|
|
143
144
|
* css: { height: "100%", maxWidth: "800px", minWidth: "440px", width: "100%" },
|
|
144
145
|
* resources: { en },
|
|
145
146
|
* });
|
|
@@ -181,12 +182,12 @@ export declare const Component: ({ features, ...props }: ElementProps) => import
|
|
|
181
182
|
* <br />
|
|
182
183
|
*
|
|
183
184
|
* - Once a label has been purchased using this Element, you can take the `shipmentId` for the
|
|
184
|
-
* associated shipment and pass it into the `<
|
|
185
|
+
* associated shipment and pass it into the `<ShipmentSummary.Element />` Element in order to view
|
|
185
186
|
* the shipment details.
|
|
186
187
|
*
|
|
187
188
|
* @see {@link PurchaseLabel.PurchaseLabelCommonProps | The **Common props** used in `<PurchaseLabel.Element />`}
|
|
188
189
|
*
|
|
189
|
-
* @see {@link
|
|
190
|
+
* @see {@link ShipmentSummary.Element | The next step in the label purchase workflow `<ShipmentSummary.Element />`}
|
|
190
191
|
*/
|
|
191
192
|
export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
192
193
|
resources?: {
|
|
@@ -244,6 +245,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
244
245
|
schedulePickup: string;
|
|
245
246
|
showItems: string;
|
|
246
247
|
void: string;
|
|
248
|
+
download: string;
|
|
247
249
|
};
|
|
248
250
|
fields: {
|
|
249
251
|
dimensions: string;
|
|
@@ -263,6 +265,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
263
265
|
multipleShippingServices: string;
|
|
264
266
|
sections: {
|
|
265
267
|
labels: string;
|
|
268
|
+
shipmentSummary: string;
|
|
266
269
|
};
|
|
267
270
|
noLabels: string;
|
|
268
271
|
};
|
|
@@ -284,7 +287,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
284
287
|
genericText: string;
|
|
285
288
|
};
|
|
286
289
|
};
|
|
287
|
-
"
|
|
290
|
+
"manage-carriers": {
|
|
288
291
|
title: string;
|
|
289
292
|
headers: {
|
|
290
293
|
accountCarriers: string;
|
|
@@ -316,14 +319,6 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
316
319
|
vatSettings: {
|
|
317
320
|
title: string;
|
|
318
321
|
};
|
|
319
|
-
/**
|
|
320
|
-
* # Purchase Label Component Props
|
|
321
|
-
*
|
|
322
|
-
* These are the shared props that will be passed into the `<PurchaseLabel.Element />`, and work
|
|
323
|
-
* for either shipment-based or sales order-based label purchasing.
|
|
324
|
-
*
|
|
325
|
-
* @see {@link PurchaseLabel.Element | This prop types usage in `<PurchaseLabel.Element />`}
|
|
326
|
-
*/
|
|
327
322
|
carriers: {
|
|
328
323
|
title: string;
|
|
329
324
|
subtitle: string;
|
|
@@ -360,8 +355,48 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
360
355
|
};
|
|
361
356
|
};
|
|
362
357
|
"register-carrier": {
|
|
363
|
-
formTitle:
|
|
364
|
-
|
|
358
|
+
formTitle: {
|
|
359
|
+
default: string;
|
|
360
|
+
new: string;
|
|
361
|
+
edit: string;
|
|
362
|
+
};
|
|
363
|
+
notifications: {
|
|
364
|
+
error: {
|
|
365
|
+
title: string;
|
|
366
|
+
};
|
|
367
|
+
};
|
|
368
|
+
};
|
|
369
|
+
"rate-details": {
|
|
370
|
+
total: string;
|
|
371
|
+
subtotal: string;
|
|
372
|
+
registerVat: string;
|
|
373
|
+
concepts: {
|
|
374
|
+
confirmation: string;
|
|
375
|
+
uncategorized: string;
|
|
376
|
+
shipping: string;
|
|
377
|
+
insurance: string;
|
|
378
|
+
confirm: string;
|
|
379
|
+
discount: string;
|
|
380
|
+
fuel_charge: string;
|
|
381
|
+
additional_fees: string;
|
|
382
|
+
tariff: string;
|
|
383
|
+
tax: string;
|
|
384
|
+
delivery: string;
|
|
385
|
+
handling: string;
|
|
386
|
+
special_goods: string;
|
|
387
|
+
pickup: string;
|
|
388
|
+
location_fee: string;
|
|
389
|
+
oversize: string;
|
|
390
|
+
returns: string;
|
|
391
|
+
notifications: string;
|
|
392
|
+
tip: string;
|
|
393
|
+
duties_and_taxes: string;
|
|
394
|
+
brokerage_fee: string;
|
|
395
|
+
admin_fee: string;
|
|
396
|
+
adjustment: string;
|
|
397
|
+
auctane_service_fee: string;
|
|
398
|
+
product_price: string;
|
|
399
|
+
};
|
|
365
400
|
};
|
|
366
401
|
"purchase-label": {
|
|
367
402
|
title: string;
|
|
@@ -384,14 +419,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
384
419
|
addPackageDetails: string;
|
|
385
420
|
};
|
|
386
421
|
errorMessages: {
|
|
387
|
-
customsItemsRequired: string;
|
|
388
|
-
* # Purchase Label Component Props
|
|
389
|
-
*
|
|
390
|
-
* These are the shared props that will be passed into the `<PurchaseLabel.Element />`, and work
|
|
391
|
-
* for either shipment-based or sales order-based label purchasing.
|
|
392
|
-
*
|
|
393
|
-
* @see {@link PurchaseLabel.Element | This prop types usage in `<PurchaseLabel.Element />`}
|
|
394
|
-
*/
|
|
422
|
+
customsItemsRequired: string;
|
|
395
423
|
invalidAddress: string;
|
|
396
424
|
noRates: string;
|
|
397
425
|
salesOrderNotLoaded: string;
|
|
@@ -424,6 +452,10 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
424
452
|
requestedShipping: string;
|
|
425
453
|
shipDate: string;
|
|
426
454
|
service: string;
|
|
455
|
+
/**
|
|
456
|
+
* `onApplyPreset` is an async/sync callback function that will be invoked each time a `Preset`
|
|
457
|
+
* has been applied to a shipment.
|
|
458
|
+
*/
|
|
427
459
|
shipTo: string;
|
|
428
460
|
addShipToAddress: string;
|
|
429
461
|
warehouse: string;
|
|
@@ -438,10 +470,6 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
438
470
|
contentDescription: string;
|
|
439
471
|
};
|
|
440
472
|
loading: {
|
|
441
|
-
/**
|
|
442
|
-
* `onBeforeRateSave` is an async/sync callback function that will be invoked before each time a user
|
|
443
|
-
* saves a rate.
|
|
444
|
-
*/
|
|
445
473
|
calculatingRates: string;
|
|
446
474
|
};
|
|
447
475
|
modes: {
|
|
@@ -485,7 +513,10 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
485
513
|
today: string;
|
|
486
514
|
viewMap: string;
|
|
487
515
|
otherLocations: string;
|
|
488
|
-
|
|
516
|
+
noServicePointsForService: string;
|
|
517
|
+
error: string;
|
|
518
|
+
paperless: string;
|
|
519
|
+
localTimeDisclaimer: string;
|
|
489
520
|
};
|
|
490
521
|
shipToAddressFormFields: string;
|
|
491
522
|
sections: {
|
|
@@ -546,10 +577,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
546
577
|
};
|
|
547
578
|
termsAndAgreementTitles: {
|
|
548
579
|
"WW9kZWwgRGlyZWN0IC0gVGVybXMgYW5kIENvbmRpdGlvbnMgKOKAnFRlcm1z4oCdKQ==": string;
|
|
549
|
-
"RXZyaSBTZW5kIFRlcm1zICYgQ29uZGl0aW9ucw==": string;
|
|
550
|
-
* `onChangeShipmentFormMode` is an async/sync callback function that will be invoked each time
|
|
551
|
-
* the user toggles the `Shipment Form Mode` between `Browse Rates` and `Selected Rate`.
|
|
552
|
-
*/
|
|
580
|
+
"RXZyaSBTZW5kIFRlcm1zICYgQ29uZGl0aW9ucw==": string;
|
|
553
581
|
"VGVybXMgb2YgU2VydmljZSBVbml0ZWQgS2luZ2RvbQ==": string;
|
|
554
582
|
RFBEIFN0YW5kYXJkIFRlcm1zIGFuZCBDb25kaXRpb25z: string;
|
|
555
583
|
"R2xvYmFsUG9zdCBUZXJtcyBhbmQgQ29uZGl0aW9ucw==": string;
|
|
@@ -811,10 +839,6 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
811
839
|
adultSignature: string;
|
|
812
840
|
delivery: string;
|
|
813
841
|
deliveryMailed: string;
|
|
814
|
-
/**
|
|
815
|
-
* `onChangeShipmentFormMode` is an async/sync callback function that will be invoked each time
|
|
816
|
-
* the user toggles the `Shipment Form Mode` between `Browse Rates` and `Selected Rate`.
|
|
817
|
-
*/
|
|
818
842
|
directSignature: string;
|
|
819
843
|
none: string;
|
|
820
844
|
signature: string;
|
|
@@ -826,6 +850,10 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
826
850
|
documents: string;
|
|
827
851
|
gift: string;
|
|
828
852
|
merchandise: string;
|
|
853
|
+
/**
|
|
854
|
+
* `onLabelCreateFailure` is an async/sync callback function that will be invoked each time a
|
|
855
|
+
* label purchase fails.
|
|
856
|
+
*/
|
|
829
857
|
returnedGoods: string;
|
|
830
858
|
sample: string;
|
|
831
859
|
};
|
|
@@ -838,10 +866,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
838
866
|
};
|
|
839
867
|
fields: {
|
|
840
868
|
contentsType: string;
|
|
841
|
-
countryOfOrigin: string;
|
|
842
|
-
* `onRateSaved` is an async/sync callback function that will be invoked each time a rate is
|
|
843
|
-
* saved by the user when rate shopping in the host application.
|
|
844
|
-
*/
|
|
869
|
+
countryOfOrigin: string;
|
|
845
870
|
description: string;
|
|
846
871
|
harmonizedTariffCode: string;
|
|
847
872
|
ifDeliveryFails: string;
|
|
@@ -871,10 +896,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
871
896
|
fundingSourceMetadata: string;
|
|
872
897
|
label: string;
|
|
873
898
|
labels: string;
|
|
874
|
-
salesOrder: string;
|
|
875
|
-
* `printLabelLayout` is a string that represents the label layout you would like to use when
|
|
876
|
-
* purchasing a label. e.g. `4x6`
|
|
877
|
-
*/
|
|
899
|
+
salesOrder: string;
|
|
878
900
|
shipment: string;
|
|
879
901
|
shipments: string;
|
|
880
902
|
warehouses: string;
|
|
@@ -1002,6 +1024,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
1002
1024
|
gram: string;
|
|
1003
1025
|
kilogram: string;
|
|
1004
1026
|
};
|
|
1027
|
+
ZnVuZGluZ19zb3VyY2VfaWQgbXVzdCBiZSBhbiBpbnRlZ2Vy: string;
|
|
1005
1028
|
T25seSByZXNpZGVudGlhbCBkZWxpdmVyeSBhZGRyZXNzZXMgYXJlIGFsbG93ZWQgZm9yIFVQUyBHcm91bmQgU2F2ZXIu: string;
|
|
1006
1029
|
"VGhlIHNlbGVjdGVkIHNlcnZpY2UgaW5jbHVkZXMgaW5zdXJhbmNlIGZvciBhbiBpbnN1cmVkIGFtb3VudCB1cCB0byAkMTAwLgo=": string;
|
|
1007
1030
|
"VGhlIHNlbGVjdGVkIHNlcnZpY2UgaW5jbHVkZXMgaW5zdXJhbmNlIGZvciBhbiBpbnN1cmVkIGFtb3VudCB1cCB0byAkNTAuCg==": string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as ShipmentSummary from "./shipment-summary";
|