@shipengine/elements 1.5.0 → 1.6.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/index.cjs +13000 -12540
- package/index.js +13018 -12569
- package/package.json +5 -7
- package/src/components/address-preference-context/address-preference-context.d.ts +2 -1
- package/src/components/auto-funding-form/auto-funding-form.styles.d.ts +4 -8
- package/src/components/date-range-select/date-range-select.d.ts +1 -2
- package/src/components/field/create-field-controller.d.ts +2 -1
- package/src/components/field/date-picker/date-picker.d.ts +2 -6
- package/src/components/field/rate-card/rate-card.d.ts +3 -1
- package/src/components/field/rate-card/rate-card.styles.d.ts +1 -0
- package/src/components/field-label/field-label.d.ts +2 -1
- package/src/components/history/history-card/history-card.d.ts +5 -2
- package/src/components/index.d.ts +5 -2
- package/src/components/service-point-display/service-point-display.d.ts +1 -1
- package/src/components/service-point-display/service-point-display.styles.d.ts +8 -0
- package/src/components/templates/address-display/address-display.d.ts +2 -1
- package/src/components/templates/connected-carrier-list/connected-carrier-row/connected-carrier-row.styles.d.ts +17 -0
- package/src/components/templates/index.d.ts +1 -4
- package/src/components/templates/label/label.styles.d.ts +0 -6
- package/src/components/templates/product-form/product-form-schema.d.ts +0 -12
- package/src/components/templates/pudo-rate-tabs/pudo-rate-tabs.d.ts +6 -1
- package/src/components/templates/rate-form/rate-form.d.ts +2 -1
- package/src/components/templates/rate-form/rate-form.styles.d.ts +2 -4
- package/src/components/templates/shipment-form/shipment-schema.d.ts +0 -50
- package/src/components/{templates/warehouse-form → warehouse-form}/warehouse-form.d.ts +1 -1
- package/src/elements/external-carriers/external-carriers.d.ts +817 -9
- package/src/elements/index.d.ts +7 -2
- package/src/elements/label-layout/index.d.ts +1 -0
- package/src/elements/label-layout/label-layout-element.d.ts +785 -0
- package/src/elements/labels-grid/labels-grid.d.ts +9 -1
- package/src/elements/list-carriers/list-carriers.d.ts +810 -1
- package/src/elements/manage-funding/index.d.ts +1 -0
- package/src/elements/manage-funding/manage-funding-element.d.ts +785 -0
- package/src/elements/manage-warehouses/manage-warehouses.d.ts +805 -1
- package/src/elements/payment-method-settings/index.d.ts +1 -0
- package/src/elements/payment-method-settings/payment-method-settings-element.d.ts +785 -0
- package/src/elements/{configure-shipment → purchase-label}/configure-shipment.d.ts +1 -12
- package/src/elements/purchase-label/hooks/index.d.ts +8 -0
- package/src/elements/purchase-label/hooks/use-configure-shipment.d.ts +1 -1
- package/src/elements/{configure-shipment → purchase-label}/hooks/use-rates-form.d.ts +1 -1
- package/src/elements/{configure-shipment → purchase-label}/hooks/use-rates-with-cache.d.ts +1 -1
- package/src/elements/{configure-shipment → purchase-label}/hooks/use-request-preferred-rates.d.ts +1 -1
- package/src/elements/{configure-shipment → purchase-label}/hooks/use-request-rates.d.ts +2 -1
- package/src/elements/purchase-label/purchase-label.d.ts +29 -49
- package/src/elements/shipments-grid/shipments-grid.d.ts +9 -1
- package/src/elements/theme-creator/theme-creator.d.ts +9 -1
- package/src/elements/unit-settings/index.d.ts +1 -0
- package/src/elements/unit-settings/unit-settings-element.d.ts +785 -0
- package/src/elements/view-shipment/view-shipment.d.ts +12 -2
- package/src/elements/void-label/void-label.d.ts +9 -1
- package/src/elements/wallet-history/index.d.ts +1 -0
- package/src/elements/wallet-history/wallet-history-element.d.ts +785 -0
- package/src/features/external-carriers/external-carriers.d.ts +10 -0
- package/src/features/external-carriers/index.d.ts +1 -0
- package/src/features/index.d.ts +7 -0
- package/src/features/label-layout/index.d.ts +2 -0
- package/src/features/label-layout/label-layout.d.ts +2 -0
- package/src/features/label-layout/use-label-layout.d.ts +7 -0
- package/src/features/list-carriers/hooks/index.d.ts +2 -0
- package/src/{hooks → features/list-carriers/hooks}/use-carrier-metadata.d.ts +1 -1
- package/src/{components/templates → features/list-carriers}/list-carriers-row/list-carriers-row.d.ts +2 -2
- package/src/features/list-carriers/list-carriers.d.ts +9 -0
- package/src/features/manage-funding/manage-funding.d.ts +16 -0
- package/src/features/manage-warehouses/manage-warehouses.d.ts +1 -0
- package/src/{components → features}/unit-settings/unit-settings.d.ts +0 -5
- package/src/features/wallet-history/wallet-history.styles.d.ts +10 -10
- package/src/hooks/index.d.ts +0 -1
- package/src/hooks/options/use-rate-options.d.ts +1 -1
- package/src/locales/en/index.d.ts +9 -1
- package/src/types/index.d.ts +1 -0
- package/src/types/preferred-rates.d.ts +13 -0
- package/src/utilities/date.d.ts +2 -1
- package/src/utilities/feature-flags.d.ts +1 -1
- package/src/utilities/index.d.ts +1 -0
- package/src/utilities/tracking-status-formatter.d.ts +1 -0
- package/src/{elements → workflows}/account-settings/account-settings.d.ts +14 -50
- package/src/workflows/account-settings/use-get-panel-props.d.ts +4 -0
- package/src/{elements → workflows}/connect-carrier/connect-carrier.d.ts +9 -1
- package/src/workflows/index.d.ts +3 -0
- package/src/workflows/onboarding/components/onboarding-wizard/onboarding-wizard.d.ts +1 -1
- 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/onboarding.d.ts +10 -2
- package/src/workflows/purchase-label-workflow/index.d.ts +1 -0
- package/src/{elements/shipengine-workflow/label-workflow.d.ts → workflows/purchase-label-workflow/purchase-label-workflow.d.ts} +19 -21
- package/src/components/date-range-select/date-range-select.styles.d.ts +0 -7
- package/src/components/field/date-picker/date-picker.styles.d.ts +0 -3
- package/src/components/label-layout/index.d.ts +0 -3
- package/src/components/label-layout/label-layout-purchase.d.ts +0 -5
- package/src/components/label-layout/label-layout-settings.d.ts +0 -7
- package/src/components/label-layout/label-layout.d.ts +0 -9
- package/src/components/manage-funding/manage-funding.d.ts +0 -35
- package/src/components/templates/account-settings/account-settings.d.ts +0 -10
- package/src/components/templates/account-settings/index.d.ts +0 -1
- package/src/components/templates/list-carriers/list-carriers.d.ts +0 -16
- package/src/components/templates/manage-warehouses/manage-warehouses.d.ts +0 -11
- package/src/elements/configure-shipment/hooks/index.d.ts +0 -8
- package/src/elements/configure-shipment/index.d.ts +0 -1
- package/src/elements/shipengine-workflow/index.d.ts +0 -1
- /package/src/components/{templates/edit-billing-form → edit-billing-form}/edit-billing-form.d.ts +0 -0
- /package/src/components/{templates/edit-billing-form → edit-billing-form}/edit-billing-form.styles.d.ts +0 -0
- /package/src/components/{templates/edit-billing-form → edit-billing-form}/index.d.ts +0 -0
- /package/src/components/{templates/wallet-card → wallet-card}/index.d.ts +0 -0
- /package/src/components/{templates/wallet-card → wallet-card}/wallet-card.d.ts +0 -0
- /package/src/components/{templates/wallet-card → wallet-card}/wallet-card.styles.d.ts +0 -0
- /package/src/components/{templates/warehouse-form → warehouse-form}/index.d.ts +0 -0
- /package/src/components/{templates/warehouse-form → warehouse-form}/warehouse-form-schema.d.ts +0 -0
- /package/src/elements/{configure-shipment → purchase-label}/hooks/use-address.d.ts +0 -0
- /package/src/elements/{configure-shipment → purchase-label}/hooks/use-customs.d.ts +0 -0
- /package/src/elements/{configure-shipment → purchase-label}/hooks/use-presets.d.ts +0 -0
- /package/src/elements/{configure-shipment → purchase-label}/hooks/use-shipment-form.d.ts +0 -0
- /package/src/{components → features}/label-layout/label-layout.styles.d.ts +0 -0
- /package/src/{elements → features}/list-carriers/hooks/use-list-connected-carriers.d.ts +0 -0
- /package/src/{components/templates → features}/list-carriers/index.d.ts +0 -0
- /package/src/{components/templates → features/list-carriers}/list-carriers-row/index.d.ts +0 -0
- /package/src/{components/templates → features/list-carriers}/list-carriers-row/list-carriers-row.styles.d.ts +0 -0
- /package/src/{components/templates → features}/list-carriers/list-carriers.styles.d.ts +0 -0
- /package/src/{components → features}/manage-funding/index.d.ts +0 -0
- /package/src/{components/templates → features}/manage-warehouses/index.d.ts +0 -0
- /package/src/{components/templates → features}/manage-warehouses/manage-warehouse.styles.d.ts +0 -0
- /package/src/{components/templates → features/manage-warehouses}/warehouse-display/index.d.ts +0 -0
- /package/src/{components/templates → features/manage-warehouses}/warehouse-display/warehouse-display.d.ts +0 -0
- /package/src/{components → features}/payment-method-settings/index.d.ts +0 -0
- /package/src/{components → features}/payment-method-settings/payment-method-settings.d.ts +0 -0
- /package/src/{components → features}/unit-settings/index.d.ts +0 -0
- /package/src/{elements → workflows}/account-settings/index.d.ts +0 -0
- /package/src/{elements → workflows}/connect-carrier/index.d.ts +0 -0
|
@@ -2,19 +2,8 @@ import { SE } from "@shipengine/alchemy";
|
|
|
2
2
|
import { RateFormProps } from "../../components/templates/rate-form";
|
|
3
3
|
import { ShipmentFormFeatures, ShipmentFormProps } from "../../components/templates/shipment-form";
|
|
4
4
|
import { UseShippingPresetsOptionsProps } from "../../hooks";
|
|
5
|
+
import { PreferredRatesResponse } from "../../types";
|
|
5
6
|
import { UseRatesFormProps, UseShipmentFormProps } from "./hooks";
|
|
6
|
-
export type PreferredRateAcknowledgementMessage = {
|
|
7
|
-
link?: {
|
|
8
|
-
text: string;
|
|
9
|
-
url: string;
|
|
10
|
-
};
|
|
11
|
-
primaryMessage: string;
|
|
12
|
-
secondaryMessage?: string;
|
|
13
|
-
};
|
|
14
|
-
export type PreferredRatesResponse = Array<{
|
|
15
|
-
rate: SE.Rate;
|
|
16
|
-
rateAcknowledgementMessage?: PreferredRateAcknowledgementMessage;
|
|
17
|
-
}>;
|
|
18
7
|
export type ShipmentFormMode = "browse_rates" | "select_service";
|
|
19
8
|
export type RateFormFeatures = {
|
|
20
9
|
enableFunding?: boolean;
|
|
@@ -1,3 +1,11 @@
|
|
|
1
1
|
export * from "./use-configure-shipment";
|
|
2
2
|
export * from "./use-import-sales-order";
|
|
3
3
|
export * from "./use-pending-shipment";
|
|
4
|
+
export * from "./use-address";
|
|
5
|
+
export * from "./use-customs";
|
|
6
|
+
export * from "./use-presets";
|
|
7
|
+
export * from "./use-rates-form";
|
|
8
|
+
export * from "./use-shipment-form";
|
|
9
|
+
export * from "./use-rates-with-cache";
|
|
10
|
+
export * from "./use-request-rates";
|
|
11
|
+
export * from "./use-request-preferred-rates";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SE } from "@shipengine/alchemy";
|
|
2
|
-
import { ConfigureShipmentProps } from "
|
|
2
|
+
import { ConfigureShipmentProps } from "../configure-shipment";
|
|
3
3
|
import { UsePendingShipmentProps } from "./use-pending-shipment";
|
|
4
4
|
export type UseConfigureShipmentProps = {
|
|
5
5
|
errorWhenShipmentCancelled?: boolean;
|
|
@@ -31,7 +31,7 @@ export declare const useRatesForm: ({ getPreferredRates, onBeforeRateSaved, onBe
|
|
|
31
31
|
labelsLoading: boolean;
|
|
32
32
|
onSave: ({ carrierId, serviceCode }: Pick<SE.Rate, "carrierId" | "serviceCode">) => Promise<void>;
|
|
33
33
|
onSubmit: (rateId: string, servicePoint?: SE.ServicePoint) => Promise<void>;
|
|
34
|
-
preferredRates: import("
|
|
34
|
+
preferredRates: import("../../..").PreferredRatesResponse | undefined;
|
|
35
35
|
rates: SE.Rate[] | undefined;
|
|
36
36
|
requestRates: (shipment: SE.SalesOrderShipment, isInternational: boolean) => Promise<void>;
|
|
37
37
|
resetLabel: () => void;
|
|
@@ -15,7 +15,7 @@ export type UseRatesWithCacheProps = {
|
|
|
15
15
|
* (this transparently returns the behaviors to the default useRequestRates behavior)
|
|
16
16
|
*/
|
|
17
17
|
export declare const useRatesWithCache: ({ shipment, onRatesCalculated, getPreferredRates, }: UseRatesWithCacheProps) => {
|
|
18
|
-
preferredRatesResponse: import("
|
|
18
|
+
preferredRatesResponse: import("../../..").PreferredRatesResponse | undefined;
|
|
19
19
|
ratesCalculating: boolean;
|
|
20
20
|
ratesErrors: SE.CodedError[] | null;
|
|
21
21
|
ratesResponse: {
|
package/src/elements/{configure-shipment → purchase-label}/hooks/use-request-preferred-rates.d.ts
RENAMED
|
@@ -4,4 +4,4 @@ export type RequestPreferredRatesProps = {
|
|
|
4
4
|
getPreferredRates?: UseRequestRatesProps["getPreferredRates"];
|
|
5
5
|
};
|
|
6
6
|
export type CalculatePreferredRatesData = Parameters<Required<UseRequestRatesProps>["getPreferredRates"]>;
|
|
7
|
-
export declare const useRequestPreferredRates: ({ getPreferredRates }: RequestPreferredRatesProps) => import("@tanstack/react-query").UseMutationResult<import("
|
|
7
|
+
export declare const useRequestPreferredRates: ({ getPreferredRates }: RequestPreferredRatesProps) => import("@tanstack/react-query").UseMutationResult<import("../../..").PreferredRatesResponse | undefined, SE.CodedError[], [shipment: SE.SalesOrderShipment, isInternational: boolean], unknown>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { SE } from "@shipengine/alchemy";
|
|
2
|
-
import {
|
|
2
|
+
import { PreferredRatesResponse } from "../../../types";
|
|
3
|
+
import { ConfigureShipmentProps } from "../configure-shipment";
|
|
3
4
|
export type UseRequestRatesProps = {
|
|
4
5
|
getPreferredRates?: ConfigureShipmentProps["getPreferredRates"];
|
|
5
6
|
onRatesCalculated?: (rates: SE.Rate[], shipment: SE.SalesOrderShipment) => Promise<void> | void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { UseShippingPresetsOptionsProps } from "../../hooks";
|
|
3
|
-
import { ConfigureShipmentProps } from "
|
|
3
|
+
import { ConfigureShipmentProps } from "./configure-shipment";
|
|
4
4
|
import { UseConfigureShipmentProps } from "./hooks";
|
|
5
5
|
import { PurchaseLabelSalesOrderProps } from "./purchase-label-by-sales-order";
|
|
6
6
|
import { PurchaseLabelByShipmentProps } from "./purchase-label-by-shipment";
|
|
@@ -339,7 +339,14 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
339
339
|
addPackageDetails: string;
|
|
340
340
|
};
|
|
341
341
|
errorMessages: {
|
|
342
|
-
customsItemsRequired: string;
|
|
342
|
+
customsItemsRequired: string; /**
|
|
343
|
+
* # Purchase Label Component Props
|
|
344
|
+
*
|
|
345
|
+
* These are the shared props that will be passed into the `<PurchaseLabel.Element />`, and work
|
|
346
|
+
* for either shipment-based or sales order-based label purchasing.
|
|
347
|
+
*
|
|
348
|
+
* @see {@link PurchaseLabel.Element | This prop types usage in `<PurchaseLabel.Element />`}
|
|
349
|
+
*/
|
|
343
350
|
invalidAddress: string;
|
|
344
351
|
noRates: string;
|
|
345
352
|
salesOrderNotLoaded: string;
|
|
@@ -382,10 +389,6 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
382
389
|
weightGroup: string;
|
|
383
390
|
today: string;
|
|
384
391
|
};
|
|
385
|
-
/**
|
|
386
|
-
* `onBeforeLabelCreate` is an async/sync callback function that will be invoked before every
|
|
387
|
-
* label purchase.
|
|
388
|
-
*/
|
|
389
392
|
hints: {
|
|
390
393
|
contentDescription: string;
|
|
391
394
|
};
|
|
@@ -409,12 +412,13 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
409
412
|
upsGroundSaverTermsAcknowledgement: string;
|
|
410
413
|
dhlExpressTermsAcknowledgement: string;
|
|
411
414
|
};
|
|
415
|
+
/**
|
|
416
|
+
* `onLoad` is an async/sync callback provided by the host application that is invoked after the
|
|
417
|
+
* element is loaded. (This may be useful to grab the shipmentId of a one-off label)
|
|
418
|
+
*/
|
|
412
419
|
requirements: {
|
|
413
420
|
noWarehouse: string;
|
|
414
|
-
noCarrier: string;
|
|
415
|
-
* `onLoad` is an async/sync callback provided by the host application that is invoked after the
|
|
416
|
-
* element is loaded. (This may be useful to grab the shipmentId of a one-off label)
|
|
417
|
-
*/
|
|
421
|
+
noCarrier: string;
|
|
418
422
|
noWarehouseOrCarrier: string;
|
|
419
423
|
};
|
|
420
424
|
servicePoints: {
|
|
@@ -430,7 +434,8 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
430
434
|
nextOpeningDay: string;
|
|
431
435
|
until: string;
|
|
432
436
|
selected: string;
|
|
433
|
-
|
|
437
|
+
select: string;
|
|
438
|
+
today: string;
|
|
434
439
|
viewMap: string;
|
|
435
440
|
otherLocations: string;
|
|
436
441
|
noServicePointsFound: string;
|
|
@@ -466,14 +471,6 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
466
471
|
fundingAndCarrierConnection: string;
|
|
467
472
|
};
|
|
468
473
|
warehouse: {
|
|
469
|
-
/**
|
|
470
|
-
* # Purchase Label Component Props
|
|
471
|
-
*
|
|
472
|
-
* These are the shared props that will be passed into the `<PurchaseLabel.Element />`, and work
|
|
473
|
-
* for either shipment-based or sales order-based label purchasing.
|
|
474
|
-
*
|
|
475
|
-
* @see {@link PurchaseLabel.Element | This prop types usage in `<PurchaseLabel.Element />`}
|
|
476
|
-
*/
|
|
477
474
|
title: string;
|
|
478
475
|
subtitle: string;
|
|
479
476
|
inlineMessage: string;
|
|
@@ -482,9 +479,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
482
479
|
title: string;
|
|
483
480
|
subtitle: string;
|
|
484
481
|
action: string;
|
|
485
|
-
};
|
|
486
|
-
* `features` is a set of feature flags you would like to enable or disable in this component.
|
|
487
|
-
*/
|
|
482
|
+
};
|
|
488
483
|
termsAndAgreementLinkText: {
|
|
489
484
|
aHR0cHM6Ly9teWRobC5leHByZXNzLmRobC91cy9lbi9sZWdhbC90ZXJtcy1hbmQtY29uZGl0aW9ucy5odG1s: string;
|
|
490
485
|
"aHR0cHM6Ly93d3cuc3RhbXBzLmNvbS9wcml2YWN5LXBvbGljeQ==": string;
|
|
@@ -496,12 +491,14 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
496
491
|
"aHR0cHM6Ly93d3cueW9kZWxkaXJlY3QuY28udWsvY29udGVudC9hYm91dC10ZXJtcw==": string;
|
|
497
492
|
aHR0cHM6Ly93d3cuc2hpcHN0YXRpb24uY29tL3Rlcm1zLXNlcnZpY2UtdW5pdGVkLWtpbmdkb20v: string;
|
|
498
493
|
"aHR0cHM6Ly93d3cuZHBkLmNvLnVrL3N0YW5kYXJkX3Rlcm1zX2FuZF9jb25kaXRpb25zLmpzcA==": string;
|
|
494
|
+
aHR0cHM6Ly93d3cuZ29nbG9iYWxwb3N0LmNvbS9jb25kaXRpb25z: string;
|
|
499
495
|
};
|
|
500
496
|
termsAndAgreementTitles: {
|
|
501
497
|
"WW9kZWwgRGlyZWN0IC0gVGVybXMgYW5kIENvbmRpdGlvbnMgKOKAnFRlcm1z4oCdKQ==": string;
|
|
502
498
|
"RXZyaSBTZW5kIFRlcm1zICYgQ29uZGl0aW9ucw==": string;
|
|
503
499
|
"VGVybXMgb2YgU2VydmljZSBVbml0ZWQgS2luZ2RvbQ==": string;
|
|
504
500
|
RFBEIFN0YW5kYXJkIFRlcm1zIGFuZCBDb25kaXRpb25z: string;
|
|
501
|
+
"R2xvYmFsUG9zdCBUZXJtcyBhbmQgQ29uZGl0aW9ucw==": string;
|
|
505
502
|
};
|
|
506
503
|
};
|
|
507
504
|
"manage-defaults": {
|
|
@@ -589,14 +586,6 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
589
586
|
minimumPurchaseAmount: string;
|
|
590
587
|
other: string;
|
|
591
588
|
};
|
|
592
|
-
/**
|
|
593
|
-
*`getPreferredRates is an async/sync optional callback function that will be invoked each time rates are caculated.
|
|
594
|
-
* This is an optional callback function that returns an array of ShipEngine rates. The rates from this response will
|
|
595
|
-
* be spliced into the normal get rates response the Elements makes internally. If a service code matches a service
|
|
596
|
-
* code on a rate returned from getPreferredRates, the rate returned from getPreferredRates will not be shown in the
|
|
597
|
-
* rate form. These preferred rates will be displayed with a set of UI enhancements that incude a dynamic cost savings
|
|
598
|
-
* flag and green checkmark when the rate is selected.
|
|
599
|
-
*/
|
|
600
589
|
fundAndPurchase: {
|
|
601
590
|
finalBalance: string;
|
|
602
591
|
insufficientFunds: string;
|
|
@@ -705,14 +694,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
705
694
|
confirm: string;
|
|
706
695
|
addressNotValidated: string;
|
|
707
696
|
modified: string;
|
|
708
|
-
title: string;
|
|
709
|
-
*`getPreferredRates is an async/sync optional callback function that will be invoked each time rates are caculated.
|
|
710
|
-
* This is an optional callback function that returns an array of ShipEngine rates. The rates from this response will
|
|
711
|
-
* be spliced into the normal get rates response the Elements makes internally. If a service code matches a service
|
|
712
|
-
* code on a rate returned from getPreferredRates, the rate returned from getPreferredRates will not be shown in the
|
|
713
|
-
* rate form. These preferred rates will be displayed with a set of UI enhancements that incude a dynamic cost savings
|
|
714
|
-
* flag and green checkmark when the rate is selected.
|
|
715
|
-
*/
|
|
697
|
+
title: string;
|
|
716
698
|
originalAddress: string;
|
|
717
699
|
matchedAddress: string;
|
|
718
700
|
unableToValidate: string;
|
|
@@ -760,13 +742,13 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
760
742
|
adultSignature: string;
|
|
761
743
|
delivery: string;
|
|
762
744
|
deliveryMailed: string;
|
|
763
|
-
directSignature: string;
|
|
764
|
-
none: string;
|
|
765
|
-
signature: string;
|
|
766
745
|
/**
|
|
767
746
|
* `onChangeShipmentFormMode` is an async/sync callback function that will be invoked each time
|
|
768
747
|
* the user toggles the `Shipment Form Mode` between `Browse Rates` and `Selected Rate`.
|
|
769
748
|
*/
|
|
749
|
+
directSignature: string;
|
|
750
|
+
none: string;
|
|
751
|
+
signature: string;
|
|
770
752
|
verbalConfirmation: string;
|
|
771
753
|
};
|
|
772
754
|
customs: {
|
|
@@ -797,10 +779,6 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
797
779
|
valueQuantity: string;
|
|
798
780
|
};
|
|
799
781
|
nonDelivery: {
|
|
800
|
-
/**
|
|
801
|
-
* `onRatesCalculated` is an async/sync callback function that will be invoked each time rates
|
|
802
|
-
* are calculated for a given shipment.
|
|
803
|
-
*/
|
|
804
782
|
returnToSender: string;
|
|
805
783
|
treatAsAbandoned: string;
|
|
806
784
|
};
|
|
@@ -822,10 +800,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
822
800
|
label: string;
|
|
823
801
|
labels: string;
|
|
824
802
|
salesOrder: string;
|
|
825
|
-
shipment: string;
|
|
826
|
-
* `printLabelLayout` is a string that represents the label layout you would like to use when
|
|
827
|
-
* purchasing a label. e.g. `4x6`
|
|
828
|
-
*/
|
|
803
|
+
shipment: string;
|
|
829
804
|
shipments: string;
|
|
830
805
|
warehouses: string;
|
|
831
806
|
};
|
|
@@ -966,6 +941,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
966
941
|
"connect-carrier": {
|
|
967
942
|
actions: {
|
|
968
943
|
cancel: string;
|
|
944
|
+
carrierSettings: string;
|
|
969
945
|
connectCarriers: string;
|
|
970
946
|
disconnect: string;
|
|
971
947
|
disconnectCarrier: string;
|
|
@@ -984,6 +960,10 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
|
|
|
984
960
|
status: {
|
|
985
961
|
connected: string;
|
|
986
962
|
};
|
|
963
|
+
disconnectDropdown: {
|
|
964
|
+
toastTitle: string;
|
|
965
|
+
toastBody: string;
|
|
966
|
+
};
|
|
987
967
|
};
|
|
988
968
|
"account-settings": {
|
|
989
969
|
messages: {
|
|
@@ -238,7 +238,8 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
238
238
|
nextOpeningDay: string;
|
|
239
239
|
until: string;
|
|
240
240
|
selected: string;
|
|
241
|
-
|
|
241
|
+
select: string;
|
|
242
|
+
today: string;
|
|
242
243
|
viewMap: string;
|
|
243
244
|
otherLocations: string;
|
|
244
245
|
noServicePointsFound: string;
|
|
@@ -294,12 +295,14 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
294
295
|
"aHR0cHM6Ly93d3cueW9kZWxkaXJlY3QuY28udWsvY29udGVudC9hYm91dC10ZXJtcw==": string;
|
|
295
296
|
aHR0cHM6Ly93d3cuc2hpcHN0YXRpb24uY29tL3Rlcm1zLXNlcnZpY2UtdW5pdGVkLWtpbmdkb20v: string;
|
|
296
297
|
"aHR0cHM6Ly93d3cuZHBkLmNvLnVrL3N0YW5kYXJkX3Rlcm1zX2FuZF9jb25kaXRpb25zLmpzcA==": string;
|
|
298
|
+
aHR0cHM6Ly93d3cuZ29nbG9iYWxwb3N0LmNvbS9jb25kaXRpb25z: string;
|
|
297
299
|
};
|
|
298
300
|
termsAndAgreementTitles: {
|
|
299
301
|
"WW9kZWwgRGlyZWN0IC0gVGVybXMgYW5kIENvbmRpdGlvbnMgKOKAnFRlcm1z4oCdKQ==": string;
|
|
300
302
|
"RXZyaSBTZW5kIFRlcm1zICYgQ29uZGl0aW9ucw==": string;
|
|
301
303
|
"VGVybXMgb2YgU2VydmljZSBVbml0ZWQgS2luZ2RvbQ==": string;
|
|
302
304
|
RFBEIFN0YW5kYXJkIFRlcm1zIGFuZCBDb25kaXRpb25z: string;
|
|
305
|
+
"R2xvYmFsUG9zdCBUZXJtcyBhbmQgQ29uZGl0aW9ucw==": string;
|
|
303
306
|
};
|
|
304
307
|
};
|
|
305
308
|
"manage-defaults": {
|
|
@@ -738,6 +741,7 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
738
741
|
"connect-carrier": {
|
|
739
742
|
actions: {
|
|
740
743
|
cancel: string;
|
|
744
|
+
carrierSettings: string;
|
|
741
745
|
connectCarriers: string;
|
|
742
746
|
disconnect: string;
|
|
743
747
|
disconnectCarrier: string;
|
|
@@ -756,6 +760,10 @@ export declare const Element: ({ resources, ...props }: ShipmentsGridProps & {
|
|
|
756
760
|
status: {
|
|
757
761
|
connected: string;
|
|
758
762
|
};
|
|
763
|
+
disconnectDropdown: {
|
|
764
|
+
toastTitle: string;
|
|
765
|
+
toastBody: string;
|
|
766
|
+
};
|
|
759
767
|
};
|
|
760
768
|
"account-settings": {
|
|
761
769
|
messages: {
|
|
@@ -248,7 +248,8 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
248
248
|
nextOpeningDay: string;
|
|
249
249
|
until: string;
|
|
250
250
|
selected: string;
|
|
251
|
-
|
|
251
|
+
select: string;
|
|
252
|
+
today: string;
|
|
252
253
|
viewMap: string;
|
|
253
254
|
otherLocations: string;
|
|
254
255
|
noServicePointsFound: string;
|
|
@@ -304,12 +305,14 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
304
305
|
"aHR0cHM6Ly93d3cueW9kZWxkaXJlY3QuY28udWsvY29udGVudC9hYm91dC10ZXJtcw==": string;
|
|
305
306
|
aHR0cHM6Ly93d3cuc2hpcHN0YXRpb24uY29tL3Rlcm1zLXNlcnZpY2UtdW5pdGVkLWtpbmdkb20v: string;
|
|
306
307
|
"aHR0cHM6Ly93d3cuZHBkLmNvLnVrL3N0YW5kYXJkX3Rlcm1zX2FuZF9jb25kaXRpb25zLmpzcA==": string;
|
|
308
|
+
aHR0cHM6Ly93d3cuZ29nbG9iYWxwb3N0LmNvbS9jb25kaXRpb25z: string;
|
|
307
309
|
};
|
|
308
310
|
termsAndAgreementTitles: {
|
|
309
311
|
"WW9kZWwgRGlyZWN0IC0gVGVybXMgYW5kIENvbmRpdGlvbnMgKOKAnFRlcm1z4oCdKQ==": string;
|
|
310
312
|
"RXZyaSBTZW5kIFRlcm1zICYgQ29uZGl0aW9ucw==": string;
|
|
311
313
|
"VGVybXMgb2YgU2VydmljZSBVbml0ZWQgS2luZ2RvbQ==": string;
|
|
312
314
|
RFBEIFN0YW5kYXJkIFRlcm1zIGFuZCBDb25kaXRpb25z: string;
|
|
315
|
+
"R2xvYmFsUG9zdCBUZXJtcyBhbmQgQ29uZGl0aW9ucw==": string;
|
|
313
316
|
};
|
|
314
317
|
};
|
|
315
318
|
"manage-defaults": {
|
|
@@ -748,6 +751,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
748
751
|
"connect-carrier": {
|
|
749
752
|
actions: {
|
|
750
753
|
cancel: string;
|
|
754
|
+
carrierSettings: string;
|
|
751
755
|
connectCarriers: string;
|
|
752
756
|
disconnect: string;
|
|
753
757
|
disconnectCarrier: string;
|
|
@@ -766,6 +770,10 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
|
|
|
766
770
|
status: {
|
|
767
771
|
connected: string;
|
|
768
772
|
};
|
|
773
|
+
disconnectDropdown: {
|
|
774
|
+
toastTitle: string;
|
|
775
|
+
toastBody: string;
|
|
776
|
+
};
|
|
769
777
|
};
|
|
770
778
|
"account-settings": {
|
|
771
779
|
messages: {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as UnitSettings from "./unit-settings-element";
|