@shipengine/elements 2.0.0 → 2.1.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 (118) hide show
  1. package/actions-menu.js +34 -0
  2. package/carrier-logo.js +1 -0
  3. package/components.js +1 -1
  4. package/constants.js +1 -1
  5. package/elements.js +1 -1
  6. package/extensions.js +1 -1
  7. package/formatString.js +1 -0
  8. package/hooks.js +1 -1
  9. package/index.js +1 -1
  10. package/package.json +15 -45
  11. package/pudo.js +1 -0
  12. package/schemas.js +1 -1
  13. package/src/components/actions-menu/actions-menu.d.ts +19 -0
  14. package/src/components/actions-menu/index.d.ts +1 -0
  15. package/src/components/collapsible-panel/collapsible-panel.styles.d.ts +10 -13
  16. package/src/components/field/checkbox-input/checkbox-input.d.ts +1 -0
  17. package/src/components/field/rate-card/rate-card.styles.d.ts +0 -1
  18. package/src/components/field/select/index.d.ts +1 -0
  19. package/src/components/field/select/select-with-categories.d.ts +20 -0
  20. package/src/components/field/select/select.d.ts +5 -10
  21. package/src/components/index.d.ts +1 -0
  22. package/src/components/templates/connected-carrier-list/connected-carrier-list.d.ts +4 -1
  23. package/src/components/templates/connected-carrier-list/connected-carrier-list.styles.d.ts +0 -10
  24. package/src/components/templates/connected-carrier-list/connected-carrier-row/connected-carrier-row.d.ts +4 -1
  25. package/src/components/templates/connected-carrier-list/connected-carrier-row/connected-carrier-row.styles.d.ts +19 -12
  26. package/src/components/templates/products-display/products-display.styles.d.ts +12 -4
  27. package/src/components/templates/shipment-form/sections/customs-forms/components/index.d.ts +2 -0
  28. package/src/components/templates/shipment-form/sections/customs-forms/components/tax-ids/form/index.d.ts +3 -0
  29. package/src/components/templates/shipment-form/sections/customs-forms/components/tax-ids/form/schema.d.ts +38 -0
  30. package/src/components/templates/shipment-form/sections/customs-forms/components/tax-ids/form/values.d.ts +12 -0
  31. package/src/components/templates/shipment-form/sections/customs-forms/components/tax-ids/index.d.ts +2 -0
  32. package/src/components/templates/shipment-form/sections/customs-forms/components/tax-ids/tax-id-form.d.ts +17 -0
  33. package/src/components/templates/shipment-form/sections/customs-forms/components/tax-ids/tax-id-list.d.ts +12 -0
  34. package/src/components/templates/shipment-form/sections/customs-forms/components/tax-ids/tax-ids.d.ts +8 -0
  35. package/src/components/templates/shipment-form/sections/customs-forms/components/tax-ids/tax-ids.styles.d.ts +70 -0
  36. package/src/components/templates/shipment-form/sections/customs-forms/customs-forms.d.ts +10 -0
  37. package/src/components/templates/shipment-form/sections/customs-forms/index.d.ts +1 -0
  38. package/src/components/templates/shipment-form/sections/index.d.ts +1 -0
  39. package/src/components/templates/shipment-form/shipment-form.d.ts +2 -1
  40. package/src/components/templates/shipment-form/shipment-form.styles.d.ts +9 -0
  41. package/src/components/warehouse-form/warehouse-form.d.ts +10 -3
  42. package/src/components/zero-state/zero-state.d.ts +6 -0
  43. package/src/components/zero-state/zero-state.styles.d.ts +14 -0
  44. package/src/elements/label-layout/label-layout-element.d.ts +43 -1
  45. package/src/elements/labels-grid/labels-grid.d.ts +43 -1
  46. package/src/elements/manage-carriers/manage-carriers.d.ts +93 -52
  47. package/src/elements/manage-external-carriers/manage-external-carriers.d.ts +65 -1
  48. package/src/elements/manage-funding/manage-funding-element.d.ts +46 -3
  49. package/src/elements/manage-warehouses/manage-warehouses.d.ts +43 -1
  50. package/src/elements/payment-method-settings/payment-method-settings-element.d.ts +46 -3
  51. package/src/elements/purchase-label/hooks/use-customs.d.ts +1 -0
  52. package/src/elements/purchase-label/hooks/use-shipment-form.d.ts +1 -0
  53. package/src/elements/purchase-label/purchase-label.d.ts +68 -4
  54. package/src/elements/shipment-summary/shipment-summary.d.ts +47 -1
  55. package/src/elements/shipments-grid/shipments-grid.d.ts +43 -1
  56. package/src/elements/theme-creator/theme-creator.d.ts +43 -1
  57. package/src/elements/transaction-history/transaction-history-element.d.ts +43 -1
  58. package/src/elements/unit-settings/unit-settings-element.d.ts +43 -1
  59. package/src/elements/vat-settings/vat-settings-element.d.ts +43 -1
  60. package/src/elements/void-label/void-label.d.ts +57 -10
  61. package/src/elements-provider/elements-context-provider.d.ts +44 -0
  62. package/src/elements-provider/elements-provider.d.ts +6 -40
  63. package/src/elements-provider/index.d.ts +2 -0
  64. package/src/features/manage-carriers/hooks/use-list-funding-source-carriers.d.ts +1 -1
  65. package/src/features/manage-carriers/manage-carriers.d.ts +2 -1
  66. package/src/features/manage-external-carriers/index.d.ts +1 -0
  67. package/src/features/manage-external-carriers/manage-external-carriers.d.ts +11 -1
  68. package/src/features/manage-external-carriers/use-manage-external-carriers.d.ts +12 -0
  69. package/src/features/manage-funding/manage-funding.d.ts +4 -1
  70. package/src/features/payment-method-settings/payment-method-settings.d.ts +4 -1
  71. package/src/hooks/options/use-package-options.d.ts +1 -1
  72. package/src/hooks/options/use-warehouse-options.d.ts +3 -1
  73. package/src/index.d.ts +1 -0
  74. package/src/locales/en/index.d.ts +43 -1
  75. package/src/testing/test-utils.d.ts +0 -1
  76. package/src/utilities/formatString.d.ts +2 -0
  77. package/src/utilities/index.d.ts +1 -0
  78. package/src/utilities/pudo.d.ts +3 -0
  79. package/src/utilities/rates.d.ts +1 -3
  80. package/src/utilities/shipengine/carrier.d.ts +4 -1
  81. package/src/workflows/account-settings/account-settings.d.ts +45 -2
  82. package/src/workflows/account-settings/use-get-panel-props.d.ts +3 -3
  83. package/src/workflows/carrier-services/carrier-services.d.ts +51 -29
  84. package/src/workflows/connect-external-carrier/connect-external-carrier.d.ts +43 -1
  85. package/src/workflows/onboarding/components/terms-agreement-form/terms-agreement-form.d.ts +2 -1
  86. package/src/workflows/onboarding/onboarding.d.ts +43 -1
  87. package/story-notes.js +1 -0
  88. package/suspend-text.js +1 -0
  89. package/transaction-history-element.js +1 -0
  90. package/use-page-layout.js +1 -0
  91. package/use-scrub-errors.js +1 -0
  92. package/use-toggle.js +1 -0
  93. package/use-unit-settings.js +1 -0
  94. package/utilities.js +1 -1
  95. package/validation.js +1 -0
  96. package/wallet-form.js +1 -0
  97. package/warehouses.js +1 -0
  98. package/workflows.js +1 -1
  99. package/carrier-c2a5ed53.js +0 -1
  100. package/carrier-logo-330e926f.js +0 -1
  101. package/formatString-413ec7c7.js +0 -1
  102. package/shipment-150160e0.js +0 -1
  103. package/story-notes-c714d2ed.js +0 -1
  104. package/suspend-text-cad3a977.js +0 -1
  105. package/transaction-history-element-cbfe487c.js +0 -1
  106. package/use-page-layout-8cb5075f.js +0 -1
  107. package/use-scrub-errors-9870a6f3.js +0 -1
  108. package/use-toggle-866d7938.js +0 -1
  109. package/use-unit-settings-a5bae16e.js +0 -1
  110. package/validation-528e7834.js +0 -1
  111. package/wallet-form-9e4bfaea.js +0 -1
  112. package/warehouse-form-da6a7ac5.js +0 -34
  113. package/warehouses-a83188ab.js +0 -1
  114. /package/{address-8f8119f4.js → address.js} +0 -0
  115. /package/{assertions-dfa95b4d.js → assertions.js} +0 -0
  116. /package/{money-d4f3d7c3.js → money.js} +0 -0
  117. /package/{phone-87dd7bd8.js → phone.js} +0 -0
  118. /package/{zod-60def96c.js → zod.js} +0 -0
@@ -79,6 +79,28 @@ export declare const Element: ({ resources, ...props }: ExternalCarriersProps &
79
79
  printLabel: string;
80
80
  schedulePickup: string;
81
81
  showItems: string;
82
+ /**
83
+ * # ManageExternalCarriers Element
84
+ *
85
+ * @param ComponentProps The base props that will be passed into the `<ManageExternalCarriers />` component.
86
+ *
87
+ * @returns Element A React element that renders the `<ManageExternalCarriers />` component allowing users
88
+ * to view a list of their own carrier accounts that have been connected to their ShipEngine account,
89
+ * and to add additional carriers.
90
+ * This component is composed in the `<AccountSettings />` Element.
91
+ *
92
+ * @example
93
+ * ```tsx
94
+ * (() => {
95
+ * return <ManageExternalCarriers.Element isModalFullScreen={false} />;
96
+ * })();
97
+ * ```
98
+ *
99
+ * <br />
100
+ *
101
+ * @see {@link ManageExternalCarriers.ComponentProps | The props that are passed into the `<ManageExternalCarriers />` component}
102
+ * @see {@link AccountSettings.Element | The `<AccountSettings />` component renders the `<ManageExternalCarriers />` component}
103
+ */
82
104
  void: string;
83
105
  download: string;
84
106
  };
@@ -200,6 +222,7 @@ export declare const Element: ({ resources, ...props }: ExternalCarriersProps &
200
222
  title: string;
201
223
  };
202
224
  };
225
+ noFundingSource: string;
203
226
  };
204
227
  "rate-details": {
205
228
  total: string;
@@ -384,6 +407,12 @@ export declare const Element: ({ resources, ...props }: ExternalCarriersProps &
384
407
  subtitle: string;
385
408
  inlineMessage: string;
386
409
  };
410
+ errors: {
411
+ noCarriers: {
412
+ title: string;
413
+ subtitle: string;
414
+ };
415
+ };
387
416
  success: {
388
417
  title: string;
389
418
  subtitle: string;
@@ -429,6 +458,7 @@ export declare const Element: ({ resources, ...props }: ExternalCarriersProps &
429
458
  returnToAddressIsDifferent: string;
430
459
  setDefault: string;
431
460
  shipFrom: string;
461
+ noWarehouses: string;
432
462
  };
433
463
  "manage-funding": {
434
464
  actions: {
@@ -476,6 +506,7 @@ export declare const Element: ({ resources, ...props }: ExternalCarriersProps &
476
506
  errors: {
477
507
  balanceUnknown: string;
478
508
  unableToFindBalance: string;
509
+ noFundingSource: string;
479
510
  };
480
511
  byoc: {
481
512
  invoiceNotification: string;
@@ -575,6 +606,9 @@ export declare const Element: ({ resources, ...props }: ExternalCarriersProps &
575
606
  toastTitle: string;
576
607
  toastBody: string;
577
608
  };
609
+ deleteCarrierErrorTitle: string;
610
+ deleteCarrierErrorMessage: string;
611
+ loadingDeletingCarrier: string;
578
612
  };
579
613
  common: {
580
614
  actions: {
@@ -677,6 +711,7 @@ export declare const Element: ({ resources, ...props }: ExternalCarriersProps &
677
711
  };
678
712
  customs: {
679
713
  addDeclaration: string;
714
+ noResults: string;
680
715
  contents: {
681
716
  documents: string;
682
717
  gift: string;
@@ -684,6 +719,14 @@ export declare const Element: ({ resources, ...props }: ExternalCarriersProps &
684
719
  returnedGoods: string;
685
720
  sample: string;
686
721
  };
722
+ taxIds: {
723
+ sectionTitle: string;
724
+ addTaxId: string;
725
+ sectionTitleTooltip: string;
726
+ entityTypeTooltipText: string;
727
+ entityTypeTooltipPointOne: string;
728
+ entityTypeTooltipPointTwo: string;
729
+ };
687
730
  currencyChange: string;
688
731
  declarations: string;
689
732
  descriptionTooltip: {
@@ -701,6 +744,11 @@ export declare const Element: ({ resources, ...props }: ExternalCarriersProps &
701
744
  sku: string;
702
745
  value: string;
703
746
  valueQuantity: string;
747
+ taxId: string;
748
+ taxIdType: string;
749
+ taxIdTypeValue: string;
750
+ taxIssuingAuthority: string;
751
+ entityType: string;
704
752
  };
705
753
  nonDelivery: {
706
754
  returnToSender: string;
@@ -773,6 +821,8 @@ export declare const Element: ({ resources, ...props }: ExternalCarriersProps &
773
821
  shipment: string;
774
822
  shipments: string;
775
823
  warehouses: string;
824
+ funding: string;
825
+ paymentMethod: string;
776
826
  };
777
827
  months: {
778
828
  january: string;
@@ -851,6 +901,16 @@ export declare const Element: ({ resources, ...props }: ExternalCarriersProps &
851
901
  gram: string;
852
902
  kilogram: string;
853
903
  };
904
+ actionsMenu: {
905
+ menuTitle: string;
906
+ actions: {
907
+ printLabel: string;
908
+ voidLabel: string;
909
+ printForms: string;
910
+ edit: string;
911
+ remove: string;
912
+ };
913
+ };
854
914
  ZnVuZGluZ19zb3VyY2VfaWQgbXVzdCBiZSBhbiBpbnRlZ2Vy: string;
855
915
  T25seSByZXNpZGVudGlhbCBkZWxpdmVyeSBhZGRyZXNzZXMgYXJlIGFsbG93ZWQgZm9yIFVQUyBHcm91bmQgU2F2ZXIu: string;
856
916
  "VGhlIHNlbGVjdGVkIHNlcnZpY2UgaW5jbHVkZXMgaW5zdXJhbmNlIGZvciBhbiBpbnN1cmVkIGFtb3VudCB1cCB0byAkMTAwLgo=": string;
@@ -866,7 +926,11 @@ export declare const Element: ({ resources, ...props }: ExternalCarriersProps &
866
926
  };
867
927
  "account-settings": {
868
928
  messages: {
869
- noFundingSources: string;
929
+ transactionHistory: {
930
+ noTransactions: string;
931
+ };
932
+ noFundingSourceDescription: string;
933
+ noFundingSourceAction: string;
870
934
  };
871
935
  title: string;
872
936
  sections: {
@@ -1,6 +1,7 @@
1
1
  /// <reference types="react" />
2
- export declare const Component: () => import("@emotion/react/jsx-runtime").JSX.Element;
3
- export declare const Element: ({ resources, ...props }: object & {
2
+ import { ManageFundingProps } from "../../features";
3
+ export declare const Component: ({ onRedirectToOnboarding }: ManageFundingProps) => import("@emotion/react/jsx-runtime").JSX.Element;
4
+ export declare const Element: ({ resources, ...props }: ManageFundingProps & {
4
5
  resources?: {
5
6
  en: {
6
7
  "wallet-history": {
@@ -176,6 +177,7 @@ export declare const Element: ({ resources, ...props }: object & {
176
177
  title: string;
177
178
  };
178
179
  };
180
+ noFundingSource: string;
179
181
  };
180
182
  "rate-details": {
181
183
  total: string;
@@ -360,6 +362,12 @@ export declare const Element: ({ resources, ...props }: object & {
360
362
  subtitle: string;
361
363
  inlineMessage: string;
362
364
  };
365
+ errors: {
366
+ noCarriers: {
367
+ title: string;
368
+ subtitle: string;
369
+ };
370
+ };
363
371
  success: {
364
372
  title: string;
365
373
  subtitle: string;
@@ -405,6 +413,7 @@ export declare const Element: ({ resources, ...props }: object & {
405
413
  returnToAddressIsDifferent: string;
406
414
  setDefault: string;
407
415
  shipFrom: string;
416
+ noWarehouses: string;
408
417
  };
409
418
  "manage-funding": {
410
419
  actions: {
@@ -452,6 +461,7 @@ export declare const Element: ({ resources, ...props }: object & {
452
461
  errors: {
453
462
  balanceUnknown: string;
454
463
  unableToFindBalance: string;
464
+ noFundingSource: string;
455
465
  };
456
466
  byoc: {
457
467
  invoiceNotification: string;
@@ -551,6 +561,9 @@ export declare const Element: ({ resources, ...props }: object & {
551
561
  toastTitle: string;
552
562
  toastBody: string;
553
563
  };
564
+ deleteCarrierErrorTitle: string;
565
+ deleteCarrierErrorMessage: string;
566
+ loadingDeletingCarrier: string;
554
567
  };
555
568
  common: {
556
569
  actions: {
@@ -653,6 +666,7 @@ export declare const Element: ({ resources, ...props }: object & {
653
666
  };
654
667
  customs: {
655
668
  addDeclaration: string;
669
+ noResults: string;
656
670
  contents: {
657
671
  documents: string;
658
672
  gift: string;
@@ -660,6 +674,14 @@ export declare const Element: ({ resources, ...props }: object & {
660
674
  returnedGoods: string;
661
675
  sample: string;
662
676
  };
677
+ taxIds: {
678
+ sectionTitle: string;
679
+ addTaxId: string;
680
+ sectionTitleTooltip: string;
681
+ entityTypeTooltipText: string;
682
+ entityTypeTooltipPointOne: string;
683
+ entityTypeTooltipPointTwo: string;
684
+ };
663
685
  currencyChange: string;
664
686
  declarations: string;
665
687
  descriptionTooltip: {
@@ -677,6 +699,11 @@ export declare const Element: ({ resources, ...props }: object & {
677
699
  sku: string;
678
700
  value: string;
679
701
  valueQuantity: string;
702
+ taxId: string;
703
+ taxIdType: string;
704
+ taxIdTypeValue: string;
705
+ taxIssuingAuthority: string;
706
+ entityType: string;
680
707
  };
681
708
  nonDelivery: {
682
709
  returnToSender: string;
@@ -749,6 +776,8 @@ export declare const Element: ({ resources, ...props }: object & {
749
776
  shipment: string;
750
777
  shipments: string;
751
778
  warehouses: string;
779
+ funding: string;
780
+ paymentMethod: string;
752
781
  };
753
782
  months: {
754
783
  january: string;
@@ -827,6 +856,16 @@ export declare const Element: ({ resources, ...props }: object & {
827
856
  gram: string;
828
857
  kilogram: string;
829
858
  };
859
+ actionsMenu: {
860
+ menuTitle: string;
861
+ actions: {
862
+ printLabel: string;
863
+ voidLabel: string;
864
+ printForms: string;
865
+ edit: string;
866
+ remove: string;
867
+ };
868
+ };
830
869
  ZnVuZGluZ19zb3VyY2VfaWQgbXVzdCBiZSBhbiBpbnRlZ2Vy: string;
831
870
  T25seSByZXNpZGVudGlhbCBkZWxpdmVyeSBhZGRyZXNzZXMgYXJlIGFsbG93ZWQgZm9yIFVQUyBHcm91bmQgU2F2ZXIu: string;
832
871
  "VGhlIHNlbGVjdGVkIHNlcnZpY2UgaW5jbHVkZXMgaW5zdXJhbmNlIGZvciBhbiBpbnN1cmVkIGFtb3VudCB1cCB0byAkMTAwLgo=": string;
@@ -842,7 +881,11 @@ export declare const Element: ({ resources, ...props }: object & {
842
881
  };
843
882
  "account-settings": {
844
883
  messages: {
845
- noFundingSources: string;
884
+ transactionHistory: {
885
+ noTransactions: string;
886
+ };
887
+ noFundingSourceDescription: string;
888
+ noFundingSourceAction: string;
846
889
  };
847
890
  title: string;
848
891
  sections: {
@@ -194,6 +194,7 @@ export declare const Element: ({ resources, ...props }: object & {
194
194
  title: string;
195
195
  };
196
196
  };
197
+ noFundingSource: string;
197
198
  };
198
199
  "rate-details": {
199
200
  total: string;
@@ -378,6 +379,12 @@ export declare const Element: ({ resources, ...props }: object & {
378
379
  subtitle: string;
379
380
  inlineMessage: string;
380
381
  };
382
+ errors: {
383
+ noCarriers: {
384
+ title: string;
385
+ subtitle: string;
386
+ };
387
+ };
381
388
  success: {
382
389
  title: string;
383
390
  subtitle: string;
@@ -423,6 +430,7 @@ export declare const Element: ({ resources, ...props }: object & {
423
430
  returnToAddressIsDifferent: string;
424
431
  setDefault: string;
425
432
  shipFrom: string;
433
+ noWarehouses: string;
426
434
  };
427
435
  "manage-funding": {
428
436
  actions: {
@@ -470,6 +478,7 @@ export declare const Element: ({ resources, ...props }: object & {
470
478
  errors: {
471
479
  balanceUnknown: string;
472
480
  unableToFindBalance: string;
481
+ noFundingSource: string;
473
482
  };
474
483
  byoc: {
475
484
  invoiceNotification: string;
@@ -569,6 +578,9 @@ export declare const Element: ({ resources, ...props }: object & {
569
578
  toastTitle: string;
570
579
  toastBody: string;
571
580
  };
581
+ deleteCarrierErrorTitle: string;
582
+ deleteCarrierErrorMessage: string;
583
+ loadingDeletingCarrier: string;
572
584
  };
573
585
  common: {
574
586
  actions: {
@@ -688,6 +700,7 @@ export declare const Element: ({ resources, ...props }: object & {
688
700
  };
689
701
  customs: {
690
702
  addDeclaration: string;
703
+ noResults: string;
691
704
  contents: {
692
705
  documents: string;
693
706
  gift: string;
@@ -695,6 +708,14 @@ export declare const Element: ({ resources, ...props }: object & {
695
708
  returnedGoods: string;
696
709
  sample: string;
697
710
  };
711
+ taxIds: {
712
+ sectionTitle: string;
713
+ addTaxId: string;
714
+ sectionTitleTooltip: string;
715
+ entityTypeTooltipText: string;
716
+ entityTypeTooltipPointOne: string;
717
+ entityTypeTooltipPointTwo: string;
718
+ };
698
719
  currencyChange: string;
699
720
  declarations: string;
700
721
  descriptionTooltip: {
@@ -712,6 +733,11 @@ export declare const Element: ({ resources, ...props }: object & {
712
733
  sku: string;
713
734
  value: string;
714
735
  valueQuantity: string;
736
+ taxId: string;
737
+ taxIdType: string;
738
+ taxIdTypeValue: string;
739
+ taxIssuingAuthority: string;
740
+ entityType: string;
715
741
  };
716
742
  nonDelivery: {
717
743
  returnToSender: string;
@@ -784,6 +810,8 @@ export declare const Element: ({ resources, ...props }: object & {
784
810
  shipment: string;
785
811
  shipments: string;
786
812
  warehouses: string;
813
+ funding: string;
814
+ paymentMethod: string;
787
815
  };
788
816
  months: {
789
817
  january: string;
@@ -862,6 +890,16 @@ export declare const Element: ({ resources, ...props }: object & {
862
890
  gram: string;
863
891
  kilogram: string;
864
892
  };
893
+ actionsMenu: {
894
+ menuTitle: string;
895
+ actions: {
896
+ printLabel: string;
897
+ voidLabel: string;
898
+ printForms: string;
899
+ edit: string;
900
+ remove: string;
901
+ };
902
+ };
865
903
  ZnVuZGluZ19zb3VyY2VfaWQgbXVzdCBiZSBhbiBpbnRlZ2Vy: string;
866
904
  T25seSByZXNpZGVudGlhbCBkZWxpdmVyeSBhZGRyZXNzZXMgYXJlIGFsbG93ZWQgZm9yIFVQUyBHcm91bmQgU2F2ZXIu: string;
867
905
  "VGhlIHNlbGVjdGVkIHNlcnZpY2UgaW5jbHVkZXMgaW5zdXJhbmNlIGZvciBhbiBpbnN1cmVkIGFtb3VudCB1cCB0byAkMTAwLgo=": string;
@@ -877,7 +915,11 @@ export declare const Element: ({ resources, ...props }: object & {
877
915
  };
878
916
  "account-settings": {
879
917
  messages: {
880
- noFundingSources: string;
918
+ transactionHistory: {
919
+ noTransactions: string;
920
+ };
921
+ noFundingSourceDescription: string;
922
+ noFundingSourceAction: string;
881
923
  };
882
924
  title: string;
883
925
  sections: {
@@ -1,6 +1,7 @@
1
1
  /// <reference types="react" />
2
- export declare const Component: () => import("@emotion/react/jsx-runtime").JSX.Element;
3
- export declare const Element: ({ resources, ...props }: object & {
2
+ import { PaymentMethodSettingsProps } from "../../features";
3
+ export declare const Component: ({ onRedirectToOnboarding }: PaymentMethodSettingsProps) => import("@emotion/react/jsx-runtime").JSX.Element;
4
+ export declare const Element: ({ resources, ...props }: PaymentMethodSettingsProps & {
4
5
  resources?: {
5
6
  en: {
6
7
  "wallet-history": {
@@ -176,6 +177,7 @@ export declare const Element: ({ resources, ...props }: object & {
176
177
  title: string;
177
178
  };
178
179
  };
180
+ noFundingSource: string;
179
181
  };
180
182
  "rate-details": {
181
183
  total: string;
@@ -360,6 +362,12 @@ export declare const Element: ({ resources, ...props }: object & {
360
362
  subtitle: string;
361
363
  inlineMessage: string;
362
364
  };
365
+ errors: {
366
+ noCarriers: {
367
+ title: string;
368
+ subtitle: string;
369
+ };
370
+ };
363
371
  success: {
364
372
  title: string;
365
373
  subtitle: string;
@@ -405,6 +413,7 @@ export declare const Element: ({ resources, ...props }: object & {
405
413
  returnToAddressIsDifferent: string;
406
414
  setDefault: string;
407
415
  shipFrom: string;
416
+ noWarehouses: string;
408
417
  };
409
418
  "manage-funding": {
410
419
  actions: {
@@ -452,6 +461,7 @@ export declare const Element: ({ resources, ...props }: object & {
452
461
  errors: {
453
462
  balanceUnknown: string;
454
463
  unableToFindBalance: string;
464
+ noFundingSource: string;
455
465
  };
456
466
  byoc: {
457
467
  invoiceNotification: string;
@@ -551,6 +561,9 @@ export declare const Element: ({ resources, ...props }: object & {
551
561
  toastTitle: string;
552
562
  toastBody: string;
553
563
  };
564
+ deleteCarrierErrorTitle: string;
565
+ deleteCarrierErrorMessage: string;
566
+ loadingDeletingCarrier: string;
554
567
  };
555
568
  common: {
556
569
  actions: {
@@ -653,6 +666,7 @@ export declare const Element: ({ resources, ...props }: object & {
653
666
  };
654
667
  customs: {
655
668
  addDeclaration: string;
669
+ noResults: string;
656
670
  contents: {
657
671
  documents: string;
658
672
  gift: string;
@@ -660,6 +674,14 @@ export declare const Element: ({ resources, ...props }: object & {
660
674
  returnedGoods: string;
661
675
  sample: string;
662
676
  };
677
+ taxIds: {
678
+ sectionTitle: string;
679
+ addTaxId: string;
680
+ sectionTitleTooltip: string;
681
+ entityTypeTooltipText: string;
682
+ entityTypeTooltipPointOne: string;
683
+ entityTypeTooltipPointTwo: string;
684
+ };
663
685
  currencyChange: string;
664
686
  declarations: string;
665
687
  descriptionTooltip: {
@@ -677,6 +699,11 @@ export declare const Element: ({ resources, ...props }: object & {
677
699
  sku: string;
678
700
  value: string;
679
701
  valueQuantity: string;
702
+ taxId: string;
703
+ taxIdType: string;
704
+ taxIdTypeValue: string;
705
+ taxIssuingAuthority: string;
706
+ entityType: string;
680
707
  };
681
708
  nonDelivery: {
682
709
  returnToSender: string;
@@ -749,6 +776,8 @@ export declare const Element: ({ resources, ...props }: object & {
749
776
  shipment: string;
750
777
  shipments: string;
751
778
  warehouses: string;
779
+ funding: string;
780
+ paymentMethod: string;
752
781
  };
753
782
  months: {
754
783
  january: string;
@@ -827,6 +856,16 @@ export declare const Element: ({ resources, ...props }: object & {
827
856
  gram: string;
828
857
  kilogram: string;
829
858
  };
859
+ actionsMenu: {
860
+ menuTitle: string;
861
+ actions: {
862
+ printLabel: string;
863
+ voidLabel: string;
864
+ printForms: string;
865
+ edit: string;
866
+ remove: string;
867
+ };
868
+ };
830
869
  ZnVuZGluZ19zb3VyY2VfaWQgbXVzdCBiZSBhbiBpbnRlZ2Vy: string;
831
870
  T25seSByZXNpZGVudGlhbCBkZWxpdmVyeSBhZGRyZXNzZXMgYXJlIGFsbG93ZWQgZm9yIFVQUyBHcm91bmQgU2F2ZXIu: string;
832
871
  "VGhlIHNlbGVjdGVkIHNlcnZpY2UgaW5jbHVkZXMgaW5zdXJhbmNlIGZvciBhbiBpbnN1cmVkIGFtb3VudCB1cCB0byAkMTAwLgo=": string;
@@ -842,7 +881,11 @@ export declare const Element: ({ resources, ...props }: object & {
842
881
  };
843
882
  "account-settings": {
844
883
  messages: {
845
- noFundingSources: string;
884
+ transactionHistory: {
885
+ noTransactions: string;
886
+ };
887
+ noFundingSourceDescription: string;
888
+ noFundingSourceAction: string;
846
889
  };
847
890
  title: string;
848
891
  sections: {
@@ -6,4 +6,5 @@ export type UseCustomsProps = {
6
6
  export declare const useCustoms: ({ onUpdate, shipment }: UseCustomsProps) => {
7
7
  customsErrors: SE.CodedError[] | null;
8
8
  handleUpdateCustoms: (customs: SE.Customs, products: SE.Product[]) => Promise<SE.SalesOrderShipment>;
9
+ handleUpdateTaxableIds: (taxIds: SE.TaxIdentifier[], onError: (errors: SE.CodedError[]) => void) => Promise<SE.SalesOrderShipment>;
9
10
  };
@@ -29,6 +29,7 @@ export declare const useShipmentForm: ({ compatibleCountryCodes, onAddressValida
29
29
  fullAddress: string;
30
30
  }) => Promise<SE.AddressExtraction>;
31
31
  onUpdateCustoms: (customs: SE.Customs, products: SE.Product[]) => Promise<SE.SalesOrderShipment>;
32
+ onUpdateTaxableIds: (taxIds: SE.TaxIdentifier[], onError: (errors: SE.CodedError[]) => void) => Promise<SE.SalesOrderShipment>;
32
33
  parseAddressErrors: SE.CodedError[] | undefined;
33
34
  resetParseAddress: () => void;
34
35
  resetSalesOrderShipment: () => void;