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