@shipengine/elements 1.9.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (241) hide show
  1. package/README.md +0 -4
  2. package/assertions-dfa95b4d.js +1 -0
  3. package/carrier-c2a5ed53.js +1 -0
  4. package/{carrier-logo-1b6c767e.js → carrier-logo-330e926f.js} +1 -1
  5. package/components.js +1 -1
  6. package/elements.js +1 -1
  7. package/hooks.js +1 -1
  8. package/index.js +1 -1
  9. package/money-d4f3d7c3.js +1 -0
  10. package/package.json +7 -3
  11. package/schemas.js +1 -1
  12. package/{shipment-90d35708.js → shipment-150160e0.js} +1 -1
  13. package/src/components/add-funds-form/add-funds-form.d.ts +1 -1
  14. package/src/components/auto-funding-form/auto-funding-form.d.ts +1 -1
  15. package/src/components/carrier-balance/carrier-balance.d.ts +1 -1
  16. package/src/components/collapsible-panel/collapsible-panel.d.ts +1 -1
  17. package/src/components/display-term/display-term.d.ts +1 -1
  18. package/src/components/edit-billing-form/edit-billing-form.d.ts +1 -1
  19. package/src/components/field/money-input/money-input.d.ts +1 -1
  20. package/src/components/field/rate-card/cost-breakdown/cost-breakdown.d.ts +1 -1
  21. package/src/components/field/rate-card/rate-card.d.ts +1 -1
  22. package/src/components/field/rate-select/rate-select.d.ts +1 -1
  23. package/src/components/fund-and-purchase/fund-and-purchase.d.ts +1 -1
  24. package/src/components/history/history-card/history-card.d.ts +1 -1
  25. package/src/components/items-breakdown/items-breakdown.d.ts +1 -1
  26. package/src/components/pager/pager.d.ts +1 -1
  27. package/src/components/rate-details/rate-details.d.ts +1 -1
  28. package/src/components/save-status/save-status.d.ts +1 -1
  29. package/src/components/service-points/service-points.d.ts +1 -1
  30. package/src/components/templates/address-display/address-display.d.ts +1 -1
  31. package/src/components/templates/address-preference-display/address-preference-display.d.ts +1 -1
  32. package/src/components/templates/address-preference-select/address-preference-select.d.ts +1 -1
  33. package/src/components/templates/connect-external-carrier-form/connect-external-carrier-form.d.ts +12 -0
  34. package/src/components/templates/connect-external-carrier-form/index.d.ts +1 -0
  35. package/src/components/templates/index.d.ts +1 -1
  36. package/src/components/templates/label/label.d.ts +1 -1
  37. package/src/components/templates/product-form/product-form.d.ts +1 -1
  38. package/src/components/templates/products-display/products-display.d.ts +1 -1
  39. package/src/components/templates/rate-form/rate-form.d.ts +3 -4
  40. package/src/components/templates/shipment/shipment.d.ts +3 -11
  41. package/src/components/templates/shipment-form/shipment-form.d.ts +2 -9
  42. package/src/components/templates/shipment-form/shipment-schema.d.ts +1 -1
  43. package/src/components/templates/suspend-sales-order/suspend-sales-order.d.ts +1 -1
  44. package/src/components/templates/suspend-shipment/suspend-shipment.d.ts +1 -1
  45. package/src/components/templates/wallet-form/edit-wallet-address-form.d.ts +1 -1
  46. package/src/components/templates/wallet-form/wallet-form.d.ts +2 -4
  47. package/src/components/templates/wallet-form/wallet-schema.d.ts +1 -1
  48. package/src/components/wallet-card/wallet-card.d.ts +1 -1
  49. package/src/components/warehouse-form/warehouse-form.d.ts +1 -1
  50. package/src/create-element/create-element.d.ts +10 -0
  51. package/src/create-element/element/element.d.ts +16 -0
  52. package/src/create-element/element/hooks/index.d.ts +1 -0
  53. package/src/create-element/element/hooks/use-i18n.d.ts +12 -0
  54. package/src/create-element/element/index.d.ts +3 -0
  55. package/src/create-element/element/utils/get-emotion-cache.d.ts +2 -0
  56. package/src/create-element/element/utils/index.d.ts +1 -0
  57. package/src/create-element/error-boundary/error-boundary.d.ts +21 -0
  58. package/src/create-element/error-boundary/index.d.ts +1 -0
  59. package/src/create-element/index.d.ts +1 -0
  60. package/src/elements/index.d.ts +5 -4
  61. package/src/elements/label-layout/label-layout-element.d.ts +1 -1
  62. package/src/elements/labels-grid/labels-grid.d.ts +2 -2
  63. package/src/elements/manage-carriers/index.d.ts +1 -0
  64. package/src/elements/{shipengine-carriers/shipengine-carriers.d.ts → manage-carriers/manage-carriers.d.ts} +52 -46
  65. package/src/elements/manage-external-carriers/index.d.ts +1 -0
  66. package/src/elements/manage-external-carriers/manage-external-carriers.d.ts +888 -0
  67. package/src/elements/manage-funding/manage-funding-element.d.ts +1 -1
  68. package/src/elements/manage-warehouses/manage-warehouses.d.ts +19 -2
  69. package/src/elements/payment-method-settings/payment-method-settings-element.d.ts +1 -1
  70. package/src/elements/purchase-label/configure-shipment.d.ts +4 -27
  71. package/src/elements/purchase-label/hooks/use-address.d.ts +1 -1
  72. package/src/elements/purchase-label/hooks/use-configure-shipment.d.ts +1 -1
  73. package/src/elements/purchase-label/hooks/use-customs.d.ts +1 -1
  74. package/src/elements/purchase-label/hooks/use-import-sales-order.d.ts +2 -2
  75. package/src/elements/purchase-label/hooks/use-load-shipment.d.ts +3 -3
  76. package/src/elements/purchase-label/hooks/use-pending-shipment.d.ts +1 -1
  77. package/src/elements/purchase-label/hooks/use-presets.d.ts +1 -1
  78. package/src/elements/purchase-label/hooks/use-rates-form.d.ts +1 -1
  79. package/src/elements/purchase-label/hooks/use-rates-with-cache.d.ts +1 -1
  80. package/src/elements/purchase-label/hooks/use-request-preferred-rates.d.ts +1 -1
  81. package/src/elements/purchase-label/hooks/use-request-rates.d.ts +1 -1
  82. package/src/elements/purchase-label/hooks/use-shipment-form.d.ts +1 -1
  83. package/src/elements/purchase-label/purchase-label-by-sales-order.d.ts +1 -1
  84. package/src/elements/purchase-label/purchase-label-by-shipment.d.ts +1 -1
  85. package/src/elements/purchase-label/purchase-label.d.ts +18 -41
  86. package/src/elements/shipment-summary/index.d.ts +1 -0
  87. package/src/elements/{view-shipment/view-shipment.d.ts → shipment-summary/shipment-summary.d.ts} +42 -59
  88. package/src/elements/shipments-grid/shipments-grid.d.ts +2 -2
  89. package/src/elements/theme-creator/theme-creator.d.ts +1 -1
  90. package/src/elements/transaction-history/index.d.ts +1 -0
  91. package/src/elements/{wallet-history/wallet-history-element.d.ts → transaction-history/transaction-history-element.d.ts} +1 -1
  92. package/src/elements/unit-settings/unit-settings-element.d.ts +1 -1
  93. package/src/elements/vat-settings/vat-settings-element.d.ts +1 -1
  94. package/src/elements/void-label/components/actions/actions.d.ts +1 -1
  95. package/src/elements/void-label/components/message/message.d.ts +1 -1
  96. package/src/elements/void-label/void-label.d.ts +33 -49
  97. package/src/elements-provider/elements-provider.d.ts +46 -0
  98. package/src/elements-provider/elements-test-provider.d.ts +3 -0
  99. package/src/elements-provider/hooks/index.d.ts +1 -0
  100. package/src/elements-provider/hooks/use-load-icons.d.ts +7 -0
  101. package/src/elements-provider/index.d.ts +1 -0
  102. package/src/factories/shipengine/address.d.ts +1 -1
  103. package/src/factories/shipengine/carrier.d.ts +1 -1
  104. package/src/factories/shipengine/index.d.ts +1 -1
  105. package/src/factories/shipengine/label.d.ts +1 -1
  106. package/src/factories/shipengine/money.d.ts +1 -1
  107. package/src/factories/shipengine/order-source.d.ts +1 -1
  108. package/src/factories/shipengine/package.d.ts +1 -1
  109. package/src/factories/shipengine/resource.d.ts +1 -1
  110. package/src/factories/shipengine/sales-order.d.ts +1 -1
  111. package/src/factories/shipengine/service-point.d.ts +1 -1
  112. package/src/factories/shipengine/service.d.ts +1 -1
  113. package/src/factories/shipengine/shipment.d.ts +1 -1
  114. package/src/factories/shipengine/{wallet-history.d.ts → transaction-history.d.ts} +1 -1
  115. package/src/factories/shipengine/warehouse.d.ts +1 -1
  116. package/src/factories/shipengine/weight.d.ts +1 -1
  117. package/src/features/index.d.ts +3 -3
  118. package/src/features/label-layout/label-layout.d.ts +1 -1
  119. package/src/features/label-layout/use-label-layout.d.ts +1 -1
  120. package/src/features/{shipengine-carriers → manage-carriers}/hooks/use-list-funding-source-carriers.d.ts +2 -2
  121. package/src/features/manage-carriers/index.d.ts +1 -0
  122. package/src/features/manage-carriers/manage-carriers-row/index.d.ts +1 -0
  123. 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
  124. package/src/features/manage-carriers/manage-carriers.d.ts +4 -0
  125. package/src/features/manage-external-carriers/index.d.ts +1 -0
  126. package/src/features/manage-external-carriers/manage-external-carriers.d.ts +4 -0
  127. package/src/features/manage-warehouses/manage-warehouses.d.ts +1 -1
  128. package/src/features/manage-warehouses/use-manage-warehouses.d.ts +9 -9
  129. package/src/features/manage-warehouses/warehouse-display/warehouse-display.d.ts +1 -1
  130. package/src/features/transaction-history/index.d.ts +1 -0
  131. package/src/features/transaction-history/transaction-history.d.ts +6 -0
  132. package/src/features/unit-settings/unit-settings.d.ts +1 -1
  133. package/src/features/unit-settings/use-unit-settings.d.ts +1 -1
  134. package/src/features/vat-settings/use-vat-settings.d.ts +5 -5
  135. package/src/hooks/here-map/init.d.ts +1 -1
  136. package/src/hooks/options/use-confirmation-options.d.ts +1 -1
  137. package/src/hooks/options/use-customs-contents-options.d.ts +1 -1
  138. package/src/hooks/options/use-customs-non-delivery-options.d.ts +1 -1
  139. package/src/hooks/options/use-insurance-provider-options.d.ts +1 -1
  140. package/src/hooks/options/use-package-options.d.ts +1 -1
  141. package/src/hooks/options/use-rate-options.d.ts +1 -1
  142. package/src/hooks/options/use-service-code-options.d.ts +1 -1
  143. package/src/hooks/options/use-service-points.d.ts +1 -1
  144. package/src/hooks/options/use-shipment-metadata.d.ts +1 -1
  145. package/src/hooks/options/use-shipping-presets-options.d.ts +1 -1
  146. package/src/hooks/options/use-warehouse-options.d.ts +1 -1
  147. package/src/hooks/use-address-validation.d.ts +1 -1
  148. package/src/hooks/use-get-or-create-shipment.d.ts +3 -3
  149. package/src/hooks/use-scrub-errors.d.ts +1 -1
  150. package/src/index.d.ts +1 -0
  151. package/src/locales/en/index.d.ts +1 -1
  152. package/src/mocks/carriers/handlers.d.ts +1 -1
  153. package/src/mocks/warehouses/handlers.d.ts +1 -1
  154. package/src/schemas/shipengine/money.d.ts +1 -1
  155. package/src/testing/test-utils.d.ts +7 -1
  156. package/src/themes/fallback.d.ts +3 -0
  157. package/src/themes/index.d.ts +4 -0
  158. package/src/types/carrier-metadata.d.ts +1 -1
  159. package/src/types/preferred-rates.d.ts +1 -1
  160. package/src/types/shipping-preset/shipping-preset.d.ts +1 -1
  161. package/src/utilities/error.d.ts +1 -1
  162. package/src/utilities/feature-flags/feature-flags.d.ts +18 -0
  163. package/src/utilities/feature-flags/index.d.ts +2 -0
  164. package/src/utilities/feature-flags/types.d.ts +141 -0
  165. package/src/utilities/money.d.ts +1 -1
  166. package/src/utilities/rates.d.ts +1 -1
  167. package/src/utilities/shipengine/address.d.ts +1 -1
  168. package/src/utilities/shipengine/carrier.d.ts +1 -1
  169. package/src/utilities/shipengine/dimensions.d.ts +1 -1
  170. package/src/utilities/shipengine/sales-order.d.ts +1 -1
  171. package/src/utilities/shipengine/shipment.d.ts +1 -1
  172. package/src/utilities/shipengine/warehouses.d.ts +1 -1
  173. package/src/utilities/shipengine/weight.d.ts +1 -1
  174. package/src/workflows/account-settings/account-settings.d.ts +7 -14
  175. package/src/workflows/{connect-carrier/connect-carrier.d.ts → carrier-services/carrier-services.d.ts} +35 -49
  176. package/src/workflows/carrier-services/index.d.ts +1 -0
  177. package/src/workflows/{manage-wallet-workflow/manage-wallet-workflow.d.ts → connect-external-carrier/connect-external-carrier.d.ts} +16 -21
  178. package/src/workflows/connect-external-carrier/index.d.ts +1 -0
  179. package/src/workflows/index.d.ts +3 -2
  180. package/src/workflows/label-workflow/index.d.ts +1 -0
  181. package/src/workflows/{purchase-label-workflow/purchase-label-workflow.d.ts → label-workflow/label-workflow.d.ts} +16 -34
  182. package/src/workflows/onboarding/components/carrier-recovery-form/carrier-recovery-form.d.ts +1 -1
  183. package/src/workflows/onboarding/components/funding-and-carrier-connection-step/funding-and-carrier-connection-step.d.ts +2 -4
  184. package/src/workflows/onboarding/components/funding-and-carrier-connection-step/use-funding-and-carrier-connection-step.d.ts +1 -1
  185. package/src/workflows/onboarding/components/onboarding-wizard/onboarding-wizard.d.ts +2 -9
  186. package/src/workflows/onboarding/components/ship-from-address-step/ship-from-address-step.d.ts +1 -1
  187. package/src/workflows/onboarding/components/ship-from-address-step/use-ship-from-address-step.d.ts +1 -1
  188. package/src/workflows/onboarding/components/terms-agreement-form/terms-agreement-form.d.ts +1 -1
  189. package/src/workflows/onboarding/components/terms-agreement-step/terms-agreement-step.d.ts +1 -1
  190. package/src/workflows/onboarding/components/terms-agreement-step/use-terms-agreement-step.d.ts +1 -1
  191. package/src/workflows/onboarding/onboarding.d.ts +22 -70
  192. package/story-notes-c714d2ed.js +1 -0
  193. package/{suspend-text-c8c7b6b6.js → suspend-text-cad3a977.js} +1 -1
  194. package/transaction-history-element-cbfe487c.js +1 -0
  195. package/{use-page-layout-93ffae78.js → use-page-layout-8cb5075f.js} +1 -1
  196. package/use-scrub-errors-9870a6f3.js +1 -0
  197. package/use-toggle-866d7938.js +1 -0
  198. package/use-unit-settings-a5bae16e.js +1 -0
  199. package/utilities.js +1 -1
  200. package/validation-528e7834.js +1 -0
  201. package/wallet-form-9e4bfaea.js +1 -0
  202. package/warehouse-form-da6a7ac5.js +34 -0
  203. package/{warehouses-dfcdce23.js → warehouses-a83188ab.js} +1 -1
  204. package/workflows.js +1 -1
  205. package/carrier-2abb4760.js +0 -1
  206. package/feature-flags-3e03717c.js +0 -1
  207. package/money-fbc4d0b3.js +0 -1
  208. package/payment-method-settings-element-595cc38d.js +0 -1
  209. package/src/components/templates/connect-carrier-form/connect-carrier-form.d.ts +0 -12
  210. package/src/components/templates/connect-carrier-form/index.d.ts +0 -1
  211. package/src/elements/external-carriers/external-carriers.d.ts +0 -941
  212. package/src/elements/external-carriers/index.d.ts +0 -1
  213. package/src/elements/shipengine-carriers/index.d.ts +0 -1
  214. package/src/elements/view-shipment/index.d.ts +0 -1
  215. package/src/elements/wallet-history/index.d.ts +0 -1
  216. package/src/features/external-carriers/external-carriers.d.ts +0 -11
  217. package/src/features/external-carriers/index.d.ts +0 -1
  218. package/src/features/shipengine-carriers/index.d.ts +0 -1
  219. package/src/features/shipengine-carriers/shipengine-carriers-row/index.d.ts +0 -1
  220. package/src/features/shipengine-carriers/shipengine-carriers.d.ts +0 -10
  221. package/src/features/wallet-history/index.d.ts +0 -1
  222. package/src/features/wallet-history/wallet-history.d.ts +0 -6
  223. package/src/hooks/use-elements.d.ts +0 -35
  224. package/src/utilities/feature-flags.d.ts +0 -232
  225. package/src/workflows/connect-carrier/index.d.ts +0 -1
  226. package/src/workflows/manage-wallet-workflow/index.d.ts +0 -1
  227. package/src/workflows/purchase-label-workflow/index.d.ts +0 -1
  228. package/story-notes-ce2d8cca.js +0 -1
  229. package/use-scrub-errors-2c4db406.js +0 -1
  230. package/use-toggle-838d2ebd.js +0 -1
  231. package/validation-b941a548.js +0 -1
  232. package/wallet-form-3981400b.js +0 -1
  233. package/wallet-history-5b34c856.js +0 -1
  234. package/warehouse-form-c0b3ea78.js +0 -34
  235. /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
  236. /package/src/features/{shipengine-carriers → manage-carriers}/hooks/index.d.ts +0 -0
  237. /package/src/features/{shipengine-carriers → manage-carriers}/hooks/use-carrier-metadata.d.ts +0 -0
  238. /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
  239. /package/src/features/{shipengine-carriers/shipengine-carriers.styles.d.ts → manage-carriers/manage-carriers.styles.d.ts} +0 -0
  240. /package/src/features/{wallet-history/wallet-history.styles.d.ts → transaction-history/transaction-history.styles.d.ts} +0 -0
  241. /package/src/workflows/{manage-wallet-workflow → carrier-services}/use-get-wallet-panel-props.d.ts +0 -0
@@ -1,941 +0,0 @@
1
- /// <reference types="react" />
2
- import { ExternalCarriersProps } from "../../features";
3
- /**
4
- * `availableCarrierConnections` is a set of carrier codes for carriers that may be added. If this is omitted,
5
- * new carriers may not be added by this element.
6
- */
7
- export type ComponentProps = ExternalCarriersProps;
8
- /**
9
- * # ExternalCarriers Component
10
- *
11
- * @param ComponentProps The base props that will be passed into the `<ExternalCarriers />` component.
12
- *
13
- * @returns Element A React element that renders the `<ExternalCarriers />` component allowing users
14
- * to view a list of their own carrier accounts that have been connected to their ShipEngine account,
15
- * and to add additional carriers.
16
- * This component is composed in the `<AccountSettings />` Element.
17
- *
18
- * @example
19
- * ```tsx
20
- * (() => {
21
- * const features = useFeatures("Global");
22
- *
23
- * return <ExternalCarriers.Component features={features} />;
24
- * })();
25
- * ```
26
- *
27
- * <br />
28
- *
29
- * @see {@link ExternalCarriers.ComponentProps | The props that are passed into the `<ExternalCarriers />` component}
30
- * @see {@link AccountSettings.Element | The `<AccountSettings />` component renders the `<ExternalCarriers />` component}
31
- */
32
- export declare const Component: ({ features, isModalFullScreen }: ComponentProps) => import("@emotion/react/jsx-runtime").JSX.Element;
33
- export declare const Element: ({ resources, ...props }: ExternalCarriersProps & {
34
- resources?: {
35
- en: {
36
- "wallet-history": {
37
- actions: {
38
- downloadCsv: string;
39
- chooseDate: string;
40
- tryAgain: string;
41
- };
42
- errors: {
43
- failureToFetch: string;
44
- };
45
- dateRange: string;
46
- details: {
47
- inaccurateWeight: string;
48
- };
49
- historyOptions: {
50
- custom: string;
51
- last30days: string;
52
- thisMonth: string;
53
- lastMonth: string;
54
- };
55
- };
56
- "void-label": {
57
- title: string;
58
- actions: {
59
- complete: string;
60
- confirmVoid: string;
61
- viewShipment: string;
62
- };
63
- errorMessages: {
64
- labelIdRequired: string;
65
- };
66
- resultMessages: {
67
- approved: string;
68
- rejected: string;
69
- dpdwallet: string;
70
- };
71
- refund_process: string;
72
- refund_rules: string;
73
- resultTitles: {
74
- approved: string;
75
- rejected: string;
76
- };
77
- voidedOn: string;
78
- };
79
- "view-shipment": {
80
- title: string;
81
- actions: {
82
- buyAnotherLabel: string;
83
- hideItems: string;
84
- printForms: string;
85
- printLabel: string;
86
- schedulePickup: string;
87
- showItems: string;
88
- void: string;
89
- download: string;
90
- };
91
- fields: {
92
- dimensions: string;
93
- estimatedShipping: string;
94
- items: string;
95
- orderDate: string;
96
- orderValue: string;
97
- requestedShipping: string;
98
- shipDate: string;
99
- shipTo: string;
100
- warehouse: string;
101
- weight: string;
102
- insuredValue: string;
103
- deliveryConfirmation: string;
104
- };
105
- highVolumeForms: string;
106
- multipleShippingServices: string;
107
- sections: {
108
- labels: string;
109
- shipmentSummary: string;
110
- };
111
- noLabels: string;
112
- };
113
- "vat-settings": {
114
- addNew: string;
115
- vatNumber: string;
116
- vatRegistrationTooltip: string;
117
- vatFormText: string;
118
- vatFormRegisterLater: string;
119
- vatNumberInputHint: string;
120
- vatNumberInputPlaceholder: string;
121
- verifiedVat: string;
122
- vatFormErrors: {
123
- invalidFieldValue: string;
124
- verificationFailure: string;
125
- forbidden: string;
126
- connectionNotSupported: string;
127
- genericTitle: string;
128
- genericText: string;
129
- };
130
- };
131
- "shipengine-carriers": {
132
- title: string;
133
- headers: {
134
- accountCarriers: string;
135
- carriers: string;
136
- settings: string;
137
- };
138
- actions: {
139
- status: {
140
- connected: string;
141
- notConnected: string;
142
- };
143
- };
144
- };
145
- "register-wallet": {
146
- sections: {
147
- setup: {
148
- title: string;
149
- subtitle: string;
150
- hiddenTermsSubtitle: string;
151
- descriptionTitle: string;
152
- description: string;
153
- };
154
- billing: {
155
- title: string;
156
- cardSubTitle: string;
157
- addressSubTitle: string;
158
- info: string;
159
- };
160
- vatSettings: {
161
- title: string;
162
- };
163
- carriers: {
164
- title: string;
165
- subtitle: string;
166
- };
167
- notifications: {
168
- error: {
169
- title: string;
170
- };
171
- info: {
172
- title: string;
173
- description: string;
174
- };
175
- poBox: {
176
- title: string;
177
- description: string;
178
- };
179
- carrier: {
180
- title: string;
181
- confirmAddress: string;
182
- description: string;
183
- };
184
- blackBox: {
185
- description: string;
186
- };
187
- };
188
- };
189
- settings: {
190
- title: string;
191
- billing: {
192
- title: string;
193
- subtitleCard: string;
194
- subtitleBilling: string;
195
- };
196
- };
197
- };
198
- "register-carrier": {
199
- formTitle: {
200
- default: string;
201
- new: string;
202
- edit: string;
203
- };
204
- notifications: {
205
- error: {
206
- title: string;
207
- };
208
- };
209
- };
210
- "rate-details": {
211
- total: string;
212
- subtotal: string;
213
- registerVat: string;
214
- concepts: {
215
- confirmation: string;
216
- uncategorized: string;
217
- shipping: string;
218
- insurance: string;
219
- confirm: string;
220
- discount: string;
221
- fuel_charge: string;
222
- additional_fees: string;
223
- /**
224
- * # ExternalCarriers Component
225
- *
226
- * @param ComponentProps The base props that will be passed into the `<ExternalCarriers />` component.
227
- *
228
- * @returns Element A React element that renders the `<ExternalCarriers />` component allowing users
229
- * to view a list of their own carrier accounts that have been connected to their ShipEngine account,
230
- * and to add additional carriers.
231
- * This component is composed in the `<AccountSettings />` Element.
232
- *
233
- * @example
234
- * ```tsx
235
- * (() => {
236
- * const features = useFeatures("Global");
237
- *
238
- * return <ExternalCarriers.Component features={features} />;
239
- * })();
240
- * ```
241
- *
242
- * <br />
243
- *
244
- * @see {@link ExternalCarriers.ComponentProps | The props that are passed into the `<ExternalCarriers />` component}
245
- * @see {@link AccountSettings.Element | The `<AccountSettings />` component renders the `<ExternalCarriers />` component}
246
- */
247
- tariff: string;
248
- tax: string;
249
- delivery: string;
250
- handling: string;
251
- special_goods: string;
252
- pickup: string;
253
- location_fee: string;
254
- oversize: string;
255
- returns: string;
256
- notifications: string;
257
- tip: string;
258
- duties_and_taxes: string;
259
- brokerage_fee: string;
260
- admin_fee: string;
261
- adjustment: string;
262
- auctane_service_fee: string;
263
- product_price: string;
264
- };
265
- };
266
- "purchase-label": {
267
- title: string;
268
- actions: {
269
- calculateRates_one: string;
270
- calculateRates_other: string;
271
- hideItems: string;
272
- purchaseLabel: string;
273
- purchaseNow: string;
274
- showItems: string;
275
- showMoreRates: string;
276
- showFewerRates: string;
277
- saveRate: string;
278
- };
279
- balance: {
280
- currentBalance: string;
281
- insufficientBalanceCTA: string;
282
- };
283
- cta: {
284
- addPackageDetails: string;
285
- };
286
- errorMessages: {
287
- customsItemsRequired: string;
288
- invalidAddress: string;
289
- noRates: string;
290
- salesOrderNotLoaded: string;
291
- unsupportedAddress: string;
292
- saveRateFailedMessage: string;
293
- saveRateFailedTitle: string;
294
- };
295
- errorTypes: {
296
- results: string;
297
- };
298
- fields: {
299
- "requires-additional-handling": string;
300
- addOns: string;
301
- contentDescription: string;
302
- confirmation: string;
303
- dimensions: {
304
- length: string;
305
- width: string;
306
- height: string;
307
- };
308
- dimensionsGroup: string;
309
- estimatedShipping: string;
310
- insurance: string;
311
- insuranceProvider: string;
312
- insuredValue: string;
313
- items: string;
314
- orderDate: string;
315
- orderValue: string;
316
- packageCode: string;
317
- requestedShipping: string;
318
- shipDate: string;
319
- service: string;
320
- shipTo: string;
321
- addShipToAddress: string;
322
- warehouse: string;
323
- weight: {
324
- whole: string;
325
- fractional: string;
326
- };
327
- weightGroup: string;
328
- today: string;
329
- };
330
- hints: {
331
- contentDescription: string;
332
- };
333
- loading: {
334
- calculatingRates: string;
335
- };
336
- modes: {
337
- browseRates: string;
338
- selectService: string;
339
- };
340
- multipleShippingServices: string;
341
- schemaErrors: {
342
- shipFromUnitedStatesOnly: string;
343
- shipFromAddressRequired: string;
344
- needToAcknowledge: string;
345
- };
346
- rates: {
347
- requestedShippingNotification: string;
348
- uspsMediaMailAcknowledgement: string;
349
- uspsFirstClassMailAcknowledgement_leof: string;
350
- rateSavings: string;
351
- upsGroundSaverTermsAcknowledgement: string;
352
- dhlExpressTermsAcknowledgement: string;
353
- noRateService: string;
354
- };
355
- requirements: {
356
- noWarehouse: string;
357
- noCarrier: string;
358
- noWarehouseOrCarrier: string;
359
- };
360
- servicePoints: {
361
- searchLabel: string;
362
- noRatesForType: string;
363
- dropOff: string;
364
- pickUp: string;
365
- closed: string;
366
- hideLocations: string;
367
- moreLocations: string;
368
- nearestLocation: string;
369
- open: string;
370
- nextOpeningDay: string;
371
- until: string;
372
- selected: string;
373
- select: string;
374
- today: string;
375
- viewMap: string;
376
- otherLocations: string;
377
- noServicePointsForService: string;
378
- error: string;
379
- paperless: string;
380
- localTimeDisclaimer: string;
381
- };
382
- shipToAddressFormFields: string;
383
- sections: {
384
- customsForm: string;
385
- shipment: string;
386
- rate_one: string;
387
- rate_other: string;
388
- payment: string;
389
- };
390
- };
391
- "payment-method": {
392
- title: string;
393
- };
394
- onboarding: {
395
- title: string;
396
- inlineTitle: string;
397
- accountRegistration: {
398
- action: string;
399
- title: string;
400
- subtitle: string;
401
- welcome: string;
402
- messageLine1: string;
403
- partnerMessageLine1: string;
404
- messageLine2: string;
405
- };
406
- stepLabel: {
407
- accountRegistration: string;
408
- termsAgreement: string;
409
- shipFromAddress: string;
410
- fundingAndCarrierConnection: string;
411
- };
412
- warehouse: {
413
- title: string;
414
- subtitle: string;
415
- inlineMessage: string;
416
- };
417
- success: {
418
- title: string;
419
- subtitle: string;
420
- action: string;
421
- };
422
- termsAndAgreementLinkText: {
423
- shipEngineToS: string;
424
- auctanePrivacyPolicy: string;
425
- aHR0cHM6Ly9teWRobC5leHByZXNzLmRobC91cy9lbi9sZWdhbC90ZXJtcy1hbmQtY29uZGl0aW9ucy5odG1s: string;
426
- "aHR0cHM6Ly93d3cuc3RhbXBzLmNvbS9wcml2YWN5LXBvbGljeQ==": string;
427
- "aHR0cHM6Ly93d3cuc3RhbXBzLmNvbS9jb25kaXRpb25zLw==": string;
428
- "aHR0cHM6Ly93d3cudXBzLmNvbS91cy9lbi9zdXBwb3J0L3NoaXBwaW5nLXN1cHBvcnQvc2hpcHBpbmctc3BlY2lhbC1jYXJlLXJlZ3VsYXRlZC1pdGVtcy9wcm9oaWJpdGVkLWl0ZW1zLnBhZ2U=": string;
429
- aHR0cHM6Ly93d3cudXBzLmNvbS9hc3NldHMvcmVzb3VyY2VzL21lZGlhL2VuX1VTL1VQU19EQVBfVEMucGRm: string;
430
- "aHR0cHM6Ly93d3cudXBzLmNvbS9hc3NldHMvcmVzb3VyY2VzL21lZGlhL2VuX1VTL1VUQS5wZGY=": string;
431
- "aHR0cHM6Ly93d3cuZXZyaS5jb20vdGVybXMtYW5kLWNvbmRpdGlvbnM=": string;
432
- "aHR0cHM6Ly93d3cueW9kZWxkaXJlY3QuY28udWsvY29udGVudC9hYm91dC10ZXJtcw==": string;
433
- aHR0cHM6Ly93d3cuc2hpcHN0YXRpb24uY29tL3Rlcm1zLXNlcnZpY2UtdW5pdGVkLWtpbmdkb20v: string;
434
- "aHR0cHM6Ly93d3cuZHBkLmNvLnVrL3N0YW5kYXJkX3Rlcm1zX2FuZF9jb25kaXRpb25zLmpzcA==": string;
435
- aHR0cHM6Ly93d3cuZ29nbG9iYWxwb3N0LmNvbS9jb25kaXRpb25z: string;
436
- aHR0cHM6Ly93d3cucHVyb2xhdG9yLmNvbS9mci9tb2RhbGl0ZXMtZXQtY29uZGl0aW9ucy1kZS1zZXJ2aWNl: string;
437
- aHR0cHM6Ly93d3cucHVyb2xhdG9yLmNvbS9lbi90ZXJtcy1hbmQtY29uZGl0aW9ucy1zZXJ2aWNl: string;
438
- };
439
- termsAndAgreementTitles: {
440
- "WW9kZWwgRGlyZWN0IC0gVGVybXMgYW5kIENvbmRpdGlvbnMgKOKAnFRlcm1z4oCdKQ==": string;
441
- "RXZyaSBTZW5kIFRlcm1zICYgQ29uZGl0aW9ucw==": string;
442
- "VGVybXMgb2YgU2VydmljZSBVbml0ZWQgS2luZ2RvbQ==": string;
443
- RFBEIFN0YW5kYXJkIFRlcm1zIGFuZCBDb25kaXRpb25z: string;
444
- "R2xvYmFsUG9zdCBUZXJtcyBhbmQgQ29uZGl0aW9ucw==": string;
445
- "UHVyb2xhdG9yIFRlcm1zIGFuZCBDb25kaXRpb25zIG9mIFNlcnZpY2U=": string;
446
- UHVyb2xhdG9yIE1vZGFsaXTDqXMgZXQgY29uZGl0aW9ucyBkZSBzZXJ2aWNl: string;
447
- };
448
- };
449
- "manage-warehouses": {
450
- title: string;
451
- addNew: string;
452
- editWarehouse: string;
453
- contactName: string;
454
- default: string;
455
- isDefault: string;
456
- locationName: string;
457
- residentialAddress: string;
458
- returnTo: string;
459
- returnToAddressIsDifferent: string;
460
- setDefault: string;
461
- shipFrom: string;
462
- };
463
- "manage-funding": {
464
- actions: {
465
- addFunds: string;
466
- addFundsAndPurchase: string;
467
- addNow: string;
468
- saveRule: string;
469
- };
470
- autoFunding: {
471
- edit: string;
472
- editSettings: string;
473
- error: {
474
- title: string;
475
- message: string;
476
- };
477
- isEnabledCTA: string;
478
- isEnabled: string;
479
- isLoading: string;
480
- lowBalancePurchaseThreshold: string;
481
- maximumPurchasesPerDay: string;
482
- purchaseAmount: string;
483
- readSettings: string;
484
- };
485
- addFunds: {
486
- custom: string;
487
- error: {
488
- title: string;
489
- message: string;
490
- };
491
- isLoading: string;
492
- labels: {
493
- amount: string;
494
- };
495
- minimumPurchaseAmount: string;
496
- other: string;
497
- };
498
- fundAndPurchase: {
499
- finalBalance: string;
500
- insufficientFunds: string;
501
- insufficientFundsTitle: string;
502
- negativeBalance: string;
503
- negativeBalanceTitle: string;
504
- newBalance: string;
505
- };
506
- errors: {
507
- balanceUnknown: string;
508
- unableToFindBalance: string;
509
- };
510
- byoc: {
511
- invoiceNotification: string;
512
- };
513
- currentBalance: string;
514
- maximumBalanceAmount: string;
515
- };
516
- "manage-defaults": {
517
- label: {
518
- title: string;
519
- letter: {
520
- title: string;
521
- description: string;
522
- };
523
- purchase: {
524
- title: string;
525
- description: string;
526
- };
527
- thermal: {
528
- title: string; /**
529
- * # ExternalCarriers Component
530
- *
531
- * @param ComponentProps The base props that will be passed into the `<ExternalCarriers />` component.
532
- *
533
- * @returns Element A React element that renders the `<ExternalCarriers />` component allowing users
534
- * to view a list of their own carrier accounts that have been connected to their ShipEngine account,
535
- * and to add additional carriers.
536
- * This component is composed in the `<AccountSettings />` Element.
537
- *
538
- * @example
539
- * ```tsx
540
- * (() => {
541
- * const features = useFeatures("Global");
542
- *
543
- * return <ExternalCarriers.Component features={features} />;
544
- * })();
545
- * ```
546
- *
547
- * <br />
548
- *
549
- * @see {@link ExternalCarriers.ComponentProps | The props that are passed into the `<ExternalCarriers />` component}
550
- * @see {@link AccountSettings.Element | The `<AccountSettings />` component renders the `<ExternalCarriers />` component}
551
- */
552
- description: string;
553
- };
554
- };
555
- status: {
556
- saving: string;
557
- saved: string;
558
- savingFailed: string;
559
- };
560
- units: {
561
- title: string;
562
- dimensions: {
563
- title: string;
564
- standard: string;
565
- metric: string;
566
- };
567
- weight: {
568
- title: string;
569
- standard: string;
570
- g: string;
571
- kg: string;
572
- };
573
- };
574
- };
575
- "list-shipments": {
576
- title: string;
577
- headers: {
578
- created: string;
579
- download: string;
580
- shipmentId: string;
581
- shipDate: string;
582
- shipTo: string;
583
- };
584
- actions: {
585
- download: {
586
- pdf: string;
587
- };
588
- };
589
- };
590
- "list-labels": {
591
- title: string;
592
- headers: {
593
- created: string;
594
- download: string;
595
- labelId: string;
596
- service: string;
597
- shipTo: string;
598
- };
599
- actions: {
600
- download: {
601
- pdf: string;
602
- };
603
- };
604
- };
605
- "connect-carrier": {
606
- actions: {
607
- cancel: string;
608
- carrierSettings: string;
609
- connectCarriers: string;
610
- disconnect: string;
611
- disconnectCarrier: string;
612
- };
613
- noCarriersDescription: string;
614
- registrationForm: {
615
- error: string;
616
- title: string;
617
- betaWarning: string;
618
- };
619
- search: string;
620
- settingsModal: {
621
- closeDialog: string;
622
- header: string;
623
- };
624
- status: {
625
- connected: string;
626
- };
627
- disconnectDropdown: {
628
- toastTitle: string;
629
- toastBody: string;
630
- };
631
- };
632
- common: {
633
- actions: {
634
- add: string;
635
- cancel: string;
636
- close: string;
637
- confirm: string;
638
- connect: string;
639
- continue: string;
640
- delete: string;
641
- edit: string;
642
- hide: string;
643
- parse: string;
644
- purchase: string;
645
- remove: string;
646
- save: string;
647
- skipForNow: string;
648
- submit: string;
649
- tryAgain: string;
650
- };
651
- address: {
652
- fields: {
653
- name: string;
654
- company: string;
655
- county: string;
656
- countryCode: string;
657
- addressLine1: string;
658
- addressLine2: string;
659
- cityLocality: string;
660
- stateProvince: string;
661
- postalCode: string;
662
- phone: string;
663
- email: string;
664
- addressResidentialIndicator: string;
665
- };
666
- noResults: string;
667
- subFields: {
668
- optional: string;
669
- };
670
- parserFields: {
671
- fullAddress: string;
672
- };
673
- paste: string;
674
- preference: {
675
- confirm: string;
676
- addressNotValidated: string;
677
- modified: string;
678
- title: string;
679
- originalAddress: string;
680
- matchedAddress: string;
681
- unableToValidate: string;
682
- use: {
683
- originalAddress: string;
684
- matchedAddress: string;
685
- };
686
- };
687
- validation: {
688
- notValidated: string;
689
- validated: string;
690
- };
691
- };
692
- billing: {
693
- fields: {
694
- differentBillingAddress: string;
695
- name: string;
696
- cardNumber: string;
697
- expiration: string;
698
- cvv: string;
699
- cvvPlaceholder: string;
700
- expirationPlaceholder: string;
701
- cardNumberPlaceholder: string;
702
- };
703
- };
704
- carriers: {
705
- fields: {
706
- agreement: string;
707
- };
708
- terms: {
709
- agreeToTerms: string;
710
- title: string;
711
- };
712
- };
713
- charsetWarnings: {
714
- name: {
715
- message: string;
716
- };
717
- address: {
718
- message: string;
719
- title: string;
720
- };
721
- };
722
- confirmationTypes: {
723
- adultSignature: string;
724
- delivery: string;
725
- deliveryMailed: string;
726
- directSignature: string;
727
- none: string;
728
- signature: string;
729
- verbalConfirmation: string;
730
- };
731
- customs: {
732
- addDeclaration: string;
733
- contents: {
734
- documents: string;
735
- gift: string;
736
- merchandise: string;
737
- returnedGoods: string;
738
- sample: string;
739
- };
740
- currencyChange: string;
741
- declarations: string;
742
- descriptionTooltip: {
743
- message: string;
744
- example1: string;
745
- example2: string;
746
- };
747
- fields: {
748
- contentsType: string;
749
- countryOfOrigin: string;
750
- description: string;
751
- harmonizedTariffCode: string;
752
- ifDeliveryFails: string;
753
- quantity: string;
754
- sku: string;
755
- value: string;
756
- valueQuantity: string;
757
- };
758
- nonDelivery: {
759
- returnToSender: string;
760
- treatAsAbandoned: string;
761
- };
762
- removeAllDeclarations: string;
763
- total: string;
764
- };
765
- errorMessages: {
766
- invalidNameOrCompany: string;
767
- parsingFailure: string;
768
- incompleteLabelPurchaseRequirements: string;
769
- shipmentCancelled: string;
770
- unableToLoad: {
771
- accountSettings: string;
772
- autoFundingSettings: string;
773
- carrier: string;
774
- carriers: string;
775
- connectCarrierForm: string;
776
- fundingSourceMetadata: string;
777
- label: string;
778
- labels: string;
779
- salesOrder: string;
780
- shipment: string;
781
- shipments: string;
782
- warehouses: string;
783
- };
784
- emailIsRequired: string;
785
- unknown: string;
786
- noRatesAvailable: string;
787
- };
788
- errorTypes: {
789
- accountStatus: string;
790
- businessRules: string;
791
- integrations: string;
792
- purchase: string;
793
- rateInvalid: string;
794
- saveRate: string;
795
- security: string;
796
- shipmentStatus: string;
797
- system: string;
798
- unknown: string;
799
- validation: string;
800
- };
801
- grid: {
802
- "row-count_one": string;
803
- "row-count_other": string;
804
- rows: string;
805
- };
806
- insuranceProviders: {
807
- carrier: string;
808
- none: string;
809
- shipsurance: string;
810
- thirdParty: string;
811
- };
812
- loading: {
813
- accountSettings: string;
814
- carrier: string;
815
- carriers: string;
816
- carrierServices: string;
817
- connectCarrierForm: string;
818
- connectingCarriers: string;
819
- creatingFundingSource: string;
820
- data: string;
821
- importingSalesOrder: string;
822
- label: string;
823
- labels: string;
824
- onboarding: string;
825
- salesOrder: string;
826
- shipment: string;
827
- shipments: string;
828
- warehouses: string;
829
- };
830
- months: {
831
- january: string;
832
- february: string;
833
- march: string;
834
- april: string;
835
- may: string;
836
- june: string;
837
- july: string;
838
- august: string;
839
- september: string;
840
- october: string;
841
- november: string;
842
- december: string;
843
- };
844
- packageCategories: {
845
- customPackages: string;
846
- };
847
- packageCodes: {
848
- package: string;
849
- };
850
- "powered-by": string;
851
- schema: {
852
- optionalLabel: string;
853
- };
854
- required: string;
855
- schemaErrors: {
856
- notAValidPhoneNumber: string;
857
- mustAgreeToTerms: string;
858
- group: {
859
- allMeasurementsOrNone: string;
860
- };
861
- invalidAddressName: string;
862
- invalidAddressNameStrict: string;
863
- invalidAddressOnboarding: string;
864
- invalidAddressPoBox: string;
865
- invalidCreditCardType: string;
866
- invalidExpirationDate: string;
867
- invalidPostalCode: string;
868
- invalidStateProvince: string;
869
- invalidString: string;
870
- nonnegative: string;
871
- nonnegativeList: string;
872
- positive: string;
873
- positiveList: string;
874
- required: string;
875
- requiredList: string;
876
- tooFewCharacters: string;
877
- tooManyCharacters: string;
878
- };
879
- shippingPresets: {
880
- apply: string;
881
- platform: string;
882
- user: string;
883
- };
884
- terms: {
885
- fields: {
886
- agreement: string;
887
- };
888
- agreeToTerms: string;
889
- carriersTitle: string;
890
- fundingSourceTitle: string;
891
- };
892
- weight: {
893
- ounces: string;
894
- pounds_one: string;
895
- pounds_other: string;
896
- kilogram: string;
897
- gram: string;
898
- };
899
- units: {
900
- inch: string;
901
- lbs: string;
902
- oz: string;
903
- centimeter: string;
904
- gram: string;
905
- kilogram: string;
906
- };
907
- ZnVuZGluZ19zb3VyY2VfaWQgbXVzdCBiZSBhbiBpbnRlZ2Vy: string;
908
- T25seSByZXNpZGVudGlhbCBkZWxpdmVyeSBhZGRyZXNzZXMgYXJlIGFsbG93ZWQgZm9yIFVQUyBHcm91bmQgU2F2ZXIu: string;
909
- "VGhlIHNlbGVjdGVkIHNlcnZpY2UgaW5jbHVkZXMgaW5zdXJhbmNlIGZvciBhbiBpbnN1cmVkIGFtb3VudCB1cCB0byAkMTAwLgo=": string;
910
- "VGhlIHNlbGVjdGVkIHNlcnZpY2UgaW5jbHVkZXMgaW5zdXJhbmNlIGZvciBhbiBpbnN1cmVkIGFtb3VudCB1cCB0byAkNTAuCg==": string;
911
- QSBzaGlwcGluZyBjYXJyaWVyIGVycm9yIG9jY3VycmVkOiBJbnN1ZmZpY2llbnQgYWNjb3VudCBiYWxhbmNlLiBBY2NvdW50IGV4Y2VwdGlvbiBFeGNlcHRpb24gd2l0aCBjb2RlIDB4MDA1NjAxMDE7IG1vZHVsZSA4NiwgY2F0ZWdvcnkgMSwgaXRlbSAx: string;
912
- "QWRkcmVzcyBub3QgZm91bmQ=": string;
913
- QSBzaGlwcGluZyBjYXJyaWVyIGVycm9yIG9jY3VycmVkOiBVUFMgd2VpZ2h0IGxpbWl0IHBlciBwYWNrYWdlIGlzIDE1MCBsYnMu: string;
914
- UGxlYXNlIGFkZCBhIFN0YW1wcy5jb20gYWNjb3VudCB0byBTaGlwRW5naW5lIGluIG9yZGVyIHRvIGNyZWF0ZSBzaGlwcGluZyBsYWJlbHMu: string;
915
- QSBzaGlwcGluZyBlcnJvciBvY2N1cnJlZDogTWlzc2luZyBvciBpbnZhbGlkIHNoaXBwZXIgbnVtYmVy: string;
916
- QSBzaGlwcGluZyBjYXJyaWVyIGVycm9yIG9jY3VycmVkOiBNaXNzaW5nIG9yIGludmFsaWQgc2hpcHBlciBuYW1l: string;
917
- "QSBzaGlwcGluZyBjYXJyaWVyIGVycm9yIG9jY3VycmVkOiBNaXNzaW5nIG9yIGludmFsaWQgc2hpcCB0byBTdGF0ZVByb3ZpbmNlQ29kZQ==": string;
918
- "QSBzaGlwcGluZyBjYXJyaWVyIGVycm9yIG9jY3VycmVkOiBJbnZhbGlkIHNvbGQgdG8gc3RhdGUgcHJvdmluY2UgY29kZS4gVmFsaWQgbGVuZ3RoIGlzIDAgdG8gNSBhbHBoYW51bWVyaWM=": string;
919
- };
920
- "account-settings": {
921
- messages: {
922
- noFundingSources: string;
923
- };
924
- title: string;
925
- sections: {
926
- accountBalance: string;
927
- paymentMethod: string;
928
- transactionHistory: string;
929
- adjustmentHistory: string;
930
- warehouses: string;
931
- carriers: string;
932
- externalCarriers: string;
933
- labelLayout: string;
934
- unitSettings: string;
935
- vatSettings: string;
936
- };
937
- };
938
- };
939
- } | undefined;
940
- }) => import("@emotion/react/jsx-runtime").JSX.Element;
941
- export type ElementProps = React.ComponentProps<typeof Element>;