@gusto/embedded-react-sdk 0.55.1 → 0.55.3

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 (161) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/dist/components/Common/FieldLayout/FieldLayout.js +6 -6
  3. package/dist/components/Common/Fieldset/Fieldset.js +6 -6
  4. package/dist/components/Common/HorizontalFieldLayout/HorizontalFieldLayout.js +6 -6
  5. package/dist/components/Common/UI/Breadcrumbs/Breadcrumbs.js +1 -1
  6. package/dist/components/Common/UI/FileInput/FileInput.js +1 -1
  7. package/dist/components/Common/UI/MultiSelectComboBox/MultiSelectComboBox.js +58 -49
  8. package/dist/components/Common/UI/MultiSelectComboBox/MultiSelectComboBox.js.map +1 -1
  9. package/dist/components/Common/UI/MultiSelectComboBox/MultiSelectComboBox.module.scss.js +14 -10
  10. package/dist/components/Common/UI/MultiSelectComboBox/MultiSelectComboBox.module.scss.js.map +1 -1
  11. package/dist/components/Common/UI/MultiSelectComboBox/MultiSelectComboBoxTypes.d.ts +4 -0
  12. package/dist/components/Common/UI/ProgressBar/ProgressBar.js +4 -4
  13. package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js +6 -3
  14. package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js.map +1 -1
  15. package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js +6 -3
  16. package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js.map +1 -1
  17. package/dist/components/Company/AssignSignatory/useAssignSignatory.js +8 -5
  18. package/dist/components/Company/AssignSignatory/useAssignSignatory.js.map +1 -1
  19. package/dist/components/Company/BankAccount/BankAccountForm/context.js +6 -3
  20. package/dist/components/Company/BankAccount/BankAccountForm/context.js.map +1 -1
  21. package/dist/components/Company/DocumentSigner/DocumentList/DocumentList.d.ts +4 -0
  22. package/dist/components/Company/DocumentSigner/DocumentList/DocumentList.js.map +1 -1
  23. package/dist/components/Company/DocumentSigner/DocumentList/List.js +11 -8
  24. package/dist/components/Company/DocumentSigner/DocumentList/List.js.map +1 -1
  25. package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.js +6 -3
  26. package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.js.map +1 -1
  27. package/dist/components/Company/FederalTaxes/useFederalTaxes.js +11 -8
  28. package/dist/components/Company/FederalTaxes/useFederalTaxes.js.map +1 -1
  29. package/dist/components/Company/Industry/Context.js +9 -6
  30. package/dist/components/Company/Industry/Context.js.map +1 -1
  31. package/dist/components/Company/Locations/LocationForm/useLocationForm.js +6 -3
  32. package/dist/components/Company/Locations/LocationForm/useLocationForm.js.map +1 -1
  33. package/dist/components/Company/Locations/LocationsList/useLocationsList.js +6 -3
  34. package/dist/components/Company/Locations/LocationsList/useLocationsList.js.map +1 -1
  35. package/dist/components/Company/OnboardingOverview/context.js +6 -3
  36. package/dist/components/Company/OnboardingOverview/context.js.map +1 -1
  37. package/dist/components/Company/StateTaxes/StateTaxesForm/context.js +6 -3
  38. package/dist/components/Company/StateTaxes/StateTaxesForm/context.js.map +1 -1
  39. package/dist/components/Company/StateTaxes/StateTaxesList/context.js +6 -3
  40. package/dist/components/Company/StateTaxes/StateTaxesList/context.js.map +1 -1
  41. package/dist/components/Company/StateTaxes/TaxRateManagement/context.js +6 -3
  42. package/dist/components/Company/StateTaxes/TaxRateManagement/context.js.map +1 -1
  43. package/dist/components/Employee/Compensation/shared/useJobForm/useJobForm.js +116 -116
  44. package/dist/components/Employee/Compensation/shared/useJobForm/useJobForm.js.map +1 -1
  45. package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/DocumentList.d.ts +4 -0
  46. package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/DocumentList.js +19 -19
  47. package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/DocumentList.js.map +1 -1
  48. package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/List.js +16 -13
  49. package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/List.js.map +1 -1
  50. package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/useDocumentList.js +6 -3
  51. package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/useDocumentList.js.map +1 -1
  52. package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentSigner.d.ts +4 -0
  53. package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentSigner.js.map +1 -1
  54. package/dist/components/Employee/FederalTaxes/shared/FederalTaxesView.js +1 -1
  55. package/dist/components/Employee/PaymentMethod/management/PaymentMethodBankForm.js +4 -4
  56. package/dist/components/Employee/PaymentMethod/onboarding/BankForm.js +4 -4
  57. package/dist/components/Flow/Flow.js +1 -1
  58. package/dist/components/Payroll/GrossUpModal/GrossUpModal.js +3 -2
  59. package/dist/components/Payroll/GrossUpModal/GrossUpModal.js.map +1 -1
  60. package/dist/components/Payroll/OffCycleCreation/OffCycleCreation.js +75 -71
  61. package/dist/components/Payroll/OffCycleCreation/OffCycleCreation.js.map +1 -1
  62. package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.d.ts +7 -0
  63. package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.js +202 -165
  64. package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.js.map +1 -1
  65. package/dist/components/Payroll/PayrollConfiguration/usePayrollConfigurationData.d.ts +1 -0
  66. package/dist/components/Payroll/PayrollConfiguration/usePayrollConfigurationData.js +88 -82
  67. package/dist/components/Payroll/PayrollConfiguration/usePayrollConfigurationData.js.map +1 -1
  68. package/dist/components/Payroll/PayrollExecutionFlow/PayrollExecutionFlow.d.ts +1 -0
  69. package/dist/components/Payroll/PayrollExecutionFlow/PayrollExecutionFlow.js.map +1 -1
  70. package/dist/components/Payroll/PayrollExecutionFlow/payrollExecutionMachine.js +73 -48
  71. package/dist/components/Payroll/PayrollExecutionFlow/payrollExecutionMachine.js.map +1 -1
  72. package/dist/components/Payroll/PayrollFlow/PayrollFlow.d.ts +1 -1
  73. package/dist/components/Payroll/PayrollFlow/PayrollFlow.js +22 -20
  74. package/dist/components/Payroll/PayrollFlow/PayrollFlow.js.map +1 -1
  75. package/dist/components/Payroll/PayrollFlow/PayrollFlowComponents.d.ts +3 -0
  76. package/dist/components/Payroll/PayrollFlow/PayrollFlowComponents.js +22 -20
  77. package/dist/components/Payroll/PayrollFlow/PayrollFlowComponents.js.map +1 -1
  78. package/dist/components/Payroll/PayrollLanding/PayrollLanding.d.ts +2 -0
  79. package/dist/components/Payroll/PayrollLanding/PayrollLanding.js +34 -26
  80. package/dist/components/Payroll/PayrollLanding/PayrollLanding.js.map +1 -1
  81. package/dist/components/Payroll/PayrollLanding/PayrollLandingFlowComponents.d.ts +4 -0
  82. package/dist/components/Payroll/PayrollLanding/PayrollLandingFlowComponents.js +51 -43
  83. package/dist/components/Payroll/PayrollLanding/PayrollLandingFlowComponents.js.map +1 -1
  84. package/dist/components/Payroll/PayrollList/PayrollList.d.ts +2 -0
  85. package/dist/components/Payroll/PayrollList/PayrollList.js +48 -47
  86. package/dist/components/Payroll/PayrollList/PayrollList.js.map +1 -1
  87. package/dist/components/Payroll/PayrollList/PayrollListPresentation.d.ts +2 -1
  88. package/dist/components/Payroll/PayrollList/PayrollListPresentation.js +44 -43
  89. package/dist/components/Payroll/PayrollList/PayrollListPresentation.js.map +1 -1
  90. package/dist/components/Payroll/PayrollOverview/PayrollOverview.d.ts +15 -1
  91. package/dist/components/Payroll/PayrollOverview/PayrollOverview.js +188 -172
  92. package/dist/components/Payroll/PayrollOverview/PayrollOverview.js.map +1 -1
  93. package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.d.ts +3 -1
  94. package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js +110 -118
  95. package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js.map +1 -1
  96. package/dist/components/Payroll/PayrollReceipts/PayrollReceipts.js +22 -16
  97. package/dist/components/Payroll/PayrollReceipts/PayrollReceipts.js.map +1 -1
  98. package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.js +58 -49
  99. package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.js.map +1 -1
  100. package/dist/components/Payroll/PrintChecks/PrintChecks.d.ts +21 -0
  101. package/dist/components/Payroll/PrintChecks/PrintChecks.js +68 -0
  102. package/dist/components/Payroll/PrintChecks/PrintChecks.js.map +1 -0
  103. package/dist/components/Payroll/PrintChecks/PrintChecksBanner/PrintChecksBanner.d.ts +9 -0
  104. package/dist/components/Payroll/PrintChecks/PrintChecksBanner/PrintChecksBanner.js +34 -0
  105. package/dist/components/Payroll/PrintChecks/PrintChecksBanner/PrintChecksBanner.js.map +1 -0
  106. package/dist/components/Payroll/PrintChecks/PrintChecksBanner/index.d.ts +1 -0
  107. package/dist/components/Payroll/PrintChecks/PrintChecksComponents.d.ts +48 -0
  108. package/dist/components/Payroll/PrintChecks/PrintChecksComponents.js +26 -0
  109. package/dist/components/Payroll/PrintChecks/PrintChecksComponents.js.map +1 -0
  110. package/dist/components/Payroll/PrintChecks/PrintChecksFailure/PrintChecksFailure.d.ts +14 -0
  111. package/dist/components/Payroll/PrintChecks/PrintChecksFailure/PrintChecksFailure.js +47 -0
  112. package/dist/components/Payroll/PrintChecks/PrintChecksFailure/PrintChecksFailure.js.map +1 -0
  113. package/dist/components/Payroll/PrintChecks/PrintChecksFailure/index.d.ts +1 -0
  114. package/dist/components/Payroll/PrintChecks/PrintChecksForm/PrintChecksForm.d.ts +16 -0
  115. package/dist/components/Payroll/PrintChecks/PrintChecksForm/PrintChecksForm.js +144 -0
  116. package/dist/components/Payroll/PrintChecks/PrintChecksForm/PrintChecksForm.js.map +1 -0
  117. package/dist/components/Payroll/PrintChecks/PrintChecksForm/index.d.ts +1 -0
  118. package/dist/components/Payroll/PrintChecks/PrintChecksSummary/PrintChecksSummary.d.ts +14 -0
  119. package/dist/components/Payroll/PrintChecks/PrintChecksSummary/PrintChecksSummary.js +39 -0
  120. package/dist/components/Payroll/PrintChecks/PrintChecksSummary/PrintChecksSummary.js.map +1 -0
  121. package/dist/components/Payroll/PrintChecks/PrintChecksSummary/index.d.ts +1 -0
  122. package/dist/components/Payroll/PrintChecks/index.d.ts +2 -0
  123. package/dist/components/Payroll/PrintChecks/printChecksStateMachine.d.ts +33 -0
  124. package/dist/components/Payroll/PrintChecks/printChecksStateMachine.js +93 -0
  125. package/dist/components/Payroll/PrintChecks/printChecksStateMachine.js.map +1 -0
  126. package/dist/components/Payroll/PrintChecks/types.d.ts +14 -0
  127. package/dist/components/Payroll/helpers.d.ts +0 -15
  128. package/dist/components/Payroll/helpers.js +13 -18
  129. package/dist/components/Payroll/helpers.js.map +1 -1
  130. package/dist/components/Payroll/index.d.ts +2 -0
  131. package/dist/components/Payroll/index.js +26 -24
  132. package/dist/components/Payroll/index.js.map +1 -1
  133. package/dist/components/Payroll/usePreparedPayrollData.js +15 -12
  134. package/dist/components/Payroll/usePreparedPayrollData.js.map +1 -1
  135. package/dist/i18n/I18n.js +4 -0
  136. package/dist/i18n/I18n.js.map +1 -1
  137. package/dist/i18n/en/Company.DocumentList.json.js +34 -32
  138. package/dist/i18n/en/Company.DocumentList.json.js.map +1 -1
  139. package/dist/i18n/en/Employee.DocumentSigner.json.js +24 -22
  140. package/dist/i18n/en/Employee.DocumentSigner.json.js.map +1 -1
  141. package/dist/i18n/en/Payroll.PayrollConfiguration.json.js +9 -9
  142. package/dist/i18n/en/Payroll.PayrollOverview.json.js +36 -36
  143. package/dist/i18n/en/Payroll.PayrollReceipts.json.js +2 -2
  144. package/dist/i18n/en/Payroll.PrintChecksBanner.json.js +14 -0
  145. package/dist/i18n/en/Payroll.PrintChecksBanner.json.js.map +1 -0
  146. package/dist/i18n/en/Payroll.PrintChecksFailure.json.js +12 -0
  147. package/dist/i18n/en/Payroll.PrintChecksFailure.json.js.map +1 -0
  148. package/dist/i18n/en/Payroll.PrintChecksForm.json.js +28 -0
  149. package/dist/i18n/en/Payroll.PrintChecksForm.json.js.map +1 -0
  150. package/dist/i18n/en/Payroll.PrintChecksSummary.json.js +14 -0
  151. package/dist/i18n/en/Payroll.PrintChecksSummary.json.js.map +1 -0
  152. package/dist/i18n/types.d.ts +376 -8
  153. package/dist/models/external.d.ts +3 -0
  154. package/dist/partner-hook-utils/form/buildFormSchema.js +60 -54
  155. package/dist/partner-hook-utils/form/buildFormSchema.js.map +1 -1
  156. package/dist/shared/constants.d.ts +28 -0
  157. package/dist/shared/constants.js +61 -50
  158. package/dist/shared/constants.js.map +1 -1
  159. package/dist/style.css +1 -1
  160. package/docs/guides/endpoint-inventory.json +26 -0
  161. package/package.json +6 -6
@@ -124,6 +124,10 @@ export interface Resources {
124
124
  'Payroll.PayrollList': Translations.PayrollPayrollList
125
125
  'Payroll.PayrollOverview': Translations.PayrollPayrollOverview
126
126
  'Payroll.PayrollReceipts': Translations.PayrollPayrollReceipts
127
+ 'Payroll.PrintChecksBanner': Translations.PayrollPrintChecksBanner
128
+ 'Payroll.PrintChecksFailure': Translations.PayrollPrintChecksFailure
129
+ 'Payroll.PrintChecksForm': Translations.PayrollPrintChecksForm
130
+ 'Payroll.PrintChecksSummary': Translations.PayrollPrintChecksSummary
127
131
  'Payroll.RecoveryCasesList': Translations.PayrollRecoveryCasesList
128
132
  'Payroll.RecoveryCasesResubmit': Translations.PayrollRecoveryCasesResubmit
129
133
  'Payroll.Transition': Translations.PayrollTransition
@@ -367,6 +371,292 @@ export namespace Translations {
367
371
  emptyTableTitle: string
368
372
  /** @defaultValue `"Continue"` */
369
373
  continueCta: string
374
+ forms: {
375
+ US_8655: {
376
+ /** @defaultValue `""` */
377
+ description: string
378
+ }
379
+ US_8655_MODIFIED: {
380
+ /** @defaultValue `""` */
381
+ description: string
382
+ }
383
+ US_8821: {
384
+ /** @defaultValue `""` */
385
+ description: string
386
+ }
387
+ US_8974: {
388
+ /** @defaultValue `""` */
389
+ description: string
390
+ }
391
+ US_940: {
392
+ /** @defaultValue `""` */
393
+ description: string
394
+ }
395
+ US_940c: {
396
+ /** @defaultValue `""` */
397
+ description: string
398
+ }
399
+ US_941: {
400
+ /** @defaultValue `""` */
401
+ description: string
402
+ }
403
+ US_941_SCHEDULE_B: {
404
+ /** @defaultValue `""` */
405
+ description: string
406
+ }
407
+ US_941X: {
408
+ /** @defaultValue `""` */
409
+ description: string
410
+ }
411
+ US_944: {
412
+ /** @defaultValue `""` */
413
+ description: string
414
+ }
415
+ US_944X: {
416
+ /** @defaultValue `""` */
417
+ description: string
418
+ }
419
+ ACH_Reversal: {
420
+ /** @defaultValue `""` */
421
+ description: string
422
+ }
423
+ amended_package: {
424
+ /** @defaultValue `""` */
425
+ description: string
426
+ }
427
+ 'CA_DE-9': {
428
+ /** @defaultValue `""` */
429
+ description: string
430
+ }
431
+ 'CA_DE-9ADJ': {
432
+ /** @defaultValue `""` */
433
+ description: string
434
+ }
435
+ 'CA_DE-9C': {
436
+ /** @defaultValue `""` */
437
+ description: string
438
+ }
439
+ 'BENEFITS_ANNOTATED_CA_DE-9C': {
440
+ /** @defaultValue `""` */
441
+ description: string
442
+ }
443
+ co_employee_refund_instructions: {
444
+ /** @defaultValue `""` */
445
+ description: string
446
+ }
447
+ company_direct_deposit: {
448
+ /** @defaultValue `""` */
449
+ description: string
450
+ }
451
+ 'US_Company_W-2': {
452
+ /** @defaultValue `""` */
453
+ description: string
454
+ }
455
+ 'US_Company_W-2 (Corrected)': {
456
+ /** @defaultValue `""` */
457
+ description: string
458
+ }
459
+ 'US_Company_W-2_Cover_Sheet': {
460
+ /** @defaultValue `""` */
461
+ description: string
462
+ }
463
+ DC_DOES_UC30: {
464
+ /** @defaultValue `""` */
465
+ description: string
466
+ }
467
+ 'FL_RT-6': {
468
+ /** @defaultValue `""` */
469
+ description: string
470
+ }
471
+ IL_DOR_941: {
472
+ /** @defaultValue `""` */
473
+ description: string
474
+ }
475
+ IL_DOR_941X: {
476
+ /** @defaultValue `""` */
477
+ description: string
478
+ }
479
+ 'IL_UI-340': {
480
+ /** @defaultValue `""` */
481
+ description: string
482
+ }
483
+ 'IL_UI-40C': {
484
+ /** @defaultValue `""` */
485
+ description: string
486
+ }
487
+ ky_unemployment: {
488
+ /** @defaultValue `""` */
489
+ description: string
490
+ }
491
+ ky_unemployment_amendment: {
492
+ /** @defaultValue `""` */
493
+ description: string
494
+ }
495
+ MA_941: {
496
+ /** @defaultValue `""` */
497
+ description: string
498
+ }
499
+ ma_unemployment: {
500
+ /** @defaultValue `""` */
501
+ description: string
502
+ }
503
+ md_unemployment: {
504
+ /** @defaultValue `""` */
505
+ description: string
506
+ }
507
+ md_unemployment_amendment: {
508
+ /** @defaultValue `""` */
509
+ description: string
510
+ }
511
+ mt_tax_coupon: {
512
+ /** @defaultValue `""` */
513
+ description: string
514
+ }
515
+ 'NY_MTA-305': {
516
+ /** @defaultValue `""` */
517
+ description: string
518
+ }
519
+ 'NY_MTA-305c': {
520
+ /** @defaultValue `""` */
521
+ description: string
522
+ }
523
+ 'NY_NYS-45': {
524
+ /** @defaultValue `""` */
525
+ description: string
526
+ }
527
+ 'NY_NYS-45-X': {
528
+ /** @defaultValue `""` */
529
+ description: string
530
+ }
531
+ 'NY_TR-2000': {
532
+ /** @defaultValue `""` */
533
+ description: string
534
+ }
535
+ 'NY_TR-579-WT': {
536
+ /** @defaultValue `""` */
537
+ description: string
538
+ }
539
+ 'OHIO_IT-3': {
540
+ /** @defaultValue `""` */
541
+ description: string
542
+ }
543
+ 'OHIO_IT-3c': {
544
+ /** @defaultValue `""` */
545
+ description: string
546
+ }
547
+ 'OHIO_IT-501': {
548
+ /** @defaultValue `""` */
549
+ description: string
550
+ }
551
+ 'OHIO_IT-941': {
552
+ /** @defaultValue `""` */
553
+ description: string
554
+ }
555
+ 'OHIO_IT-941c': {
556
+ /** @defaultValue `""` */
557
+ description: string
558
+ }
559
+ 'OHIO_SD-101': {
560
+ /** @defaultValue `""` */
561
+ description: string
562
+ }
563
+ 'OHIO_SD-141': {
564
+ /** @defaultValue `""` */
565
+ description: string
566
+ }
567
+ 'OHIO_SD-141c': {
568
+ /** @defaultValue `""` */
569
+ description: string
570
+ }
571
+ OHIO_SUTA: {
572
+ /** @defaultValue `""` */
573
+ description: string
574
+ }
575
+ OHIO_SUTA_CORRECTION: {
576
+ /** @defaultValue `""` */
577
+ description: string
578
+ }
579
+ quarterly_package: {
580
+ /** @defaultValue `""` */
581
+ description: string
582
+ }
583
+ 'Benefits Annotated QWR': {
584
+ /** @defaultValue `""` */
585
+ description: string
586
+ }
587
+ 'Incomplete Benefits Annotated QWR': {
588
+ /** @defaultValue `""` */
589
+ description: string
590
+ }
591
+ sc_unemployment: {
592
+ /** @defaultValue `""` */
593
+ description: string
594
+ }
595
+ TEXAS_SUTA: {
596
+ /** @defaultValue `""` */
597
+ description: string
598
+ }
599
+ TEXAS_SUTA_AMENDMENT: {
600
+ /** @defaultValue `""` */
601
+ description: string
602
+ }
603
+ vt_unemployment: {
604
+ /** @defaultValue `""` */
605
+ description: string
606
+ }
607
+ 'US_W-2': {
608
+ /** @defaultValue `""` */
609
+ description: string
610
+ }
611
+ 'US_W-2_Employer_Copy': {
612
+ /** @defaultValue `""` */
613
+ description: string
614
+ }
615
+ US_W2_Employer_Printable_Copy: {
616
+ /** @defaultValue `""` */
617
+ description: string
618
+ }
619
+ 'US_W-2c': {
620
+ /** @defaultValue `""` */
621
+ description: string
622
+ }
623
+ 'US_W-3': {
624
+ /** @defaultValue `""` */
625
+ description: string
626
+ }
627
+ WA_LNI: {
628
+ /** @defaultValue `""` */
629
+ description: string
630
+ }
631
+ WA_LNI_AMENDMENT: {
632
+ /** @defaultValue `""` */
633
+ description: string
634
+ }
635
+ 'WA_EMS-5208': {
636
+ /** @defaultValue `""` */
637
+ description: string
638
+ }
639
+ 'WA_EMS-5208D': {
640
+ /** @defaultValue `""` */
641
+ description: string
642
+ }
643
+ US_1099: {
644
+ /** @defaultValue `""` */
645
+ description: string
646
+ }
647
+ 'US_1099 (Corrected)': {
648
+ /** @defaultValue `""` */
649
+ description: string
650
+ }
651
+ US_1099_Employer_Printable_Copy: {
652
+ /** @defaultValue `""` */
653
+ description: string
654
+ }
655
+ SYMMETRY_PAYROLL_FORM: {
656
+ /** @defaultValue `""` */
657
+ description: string
658
+ }
659
+ }
370
660
  }
371
661
  /** Translation keys for the `Company.FederalTaxes` i18n namespace. */
372
662
  export interface CompanyFederalTaxes {
@@ -4143,6 +4433,28 @@ export namespace Translations {
4143
4433
  viewDocumentCta: string
4144
4434
  /** @defaultValue `"Please review the document. When you're finished, sign below."` */
4145
4435
  downloadAndReviewInstructions: string
4436
+ forms: {
4437
+ employee_direct_deposit: {
4438
+ /** @defaultValue `""` */
4439
+ description: string
4440
+ }
4441
+ 'US_I-9': {
4442
+ /** @defaultValue `""` */
4443
+ description: string
4444
+ }
4445
+ 'US_W-4': {
4446
+ /** @defaultValue `""` */
4447
+ description: string
4448
+ }
4449
+ or_w4: {
4450
+ /** @defaultValue `""` */
4451
+ description: string
4452
+ }
4453
+ Or_Portland_Multnomah: {
4454
+ /** @defaultValue `""` */
4455
+ description: string
4456
+ }
4457
+ }
4146
4458
  }
4147
4459
  /** Translation keys for the `Employee.EmployeeDocuments` i18n namespace. */
4148
4460
  export interface EmployeeEmployeeDocuments {
@@ -7015,6 +7327,8 @@ export namespace Translations {
7015
7327
  setNetEarnings: string
7016
7328
  }
7017
7329
  alerts: {
7330
+ /** @defaultValue `"This payroll is already processed. If you'd like to make changes, please cancel and re-run it."` */
7331
+ alreadyProcessed: string
7018
7332
  /** @defaultValue `"Your progress has been saved"` */
7019
7333
  progressSaved: string
7020
7334
  /** @defaultValue `"To pay your employees with direct deposit by {{payDate}}, you'll need to run payroll by {{time}} on {{date}}."` */
@@ -7417,16 +7731,12 @@ export namespace Translations {
7417
7731
  alerts: {
7418
7732
  /** @defaultValue `"Payroll is not calculated"` */
7419
7733
  payrollNotCalculated: string
7420
- /** @defaultValue `"To pay your employees with direct deposit by {{payDate}}, you'll need to run payroll by {{time}} on {{date}}"` */
7734
+ /** @defaultValue `"To pay your employees with direct deposit by {{payDate}}, you'll need to run payroll by {{time}} on {{date}}."` */
7421
7735
  directDepositDeadline: string
7736
+ /** @defaultValue `"Make sure to submit before the deadline to ensure timely payments."` */
7737
+ directDepositDeadlineText: string
7422
7738
  /** @defaultValue `"There was an issue generating the paystub PDF. Please try again later."` */
7423
7739
  paystubPdfError: string
7424
- /** @defaultValue `"You noted {{count}} employee who should be paid by check."` */
7425
- checkPaymentWarning_one: string
7426
- /** @defaultValue `"You noted {{count}} employees who should be paid by check."` */
7427
- checkPaymentWarning_other: string
7428
- /** @defaultValue `"Employees with this payment method will need their checks delivered to them."` */
7429
- checkPaymentWarningDescription: string
7430
7740
  /** @defaultValue `"Payroll submitted"` */
7431
7741
  payrollProcessedTitle: string
7432
7742
  /** @defaultValue `"{{amount}} will be debited on {{date}}. Make sure you have these funds available."` */
@@ -7614,7 +7924,7 @@ export namespace Translations {
7614
7924
  employeeCount_other: string
7615
7925
  /** @defaultValue `"These amounts may not represent all monies due to government tax authorities from you, and do not include any amounts transmitted outside the platform."` */
7616
7926
  disclaimer: string
7617
- /** @defaultValue `"Your payroll provider partners with Gusto Inc. for payments processing. Gusto Inc. is a licensed money transmitter. Learn more on our license page."` */
7927
+ /** @defaultValue `"Your payroll provider partners with Gusto Inc. for payments processing. Gusto Inc. is a licensed money transmitter. Learn more on our <licensesLink>license page</licensesLink>."` */
7618
7928
  companyInfo: string
7619
7929
  /** @defaultValue `"525 20th St, San Francisco, CA 94107 | 415-777-8888"` */
7620
7930
  address: string
@@ -7670,6 +7980,64 @@ export namespace Translations {
7670
7980
  totalEmployees_other: string
7671
7981
  }
7672
7982
  }
7983
+ /** Translation keys for the `Payroll.PrintChecksBanner` i18n namespace. */
7984
+ export interface PayrollPrintChecksBanner {
7985
+ /** @defaultValue `"You noted {{count}} employee that should be paid by check."` */
7986
+ title_one: string
7987
+ /** @defaultValue `"You noted {{count}} employees that should be paid by check."` */
7988
+ title_other: string
7989
+ /** @defaultValue `"Employees with this payment method will need their checks delivered to them. If you aren't using your own checks, you can view and print checks."` */
7990
+ description: string
7991
+ /** @defaultValue `"View and print checks"` */
7992
+ cta: string
7993
+ }
7994
+ /** Translation keys for the `Payroll.PrintChecksFailure` i18n namespace. */
7995
+ export interface PayrollPrintChecksFailure {
7996
+ /** @defaultValue `"We couldn't generate your checks"` */
7997
+ failedTitle: string
7998
+ /** @defaultValue `"Try again"` */
7999
+ retryCta: string
8000
+ /** @defaultValue `"Close"` */
8001
+ closeCta: string
8002
+ }
8003
+ /** Translation keys for the `Payroll.PrintChecksForm` i18n namespace. */
8004
+ export interface PayrollPrintChecksForm {
8005
+ /** @defaultValue `"Choose check stock"` */
8006
+ modalTitle: string
8007
+ /** @defaultValue `"Custom check stock"` */
8008
+ customStockLabel: string
8009
+ /** @defaultValue `"Use this check stock if you have check stock that is pre-printed with your company and bank information. The physical check will appear on the top of the check PDF. Check numbers should already be pre-printed on the check stock you purchased."` */
8010
+ customStockDescription: string
8011
+ /** @defaultValue `"Blank check stock"` */
8012
+ blankStockLabel: string
8013
+ /** @defaultValue `"Use this check stock if you have blank check stock and need us to populate your company and bank information. The physical check will always be on the bottom of the check PDF."` */
8014
+ blankStockDescription: string
8015
+ /** @defaultValue `"Check number starts with"` */
8016
+ startingCheckNumberLabel: string
8017
+ /** @defaultValue `"This will be the first check number, all other checks will follow sequentially."` */
8018
+ startingCheckNumberDescription: string
8019
+ /** @defaultValue `"Cancel"` */
8020
+ cancelCta: string
8021
+ /** @defaultValue `"View checks"` */
8022
+ submitCta: string
8023
+ /** @defaultValue `"Generating..."` */
8024
+ submitCtaLoading: string
8025
+ validations: {
8026
+ /** @defaultValue `"Enter a valid check number"` */
8027
+ startingCheckNumber: string
8028
+ }
8029
+ }
8030
+ /** Translation keys for the `Payroll.PrintChecksSummary` i18n namespace. */
8031
+ export interface PayrollPrintChecksSummary {
8032
+ /** @defaultValue `"Your checks are ready"` */
8033
+ succeededTitle: string
8034
+ /** @defaultValue `"The download should have started automatically. If not, use the link below."` */
8035
+ succeededDescription: string
8036
+ /** @defaultValue `"View checks"` */
8037
+ viewChecksCta: string
8038
+ /** @defaultValue `"Close"` */
8039
+ closeCta: string
8040
+ }
7673
8041
  /** Translation keys for the `Payroll.RecoveryCasesList` i18n namespace. */
7674
8042
  export interface PayrollRecoveryCasesList {
7675
8043
  /** @defaultValue `"Recovery cases"` */
@@ -140,6 +140,7 @@ export { GarnishmentType } from '@gusto/embedded-api/models/components/garnishme
140
140
  export type { Garnishment } from '@gusto/embedded-api/models/components/garnishment';
141
141
  export type { GarnishmentChildSupport } from '@gusto/embedded-api/models/components/garnishmentchildsupport';
142
142
  export { PaymentPeriod } from '@gusto/embedded-api/models/components/garnishmentchildsupport';
143
+ export { GeneratedDocumentStatus } from '@gusto/embedded-api/models/components/generateddocument';
143
144
  /** `ChristmasDay` entity from the Gusto Embedded API. */
144
145
  export type { ChristmasDay } from '@gusto/embedded-api/models/components/holidaypaypolicy';
145
146
  /** `ColumbusDay` entity from the Gusto Embedded API. */
@@ -290,6 +291,8 @@ export type { PayScheduleAutoPayrollEnablementBlocker, PayScheduleAutoPayrollEna
290
291
  export { PayScheduleFrequency } from '@gusto/embedded-api/models/components/payschedulefrequency';
291
292
  export type { PaySchedulePreviewPayPeriod } from '@gusto/embedded-api/models/components/payschedulepreviewpayperiod';
292
293
  export type { PayScheduleShow } from '@gusto/embedded-api/models/components/payscheduleshow';
294
+ export type { PrintablePayrollChecksBody } from '@gusto/embedded-api/models/components/printablepayrollchecksbody';
295
+ export { PrintingFormat } from '@gusto/embedded-api/models/components/printablepayrollchecksbody';
293
296
  export type { RecoveryCase } from '@gusto/embedded-api/models/components/recoverycase';
294
297
  export { RecoveryCaseStatus } from '@gusto/embedded-api/models/components/recoverycase';
295
298
  /** `IdentityVerificationStatus` entity from the Gusto Embedded API. */
@@ -1,95 +1,101 @@
1
- import { z as h } from "zod";
2
- function O(e, r) {
1
+ import { z as y } from "zod";
2
+ function I(r, n) {
3
3
  const {
4
- mode: i,
5
- requiredFieldsConfig: u = {},
4
+ mode: s,
5
+ requiredFieldsConfig: d = {},
6
6
  requiredErrorCode: c = "REQUIRED",
7
7
  excludeFields: a = []
8
- } = r, d = typeof a == "function" ? a : void 0, p = new Set((Array.isArray(a) ? a : []).map(String)), m = new Set((r.fieldsWithRedactedValues ?? []).map(String)), R = new Set(
9
- N(r.optionalFieldsToRequire, i)
10
- ), g = {}, f = [], q = [], w = u;
11
- for (const [n, s] of Object.entries(e)) {
12
- if (p.has(n)) continue;
13
- q.push(n);
14
- const t = w[n] ?? "always";
15
- if (g[n] = P(s), !m.has(n)) {
16
- const o = R.has(n);
8
+ } = n, u = typeof a == "function" ? a : void 0, p = new Set((Array.isArray(a) ? a : []).map(String)), m = new Set((n.fieldsWithRedactedValues ?? []).map(String)), R = new Set(
9
+ P(n.optionalFieldsToRequire, s)
10
+ ), g = {}, f = [], q = [], w = d;
11
+ for (const [e, i] of Object.entries(r)) {
12
+ if (p.has(e)) continue;
13
+ q.push(e);
14
+ const t = w[e] ?? "always";
15
+ if (g[e] = j(i), !m.has(e)) {
16
+ const o = R.has(e);
17
17
  typeof t == "function" ? f.push({
18
- name: n,
18
+ name: e,
19
19
  predicate: o ? () => !0 : t
20
- }) : (t === "always" || t === i || o) && f.push({ name: n, predicate: () => !0 });
20
+ }) : (t === "always" || t === s || o) && f.push({ name: e, predicate: () => !0 });
21
21
  }
22
22
  }
23
- const F = f.length > 0 || r.superRefine;
24
- let y = h.object(g);
25
- F && (y = y.superRefine(
26
- (n, s) => {
27
- const t = n, o = d ? new Set(d(t, i).map(String)) : void 0;
28
- for (const { name: l, predicate: E } of f)
29
- o?.has(l) || E(n, i) && S(n[l]) && s.addIssue({
30
- code: h.ZodIssueCode.custom,
23
+ const x = f.length > 0 || n.superRefine, S = y.object(g);
24
+ let h = u ? y.preprocess((e) => {
25
+ if (typeof e != "object" || e === null) return e;
26
+ const i = { ...e };
27
+ for (const t of u(i, s))
28
+ i[t] = void 0;
29
+ return i;
30
+ }, S) : S;
31
+ x && (h = h.superRefine(
32
+ (e, i) => {
33
+ const t = e, o = u ? new Set(u(t, s).map(String)) : void 0;
34
+ for (const { name: l, predicate: N } of f)
35
+ o?.has(l) || N(e, s) && F(e[l]) && i.addIssue({
36
+ code: y.ZodIssueCode.custom,
31
37
  path: [l],
32
38
  message: c
33
39
  });
34
- r.superRefine?.(t, s);
40
+ n.superRefine?.(t, i);
35
41
  }
36
42
  ));
37
- const x = C(f, i);
38
- function b(n) {
39
- const s = {};
43
+ const b = C(f, s);
44
+ function E(e) {
45
+ const i = {};
40
46
  for (const t of q) {
41
47
  const o = w[t] ?? "always";
42
- R.has(t) ? s[t] = { name: t, isRequired: !0 } : typeof o == "function" ? s[t] = { name: t, isRequired: n ? o(n, i) : !1 } : s[t] = {
48
+ R.has(t) ? i[t] = { name: t, isRequired: !0 } : typeof o == "function" ? i[t] = { name: t, isRequired: e ? o(e, s) : !1 } : i[t] = {
43
49
  name: t,
44
- isRequired: o === "always" || o === i
45
- }, m.has(t) && (s[t].hasRedactedValue = !0);
50
+ isRequired: o === "always" || o === s
51
+ }, m.has(t) && (i[t].hasRedactedValue = !0);
46
52
  }
47
- return s;
53
+ return i;
48
54
  }
49
55
  return [
50
- y,
51
- { getFieldsMetadata: b, predicateDeps: x }
56
+ h,
57
+ { getFieldsMetadata: E, predicateDeps: b }
52
58
  ];
53
59
  }
54
- function N(e, r) {
55
- return e ? (r === "create" ? e.create : e.update) ?? [] : [];
60
+ function P(r, n) {
61
+ return r ? (n === "create" ? r.create : r.update) ?? [] : [];
56
62
  }
57
- function P(e) {
58
- return h.preprocess((r) => S(r) ? void 0 : r, e.optional());
63
+ function j(r) {
64
+ return y.preprocess((n) => F(n) ? void 0 : n, r.optional());
59
65
  }
60
- function S(e) {
61
- return !!(e == null || typeof e == "string" && e.trim() === "" || typeof e == "number" && Number.isNaN(e));
66
+ function F(r) {
67
+ return !!(r == null || typeof r == "string" && r.trim() === "" || typeof r == "number" && Number.isNaN(r));
62
68
  }
63
- function C(e, r) {
64
- const i = /* @__PURE__ */ new Set();
65
- for (const { predicate: u } of e) {
66
- if (D(u)) continue;
69
+ function C(r, n) {
70
+ const s = /* @__PURE__ */ new Set();
71
+ for (const { predicate: d } of r) {
72
+ if (D(d)) continue;
67
73
  const c = [], a = new Proxy({}, {
68
- get(d, p) {
74
+ get(u, p) {
69
75
  typeof p == "string" && c.push(p);
70
76
  }
71
77
  });
72
78
  try {
73
- u(a, r);
79
+ d(a, n);
74
80
  } catch {
75
81
  }
76
- for (const d of c) i.add(d);
82
+ for (const u of c) s.add(u);
77
83
  }
78
- return [...i];
84
+ return [...s];
79
85
  }
80
- function D(e) {
81
- const r = [], i = new Proxy({}, {
82
- get(u, c) {
83
- typeof c == "string" && r.push(c);
86
+ function D(r) {
87
+ const n = [], s = new Proxy({}, {
88
+ get(d, c) {
89
+ typeof c == "string" && n.push(c);
84
90
  }
85
91
  });
86
92
  try {
87
- e(i, "create");
93
+ r(s, "create");
88
94
  } catch {
89
95
  }
90
- return r.length === 0;
96
+ return n.length === 0;
91
97
  }
92
98
  export {
93
- O as buildFormSchema
99
+ I as buildFormSchema
94
100
  };
95
101
  //# sourceMappingURL=buildFormSchema.js.map