@shipengine/elements 1.6.0 → 1.8.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 (89) hide show
  1. package/index.cjs +17376 -16774
  2. package/index.js +17372 -16776
  3. package/package.json +3 -3
  4. package/src/components/collapsible-panel/collapsible-panel.d.ts +6 -1
  5. package/src/components/collapsible-panel/collapsible-panel.styles.d.ts +3 -4
  6. package/src/components/display-term/display-term.d.ts +2 -2
  7. package/src/components/display-term/display-term.styles.d.ts +2 -0
  8. package/src/components/field/rate-card/cost-breakdown/cost-breakdown.d.ts +1 -1
  9. package/src/components/index.d.ts +6 -5
  10. package/src/components/templates/address-form/address-schema.d.ts +2 -0
  11. package/src/components/templates/index.d.ts +1 -1
  12. package/src/components/templates/rate-form/rate-form.d.ts +2 -1
  13. package/src/components/templates/wallet-form/wallet-form.d.ts +3 -1
  14. package/src/components/templates/wallet-form/wallet-form.styles.d.ts +3 -0
  15. package/src/components/templates/wallet-form/wallet-schema.d.ts +46 -2
  16. package/src/components/vat-form/index.d.ts +1 -0
  17. package/src/components/vat-form/vat-form-schema.d.ts +10 -0
  18. package/src/components/vat-form/vat-form.d.ts +6 -0
  19. package/src/components/vat-form/vat-form.styles.d.ts +9 -0
  20. package/src/elements/external-carriers/external-carriers.d.ts +130 -101
  21. package/src/elements/index.d.ts +2 -1
  22. package/src/elements/label-layout/label-layout-element.d.ts +107 -74
  23. package/src/elements/labels-grid/labels-grid.d.ts +107 -74
  24. package/src/elements/manage-funding/manage-funding-element.d.ts +107 -74
  25. package/src/elements/manage-warehouses/manage-warehouses.d.ts +110 -117
  26. package/src/elements/payment-method-settings/payment-method-settings-element.d.ts +107 -74
  27. package/src/elements/purchase-label/purchase-label.d.ts +131 -81
  28. package/src/elements/shipengine-carriers/index.d.ts +1 -0
  29. package/src/elements/shipengine-carriers/shipengine-carriers.d.ts +881 -0
  30. package/src/elements/shipments-grid/shipments-grid.d.ts +107 -74
  31. package/src/elements/theme-creator/theme-creator.d.ts +107 -74
  32. package/src/elements/unit-settings/unit-settings-element.d.ts +107 -74
  33. package/src/elements/vat-settings/index.d.ts +1 -0
  34. package/src/elements/vat-settings/vat-settings-element.d.ts +818 -0
  35. package/src/elements/view-shipment/view-shipment.d.ts +121 -89
  36. package/src/elements/void-label/components/message/message.d.ts +3 -2
  37. package/src/elements/void-label/void-label.d.ts +134 -93
  38. package/src/elements/wallet-history/wallet-history-element.d.ts +107 -74
  39. package/src/features/index.d.ts +6 -5
  40. package/src/features/label-layout/label-layout.d.ts +6 -1
  41. package/src/features/label-layout/use-label-layout.d.ts +3 -3
  42. package/src/features/manage-warehouses/index.d.ts +1 -0
  43. package/src/features/manage-warehouses/manage-warehouses.d.ts +16 -1
  44. package/src/features/manage-warehouses/use-manage-warehouses.d.ts +15 -0
  45. package/src/features/shipengine-carriers/hooks/use-carrier-metadata.d.ts +13 -0
  46. package/src/features/shipengine-carriers/index.d.ts +1 -0
  47. package/src/features/shipengine-carriers/shipengine-carriers-row/index.d.ts +1 -0
  48. 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
  49. package/src/features/shipengine-carriers/shipengine-carriers.d.ts +10 -0
  50. package/src/features/unit-settings/index.d.ts +1 -0
  51. package/src/features/unit-settings/unit-settings.d.ts +9 -1
  52. package/src/features/unit-settings/use-unit-settings.d.ts +10 -0
  53. package/src/features/vat-settings/index.d.ts +2 -0
  54. package/src/features/vat-settings/use-vat-settings.d.ts +8 -0
  55. package/src/features/vat-settings/vat-settings.d.ts +9 -0
  56. package/src/features/vat-settings/vat-settings.styles.d.ts +29 -0
  57. package/src/hooks/index.d.ts +3 -3
  58. package/src/locales/en/index.d.ts +107 -74
  59. package/src/types/carrier-metadata.d.ts +3 -0
  60. package/src/types/patch.d.ts +1 -12
  61. package/src/utilities/feature-flags.d.ts +15 -2
  62. package/src/utilities/shipengine/index.d.ts +1 -0
  63. package/src/utilities/shipengine/shipment.d.ts +11 -0
  64. package/src/workflows/account-settings/account-settings.d.ts +111 -83
  65. package/src/workflows/account-settings/use-get-panel-props.d.ts +7 -1
  66. package/src/workflows/connect-carrier/connect-carrier.d.ts +107 -74
  67. package/src/workflows/manage-wallet-workflow/index.d.ts +1 -0
  68. package/src/{elements/list-carriers/list-carriers.d.ts → workflows/manage-wallet-workflow/manage-wallet-workflow.d.ts} +122 -111
  69. package/src/workflows/manage-wallet-workflow/use-get-wallet-panel-props.d.ts +4 -0
  70. package/src/workflows/onboarding/components/account-registration-form/account-registration-form-schema.d.ts +3 -0
  71. package/src/workflows/onboarding/components/funding-and-carrier-connection-step/funding-and-carrier-connection-step.d.ts +3 -1
  72. package/src/workflows/onboarding/components/funding-and-carrier-connection-step/use-funding-and-carrier-connection-step.d.ts +2 -2
  73. package/src/workflows/onboarding/components/onboarding-wizard/onboarding-wizard.d.ts +3 -3
  74. package/src/workflows/onboarding/components/terms-agreement-form/terms-agreement-form.d.ts +4 -4
  75. package/src/workflows/onboarding/components/terms-agreement-form/terms-agreement-form.styles.d.ts +6 -7
  76. package/src/workflows/onboarding/components/terms-agreement-step/terms-agreement-step.d.ts +3 -4
  77. package/src/workflows/onboarding/components/terms-agreement-step/terms-agreement-step.styles.d.ts +3 -0
  78. package/src/workflows/onboarding/components/terms-agreement-step/use-terms-agreement-step.d.ts +7 -7
  79. package/src/workflows/onboarding/onboarding.d.ts +111 -79
  80. package/vite.config.d.ts +1 -1
  81. package/src/elements/list-carriers/index.d.ts +0 -1
  82. package/src/features/list-carriers/hooks/use-carrier-metadata.d.ts +0 -10
  83. package/src/features/list-carriers/index.d.ts +0 -1
  84. package/src/features/list-carriers/list-carriers-row/index.d.ts +0 -1
  85. package/src/features/list-carriers/list-carriers.d.ts +0 -9
  86. /package/src/features/{list-carriers → shipengine-carriers}/hooks/index.d.ts +0 -0
  87. /package/src/features/{list-carriers → shipengine-carriers}/hooks/use-list-connected-carriers.d.ts +0 -0
  88. /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
  89. /package/src/features/{list-carriers/list-carriers.styles.d.ts → shipengine-carriers/shipengine-carriers.styles.d.ts} +0 -0
@@ -36,6 +36,7 @@ export declare const Element: ({ resources, ...props }: object & {
36
36
  resultMessages: {
37
37
  approved: string;
38
38
  rejected: string;
39
+ dpdwallet: string;
39
40
  };
40
41
  refund_process: string;
41
42
  refund_rules: string;
@@ -77,11 +78,44 @@ export declare const Element: ({ resources, ...props }: object & {
77
78
  };
78
79
  noLabels: string;
79
80
  };
81
+ "vat-settings": {
82
+ addNew: string;
83
+ vatNumber: string;
84
+ vatRegistrationTooltip: string;
85
+ vatFormText: string;
86
+ vatFormRegisterLater: string;
87
+ vatNumberInputHint: string;
88
+ vatNumberInputPlaceholder: string;
89
+ verifiedVat: string;
90
+ vatFormErrors: {
91
+ invalidFieldValue: string;
92
+ verificationFailure: string;
93
+ forbidden: string;
94
+ connectionNotSupported: string;
95
+ genericTitle: string;
96
+ genericText: string;
97
+ };
98
+ };
99
+ "shipengine-carriers": {
100
+ title: string;
101
+ headers: {
102
+ accountCarriers: string;
103
+ carriers: string;
104
+ settings: string;
105
+ };
106
+ actions: {
107
+ status: {
108
+ connected: string;
109
+ notConnected: string;
110
+ };
111
+ };
112
+ };
80
113
  "register-wallet": {
81
114
  sections: {
82
115
  setup: {
83
116
  title: string;
84
117
  subtitle: string;
118
+ hiddenTermsSubtitle: string;
85
119
  descriptionTitle: string;
86
120
  description: string;
87
121
  };
@@ -91,6 +125,9 @@ export declare const Element: ({ resources, ...props }: object & {
91
125
  addressSubTitle: string;
92
126
  info: string;
93
127
  };
128
+ vatSettings: {
129
+ title: string;
130
+ };
94
131
  carriers: {
95
132
  title: string;
96
133
  subtitle: string;
@@ -211,11 +248,13 @@ export declare const Element: ({ resources, ...props }: object & {
211
248
  needToAcknowledge: string;
212
249
  };
213
250
  rates: {
251
+ requestedShippingNotification: string;
214
252
  uspsMediaMailAcknowledgement: string;
215
253
  uspsFirstClassMailAcknowledgement_leof: string;
216
254
  rateSavings: string;
217
255
  upsGroundSaverTermsAcknowledgement: string;
218
256
  dhlExpressTermsAcknowledgement: string;
257
+ noRateService: string;
219
258
  };
220
259
  requirements: {
221
260
  noWarehouse: string;
@@ -282,6 +321,8 @@ export declare const Element: ({ resources, ...props }: object & {
282
321
  action: string;
283
322
  };
284
323
  termsAndAgreementLinkText: {
324
+ shipEngineToS: string;
325
+ auctanePrivacyPolicy: string;
285
326
  aHR0cHM6Ly9teWRobC5leHByZXNzLmRobC91cy9lbi9sZWdhbC90ZXJtcy1hbmQtY29uZGl0aW9ucy5odG1s: string;
286
327
  "aHR0cHM6Ly93d3cuc3RhbXBzLmNvbS9wcml2YWN5LXBvbGljeQ==": string;
287
328
  "aHR0cHM6Ly93d3cuc3RhbXBzLmNvbS9jb25kaXRpb25zLw==": string;
@@ -293,6 +334,8 @@ export declare const Element: ({ resources, ...props }: object & {
293
334
  aHR0cHM6Ly93d3cuc2hpcHN0YXRpb24uY29tL3Rlcm1zLXNlcnZpY2UtdW5pdGVkLWtpbmdkb20v: string;
294
335
  "aHR0cHM6Ly93d3cuZHBkLmNvLnVrL3N0YW5kYXJkX3Rlcm1zX2FuZF9jb25kaXRpb25zLmpzcA==": string;
295
336
  aHR0cHM6Ly93d3cuZ29nbG9iYWxwb3N0LmNvbS9jb25kaXRpb25z: string;
337
+ aHR0cHM6Ly93d3cucHVyb2xhdG9yLmNvbS9mci9tb2RhbGl0ZXMtZXQtY29uZGl0aW9ucy1kZS1zZXJ2aWNl: string;
338
+ aHR0cHM6Ly93d3cucHVyb2xhdG9yLmNvbS9lbi90ZXJtcy1hbmQtY29uZGl0aW9ucy1zZXJ2aWNl: string;
296
339
  };
297
340
  termsAndAgreementTitles: {
298
341
  "WW9kZWwgRGlyZWN0IC0gVGVybXMgYW5kIENvbmRpdGlvbnMgKOKAnFRlcm1z4oCdKQ==": string;
@@ -300,42 +343,8 @@ export declare const Element: ({ resources, ...props }: object & {
300
343
  "VGVybXMgb2YgU2VydmljZSBVbml0ZWQgS2luZ2RvbQ==": string;
301
344
  RFBEIFN0YW5kYXJkIFRlcm1zIGFuZCBDb25kaXRpb25z: string;
302
345
  "R2xvYmFsUG9zdCBUZXJtcyBhbmQgQ29uZGl0aW9ucw==": string;
303
- };
304
- };
305
- "manage-defaults": {
306
- label: {
307
- title: string;
308
- letter: {
309
- title: string;
310
- description: string;
311
- };
312
- purchase: {
313
- title: string;
314
- description: string;
315
- };
316
- thermal: {
317
- title: string;
318
- description: string;
319
- };
320
- };
321
- status: {
322
- saving: string;
323
- saved: string;
324
- savingFailed: string;
325
- };
326
- units: {
327
- title: string;
328
- dimensions: {
329
- title: string;
330
- standard: string;
331
- metric: string;
332
- };
333
- weight: {
334
- title: string;
335
- standard: string;
336
- g: string;
337
- kg: string;
338
- };
346
+ "UHVyb2xhdG9yIFRlcm1zIGFuZCBDb25kaXRpb25zIG9mIFNlcnZpY2U=": string;
347
+ UHVyb2xhdG9yIE1vZGFsaXTDqXMgZXQgY29uZGl0aW9ucyBkZSBzZXJ2aWNl: string;
339
348
  };
340
349
  };
341
350
  "manage-warehouses": {
@@ -405,6 +414,42 @@ export declare const Element: ({ resources, ...props }: object & {
405
414
  currentBalance: string;
406
415
  maximumBalanceAmount: string;
407
416
  };
417
+ "manage-defaults": {
418
+ label: {
419
+ title: string;
420
+ letter: {
421
+ title: string;
422
+ description: string;
423
+ };
424
+ purchase: {
425
+ title: string;
426
+ description: string;
427
+ };
428
+ thermal: {
429
+ title: string;
430
+ description: string;
431
+ };
432
+ };
433
+ status: {
434
+ saving: string;
435
+ saved: string;
436
+ savingFailed: string;
437
+ };
438
+ units: {
439
+ title: string;
440
+ dimensions: {
441
+ title: string;
442
+ standard: string;
443
+ metric: string;
444
+ };
445
+ weight: {
446
+ title: string;
447
+ standard: string;
448
+ g: string;
449
+ kg: string;
450
+ };
451
+ };
452
+ };
408
453
  "list-shipments": {
409
454
  title: string;
410
455
  headers: {
@@ -435,18 +480,31 @@ export declare const Element: ({ resources, ...props }: object & {
435
480
  };
436
481
  };
437
482
  };
438
- "list-carriers": {
439
- title: string;
440
- headers: {
441
- accountCarriers: string;
442
- carriers: string;
443
- settings: string;
444
- };
483
+ "connect-carrier": {
445
484
  actions: {
446
- status: {
447
- connected: string;
448
- notConnected: string;
449
- };
485
+ cancel: string;
486
+ carrierSettings: string;
487
+ connectCarriers: string;
488
+ disconnect: string;
489
+ disconnectCarrier: string;
490
+ };
491
+ noCarriersDescription: string;
492
+ registrationForm: {
493
+ error: string;
494
+ title: string;
495
+ betaWarning: string;
496
+ };
497
+ search: string;
498
+ settingsModal: {
499
+ closeDialog: string;
500
+ header: string;
501
+ };
502
+ status: {
503
+ connected: string;
504
+ };
505
+ disconnectDropdown: {
506
+ toastTitle: string;
507
+ toastBody: string;
450
508
  };
451
509
  };
452
510
  common: {
@@ -633,6 +691,7 @@ export declare const Element: ({ resources, ...props }: object & {
633
691
  accountSettings: string;
634
692
  carrier: string;
635
693
  carriers: string;
694
+ carrierServices: string;
636
695
  connectCarrierForm: string;
637
696
  connectingCarriers: string;
638
697
  creatingFundingSource: string;
@@ -735,33 +794,6 @@ export declare const Element: ({ resources, ...props }: object & {
735
794
  "QSBzaGlwcGluZyBjYXJyaWVyIGVycm9yIG9jY3VycmVkOiBNaXNzaW5nIG9yIGludmFsaWQgc2hpcCB0byBTdGF0ZVByb3ZpbmNlQ29kZQ==": string;
736
795
  "QSBzaGlwcGluZyBjYXJyaWVyIGVycm9yIG9jY3VycmVkOiBJbnZhbGlkIHNvbGQgdG8gc3RhdGUgcHJvdmluY2UgY29kZS4gVmFsaWQgbGVuZ3RoIGlzIDAgdG8gNSBhbHBoYW51bWVyaWM=": string;
737
796
  };
738
- "connect-carrier": {
739
- actions: {
740
- cancel: string;
741
- carrierSettings: string;
742
- connectCarriers: string;
743
- disconnect: string;
744
- disconnectCarrier: string;
745
- };
746
- noCarriersDescription: string;
747
- registrationForm: {
748
- error: string;
749
- title: string;
750
- betaWarning: string;
751
- };
752
- search: string;
753
- settingsModal: {
754
- closeDialog: string;
755
- header: string;
756
- };
757
- status: {
758
- connected: string;
759
- };
760
- disconnectDropdown: {
761
- toastTitle: string;
762
- toastBody: string;
763
- };
764
- };
765
797
  "account-settings": {
766
798
  messages: {
767
799
  noFundingSources: string;
@@ -777,6 +809,7 @@ export declare const Element: ({ resources, ...props }: object & {
777
809
  externalCarriers: string;
778
810
  labelLayout: string;
779
811
  unitSettings: string;
812
+ vatSettings: string;
780
813
  };
781
814
  };
782
815
  };
@@ -224,6 +224,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
224
224
  resultMessages: {
225
225
  approved: string;
226
226
  rejected: string;
227
+ dpdwallet: string;
227
228
  };
228
229
  refund_process: string;
229
230
  refund_rules: string;
@@ -265,11 +266,44 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
265
266
  };
266
267
  noLabels: string;
267
268
  };
269
+ "vat-settings": {
270
+ addNew: string;
271
+ vatNumber: string;
272
+ vatRegistrationTooltip: string;
273
+ vatFormText: string;
274
+ vatFormRegisterLater: string;
275
+ vatNumberInputHint: string;
276
+ vatNumberInputPlaceholder: string;
277
+ verifiedVat: string;
278
+ vatFormErrors: {
279
+ invalidFieldValue: string;
280
+ verificationFailure: string;
281
+ forbidden: string;
282
+ connectionNotSupported: string;
283
+ genericTitle: string;
284
+ genericText: string;
285
+ };
286
+ };
287
+ "shipengine-carriers": {
288
+ title: string;
289
+ headers: {
290
+ accountCarriers: string;
291
+ carriers: string;
292
+ settings: string;
293
+ };
294
+ actions: {
295
+ status: {
296
+ connected: string;
297
+ notConnected: string;
298
+ };
299
+ };
300
+ };
268
301
  "register-wallet": {
269
302
  sections: {
270
303
  setup: {
271
304
  title: string;
272
305
  subtitle: string;
306
+ hiddenTermsSubtitle: string;
273
307
  descriptionTitle: string;
274
308
  description: string;
275
309
  };
@@ -279,6 +313,17 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
279
313
  addressSubTitle: string;
280
314
  info: string;
281
315
  };
316
+ vatSettings: {
317
+ title: string;
318
+ };
319
+ /**
320
+ * # Purchase Label Component Props
321
+ *
322
+ * These are the shared props that will be passed into the `<PurchaseLabel.Element />`, and work
323
+ * for either shipment-based or sales order-based label purchasing.
324
+ *
325
+ * @see {@link PurchaseLabel.Element | This prop types usage in `<PurchaseLabel.Element />`}
326
+ */
282
327
  carriers: {
283
328
  title: string;
284
329
  subtitle: string;
@@ -393,6 +438,10 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
393
438
  contentDescription: string;
394
439
  };
395
440
  loading: {
441
+ /**
442
+ * `onBeforeRateSave` is an async/sync callback function that will be invoked before each time a user
443
+ * saves a rate.
444
+ */
396
445
  calculatingRates: string;
397
446
  };
398
447
  modes: {
@@ -406,16 +455,14 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
406
455
  needToAcknowledge: string;
407
456
  };
408
457
  rates: {
458
+ requestedShippingNotification: string;
409
459
  uspsMediaMailAcknowledgement: string;
410
460
  uspsFirstClassMailAcknowledgement_leof: string;
411
461
  rateSavings: string;
412
462
  upsGroundSaverTermsAcknowledgement: string;
413
463
  dhlExpressTermsAcknowledgement: string;
464
+ noRateService: string;
414
465
  };
415
- /**
416
- * `onLoad` is an async/sync callback provided by the host application that is invoked after the
417
- * element is loaded. (This may be useful to grab the shipmentId of a one-off label)
418
- */
419
466
  requirements: {
420
467
  noWarehouse: string;
421
468
  noCarrier: string;
@@ -481,6 +528,8 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
481
528
  action: string;
482
529
  };
483
530
  termsAndAgreementLinkText: {
531
+ shipEngineToS: string;
532
+ auctanePrivacyPolicy: string;
484
533
  aHR0cHM6Ly9teWRobC5leHByZXNzLmRobC91cy9lbi9sZWdhbC90ZXJtcy1hbmQtY29uZGl0aW9ucy5odG1s: string;
485
534
  "aHR0cHM6Ly93d3cuc3RhbXBzLmNvbS9wcml2YWN5LXBvbGljeQ==": string;
486
535
  "aHR0cHM6Ly93d3cuc3RhbXBzLmNvbS9jb25kaXRpb25zLw==": string;
@@ -492,49 +541,20 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
492
541
  aHR0cHM6Ly93d3cuc2hpcHN0YXRpb24uY29tL3Rlcm1zLXNlcnZpY2UtdW5pdGVkLWtpbmdkb20v: string;
493
542
  "aHR0cHM6Ly93d3cuZHBkLmNvLnVrL3N0YW5kYXJkX3Rlcm1zX2FuZF9jb25kaXRpb25zLmpzcA==": string;
494
543
  aHR0cHM6Ly93d3cuZ29nbG9iYWxwb3N0LmNvbS9jb25kaXRpb25z: string;
544
+ aHR0cHM6Ly93d3cucHVyb2xhdG9yLmNvbS9mci9tb2RhbGl0ZXMtZXQtY29uZGl0aW9ucy1kZS1zZXJ2aWNl: string;
545
+ aHR0cHM6Ly93d3cucHVyb2xhdG9yLmNvbS9lbi90ZXJtcy1hbmQtY29uZGl0aW9ucy1zZXJ2aWNl: string;
495
546
  };
496
547
  termsAndAgreementTitles: {
497
548
  "WW9kZWwgRGlyZWN0IC0gVGVybXMgYW5kIENvbmRpdGlvbnMgKOKAnFRlcm1z4oCdKQ==": string;
498
- "RXZyaSBTZW5kIFRlcm1zICYgQ29uZGl0aW9ucw==": string;
549
+ "RXZyaSBTZW5kIFRlcm1zICYgQ29uZGl0aW9ucw==": string; /**
550
+ * `onChangeShipmentFormMode` is an async/sync callback function that will be invoked each time
551
+ * the user toggles the `Shipment Form Mode` between `Browse Rates` and `Selected Rate`.
552
+ */
499
553
  "VGVybXMgb2YgU2VydmljZSBVbml0ZWQgS2luZ2RvbQ==": string;
500
554
  RFBEIFN0YW5kYXJkIFRlcm1zIGFuZCBDb25kaXRpb25z: string;
501
555
  "R2xvYmFsUG9zdCBUZXJtcyBhbmQgQ29uZGl0aW9ucw==": string;
502
- };
503
- };
504
- "manage-defaults": {
505
- label: {
506
- title: string;
507
- letter: {
508
- title: string;
509
- description: string;
510
- };
511
- purchase: {
512
- title: string;
513
- description: string;
514
- };
515
- thermal: {
516
- title: string;
517
- description: string;
518
- };
519
- };
520
- status: {
521
- saving: string;
522
- saved: string;
523
- savingFailed: string;
524
- };
525
- units: {
526
- title: string;
527
- dimensions: {
528
- title: string;
529
- standard: string;
530
- metric: string;
531
- };
532
- weight: {
533
- title: string;
534
- standard: string;
535
- g: string;
536
- kg: string;
537
- };
556
+ "UHVyb2xhdG9yIFRlcm1zIGFuZCBDb25kaXRpb25zIG9mIFNlcnZpY2U=": string;
557
+ UHVyb2xhdG9yIE1vZGFsaXTDqXMgZXQgY29uZGl0aW9ucyBkZSBzZXJ2aWNl: string;
538
558
  };
539
559
  };
540
560
  "manage-warehouses": {
@@ -604,6 +624,42 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
604
624
  currentBalance: string;
605
625
  maximumBalanceAmount: string;
606
626
  };
627
+ "manage-defaults": {
628
+ label: {
629
+ title: string;
630
+ letter: {
631
+ title: string;
632
+ description: string;
633
+ };
634
+ purchase: {
635
+ title: string;
636
+ description: string;
637
+ };
638
+ thermal: {
639
+ title: string;
640
+ description: string;
641
+ };
642
+ };
643
+ status: {
644
+ saving: string;
645
+ saved: string;
646
+ savingFailed: string;
647
+ };
648
+ units: {
649
+ title: string;
650
+ dimensions: {
651
+ title: string;
652
+ standard: string;
653
+ metric: string;
654
+ };
655
+ weight: {
656
+ title: string;
657
+ standard: string;
658
+ g: string;
659
+ kg: string;
660
+ };
661
+ };
662
+ };
607
663
  "list-shipments": {
608
664
  title: string;
609
665
  headers: {
@@ -634,18 +690,31 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
634
690
  };
635
691
  };
636
692
  };
637
- "list-carriers": {
638
- title: string;
639
- headers: {
640
- accountCarriers: string;
641
- carriers: string;
642
- settings: string;
643
- };
693
+ "connect-carrier": {
644
694
  actions: {
645
- status: {
646
- connected: string;
647
- notConnected: string;
648
- };
695
+ cancel: string;
696
+ carrierSettings: string;
697
+ connectCarriers: string;
698
+ disconnect: string;
699
+ disconnectCarrier: string;
700
+ };
701
+ noCarriersDescription: string;
702
+ registrationForm: {
703
+ error: string;
704
+ title: string;
705
+ betaWarning: string;
706
+ };
707
+ search: string;
708
+ settingsModal: {
709
+ closeDialog: string;
710
+ header: string;
711
+ };
712
+ status: {
713
+ connected: string;
714
+ };
715
+ disconnectDropdown: {
716
+ toastTitle: string;
717
+ toastBody: string;
649
718
  };
650
719
  };
651
720
  common: {
@@ -769,7 +838,10 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
769
838
  };
770
839
  fields: {
771
840
  contentsType: string;
772
- countryOfOrigin: string;
841
+ countryOfOrigin: string; /**
842
+ * `onRateSaved` is an async/sync callback function that will be invoked each time a rate is
843
+ * saved by the user when rate shopping in the host application.
844
+ */
773
845
  description: string;
774
846
  harmonizedTariffCode: string;
775
847
  ifDeliveryFails: string;
@@ -799,7 +871,10 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
799
871
  fundingSourceMetadata: string;
800
872
  label: string;
801
873
  labels: string;
802
- salesOrder: string;
874
+ salesOrder: string; /**
875
+ * `printLabelLayout` is a string that represents the label layout you would like to use when
876
+ * purchasing a label. e.g. `4x6`
877
+ */
803
878
  shipment: string;
804
879
  shipments: string;
805
880
  warehouses: string;
@@ -836,6 +911,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
836
911
  accountSettings: string;
837
912
  carrier: string;
838
913
  carriers: string;
914
+ carrierServices: string;
839
915
  connectCarrierForm: string;
840
916
  connectingCarriers: string;
841
917
  creatingFundingSource: string;
@@ -938,33 +1014,6 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
938
1014
  "QSBzaGlwcGluZyBjYXJyaWVyIGVycm9yIG9jY3VycmVkOiBNaXNzaW5nIG9yIGludmFsaWQgc2hpcCB0byBTdGF0ZVByb3ZpbmNlQ29kZQ==": string;
939
1015
  "QSBzaGlwcGluZyBjYXJyaWVyIGVycm9yIG9jY3VycmVkOiBJbnZhbGlkIHNvbGQgdG8gc3RhdGUgcHJvdmluY2UgY29kZS4gVmFsaWQgbGVuZ3RoIGlzIDAgdG8gNSBhbHBoYW51bWVyaWM=": string;
940
1016
  };
941
- "connect-carrier": {
942
- actions: {
943
- cancel: string;
944
- carrierSettings: string;
945
- connectCarriers: string;
946
- disconnect: string;
947
- disconnectCarrier: string;
948
- };
949
- noCarriersDescription: string;
950
- registrationForm: {
951
- error: string;
952
- title: string;
953
- betaWarning: string;
954
- };
955
- search: string;
956
- settingsModal: {
957
- closeDialog: string;
958
- header: string;
959
- };
960
- status: {
961
- connected: string;
962
- };
963
- disconnectDropdown: {
964
- toastTitle: string;
965
- toastBody: string;
966
- };
967
- };
968
1017
  "account-settings": {
969
1018
  messages: {
970
1019
  noFundingSources: string;
@@ -980,6 +1029,7 @@ export declare const Element: ({ resources, ...props }: ElementProps & {
980
1029
  externalCarriers: string;
981
1030
  labelLayout: string;
982
1031
  unitSettings: string;
1032
+ vatSettings: string;
983
1033
  };
984
1034
  };
985
1035
  };
@@ -0,0 +1 @@
1
+ export * as ShipEngineCarriers from "./shipengine-carriers";