@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
@@ -49,6 +49,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
49
49
  resultMessages: {
50
50
  approved: string;
51
51
  rejected: string;
52
+ dpdwallet: string;
52
53
  };
53
54
  refund_process: string;
54
55
  refund_rules: string;
@@ -90,6 +91,38 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
90
91
  };
91
92
  noLabels: string;
92
93
  };
94
+ "vat-settings": {
95
+ addNew: string;
96
+ vatNumber: string;
97
+ vatRegistrationTooltip: string;
98
+ vatFormText: string;
99
+ vatFormRegisterLater: string;
100
+ vatNumberInputHint: string;
101
+ vatNumberInputPlaceholder: string;
102
+ verifiedVat: string;
103
+ vatFormErrors: {
104
+ invalidFieldValue: string;
105
+ verificationFailure: string;
106
+ forbidden: string;
107
+ connectionNotSupported: string;
108
+ genericTitle: string;
109
+ genericText: string;
110
+ };
111
+ };
112
+ "shipengine-carriers": {
113
+ title: string;
114
+ headers: {
115
+ accountCarriers: string;
116
+ carriers: string;
117
+ settings: string;
118
+ };
119
+ actions: {
120
+ status: {
121
+ connected: string;
122
+ notConnected: string;
123
+ };
124
+ };
125
+ };
93
126
  "register-wallet": {
94
127
  sections: {
95
128
  setup: {
@@ -105,6 +138,9 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
105
138
  addressSubTitle: string;
106
139
  info: string;
107
140
  };
141
+ vatSettings: {
142
+ title: string;
143
+ };
108
144
  carriers: {
109
145
  title: string;
110
146
  subtitle: string;
@@ -231,6 +267,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
231
267
  rateSavings: string;
232
268
  upsGroundSaverTermsAcknowledgement: string;
233
269
  dhlExpressTermsAcknowledgement: string;
270
+ noRateService: string;
234
271
  };
235
272
  requirements: {
236
273
  noWarehouse: string;
@@ -297,6 +334,8 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
297
334
  action: string;
298
335
  };
299
336
  termsAndAgreementLinkText: {
337
+ shipEngineToS: string;
338
+ auctanePrivacyPolicy: string;
300
339
  aHR0cHM6Ly9teWRobC5leHByZXNzLmRobC91cy9lbi9sZWdhbC90ZXJtcy1hbmQtY29uZGl0aW9ucy5odG1s: string;
301
340
  "aHR0cHM6Ly93d3cuc3RhbXBzLmNvbS9wcml2YWN5LXBvbGljeQ==": string;
302
341
  "aHR0cHM6Ly93d3cuc3RhbXBzLmNvbS9jb25kaXRpb25zLw==": string;
@@ -321,42 +360,6 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
321
360
  UHVyb2xhdG9yIE1vZGFsaXTDqXMgZXQgY29uZGl0aW9ucyBkZSBzZXJ2aWNl: string;
322
361
  };
323
362
  };
324
- "manage-defaults": {
325
- label: {
326
- title: string;
327
- letter: {
328
- title: string;
329
- description: string;
330
- };
331
- purchase: {
332
- title: string;
333
- description: string;
334
- };
335
- thermal: {
336
- title: string;
337
- description: string;
338
- };
339
- };
340
- status: {
341
- saving: string;
342
- saved: string;
343
- savingFailed: string;
344
- };
345
- units: {
346
- title: string;
347
- dimensions: {
348
- title: string;
349
- standard: string;
350
- metric: string;
351
- };
352
- weight: {
353
- title: string;
354
- standard: string;
355
- g: string;
356
- kg: string;
357
- };
358
- };
359
- };
360
363
  "manage-warehouses": {
361
364
  title: string;
362
365
  addNew: string;
@@ -424,6 +427,42 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
424
427
  currentBalance: string;
425
428
  maximumBalanceAmount: string;
426
429
  };
430
+ "manage-defaults": {
431
+ label: {
432
+ title: string;
433
+ letter: {
434
+ title: string;
435
+ description: string;
436
+ };
437
+ purchase: {
438
+ title: string;
439
+ description: string;
440
+ };
441
+ thermal: {
442
+ title: string;
443
+ description: string;
444
+ };
445
+ };
446
+ status: {
447
+ saving: string;
448
+ saved: string;
449
+ savingFailed: string;
450
+ };
451
+ units: {
452
+ title: string;
453
+ dimensions: {
454
+ title: string;
455
+ standard: string;
456
+ metric: string;
457
+ };
458
+ weight: {
459
+ title: string;
460
+ standard: string;
461
+ g: string;
462
+ kg: string;
463
+ };
464
+ };
465
+ };
427
466
  "list-shipments": {
428
467
  title: string;
429
468
  headers: {
@@ -454,18 +493,31 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
454
493
  };
455
494
  };
456
495
  };
457
- "shipengine-carriers": {
458
- title: string;
459
- headers: {
460
- accountCarriers: string;
461
- carriers: string;
462
- settings: string;
463
- };
496
+ "connect-carrier": {
464
497
  actions: {
465
- status: {
466
- connected: string;
467
- notConnected: string;
468
- };
498
+ cancel: string;
499
+ carrierSettings: string;
500
+ connectCarriers: string;
501
+ disconnect: string;
502
+ disconnectCarrier: string;
503
+ };
504
+ noCarriersDescription: string;
505
+ registrationForm: {
506
+ error: string;
507
+ title: string;
508
+ betaWarning: string;
509
+ };
510
+ search: string;
511
+ settingsModal: {
512
+ closeDialog: string;
513
+ header: string;
514
+ };
515
+ status: {
516
+ connected: string;
517
+ };
518
+ disconnectDropdown: {
519
+ toastTitle: string;
520
+ toastBody: string;
469
521
  };
470
522
  };
471
523
  common: {
@@ -652,6 +704,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
652
704
  accountSettings: string;
653
705
  carrier: string;
654
706
  carriers: string;
707
+ carrierServices: string;
655
708
  connectCarrierForm: string;
656
709
  connectingCarriers: string;
657
710
  creatingFundingSource: string;
@@ -754,33 +807,6 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
754
807
  "QSBzaGlwcGluZyBjYXJyaWVyIGVycm9yIG9jY3VycmVkOiBNaXNzaW5nIG9yIGludmFsaWQgc2hpcCB0byBTdGF0ZVByb3ZpbmNlQ29kZQ==": string;
755
808
  "QSBzaGlwcGluZyBjYXJyaWVyIGVycm9yIG9jY3VycmVkOiBJbnZhbGlkIHNvbGQgdG8gc3RhdGUgcHJvdmluY2UgY29kZS4gVmFsaWQgbGVuZ3RoIGlzIDAgdG8gNSBhbHBoYW51bWVyaWM=": string;
756
809
  };
757
- "connect-carrier": {
758
- actions: {
759
- cancel: string;
760
- carrierSettings: string;
761
- connectCarriers: string;
762
- disconnect: string;
763
- disconnectCarrier: string;
764
- };
765
- noCarriersDescription: string;
766
- registrationForm: {
767
- error: string;
768
- title: string;
769
- betaWarning: string;
770
- };
771
- search: string;
772
- settingsModal: {
773
- closeDialog: string;
774
- header: string;
775
- };
776
- status: {
777
- connected: string;
778
- };
779
- disconnectDropdown: {
780
- toastTitle: string;
781
- toastBody: string;
782
- };
783
- };
784
810
  "account-settings": {
785
811
  messages: {
786
812
  noFundingSources: string;
@@ -796,6 +822,7 @@ export declare const Element: ({ resources, ...props }: ComponentProps & {
796
822
  externalCarriers: string;
797
823
  labelLayout: string;
798
824
  unitSettings: string;
825
+ vatSettings: string;
799
826
  };
800
827
  };
801
828
  };
@@ -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
  };
@@ -0,0 +1 @@
1
+ export * as VatSettings from "./vat-settings-element";