@shipengine/elements 1.9.0 → 2.1.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 (288) hide show
  1. package/README.md +0 -4
  2. package/actions-menu.js +34 -0
  3. package/assertions.js +1 -0
  4. package/carrier-logo.js +1 -0
  5. package/components.js +1 -1
  6. package/constants.js +1 -1
  7. package/elements.js +1 -1
  8. package/extensions.js +1 -1
  9. package/formatString.js +1 -0
  10. package/hooks.js +1 -1
  11. package/index.js +1 -1
  12. package/money.js +1 -0
  13. package/package.json +20 -46
  14. package/pudo.js +1 -0
  15. package/schemas.js +1 -1
  16. package/src/components/actions-menu/actions-menu.d.ts +19 -0
  17. package/src/components/actions-menu/index.d.ts +1 -0
  18. package/src/components/add-funds-form/add-funds-form.d.ts +1 -1
  19. package/src/components/auto-funding-form/auto-funding-form.d.ts +1 -1
  20. package/src/components/carrier-balance/carrier-balance.d.ts +1 -1
  21. package/src/components/collapsible-panel/collapsible-panel.d.ts +1 -1
  22. package/src/components/collapsible-panel/collapsible-panel.styles.d.ts +10 -13
  23. package/src/components/display-term/display-term.d.ts +1 -1
  24. package/src/components/edit-billing-form/edit-billing-form.d.ts +1 -1
  25. package/src/components/field/checkbox-input/checkbox-input.d.ts +1 -0
  26. package/src/components/field/money-input/money-input.d.ts +1 -1
  27. package/src/components/field/rate-card/cost-breakdown/cost-breakdown.d.ts +1 -1
  28. package/src/components/field/rate-card/rate-card.d.ts +1 -1
  29. package/src/components/field/rate-card/rate-card.styles.d.ts +0 -1
  30. package/src/components/field/rate-select/rate-select.d.ts +1 -1
  31. package/src/components/field/select/index.d.ts +1 -0
  32. package/src/components/field/select/select-with-categories.d.ts +20 -0
  33. package/src/components/field/select/select.d.ts +5 -10
  34. package/src/components/fund-and-purchase/fund-and-purchase.d.ts +1 -1
  35. package/src/components/history/history-card/history-card.d.ts +1 -1
  36. package/src/components/index.d.ts +1 -0
  37. package/src/components/items-breakdown/items-breakdown.d.ts +1 -1
  38. package/src/components/pager/pager.d.ts +1 -1
  39. package/src/components/rate-details/rate-details.d.ts +1 -1
  40. package/src/components/save-status/save-status.d.ts +1 -1
  41. package/src/components/service-points/service-points.d.ts +1 -1
  42. package/src/components/templates/address-display/address-display.d.ts +1 -1
  43. package/src/components/templates/address-preference-display/address-preference-display.d.ts +1 -1
  44. package/src/components/templates/address-preference-select/address-preference-select.d.ts +1 -1
  45. package/src/components/templates/connect-external-carrier-form/connect-external-carrier-form.d.ts +12 -0
  46. package/src/components/templates/connect-external-carrier-form/index.d.ts +1 -0
  47. package/src/components/templates/connected-carrier-list/connected-carrier-list.d.ts +4 -1
  48. package/src/components/templates/connected-carrier-list/connected-carrier-list.styles.d.ts +0 -10
  49. package/src/components/templates/connected-carrier-list/connected-carrier-row/connected-carrier-row.d.ts +4 -1
  50. package/src/components/templates/connected-carrier-list/connected-carrier-row/connected-carrier-row.styles.d.ts +19 -12
  51. package/src/components/templates/index.d.ts +1 -1
  52. package/src/components/templates/label/label.d.ts +1 -1
  53. package/src/components/templates/product-form/product-form.d.ts +1 -1
  54. package/src/components/templates/products-display/products-display.d.ts +1 -1
  55. package/src/components/templates/products-display/products-display.styles.d.ts +12 -4
  56. package/src/components/templates/rate-form/rate-form.d.ts +3 -4
  57. package/src/components/templates/shipment/shipment.d.ts +3 -11
  58. package/src/components/templates/shipment-form/sections/customs-forms/components/index.d.ts +2 -0
  59. package/src/components/templates/shipment-form/sections/customs-forms/components/tax-ids/form/index.d.ts +3 -0
  60. package/src/components/templates/shipment-form/sections/customs-forms/components/tax-ids/form/schema.d.ts +38 -0
  61. package/src/components/templates/shipment-form/sections/customs-forms/components/tax-ids/form/values.d.ts +12 -0
  62. package/src/components/templates/shipment-form/sections/customs-forms/components/tax-ids/index.d.ts +2 -0
  63. package/src/components/templates/shipment-form/sections/customs-forms/components/tax-ids/tax-id-form.d.ts +17 -0
  64. package/src/components/templates/shipment-form/sections/customs-forms/components/tax-ids/tax-id-list.d.ts +12 -0
  65. package/src/components/templates/shipment-form/sections/customs-forms/components/tax-ids/tax-ids.d.ts +8 -0
  66. package/src/components/templates/shipment-form/sections/customs-forms/components/tax-ids/tax-ids.styles.d.ts +70 -0
  67. package/src/components/templates/shipment-form/sections/customs-forms/customs-forms.d.ts +10 -0
  68. package/src/components/templates/shipment-form/sections/customs-forms/index.d.ts +1 -0
  69. package/src/components/templates/shipment-form/sections/index.d.ts +1 -0
  70. package/src/components/templates/shipment-form/shipment-form.d.ts +4 -10
  71. package/src/components/templates/shipment-form/shipment-form.styles.d.ts +9 -0
  72. package/src/components/templates/shipment-form/shipment-schema.d.ts +1 -1
  73. package/src/components/templates/suspend-sales-order/suspend-sales-order.d.ts +1 -1
  74. package/src/components/templates/suspend-shipment/suspend-shipment.d.ts +1 -1
  75. package/src/components/templates/wallet-form/edit-wallet-address-form.d.ts +1 -1
  76. package/src/components/templates/wallet-form/wallet-form.d.ts +2 -4
  77. package/src/components/templates/wallet-form/wallet-schema.d.ts +1 -1
  78. package/src/components/wallet-card/wallet-card.d.ts +1 -1
  79. package/src/components/warehouse-form/warehouse-form.d.ts +11 -4
  80. package/src/components/zero-state/zero-state.d.ts +6 -0
  81. package/src/components/zero-state/zero-state.styles.d.ts +14 -0
  82. package/src/create-element/create-element.d.ts +10 -0
  83. package/src/create-element/element/element.d.ts +16 -0
  84. package/src/create-element/element/hooks/index.d.ts +1 -0
  85. package/src/create-element/element/hooks/use-i18n.d.ts +12 -0
  86. package/src/create-element/element/index.d.ts +3 -0
  87. package/src/create-element/element/utils/get-emotion-cache.d.ts +2 -0
  88. package/src/create-element/element/utils/index.d.ts +1 -0
  89. package/src/create-element/error-boundary/error-boundary.d.ts +21 -0
  90. package/src/create-element/error-boundary/index.d.ts +1 -0
  91. package/src/create-element/index.d.ts +1 -0
  92. package/src/elements/index.d.ts +5 -4
  93. package/src/elements/label-layout/label-layout-element.d.ts +44 -2
  94. package/src/elements/labels-grid/labels-grid.d.ts +45 -3
  95. package/src/elements/manage-carriers/index.d.ts +1 -0
  96. package/src/elements/{shipengine-carriers/shipengine-carriers.d.ts → manage-carriers/manage-carriers.d.ts} +99 -52
  97. package/src/elements/manage-external-carriers/index.d.ts +1 -0
  98. package/src/elements/{external-carriers/external-carriers.d.ts → manage-external-carriers/manage-external-carriers.d.ts} +74 -63
  99. package/src/elements/manage-funding/manage-funding-element.d.ts +47 -4
  100. package/src/elements/manage-warehouses/manage-warehouses.d.ts +62 -3
  101. package/src/elements/payment-method-settings/payment-method-settings-element.d.ts +47 -4
  102. package/src/elements/purchase-label/configure-shipment.d.ts +4 -27
  103. package/src/elements/purchase-label/hooks/use-address.d.ts +1 -1
  104. package/src/elements/purchase-label/hooks/use-configure-shipment.d.ts +1 -1
  105. package/src/elements/purchase-label/hooks/use-customs.d.ts +2 -1
  106. package/src/elements/purchase-label/hooks/use-import-sales-order.d.ts +2 -2
  107. package/src/elements/purchase-label/hooks/use-load-shipment.d.ts +3 -3
  108. package/src/elements/purchase-label/hooks/use-pending-shipment.d.ts +1 -1
  109. package/src/elements/purchase-label/hooks/use-presets.d.ts +1 -1
  110. package/src/elements/purchase-label/hooks/use-rates-form.d.ts +1 -1
  111. package/src/elements/purchase-label/hooks/use-rates-with-cache.d.ts +1 -1
  112. package/src/elements/purchase-label/hooks/use-request-preferred-rates.d.ts +1 -1
  113. package/src/elements/purchase-label/hooks/use-request-rates.d.ts +1 -1
  114. package/src/elements/purchase-label/hooks/use-shipment-form.d.ts +2 -1
  115. package/src/elements/purchase-label/purchase-label-by-sales-order.d.ts +1 -1
  116. package/src/elements/purchase-label/purchase-label-by-shipment.d.ts +1 -1
  117. package/src/elements/purchase-label/purchase-label.d.ts +85 -44
  118. package/src/elements/shipment-summary/index.d.ts +1 -0
  119. package/src/elements/{view-shipment/view-shipment.d.ts → shipment-summary/shipment-summary.d.ts} +89 -60
  120. package/src/elements/shipments-grid/shipments-grid.d.ts +45 -3
  121. package/src/elements/theme-creator/theme-creator.d.ts +44 -2
  122. package/src/elements/transaction-history/index.d.ts +1 -0
  123. package/src/elements/{wallet-history/wallet-history-element.d.ts → transaction-history/transaction-history-element.d.ts} +44 -2
  124. package/src/elements/unit-settings/unit-settings-element.d.ts +44 -2
  125. package/src/elements/vat-settings/vat-settings-element.d.ts +44 -2
  126. package/src/elements/void-label/components/actions/actions.d.ts +1 -1
  127. package/src/elements/void-label/components/message/message.d.ts +1 -1
  128. package/src/elements/void-label/void-label.d.ts +83 -52
  129. package/src/elements-provider/elements-context-provider.d.ts +44 -0
  130. package/src/elements-provider/elements-provider.d.ts +12 -0
  131. package/src/elements-provider/elements-test-provider.d.ts +3 -0
  132. package/src/elements-provider/hooks/index.d.ts +1 -0
  133. package/src/elements-provider/hooks/use-load-icons.d.ts +7 -0
  134. package/src/elements-provider/index.d.ts +3 -0
  135. package/src/factories/shipengine/address.d.ts +1 -1
  136. package/src/factories/shipengine/carrier.d.ts +1 -1
  137. package/src/factories/shipengine/index.d.ts +1 -1
  138. package/src/factories/shipengine/label.d.ts +1 -1
  139. package/src/factories/shipengine/money.d.ts +1 -1
  140. package/src/factories/shipengine/order-source.d.ts +1 -1
  141. package/src/factories/shipengine/package.d.ts +1 -1
  142. package/src/factories/shipengine/resource.d.ts +1 -1
  143. package/src/factories/shipengine/sales-order.d.ts +1 -1
  144. package/src/factories/shipengine/service-point.d.ts +1 -1
  145. package/src/factories/shipengine/service.d.ts +1 -1
  146. package/src/factories/shipengine/shipment.d.ts +1 -1
  147. package/src/factories/shipengine/{wallet-history.d.ts → transaction-history.d.ts} +1 -1
  148. package/src/factories/shipengine/warehouse.d.ts +1 -1
  149. package/src/factories/shipengine/weight.d.ts +1 -1
  150. package/src/features/index.d.ts +3 -3
  151. package/src/features/label-layout/label-layout.d.ts +1 -1
  152. package/src/features/label-layout/use-label-layout.d.ts +1 -1
  153. package/src/features/{shipengine-carriers → manage-carriers}/hooks/use-list-funding-source-carriers.d.ts +3 -3
  154. package/src/features/manage-carriers/index.d.ts +1 -0
  155. package/src/features/manage-carriers/manage-carriers-row/index.d.ts +1 -0
  156. package/src/features/{shipengine-carriers/shipengine-carriers-row/shipengine-carriers-row.d.ts → manage-carriers/manage-carriers-row/manage-carriers-row.d.ts} +3 -3
  157. package/src/features/manage-carriers/manage-carriers.d.ts +5 -0
  158. package/src/features/manage-external-carriers/index.d.ts +2 -0
  159. package/src/features/manage-external-carriers/manage-external-carriers.d.ts +14 -0
  160. package/src/features/manage-external-carriers/use-manage-external-carriers.d.ts +12 -0
  161. package/src/features/manage-funding/manage-funding.d.ts +4 -1
  162. package/src/features/manage-warehouses/manage-warehouses.d.ts +1 -1
  163. package/src/features/manage-warehouses/use-manage-warehouses.d.ts +9 -9
  164. package/src/features/manage-warehouses/warehouse-display/warehouse-display.d.ts +1 -1
  165. package/src/features/payment-method-settings/payment-method-settings.d.ts +4 -1
  166. package/src/features/transaction-history/index.d.ts +1 -0
  167. package/src/features/transaction-history/transaction-history.d.ts +6 -0
  168. package/src/features/unit-settings/unit-settings.d.ts +1 -1
  169. package/src/features/unit-settings/use-unit-settings.d.ts +1 -1
  170. package/src/features/vat-settings/use-vat-settings.d.ts +5 -5
  171. package/src/hooks/here-map/init.d.ts +1 -1
  172. package/src/hooks/options/use-confirmation-options.d.ts +1 -1
  173. package/src/hooks/options/use-customs-contents-options.d.ts +1 -1
  174. package/src/hooks/options/use-customs-non-delivery-options.d.ts +1 -1
  175. package/src/hooks/options/use-insurance-provider-options.d.ts +1 -1
  176. package/src/hooks/options/use-package-options.d.ts +2 -2
  177. package/src/hooks/options/use-rate-options.d.ts +1 -1
  178. package/src/hooks/options/use-service-code-options.d.ts +1 -1
  179. package/src/hooks/options/use-service-points.d.ts +1 -1
  180. package/src/hooks/options/use-shipment-metadata.d.ts +1 -1
  181. package/src/hooks/options/use-shipping-presets-options.d.ts +1 -1
  182. package/src/hooks/options/use-warehouse-options.d.ts +4 -2
  183. package/src/hooks/use-address-validation.d.ts +1 -1
  184. package/src/hooks/use-get-or-create-shipment.d.ts +3 -3
  185. package/src/hooks/use-scrub-errors.d.ts +1 -1
  186. package/src/index.d.ts +2 -0
  187. package/src/locales/en/index.d.ts +44 -2
  188. package/src/mocks/carriers/handlers.d.ts +1 -1
  189. package/src/mocks/warehouses/handlers.d.ts +1 -1
  190. package/src/schemas/shipengine/money.d.ts +1 -1
  191. package/src/testing/test-utils.d.ts +7 -2
  192. package/src/themes/fallback.d.ts +3 -0
  193. package/src/themes/index.d.ts +4 -0
  194. package/src/types/carrier-metadata.d.ts +1 -1
  195. package/src/types/preferred-rates.d.ts +1 -1
  196. package/src/types/shipping-preset/shipping-preset.d.ts +1 -1
  197. package/src/utilities/error.d.ts +1 -1
  198. package/src/utilities/feature-flags/feature-flags.d.ts +18 -0
  199. package/src/utilities/feature-flags/index.d.ts +2 -0
  200. package/src/utilities/feature-flags/types.d.ts +141 -0
  201. package/src/utilities/formatString.d.ts +2 -0
  202. package/src/utilities/index.d.ts +1 -0
  203. package/src/utilities/money.d.ts +1 -1
  204. package/src/utilities/pudo.d.ts +3 -0
  205. package/src/utilities/rates.d.ts +1 -3
  206. package/src/utilities/shipengine/address.d.ts +1 -1
  207. package/src/utilities/shipengine/carrier.d.ts +4 -1
  208. package/src/utilities/shipengine/dimensions.d.ts +1 -1
  209. package/src/utilities/shipengine/sales-order.d.ts +1 -1
  210. package/src/utilities/shipengine/shipment.d.ts +1 -1
  211. package/src/utilities/shipengine/warehouses.d.ts +1 -1
  212. package/src/utilities/shipengine/weight.d.ts +1 -1
  213. package/src/workflows/account-settings/account-settings.d.ts +52 -16
  214. package/src/workflows/account-settings/use-get-panel-props.d.ts +3 -3
  215. package/src/workflows/{manage-wallet-workflow/manage-wallet-workflow.d.ts → carrier-services/carrier-services.d.ts} +55 -25
  216. package/src/workflows/carrier-services/index.d.ts +1 -0
  217. package/src/workflows/{connect-carrier/connect-carrier.d.ts → connect-external-carrier/connect-external-carrier.d.ts} +52 -37
  218. package/src/workflows/connect-external-carrier/index.d.ts +1 -0
  219. package/src/workflows/index.d.ts +3 -2
  220. package/src/workflows/label-workflow/index.d.ts +1 -0
  221. package/src/workflows/{purchase-label-workflow/purchase-label-workflow.d.ts → label-workflow/label-workflow.d.ts} +16 -34
  222. package/src/workflows/onboarding/components/carrier-recovery-form/carrier-recovery-form.d.ts +1 -1
  223. package/src/workflows/onboarding/components/funding-and-carrier-connection-step/funding-and-carrier-connection-step.d.ts +2 -4
  224. package/src/workflows/onboarding/components/funding-and-carrier-connection-step/use-funding-and-carrier-connection-step.d.ts +1 -1
  225. package/src/workflows/onboarding/components/onboarding-wizard/onboarding-wizard.d.ts +2 -9
  226. package/src/workflows/onboarding/components/ship-from-address-step/ship-from-address-step.d.ts +1 -1
  227. package/src/workflows/onboarding/components/ship-from-address-step/use-ship-from-address-step.d.ts +1 -1
  228. package/src/workflows/onboarding/components/terms-agreement-form/terms-agreement-form.d.ts +3 -2
  229. package/src/workflows/onboarding/components/terms-agreement-step/terms-agreement-step.d.ts +1 -1
  230. package/src/workflows/onboarding/components/terms-agreement-step/use-terms-agreement-step.d.ts +1 -1
  231. package/src/workflows/onboarding/onboarding.d.ts +65 -71
  232. package/story-notes.js +1 -0
  233. package/suspend-text.js +1 -0
  234. package/transaction-history-element.js +1 -0
  235. package/use-page-layout.js +1 -0
  236. package/use-scrub-errors.js +1 -0
  237. package/use-toggle.js +1 -0
  238. package/use-unit-settings.js +1 -0
  239. package/utilities.js +1 -1
  240. package/validation.js +1 -0
  241. package/wallet-form.js +1 -0
  242. package/warehouses.js +1 -0
  243. package/workflows.js +1 -1
  244. package/carrier-2abb4760.js +0 -1
  245. package/carrier-logo-1b6c767e.js +0 -1
  246. package/feature-flags-3e03717c.js +0 -1
  247. package/formatString-413ec7c7.js +0 -1
  248. package/money-fbc4d0b3.js +0 -1
  249. package/payment-method-settings-element-595cc38d.js +0 -1
  250. package/shipment-90d35708.js +0 -1
  251. package/src/components/templates/connect-carrier-form/connect-carrier-form.d.ts +0 -12
  252. package/src/components/templates/connect-carrier-form/index.d.ts +0 -1
  253. package/src/elements/external-carriers/index.d.ts +0 -1
  254. package/src/elements/shipengine-carriers/index.d.ts +0 -1
  255. package/src/elements/view-shipment/index.d.ts +0 -1
  256. package/src/elements/wallet-history/index.d.ts +0 -1
  257. package/src/features/external-carriers/external-carriers.d.ts +0 -11
  258. package/src/features/external-carriers/index.d.ts +0 -1
  259. package/src/features/shipengine-carriers/index.d.ts +0 -1
  260. package/src/features/shipengine-carriers/shipengine-carriers-row/index.d.ts +0 -1
  261. package/src/features/shipengine-carriers/shipengine-carriers.d.ts +0 -10
  262. package/src/features/wallet-history/index.d.ts +0 -1
  263. package/src/features/wallet-history/wallet-history.d.ts +0 -6
  264. package/src/hooks/use-elements.d.ts +0 -35
  265. package/src/utilities/feature-flags.d.ts +0 -232
  266. package/src/workflows/connect-carrier/index.d.ts +0 -1
  267. package/src/workflows/manage-wallet-workflow/index.d.ts +0 -1
  268. package/src/workflows/purchase-label-workflow/index.d.ts +0 -1
  269. package/story-notes-ce2d8cca.js +0 -1
  270. package/suspend-text-c8c7b6b6.js +0 -1
  271. package/use-page-layout-93ffae78.js +0 -1
  272. package/use-scrub-errors-2c4db406.js +0 -1
  273. package/use-toggle-838d2ebd.js +0 -1
  274. package/validation-b941a548.js +0 -1
  275. package/wallet-form-3981400b.js +0 -1
  276. package/wallet-history-5b34c856.js +0 -1
  277. package/warehouse-form-c0b3ea78.js +0 -34
  278. package/warehouses-dfcdce23.js +0 -1
  279. /package/{address-8f8119f4.js → address.js} +0 -0
  280. /package/{phone-87dd7bd8.js → phone.js} +0 -0
  281. /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
  282. /package/src/features/{shipengine-carriers → manage-carriers}/hooks/index.d.ts +0 -0
  283. /package/src/features/{shipengine-carriers → manage-carriers}/hooks/use-carrier-metadata.d.ts +0 -0
  284. /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
  285. /package/src/features/{shipengine-carriers/shipengine-carriers.styles.d.ts → manage-carriers/manage-carriers.styles.d.ts} +0 -0
  286. /package/src/features/{wallet-history/wallet-history.styles.d.ts → transaction-history/transaction-history.styles.d.ts} +0 -0
  287. /package/src/workflows/{manage-wallet-workflow → carrier-services}/use-get-wallet-panel-props.d.ts +0 -0
  288. /package/{zod-60def96c.js → zod.js} +0 -0
@@ -98,7 +98,7 @@ export declare const Element: ({ resources, ...props }: object & {
98
98
  genericText: string;
99
99
  };
100
100
  };
101
- "shipengine-carriers": {
101
+ "manage-carriers": {
102
102
  title: string;
103
103
  headers: {
104
104
  accountCarriers: string;
@@ -176,6 +176,7 @@ export declare const Element: ({ resources, ...props }: object & {
176
176
  title: string;
177
177
  };
178
178
  };
179
+ noFundingSource: string;
179
180
  };
180
181
  "rate-details": {
181
182
  total: string;
@@ -360,6 +361,12 @@ export declare const Element: ({ resources, ...props }: object & {
360
361
  subtitle: string;
361
362
  inlineMessage: string;
362
363
  };
364
+ errors: {
365
+ noCarriers: {
366
+ title: string;
367
+ subtitle: string;
368
+ };
369
+ };
363
370
  success: {
364
371
  title: string;
365
372
  subtitle: string;
@@ -405,6 +412,7 @@ export declare const Element: ({ resources, ...props }: object & {
405
412
  returnToAddressIsDifferent: string;
406
413
  setDefault: string;
407
414
  shipFrom: string;
415
+ noWarehouses: string;
408
416
  };
409
417
  "manage-funding": {
410
418
  actions: {
@@ -452,6 +460,7 @@ export declare const Element: ({ resources, ...props }: object & {
452
460
  errors: {
453
461
  balanceUnknown: string;
454
462
  unableToFindBalance: string;
463
+ noFundingSource: string;
455
464
  };
456
465
  byoc: {
457
466
  invoiceNotification: string;
@@ -551,6 +560,9 @@ export declare const Element: ({ resources, ...props }: object & {
551
560
  toastTitle: string;
552
561
  toastBody: string;
553
562
  };
563
+ deleteCarrierErrorTitle: string;
564
+ deleteCarrierErrorMessage: string;
565
+ loadingDeletingCarrier: string;
554
566
  };
555
567
  common: {
556
568
  actions: {
@@ -653,6 +665,7 @@ export declare const Element: ({ resources, ...props }: object & {
653
665
  };
654
666
  customs: {
655
667
  addDeclaration: string;
668
+ noResults: string;
656
669
  contents: {
657
670
  documents: string;
658
671
  gift: string;
@@ -660,6 +673,14 @@ export declare const Element: ({ resources, ...props }: object & {
660
673
  returnedGoods: string;
661
674
  sample: string;
662
675
  };
676
+ taxIds: {
677
+ sectionTitle: string;
678
+ addTaxId: string;
679
+ sectionTitleTooltip: string;
680
+ entityTypeTooltipText: string;
681
+ entityTypeTooltipPointOne: string;
682
+ entityTypeTooltipPointTwo: string;
683
+ };
663
684
  currencyChange: string;
664
685
  declarations: string;
665
686
  descriptionTooltip: {
@@ -677,6 +698,11 @@ export declare const Element: ({ resources, ...props }: object & {
677
698
  sku: string;
678
699
  value: string;
679
700
  valueQuantity: string;
701
+ taxId: string;
702
+ taxIdType: string;
703
+ taxIdTypeValue: string;
704
+ taxIssuingAuthority: string;
705
+ entityType: string;
680
706
  };
681
707
  nonDelivery: {
682
708
  returnToSender: string;
@@ -749,6 +775,8 @@ export declare const Element: ({ resources, ...props }: object & {
749
775
  shipment: string;
750
776
  shipments: string;
751
777
  warehouses: string;
778
+ funding: string;
779
+ paymentMethod: string;
752
780
  };
753
781
  months: {
754
782
  january: string;
@@ -827,6 +855,16 @@ export declare const Element: ({ resources, ...props }: object & {
827
855
  gram: string;
828
856
  kilogram: string;
829
857
  };
858
+ actionsMenu: {
859
+ menuTitle: string;
860
+ actions: {
861
+ printLabel: string;
862
+ voidLabel: string;
863
+ printForms: string;
864
+ edit: string;
865
+ remove: string;
866
+ };
867
+ };
830
868
  ZnVuZGluZ19zb3VyY2VfaWQgbXVzdCBiZSBhbiBpbnRlZ2Vy: string;
831
869
  T25seSByZXNpZGVudGlhbCBkZWxpdmVyeSBhZGRyZXNzZXMgYXJlIGFsbG93ZWQgZm9yIFVQUyBHcm91bmQgU2F2ZXIu: string;
832
870
  "VGhlIHNlbGVjdGVkIHNlcnZpY2UgaW5jbHVkZXMgaW5zdXJhbmNlIGZvciBhbiBpbnN1cmVkIGFtb3VudCB1cCB0byAkMTAwLgo=": string;
@@ -842,7 +880,11 @@ export declare const Element: ({ resources, ...props }: object & {
842
880
  };
843
881
  "account-settings": {
844
882
  messages: {
845
- noFundingSources: string;
883
+ transactionHistory: {
884
+ noTransactions: string;
885
+ };
886
+ noFundingSourceDescription: string;
887
+ noFundingSourceAction: string;
846
888
  };
847
889
  title: string;
848
890
  sections: {
@@ -98,7 +98,7 @@ export declare const Element: ({ resources, ...props }: object & {
98
98
  genericText: string;
99
99
  };
100
100
  };
101
- "shipengine-carriers": {
101
+ "manage-carriers": {
102
102
  title: string;
103
103
  headers: {
104
104
  accountCarriers: string;
@@ -176,6 +176,7 @@ export declare const Element: ({ resources, ...props }: object & {
176
176
  title: string;
177
177
  };
178
178
  };
179
+ noFundingSource: string;
179
180
  };
180
181
  "rate-details": {
181
182
  total: string;
@@ -360,6 +361,12 @@ export declare const Element: ({ resources, ...props }: object & {
360
361
  subtitle: string;
361
362
  inlineMessage: string;
362
363
  };
364
+ errors: {
365
+ noCarriers: {
366
+ title: string;
367
+ subtitle: string;
368
+ };
369
+ };
363
370
  success: {
364
371
  title: string;
365
372
  subtitle: string;
@@ -405,6 +412,7 @@ export declare const Element: ({ resources, ...props }: object & {
405
412
  returnToAddressIsDifferent: string;
406
413
  setDefault: string;
407
414
  shipFrom: string;
415
+ noWarehouses: string;
408
416
  };
409
417
  "manage-funding": {
410
418
  actions: {
@@ -452,6 +460,7 @@ export declare const Element: ({ resources, ...props }: object & {
452
460
  errors: {
453
461
  balanceUnknown: string;
454
462
  unableToFindBalance: string;
463
+ noFundingSource: string;
455
464
  };
456
465
  byoc: {
457
466
  invoiceNotification: string;
@@ -551,6 +560,9 @@ export declare const Element: ({ resources, ...props }: object & {
551
560
  toastTitle: string;
552
561
  toastBody: string;
553
562
  };
563
+ deleteCarrierErrorTitle: string;
564
+ deleteCarrierErrorMessage: string;
565
+ loadingDeletingCarrier: string;
554
566
  };
555
567
  common: {
556
568
  actions: {
@@ -653,6 +665,7 @@ export declare const Element: ({ resources, ...props }: object & {
653
665
  };
654
666
  customs: {
655
667
  addDeclaration: string;
668
+ noResults: string;
656
669
  contents: {
657
670
  documents: string;
658
671
  gift: string;
@@ -660,6 +673,14 @@ export declare const Element: ({ resources, ...props }: object & {
660
673
  returnedGoods: string;
661
674
  sample: string;
662
675
  };
676
+ taxIds: {
677
+ sectionTitle: string;
678
+ addTaxId: string;
679
+ sectionTitleTooltip: string;
680
+ entityTypeTooltipText: string;
681
+ entityTypeTooltipPointOne: string;
682
+ entityTypeTooltipPointTwo: string;
683
+ };
663
684
  currencyChange: string;
664
685
  declarations: string;
665
686
  descriptionTooltip: {
@@ -677,6 +698,11 @@ export declare const Element: ({ resources, ...props }: object & {
677
698
  sku: string;
678
699
  value: string;
679
700
  valueQuantity: string;
701
+ taxId: string;
702
+ taxIdType: string;
703
+ taxIdTypeValue: string;
704
+ taxIssuingAuthority: string;
705
+ entityType: string;
680
706
  };
681
707
  nonDelivery: {
682
708
  returnToSender: string;
@@ -749,6 +775,8 @@ export declare const Element: ({ resources, ...props }: object & {
749
775
  shipment: string;
750
776
  shipments: string;
751
777
  warehouses: string;
778
+ funding: string;
779
+ paymentMethod: string;
752
780
  };
753
781
  months: {
754
782
  january: string;
@@ -827,6 +855,16 @@ export declare const Element: ({ resources, ...props }: object & {
827
855
  gram: string;
828
856
  kilogram: string;
829
857
  };
858
+ actionsMenu: {
859
+ menuTitle: string;
860
+ actions: {
861
+ printLabel: string;
862
+ voidLabel: string;
863
+ printForms: string;
864
+ edit: string;
865
+ remove: string;
866
+ };
867
+ };
830
868
  ZnVuZGluZ19zb3VyY2VfaWQgbXVzdCBiZSBhbiBpbnRlZ2Vy: string;
831
869
  T25seSByZXNpZGVudGlhbCBkZWxpdmVyeSBhZGRyZXNzZXMgYXJlIGFsbG93ZWQgZm9yIFVQUyBHcm91bmQgU2F2ZXIu: string;
832
870
  "VGhlIHNlbGVjdGVkIHNlcnZpY2UgaW5jbHVkZXMgaW5zdXJhbmNlIGZvciBhbiBpbnN1cmVkIGFtb3VudCB1cCB0byAkMTAwLgo=": string;
@@ -842,7 +880,11 @@ export declare const Element: ({ resources, ...props }: object & {
842
880
  };
843
881
  "account-settings": {
844
882
  messages: {
845
- noFundingSources: string;
883
+ transactionHistory: {
884
+ noTransactions: string;
885
+ };
886
+ noFundingSourceDescription: string;
887
+ noFundingSourceAction: string;
846
888
  };
847
889
  title: string;
848
890
  sections: {
@@ -98,7 +98,7 @@ export declare const Element: ({ resources, ...props }: object & {
98
98
  genericText: string;
99
99
  };
100
100
  };
101
- "shipengine-carriers": {
101
+ "manage-carriers": {
102
102
  title: string;
103
103
  headers: {
104
104
  accountCarriers: string;
@@ -176,6 +176,7 @@ export declare const Element: ({ resources, ...props }: object & {
176
176
  title: string;
177
177
  };
178
178
  };
179
+ noFundingSource: string;
179
180
  };
180
181
  "rate-details": {
181
182
  total: string;
@@ -360,6 +361,12 @@ export declare const Element: ({ resources, ...props }: object & {
360
361
  subtitle: string;
361
362
  inlineMessage: string;
362
363
  };
364
+ errors: {
365
+ noCarriers: {
366
+ title: string;
367
+ subtitle: string;
368
+ };
369
+ };
363
370
  success: {
364
371
  title: string;
365
372
  subtitle: string;
@@ -405,6 +412,7 @@ export declare const Element: ({ resources, ...props }: object & {
405
412
  returnToAddressIsDifferent: string;
406
413
  setDefault: string;
407
414
  shipFrom: string;
415
+ noWarehouses: string;
408
416
  };
409
417
  "manage-funding": {
410
418
  actions: {
@@ -452,6 +460,7 @@ export declare const Element: ({ resources, ...props }: object & {
452
460
  errors: {
453
461
  balanceUnknown: string;
454
462
  unableToFindBalance: string;
463
+ noFundingSource: string;
455
464
  };
456
465
  byoc: {
457
466
  invoiceNotification: string;
@@ -551,6 +560,9 @@ export declare const Element: ({ resources, ...props }: object & {
551
560
  toastTitle: string;
552
561
  toastBody: string;
553
562
  };
563
+ deleteCarrierErrorTitle: string;
564
+ deleteCarrierErrorMessage: string;
565
+ loadingDeletingCarrier: string;
554
566
  };
555
567
  common: {
556
568
  actions: {
@@ -653,6 +665,7 @@ export declare const Element: ({ resources, ...props }: object & {
653
665
  };
654
666
  customs: {
655
667
  addDeclaration: string;
668
+ noResults: string;
656
669
  contents: {
657
670
  documents: string;
658
671
  gift: string;
@@ -660,6 +673,14 @@ export declare const Element: ({ resources, ...props }: object & {
660
673
  returnedGoods: string;
661
674
  sample: string;
662
675
  };
676
+ taxIds: {
677
+ sectionTitle: string;
678
+ addTaxId: string;
679
+ sectionTitleTooltip: string;
680
+ entityTypeTooltipText: string;
681
+ entityTypeTooltipPointOne: string;
682
+ entityTypeTooltipPointTwo: string;
683
+ };
663
684
  currencyChange: string;
664
685
  declarations: string;
665
686
  descriptionTooltip: {
@@ -677,6 +698,11 @@ export declare const Element: ({ resources, ...props }: object & {
677
698
  sku: string;
678
699
  value: string;
679
700
  valueQuantity: string;
701
+ taxId: string;
702
+ taxIdType: string;
703
+ taxIdTypeValue: string;
704
+ taxIssuingAuthority: string;
705
+ entityType: string;
680
706
  };
681
707
  nonDelivery: {
682
708
  returnToSender: string;
@@ -749,6 +775,8 @@ export declare const Element: ({ resources, ...props }: object & {
749
775
  shipment: string;
750
776
  shipments: string;
751
777
  warehouses: string;
778
+ funding: string;
779
+ paymentMethod: string;
752
780
  };
753
781
  months: {
754
782
  january: string;
@@ -827,6 +855,16 @@ export declare const Element: ({ resources, ...props }: object & {
827
855
  gram: string;
828
856
  kilogram: string;
829
857
  };
858
+ actionsMenu: {
859
+ menuTitle: string;
860
+ actions: {
861
+ printLabel: string;
862
+ voidLabel: string;
863
+ printForms: string;
864
+ edit: string;
865
+ remove: string;
866
+ };
867
+ };
830
868
  ZnVuZGluZ19zb3VyY2VfaWQgbXVzdCBiZSBhbiBpbnRlZ2Vy: string;
831
869
  T25seSByZXNpZGVudGlhbCBkZWxpdmVyeSBhZGRyZXNzZXMgYXJlIGFsbG93ZWQgZm9yIFVQUyBHcm91bmQgU2F2ZXIu: string;
832
870
  "VGhlIHNlbGVjdGVkIHNlcnZpY2UgaW5jbHVkZXMgaW5zdXJhbmNlIGZvciBhbiBpbnN1cmVkIGFtb3VudCB1cCB0byAkMTAwLgo=": string;
@@ -842,7 +880,11 @@ export declare const Element: ({ resources, ...props }: object & {
842
880
  };
843
881
  "account-settings": {
844
882
  messages: {
845
- noFundingSources: string;
883
+ transactionHistory: {
884
+ noTransactions: string;
885
+ };
886
+ noFundingSourceDescription: string;
887
+ noFundingSourceAction: string;
846
888
  };
847
889
  title: string;
848
890
  sections: {
@@ -1,4 +1,4 @@
1
- import { SE } from "@shipengine/alchemy";
1
+ import { SE } from "@shipengine/react-api";
2
2
  export type ActionsProps = {
3
3
  onComplete?: (request: SE.VoidRequest, shipment: SE.SalesOrderShipment) => void;
4
4
  onSubmit?: () => Promise<void>;
@@ -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;