@shipengine/elements 2.3.1 → 2.5.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 (88) hide show
  1. package/actions-menu.js +3 -12
  2. package/components.js +1 -1
  3. package/elements.js +1 -1
  4. package/hooks.js +1 -1
  5. package/index.js +1 -1
  6. package/package.json +5 -3
  7. package/src/components/actions-menu/actions-menu.d.ts +2 -1
  8. package/src/components/error-state/error-state.d.ts +6 -0
  9. package/src/{workflows/onboarding/components/account-registration-step/account-registration-step.styles.d.ts → components/error-state/error-state.styles.d.ts} +9 -5
  10. package/src/components/error-state/index.d.ts +1 -0
  11. package/src/components/field/create-field-controller.d.ts +2 -1
  12. package/src/components/field-label/field-label.d.ts +2 -1
  13. package/src/components/field-label/field-label.styles.d.ts +16 -0
  14. package/src/components/grid-controller/grid-controller.d.ts +20 -2
  15. package/src/components/grid-controller/grid-controller.styles.d.ts +18 -6
  16. package/src/components/grid-controller/grid-footer.d.ts +27 -0
  17. package/src/components/grid-controller/index.d.ts +2 -0
  18. package/src/components/grid-filters/grid-filters.d.ts +30 -0
  19. package/src/components/grid-filters/grid-filters.styles.d.ts +11 -0
  20. package/src/components/grid-filters/index.d.ts +2 -0
  21. package/src/components/grid-filters/shipment-id-filter-shema.d.ts +9 -0
  22. package/src/components/grid-filters/shipment-id-filter.d.ts +23 -0
  23. package/src/components/index.d.ts +2 -0
  24. package/src/components/templates/address-display/address-display.d.ts +2 -1
  25. package/src/components/templates/wallet-form/wallet-form.d.ts +1 -1
  26. package/src/components/warehouse-form/warehouse-form-schema.d.ts +4 -1
  27. package/src/components/warehouse-form/warehouse-form.d.ts +2 -1
  28. package/src/elements/label-layout/label-layout-element.d.ts +77 -22
  29. package/src/elements/labels-grid/hooks/use-labels-grid.d.ts +68 -0
  30. package/src/elements/labels-grid/index.d.ts +1 -0
  31. package/src/elements/labels-grid/labels-grid.d.ts +132 -28
  32. package/src/elements/labels-grid/labels-grid.styles.d.ts +11 -0
  33. package/src/elements/manage-carriers/manage-carriers.d.ts +77 -22
  34. package/src/elements/manage-external-carriers/manage-external-carriers.d.ts +99 -23
  35. package/src/elements/manage-funding/manage-funding-element.d.ts +77 -22
  36. package/src/elements/manage-warehouses/manage-warehouses.d.ts +77 -22
  37. package/src/elements/payment-method-settings/payment-method-settings-element.d.ts +77 -22
  38. package/src/elements/purchase-label/purchase-label.d.ts +88 -73
  39. package/src/elements/shipment-summary/shipment-summary.d.ts +84 -26
  40. package/src/elements/shipments-grid/hooks/use-shipments-grid.d.ts +161 -0
  41. package/src/elements/shipments-grid/shipments-grid.d.ts +161 -30
  42. package/src/elements/shipments-grid/shipments-grid.styles.d.ts +11 -0
  43. package/src/elements/theme-creator/theme-creator.d.ts +77 -22
  44. package/src/elements/transaction-history/transaction-history-element.d.ts +77 -22
  45. package/src/elements/unit-settings/unit-settings-element.d.ts +77 -22
  46. package/src/elements/vat-settings/vat-settings-element.d.ts +77 -22
  47. package/src/elements/void-label/void-label.d.ts +89 -33
  48. package/src/hooks/index.d.ts +1 -0
  49. package/src/hooks/use-get-service-name.d.ts +4 -0
  50. package/src/locales/en/index.d.ts +77 -22
  51. package/src/workflows/account-settings/account-settings.d.ts +77 -22
  52. package/src/workflows/carrier-services/carrier-services.d.ts +77 -22
  53. package/src/workflows/connect-external-carrier/connect-external-carrier.d.ts +77 -22
  54. package/src/workflows/label-workflow/label-workflow.d.ts +10 -29
  55. package/src/workflows/onboarding/components/carrier-recovery-form/carrier-recovery-form-schema.d.ts +18 -18
  56. package/src/workflows/onboarding/components/confirmation-and-submission-step/confirmation-and-submission-step.d.ts +12 -0
  57. package/src/workflows/onboarding/components/confirmation-and-submission-step/index.d.ts +2 -0
  58. package/src/workflows/onboarding/components/confirmation-and-submission-step/use-confirmation-and-submission-step.d.ts +19 -0
  59. package/src/workflows/onboarding/components/funding-step/funding-step.d.ts +7 -0
  60. package/src/workflows/onboarding/components/funding-step/index.d.ts +1 -0
  61. package/src/workflows/onboarding/components/onboarding-wizard/onboarding-wizard.d.ts +1 -2
  62. package/src/workflows/onboarding/components/onboarding-wizard/onboarding-wizard.styles.d.ts +3 -0
  63. package/src/workflows/onboarding/components/ship-from-address-step/index.d.ts +0 -1
  64. package/src/workflows/onboarding/components/ship-from-address-step/ship-from-address-step.d.ts +3 -2
  65. package/src/workflows/onboarding/components/step-header/step-header.d.ts +3 -2
  66. package/src/workflows/onboarding/components/{funding-and-carrier-connection-step/funding-and-carrier-connection-step.styles.d.ts → step-header/step-header.styles.d.ts} +5 -8
  67. package/src/workflows/onboarding/components/welcome-page/index.d.ts +1 -0
  68. package/src/workflows/onboarding/components/welcome-page/welcome-page.d.ts +4 -0
  69. package/src/workflows/onboarding/onboarding.d.ts +79 -26
  70. package/suspend-text.js +1 -1
  71. package/transaction-history-element.js +1 -1
  72. package/use-get-service-name.js +1 -0
  73. package/use-unit-settings.js +1 -1
  74. package/usePager.js +1 -0
  75. package/vat.js +1 -1
  76. package/wallet-form.js +1 -1
  77. package/workflows.js +1 -1
  78. package/src/workflows/onboarding/components/account-registration-form/account-registration-form-schema.d.ts +0 -13
  79. package/src/workflows/onboarding/components/account-registration-form/account-registration-form.d.ts +0 -4
  80. package/src/workflows/onboarding/components/account-registration-form/index.d.ts +0 -1
  81. package/src/workflows/onboarding/components/account-registration-step/account-registration-step.d.ts +0 -5
  82. package/src/workflows/onboarding/components/account-registration-step/index.d.ts +0 -2
  83. package/src/workflows/onboarding/components/account-registration-step/use-account-registration-step.d.ts +0 -7
  84. package/src/workflows/onboarding/components/funding-and-carrier-connection-step/funding-and-carrier-connection-step.d.ts +0 -9
  85. package/src/workflows/onboarding/components/funding-and-carrier-connection-step/index.d.ts +0 -2
  86. package/src/workflows/onboarding/components/funding-and-carrier-connection-step/use-funding-and-carrier-connection-step.d.ts +0 -25
  87. package/src/workflows/onboarding/components/ship-from-address-step/use-ship-from-address-step.d.ts +0 -9
  88. package/story-notes.js +0 -1
@@ -151,7 +151,6 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
151
151
  setup: {
152
152
  title: string;
153
153
  subtitle: string;
154
- hiddenTermsSubtitle: string;
155
154
  descriptionTitle: string;
156
155
  description: string;
157
156
  };
@@ -159,7 +158,6 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
159
158
  title: string;
160
159
  cardSubTitle: string;
161
160
  addressSubTitle: string;
162
- info: string;
163
161
  };
164
162
  vatSettings: {
165
163
  title: string;
@@ -173,7 +171,6 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
173
171
  title: string;
174
172
  };
175
173
  info: {
176
- title: string;
177
174
  description: string;
178
175
  };
179
176
  poBox: {
@@ -374,18 +371,15 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
374
371
  };
375
372
  onboarding: {
376
373
  title: string;
377
- inlineTitle: string;
378
- accountRegistration: {
379
- action: string;
374
+ confirmation: {
380
375
  title: string;
381
- subtitle: string;
382
- welcome: string;
383
- messageLine1: string;
384
- partnerMessageLine1: string;
385
- messageLine2: string;
376
+ warehouse: string;
377
+ billingAddress: string;
378
+ paymentMethod: string;
379
+ action: string;
386
380
  };
387
381
  stepLabel: {
388
- accountRegistration: string;
382
+ confirmation: string;
389
383
  termsAgreement: string;
390
384
  shipFromAddress: string;
391
385
  fundingAndCarrierConnection: string;
@@ -432,6 +426,14 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
432
426
  "UHVyb2xhdG9yIFRlcm1zIGFuZCBDb25kaXRpb25zIG9mIFNlcnZpY2U=": string;
433
427
  UHVyb2xhdG9yIE1vZGFsaXTDqXMgZXQgY29uZGl0aW9ucyBkZSBzZXJ2aWNl: string;
434
428
  };
429
+ tooltip: {
430
+ warehouse: string;
431
+ };
432
+ welcomePage: {
433
+ title: string;
434
+ message: string;
435
+ action: string;
436
+ };
435
437
  };
436
438
  "manage-warehouses": {
437
439
  title: string;
@@ -540,32 +542,74 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
540
542
  };
541
543
  "list-shipments": {
542
544
  title: string;
545
+ none: string;
543
546
  headers: {
544
547
  created: string;
545
- download: string;
548
+ modified: string;
549
+ shipping: string;
546
550
  shipmentId: string;
547
- shipDate: string;
548
- shipTo: string;
551
+ parcels: string;
552
+ recipient: string;
553
+ status: string;
554
+ };
555
+ status: {
556
+ cancelled: string;
557
+ purchased: string;
558
+ readyToBuy: string;
559
+ processing: string;
549
560
  };
550
561
  actions: {
551
562
  download: {
552
563
  pdf: string;
553
564
  };
554
565
  };
566
+ emptyState: {
567
+ title: string;
568
+ subtitle: string;
569
+ filtersTitle: string;
570
+ filtersSubtitle: string;
571
+ viewAll: string;
572
+ };
573
+ errorMessages: {
574
+ title: string;
575
+ subtitle: string;
576
+ };
555
577
  };
556
578
  "list-labels": {
557
579
  title: string;
558
580
  headers: {
559
581
  created: string;
560
- download: string;
561
- labelId: string;
562
- service: string;
563
- shipTo: string;
582
+ shipmentId: string;
583
+ parcels: string;
584
+ recipient: string;
585
+ shipping: string;
586
+ shipDate: string;
587
+ status: string;
588
+ };
589
+ empty: {
590
+ title: string;
591
+ subtitle: string;
592
+ };
593
+ emptyWithFilters: {
594
+ title: string;
595
+ subtitle: string;
596
+ button: string;
597
+ };
598
+ status: {
599
+ voided: string;
600
+ error: string;
601
+ completed: string;
602
+ processing: string;
564
603
  };
565
604
  actions: {
566
- download: {
567
- pdf: string;
568
- };
605
+ title: string;
606
+ print: string;
607
+ void: string;
608
+ printForms: string;
609
+ };
610
+ errorMessages: {
611
+ title: string;
612
+ subtitle: string;
569
613
  };
570
614
  };
571
615
  "connect-carrier": {
@@ -767,6 +811,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
767
811
  emailIsRequired: string;
768
812
  unknown: string;
769
813
  noRatesAvailable: string;
814
+ refreshAndTryAgain: string;
770
815
  };
771
816
  errorTypes: {
772
817
  accountStatus: string;
@@ -785,6 +830,13 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
785
830
  "row-count_one": string;
786
831
  "row-count_other": string;
787
832
  rows: string;
833
+ clearAll: string;
834
+ shipmentId: string;
835
+ shipmentIdFilter: string;
836
+ apply: string;
837
+ clear: string;
838
+ search: string;
839
+ shipmentIdHint: string;
788
840
  };
789
841
  insuranceProviders: {
790
842
  carrier: string;
@@ -860,6 +912,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
860
912
  requiredList: string;
861
913
  tooFewCharacters: string;
862
914
  tooManyCharacters: string;
915
+ requiredShipmentId: string;
863
916
  };
864
917
  shippingPresets: {
865
918
  apply: string;
@@ -873,6 +926,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
873
926
  agreeToTerms: string;
874
927
  carriersTitle: string;
875
928
  fundingSourceTitle: string;
929
+ shipEngineTitle: string;
876
930
  };
877
931
  weight: {
878
932
  ounces: string;
@@ -897,6 +951,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
897
951
  printForms: string;
898
952
  edit: string;
899
953
  remove: string;
954
+ viewDetails: string;
900
955
  };
901
956
  };
902
957
  ZnVuZGluZ19zb3VyY2VfaWQgbXVzdCBiZSBhbiBpbnRlZ2Vy: string;
@@ -143,7 +143,6 @@ export declare const Element: ({ resources, ...props }: CarrierServicesProps & {
143
143
  setup: {
144
144
  title: string;
145
145
  subtitle: string;
146
- hiddenTermsSubtitle: string;
147
146
  descriptionTitle: string;
148
147
  description: string;
149
148
  };
@@ -151,7 +150,6 @@ export declare const Element: ({ resources, ...props }: CarrierServicesProps & {
151
150
  title: string;
152
151
  cardSubTitle: string;
153
152
  addressSubTitle: string;
154
- info: string;
155
153
  };
156
154
  vatSettings: {
157
155
  title: string;
@@ -165,7 +163,6 @@ export declare const Element: ({ resources, ...props }: CarrierServicesProps & {
165
163
  title: string;
166
164
  };
167
165
  info: {
168
- title: string;
169
166
  description: string;
170
167
  };
171
168
  poBox: {
@@ -366,18 +363,15 @@ export declare const Element: ({ resources, ...props }: CarrierServicesProps & {
366
363
  };
367
364
  onboarding: {
368
365
  title: string;
369
- inlineTitle: string;
370
- accountRegistration: {
371
- action: string;
366
+ confirmation: {
372
367
  title: string;
373
- subtitle: string;
374
- welcome: string;
375
- messageLine1: string;
376
- partnerMessageLine1: string;
377
- messageLine2: string;
368
+ warehouse: string;
369
+ billingAddress: string;
370
+ paymentMethod: string;
371
+ action: string;
378
372
  };
379
373
  stepLabel: {
380
- accountRegistration: string;
374
+ confirmation: string;
381
375
  termsAgreement: string;
382
376
  shipFromAddress: string;
383
377
  fundingAndCarrierConnection: string;
@@ -424,6 +418,14 @@ export declare const Element: ({ resources, ...props }: CarrierServicesProps & {
424
418
  "UHVyb2xhdG9yIFRlcm1zIGFuZCBDb25kaXRpb25zIG9mIFNlcnZpY2U=": string;
425
419
  UHVyb2xhdG9yIE1vZGFsaXTDqXMgZXQgY29uZGl0aW9ucyBkZSBzZXJ2aWNl: string;
426
420
  };
421
+ tooltip: {
422
+ warehouse: string;
423
+ };
424
+ welcomePage: {
425
+ title: string;
426
+ message: string;
427
+ action: string;
428
+ };
427
429
  };
428
430
  "manage-warehouses": {
429
431
  title: string;
@@ -532,32 +534,74 @@ export declare const Element: ({ resources, ...props }: CarrierServicesProps & {
532
534
  };
533
535
  "list-shipments": {
534
536
  title: string;
537
+ none: string;
535
538
  headers: {
536
539
  created: string;
537
- download: string;
540
+ modified: string;
541
+ shipping: string;
538
542
  shipmentId: string;
539
- shipDate: string;
540
- shipTo: string;
543
+ parcels: string;
544
+ recipient: string;
545
+ status: string;
546
+ };
547
+ status: {
548
+ cancelled: string;
549
+ purchased: string;
550
+ readyToBuy: string;
551
+ processing: string;
541
552
  };
542
553
  actions: {
543
554
  download: {
544
555
  pdf: string;
545
556
  };
546
557
  };
558
+ emptyState: {
559
+ title: string;
560
+ subtitle: string;
561
+ filtersTitle: string;
562
+ filtersSubtitle: string;
563
+ viewAll: string;
564
+ };
565
+ errorMessages: {
566
+ title: string;
567
+ subtitle: string;
568
+ };
547
569
  };
548
570
  "list-labels": {
549
571
  title: string;
550
572
  headers: {
551
573
  created: string;
552
- download: string;
553
- labelId: string;
554
- service: string;
555
- shipTo: string;
574
+ shipmentId: string;
575
+ parcels: string;
576
+ recipient: string;
577
+ shipping: string;
578
+ shipDate: string;
579
+ status: string;
580
+ };
581
+ empty: {
582
+ title: string;
583
+ subtitle: string;
584
+ };
585
+ emptyWithFilters: {
586
+ title: string;
587
+ subtitle: string;
588
+ button: string;
589
+ };
590
+ status: {
591
+ voided: string;
592
+ error: string;
593
+ completed: string;
594
+ processing: string;
556
595
  };
557
596
  actions: {
558
- download: {
559
- pdf: string;
560
- };
597
+ title: string;
598
+ print: string;
599
+ void: string;
600
+ printForms: string;
601
+ };
602
+ errorMessages: {
603
+ title: string;
604
+ subtitle: string;
561
605
  };
562
606
  };
563
607
  "connect-carrier": {
@@ -759,6 +803,7 @@ export declare const Element: ({ resources, ...props }: CarrierServicesProps & {
759
803
  emailIsRequired: string;
760
804
  unknown: string;
761
805
  noRatesAvailable: string;
806
+ refreshAndTryAgain: string;
762
807
  };
763
808
  errorTypes: {
764
809
  accountStatus: string;
@@ -777,6 +822,13 @@ export declare const Element: ({ resources, ...props }: CarrierServicesProps & {
777
822
  "row-count_one": string;
778
823
  "row-count_other": string;
779
824
  rows: string;
825
+ clearAll: string;
826
+ shipmentId: string;
827
+ shipmentIdFilter: string;
828
+ apply: string;
829
+ clear: string;
830
+ search: string;
831
+ shipmentIdHint: string;
780
832
  };
781
833
  insuranceProviders: {
782
834
  carrier: string;
@@ -852,6 +904,7 @@ export declare const Element: ({ resources, ...props }: CarrierServicesProps & {
852
904
  requiredList: string;
853
905
  tooFewCharacters: string;
854
906
  tooManyCharacters: string;
907
+ requiredShipmentId: string;
855
908
  };
856
909
  shippingPresets: {
857
910
  apply: string;
@@ -865,6 +918,7 @@ export declare const Element: ({ resources, ...props }: CarrierServicesProps & {
865
918
  agreeToTerms: string;
866
919
  carriersTitle: string;
867
920
  fundingSourceTitle: string;
921
+ shipEngineTitle: string;
868
922
  };
869
923
  weight: {
870
924
  ounces: string;
@@ -889,6 +943,7 @@ export declare const Element: ({ resources, ...props }: CarrierServicesProps & {
889
943
  printForms: string;
890
944
  edit: string;
891
945
  remove: string;
946
+ viewDetails: string;
892
947
  };
893
948
  };
894
949
  ZnVuZGluZ19zb3VyY2VfaWQgbXVzdCBiZSBhbiBpbnRlZ2Vy: string;
@@ -150,7 +150,6 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
150
150
  setup: {
151
151
  title: string;
152
152
  subtitle: string;
153
- hiddenTermsSubtitle: string;
154
153
  descriptionTitle: string;
155
154
  description: string;
156
155
  };
@@ -158,7 +157,6 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
158
157
  title: string;
159
158
  cardSubTitle: string;
160
159
  addressSubTitle: string;
161
- info: string;
162
160
  };
163
161
  vatSettings: {
164
162
  title: string;
@@ -172,7 +170,6 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
172
170
  title: string;
173
171
  };
174
172
  info: {
175
- title: string;
176
173
  description: string;
177
174
  };
178
175
  poBox: {
@@ -373,18 +370,15 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
373
370
  };
374
371
  onboarding: {
375
372
  title: string;
376
- inlineTitle: string;
377
- accountRegistration: {
378
- action: string;
373
+ confirmation: {
379
374
  title: string;
380
- subtitle: string;
381
- welcome: string;
382
- messageLine1: string;
383
- partnerMessageLine1: string;
384
- messageLine2: string;
375
+ warehouse: string;
376
+ billingAddress: string;
377
+ paymentMethod: string;
378
+ action: string;
385
379
  };
386
380
  stepLabel: {
387
- accountRegistration: string;
381
+ confirmation: string;
388
382
  termsAgreement: string;
389
383
  shipFromAddress: string;
390
384
  fundingAndCarrierConnection: string;
@@ -431,6 +425,14 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
431
425
  "UHVyb2xhdG9yIFRlcm1zIGFuZCBDb25kaXRpb25zIG9mIFNlcnZpY2U=": string;
432
426
  UHVyb2xhdG9yIE1vZGFsaXTDqXMgZXQgY29uZGl0aW9ucyBkZSBzZXJ2aWNl: string;
433
427
  };
428
+ tooltip: {
429
+ warehouse: string;
430
+ };
431
+ welcomePage: {
432
+ title: string;
433
+ message: string;
434
+ action: string;
435
+ };
434
436
  };
435
437
  "manage-warehouses": {
436
438
  title: string;
@@ -539,32 +541,74 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
539
541
  };
540
542
  "list-shipments": {
541
543
  title: string;
544
+ none: string;
542
545
  headers: {
543
546
  created: string;
544
- download: string;
547
+ modified: string;
548
+ shipping: string;
545
549
  shipmentId: string;
546
- shipDate: string;
547
- shipTo: string;
550
+ parcels: string;
551
+ recipient: string;
552
+ status: string;
553
+ };
554
+ status: {
555
+ cancelled: string;
556
+ purchased: string;
557
+ readyToBuy: string;
558
+ processing: string;
548
559
  };
549
560
  actions: {
550
561
  download: {
551
562
  pdf: string;
552
563
  };
553
564
  };
565
+ emptyState: {
566
+ title: string;
567
+ subtitle: string;
568
+ filtersTitle: string;
569
+ filtersSubtitle: string;
570
+ viewAll: string;
571
+ };
572
+ errorMessages: {
573
+ title: string;
574
+ subtitle: string;
575
+ };
554
576
  };
555
577
  "list-labels": {
556
578
  title: string;
557
579
  headers: {
558
580
  created: string;
559
- download: string;
560
- labelId: string;
561
- service: string;
562
- shipTo: string;
581
+ shipmentId: string;
582
+ parcels: string;
583
+ recipient: string;
584
+ shipping: string;
585
+ shipDate: string;
586
+ status: string;
587
+ };
588
+ empty: {
589
+ title: string;
590
+ subtitle: string;
591
+ };
592
+ emptyWithFilters: {
593
+ title: string;
594
+ subtitle: string;
595
+ button: string;
596
+ };
597
+ status: {
598
+ voided: string;
599
+ error: string;
600
+ completed: string;
601
+ processing: string;
563
602
  };
564
603
  actions: {
565
- download: {
566
- pdf: string;
567
- };
604
+ title: string;
605
+ print: string;
606
+ void: string;
607
+ printForms: string;
608
+ };
609
+ errorMessages: {
610
+ title: string;
611
+ subtitle: string;
568
612
  };
569
613
  };
570
614
  "connect-carrier": {
@@ -766,6 +810,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
766
810
  emailIsRequired: string;
767
811
  unknown: string;
768
812
  noRatesAvailable: string;
813
+ refreshAndTryAgain: string;
769
814
  };
770
815
  errorTypes: {
771
816
  accountStatus: string;
@@ -784,6 +829,13 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
784
829
  "row-count_one": string;
785
830
  "row-count_other": string;
786
831
  rows: string;
832
+ clearAll: string;
833
+ shipmentId: string;
834
+ shipmentIdFilter: string;
835
+ apply: string;
836
+ clear: string;
837
+ search: string;
838
+ shipmentIdHint: string;
787
839
  };
788
840
  insuranceProviders: {
789
841
  carrier: string;
@@ -859,6 +911,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
859
911
  requiredList: string;
860
912
  tooFewCharacters: string;
861
913
  tooManyCharacters: string;
914
+ requiredShipmentId: string;
862
915
  };
863
916
  shippingPresets: {
864
917
  apply: string;
@@ -872,6 +925,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
872
925
  agreeToTerms: string;
873
926
  carriersTitle: string;
874
927
  fundingSourceTitle: string;
928
+ shipEngineTitle: string;
875
929
  };
876
930
  weight: {
877
931
  ounces: string;
@@ -896,6 +950,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
896
950
  printForms: string;
897
951
  edit: string;
898
952
  remove: string;
953
+ viewDetails: string;
899
954
  };
900
955
  };
901
956
  ZnVuZGluZ19zb3VyY2VfaWQgbXVzdCBiZSBhbiBpbnRlZ2Vy: string;
@@ -27,7 +27,7 @@ export type LabelWorkflowProps = {
27
27
  /**
28
28
  * `features` is a set of feature flags you would like to enable or disable in this component.
29
29
  */
30
- features: PurchaseLabelFeatures & ShipmentSummaryFeatures;
30
+ features?: PurchaseLabelFeatures & ShipmentSummaryFeatures;
31
31
  /**
32
32
  * `multiplexedId` is the unique pattern of props that help index which Element is being displayed.
33
33
  */
@@ -39,37 +39,14 @@ export type LabelWorkflowProps = {
39
39
  externalOrderId: string;
40
40
  })) | {
41
41
  salesOrderId: string;
42
+ } | {
43
+ externalShipmentId: string;
42
44
  } | {
43
45
  shipmentId: string;
44
46
  } | {
45
47
  oneOff: true;
46
48
  };
47
49
  };
48
- /**
49
- * @internal
50
- *
51
- * # Label Workflow Component
52
- *
53
- * @example
54
- * ```tsx
55
- * const {
56
- * labelId,
57
- * multiplexedId,
58
- * isVoidingLabel,
59
- * shipmentId,
60
- * setLabelId,
61
- * setShipmentId,
62
- * setIsVoidingLabel,
63
- * } = useLabelWorkflow({
64
- * _labelId,
65
- * _multiplexedId,
66
- * });
67
- * ```
68
- *
69
- * <br />
70
- *
71
- * @see {@link LabelWorkflow.Element | The `<LabelWorkflow.Element />` component using this hook}
72
- */
73
50
  export declare const useLabelWorkflow: ({ _multiplexedId, }: {
74
51
  _callbacks?: {
75
52
  /**
@@ -88,13 +65,15 @@ export declare const useLabelWorkflow: ({ _multiplexedId, }: {
88
65
  externalOrderId: string;
89
66
  })) | {
90
67
  salesOrderId: string;
68
+ } | {
69
+ externalShipmentId: string;
91
70
  } | {
92
71
  shipmentId: string;
93
72
  } | {
94
73
  oneOff: true;
95
74
  };
96
75
  }) => {
97
- isVoidingLabel: boolean;
76
+ element: "purchaseLabel" | "shipmentSummary" | "voidLabel" | undefined;
98
77
  labelId: string | undefined;
99
78
  multiplexedId: ({
100
79
  orderSourceCode: string;
@@ -104,13 +83,15 @@ export declare const useLabelWorkflow: ({ _multiplexedId, }: {
104
83
  externalOrderId: string;
105
84
  })) | {
106
85
  salesOrderId: string;
86
+ } | {
87
+ externalShipmentId: string;
107
88
  } | {
108
89
  shipmentId: string;
109
90
  } | {
110
91
  oneOff: true;
111
92
  };
112
- setIsVoidingLabel: import("react").Dispatch<import("react").SetStateAction<boolean>>;
113
- setLabelId: (nextLabelId?: string) => void;
93
+ setElement: import("react").Dispatch<import("react").SetStateAction<"purchaseLabel" | "shipmentSummary" | "voidLabel" | undefined>>;
94
+ setLabelId: import("react").Dispatch<import("react").SetStateAction<string | undefined>>;
114
95
  setShipmentId: import("react").Dispatch<import("react").SetStateAction<string | undefined>>;
115
96
  shipmentId: string | undefined;
116
97
  };