@shipengine/elements 1.7.0 → 1.9.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 (147) hide show
  1. package/address-8f8119f4.js +1 -0
  2. package/carrier-2abb4760.js +1 -0
  3. package/carrier-logo-1b6c767e.js +1 -0
  4. package/components.js +1 -0
  5. package/constants.js +1 -0
  6. package/elements.js +1 -0
  7. package/extensions.js +1 -0
  8. package/feature-flags-3e03717c.js +1 -0
  9. package/formatString-413ec7c7.js +1 -0
  10. package/hooks.js +1 -0
  11. package/index.js +1 -25135
  12. package/money-fbc4d0b3.js +1 -0
  13. package/package.json +48 -6
  14. package/payment-method-settings-element-595cc38d.js +1 -0
  15. package/phone-87dd7bd8.js +1 -0
  16. package/schemas.js +1 -0
  17. package/shipment-90d35708.js +1 -0
  18. package/src/components/address-preference-context/address-preference-context.d.ts +5 -2
  19. package/src/components/carrier-icon/carrier-icon.d.ts +9 -9
  20. package/src/components/carrier-logo/carrier-logo.d.ts +2 -1
  21. package/src/components/collapsible-panel/collapsible-panel.styles.d.ts +2 -3
  22. package/src/components/display-term/display-term.d.ts +2 -2
  23. package/src/components/display-term/display-term.styles.d.ts +2 -0
  24. package/src/components/field/date-picker/date-picker.d.ts +1 -1
  25. package/src/components/field/rate-card/rate-card.d.ts +2 -1
  26. package/src/components/field/rate-card/rate-card.styles.d.ts +0 -1
  27. package/src/components/field/rate-select/rate-select.d.ts +6 -1
  28. package/src/components/fund-and-purchase/fund-and-purchase.d.ts +4 -1
  29. package/src/components/here-map/here-map.d.ts +16 -0
  30. package/src/components/here-map/here-map.styles.d.ts +23 -0
  31. package/src/components/index.d.ts +7 -5
  32. package/src/components/modal/modal.d.ts +2 -1
  33. package/src/components/rate-details/index.d.ts +1 -0
  34. package/src/components/rate-details/rate-details.d.ts +17 -0
  35. package/src/components/rate-details/rate-details.styles.d.ts +23 -0
  36. package/src/components/search-bar/index.d.ts +1 -0
  37. package/src/components/search-bar/search-bar.d.ts +8 -0
  38. package/src/components/service-point-display/operating-hours.d.ts +6 -0
  39. package/src/components/service-point-display/operating-hours.styles.d.ts +44 -0
  40. package/src/components/service-point-display/service-point-display.d.ts +6 -6
  41. package/src/components/service-point-display/service-point-display.styles.d.ts +13 -19
  42. package/src/components/service-points/service-points.d.ts +2 -1
  43. package/src/components/tabs/tabs.d.ts +5 -1
  44. package/src/components/tabs/tabs.styles.d.ts +3 -2
  45. package/src/components/templates/index.d.ts +1 -1
  46. package/src/components/templates/label/label.styles.d.ts +21 -1
  47. package/src/components/templates/product-form/product-form-schema.d.ts +12 -0
  48. package/src/components/templates/pudo-rate-tabs/index.d.ts +0 -1
  49. package/src/components/templates/pudo-rate-tabs/pudo-list-view/pudo-list-view.d.ts +5 -0
  50. package/src/components/templates/pudo-rate-tabs/pudo-map-view/pudo-map-view.d.ts +15 -0
  51. package/src/components/templates/pudo-rate-tabs/pudo-rate-tabs.d.ts +17 -15
  52. package/src/components/templates/rate-form/rate-form.d.ts +10 -2
  53. package/src/components/templates/register-funding-source-carrier-form/index.d.ts +2 -0
  54. package/src/components/templates/register-funding-source-carrier-form/register-funding-source-carrier-form.d.ts +13 -0
  55. package/src/components/templates/register-funding-source-carrier-form/register-funding-source-carrier-form.styles.d.ts +25 -0
  56. package/src/components/templates/{add-carrier-form/add-carrier-form-schema.d.ts → register-funding-source-carrier-form/register-funding-source-carrier-schema.d.ts} +42 -88
  57. package/src/components/templates/shipment/shipment.d.ts +2 -1
  58. package/src/components/templates/wallet-form/wallet-form.d.ts +3 -1
  59. package/src/components/templates/wallet-form/wallet-form.styles.d.ts +3 -0
  60. package/src/components/vat-form/index.d.ts +1 -0
  61. package/src/components/vat-form/vat-form-schema.d.ts +10 -0
  62. package/src/components/vat-form/vat-form.d.ts +6 -0
  63. package/src/components/vat-form/vat-form.styles.d.ts +9 -0
  64. package/src/elements/external-carriers/external-carriers.d.ts +198 -101
  65. package/src/elements/label-layout/label-layout-element.d.ts +150 -77
  66. package/src/elements/labels-grid/labels-grid.d.ts +150 -77
  67. package/src/elements/manage-funding/manage-funding-element.d.ts +150 -77
  68. package/src/elements/manage-warehouses/manage-warehouses.d.ts +150 -77
  69. package/src/elements/payment-method-settings/payment-method-settings-element.d.ts +150 -77
  70. package/src/elements/purchase-label/configure-shipment.d.ts +2 -1
  71. package/src/elements/purchase-label/hooks/use-rates-form.d.ts +5 -0
  72. package/src/elements/purchase-label/purchase-label.d.ts +170 -80
  73. package/src/elements/shipengine-carriers/shipengine-carriers.d.ts +173 -100
  74. package/src/elements/shipments-grid/shipments-grid.d.ts +150 -77
  75. package/src/elements/theme-creator/theme-creator.d.ts +150 -77
  76. package/src/elements/theme-creator/themeData/themeData.d.ts +0 -1
  77. package/src/elements/unit-settings/unit-settings-element.d.ts +150 -77
  78. package/src/elements/vat-settings/index.d.ts +1 -0
  79. package/src/elements/vat-settings/vat-settings-element.d.ts +864 -0
  80. package/src/elements/view-shipment/view-shipment.d.ts +181 -100
  81. package/src/elements/void-label/components/actions/actions.d.ts +3 -3
  82. package/src/elements/void-label/components/message/message.d.ts +3 -2
  83. package/src/elements/void-label/void-label.d.ts +183 -96
  84. package/src/elements/wallet-history/wallet-history-element.d.ts +150 -77
  85. package/src/factories/shipengine/label.d.ts +2 -0
  86. package/src/features/external-carriers/external-carriers.d.ts +2 -1
  87. package/src/features/index.d.ts +5 -4
  88. package/src/features/shipengine-carriers/hooks/index.d.ts +2 -1
  89. package/src/features/shipengine-carriers/hooks/use-carrier-metadata.d.ts +2 -13
  90. package/src/features/shipengine-carriers/hooks/{use-list-connected-carriers.d.ts → use-list-funding-source-carriers.d.ts} +3 -3
  91. package/src/features/shipengine-carriers/shipengine-carriers-row/shipengine-carriers-row.d.ts +9 -7
  92. package/src/features/unit-settings/unit-settings.d.ts +2 -2
  93. package/src/features/unit-settings/use-unit-settings.d.ts +1 -1
  94. package/src/features/vat-settings/index.d.ts +2 -0
  95. package/src/features/vat-settings/use-vat-settings.d.ts +8 -0
  96. package/src/features/vat-settings/vat-settings.d.ts +9 -0
  97. package/src/features/vat-settings/vat-settings.styles.d.ts +29 -0
  98. package/src/hooks/here-map/init.d.ts +6 -0
  99. package/src/hooks/here-map/use-here-map-ui.d.ts +10 -0
  100. package/src/hooks/here-map/use-here-map.d.ts +5 -0
  101. package/src/hooks/index.d.ts +3 -3
  102. package/src/hooks/options/use-service-points.d.ts +5 -3
  103. package/src/locales/en/index.d.ts +150 -77
  104. package/src/testing/test-utils.d.ts +1 -0
  105. package/src/types/carrier-metadata.d.ts +7 -11
  106. package/src/types/index.d.ts +0 -1
  107. package/src/utilities/date.d.ts +1 -2
  108. package/src/utilities/feature-flags.d.ts +12 -2
  109. package/src/utilities/shipengine/carrier.d.ts +8 -0
  110. package/src/utilities/shipengine/index.d.ts +1 -0
  111. package/src/utilities/shipengine/shipment.d.ts +11 -0
  112. package/src/workflows/account-settings/account-settings.d.ts +153 -82
  113. package/src/workflows/connect-carrier/connect-carrier.d.ts +150 -77
  114. package/src/workflows/manage-wallet-workflow/manage-wallet-workflow.d.ts +155 -81
  115. package/src/workflows/onboarding/components/account-registration-form/account-registration-form-schema.d.ts +3 -0
  116. package/src/workflows/onboarding/components/carrier-recovery-form/carrier-recovery-form.d.ts +3 -4
  117. package/src/workflows/onboarding/components/funding-and-carrier-connection-step/funding-and-carrier-connection-step.d.ts +3 -1
  118. package/src/workflows/onboarding/components/funding-and-carrier-connection-step/use-funding-and-carrier-connection-step.d.ts +2 -3
  119. package/src/workflows/onboarding/components/onboarding-wizard/onboarding-wizard.d.ts +2 -2
  120. package/src/workflows/onboarding/components/terms-agreement-form/terms-agreement-form.d.ts +3 -4
  121. package/src/workflows/onboarding/components/terms-agreement-form/terms-agreement-form.styles.d.ts +6 -7
  122. package/src/workflows/onboarding/components/terms-agreement-step/terms-agreement-step.d.ts +3 -4
  123. package/src/workflows/onboarding/components/terms-agreement-step/terms-agreement-step.styles.d.ts +3 -0
  124. package/src/workflows/onboarding/components/terms-agreement-step/use-terms-agreement-step.d.ts +5 -10
  125. package/src/workflows/onboarding/onboarding.d.ts +151 -78
  126. package/story-notes-ce2d8cca.js +1 -0
  127. package/suspend-text-c8c7b6b6.js +1 -0
  128. package/types.js +1 -0
  129. package/use-page-layout-93ffae78.js +1 -0
  130. package/use-scrub-errors-2c4db406.js +1 -0
  131. package/use-toggle-838d2ebd.js +1 -0
  132. package/utilities.js +1 -0
  133. package/validation-b941a548.js +1 -0
  134. package/vite.config.d.ts +1 -1
  135. package/wallet-form-3981400b.js +1 -0
  136. package/wallet-history-5b34c856.js +1 -0
  137. package/warehouse-form-c0b3ea78.js +34 -0
  138. package/warehouses-dfcdce23.js +1 -0
  139. package/workflows.js +1 -0
  140. package/zod-60def96c.js +1 -0
  141. package/index.cjs +0 -25349
  142. package/src/components/templates/add-carrier-form/add-carrier-form-test.d.ts +0 -1
  143. package/src/components/templates/add-carrier-form/add-carrier-form.d.ts +0 -10
  144. package/src/components/templates/add-carrier-form/index.d.ts +0 -2
  145. package/src/components/templates/pudo-rate-tabs/service-points-search-bar/index.d.ts +0 -1
  146. package/src/components/templates/pudo-rate-tabs/service-points-search-bar/service-points-search-bar.d.ts +0 -6
  147. package/src/types/patch.d.ts +0 -13
@@ -1,6 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { SE } from "@shipengine/alchemy";
3
3
  import { ShipmentFeatures } from "../../components/templates/shipment";
4
+ import { VatSettingsFeatures } from "../../features";
4
5
  /**
5
6
  * # View Shipment Component Props
6
7
  *
@@ -12,7 +13,7 @@ export type ComponentProps = {
12
13
  /**
13
14
  * `features` is a set of feature flags you would like to enable or disable in this component.
14
15
  */
15
- features?: ShipmentFeatures;
16
+ features?: ShipmentFeatures & VatSettingsFeatures;
16
17
  /**
17
18
  * `onClickPrintLabel` is a callback function that will be invoked when the user clicks the
18
19
  * `Print Label` button.
@@ -125,6 +126,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
125
126
  resultMessages: {
126
127
  approved: string;
127
128
  rejected: string;
129
+ dpdwallet: string;
128
130
  };
129
131
  refund_process: string;
130
132
  refund_rules: string;
@@ -144,6 +146,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
144
146
  schedulePickup: string;
145
147
  showItems: string;
146
148
  void: string;
149
+ download: string;
147
150
  };
148
151
  fields: {
149
152
  dimensions: string;
@@ -155,20 +158,55 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
155
158
  shipDate: string;
156
159
  shipTo: string;
157
160
  warehouse: string;
158
- weight: string;
161
+ weight: string; /**
162
+ * `features` is a set of feature flags you would like to enable or disable in this component.
163
+ */
159
164
  insuredValue: string;
160
165
  deliveryConfirmation: string;
161
166
  };
162
167
  highVolumeForms: string;
163
168
  multipleShippingServices: string;
164
169
  sections: {
165
- labels: string; /**
170
+ labels: string;
171
+ shipmentSummary: string; /**
166
172
  * `onClickVoidLabel` is a callback function that will be invoked when the user clicks the
167
173
  * `Void Label` button.
168
174
  */
169
175
  };
170
176
  noLabels: string;
171
177
  };
178
+ "vat-settings": {
179
+ addNew: string;
180
+ vatNumber: string;
181
+ vatRegistrationTooltip: string;
182
+ vatFormText: string;
183
+ vatFormRegisterLater: string;
184
+ vatNumberInputHint: string;
185
+ vatNumberInputPlaceholder: string;
186
+ verifiedVat: string;
187
+ vatFormErrors: {
188
+ invalidFieldValue: string;
189
+ verificationFailure: string;
190
+ forbidden: string;
191
+ connectionNotSupported: string;
192
+ genericTitle: string;
193
+ genericText: string;
194
+ };
195
+ };
196
+ "shipengine-carriers": {
197
+ title: string;
198
+ headers: {
199
+ accountCarriers: string;
200
+ carriers: string;
201
+ settings: string;
202
+ };
203
+ actions: {
204
+ status: {
205
+ connected: string;
206
+ notConnected: string;
207
+ };
208
+ };
209
+ };
172
210
  "register-wallet": {
173
211
  sections: {
174
212
  setup: {
@@ -184,6 +222,9 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
184
222
  addressSubTitle: string;
185
223
  info: string;
186
224
  };
225
+ vatSettings: {
226
+ title: string;
227
+ };
187
228
  carriers: {
188
229
  title: string;
189
230
  subtitle: string;
@@ -193,10 +234,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
193
234
  title: string;
194
235
  };
195
236
  info: {
196
- title: string; /**
197
- * `onClickPurchaseLabel` is a callback function that will be invoked when the user clicks the
198
- * `Purchase Label` button.
199
- */
237
+ title: string;
200
238
  description: string;
201
239
  };
202
240
  poBox: {
@@ -223,8 +261,51 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
223
261
  };
224
262
  };
225
263
  "register-carrier": {
226
- formTitle: string;
227
- agreeToTerms: string;
264
+ formTitle: {
265
+ default: string;
266
+ new: string;
267
+ edit: string;
268
+ };
269
+ notifications: {
270
+ error: {
271
+ title: string;
272
+ };
273
+ };
274
+ };
275
+ "rate-details": {
276
+ total: string;
277
+ subtotal: string;
278
+ registerVat: string;
279
+ concepts: {
280
+ confirmation: string;
281
+ uncategorized: string;
282
+ shipping: string;
283
+ insurance: string;
284
+ confirm: string;
285
+ discount: string;
286
+ fuel_charge: string;
287
+ additional_fees: string;
288
+ tariff: string;
289
+ tax: string;
290
+ delivery: string;
291
+ handling: string;
292
+ special_goods: string;
293
+ pickup: string;
294
+ location_fee: string;
295
+ oversize: string;
296
+ returns: string;
297
+ notifications: string;
298
+ tip: string;
299
+ duties_and_taxes: string;
300
+ brokerage_fee: string;
301
+ admin_fee: string; /**
302
+ * `onClickPrintLabel` is a callback function that will be invoked when the user clicks the
303
+ * `Print Label` button.
304
+ */
305
+ adjustment: string;
306
+ auctane_service_fee: string;
307
+ product_price: string;
308
+ };
228
309
  };
229
310
  "purchase-label": {
230
311
  title: string;
@@ -244,9 +325,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
244
325
  insufficientBalanceCTA: string;
245
326
  };
246
327
  cta: {
247
- addPackageDetails: string; /**
248
- * `features` is a set of feature flags you would like to enable or disable in this component.
249
- */
328
+ addPackageDetails: string;
250
329
  };
251
330
  errorMessages: {
252
331
  customsItemsRequired: string;
@@ -315,6 +394,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
315
394
  rateSavings: string;
316
395
  upsGroundSaverTermsAcknowledgement: string;
317
396
  dhlExpressTermsAcknowledgement: string;
397
+ noRateService: string;
318
398
  };
319
399
  requirements: {
320
400
  noWarehouse: string;
@@ -338,7 +418,10 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
338
418
  today: string;
339
419
  viewMap: string;
340
420
  otherLocations: string;
341
- noServicePointsFound: string;
421
+ noServicePointsForService: string;
422
+ error: string;
423
+ paperless: string;
424
+ localTimeDisclaimer: string;
342
425
  };
343
426
  shipToAddressFormFields: string;
344
427
  sections: {
@@ -381,6 +464,8 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
381
464
  action: string;
382
465
  };
383
466
  termsAndAgreementLinkText: {
467
+ shipEngineToS: string;
468
+ auctanePrivacyPolicy: string;
384
469
  aHR0cHM6Ly9teWRobC5leHByZXNzLmRobC91cy9lbi9sZWdhbC90ZXJtcy1hbmQtY29uZGl0aW9ucy5odG1s: string;
385
470
  "aHR0cHM6Ly93d3cuc3RhbXBzLmNvbS9wcml2YWN5LXBvbGljeQ==": string;
386
471
  "aHR0cHM6Ly93d3cuc3RhbXBzLmNvbS9jb25kaXRpb25zLw==": string;
@@ -405,45 +490,6 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
405
490
  UHVyb2xhdG9yIE1vZGFsaXTDqXMgZXQgY29uZGl0aW9ucyBkZSBzZXJ2aWNl: string;
406
491
  };
407
492
  };
408
- "manage-defaults": {
409
- label: {
410
- title: string;
411
- letter: {
412
- title: string;
413
- description: string;
414
- };
415
- purchase: {
416
- title: string;
417
- description: string;
418
- };
419
- thermal: {
420
- title: string;
421
- description: string;
422
- };
423
- };
424
- status: {
425
- saving: string;
426
- saved: string;
427
- savingFailed: string;
428
- };
429
- units: {
430
- title: string;
431
- /**
432
- * `features` is a set of feature flags you would like to enable or disable in this component.
433
- */
434
- dimensions: {
435
- title: string;
436
- standard: string;
437
- metric: string;
438
- };
439
- weight: {
440
- title: string;
441
- standard: string;
442
- g: string;
443
- kg: string;
444
- };
445
- };
446
- };
447
493
  "manage-warehouses": {
448
494
  title: string;
449
495
  addNew: string;
@@ -471,22 +517,30 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
471
517
  error: {
472
518
  title: string;
473
519
  message: string;
474
- };
520
+ }; /**
521
+ * # View Shipment Component Props
522
+ *
523
+ * - These are the base props that will be passed into the `<ViewShipment />` component.
524
+ *
525
+ * @see {@link ViewShipment.Component | This prop types usage in the `<ViewShipment />` component}
526
+ */
475
527
  isEnabledCTA: string;
476
528
  isEnabled: string;
477
529
  isLoading: string;
478
530
  lowBalancePurchaseThreshold: string;
479
- /**
531
+ maximumPurchasesPerDay: string; /**
480
532
  * `features` is a set of feature flags you would like to enable or disable in this component.
481
533
  */
482
- maximumPurchasesPerDay: string;
483
534
  purchaseAmount: string;
484
535
  readSettings: string;
485
536
  };
486
537
  addFunds: {
487
538
  custom: string;
488
539
  error: {
489
- title: string;
540
+ title: string; /**
541
+ * `onClickPurchaseLabel` is a callback function that will be invoked when the user clicks the
542
+ * `Purchase Label` button.
543
+ */
490
544
  message: string;
491
545
  };
492
546
  isLoading: string;
@@ -514,6 +568,42 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
514
568
  currentBalance: string;
515
569
  maximumBalanceAmount: string;
516
570
  };
571
+ "manage-defaults": {
572
+ label: {
573
+ title: string;
574
+ letter: {
575
+ title: string;
576
+ description: string;
577
+ };
578
+ purchase: {
579
+ title: string;
580
+ description: string;
581
+ };
582
+ thermal: {
583
+ title: string;
584
+ description: string;
585
+ };
586
+ };
587
+ status: {
588
+ saving: string;
589
+ saved: string;
590
+ savingFailed: string;
591
+ };
592
+ units: {
593
+ title: string;
594
+ dimensions: {
595
+ title: string;
596
+ standard: string;
597
+ metric: string;
598
+ };
599
+ weight: {
600
+ title: string;
601
+ standard: string;
602
+ g: string;
603
+ kg: string;
604
+ };
605
+ };
606
+ };
517
607
  "list-shipments": {
518
608
  title: string;
519
609
  headers: {
@@ -544,18 +634,31 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
544
634
  };
545
635
  };
546
636
  };
547
- "shipengine-carriers": {
548
- title: string;
549
- headers: {
550
- accountCarriers: string;
551
- carriers: string;
552
- settings: string;
553
- };
637
+ "connect-carrier": {
554
638
  actions: {
555
- status: {
556
- connected: string;
557
- notConnected: string;
558
- };
639
+ cancel: string;
640
+ carrierSettings: string;
641
+ connectCarriers: string;
642
+ disconnect: string;
643
+ disconnectCarrier: string;
644
+ };
645
+ noCarriersDescription: string;
646
+ registrationForm: {
647
+ error: string;
648
+ title: string;
649
+ betaWarning: string;
650
+ };
651
+ search: string;
652
+ settingsModal: {
653
+ closeDialog: string;
654
+ header: string;
655
+ };
656
+ status: {
657
+ connected: string;
658
+ };
659
+ disconnectDropdown: {
660
+ toastTitle: string;
661
+ toastBody: string;
559
662
  };
560
663
  };
561
664
  common: {
@@ -587,10 +690,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
587
690
  addressLine2: string;
588
691
  cityLocality: string;
589
692
  stateProvince: string;
590
- postalCode: string; /**
591
- * `onClickPrintLabel` is a callback function that will be invoked when the user clicks the
592
- * `Print Label` button.
593
- */
693
+ postalCode: string;
594
694
  phone: string;
595
695
  email: string;
596
696
  addressResidentialIndicator: string;
@@ -698,6 +798,13 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
698
798
  invalidNameOrCompany: string;
699
799
  parsingFailure: string;
700
800
  incompleteLabelPurchaseRequirements: string;
801
+ /**
802
+ * # View Shipment Element Props
803
+ *
804
+ * - These are the base props that will be passed into the `<ViewShipment />` element.
805
+ *
806
+ * @see {@link ViewShipment.Element | See the full type that `typeof Element` will return}
807
+ */
701
808
  shipmentCancelled: string;
702
809
  unableToLoad: {
703
810
  accountSettings: string;
@@ -745,6 +852,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
745
852
  accountSettings: string;
746
853
  carrier: string;
747
854
  carriers: string;
855
+ carrierServices: string;
748
856
  connectCarrierForm: string;
749
857
  connectingCarriers: string;
750
858
  creatingFundingSource: string;
@@ -835,6 +943,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
835
943
  gram: string;
836
944
  kilogram: string;
837
945
  };
946
+ ZnVuZGluZ19zb3VyY2VfaWQgbXVzdCBiZSBhbiBpbnRlZ2Vy: string;
838
947
  T25seSByZXNpZGVudGlhbCBkZWxpdmVyeSBhZGRyZXNzZXMgYXJlIGFsbG93ZWQgZm9yIFVQUyBHcm91bmQgU2F2ZXIu: string;
839
948
  "VGhlIHNlbGVjdGVkIHNlcnZpY2UgaW5jbHVkZXMgaW5zdXJhbmNlIGZvciBhbiBpbnN1cmVkIGFtb3VudCB1cCB0byAkMTAwLgo=": string;
840
949
  "VGhlIHNlbGVjdGVkIHNlcnZpY2UgaW5jbHVkZXMgaW5zdXJhbmNlIGZvciBhbiBpbnN1cmVkIGFtb3VudCB1cCB0byAkNTAuCg==": string;
@@ -847,35 +956,6 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
847
956
  "QSBzaGlwcGluZyBjYXJyaWVyIGVycm9yIG9jY3VycmVkOiBNaXNzaW5nIG9yIGludmFsaWQgc2hpcCB0byBTdGF0ZVByb3ZpbmNlQ29kZQ==": string;
848
957
  "QSBzaGlwcGluZyBjYXJyaWVyIGVycm9yIG9jY3VycmVkOiBJbnZhbGlkIHNvbGQgdG8gc3RhdGUgcHJvdmluY2UgY29kZS4gVmFsaWQgbGVuZ3RoIGlzIDAgdG8gNSBhbHBoYW51bWVyaWM=": string;
849
958
  };
850
- "connect-carrier": {
851
- actions: {
852
- cancel: string;
853
- carrierSettings: string;
854
- connectCarriers: string;
855
- disconnect: string;
856
- disconnectCarrier: string;
857
- };
858
- noCarriersDescription: string;
859
- registrationForm: {
860
- error: string;
861
- title: string;
862
- betaWarning: string; /**
863
- * `features` is a set of feature flags you would like to enable or disable in this component.
864
- */
865
- };
866
- search: string;
867
- settingsModal: {
868
- closeDialog: string;
869
- header: string;
870
- };
871
- status: {
872
- connected: string;
873
- };
874
- disconnectDropdown: {
875
- toastTitle: string;
876
- toastBody: string;
877
- };
878
- };
879
959
  "account-settings": {
880
960
  messages: {
881
961
  noFundingSources: string;
@@ -891,6 +971,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
891
971
  externalCarriers: string;
892
972
  labelLayout: string;
893
973
  unitSettings: string;
974
+ vatSettings: string;
894
975
  };
895
976
  };
896
977
  };
@@ -1,8 +1,8 @@
1
1
  import { SE } from "@shipengine/alchemy";
2
2
  export type ActionsProps = {
3
- onComplete: (request: SE.VoidRequest, shipment: SE.SalesOrderShipment) => void;
4
- onSubmit: () => Promise<void>;
5
- onViewShipment: (shipment: SE.SalesOrderShipment) => void;
3
+ onComplete?: (request: SE.VoidRequest, shipment: SE.SalesOrderShipment) => void;
4
+ onSubmit?: () => Promise<void>;
5
+ onViewShipment?: (shipment: SE.SalesOrderShipment) => void;
6
6
  shipment: SE.SalesOrderShipment;
7
7
  voidRequest?: SE.VoidRequest;
8
8
  };
@@ -1,6 +1,7 @@
1
- import { SE } from "@shipengine/alchemy";
1
+ import type { SE } from "@shipengine/alchemy";
2
2
  type MessageProps = {
3
+ carrier?: SE.Carrier["carrierCode"];
3
4
  voidRequest?: SE.VoidRequest;
4
5
  };
5
- export declare const Message: ({ voidRequest }: MessageProps) => import("@emotion/react/jsx-runtime").JSX.Element;
6
+ export declare const Message: ({ voidRequest, carrier }: MessageProps) => import("@emotion/react/jsx-runtime").JSX.Element;
6
7
  export {};