@shipengine/elements 1.5.1 → 1.6.0

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