@shipengine/elements 1.8.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (281) hide show
  1. package/README.md +0 -4
  2. package/address-8f8119f4.js +1 -0
  3. package/assertions-dfa95b4d.js +1 -0
  4. package/carrier-c2a5ed53.js +1 -0
  5. package/carrier-logo-330e926f.js +1 -0
  6. package/components.js +1 -0
  7. package/constants.js +1 -0
  8. package/elements.js +1 -0
  9. package/extensions.js +1 -0
  10. package/formatString-413ec7c7.js +1 -0
  11. package/hooks.js +1 -0
  12. package/index.js +1 -25578
  13. package/money-d4f3d7c3.js +1 -0
  14. package/package.json +53 -7
  15. package/phone-87dd7bd8.js +1 -0
  16. package/schemas.js +1 -0
  17. package/shipment-150160e0.js +1 -0
  18. package/src/components/add-funds-form/add-funds-form.d.ts +1 -1
  19. package/src/components/address-preference-context/address-preference-context.d.ts +5 -2
  20. package/src/components/auto-funding-form/auto-funding-form.d.ts +1 -1
  21. package/src/components/carrier-balance/carrier-balance.d.ts +1 -1
  22. package/src/components/carrier-icon/carrier-icon.d.ts +9 -9
  23. package/src/components/carrier-logo/carrier-logo.d.ts +2 -1
  24. package/src/components/collapsible-panel/collapsible-panel.d.ts +1 -1
  25. package/src/components/display-term/display-term.d.ts +1 -1
  26. package/src/components/edit-billing-form/edit-billing-form.d.ts +1 -1
  27. package/src/components/field/date-picker/date-picker.d.ts +1 -1
  28. package/src/components/field/money-input/money-input.d.ts +1 -1
  29. package/src/components/field/rate-card/cost-breakdown/cost-breakdown.d.ts +1 -1
  30. package/src/components/field/rate-card/rate-card.d.ts +3 -2
  31. package/src/components/field/rate-card/rate-card.styles.d.ts +0 -1
  32. package/src/components/field/rate-select/rate-select.d.ts +7 -2
  33. package/src/components/fund-and-purchase/fund-and-purchase.d.ts +5 -2
  34. package/src/components/here-map/here-map.d.ts +16 -0
  35. package/src/components/here-map/here-map.styles.d.ts +23 -0
  36. package/src/components/history/history-card/history-card.d.ts +1 -1
  37. package/src/components/index.d.ts +1 -0
  38. package/src/components/items-breakdown/items-breakdown.d.ts +1 -1
  39. package/src/components/modal/modal.d.ts +2 -1
  40. package/src/components/pager/pager.d.ts +1 -1
  41. package/src/components/rate-details/index.d.ts +1 -0
  42. package/src/components/rate-details/rate-details.d.ts +17 -0
  43. package/src/components/rate-details/rate-details.styles.d.ts +23 -0
  44. package/src/components/save-status/save-status.d.ts +1 -1
  45. package/src/components/search-bar/index.d.ts +1 -0
  46. package/src/components/search-bar/search-bar.d.ts +8 -0
  47. package/src/components/service-point-display/operating-hours.d.ts +6 -0
  48. package/src/components/service-point-display/operating-hours.styles.d.ts +44 -0
  49. package/src/components/service-point-display/service-point-display.d.ts +6 -6
  50. package/src/components/service-point-display/service-point-display.styles.d.ts +13 -19
  51. package/src/components/service-points/service-points.d.ts +3 -2
  52. package/src/components/tabs/tabs.d.ts +5 -1
  53. package/src/components/tabs/tabs.styles.d.ts +3 -2
  54. package/src/components/templates/address-display/address-display.d.ts +1 -1
  55. package/src/components/templates/address-preference-display/address-preference-display.d.ts +1 -1
  56. package/src/components/templates/address-preference-select/address-preference-select.d.ts +1 -1
  57. package/src/components/templates/connect-external-carrier-form/connect-external-carrier-form.d.ts +12 -0
  58. package/src/components/templates/connect-external-carrier-form/index.d.ts +1 -0
  59. package/src/components/templates/index.d.ts +2 -2
  60. package/src/components/templates/label/label.d.ts +1 -1
  61. package/src/components/templates/label/label.styles.d.ts +21 -1
  62. package/src/components/templates/product-form/product-form-schema.d.ts +12 -0
  63. package/src/components/templates/product-form/product-form.d.ts +1 -1
  64. package/src/components/templates/products-display/products-display.d.ts +1 -1
  65. package/src/components/templates/pudo-rate-tabs/index.d.ts +0 -1
  66. package/src/components/templates/pudo-rate-tabs/pudo-list-view/pudo-list-view.d.ts +5 -0
  67. package/src/components/templates/pudo-rate-tabs/pudo-map-view/pudo-map-view.d.ts +15 -0
  68. package/src/components/templates/pudo-rate-tabs/pudo-rate-tabs.d.ts +17 -15
  69. package/src/components/templates/rate-form/rate-form.d.ts +11 -4
  70. package/src/components/templates/register-funding-source-carrier-form/index.d.ts +2 -0
  71. package/src/components/templates/register-funding-source-carrier-form/register-funding-source-carrier-form.d.ts +13 -0
  72. package/src/components/templates/register-funding-source-carrier-form/register-funding-source-carrier-form.styles.d.ts +25 -0
  73. package/src/components/templates/{add-carrier-form/add-carrier-form-schema.d.ts → register-funding-source-carrier-form/register-funding-source-carrier-schema.d.ts} +42 -88
  74. package/src/components/templates/shipment/shipment.d.ts +3 -10
  75. package/src/components/templates/shipment-form/shipment-form.d.ts +2 -9
  76. package/src/components/templates/shipment-form/shipment-schema.d.ts +1 -1
  77. package/src/components/templates/suspend-sales-order/suspend-sales-order.d.ts +1 -1
  78. package/src/components/templates/suspend-shipment/suspend-shipment.d.ts +1 -1
  79. package/src/components/templates/wallet-form/edit-wallet-address-form.d.ts +1 -1
  80. package/src/components/templates/wallet-form/wallet-form.d.ts +2 -4
  81. package/src/components/templates/wallet-form/wallet-schema.d.ts +1 -1
  82. package/src/components/wallet-card/wallet-card.d.ts +1 -1
  83. package/src/components/warehouse-form/warehouse-form.d.ts +1 -1
  84. package/src/create-element/create-element.d.ts +10 -0
  85. package/src/create-element/element/element.d.ts +16 -0
  86. package/src/create-element/element/hooks/index.d.ts +1 -0
  87. package/src/create-element/element/hooks/use-i18n.d.ts +12 -0
  88. package/src/create-element/element/index.d.ts +3 -0
  89. package/src/create-element/element/utils/get-emotion-cache.d.ts +2 -0
  90. package/src/create-element/element/utils/index.d.ts +1 -0
  91. package/src/create-element/error-boundary/error-boundary.d.ts +21 -0
  92. package/src/create-element/error-boundary/index.d.ts +1 -0
  93. package/src/create-element/index.d.ts +1 -0
  94. package/src/elements/index.d.ts +5 -4
  95. package/src/elements/label-layout/label-layout-element.d.ts +50 -4
  96. package/src/elements/labels-grid/labels-grid.d.ts +51 -5
  97. package/src/elements/manage-carriers/index.d.ts +1 -0
  98. package/src/elements/{shipengine-carriers/shipengine-carriers.d.ts → manage-carriers/manage-carriers.d.ts} +101 -49
  99. package/src/elements/manage-external-carriers/index.d.ts +1 -0
  100. package/src/elements/{external-carriers/external-carriers.d.ts → manage-external-carriers/manage-external-carriers.d.ts} +58 -41
  101. package/src/elements/manage-funding/manage-funding-element.d.ts +50 -4
  102. package/src/elements/manage-warehouses/manage-warehouses.d.ts +68 -5
  103. package/src/elements/payment-method-settings/payment-method-settings-element.d.ts +50 -4
  104. package/src/elements/purchase-label/configure-shipment.d.ts +4 -26
  105. package/src/elements/purchase-label/hooks/use-address.d.ts +1 -1
  106. package/src/elements/purchase-label/hooks/use-configure-shipment.d.ts +1 -1
  107. package/src/elements/purchase-label/hooks/use-customs.d.ts +1 -1
  108. package/src/elements/purchase-label/hooks/use-import-sales-order.d.ts +2 -2
  109. package/src/elements/purchase-label/hooks/use-load-shipment.d.ts +3 -3
  110. package/src/elements/purchase-label/hooks/use-pending-shipment.d.ts +1 -1
  111. package/src/elements/purchase-label/hooks/use-presets.d.ts +1 -1
  112. package/src/elements/purchase-label/hooks/use-rates-form.d.ts +6 -1
  113. package/src/elements/purchase-label/hooks/use-rates-with-cache.d.ts +1 -1
  114. package/src/elements/purchase-label/hooks/use-request-preferred-rates.d.ts +1 -1
  115. package/src/elements/purchase-label/hooks/use-request-rates.d.ts +1 -1
  116. package/src/elements/purchase-label/hooks/use-shipment-form.d.ts +1 -1
  117. package/src/elements/purchase-label/purchase-label-by-sales-order.d.ts +1 -1
  118. package/src/elements/purchase-label/purchase-label-by-shipment.d.ts +1 -1
  119. package/src/elements/purchase-label/purchase-label.d.ts +67 -44
  120. package/src/elements/shipment-summary/index.d.ts +1 -0
  121. package/src/elements/{view-shipment/view-shipment.d.ts → shipment-summary/shipment-summary.d.ts} +87 -51
  122. package/src/elements/shipments-grid/shipments-grid.d.ts +51 -5
  123. package/src/elements/theme-creator/theme-creator.d.ts +50 -4
  124. package/src/elements/theme-creator/themeData/themeData.d.ts +0 -1
  125. package/src/elements/transaction-history/index.d.ts +1 -0
  126. package/src/elements/{wallet-history/wallet-history-element.d.ts → transaction-history/transaction-history-element.d.ts} +50 -4
  127. package/src/elements/unit-settings/unit-settings-element.d.ts +50 -4
  128. package/src/elements/vat-settings/vat-settings-element.d.ts +50 -4
  129. package/src/elements/void-label/components/actions/actions.d.ts +4 -4
  130. package/src/elements/void-label/components/message/message.d.ts +1 -1
  131. package/src/elements/void-label/void-label.d.ts +80 -45
  132. package/src/elements-provider/elements-provider.d.ts +46 -0
  133. package/src/elements-provider/elements-test-provider.d.ts +3 -0
  134. package/src/elements-provider/hooks/index.d.ts +1 -0
  135. package/src/elements-provider/hooks/use-load-icons.d.ts +7 -0
  136. package/src/elements-provider/index.d.ts +1 -0
  137. package/src/factories/shipengine/address.d.ts +1 -1
  138. package/src/factories/shipengine/carrier.d.ts +1 -1
  139. package/src/factories/shipengine/index.d.ts +1 -1
  140. package/src/factories/shipengine/label.d.ts +3 -1
  141. package/src/factories/shipengine/money.d.ts +1 -1
  142. package/src/factories/shipengine/order-source.d.ts +1 -1
  143. package/src/factories/shipengine/package.d.ts +1 -1
  144. package/src/factories/shipengine/resource.d.ts +1 -1
  145. package/src/factories/shipengine/sales-order.d.ts +1 -1
  146. package/src/factories/shipengine/service-point.d.ts +1 -1
  147. package/src/factories/shipengine/service.d.ts +1 -1
  148. package/src/factories/shipengine/shipment.d.ts +1 -1
  149. package/src/factories/shipengine/{wallet-history.d.ts → transaction-history.d.ts} +1 -1
  150. package/src/factories/shipengine/warehouse.d.ts +1 -1
  151. package/src/factories/shipengine/weight.d.ts +1 -1
  152. package/src/features/index.d.ts +3 -3
  153. package/src/features/label-layout/label-layout.d.ts +1 -1
  154. package/src/features/label-layout/use-label-layout.d.ts +1 -1
  155. package/src/features/manage-carriers/hooks/index.d.ts +3 -0
  156. package/src/features/manage-carriers/hooks/use-carrier-metadata.d.ts +2 -0
  157. package/src/features/manage-carriers/hooks/use-list-funding-source-carriers.d.ts +11 -0
  158. package/src/features/manage-carriers/index.d.ts +1 -0
  159. package/src/features/manage-carriers/manage-carriers-row/index.d.ts +1 -0
  160. package/src/features/manage-carriers/manage-carriers-row/manage-carriers-row.d.ts +11 -0
  161. package/src/features/manage-carriers/manage-carriers.d.ts +4 -0
  162. package/src/features/manage-external-carriers/index.d.ts +1 -0
  163. package/src/features/manage-external-carriers/manage-external-carriers.d.ts +4 -0
  164. package/src/features/manage-warehouses/manage-warehouses.d.ts +1 -1
  165. package/src/features/manage-warehouses/use-manage-warehouses.d.ts +9 -9
  166. package/src/features/manage-warehouses/warehouse-display/warehouse-display.d.ts +1 -1
  167. package/src/features/transaction-history/index.d.ts +1 -0
  168. package/src/features/transaction-history/transaction-history.d.ts +6 -0
  169. package/src/features/unit-settings/unit-settings.d.ts +1 -1
  170. package/src/features/unit-settings/use-unit-settings.d.ts +1 -1
  171. package/src/features/vat-settings/use-vat-settings.d.ts +5 -5
  172. package/src/hooks/here-map/init.d.ts +6 -0
  173. package/src/hooks/here-map/use-here-map-ui.d.ts +10 -0
  174. package/src/hooks/here-map/use-here-map.d.ts +5 -0
  175. package/src/hooks/options/use-confirmation-options.d.ts +1 -1
  176. package/src/hooks/options/use-customs-contents-options.d.ts +1 -1
  177. package/src/hooks/options/use-customs-non-delivery-options.d.ts +1 -1
  178. package/src/hooks/options/use-insurance-provider-options.d.ts +1 -1
  179. package/src/hooks/options/use-package-options.d.ts +1 -1
  180. package/src/hooks/options/use-rate-options.d.ts +1 -1
  181. package/src/hooks/options/use-service-code-options.d.ts +1 -1
  182. package/src/hooks/options/use-service-points.d.ts +5 -3
  183. package/src/hooks/options/use-shipment-metadata.d.ts +1 -1
  184. package/src/hooks/options/use-shipping-presets-options.d.ts +1 -1
  185. package/src/hooks/options/use-warehouse-options.d.ts +1 -1
  186. package/src/hooks/use-address-validation.d.ts +1 -1
  187. package/src/hooks/use-get-or-create-shipment.d.ts +3 -3
  188. package/src/hooks/use-scrub-errors.d.ts +1 -1
  189. package/src/index.d.ts +1 -0
  190. package/src/locales/en/index.d.ts +50 -4
  191. package/src/mocks/carriers/handlers.d.ts +1 -1
  192. package/src/mocks/warehouses/handlers.d.ts +1 -1
  193. package/src/schemas/shipengine/money.d.ts +1 -1
  194. package/src/testing/test-utils.d.ts +8 -1
  195. package/src/themes/fallback.d.ts +3 -0
  196. package/src/themes/index.d.ts +4 -0
  197. package/src/types/carrier-metadata.d.ts +7 -11
  198. package/src/types/index.d.ts +0 -1
  199. package/src/types/preferred-rates.d.ts +1 -1
  200. package/src/types/shipping-preset/shipping-preset.d.ts +1 -1
  201. package/src/utilities/date.d.ts +1 -2
  202. package/src/utilities/error.d.ts +1 -1
  203. package/src/utilities/feature-flags/feature-flags.d.ts +18 -0
  204. package/src/utilities/feature-flags/index.d.ts +2 -0
  205. package/src/utilities/feature-flags/types.d.ts +141 -0
  206. package/src/utilities/money.d.ts +1 -1
  207. package/src/utilities/rates.d.ts +1 -1
  208. package/src/utilities/shipengine/address.d.ts +1 -1
  209. package/src/utilities/shipengine/carrier.d.ts +9 -1
  210. package/src/utilities/shipengine/dimensions.d.ts +1 -1
  211. package/src/utilities/shipengine/sales-order.d.ts +1 -1
  212. package/src/utilities/shipengine/shipment.d.ts +1 -1
  213. package/src/utilities/shipengine/warehouses.d.ts +1 -1
  214. package/src/utilities/shipengine/weight.d.ts +1 -1
  215. package/src/workflows/account-settings/account-settings.d.ts +56 -17
  216. package/src/workflows/{manage-wallet-workflow/manage-wallet-workflow.d.ts → carrier-services/carrier-services.d.ts} +79 -25
  217. package/src/workflows/carrier-services/index.d.ts +1 -0
  218. package/src/workflows/{connect-carrier/connect-carrier.d.ts → connect-external-carrier/connect-external-carrier.d.ts} +58 -39
  219. package/src/workflows/connect-external-carrier/index.d.ts +1 -0
  220. package/src/workflows/index.d.ts +3 -2
  221. package/src/workflows/label-workflow/index.d.ts +1 -0
  222. package/src/workflows/{purchase-label-workflow/purchase-label-workflow.d.ts → label-workflow/label-workflow.d.ts} +16 -34
  223. package/src/workflows/onboarding/components/carrier-recovery-form/carrier-recovery-form.d.ts +4 -5
  224. package/src/workflows/onboarding/components/funding-and-carrier-connection-step/funding-and-carrier-connection-step.d.ts +2 -4
  225. package/src/workflows/onboarding/components/funding-and-carrier-connection-step/use-funding-and-carrier-connection-step.d.ts +2 -3
  226. package/src/workflows/onboarding/components/onboarding-wizard/onboarding-wizard.d.ts +2 -9
  227. package/src/workflows/onboarding/components/ship-from-address-step/ship-from-address-step.d.ts +1 -1
  228. package/src/workflows/onboarding/components/ship-from-address-step/use-ship-from-address-step.d.ts +1 -1
  229. package/src/workflows/onboarding/components/terms-agreement-form/terms-agreement-form.d.ts +1 -1
  230. package/src/workflows/onboarding/components/terms-agreement-step/terms-agreement-step.d.ts +1 -1
  231. package/src/workflows/onboarding/components/terms-agreement-step/use-terms-agreement-step.d.ts +2 -7
  232. package/src/workflows/onboarding/onboarding.d.ts +71 -73
  233. package/story-notes-c714d2ed.js +1 -0
  234. package/suspend-text-cad3a977.js +1 -0
  235. package/transaction-history-element-cbfe487c.js +1 -0
  236. package/types.js +1 -0
  237. package/use-page-layout-8cb5075f.js +1 -0
  238. package/use-scrub-errors-9870a6f3.js +1 -0
  239. package/use-toggle-866d7938.js +1 -0
  240. package/use-unit-settings-a5bae16e.js +1 -0
  241. package/utilities.js +1 -0
  242. package/validation-528e7834.js +1 -0
  243. package/wallet-form-9e4bfaea.js +1 -0
  244. package/warehouse-form-da6a7ac5.js +34 -0
  245. package/warehouses-a83188ab.js +1 -0
  246. package/workflows.js +1 -0
  247. package/zod-60def96c.js +1 -0
  248. package/index.cjs +0 -25795
  249. package/src/components/templates/add-carrier-form/add-carrier-form-test.d.ts +0 -1
  250. package/src/components/templates/add-carrier-form/add-carrier-form.d.ts +0 -10
  251. package/src/components/templates/add-carrier-form/index.d.ts +0 -2
  252. package/src/components/templates/connect-carrier-form/connect-carrier-form.d.ts +0 -12
  253. package/src/components/templates/connect-carrier-form/index.d.ts +0 -1
  254. package/src/components/templates/pudo-rate-tabs/service-points-search-bar/index.d.ts +0 -1
  255. package/src/components/templates/pudo-rate-tabs/service-points-search-bar/service-points-search-bar.d.ts +0 -6
  256. package/src/elements/external-carriers/index.d.ts +0 -1
  257. package/src/elements/shipengine-carriers/index.d.ts +0 -1
  258. package/src/elements/view-shipment/index.d.ts +0 -1
  259. package/src/elements/wallet-history/index.d.ts +0 -1
  260. package/src/features/external-carriers/external-carriers.d.ts +0 -10
  261. package/src/features/external-carriers/index.d.ts +0 -1
  262. package/src/features/shipengine-carriers/hooks/index.d.ts +0 -2
  263. package/src/features/shipengine-carriers/hooks/use-carrier-metadata.d.ts +0 -13
  264. package/src/features/shipengine-carriers/hooks/use-list-connected-carriers.d.ts +0 -11
  265. package/src/features/shipengine-carriers/index.d.ts +0 -1
  266. package/src/features/shipengine-carriers/shipengine-carriers-row/index.d.ts +0 -1
  267. package/src/features/shipengine-carriers/shipengine-carriers-row/shipengine-carriers-row.d.ts +0 -9
  268. package/src/features/shipengine-carriers/shipengine-carriers.d.ts +0 -10
  269. package/src/features/wallet-history/index.d.ts +0 -1
  270. package/src/features/wallet-history/wallet-history.d.ts +0 -6
  271. package/src/hooks/use-elements.d.ts +0 -35
  272. package/src/types/patch.d.ts +0 -2
  273. package/src/utilities/feature-flags.d.ts +0 -232
  274. package/src/workflows/connect-carrier/index.d.ts +0 -1
  275. package/src/workflows/manage-wallet-workflow/index.d.ts +0 -1
  276. package/src/workflows/purchase-label-workflow/index.d.ts +0 -1
  277. /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
  278. /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
  279. /package/src/features/{shipengine-carriers/shipengine-carriers.styles.d.ts → manage-carriers/manage-carriers.styles.d.ts} +0 -0
  280. /package/src/features/{wallet-history/wallet-history.styles.d.ts → transaction-history/transaction-history.styles.d.ts} +0 -0
  281. /package/src/workflows/{manage-wallet-workflow → carrier-services}/use-get-wallet-panel-props.d.ts +0 -0
@@ -56,6 +56,7 @@ export declare const Element: ({ resources, ...props }: object & {
56
56
  schedulePickup: string;
57
57
  showItems: string;
58
58
  void: string;
59
+ download: string;
59
60
  };
60
61
  fields: {
61
62
  dimensions: string;
@@ -75,6 +76,7 @@ export declare const Element: ({ resources, ...props }: object & {
75
76
  multipleShippingServices: string;
76
77
  sections: {
77
78
  labels: string;
79
+ shipmentSummary: string;
78
80
  };
79
81
  noLabels: string;
80
82
  };
@@ -96,7 +98,7 @@ export declare const Element: ({ resources, ...props }: object & {
96
98
  genericText: string;
97
99
  };
98
100
  };
99
- "shipengine-carriers": {
101
+ "manage-carriers": {
100
102
  title: string;
101
103
  headers: {
102
104
  accountCarriers: string;
@@ -164,8 +166,48 @@ export declare const Element: ({ resources, ...props }: object & {
164
166
  };
165
167
  };
166
168
  "register-carrier": {
167
- formTitle: string;
168
- agreeToTerms: string;
169
+ formTitle: {
170
+ default: string;
171
+ new: string;
172
+ edit: string;
173
+ };
174
+ notifications: {
175
+ error: {
176
+ title: string;
177
+ };
178
+ };
179
+ };
180
+ "rate-details": {
181
+ total: string;
182
+ subtotal: string;
183
+ registerVat: string;
184
+ concepts: {
185
+ confirmation: string;
186
+ uncategorized: string;
187
+ shipping: string;
188
+ insurance: string;
189
+ confirm: string;
190
+ discount: string;
191
+ fuel_charge: string;
192
+ additional_fees: string;
193
+ tariff: string;
194
+ tax: string;
195
+ delivery: string;
196
+ handling: string;
197
+ special_goods: string;
198
+ pickup: string;
199
+ location_fee: string;
200
+ oversize: string;
201
+ returns: string;
202
+ notifications: string;
203
+ tip: string;
204
+ duties_and_taxes: string;
205
+ brokerage_fee: string;
206
+ admin_fee: string;
207
+ adjustment: string;
208
+ auctane_service_fee: string;
209
+ product_price: string;
210
+ };
169
211
  };
170
212
  "purchase-label": {
171
213
  title: string;
@@ -278,7 +320,10 @@ export declare const Element: ({ resources, ...props }: object & {
278
320
  today: string;
279
321
  viewMap: string;
280
322
  otherLocations: string;
281
- noServicePointsFound: string;
323
+ noServicePointsForService: string;
324
+ error: string;
325
+ paperless: string;
326
+ localTimeDisclaimer: string;
282
327
  };
283
328
  shipToAddressFormFields: string;
284
329
  sections: {
@@ -782,6 +827,7 @@ export declare const Element: ({ resources, ...props }: object & {
782
827
  gram: string;
783
828
  kilogram: string;
784
829
  };
830
+ ZnVuZGluZ19zb3VyY2VfaWQgbXVzdCBiZSBhbiBpbnRlZ2Vy: string;
785
831
  T25seSByZXNpZGVudGlhbCBkZWxpdmVyeSBhZGRyZXNzZXMgYXJlIGFsbG93ZWQgZm9yIFVQUyBHcm91bmQgU2F2ZXIu: string;
786
832
  "VGhlIHNlbGVjdGVkIHNlcnZpY2UgaW5jbHVkZXMgaW5zdXJhbmNlIGZvciBhbiBpbnN1cmVkIGFtb3VudCB1cCB0byAkMTAwLgo=": string;
787
833
  "VGhlIHNlbGVjdGVkIHNlcnZpY2UgaW5jbHVkZXMgaW5zdXJhbmNlIGZvciBhbiBpbnN1cmVkIGFtb3VudCB1cCB0byAkNTAuCg==": string;
@@ -1,8 +1,8 @@
1
- import { SE } from "@shipengine/alchemy";
1
+ import { SE } from "@shipengine/react-api";
2
2
  export type ActionsProps = {
3
- onComplete: (request: SE.VoidRequest, shipment: SE.SalesOrderShipment) => void;
4
- onSubmit: () => Promise<void>;
5
- onViewShipment: (shipment: SE.SalesOrderShipment) => void;
3
+ onComplete?: (request: SE.VoidRequest, shipment: SE.SalesOrderShipment) => void;
4
+ onSubmit?: () => Promise<void>;
5
+ onViewShipment?: (shipment: SE.SalesOrderShipment) => void;
6
6
  shipment: SE.SalesOrderShipment;
7
7
  voidRequest?: SE.VoidRequest;
8
8
  };
@@ -1,4 +1,4 @@
1
- import type { SE } from "@shipengine/alchemy";
1
+ import { SE } from "@shipengine/react-api";
2
2
  type MessageProps = {
3
3
  carrier?: SE.Carrier["carrierCode"];
4
4
  voidRequest?: SE.VoidRequest;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { SE } from "@shipengine/alchemy";
2
+ import { SE } from "@shipengine/react-api";
3
3
  /**
4
4
  * # Void Label Component Props
5
5
  *
@@ -8,14 +8,6 @@ import { SE } from "@shipengine/alchemy";
8
8
  * @see {@link VoidLabel.Component | This prop types usage in the `<VoidLabel />` component}
9
9
  */
10
10
  export type ComponentProps = {
11
- /**
12
- * `features` is a set of feature flags you would like to enable or disable in this component.
13
- */
14
- features?: {
15
- presentation?: {
16
- poweredByShipEngine?: boolean;
17
- };
18
- };
19
11
  /**
20
12
  * `labelId` is the unique identifier for the label you wish to void.
21
13
  */
@@ -33,7 +25,7 @@ export type ComponentProps = {
33
25
  /**
34
26
  * `onViewShipment` is a callback function that will be invoked when the user clicks the
35
27
  * `View Shipment` button. This will take you back to the
36
- * {@link ViewShipment.Element | `View Shipment Element`} for the given shipment, where you
28
+ * {@link ShipmentSummary.Element | `Shipment Summary Element`} for the given shipment, where you
37
29
  * will be able to see the voided label listed.
38
30
  */
39
31
  onViewShipment: (shipment: SE.SalesOrderShipment) => void;
@@ -42,7 +34,7 @@ export type ComponentProps = {
42
34
  * # Void Label Component
43
35
  *
44
36
  * - The `<VoidLabel />` component is used to void a given shipping label. When a label is voided,
45
- * you then get the option to view the associated shipment via the `View Shipment` Element, or
37
+ * you then get the option to view the associated shipment via the `Shipment Summary` Element, or
46
38
  * you can purchase another label for the shipment via the `Purchase Label` Element.
47
39
  *
48
40
  * @param ComponentProps The base props that will be passed into the `<VoidLabel />` component.
@@ -53,7 +45,7 @@ export type ComponentProps = {
53
45
  * @example
54
46
  * You can see how the `<Component />` is used in the `createElement` function call below.
55
47
  * ```tsx
56
- * export const Element = alchemy.createElement(Component, ErrorFallback, {
48
+ * export const Element = createElement(Component, ErrorFallback, {
57
49
  * css: { height: "100%", maxWidth: "800px", minWidth: "440px", width: "100%" },
58
50
  * resources: { en },
59
51
  * });
@@ -63,7 +55,7 @@ export type ComponentProps = {
63
55
  *
64
56
  * @see {@link VoidLabel.Element | The **Element** created to render `<VoidLabel />`}
65
57
  */
66
- export declare const Component: ({ features, labelId, onComplete, onSuccess, onViewShipment, }: ComponentProps) => import("@emotion/react/jsx-runtime").JSX.Element;
58
+ export declare const Component: ({ labelId, onComplete, onSuccess, onViewShipment }: ComponentProps) => import("@emotion/react/jsx-runtime").JSX.Element;
67
59
  /**
68
60
  * # Registered Void Label Element
69
61
  *
@@ -134,10 +126,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
134
126
  dpdwallet: string;
135
127
  };
136
128
  refund_process: string;
137
- refund_rules: string; /**
138
- * `onComplete` is a callback function that will be invoked when the request to void a given
139
- * shipping label is completed.
140
- */
129
+ refund_rules: string;
141
130
  resultTitles: {
142
131
  approved: string;
143
132
  rejected: string;
@@ -154,6 +143,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
154
143
  schedulePickup: string;
155
144
  showItems: string;
156
145
  void: string;
146
+ download: string;
157
147
  };
158
148
  fields: {
159
149
  dimensions: string;
@@ -170,9 +160,14 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
170
160
  deliveryConfirmation: string;
171
161
  };
172
162
  highVolumeForms: string;
163
+ /**
164
+ * `onSuccess` is a callback function that will be invoked when the request to void a given
165
+ * shipping label is successful.
166
+ */
173
167
  multipleShippingServices: string;
174
168
  sections: {
175
169
  labels: string;
170
+ shipmentSummary: string;
176
171
  };
177
172
  noLabels: string;
178
173
  };
@@ -180,13 +175,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
180
175
  addNew: string;
181
176
  vatNumber: string;
182
177
  vatRegistrationTooltip: string;
183
- vatFormText: string; /**
184
- * # Void Label Component Props
185
- *
186
- * - These are the base props that will be passed into the `<VoidLabel />` component.
187
- *
188
- * @see {@link VoidLabel.Component | This prop types usage in the `<VoidLabel />` component}
189
- */
178
+ vatFormText: string;
190
179
  vatFormRegisterLater: string;
191
180
  vatNumberInputHint: string;
192
181
  vatNumberInputPlaceholder: string;
@@ -200,7 +189,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
200
189
  genericText: string;
201
190
  };
202
191
  };
203
- "shipengine-carriers": {
192
+ "manage-carriers": {
204
193
  title: string;
205
194
  headers: {
206
195
  accountCarriers: string;
@@ -222,13 +211,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
222
211
  hiddenTermsSubtitle: string;
223
212
  descriptionTitle: string;
224
213
  description: string;
225
- }; /**
226
- * # Void Label Component Props
227
- *
228
- * - These are the base props that will be passed into the `<VoidLabel />` component.
229
- *
230
- * @see {@link VoidLabel.Component | This prop types usage in the `<VoidLabel />` component}
231
- */
214
+ };
232
215
  billing: {
233
216
  title: string;
234
217
  cardSubTitle: string;
@@ -242,15 +225,9 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
242
225
  title: string;
243
226
  subtitle: string;
244
227
  };
245
- /**
246
- * `labelId` is the unique identifier for the label you wish to void.
247
- */
248
228
  notifications: {
249
229
  error: {
250
- title: string; /**
251
- * `onComplete` is a callback function that will be invoked when the request to void a given
252
- * shipping label is completed.
253
- */
230
+ title: string;
254
231
  };
255
232
  info: {
256
233
  title: string;
@@ -280,8 +257,48 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
280
257
  };
281
258
  };
282
259
  "register-carrier": {
283
- formTitle: string;
284
- agreeToTerms: string;
260
+ formTitle: {
261
+ default: string;
262
+ new: string;
263
+ edit: string;
264
+ };
265
+ notifications: {
266
+ error: {
267
+ title: string;
268
+ };
269
+ };
270
+ };
271
+ "rate-details": {
272
+ total: string;
273
+ subtotal: string;
274
+ registerVat: string;
275
+ concepts: {
276
+ confirmation: string;
277
+ uncategorized: string;
278
+ shipping: string;
279
+ insurance: string;
280
+ confirm: string;
281
+ discount: string;
282
+ fuel_charge: string;
283
+ additional_fees: string;
284
+ tariff: string;
285
+ tax: string;
286
+ delivery: string;
287
+ handling: string;
288
+ special_goods: string;
289
+ pickup: string;
290
+ location_fee: string;
291
+ oversize: string;
292
+ returns: string;
293
+ notifications: string;
294
+ tip: string;
295
+ duties_and_taxes: string;
296
+ brokerage_fee: string;
297
+ admin_fee: string;
298
+ adjustment: string;
299
+ auctane_service_fee: string;
300
+ product_price: string;
301
+ };
285
302
  };
286
303
  "purchase-label": {
287
304
  title: string;
@@ -394,7 +411,10 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
394
411
  today: string;
395
412
  viewMap: string;
396
413
  otherLocations: string;
397
- noServicePointsFound: string;
414
+ noServicePointsForService: string;
415
+ error: string;
416
+ paperless: string;
417
+ localTimeDisclaimer: string;
398
418
  };
399
419
  shipToAddressFormFields: string;
400
420
  sections: {
@@ -496,7 +516,9 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
496
516
  isLoading: string;
497
517
  lowBalancePurchaseThreshold: string;
498
518
  maximumPurchasesPerDay: string;
499
- purchaseAmount: string;
519
+ purchaseAmount: string; /**
520
+ * `labelId` is the unique identifier for the label you wish to void.
521
+ */
500
522
  readSettings: string;
501
523
  };
502
524
  addFunds: {
@@ -612,7 +634,9 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
612
634
  };
613
635
  search: string;
614
636
  settingsModal: {
615
- closeDialog: string;
637
+ closeDialog: string; /**
638
+ * `labelId` is the unique identifier for the label you wish to void.
639
+ */
616
640
  header: string;
617
641
  };
618
642
  status: {
@@ -663,7 +687,10 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
663
687
  };
664
688
  parserFields: {
665
689
  fullAddress: string;
666
- };
690
+ }; /**
691
+ * `onSuccess` is a callback function that will be invoked when the request to void a given
692
+ * shipping label is successful.
693
+ */
667
694
  paste: string;
668
695
  preference: {
669
696
  confirm: string;
@@ -898,6 +925,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
898
925
  gram: string;
899
926
  kilogram: string;
900
927
  };
928
+ ZnVuZGluZ19zb3VyY2VfaWQgbXVzdCBiZSBhbiBpbnRlZ2Vy: string;
901
929
  T25seSByZXNpZGVudGlhbCBkZWxpdmVyeSBhZGRyZXNzZXMgYXJlIGFsbG93ZWQgZm9yIFVQUyBHcm91bmQgU2F2ZXIu: string;
902
930
  "VGhlIHNlbGVjdGVkIHNlcnZpY2UgaW5jbHVkZXMgaW5zdXJhbmNlIGZvciBhbiBpbnN1cmVkIGFtb3VudCB1cCB0byAkMTAwLgo=": string;
903
931
  "VGhlIHNlbGVjdGVkIHNlcnZpY2UgaW5jbHVkZXMgaW5zdXJhbmNlIGZvciBhbiBpbnN1cmVkIGFtb3VudCB1cCB0byAkNTAuCg==": string;
@@ -922,6 +950,13 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
922
950
  adjustmentHistory: string;
923
951
  warehouses: string;
924
952
  carriers: string;
953
+ /**
954
+ * # Void Label Component Props
955
+ *
956
+ * - These are the base props that will be passed into the `<VoidLabel />` component.
957
+ *
958
+ * @see {@link VoidLabel.Component | This prop types usage in the `<VoidLabel />` component}
959
+ */
925
960
  externalCarriers: string;
926
961
  labelLayout: string;
927
962
  unitSettings: string;
@@ -0,0 +1,46 @@
1
+ /// <reference types="react" />
2
+ import { DefaultOptions } from "@tanstack/react-query";
3
+ import { CustomThemeData, Theme } from "@shipengine/giger-theme";
4
+ import { ShipEngineAPIConfig, ShipEngineProps } from "@shipengine/react-api";
5
+ import { ElementsFeatureFlags, GlobalFeatures } from "../utilities";
6
+ export type ElementsErrorHandler = (err: Error) => void;
7
+ export interface ElementsContextValue {
8
+ baseURL: string;
9
+ cdnURL: string;
10
+ container?: HTMLElement;
11
+ getFeatures: (key: keyof ElementsFeatureFlags) => ElementsFeatureFlags[keyof ElementsFeatureFlags];
12
+ getToken: ShipEngineProps["getToken"];
13
+ globalFeatures: GlobalFeatures;
14
+ locale?: string;
15
+ onError: ElementsErrorHandler;
16
+ scope: string | null;
17
+ theme: Theme;
18
+ }
19
+ /**
20
+ * @category Contexts
21
+ */
22
+ export declare const ElementsContext: import("react").Context<ElementsContextValue | undefined>;
23
+ export type ElementsProviderProps = {
24
+ cdnURL?: string;
25
+ children: React.ReactNode;
26
+ container?: HTMLElement;
27
+ defaultQueryClientOptions?: DefaultOptions;
28
+ features?: ElementsFeatureFlags;
29
+ locale?: string;
30
+ onError?: ElementsErrorHandler;
31
+ /** Scope of the Elements Provider. Can be null to not specify a specific element */
32
+ scope?: string | null;
33
+ themeConfig?: CustomThemeData;
34
+ } & ShipEngineAPIConfig;
35
+ /**
36
+ * @category Providers
37
+ */
38
+ export declare const ElementsProvider: ({ baseURL, cdnURL, children, container, features, getToken, headers, locale: localeProp, onApiError, onError, scope, themeConfig, defaultQueryClientOptions, }: ElementsProviderProps) => import("@emotion/react/jsx-runtime").JSX.Element;
39
+ /**
40
+ * Must be used within {@link ElementsProvider}
41
+ *
42
+ * @category Elements Hooks
43
+ *
44
+ * @see {@link registerElement}
45
+ */
46
+ export declare const useElements: () => ElementsContextValue;
@@ -0,0 +1,3 @@
1
+ import { ElementsProviderProps } from "./elements-provider";
2
+ export type ElementsTestProviderProps = Pick<Required<ElementsProviderProps>, "baseURL" | "children" | "features">;
3
+ export declare const ElementsTestProvider: ({ baseURL, children, features, }: ElementsTestProviderProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export * from "./use-load-icons";
@@ -0,0 +1,7 @@
1
+ export type IconIndex = {
2
+ [key: string]: string[];
3
+ };
4
+ export interface UseLoadIconsProps {
5
+ cdnURL?: string;
6
+ }
7
+ export declare const useLoadIcons: ({ cdnURL }: UseLoadIconsProps) => (iconName: string) => Promise<string>;
@@ -0,0 +1 @@
1
+ export * from "./elements-provider";
@@ -1,5 +1,5 @@
1
1
  import { Factory } from "fishery";
2
- import { SE } from "@shipengine/alchemy";
2
+ import { SE } from "@shipengine/react-api";
3
3
  import { AddressValidationPreference } from "../../components/templates/address-preference-select";
4
4
  export type AddressTransientParams = {
5
5
  isInternational?: boolean;
@@ -1,5 +1,5 @@
1
1
  import { Factory } from "fishery";
2
- import { SE } from "@shipengine/alchemy";
2
+ import { SE } from "@shipengine/react-api";
3
3
  /**
4
4
  * @category Factories
5
5
  */
@@ -8,6 +8,6 @@ export * from "./resource";
8
8
  export * from "./sales-order";
9
9
  export * from "./service";
10
10
  export * from "./shipment";
11
- export * from "./wallet-history";
11
+ export * from "./transaction-history";
12
12
  export * from "./warehouse";
13
13
  export * from "./weight";
@@ -1,8 +1,10 @@
1
1
  import { Factory } from "fishery";
2
- import { SE } from "@shipengine/alchemy";
2
+ import { SE } from "@shipengine/react-api";
3
3
  export type LabelTransientParams = {
4
4
  carrier: SE.Carrier;
5
+ rateDetails?: SE.RateDetail[];
5
6
  shipment: SE.SalesOrderShipment;
7
+ shippingRuleId?: string;
6
8
  };
7
9
  /**
8
10
  * @category Factories
@@ -1,5 +1,5 @@
1
1
  import { Factory } from "fishery";
2
- import { SE } from "@shipengine/alchemy";
2
+ import { SE } from "@shipengine/react-api";
3
3
  export type MoneyTransientParams = {
4
4
  isInternational?: boolean;
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import { Factory } from "fishery";
2
- import { SE } from "@shipengine/alchemy";
2
+ import { SE } from "@shipengine/react-api";
3
3
  export declare const randomOrderSourceCode: () => SE.OrderSourceCode;
4
4
  /**
5
5
  * @category Factories
@@ -1,5 +1,5 @@
1
1
  import { Factory } from "fishery";
2
- import { SE } from "@shipengine/alchemy";
2
+ import { SE } from "@shipengine/react-api";
3
3
  /**
4
4
  * @internal
5
5
  *
@@ -1,5 +1,5 @@
1
1
  import { Factory } from "fishery";
2
- import { SE } from "@shipengine/alchemy";
2
+ import { SE } from "@shipengine/react-api";
3
3
  /**
4
4
  * @category Factories
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import { Factory } from "fishery";
2
- import { SE } from "@shipengine/alchemy";
2
+ import { SE } from "@shipengine/react-api";
3
3
  import { MoneyTransientParams } from "./money";
4
4
  export declare const randomPaymentStatus: () => SE.PaymentStatus;
5
5
  export declare const randomFulfillmentStatus: () => SE.FulfillmentStatus;
@@ -1,3 +1,3 @@
1
1
  import { Factory } from "fishery";
2
- import type { SE } from "@shipengine/alchemy";
2
+ import type { SE } from "@shipengine/react-api";
3
3
  export declare const servicePointFactory: Factory<SE.ServicePoint, any, SE.ServicePoint>;
@@ -1,5 +1,5 @@
1
1
  import { Factory } from "fishery";
2
- import { SE } from "@shipengine/alchemy";
2
+ import { SE } from "@shipengine/react-api";
3
3
  export type ServiceTransientParams = {
4
4
  carrier?: SE.Carrier;
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import { Factory } from "fishery";
2
- import { SE } from "@shipengine/alchemy";
2
+ import { SE } from "@shipengine/react-api";
3
3
  import { MoneyTransientParams } from "./money";
4
4
  export declare const randomDeliveryConfirmation: () => SE.ConfirmationType;
5
5
  export declare const randomInsuranceProvider: (allowNone?: boolean) => SE.InsuranceProviderType;
@@ -1,5 +1,5 @@
1
1
  import { Factory } from "fishery";
2
- import { SE } from "@shipengine/alchemy";
2
+ import { SE } from "@shipengine/react-api";
3
3
  /**
4
4
  * Wallet Transaction Factory
5
5
  *
@@ -1,5 +1,5 @@
1
1
  import { Factory } from "fishery";
2
- import { SE } from "@shipengine/alchemy";
2
+ import { SE } from "@shipengine/react-api";
3
3
  /**
4
4
  * @category Factories
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import { Factory } from "fishery";
2
- import { SE } from "@shipengine/alchemy";
2
+ import { SE } from "@shipengine/react-api";
3
3
  export declare const randomWeightUnit: () => SE.WeightUnit;
4
4
  /**
5
5
  * @category Factories
@@ -1,9 +1,9 @@
1
- export * from "./external-carriers";
2
1
  export * from "./label-layout";
2
+ export * from "./manage-carriers";
3
+ export * from "./manage-external-carriers";
3
4
  export * from "./manage-funding";
4
5
  export * from "./manage-warehouses";
5
6
  export * from "./payment-method-settings";
6
- export * from "./shipengine-carriers";
7
+ export * from "./transaction-history";
7
8
  export * from "./unit-settings";
8
9
  export * from "./vat-settings";
9
- export * from "./wallet-history";
@@ -1,4 +1,4 @@
1
- import { SE } from "@shipengine/alchemy";
1
+ import { SE } from "@shipengine/react-api";
2
2
  export type LabelLayoutSettingsProps = {
3
3
  accountSettings?: SE.AccountSettings;
4
4
  updateAccountSettings: (newAccountSetting: Partial<SE.AccountSettings>) => Promise<void>;
@@ -1,4 +1,4 @@
1
- import { SE } from "@shipengine/alchemy";
1
+ import { SE } from "@shipengine/react-api";
2
2
  export declare const useLabelLayout: () => {
3
3
  accountSettings: SE.AccountSettings | undefined;
4
4
  isUpdatingLabelLayout: boolean;
@@ -0,0 +1,3 @@
1
+ export * from "./use-carrier-metadata";
2
+ export * from "./use-list-funding-source-carriers";
3
+ export * from "./use-carrier-metadata";
@@ -0,0 +1,2 @@
1
+ import { CarrierMetadata } from "../../../types";
2
+ export declare const useCarrierMetadata: () => CarrierMetadata;
@@ -0,0 +1,11 @@
1
+ import { CarrierMetadataFromFundingSource } from "../../../types";
2
+ export type ConnectedCarrierMetadata = {
3
+ carrier: CarrierMetadataFromFundingSource;
4
+ isConnected: boolean;
5
+ };
6
+ export declare const useListFundingSourceCarriers: () => {
7
+ data: ConnectedCarrierMetadata[];
8
+ error: import("@shipengine/react-api").CodedError[] | null;
9
+ isLoading: boolean;
10
+ refetch: <TPageData>(options?: (import("@tanstack/query-core").RefetchOptions & import("@tanstack/query-core").RefetchQueryFilters<TPageData>) | undefined) => Promise<import("@tanstack/query-core").QueryObserverResult<import("@shipengine/react-api").Carrier[], import("@shipengine/react-api").CodedError[]>>;
11
+ };
@@ -0,0 +1 @@
1
+ export * from "./manage-carriers";
@@ -0,0 +1 @@
1
+ export * from "./manage-carriers-row";
@@ -0,0 +1,11 @@
1
+ import { SE } from "@shipengine/react-api";
2
+ import { RegisterFundingSourceCarrierPayload } from "../../../components/templates";
3
+ import { ConnectedCarrierMetadata } from "../hooks/use-list-funding-source-carriers";
4
+ export type ManageCarriersRowProps = {
5
+ address?: SE.Address;
6
+ carrierToConnect?: string;
7
+ fundingSourceCarrier: ConnectedCarrierMetadata;
8
+ registerCarrier: (payload?: RegisterFundingSourceCarrierPayload) => Promise<void>;
9
+ setCarrierToConnect: (carrierCode: string) => void;
10
+ };
11
+ export declare const ManageCarriersRow: ({ fundingSourceCarrier: { carrier, isConnected }, registerCarrier, address, carrierToConnect, setCarrierToConnect, }: ManageCarriersRowProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ export type ShipEngineCarriersProps = {
2
+ showFunds?: boolean;
3
+ };
4
+ export declare const ShipEngineCarriers: ({ showFunds }: ShipEngineCarriersProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export * from "./manage-external-carriers";