@shipengine/elements 1.9.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/assertions-dfa95b4d.js +1 -0
- package/carrier-c2a5ed53.js +1 -0
- package/{carrier-logo-1b6c767e.js → carrier-logo-330e926f.js} +1 -1
- package/components.js +1 -1
- package/elements.js +1 -1
- package/hooks.js +1 -1
- package/index.js +1 -1
- package/money-d4f3d7c3.js +1 -0
- package/package.json +7 -3
- package/schemas.js +1 -1
- package/{shipment-90d35708.js → shipment-150160e0.js} +1 -1
- package/src/components/add-funds-form/add-funds-form.d.ts +1 -1
- 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/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/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 +1 -1
- package/src/components/field/rate-select/rate-select.d.ts +1 -1
- package/src/components/fund-and-purchase/fund-and-purchase.d.ts +1 -1
- package/src/components/history/history-card/history-card.d.ts +1 -1
- package/src/components/items-breakdown/items-breakdown.d.ts +1 -1
- package/src/components/pager/pager.d.ts +1 -1
- package/src/components/rate-details/rate-details.d.ts +1 -1
- package/src/components/save-status/save-status.d.ts +1 -1
- package/src/components/service-points/service-points.d.ts +1 -1
- 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 +1 -1
- package/src/components/templates/label/label.d.ts +1 -1
- 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/rate-form/rate-form.d.ts +3 -4
- package/src/components/templates/shipment/shipment.d.ts +3 -11
- 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 +1 -1
- package/src/elements/labels-grid/labels-grid.d.ts +2 -2
- 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} +52 -46
- package/src/elements/manage-external-carriers/index.d.ts +1 -0
- package/src/elements/manage-external-carriers/manage-external-carriers.d.ts +888 -0
- package/src/elements/manage-funding/manage-funding-element.d.ts +1 -1
- package/src/elements/manage-warehouses/manage-warehouses.d.ts +19 -2
- package/src/elements/payment-method-settings/payment-method-settings-element.d.ts +1 -1
- package/src/elements/purchase-label/configure-shipment.d.ts +4 -27
- 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 +1 -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 +18 -41
- 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} +42 -59
- package/src/elements/shipments-grid/shipments-grid.d.ts +2 -2
- package/src/elements/theme-creator/theme-creator.d.ts +1 -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} +1 -1
- package/src/elements/unit-settings/unit-settings-element.d.ts +1 -1
- package/src/elements/vat-settings/vat-settings-element.d.ts +1 -1
- package/src/elements/void-label/components/actions/actions.d.ts +1 -1
- package/src/elements/void-label/components/message/message.d.ts +1 -1
- package/src/elements/void-label/void-label.d.ts +33 -49
- 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 +1 -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/{shipengine-carriers → manage-carriers}/hooks/use-list-funding-source-carriers.d.ts +2 -2
- 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/{shipengine-carriers/shipengine-carriers-row/shipengine-carriers-row.d.ts → manage-carriers/manage-carriers-row/manage-carriers-row.d.ts} +3 -3
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +7 -1
- package/src/themes/fallback.d.ts +3 -0
- package/src/themes/index.d.ts +4 -0
- package/src/types/carrier-metadata.d.ts +1 -1
- package/src/types/preferred-rates.d.ts +1 -1
- package/src/types/shipping-preset/shipping-preset.d.ts +1 -1
- 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 +1 -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 +7 -14
- package/src/workflows/{connect-carrier/connect-carrier.d.ts → carrier-services/carrier-services.d.ts} +35 -49
- package/src/workflows/carrier-services/index.d.ts +1 -0
- package/src/workflows/{manage-wallet-workflow/manage-wallet-workflow.d.ts → connect-external-carrier/connect-external-carrier.d.ts} +16 -21
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/src/workflows/onboarding/onboarding.d.ts +22 -70
- package/story-notes-c714d2ed.js +1 -0
- package/{suspend-text-c8c7b6b6.js → suspend-text-cad3a977.js} +1 -1
- package/transaction-history-element-cbfe487c.js +1 -0
- package/{use-page-layout-93ffae78.js → use-page-layout-8cb5075f.js} +1 -1
- 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 -1
- package/validation-528e7834.js +1 -0
- package/wallet-form-9e4bfaea.js +1 -0
- package/warehouse-form-da6a7ac5.js +34 -0
- package/{warehouses-dfcdce23.js → warehouses-a83188ab.js} +1 -1
- package/workflows.js +1 -1
- package/carrier-2abb4760.js +0 -1
- package/feature-flags-3e03717c.js +0 -1
- package/money-fbc4d0b3.js +0 -1
- package/payment-method-settings-element-595cc38d.js +0 -1
- 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/elements/external-carriers/external-carriers.d.ts +0 -941
- 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 -11
- package/src/features/external-carriers/index.d.ts +0 -1
- 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.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/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/story-notes-ce2d8cca.js +0 -1
- package/use-scrub-errors-2c4db406.js +0 -1
- package/use-toggle-838d2ebd.js +0 -1
- package/validation-b941a548.js +0 -1
- package/wallet-form-3981400b.js +0 -1
- package/wallet-history-5b34c856.js +0 -1
- package/warehouse-form-c0b3ea78.js +0 -34
- /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 → manage-carriers}/hooks/index.d.ts +0 -0
- /package/src/features/{shipengine-carriers → manage-carriers}/hooks/use-carrier-metadata.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
|
@@ -116,7 +116,7 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
116
116
|
genericText: string;
|
|
117
117
|
};
|
|
118
118
|
};
|
|
119
|
-
"
|
|
119
|
+
"manage-carriers": {
|
|
120
120
|
title: string;
|
|
121
121
|
headers: {
|
|
122
122
|
accountCarriers: string;
|
|
@@ -578,7 +578,24 @@ export declare const Element: ({ resources, ...props }: object & {
|
|
|
578
578
|
confirm: string;
|
|
579
579
|
connect: string;
|
|
580
580
|
continue: string;
|
|
581
|
-
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
|
+
*/
|
|
582
599
|
edit: string;
|
|
583
600
|
hide: string;
|
|
584
601
|
parse: string;
|
|
@@ -1,38 +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 {
|
|
4
|
-
import { VatSettingsFeatures } from "../../features";
|
|
3
|
+
import { ShipmentFormProps } from "../../components/templates/shipment-form";
|
|
5
4
|
import { UseShippingPresetsOptionsProps } from "../../hooks";
|
|
6
5
|
import { PreferredRatesResponse } from "../../types";
|
|
6
|
+
import { PurchaseLabelFeatures } from "../../utilities";
|
|
7
7
|
import { UseRatesFormProps, UseShipmentFormProps } from "./hooks";
|
|
8
8
|
export type ShipmentFormMode = "browse_rates" | "select_service";
|
|
9
|
-
export type RateFormFeatures = {
|
|
10
|
-
enableFunding?: boolean;
|
|
11
|
-
enableGlobalPostFiltering?: boolean;
|
|
12
|
-
enablePudoUI?: boolean;
|
|
13
|
-
labelLayout?: boolean;
|
|
14
|
-
nicknameRate?: boolean;
|
|
15
|
-
requireDhlTermsAcknowledgement?: boolean;
|
|
16
|
-
saveRate?: boolean;
|
|
17
|
-
};
|
|
18
|
-
export type ConfigureShipmentFeatures = {
|
|
19
|
-
compatibleCountryCodes?: UseShipmentFormProps["compatibleCountryCodes"];
|
|
20
|
-
configureShipment?: {
|
|
21
|
-
enableErrorWhenShipmentCancelled: boolean;
|
|
22
|
-
};
|
|
23
|
-
partnerMessages?: {
|
|
24
|
-
incompleteLabelPurchaseRequirements?: string;
|
|
25
|
-
};
|
|
26
|
-
presentation?: {
|
|
27
|
-
poweredByShipEngine?: boolean;
|
|
28
|
-
};
|
|
29
|
-
rateForm?: RateFormFeatures;
|
|
30
|
-
shipmentForm?: ShipmentFormFeatures;
|
|
31
|
-
};
|
|
32
9
|
export type ConfigureShipmentProps = {
|
|
33
10
|
currency: SE.Currency;
|
|
34
11
|
errors?: ShipmentFormProps["errors"];
|
|
35
|
-
features?:
|
|
12
|
+
features?: PurchaseLabelFeatures;
|
|
36
13
|
getPreferredRates?: (shipment: SE.SalesOrderShipment, isInternational: boolean) => Promise<PreferredRatesResponse | undefined>;
|
|
37
14
|
insuranceAccount?: SE.InsuranceAccount;
|
|
38
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 { 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?: {
|
|
@@ -286,7 +287,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
286
287
|
genericText: string;
|
|
287
288
|
};
|
|
288
289
|
};
|
|
289
|
-
"
|
|
290
|
+
"manage-carriers": {
|
|
290
291
|
title: string;
|
|
291
292
|
headers: {
|
|
292
293
|
accountCarriers: string;
|
|
@@ -318,14 +319,6 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
318
319
|
vatSettings: {
|
|
319
320
|
title: string;
|
|
320
321
|
};
|
|
321
|
-
/**
|
|
322
|
-
* # Purchase Label Component Props
|
|
323
|
-
*
|
|
324
|
-
* These are the shared props that will be passed into the `<PurchaseLabel.Element />`, and work
|
|
325
|
-
* for either shipment-based or sales order-based label purchasing.
|
|
326
|
-
*
|
|
327
|
-
* @see {@link PurchaseLabel.Element | This prop types usage in `<PurchaseLabel.Element />`}
|
|
328
|
-
*/
|
|
329
322
|
carriers: {
|
|
330
323
|
title: string;
|
|
331
324
|
subtitle: string;
|
|
@@ -426,14 +419,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
426
419
|
addPackageDetails: string;
|
|
427
420
|
};
|
|
428
421
|
errorMessages: {
|
|
429
|
-
customsItemsRequired: string;
|
|
430
|
-
* # Purchase Label Component Props
|
|
431
|
-
*
|
|
432
|
-
* These are the shared props that will be passed into the `<PurchaseLabel.Element />`, and work
|
|
433
|
-
* for either shipment-based or sales order-based label purchasing.
|
|
434
|
-
*
|
|
435
|
-
* @see {@link PurchaseLabel.Element | This prop types usage in `<PurchaseLabel.Element />`}
|
|
436
|
-
*/
|
|
422
|
+
customsItemsRequired: string;
|
|
437
423
|
invalidAddress: string;
|
|
438
424
|
noRates: string;
|
|
439
425
|
salesOrderNotLoaded: string;
|
|
@@ -466,6 +452,10 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
466
452
|
requestedShipping: string;
|
|
467
453
|
shipDate: string;
|
|
468
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
|
+
*/
|
|
469
459
|
shipTo: string;
|
|
470
460
|
addShipToAddress: string;
|
|
471
461
|
warehouse: string;
|
|
@@ -480,10 +470,6 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
480
470
|
contentDescription: string;
|
|
481
471
|
};
|
|
482
472
|
loading: {
|
|
483
|
-
/**
|
|
484
|
-
* `onBeforeRateSave` is an async/sync callback function that will be invoked before each time a user
|
|
485
|
-
* saves a rate.
|
|
486
|
-
*/
|
|
487
473
|
calculatingRates: string;
|
|
488
474
|
};
|
|
489
475
|
modes: {
|
|
@@ -591,10 +577,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
591
577
|
};
|
|
592
578
|
termsAndAgreementTitles: {
|
|
593
579
|
"WW9kZWwgRGlyZWN0IC0gVGVybXMgYW5kIENvbmRpdGlvbnMgKOKAnFRlcm1z4oCdKQ==": string;
|
|
594
|
-
"RXZyaSBTZW5kIFRlcm1zICYgQ29uZGl0aW9ucw==": string;
|
|
595
|
-
* `onChangeShipmentFormMode` is an async/sync callback function that will be invoked each time
|
|
596
|
-
* the user toggles the `Shipment Form Mode` between `Browse Rates` and `Selected Rate`.
|
|
597
|
-
*/
|
|
580
|
+
"RXZyaSBTZW5kIFRlcm1zICYgQ29uZGl0aW9ucw==": string;
|
|
598
581
|
"VGVybXMgb2YgU2VydmljZSBVbml0ZWQgS2luZ2RvbQ==": string;
|
|
599
582
|
RFBEIFN0YW5kYXJkIFRlcm1zIGFuZCBDb25kaXRpb25z: string;
|
|
600
583
|
"R2xvYmFsUG9zdCBUZXJtcyBhbmQgQ29uZGl0aW9ucw==": string;
|
|
@@ -856,10 +839,6 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
856
839
|
adultSignature: string;
|
|
857
840
|
delivery: string;
|
|
858
841
|
deliveryMailed: string;
|
|
859
|
-
/**
|
|
860
|
-
* `onChangeShipmentFormMode` is an async/sync callback function that will be invoked each time
|
|
861
|
-
* the user toggles the `Shipment Form Mode` between `Browse Rates` and `Selected Rate`.
|
|
862
|
-
*/
|
|
863
842
|
directSignature: string;
|
|
864
843
|
none: string;
|
|
865
844
|
signature: string;
|
|
@@ -871,6 +850,10 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
871
850
|
documents: string;
|
|
872
851
|
gift: string;
|
|
873
852
|
merchandise: string;
|
|
853
|
+
/**
|
|
854
|
+
* `onLabelCreateFailure` is an async/sync callback function that will be invoked each time a
|
|
855
|
+
* label purchase fails.
|
|
856
|
+
*/
|
|
874
857
|
returnedGoods: string;
|
|
875
858
|
sample: string;
|
|
876
859
|
};
|
|
@@ -883,10 +866,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
883
866
|
};
|
|
884
867
|
fields: {
|
|
885
868
|
contentsType: string;
|
|
886
|
-
countryOfOrigin: string;
|
|
887
|
-
* `onRateSaved` is an async/sync callback function that will be invoked each time a rate is
|
|
888
|
-
* saved by the user when rate shopping in the host application.
|
|
889
|
-
*/
|
|
869
|
+
countryOfOrigin: string;
|
|
890
870
|
description: string;
|
|
891
871
|
harmonizedTariffCode: string;
|
|
892
872
|
ifDeliveryFails: string;
|
|
@@ -916,10 +896,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
916
896
|
fundingSourceMetadata: string;
|
|
917
897
|
label: string;
|
|
918
898
|
labels: string;
|
|
919
|
-
salesOrder: string;
|
|
920
|
-
* `printLabelLayout` is a string that represents the label layout you would like to use when
|
|
921
|
-
* purchasing a label. e.g. `4x6`
|
|
922
|
-
*/
|
|
899
|
+
salesOrder: string;
|
|
923
900
|
shipment: string;
|
|
924
901
|
shipments: string;
|
|
925
902
|
warehouses: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as ShipmentSummary from "./shipment-summary";
|
package/src/elements/{view-shipment/view-shipment.d.ts → shipment-summary/shipment-summary.d.ts}
RENAMED
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { SE } from "@shipengine/
|
|
3
|
-
import {
|
|
4
|
-
import { VatSettingsFeatures } from "../../features";
|
|
2
|
+
import { SE } from "@shipengine/react-api";
|
|
3
|
+
import { ShipmentSummaryFeatures } from "../../utilities";
|
|
5
4
|
/**
|
|
6
|
-
* #
|
|
5
|
+
* # Shipment Summary Component Props
|
|
7
6
|
*
|
|
8
|
-
* - These are the base props that will be passed into the `<
|
|
7
|
+
* - These are the base props that will be passed into the `<ShipmentSummary />` component.
|
|
9
8
|
*
|
|
10
|
-
* @see {@link
|
|
9
|
+
* @see {@link ShipmentSummary.Component | This prop types usage in the `<ShipmentSummary />` component}
|
|
11
10
|
*/
|
|
12
11
|
export type ComponentProps = {
|
|
13
12
|
/**
|
|
14
13
|
* `features` is a set of feature flags you would like to enable or disable in this component.
|
|
15
14
|
*/
|
|
16
|
-
features?:
|
|
15
|
+
features?: ShipmentSummaryFeatures;
|
|
17
16
|
/**
|
|
18
17
|
* `onClickPrintLabel` is a callback function that will be invoked when the user clicks the
|
|
19
18
|
* `Print Label` button.
|
|
@@ -35,21 +34,21 @@ export type ComponentProps = {
|
|
|
35
34
|
shipmentId?: string;
|
|
36
35
|
};
|
|
37
36
|
/**
|
|
38
|
-
* #
|
|
37
|
+
* # Shipment Summary Component
|
|
39
38
|
*
|
|
40
|
-
* - The `<
|
|
39
|
+
* - The `<ShipmentSummary />` component is used to for viewing the shipment's tracking number, printing the label that
|
|
41
40
|
* was created, and the option to void the label. When a label is voided, you can see a list of the
|
|
42
41
|
* previously voided labels for a given shipment using this component.
|
|
43
42
|
*
|
|
44
|
-
* @param ComponentProps The base props that will be passed into the `<
|
|
43
|
+
* @param ComponentProps The base props that will be passed into the `<ShipmentSummary />` component.
|
|
45
44
|
*
|
|
46
|
-
* @returns Element An EmotionJSX.Element that will render the `<
|
|
45
|
+
* @returns Element An EmotionJSX.Element that will render the `<ShipmentSummary />` component
|
|
47
46
|
* with all the appropriate wrappers.
|
|
48
47
|
*
|
|
49
48
|
* @example
|
|
50
49
|
* You can see how the `<Component />` is used in the `createElement` function call below.
|
|
51
50
|
* ```tsx
|
|
52
|
-
* export const Element =
|
|
51
|
+
* export const Element = createElement(Component, ErrorFallback, {
|
|
53
52
|
* css: { height: "100%", maxWidth: "800px", minWidth: "440px", width: "100%" },
|
|
54
53
|
* resources: { en },
|
|
55
54
|
* });
|
|
@@ -57,23 +56,23 @@ export type ComponentProps = {
|
|
|
57
56
|
*
|
|
58
57
|
* <br />
|
|
59
58
|
*
|
|
60
|
-
* @see {@link
|
|
59
|
+
* @see {@link ShipmentSummary.Element | The **Element** created to render `<ShipmentSummary />`}
|
|
61
60
|
*/
|
|
62
61
|
export declare const Component: ({ features, onClickPrintLabel, onClickPurchaseLabel, onClickVoidLabel, shipmentId, }: ComponentProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
63
62
|
/**
|
|
64
|
-
* # Registered
|
|
63
|
+
* # Registered Shipment Summary Element
|
|
65
64
|
*
|
|
66
|
-
* - This is the registered `<
|
|
67
|
-
* `<
|
|
65
|
+
* - This is the registered `<ShipmentSummary />` element that will be used to render the
|
|
66
|
+
* `<ShipmentSummary.Element />` component.
|
|
68
67
|
*
|
|
69
68
|
* @param ElementProps The props, callbacks, and resources necessary to render
|
|
70
|
-
* the `<
|
|
69
|
+
* the `<ShipmentSummary.Element />` component.
|
|
71
70
|
*
|
|
72
71
|
* @example
|
|
73
|
-
* The `<Component />` is the source JSX that is rendered when you make use of the `
|
|
72
|
+
* The `<Component />` is the source JSX that is rendered when you make use of the `ShipmentSummary`
|
|
74
73
|
* Element directly. Here is a brief example of how you would use it within your application.
|
|
75
74
|
* ```tsx
|
|
76
|
-
* <
|
|
75
|
+
* <ShipmentSummary.Element
|
|
77
76
|
* onClickPurchaseLabel={({ salesOrderId }) => {
|
|
78
77
|
* console.log('sales order ID', salesOrderId);
|
|
79
78
|
* }}
|
|
@@ -86,7 +85,7 @@ export declare const Component: ({ features, onClickPrintLabel, onClickPurchaseL
|
|
|
86
85
|
*
|
|
87
86
|
* <br />
|
|
88
87
|
*
|
|
89
|
-
* @see {@link
|
|
88
|
+
* @see {@link ShipmentSummary.ComponentProps | The **props** that can be passed into the `<ShipmentSummary.Element />` component}
|
|
90
89
|
*
|
|
91
90
|
* @see {@link VoidLabel.Element | The next step in the label purchase workflow `<VoidLabel.Element />`}
|
|
92
91
|
**/
|
|
@@ -158,9 +157,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
158
157
|
shipDate: string;
|
|
159
158
|
shipTo: string;
|
|
160
159
|
warehouse: string;
|
|
161
|
-
weight: string;
|
|
162
|
-
* `features` is a set of feature flags you would like to enable or disable in this component.
|
|
163
|
-
*/
|
|
160
|
+
weight: string;
|
|
164
161
|
insuredValue: string;
|
|
165
162
|
deliveryConfirmation: string;
|
|
166
163
|
};
|
|
@@ -168,10 +165,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
168
165
|
multipleShippingServices: string;
|
|
169
166
|
sections: {
|
|
170
167
|
labels: string;
|
|
171
|
-
shipmentSummary: string;
|
|
172
|
-
* `onClickVoidLabel` is a callback function that will be invoked when the user clicks the
|
|
173
|
-
* `Void Label` button.
|
|
174
|
-
*/
|
|
168
|
+
shipmentSummary: string;
|
|
175
169
|
};
|
|
176
170
|
noLabels: string;
|
|
177
171
|
};
|
|
@@ -193,7 +187,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
193
187
|
genericText: string;
|
|
194
188
|
};
|
|
195
189
|
};
|
|
196
|
-
"
|
|
190
|
+
"manage-carriers": {
|
|
197
191
|
title: string;
|
|
198
192
|
headers: {
|
|
199
193
|
accountCarriers: string;
|
|
@@ -295,13 +289,12 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
295
289
|
oversize: string;
|
|
296
290
|
returns: string;
|
|
297
291
|
notifications: string;
|
|
298
|
-
tip: string;
|
|
292
|
+
tip: string; /**
|
|
293
|
+
* `features` is a set of feature flags you would like to enable or disable in this component.
|
|
294
|
+
*/
|
|
299
295
|
duties_and_taxes: string;
|
|
300
296
|
brokerage_fee: string;
|
|
301
|
-
admin_fee: string;
|
|
302
|
-
* `onClickPrintLabel` is a callback function that will be invoked when the user clicks the
|
|
303
|
-
* `Print Label` button.
|
|
304
|
-
*/
|
|
297
|
+
admin_fee: string;
|
|
305
298
|
adjustment: string;
|
|
306
299
|
auctane_service_fee: string;
|
|
307
300
|
product_price: string;
|
|
@@ -418,7 +411,13 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
418
411
|
today: string;
|
|
419
412
|
viewMap: string;
|
|
420
413
|
otherLocations: string;
|
|
421
|
-
noServicePointsForService: string;
|
|
414
|
+
noServicePointsForService: string; /**
|
|
415
|
+
* # Shipment Summary Element Props
|
|
416
|
+
*
|
|
417
|
+
* - These are the base props that will be passed into the `<ShipmentSummary />` element.
|
|
418
|
+
*
|
|
419
|
+
* @see {@link ShipmentSummary.Element | See the full type that `typeof Element` will return}
|
|
420
|
+
*/
|
|
422
421
|
error: string;
|
|
423
422
|
paperless: string;
|
|
424
423
|
localTimeDisclaimer: string;
|
|
@@ -517,30 +516,19 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
517
516
|
error: {
|
|
518
517
|
title: string;
|
|
519
518
|
message: string;
|
|
520
|
-
};
|
|
521
|
-
* # View Shipment Component Props
|
|
522
|
-
*
|
|
523
|
-
* - These are the base props that will be passed into the `<ViewShipment />` component.
|
|
524
|
-
*
|
|
525
|
-
* @see {@link ViewShipment.Component | This prop types usage in the `<ViewShipment />` component}
|
|
526
|
-
*/
|
|
519
|
+
};
|
|
527
520
|
isEnabledCTA: string;
|
|
528
521
|
isEnabled: string;
|
|
529
522
|
isLoading: string;
|
|
530
523
|
lowBalancePurchaseThreshold: string;
|
|
531
|
-
maximumPurchasesPerDay: string;
|
|
532
|
-
* `features` is a set of feature flags you would like to enable or disable in this component.
|
|
533
|
-
*/
|
|
524
|
+
maximumPurchasesPerDay: string;
|
|
534
525
|
purchaseAmount: string;
|
|
535
526
|
readSettings: string;
|
|
536
527
|
};
|
|
537
528
|
addFunds: {
|
|
538
529
|
custom: string;
|
|
539
530
|
error: {
|
|
540
|
-
title: string;
|
|
541
|
-
* `onClickPurchaseLabel` is a callback function that will be invoked when the user clicks the
|
|
542
|
-
* `Purchase Label` button.
|
|
543
|
-
*/
|
|
531
|
+
title: string;
|
|
544
532
|
message: string;
|
|
545
533
|
};
|
|
546
534
|
isLoading: string;
|
|
@@ -709,7 +697,9 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
709
697
|
modified: string;
|
|
710
698
|
title: string;
|
|
711
699
|
originalAddress: string;
|
|
712
|
-
matchedAddress: string;
|
|
700
|
+
matchedAddress: string; /**
|
|
701
|
+
* `shipmentId` is the unique identifier for the shipment you wish to view.
|
|
702
|
+
*/
|
|
713
703
|
unableToValidate: string;
|
|
714
704
|
use: {
|
|
715
705
|
originalAddress: string;
|
|
@@ -798,13 +788,6 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
798
788
|
invalidNameOrCompany: string;
|
|
799
789
|
parsingFailure: string;
|
|
800
790
|
incompleteLabelPurchaseRequirements: string;
|
|
801
|
-
/**
|
|
802
|
-
* # View Shipment Element Props
|
|
803
|
-
*
|
|
804
|
-
* - These are the base props that will be passed into the `<ViewShipment />` element.
|
|
805
|
-
*
|
|
806
|
-
* @see {@link ViewShipment.Element | See the full type that `typeof Element` will return}
|
|
807
|
-
*/
|
|
808
791
|
shipmentCancelled: string;
|
|
809
792
|
unableToLoad: {
|
|
810
793
|
accountSettings: string;
|
|
@@ -978,10 +961,10 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
978
961
|
} | undefined;
|
|
979
962
|
}) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
980
963
|
/**
|
|
981
|
-
* #
|
|
964
|
+
* # Shipment Summary Element Props
|
|
982
965
|
*
|
|
983
|
-
* - These are the base props that will be passed into the `<
|
|
966
|
+
* - These are the base props that will be passed into the `<ShipmentSummary />` element.
|
|
984
967
|
*
|
|
985
|
-
* @see {@link
|
|
968
|
+
* @see {@link ShipmentSummary.Element | See the full type that `typeof Element` will return}
|
|
986
969
|
*/
|
|
987
970
|
export type ElementProps = React.ComponentProps<typeof Element>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Shipment, ShipmentStatus } from "@shipengine/
|
|
1
|
+
import { Shipment, ShipmentStatus } from "@shipengine/react-api";
|
|
2
2
|
type ShipmentsGridProps = {
|
|
3
3
|
onRowClick?: (data: Shipment) => void;
|
|
4
4
|
shipmentStatus?: ShipmentStatus;
|
|
@@ -101,7 +101,7 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
101
101
|
genericText: string;
|
|
102
102
|
};
|
|
103
103
|
};
|
|
104
|
-
"
|
|
104
|
+
"manage-carriers": {
|
|
105
105
|
title: string;
|
|
106
106
|
headers: {
|
|
107
107
|
accountCarriers: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as TransactionHistory from "./transaction-history-element";
|