@shipengine/elements 1.7.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 (57) hide show
  1. package/index.cjs +15309 -14863
  2. package/index.js +15310 -14867
  3. package/package.json +3 -3
  4. package/src/components/collapsible-panel/collapsible-panel.styles.d.ts +2 -3
  5. package/src/components/display-term/display-term.d.ts +2 -2
  6. package/src/components/display-term/display-term.styles.d.ts +2 -0
  7. package/src/components/index.d.ts +6 -5
  8. package/src/components/templates/wallet-form/wallet-form.d.ts +3 -1
  9. package/src/components/templates/wallet-form/wallet-form.styles.d.ts +3 -0
  10. package/src/components/vat-form/index.d.ts +1 -0
  11. package/src/components/vat-form/vat-form-schema.d.ts +10 -0
  12. package/src/components/vat-form/vat-form.d.ts +6 -0
  13. package/src/components/vat-form/vat-form.styles.d.ts +9 -0
  14. package/src/elements/external-carriers/external-carriers.d.ts +124 -97
  15. package/src/elements/label-layout/label-layout-element.d.ts +101 -74
  16. package/src/elements/labels-grid/labels-grid.d.ts +101 -74
  17. package/src/elements/manage-funding/manage-funding-element.d.ts +101 -74
  18. package/src/elements/manage-warehouses/manage-warehouses.d.ts +101 -74
  19. package/src/elements/payment-method-settings/payment-method-settings-element.d.ts +101 -74
  20. package/src/elements/purchase-label/purchase-label.d.ts +121 -77
  21. package/src/elements/shipengine-carriers/shipengine-carriers.d.ts +124 -97
  22. package/src/elements/shipments-grid/shipments-grid.d.ts +101 -74
  23. package/src/elements/theme-creator/theme-creator.d.ts +101 -74
  24. package/src/elements/unit-settings/unit-settings-element.d.ts +101 -74
  25. package/src/elements/vat-settings/index.d.ts +1 -0
  26. package/src/elements/vat-settings/vat-settings-element.d.ts +818 -0
  27. package/src/elements/view-shipment/view-shipment.d.ts +111 -83
  28. package/src/elements/void-label/components/message/message.d.ts +3 -2
  29. package/src/elements/void-label/void-label.d.ts +128 -92
  30. package/src/elements/wallet-history/wallet-history-element.d.ts +101 -74
  31. package/src/features/index.d.ts +5 -4
  32. package/src/features/unit-settings/unit-settings.d.ts +2 -2
  33. package/src/features/unit-settings/use-unit-settings.d.ts +1 -1
  34. package/src/features/vat-settings/index.d.ts +2 -0
  35. package/src/features/vat-settings/use-vat-settings.d.ts +8 -0
  36. package/src/features/vat-settings/vat-settings.d.ts +9 -0
  37. package/src/features/vat-settings/vat-settings.styles.d.ts +29 -0
  38. package/src/hooks/index.d.ts +3 -3
  39. package/src/locales/en/index.d.ts +101 -74
  40. package/src/types/patch.d.ts +1 -12
  41. package/src/utilities/feature-flags.d.ts +10 -0
  42. package/src/utilities/shipengine/index.d.ts +1 -0
  43. package/src/utilities/shipengine/shipment.d.ts +11 -0
  44. package/src/workflows/account-settings/account-settings.d.ts +104 -79
  45. package/src/workflows/connect-carrier/connect-carrier.d.ts +101 -74
  46. package/src/workflows/manage-wallet-workflow/manage-wallet-workflow.d.ts +106 -78
  47. package/src/workflows/onboarding/components/account-registration-form/account-registration-form-schema.d.ts +3 -0
  48. package/src/workflows/onboarding/components/funding-and-carrier-connection-step/funding-and-carrier-connection-step.d.ts +3 -1
  49. package/src/workflows/onboarding/components/funding-and-carrier-connection-step/use-funding-and-carrier-connection-step.d.ts +2 -2
  50. package/src/workflows/onboarding/components/onboarding-wizard/onboarding-wizard.d.ts +2 -2
  51. package/src/workflows/onboarding/components/terms-agreement-form/terms-agreement-form.d.ts +3 -4
  52. package/src/workflows/onboarding/components/terms-agreement-form/terms-agreement-form.styles.d.ts +6 -7
  53. package/src/workflows/onboarding/components/terms-agreement-step/terms-agreement-step.d.ts +3 -4
  54. package/src/workflows/onboarding/components/terms-agreement-step/terms-agreement-step.styles.d.ts +3 -0
  55. package/src/workflows/onboarding/components/terms-agreement-step/use-terms-agreement-step.d.ts +7 -7
  56. package/src/workflows/onboarding/onboarding.d.ts +101 -74
  57. package/vite.config.d.ts +1 -1
@@ -36,6 +36,7 @@ export declare const Element: ({ resources, ...props }: object & {
36
36
  resultMessages: {
37
37
  approved: string;
38
38
  rejected: string;
39
+ dpdwallet: string;
39
40
  };
40
41
  refund_process: string;
41
42
  refund_rules: string;
@@ -77,6 +78,38 @@ export declare const Element: ({ resources, ...props }: object & {
77
78
  };
78
79
  noLabels: string;
79
80
  };
81
+ "vat-settings": {
82
+ addNew: string;
83
+ vatNumber: string;
84
+ vatRegistrationTooltip: string;
85
+ vatFormText: string;
86
+ vatFormRegisterLater: string;
87
+ vatNumberInputHint: string;
88
+ vatNumberInputPlaceholder: string;
89
+ verifiedVat: string;
90
+ vatFormErrors: {
91
+ invalidFieldValue: string;
92
+ verificationFailure: string;
93
+ forbidden: string;
94
+ connectionNotSupported: string;
95
+ genericTitle: string;
96
+ genericText: string;
97
+ };
98
+ };
99
+ "shipengine-carriers": {
100
+ title: string;
101
+ headers: {
102
+ accountCarriers: string;
103
+ carriers: string;
104
+ settings: string;
105
+ };
106
+ actions: {
107
+ status: {
108
+ connected: string;
109
+ notConnected: string;
110
+ };
111
+ };
112
+ };
80
113
  "register-wallet": {
81
114
  sections: {
82
115
  setup: {
@@ -92,6 +125,9 @@ export declare const Element: ({ resources, ...props }: object & {
92
125
  addressSubTitle: string;
93
126
  info: string;
94
127
  };
128
+ vatSettings: {
129
+ title: string;
130
+ };
95
131
  carriers: {
96
132
  title: string;
97
133
  subtitle: string;
@@ -218,6 +254,7 @@ export declare const Element: ({ resources, ...props }: object & {
218
254
  rateSavings: string;
219
255
  upsGroundSaverTermsAcknowledgement: string;
220
256
  dhlExpressTermsAcknowledgement: string;
257
+ noRateService: string;
221
258
  };
222
259
  requirements: {
223
260
  noWarehouse: string;
@@ -284,6 +321,8 @@ export declare const Element: ({ resources, ...props }: object & {
284
321
  action: string;
285
322
  };
286
323
  termsAndAgreementLinkText: {
324
+ shipEngineToS: string;
325
+ auctanePrivacyPolicy: string;
287
326
  aHR0cHM6Ly9teWRobC5leHByZXNzLmRobC91cy9lbi9sZWdhbC90ZXJtcy1hbmQtY29uZGl0aW9ucy5odG1s: string;
288
327
  "aHR0cHM6Ly93d3cuc3RhbXBzLmNvbS9wcml2YWN5LXBvbGljeQ==": string;
289
328
  "aHR0cHM6Ly93d3cuc3RhbXBzLmNvbS9jb25kaXRpb25zLw==": string;
@@ -308,42 +347,6 @@ export declare const Element: ({ resources, ...props }: object & {
308
347
  UHVyb2xhdG9yIE1vZGFsaXTDqXMgZXQgY29uZGl0aW9ucyBkZSBzZXJ2aWNl: string;
309
348
  };
310
349
  };
311
- "manage-defaults": {
312
- label: {
313
- title: string;
314
- letter: {
315
- title: string;
316
- description: string;
317
- };
318
- purchase: {
319
- title: string;
320
- description: string;
321
- };
322
- thermal: {
323
- title: string;
324
- description: string;
325
- };
326
- };
327
- status: {
328
- saving: string;
329
- saved: string;
330
- savingFailed: string;
331
- };
332
- units: {
333
- title: string;
334
- dimensions: {
335
- title: string;
336
- standard: string;
337
- metric: string;
338
- };
339
- weight: {
340
- title: string;
341
- standard: string;
342
- g: string;
343
- kg: string;
344
- };
345
- };
346
- };
347
350
  "manage-warehouses": {
348
351
  title: string;
349
352
  addNew: string;
@@ -411,6 +414,42 @@ export declare const Element: ({ resources, ...props }: object & {
411
414
  currentBalance: string;
412
415
  maximumBalanceAmount: string;
413
416
  };
417
+ "manage-defaults": {
418
+ label: {
419
+ title: string;
420
+ letter: {
421
+ title: string;
422
+ description: string;
423
+ };
424
+ purchase: {
425
+ title: string;
426
+ description: string;
427
+ };
428
+ thermal: {
429
+ title: string;
430
+ description: string;
431
+ };
432
+ };
433
+ status: {
434
+ saving: string;
435
+ saved: string;
436
+ savingFailed: string;
437
+ };
438
+ units: {
439
+ title: string;
440
+ dimensions: {
441
+ title: string;
442
+ standard: string;
443
+ metric: string;
444
+ };
445
+ weight: {
446
+ title: string;
447
+ standard: string;
448
+ g: string;
449
+ kg: string;
450
+ };
451
+ };
452
+ };
414
453
  "list-shipments": {
415
454
  title: string;
416
455
  headers: {
@@ -441,18 +480,31 @@ export declare const Element: ({ resources, ...props }: object & {
441
480
  };
442
481
  };
443
482
  };
444
- "shipengine-carriers": {
445
- title: string;
446
- headers: {
447
- accountCarriers: string;
448
- carriers: string;
449
- settings: string;
450
- };
483
+ "connect-carrier": {
451
484
  actions: {
452
- status: {
453
- connected: string;
454
- notConnected: string;
455
- };
485
+ cancel: string;
486
+ carrierSettings: string;
487
+ connectCarriers: string;
488
+ disconnect: string;
489
+ disconnectCarrier: string;
490
+ };
491
+ noCarriersDescription: string;
492
+ registrationForm: {
493
+ error: string;
494
+ title: string;
495
+ betaWarning: string;
496
+ };
497
+ search: string;
498
+ settingsModal: {
499
+ closeDialog: string;
500
+ header: string;
501
+ };
502
+ status: {
503
+ connected: string;
504
+ };
505
+ disconnectDropdown: {
506
+ toastTitle: string;
507
+ toastBody: string;
456
508
  };
457
509
  };
458
510
  common: {
@@ -639,6 +691,7 @@ export declare const Element: ({ resources, ...props }: object & {
639
691
  accountSettings: string;
640
692
  carrier: string;
641
693
  carriers: string;
694
+ carrierServices: string;
642
695
  connectCarrierForm: string;
643
696
  connectingCarriers: string;
644
697
  creatingFundingSource: string;
@@ -741,33 +794,6 @@ export declare const Element: ({ resources, ...props }: object & {
741
794
  "QSBzaGlwcGluZyBjYXJyaWVyIGVycm9yIG9jY3VycmVkOiBNaXNzaW5nIG9yIGludmFsaWQgc2hpcCB0byBTdGF0ZVByb3ZpbmNlQ29kZQ==": string;
742
795
  "QSBzaGlwcGluZyBjYXJyaWVyIGVycm9yIG9jY3VycmVkOiBJbnZhbGlkIHNvbGQgdG8gc3RhdGUgcHJvdmluY2UgY29kZS4gVmFsaWQgbGVuZ3RoIGlzIDAgdG8gNSBhbHBoYW51bWVyaWM=": string;
743
796
  };
744
- "connect-carrier": {
745
- actions: {
746
- cancel: string;
747
- carrierSettings: string;
748
- connectCarriers: string;
749
- disconnect: string;
750
- disconnectCarrier: string;
751
- };
752
- noCarriersDescription: string;
753
- registrationForm: {
754
- error: string;
755
- title: string;
756
- betaWarning: string;
757
- };
758
- search: string;
759
- settingsModal: {
760
- closeDialog: string;
761
- header: string;
762
- };
763
- status: {
764
- connected: string;
765
- };
766
- disconnectDropdown: {
767
- toastTitle: string;
768
- toastBody: string;
769
- };
770
- };
771
797
  "account-settings": {
772
798
  messages: {
773
799
  noFundingSources: string;
@@ -783,6 +809,7 @@ export declare const Element: ({ resources, ...props }: object & {
783
809
  externalCarriers: string;
784
810
  labelLayout: string;
785
811
  unitSettings: string;
812
+ vatSettings: string;
786
813
  };
787
814
  };
788
815
  };
@@ -38,6 +38,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
38
38
  resultMessages: {
39
39
  approved: string;
40
40
  rejected: string;
41
+ dpdwallet: string;
41
42
  };
42
43
  refund_process: string;
43
44
  refund_rules: string;
@@ -79,6 +80,38 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
79
80
  };
80
81
  noLabels: string;
81
82
  };
83
+ "vat-settings": {
84
+ addNew: string;
85
+ vatNumber: string;
86
+ vatRegistrationTooltip: string;
87
+ vatFormText: string;
88
+ vatFormRegisterLater: string;
89
+ vatNumberInputHint: string;
90
+ vatNumberInputPlaceholder: string;
91
+ verifiedVat: string;
92
+ vatFormErrors: {
93
+ invalidFieldValue: string;
94
+ verificationFailure: string;
95
+ forbidden: string;
96
+ connectionNotSupported: string;
97
+ genericTitle: string;
98
+ genericText: string;
99
+ };
100
+ };
101
+ "shipengine-carriers": {
102
+ title: string;
103
+ headers: {
104
+ accountCarriers: string;
105
+ carriers: string;
106
+ settings: string;
107
+ };
108
+ actions: {
109
+ status: {
110
+ connected: string;
111
+ notConnected: string;
112
+ };
113
+ };
114
+ };
82
115
  "register-wallet": {
83
116
  sections: {
84
117
  setup: {
@@ -94,6 +127,9 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
94
127
  addressSubTitle: string;
95
128
  info: string;
96
129
  };
130
+ vatSettings: {
131
+ title: string;
132
+ };
97
133
  carriers: {
98
134
  title: string;
99
135
  subtitle: string;
@@ -220,6 +256,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
220
256
  rateSavings: string;
221
257
  upsGroundSaverTermsAcknowledgement: string;
222
258
  dhlExpressTermsAcknowledgement: string;
259
+ noRateService: string;
223
260
  };
224
261
  requirements: {
225
262
  noWarehouse: string;
@@ -286,6 +323,8 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
286
323
  action: string;
287
324
  };
288
325
  termsAndAgreementLinkText: {
326
+ shipEngineToS: string;
327
+ auctanePrivacyPolicy: string;
289
328
  aHR0cHM6Ly9teWRobC5leHByZXNzLmRobC91cy9lbi9sZWdhbC90ZXJtcy1hbmQtY29uZGl0aW9ucy5odG1s: string;
290
329
  "aHR0cHM6Ly93d3cuc3RhbXBzLmNvbS9wcml2YWN5LXBvbGljeQ==": string;
291
330
  "aHR0cHM6Ly93d3cuc3RhbXBzLmNvbS9jb25kaXRpb25zLw==": string;
@@ -310,42 +349,6 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
310
349
  UHVyb2xhdG9yIE1vZGFsaXTDqXMgZXQgY29uZGl0aW9ucyBkZSBzZXJ2aWNl: string;
311
350
  };
312
351
  };
313
- "manage-defaults": {
314
- label: {
315
- title: string;
316
- letter: {
317
- title: string;
318
- description: string;
319
- };
320
- purchase: {
321
- title: string;
322
- description: string;
323
- };
324
- thermal: {
325
- title: string;
326
- description: string;
327
- };
328
- };
329
- status: {
330
- saving: string;
331
- saved: string;
332
- savingFailed: string;
333
- };
334
- units: {
335
- title: string;
336
- dimensions: {
337
- title: string;
338
- standard: string;
339
- metric: string;
340
- };
341
- weight: {
342
- title: string;
343
- standard: string;
344
- g: string;
345
- kg: string;
346
- };
347
- };
348
- };
349
352
  "manage-warehouses": {
350
353
  title: string;
351
354
  addNew: string;
@@ -413,6 +416,42 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
413
416
  currentBalance: string;
414
417
  maximumBalanceAmount: string;
415
418
  };
419
+ "manage-defaults": {
420
+ label: {
421
+ title: string;
422
+ letter: {
423
+ title: string;
424
+ description: string;
425
+ };
426
+ purchase: {
427
+ title: string;
428
+ description: string;
429
+ };
430
+ thermal: {
431
+ title: string;
432
+ description: string;
433
+ };
434
+ };
435
+ status: {
436
+ saving: string;
437
+ saved: string;
438
+ savingFailed: string;
439
+ };
440
+ units: {
441
+ title: string;
442
+ dimensions: {
443
+ title: string;
444
+ standard: string;
445
+ metric: string;
446
+ };
447
+ weight: {
448
+ title: string;
449
+ standard: string;
450
+ g: string;
451
+ kg: string;
452
+ };
453
+ };
454
+ };
416
455
  "list-shipments": {
417
456
  title: string;
418
457
  headers: {
@@ -443,18 +482,31 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
443
482
  };
444
483
  };
445
484
  };
446
- "shipengine-carriers": {
447
- title: string;
448
- headers: {
449
- accountCarriers: string;
450
- carriers: string;
451
- settings: string;
452
- };
485
+ "connect-carrier": {
453
486
  actions: {
454
- status: {
455
- connected: string;
456
- notConnected: string;
457
- };
487
+ cancel: string;
488
+ carrierSettings: string;
489
+ connectCarriers: string;
490
+ disconnect: string;
491
+ disconnectCarrier: string;
492
+ };
493
+ noCarriersDescription: string;
494
+ registrationForm: {
495
+ error: string;
496
+ title: string;
497
+ betaWarning: string;
498
+ };
499
+ search: string;
500
+ settingsModal: {
501
+ closeDialog: string;
502
+ header: string;
503
+ };
504
+ status: {
505
+ connected: string;
506
+ };
507
+ disconnectDropdown: {
508
+ toastTitle: string;
509
+ toastBody: string;
458
510
  };
459
511
  };
460
512
  common: {
@@ -641,6 +693,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
641
693
  accountSettings: string;
642
694
  carrier: string;
643
695
  carriers: string;
696
+ carrierServices: string;
644
697
  connectCarrierForm: string;
645
698
  connectingCarriers: string;
646
699
  creatingFundingSource: string;
@@ -743,33 +796,6 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
743
796
  "QSBzaGlwcGluZyBjYXJyaWVyIGVycm9yIG9jY3VycmVkOiBNaXNzaW5nIG9yIGludmFsaWQgc2hpcCB0byBTdGF0ZVByb3ZpbmNlQ29kZQ==": string;
744
797
  "QSBzaGlwcGluZyBjYXJyaWVyIGVycm9yIG9jY3VycmVkOiBJbnZhbGlkIHNvbGQgdG8gc3RhdGUgcHJvdmluY2UgY29kZS4gVmFsaWQgbGVuZ3RoIGlzIDAgdG8gNSBhbHBoYW51bWVyaWM=": string;
745
798
  };
746
- "connect-carrier": {
747
- actions: {
748
- cancel: string;
749
- carrierSettings: string;
750
- connectCarriers: string;
751
- disconnect: string;
752
- disconnectCarrier: string;
753
- };
754
- noCarriersDescription: string;
755
- registrationForm: {
756
- error: string;
757
- title: string;
758
- betaWarning: string;
759
- };
760
- search: string;
761
- settingsModal: {
762
- closeDialog: string;
763
- header: string;
764
- };
765
- status: {
766
- connected: string;
767
- };
768
- disconnectDropdown: {
769
- toastTitle: string;
770
- toastBody: string;
771
- };
772
- };
773
799
  "account-settings": {
774
800
  messages: {
775
801
  noFundingSources: string;
@@ -785,6 +811,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
785
811
  externalCarriers: string;
786
812
  labelLayout: string;
787
813
  unitSettings: string;
814
+ vatSettings: string;
788
815
  };
789
816
  };
790
817
  };