@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
@@ -73,6 +73,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
73
73
  resultMessages: {
74
74
  approved: string;
75
75
  rejected: string;
76
+ dpdwallet: string;
76
77
  };
77
78
  refund_process: string;
78
79
  refund_rules: string;
@@ -114,11 +115,44 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
114
115
  };
115
116
  noLabels: string;
116
117
  };
118
+ "vat-settings": {
119
+ addNew: string;
120
+ vatNumber: string;
121
+ vatRegistrationTooltip: string;
122
+ vatFormText: string;
123
+ vatFormRegisterLater: string;
124
+ vatNumberInputHint: string;
125
+ vatNumberInputPlaceholder: string;
126
+ verifiedVat: string;
127
+ vatFormErrors: {
128
+ invalidFieldValue: string;
129
+ verificationFailure: string;
130
+ forbidden: string;
131
+ connectionNotSupported: string;
132
+ genericTitle: string;
133
+ genericText: string;
134
+ };
135
+ };
136
+ "shipengine-carriers": {
137
+ title: string;
138
+ headers: {
139
+ accountCarriers: string;
140
+ carriers: string;
141
+ settings: string;
142
+ };
143
+ actions: {
144
+ status: {
145
+ connected: string;
146
+ notConnected: string;
147
+ };
148
+ };
149
+ };
117
150
  "register-wallet": {
118
151
  sections: {
119
152
  setup: {
120
153
  title: string;
121
154
  subtitle: string;
155
+ hiddenTermsSubtitle: string;
122
156
  descriptionTitle: string;
123
157
  description: string;
124
158
  };
@@ -128,6 +162,9 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
128
162
  addressSubTitle: string;
129
163
  info: string;
130
164
  };
165
+ vatSettings: {
166
+ title: string;
167
+ };
131
168
  carriers: {
132
169
  title: string;
133
170
  subtitle: string;
@@ -248,11 +285,13 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
248
285
  needToAcknowledge: string;
249
286
  };
250
287
  rates: {
288
+ requestedShippingNotification: string;
251
289
  uspsMediaMailAcknowledgement: string;
252
290
  uspsFirstClassMailAcknowledgement_leof: string;
253
291
  rateSavings: string;
254
292
  upsGroundSaverTermsAcknowledgement: string;
255
293
  dhlExpressTermsAcknowledgement: string;
294
+ noRateService: string;
256
295
  };
257
296
  requirements: {
258
297
  noWarehouse: string;
@@ -319,6 +358,8 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
319
358
  action: string;
320
359
  };
321
360
  termsAndAgreementLinkText: {
361
+ shipEngineToS: string;
362
+ auctanePrivacyPolicy: string;
322
363
  aHR0cHM6Ly9teWRobC5leHByZXNzLmRobC91cy9lbi9sZWdhbC90ZXJtcy1hbmQtY29uZGl0aW9ucy5odG1s: string;
323
364
  "aHR0cHM6Ly93d3cuc3RhbXBzLmNvbS9wcml2YWN5LXBvbGljeQ==": string;
324
365
  "aHR0cHM6Ly93d3cuc3RhbXBzLmNvbS9jb25kaXRpb25zLw==": string;
@@ -330,6 +371,8 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
330
371
  aHR0cHM6Ly93d3cuc2hpcHN0YXRpb24uY29tL3Rlcm1zLXNlcnZpY2UtdW5pdGVkLWtpbmdkb20v: string;
331
372
  "aHR0cHM6Ly93d3cuZHBkLmNvLnVrL3N0YW5kYXJkX3Rlcm1zX2FuZF9jb25kaXRpb25zLmpzcA==": string;
332
373
  aHR0cHM6Ly93d3cuZ29nbG9iYWxwb3N0LmNvbS9jb25kaXRpb25z: string;
374
+ aHR0cHM6Ly93d3cucHVyb2xhdG9yLmNvbS9mci9tb2RhbGl0ZXMtZXQtY29uZGl0aW9ucy1kZS1zZXJ2aWNl: string;
375
+ aHR0cHM6Ly93d3cucHVyb2xhdG9yLmNvbS9lbi90ZXJtcy1hbmQtY29uZGl0aW9ucy1zZXJ2aWNl: string;
333
376
  };
334
377
  termsAndAgreementTitles: {
335
378
  "WW9kZWwgRGlyZWN0IC0gVGVybXMgYW5kIENvbmRpdGlvbnMgKOKAnFRlcm1z4oCdKQ==": string;
@@ -337,42 +380,8 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
337
380
  "VGVybXMgb2YgU2VydmljZSBVbml0ZWQgS2luZ2RvbQ==": string;
338
381
  RFBEIFN0YW5kYXJkIFRlcm1zIGFuZCBDb25kaXRpb25z: string;
339
382
  "R2xvYmFsUG9zdCBUZXJtcyBhbmQgQ29uZGl0aW9ucw==": string;
340
- };
341
- };
342
- "manage-defaults": {
343
- label: {
344
- title: string;
345
- letter: {
346
- title: string;
347
- description: string;
348
- };
349
- purchase: {
350
- title: string;
351
- description: string;
352
- };
353
- thermal: {
354
- title: string;
355
- description: string;
356
- };
357
- };
358
- status: {
359
- saving: string;
360
- saved: string;
361
- savingFailed: string;
362
- };
363
- units: {
364
- title: string;
365
- dimensions: {
366
- title: string;
367
- standard: string;
368
- metric: string;
369
- };
370
- weight: {
371
- title: string;
372
- standard: string;
373
- g: string;
374
- kg: string;
375
- };
383
+ "UHVyb2xhdG9yIFRlcm1zIGFuZCBDb25kaXRpb25zIG9mIFNlcnZpY2U=": string;
384
+ UHVyb2xhdG9yIE1vZGFsaXTDqXMgZXQgY29uZGl0aW9ucyBkZSBzZXJ2aWNl: string;
376
385
  };
377
386
  };
378
387
  "manage-warehouses": {
@@ -442,6 +451,42 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
442
451
  currentBalance: string;
443
452
  maximumBalanceAmount: string;
444
453
  };
454
+ "manage-defaults": {
455
+ label: {
456
+ title: string;
457
+ letter: {
458
+ title: string;
459
+ description: string;
460
+ };
461
+ purchase: {
462
+ title: string;
463
+ description: string;
464
+ };
465
+ thermal: {
466
+ title: string;
467
+ description: string;
468
+ };
469
+ };
470
+ status: {
471
+ saving: string;
472
+ saved: string;
473
+ savingFailed: string;
474
+ };
475
+ units: {
476
+ title: string;
477
+ dimensions: {
478
+ title: string;
479
+ standard: string;
480
+ metric: string;
481
+ };
482
+ weight: {
483
+ title: string;
484
+ standard: string;
485
+ g: string;
486
+ kg: string;
487
+ };
488
+ };
489
+ };
445
490
  "list-shipments": {
446
491
  title: string;
447
492
  headers: {
@@ -472,18 +517,31 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
472
517
  };
473
518
  };
474
519
  };
475
- "list-carriers": {
476
- title: string;
477
- headers: {
478
- accountCarriers: string;
479
- carriers: string;
480
- settings: string;
481
- };
520
+ "connect-carrier": {
482
521
  actions: {
483
- status: {
484
- connected: string;
485
- notConnected: string;
486
- };
522
+ cancel: string;
523
+ carrierSettings: string;
524
+ connectCarriers: string;
525
+ disconnect: string;
526
+ disconnectCarrier: string;
527
+ };
528
+ noCarriersDescription: string;
529
+ registrationForm: {
530
+ error: string;
531
+ title: string;
532
+ betaWarning: string;
533
+ };
534
+ search: string;
535
+ settingsModal: {
536
+ closeDialog: string;
537
+ header: string;
538
+ };
539
+ status: {
540
+ connected: string;
541
+ };
542
+ disconnectDropdown: {
543
+ toastTitle: string;
544
+ toastBody: string;
487
545
  };
488
546
  };
489
547
  common: {
@@ -693,6 +751,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
693
751
  accountSettings: string;
694
752
  carrier: string;
695
753
  carriers: string;
754
+ carrierServices: string;
696
755
  connectCarrierForm: string;
697
756
  connectingCarriers: string;
698
757
  creatingFundingSource: string;
@@ -795,33 +854,6 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
795
854
  "QSBzaGlwcGluZyBjYXJyaWVyIGVycm9yIG9jY3VycmVkOiBNaXNzaW5nIG9yIGludmFsaWQgc2hpcCB0byBTdGF0ZVByb3ZpbmNlQ29kZQ==": string;
796
855
  "QSBzaGlwcGluZyBjYXJyaWVyIGVycm9yIG9jY3VycmVkOiBJbnZhbGlkIHNvbGQgdG8gc3RhdGUgcHJvdmluY2UgY29kZS4gVmFsaWQgbGVuZ3RoIGlzIDAgdG8gNSBhbHBoYW51bWVyaWM=": string;
797
856
  };
798
- "connect-carrier": {
799
- actions: {
800
- cancel: string;
801
- carrierSettings: string;
802
- connectCarriers: string;
803
- disconnect: string;
804
- disconnectCarrier: string;
805
- };
806
- noCarriersDescription: string;
807
- registrationForm: {
808
- error: string;
809
- title: string;
810
- betaWarning: string;
811
- };
812
- search: string;
813
- settingsModal: {
814
- closeDialog: string;
815
- header: string;
816
- };
817
- status: {
818
- connected: string;
819
- };
820
- disconnectDropdown: {
821
- toastTitle: string;
822
- toastBody: string;
823
- };
824
- };
825
857
  "account-settings": {
826
858
  messages: {
827
859
  noFundingSources: string;
@@ -837,6 +869,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
837
869
  externalCarriers: string;
838
870
  labelLayout: string;
839
871
  unitSettings: string;
872
+ vatSettings: string;
840
873
  };
841
874
  };
842
875
  };
@@ -0,0 +1 @@
1
+ export * as ManageWalletWorkflow from "./manage-wallet-workflow";
@@ -1,23 +1,23 @@
1
1
  /// <reference types="react" />
2
- import { ListCarriersFeatures } from "../../features/list-carriers";
2
+ import { ShipEngineCarriersFeatures } from "../../features/shipengine-carriers";
3
3
  /**
4
- * # List-Carriers Props
4
+ * # Manage-Wallet-Workflow Props
5
5
  *
6
- * @see {@link ListCarriers.Component | The `<List-Carriers />` component}
6
+ * @see {@link ManageWalletWorkflow.Element | The `<Manage-Wallet-Workflow />` component}
7
7
  */
8
8
  export type ComponentProps = {
9
9
  /**
10
10
  * `features` is a set of feature flags you would like to enable or disable in this component.
11
11
  */
12
- features?: ListCarriersFeatures;
12
+ features?: ShipEngineCarriersFeatures;
13
13
  };
14
14
  /**
15
- * # List-Carriers Component
15
+ * # Manage-Wallet-Workflow Component
16
16
  *
17
- * @param ComponentProps The base props that will be passed into the `<List-Carriers />` component.
17
+ * @param ComponentProps The base props that will be passed into the `<Manage-Wallet-Workflow />` component.
18
18
  *
19
- * @returns Element A React element that renders the `<List-Carriers />` component allowing users
20
- * to view a list of carriers that are connected to their ShipEngine account. This component is
19
+ * @returns Element A React element that renders the `<Manage-Wallet-Workflow />` component allowing users
20
+ * to view a list of carriers that are connected to their ShipEngine account, add funds to their wallet, view transaction history, and manage their payment method. This component is
21
21
  * composed in the `<AccountSettings />` Element.
22
22
  *
23
23
  * @example
@@ -25,14 +25,14 @@ export type ComponentProps = {
25
25
  * (() => {
26
26
  * const features = useFeatures("Global");
27
27
  *
28
- * return <ListCarriers.Component features={features} />;
28
+ * return <ManageWalletWorkflow.Element features={features} />;
29
29
  * })();
30
30
  * ```
31
31
  *
32
32
  * <br />
33
33
  *
34
- * @see {@link ListCarriers.ComponentProps | The props that are passed into the `<List-Carriers />` component}
35
- * @see {@link AccountSettings.Element | The `<AccountSettings />` component renders the `<List-Carriers />` component}
34
+ * @see {@link ManageWalletWorkflow.ComponentProps | The props that are passed into the `<Manage-Wallet-Workflow />` component}
35
+ * @see {@link AccountSettings.Element | The `<AccountSettings />` component renders the `<Manage-Wallet-Workflow />` component}
36
36
  */
37
37
  export declare const Component: ({ features }: ComponentProps) => import("@emotion/react/jsx-runtime").JSX.Element;
38
38
  export declare const Element: ({ resources, ...props }: ComponentProps & {
@@ -71,6 +71,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
71
71
  resultMessages: {
72
72
  approved: string;
73
73
  rejected: string;
74
+ dpdwallet: string;
74
75
  };
75
76
  refund_process: string;
76
77
  refund_rules: string;
@@ -112,11 +113,44 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
112
113
  };
113
114
  noLabels: string;
114
115
  };
116
+ "vat-settings": {
117
+ addNew: string;
118
+ vatNumber: string;
119
+ vatRegistrationTooltip: string;
120
+ vatFormText: string;
121
+ vatFormRegisterLater: string;
122
+ vatNumberInputHint: string;
123
+ vatNumberInputPlaceholder: string;
124
+ verifiedVat: string;
125
+ vatFormErrors: {
126
+ invalidFieldValue: string;
127
+ verificationFailure: string;
128
+ forbidden: string;
129
+ connectionNotSupported: string;
130
+ genericTitle: string;
131
+ genericText: string;
132
+ };
133
+ };
134
+ "shipengine-carriers": {
135
+ title: string;
136
+ headers: {
137
+ accountCarriers: string;
138
+ carriers: string;
139
+ settings: string;
140
+ };
141
+ actions: {
142
+ status: {
143
+ connected: string;
144
+ notConnected: string;
145
+ };
146
+ };
147
+ };
115
148
  "register-wallet": {
116
149
  sections: {
117
150
  setup: {
118
151
  title: string;
119
152
  subtitle: string;
153
+ hiddenTermsSubtitle: string;
120
154
  descriptionTitle: string;
121
155
  description: string;
122
156
  };
@@ -126,6 +160,9 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
126
160
  addressSubTitle: string;
127
161
  info: string;
128
162
  };
163
+ vatSettings: {
164
+ title: string;
165
+ };
129
166
  carriers: {
130
167
  title: string;
131
168
  subtitle: string;
@@ -246,11 +283,13 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
246
283
  needToAcknowledge: string;
247
284
  };
248
285
  rates: {
286
+ requestedShippingNotification: string;
249
287
  uspsMediaMailAcknowledgement: string;
250
288
  uspsFirstClassMailAcknowledgement_leof: string;
251
289
  rateSavings: string;
252
290
  upsGroundSaverTermsAcknowledgement: string;
253
291
  dhlExpressTermsAcknowledgement: string;
292
+ noRateService: string;
254
293
  };
255
294
  requirements: {
256
295
  noWarehouse: string;
@@ -301,6 +340,9 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
301
340
  messageLine2: string;
302
341
  };
303
342
  stepLabel: {
343
+ /**
344
+ * `features` is a set of feature flags you would like to enable or disable in this component.
345
+ */
304
346
  accountRegistration: string;
305
347
  termsAgreement: string;
306
348
  shipFromAddress: string;
@@ -317,6 +359,8 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
317
359
  action: string;
318
360
  };
319
361
  termsAndAgreementLinkText: {
362
+ shipEngineToS: string;
363
+ auctanePrivacyPolicy: string;
320
364
  aHR0cHM6Ly9teWRobC5leHByZXNzLmRobC91cy9lbi9sZWdhbC90ZXJtcy1hbmQtY29uZGl0aW9ucy5odG1s: string;
321
365
  "aHR0cHM6Ly93d3cuc3RhbXBzLmNvbS9wcml2YWN5LXBvbGljeQ==": string;
322
366
  "aHR0cHM6Ly93d3cuc3RhbXBzLmNvbS9jb25kaXRpb25zLw==": string;
@@ -328,6 +372,8 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
328
372
  aHR0cHM6Ly93d3cuc2hpcHN0YXRpb24uY29tL3Rlcm1zLXNlcnZpY2UtdW5pdGVkLWtpbmdkb20v: string;
329
373
  "aHR0cHM6Ly93d3cuZHBkLmNvLnVrL3N0YW5kYXJkX3Rlcm1zX2FuZF9jb25kaXRpb25zLmpzcA==": string;
330
374
  aHR0cHM6Ly93d3cuZ29nbG9iYWxwb3N0LmNvbS9jb25kaXRpb25z: string;
375
+ aHR0cHM6Ly93d3cucHVyb2xhdG9yLmNvbS9mci9tb2RhbGl0ZXMtZXQtY29uZGl0aW9ucy1kZS1zZXJ2aWNl: string;
376
+ aHR0cHM6Ly93d3cucHVyb2xhdG9yLmNvbS9lbi90ZXJtcy1hbmQtY29uZGl0aW9ucy1zZXJ2aWNl: string;
331
377
  };
332
378
  termsAndAgreementTitles: {
333
379
  "WW9kZWwgRGlyZWN0IC0gVGVybXMgYW5kIENvbmRpdGlvbnMgKOKAnFRlcm1z4oCdKQ==": string;
@@ -335,42 +381,8 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
335
381
  "VGVybXMgb2YgU2VydmljZSBVbml0ZWQgS2luZ2RvbQ==": string;
336
382
  RFBEIFN0YW5kYXJkIFRlcm1zIGFuZCBDb25kaXRpb25z: string;
337
383
  "R2xvYmFsUG9zdCBUZXJtcyBhbmQgQ29uZGl0aW9ucw==": string;
338
- };
339
- };
340
- "manage-defaults": {
341
- label: {
342
- title: string;
343
- letter: {
344
- title: string;
345
- description: string;
346
- };
347
- purchase: {
348
- title: string;
349
- description: string;
350
- };
351
- thermal: {
352
- title: string;
353
- description: string;
354
- };
355
- };
356
- status: {
357
- saving: string;
358
- saved: string;
359
- savingFailed: string;
360
- };
361
- units: {
362
- title: string;
363
- dimensions: {
364
- title: string;
365
- standard: string;
366
- metric: string;
367
- };
368
- weight: {
369
- title: string;
370
- standard: string;
371
- g: string;
372
- kg: string;
373
- };
384
+ "UHVyb2xhdG9yIFRlcm1zIGFuZCBDb25kaXRpb25zIG9mIFNlcnZpY2U=": string;
385
+ UHVyb2xhdG9yIE1vZGFsaXTDqXMgZXQgY29uZGl0aW9ucyBkZSBzZXJ2aWNl: string;
374
386
  };
375
387
  };
376
388
  "manage-warehouses": {
@@ -382,9 +394,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
382
394
  isDefault: string;
383
395
  locationName: string;
384
396
  residentialAddress: string;
385
- returnTo: string; /**
386
- * `features` is a set of feature flags you would like to enable or disable in this component.
387
- */
397
+ returnTo: string;
388
398
  returnToAddressIsDifferent: string;
389
399
  setDefault: string;
390
400
  shipFrom: string;
@@ -442,6 +452,42 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
442
452
  currentBalance: string;
443
453
  maximumBalanceAmount: string;
444
454
  };
455
+ "manage-defaults": {
456
+ label: {
457
+ title: string;
458
+ letter: {
459
+ title: string;
460
+ description: string;
461
+ };
462
+ purchase: {
463
+ title: string;
464
+ description: string;
465
+ };
466
+ thermal: {
467
+ title: string;
468
+ description: string;
469
+ };
470
+ };
471
+ status: {
472
+ saving: string;
473
+ saved: string;
474
+ savingFailed: string;
475
+ };
476
+ units: {
477
+ title: string;
478
+ dimensions: {
479
+ title: string;
480
+ standard: string;
481
+ metric: string;
482
+ };
483
+ weight: {
484
+ title: string;
485
+ standard: string;
486
+ g: string;
487
+ kg: string;
488
+ };
489
+ };
490
+ };
445
491
  "list-shipments": {
446
492
  title: string;
447
493
  headers: {
@@ -472,18 +518,31 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
472
518
  };
473
519
  };
474
520
  };
475
- "list-carriers": {
476
- title: string;
477
- headers: {
478
- accountCarriers: string;
479
- carriers: string;
480
- settings: string;
481
- };
521
+ "connect-carrier": {
482
522
  actions: {
483
- status: {
484
- connected: string;
485
- notConnected: string;
486
- };
523
+ cancel: string;
524
+ carrierSettings: string;
525
+ connectCarriers: string;
526
+ disconnect: string;
527
+ disconnectCarrier: string;
528
+ };
529
+ noCarriersDescription: string;
530
+ registrationForm: {
531
+ error: string;
532
+ title: string;
533
+ betaWarning: string;
534
+ };
535
+ search: string;
536
+ settingsModal: {
537
+ closeDialog: string;
538
+ header: string;
539
+ };
540
+ status: {
541
+ connected: string;
542
+ };
543
+ disconnectDropdown: {
544
+ toastTitle: string;
545
+ toastBody: string;
487
546
  };
488
547
  };
489
548
  common: {
@@ -670,6 +729,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
670
729
  accountSettings: string;
671
730
  carrier: string;
672
731
  carriers: string;
732
+ carrierServices: string;
673
733
  connectCarrierForm: string;
674
734
  connectingCarriers: string;
675
735
  creatingFundingSource: string;
@@ -772,33 +832,6 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
772
832
  "QSBzaGlwcGluZyBjYXJyaWVyIGVycm9yIG9jY3VycmVkOiBNaXNzaW5nIG9yIGludmFsaWQgc2hpcCB0byBTdGF0ZVByb3ZpbmNlQ29kZQ==": string;
773
833
  "QSBzaGlwcGluZyBjYXJyaWVyIGVycm9yIG9jY3VycmVkOiBJbnZhbGlkIHNvbGQgdG8gc3RhdGUgcHJvdmluY2UgY29kZS4gVmFsaWQgbGVuZ3RoIGlzIDAgdG8gNSBhbHBoYW51bWVyaWM=": string;
774
834
  };
775
- "connect-carrier": {
776
- actions: {
777
- cancel: string;
778
- carrierSettings: string;
779
- connectCarriers: string;
780
- disconnect: string;
781
- disconnectCarrier: string;
782
- };
783
- noCarriersDescription: string;
784
- registrationForm: {
785
- error: string;
786
- title: string;
787
- betaWarning: string;
788
- };
789
- search: string;
790
- settingsModal: {
791
- closeDialog: string;
792
- header: string;
793
- };
794
- status: {
795
- connected: string;
796
- };
797
- disconnectDropdown: {
798
- toastTitle: string;
799
- toastBody: string;
800
- };
801
- };
802
835
  "account-settings": {
803
836
  messages: {
804
837
  noFundingSources: string;
@@ -811,32 +844,10 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
811
844
  adjustmentHistory: string;
812
845
  warehouses: string;
813
846
  carriers: string;
814
- /**
815
- * # List-Carriers Component
816
- *
817
- * @param ComponentProps The base props that will be passed into the `<List-Carriers />` component.
818
- *
819
- * @returns Element A React element that renders the `<List-Carriers />` component allowing users
820
- * to view a list of carriers that are connected to their ShipEngine account. This component is
821
- * composed in the `<AccountSettings />` Element.
822
- *
823
- * @example
824
- * ```tsx
825
- * (() => {
826
- * const features = useFeatures("Global");
827
- *
828
- * return <ListCarriers.Component features={features} />;
829
- * })();
830
- * ```
831
- *
832
- * <br />
833
- *
834
- * @see {@link ListCarriers.ComponentProps | The props that are passed into the `<List-Carriers />` component}
835
- * @see {@link AccountSettings.Element | The `<AccountSettings />` component renders the `<List-Carriers />` component}
836
- */
837
847
  externalCarriers: string;
838
848
  labelLayout: string;
839
849
  unitSettings: string;
850
+ vatSettings: string;
840
851
  };
841
852
  };
842
853
  };
@@ -0,0 +1,4 @@
1
+ import { CollapsiblePanelProps } from "../../components";
2
+ export declare const useGetWalletPanelProps: () => {
3
+ getWalletPanelProps: (setting: string) => CollapsiblePanelProps;
4
+ };
@@ -1,9 +1,12 @@
1
1
  import { z } from "zod";
2
2
  export declare const accountRegistrationFormSchema: z.ZodObject<{
3
+ agreeToTerms: z.ZodLiteral<boolean>;
3
4
  email: z.ZodString;
4
5
  }, "strip", z.ZodTypeAny, {
6
+ agreeToTerms: boolean;
5
7
  email: string;
6
8
  }, {
9
+ agreeToTerms: boolean;
7
10
  email: string;
8
11
  }>;
9
12
  export type AccountRegistrationFormFields = z.input<typeof accountRegistrationFormSchema>;
@@ -1,9 +1,11 @@
1
1
  import { SE } from "@shipengine/alchemy";
2
2
  import { WalletPayload } from "../../../../components/templates/wallet-form";
3
+ import { VatSettingsFeatures } from "../../../../features";
3
4
  export type FundingAndCarrierConnectionStepProps = {
4
5
  address: SE.Address;
5
6
  createFundingSourceErrors: SE.CodedError[] | null;
7
+ features?: VatSettingsFeatures;
6
8
  onSubmit: (payload: WalletPayload) => Promise<void>;
7
9
  registerCarrierErrors: SE.CodedError[] | null;
8
10
  };
9
- export declare const FundingAndCarrierConnectionStep: ({ address, createFundingSourceErrors, onSubmit, registerCarrierErrors, }: FundingAndCarrierConnectionStepProps) => import("@emotion/react/jsx-runtime").JSX.Element | null;
11
+ export declare const FundingAndCarrierConnectionStep: ({ address, createFundingSourceErrors, onSubmit, registerCarrierErrors, features, }: FundingAndCarrierConnectionStepProps) => import("@emotion/react/jsx-runtime").JSX.Element | null;