@shipengine/elements 1.5.1 → 1.7.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.
Files changed (149) hide show
  1. package/index.cjs +14782 -14386
  2. package/index.js +14797 -14413
  3. package/package.json +5 -7
  4. package/src/components/address-preference-context/address-preference-context.d.ts +2 -1
  5. package/src/components/auto-funding-form/auto-funding-form.styles.d.ts +4 -8
  6. package/src/components/collapsible-panel/collapsible-panel.d.ts +6 -1
  7. package/src/components/collapsible-panel/collapsible-panel.styles.d.ts +1 -1
  8. package/src/components/date-range-select/date-range-select.d.ts +1 -2
  9. package/src/components/field/create-field-controller.d.ts +2 -1
  10. package/src/components/field/date-picker/date-picker.d.ts +2 -6
  11. package/src/components/field/rate-card/cost-breakdown/cost-breakdown.d.ts +1 -1
  12. package/src/components/field/rate-card/rate-card.d.ts +3 -1
  13. package/src/components/field/rate-card/rate-card.styles.d.ts +1 -0
  14. package/src/components/field-label/field-label.d.ts +2 -1
  15. package/src/components/history/history-card/history-card.d.ts +5 -2
  16. package/src/components/index.d.ts +5 -2
  17. package/src/components/service-point-display/service-point-display.d.ts +1 -1
  18. package/src/components/service-point-display/service-point-display.styles.d.ts +8 -0
  19. package/src/components/templates/address-display/address-display.d.ts +2 -1
  20. package/src/components/templates/address-form/address-schema.d.ts +2 -0
  21. package/src/components/templates/connected-carrier-list/connected-carrier-row/connected-carrier-row.styles.d.ts +17 -0
  22. package/src/components/templates/index.d.ts +1 -4
  23. package/src/components/templates/label/label.styles.d.ts +0 -6
  24. package/src/components/templates/product-form/product-form-schema.d.ts +0 -12
  25. package/src/components/templates/pudo-rate-tabs/pudo-rate-tabs.d.ts +6 -1
  26. package/src/components/templates/rate-form/rate-form.d.ts +4 -2
  27. package/src/components/templates/rate-form/rate-form.styles.d.ts +2 -4
  28. package/src/components/templates/shipment-form/shipment-schema.d.ts +0 -50
  29. package/src/components/templates/wallet-form/wallet-schema.d.ts +46 -2
  30. package/src/components/{templates/warehouse-form → warehouse-form}/warehouse-form.d.ts +1 -1
  31. package/src/elements/external-carriers/external-carriers.d.ts +819 -9
  32. package/src/elements/index.d.ts +7 -3
  33. package/src/elements/label-layout/index.d.ts +1 -0
  34. package/src/elements/label-layout/label-layout-element.d.ts +791 -0
  35. package/src/elements/labels-grid/labels-grid.d.ts +16 -2
  36. package/src/elements/manage-funding/index.d.ts +1 -0
  37. package/src/elements/manage-funding/manage-funding-element.d.ts +791 -0
  38. package/src/elements/manage-warehouses/manage-warehouses.d.ts +791 -21
  39. package/src/elements/payment-method-settings/index.d.ts +1 -0
  40. package/src/elements/payment-method-settings/payment-method-settings-element.d.ts +791 -0
  41. package/src/elements/{configure-shipment → purchase-label}/configure-shipment.d.ts +1 -12
  42. package/src/elements/purchase-label/hooks/index.d.ts +8 -0
  43. package/src/elements/purchase-label/hooks/use-configure-shipment.d.ts +1 -1
  44. package/src/elements/{configure-shipment → purchase-label}/hooks/use-rates-form.d.ts +1 -1
  45. package/src/elements/{configure-shipment → purchase-label}/hooks/use-rates-with-cache.d.ts +1 -1
  46. package/src/elements/{configure-shipment → purchase-label}/hooks/use-request-preferred-rates.d.ts +1 -1
  47. package/src/elements/{configure-shipment → purchase-label}/hooks/use-request-rates.d.ts +2 -1
  48. package/src/elements/purchase-label/purchase-label.d.ts +36 -50
  49. package/src/elements/shipengine-carriers/index.d.ts +1 -0
  50. package/src/elements/shipengine-carriers/shipengine-carriers.d.ts +854 -0
  51. package/src/elements/shipments-grid/shipments-grid.d.ts +16 -2
  52. package/src/elements/theme-creator/theme-creator.d.ts +16 -2
  53. package/src/elements/unit-settings/index.d.ts +1 -0
  54. package/src/elements/unit-settings/unit-settings-element.d.ts +791 -0
  55. package/src/elements/view-shipment/view-shipment.d.ts +29 -15
  56. package/src/elements/void-label/void-label.d.ts +25 -12
  57. package/src/elements/wallet-history/index.d.ts +1 -0
  58. package/src/elements/wallet-history/wallet-history-element.d.ts +791 -0
  59. package/src/features/external-carriers/external-carriers.d.ts +10 -0
  60. package/src/features/external-carriers/index.d.ts +1 -0
  61. package/src/features/index.d.ts +7 -0
  62. package/src/features/label-layout/index.d.ts +2 -0
  63. package/src/features/label-layout/label-layout.d.ts +7 -0
  64. package/src/features/label-layout/use-label-layout.d.ts +7 -0
  65. package/src/features/manage-funding/manage-funding.d.ts +16 -0
  66. package/src/features/manage-warehouses/index.d.ts +2 -0
  67. package/src/features/manage-warehouses/manage-warehouses.d.ts +16 -0
  68. package/src/features/manage-warehouses/use-manage-warehouses.d.ts +15 -0
  69. package/src/features/shipengine-carriers/hooks/index.d.ts +2 -0
  70. package/src/features/shipengine-carriers/hooks/use-carrier-metadata.d.ts +13 -0
  71. package/src/features/shipengine-carriers/index.d.ts +1 -0
  72. package/src/features/shipengine-carriers/shipengine-carriers-row/index.d.ts +1 -0
  73. package/src/features/shipengine-carriers/shipengine-carriers-row/shipengine-carriers-row.d.ts +9 -0
  74. package/src/features/shipengine-carriers/shipengine-carriers.d.ts +10 -0
  75. package/src/features/unit-settings/index.d.ts +2 -0
  76. package/src/features/unit-settings/unit-settings.d.ts +9 -0
  77. package/src/features/unit-settings/use-unit-settings.d.ts +10 -0
  78. package/src/features/wallet-history/wallet-history.styles.d.ts +10 -10
  79. package/src/hooks/index.d.ts +0 -1
  80. package/src/hooks/options/use-rate-options.d.ts +1 -1
  81. package/src/locales/en/index.d.ts +16 -2
  82. package/src/types/carrier-metadata.d.ts +3 -0
  83. package/src/types/index.d.ts +1 -0
  84. package/src/types/preferred-rates.d.ts +13 -0
  85. package/src/utilities/date.d.ts +2 -1
  86. package/src/utilities/feature-flags.d.ts +5 -2
  87. package/src/utilities/index.d.ts +1 -0
  88. package/src/utilities/tracking-status-formatter.d.ts +1 -0
  89. package/src/{elements → workflows}/account-settings/account-settings.d.ts +25 -58
  90. package/src/workflows/account-settings/use-get-panel-props.d.ts +10 -0
  91. package/src/{elements → workflows}/connect-carrier/connect-carrier.d.ts +16 -2
  92. package/src/workflows/index.d.ts +3 -0
  93. package/src/workflows/manage-wallet-workflow/index.d.ts +1 -0
  94. package/src/workflows/manage-wallet-workflow/manage-wallet-workflow.d.ts +828 -0
  95. package/src/workflows/manage-wallet-workflow/use-get-wallet-panel-props.d.ts +4 -0
  96. package/src/workflows/onboarding/components/onboarding-wizard/onboarding-wizard.d.ts +2 -2
  97. package/src/workflows/onboarding/components/ship-from-address-step/ship-from-address-step.d.ts +1 -1
  98. package/src/workflows/onboarding/components/ship-from-address-step/use-ship-from-address-step.d.ts +1 -1
  99. package/src/workflows/onboarding/components/terms-agreement-form/terms-agreement-form.d.ts +2 -1
  100. package/src/workflows/onboarding/onboarding.d.ts +21 -8
  101. package/src/workflows/purchase-label-workflow/index.d.ts +1 -0
  102. package/src/{elements/shipengine-workflow/label-workflow.d.ts → workflows/purchase-label-workflow/purchase-label-workflow.d.ts} +19 -21
  103. package/src/components/date-range-select/date-range-select.styles.d.ts +0 -7
  104. package/src/components/field/date-picker/date-picker.styles.d.ts +0 -3
  105. package/src/components/label-layout/index.d.ts +0 -3
  106. package/src/components/label-layout/label-layout-purchase.d.ts +0 -5
  107. package/src/components/label-layout/label-layout-settings.d.ts +0 -7
  108. package/src/components/label-layout/label-layout.d.ts +0 -9
  109. package/src/components/manage-funding/manage-funding.d.ts +0 -35
  110. package/src/components/templates/account-settings/account-settings.d.ts +0 -10
  111. package/src/components/templates/account-settings/index.d.ts +0 -1
  112. package/src/components/templates/list-carriers/index.d.ts +0 -1
  113. package/src/components/templates/list-carriers/list-carriers.d.ts +0 -16
  114. package/src/components/templates/list-carriers-row/index.d.ts +0 -1
  115. package/src/components/templates/list-carriers-row/list-carriers-row.d.ts +0 -9
  116. package/src/components/templates/manage-warehouses/index.d.ts +0 -1
  117. package/src/components/templates/manage-warehouses/manage-warehouses.d.ts +0 -11
  118. package/src/components/unit-settings/index.d.ts +0 -1
  119. package/src/components/unit-settings/unit-settings.d.ts +0 -6
  120. package/src/elements/configure-shipment/hooks/index.d.ts +0 -8
  121. package/src/elements/configure-shipment/index.d.ts +0 -1
  122. package/src/elements/list-carriers/index.d.ts +0 -1
  123. package/src/elements/list-carriers/list-carriers.d.ts +0 -36
  124. package/src/elements/shipengine-workflow/index.d.ts +0 -1
  125. package/src/hooks/use-carrier-metadata.d.ts +0 -10
  126. /package/src/components/{templates/edit-billing-form → edit-billing-form}/edit-billing-form.d.ts +0 -0
  127. /package/src/components/{templates/edit-billing-form → edit-billing-form}/edit-billing-form.styles.d.ts +0 -0
  128. /package/src/components/{templates/edit-billing-form → edit-billing-form}/index.d.ts +0 -0
  129. /package/src/components/{templates/wallet-card → wallet-card}/index.d.ts +0 -0
  130. /package/src/components/{templates/wallet-card → wallet-card}/wallet-card.d.ts +0 -0
  131. /package/src/components/{templates/wallet-card → wallet-card}/wallet-card.styles.d.ts +0 -0
  132. /package/src/components/{templates/warehouse-form → warehouse-form}/index.d.ts +0 -0
  133. /package/src/components/{templates/warehouse-form → warehouse-form}/warehouse-form-schema.d.ts +0 -0
  134. /package/src/elements/{configure-shipment → purchase-label}/hooks/use-address.d.ts +0 -0
  135. /package/src/elements/{configure-shipment → purchase-label}/hooks/use-customs.d.ts +0 -0
  136. /package/src/elements/{configure-shipment → purchase-label}/hooks/use-presets.d.ts +0 -0
  137. /package/src/elements/{configure-shipment → purchase-label}/hooks/use-shipment-form.d.ts +0 -0
  138. /package/src/{components → features}/label-layout/label-layout.styles.d.ts +0 -0
  139. /package/src/{components → features}/manage-funding/index.d.ts +0 -0
  140. /package/src/{components/templates → features}/manage-warehouses/manage-warehouse.styles.d.ts +0 -0
  141. /package/src/{components/templates → features/manage-warehouses}/warehouse-display/index.d.ts +0 -0
  142. /package/src/{components/templates → features/manage-warehouses}/warehouse-display/warehouse-display.d.ts +0 -0
  143. /package/src/{components → features}/payment-method-settings/index.d.ts +0 -0
  144. /package/src/{components → features}/payment-method-settings/payment-method-settings.d.ts +0 -0
  145. /package/src/{elements/list-carriers → features/shipengine-carriers}/hooks/use-list-connected-carriers.d.ts +0 -0
  146. /package/src/{components/templates/list-carriers-row/list-carriers-row.styles.d.ts → features/shipengine-carriers/shipengine-carriers-row/shipengine-carriers-row.styles.d.ts} +0 -0
  147. /package/src/{components/templates/list-carriers/list-carriers.styles.d.ts → features/shipengine-carriers/shipengine-carriers.styles.d.ts} +0 -0
  148. /package/src/{elements → workflows}/account-settings/index.d.ts +0 -0
  149. /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 "../../configure-shipment";
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("..").PreferredRatesResponse | undefined;
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("..").PreferredRatesResponse | undefined;
18
+ preferredRatesResponse: import("../../..").PreferredRatesResponse | undefined;
19
19
  ratesCalculating: boolean;
20
20
  ratesErrors: SE.CodedError[] | null;
21
21
  ratesResponse: {
@@ -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("..").PreferredRatesResponse | undefined, SE.CodedError[], [shipment: SE.SalesOrderShipment, isInternational: boolean], unknown>;
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 { ConfigureShipmentProps, PreferredRatesResponse } from "../configure-shipment";
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 "../configure-shipment";
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";
@@ -270,6 +270,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
270
270
  setup: {
271
271
  title: string;
272
272
  subtitle: string;
273
+ hiddenTermsSubtitle: string;
273
274
  descriptionTitle: string;
274
275
  description: string;
275
276
  };
@@ -339,7 +340,14 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
339
340
  addPackageDetails: string;
340
341
  };
341
342
  errorMessages: {
342
- customsItemsRequired: string;
343
+ customsItemsRequired: string; /**
344
+ * # Purchase Label Component Props
345
+ *
346
+ * These are the shared props that will be passed into the `<PurchaseLabel.Element />`, and work
347
+ * for either shipment-based or sales order-based label purchasing.
348
+ *
349
+ * @see {@link PurchaseLabel.Element | This prop types usage in `<PurchaseLabel.Element />`}
350
+ */
343
351
  invalidAddress: string;
344
352
  noRates: string;
345
353
  salesOrderNotLoaded: string;
@@ -382,14 +390,14 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
382
390
  weightGroup: string;
383
391
  today: string;
384
392
  };
385
- /**
386
- * `onBeforeLabelCreate` is an async/sync callback function that will be invoked before every
387
- * label purchase.
388
- */
389
393
  hints: {
390
394
  contentDescription: string;
391
395
  };
392
396
  loading: {
397
+ /**
398
+ * `onBeforeRateSave` is an async/sync callback function that will be invoked before each time a user
399
+ * saves a rate.
400
+ */
393
401
  calculatingRates: string;
394
402
  };
395
403
  modes: {
@@ -403,6 +411,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
403
411
  needToAcknowledge: string;
404
412
  };
405
413
  rates: {
414
+ requestedShippingNotification: string;
406
415
  uspsMediaMailAcknowledgement: string;
407
416
  uspsFirstClassMailAcknowledgement_leof: string;
408
417
  rateSavings: string;
@@ -411,10 +420,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
411
420
  };
412
421
  requirements: {
413
422
  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
- */
423
+ noCarrier: string;
418
424
  noWarehouseOrCarrier: string;
419
425
  };
420
426
  servicePoints: {
@@ -430,7 +436,8 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
430
436
  nextOpeningDay: string;
431
437
  until: string;
432
438
  selected: string;
433
- selectLocation: string;
439
+ select: string;
440
+ today: string;
434
441
  viewMap: string;
435
442
  otherLocations: string;
436
443
  noServicePointsFound: string;
@@ -466,14 +473,6 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
466
473
  fundingAndCarrierConnection: string;
467
474
  };
468
475
  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
476
  title: string;
478
477
  subtitle: string;
479
478
  inlineMessage: string;
@@ -482,9 +481,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
482
481
  title: string;
483
482
  subtitle: string;
484
483
  action: string;
485
- }; /**
486
- * `features` is a set of feature flags you would like to enable or disable in this component.
487
- */
484
+ };
488
485
  termsAndAgreementLinkText: {
489
486
  aHR0cHM6Ly9teWRobC5leHByZXNzLmRobC91cy9lbi9sZWdhbC90ZXJtcy1hbmQtY29uZGl0aW9ucy5odG1s: string;
490
487
  "aHR0cHM6Ly93d3cuc3RhbXBzLmNvbS9wcml2YWN5LXBvbGljeQ==": string;
@@ -496,12 +493,18 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
496
493
  "aHR0cHM6Ly93d3cueW9kZWxkaXJlY3QuY28udWsvY29udGVudC9hYm91dC10ZXJtcw==": string;
497
494
  aHR0cHM6Ly93d3cuc2hpcHN0YXRpb24uY29tL3Rlcm1zLXNlcnZpY2UtdW5pdGVkLWtpbmdkb20v: string;
498
495
  "aHR0cHM6Ly93d3cuZHBkLmNvLnVrL3N0YW5kYXJkX3Rlcm1zX2FuZF9jb25kaXRpb25zLmpzcA==": string;
496
+ aHR0cHM6Ly93d3cuZ29nbG9iYWxwb3N0LmNvbS9jb25kaXRpb25z: string;
497
+ aHR0cHM6Ly93d3cucHVyb2xhdG9yLmNvbS9mci9tb2RhbGl0ZXMtZXQtY29uZGl0aW9ucy1kZS1zZXJ2aWNl: string;
498
+ aHR0cHM6Ly93d3cucHVyb2xhdG9yLmNvbS9lbi90ZXJtcy1hbmQtY29uZGl0aW9ucy1zZXJ2aWNl: string;
499
499
  };
500
500
  termsAndAgreementTitles: {
501
501
  "WW9kZWwgRGlyZWN0IC0gVGVybXMgYW5kIENvbmRpdGlvbnMgKOKAnFRlcm1z4oCdKQ==": string;
502
502
  "RXZyaSBTZW5kIFRlcm1zICYgQ29uZGl0aW9ucw==": string;
503
503
  "VGVybXMgb2YgU2VydmljZSBVbml0ZWQgS2luZ2RvbQ==": string;
504
504
  RFBEIFN0YW5kYXJkIFRlcm1zIGFuZCBDb25kaXRpb25z: string;
505
+ "R2xvYmFsUG9zdCBUZXJtcyBhbmQgQ29uZGl0aW9ucw==": string;
506
+ "UHVyb2xhdG9yIFRlcm1zIGFuZCBDb25kaXRpb25zIG9mIFNlcnZpY2U=": string;
507
+ UHVyb2xhdG9yIE1vZGFsaXTDqXMgZXQgY29uZGl0aW9ucyBkZSBzZXJ2aWNl: string;
505
508
  };
506
509
  };
507
510
  "manage-defaults": {
@@ -589,14 +592,6 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
589
592
  minimumPurchaseAmount: string;
590
593
  other: string;
591
594
  };
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
595
  fundAndPurchase: {
601
596
  finalBalance: string;
602
597
  insufficientFunds: string;
@@ -645,7 +640,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
645
640
  };
646
641
  };
647
642
  };
648
- "list-carriers": {
643
+ "shipengine-carriers": {
649
644
  title: string;
650
645
  headers: {
651
646
  accountCarriers: string;
@@ -705,14 +700,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
705
700
  confirm: string;
706
701
  addressNotValidated: string;
707
702
  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
- */
703
+ title: string;
716
704
  originalAddress: string;
717
705
  matchedAddress: string;
718
706
  unableToValidate: string;
@@ -760,13 +748,13 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
760
748
  adultSignature: string;
761
749
  delivery: string;
762
750
  deliveryMailed: string;
763
- directSignature: string;
764
- none: string;
765
- signature: string;
766
751
  /**
767
752
  * `onChangeShipmentFormMode` is an async/sync callback function that will be invoked each time
768
753
  * the user toggles the `Shipment Form Mode` between `Browse Rates` and `Selected Rate`.
769
754
  */
755
+ directSignature: string;
756
+ none: string;
757
+ signature: string;
770
758
  verbalConfirmation: string;
771
759
  };
772
760
  customs: {
@@ -797,10 +785,6 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
797
785
  valueQuantity: string;
798
786
  };
799
787
  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
788
  returnToSender: string;
805
789
  treatAsAbandoned: string;
806
790
  };
@@ -822,10 +806,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
822
806
  label: string;
823
807
  labels: string;
824
808
  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
- */
809
+ shipment: string;
829
810
  shipments: string;
830
811
  warehouses: string;
831
812
  };
@@ -966,6 +947,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
966
947
  "connect-carrier": {
967
948
  actions: {
968
949
  cancel: string;
950
+ carrierSettings: string;
969
951
  connectCarriers: string;
970
952
  disconnect: string;
971
953
  disconnectCarrier: string;
@@ -984,6 +966,10 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
984
966
  status: {
985
967
  connected: string;
986
968
  };
969
+ disconnectDropdown: {
970
+ toastTitle: string;
971
+ toastBody: string;
972
+ };
987
973
  };
988
974
  "account-settings": {
989
975
  messages: {
@@ -0,0 +1 @@
1
+ export * as ShipEngineCarriers from "./shipengine-carriers";