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