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