@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.
- package/CHANGELOG.md +36 -0
- package/dist/components/Common/FieldLayout/FieldLayout.js +6 -6
- package/dist/components/Common/Fieldset/Fieldset.js +6 -6
- package/dist/components/Common/HorizontalFieldLayout/HorizontalFieldLayout.js +6 -6
- package/dist/components/Common/UI/Breadcrumbs/Breadcrumbs.js +1 -1
- package/dist/components/Common/UI/FileInput/FileInput.js +1 -1
- package/dist/components/Common/UI/MultiSelectComboBox/MultiSelectComboBox.js +58 -49
- package/dist/components/Common/UI/MultiSelectComboBox/MultiSelectComboBox.js.map +1 -1
- package/dist/components/Common/UI/MultiSelectComboBox/MultiSelectComboBox.module.scss.js +14 -10
- package/dist/components/Common/UI/MultiSelectComboBox/MultiSelectComboBox.module.scss.js.map +1 -1
- package/dist/components/Common/UI/MultiSelectComboBox/MultiSelectComboBoxTypes.d.ts +4 -0
- package/dist/components/Common/UI/ProgressBar/ProgressBar.js +4 -4
- package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js +6 -3
- package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js.map +1 -1
- package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js +6 -3
- package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js.map +1 -1
- package/dist/components/Company/AssignSignatory/useAssignSignatory.js +8 -5
- package/dist/components/Company/AssignSignatory/useAssignSignatory.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountForm/context.js +6 -3
- package/dist/components/Company/BankAccount/BankAccountForm/context.js.map +1 -1
- package/dist/components/Company/DocumentSigner/DocumentList/DocumentList.d.ts +4 -0
- package/dist/components/Company/DocumentSigner/DocumentList/DocumentList.js.map +1 -1
- package/dist/components/Company/DocumentSigner/DocumentList/List.js +11 -8
- package/dist/components/Company/DocumentSigner/DocumentList/List.js.map +1 -1
- package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.js +6 -3
- package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.js.map +1 -1
- package/dist/components/Company/FederalTaxes/useFederalTaxes.js +11 -8
- package/dist/components/Company/FederalTaxes/useFederalTaxes.js.map +1 -1
- package/dist/components/Company/Industry/Context.js +9 -6
- package/dist/components/Company/Industry/Context.js.map +1 -1
- package/dist/components/Company/Locations/LocationForm/useLocationForm.js +6 -3
- package/dist/components/Company/Locations/LocationForm/useLocationForm.js.map +1 -1
- package/dist/components/Company/Locations/LocationsList/useLocationsList.js +6 -3
- package/dist/components/Company/Locations/LocationsList/useLocationsList.js.map +1 -1
- package/dist/components/Company/OnboardingOverview/context.js +6 -3
- package/dist/components/Company/OnboardingOverview/context.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesForm/context.js +6 -3
- package/dist/components/Company/StateTaxes/StateTaxesForm/context.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesList/context.js +6 -3
- package/dist/components/Company/StateTaxes/StateTaxesList/context.js.map +1 -1
- package/dist/components/Company/StateTaxes/TaxRateManagement/context.js +6 -3
- package/dist/components/Company/StateTaxes/TaxRateManagement/context.js.map +1 -1
- package/dist/components/Employee/Compensation/shared/useJobForm/useJobForm.js +116 -116
- package/dist/components/Employee/Compensation/shared/useJobForm/useJobForm.js.map +1 -1
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/DocumentList.d.ts +4 -0
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/DocumentList.js +19 -19
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/DocumentList.js.map +1 -1
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/List.js +16 -13
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/List.js.map +1 -1
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/useDocumentList.js +6 -3
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/useDocumentList.js.map +1 -1
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentSigner.d.ts +4 -0
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentSigner.js.map +1 -1
- package/dist/components/Employee/FederalTaxes/shared/FederalTaxesView.js +1 -1
- package/dist/components/Employee/PaymentMethod/management/PaymentMethodBankForm.js +4 -4
- package/dist/components/Employee/PaymentMethod/onboarding/BankForm.js +4 -4
- package/dist/components/Flow/Flow.js +1 -1
- package/dist/components/Payroll/GrossUpModal/GrossUpModal.js +3 -2
- package/dist/components/Payroll/GrossUpModal/GrossUpModal.js.map +1 -1
- package/dist/components/Payroll/OffCycleCreation/OffCycleCreation.js +75 -71
- package/dist/components/Payroll/OffCycleCreation/OffCycleCreation.js.map +1 -1
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.d.ts +7 -0
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.js +202 -165
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.js.map +1 -1
- package/dist/components/Payroll/PayrollConfiguration/usePayrollConfigurationData.d.ts +1 -0
- package/dist/components/Payroll/PayrollConfiguration/usePayrollConfigurationData.js +88 -82
- package/dist/components/Payroll/PayrollConfiguration/usePayrollConfigurationData.js.map +1 -1
- package/dist/components/Payroll/PayrollExecutionFlow/PayrollExecutionFlow.d.ts +1 -0
- package/dist/components/Payroll/PayrollExecutionFlow/PayrollExecutionFlow.js.map +1 -1
- package/dist/components/Payroll/PayrollExecutionFlow/payrollExecutionMachine.js +73 -48
- package/dist/components/Payroll/PayrollExecutionFlow/payrollExecutionMachine.js.map +1 -1
- package/dist/components/Payroll/PayrollFlow/PayrollFlow.d.ts +1 -1
- package/dist/components/Payroll/PayrollFlow/PayrollFlow.js +22 -20
- package/dist/components/Payroll/PayrollFlow/PayrollFlow.js.map +1 -1
- package/dist/components/Payroll/PayrollFlow/PayrollFlowComponents.d.ts +3 -0
- package/dist/components/Payroll/PayrollFlow/PayrollFlowComponents.js +22 -20
- package/dist/components/Payroll/PayrollFlow/PayrollFlowComponents.js.map +1 -1
- package/dist/components/Payroll/PayrollLanding/PayrollLanding.d.ts +2 -0
- package/dist/components/Payroll/PayrollLanding/PayrollLanding.js +34 -26
- package/dist/components/Payroll/PayrollLanding/PayrollLanding.js.map +1 -1
- package/dist/components/Payroll/PayrollLanding/PayrollLandingFlowComponents.d.ts +4 -0
- package/dist/components/Payroll/PayrollLanding/PayrollLandingFlowComponents.js +51 -43
- package/dist/components/Payroll/PayrollLanding/PayrollLandingFlowComponents.js.map +1 -1
- package/dist/components/Payroll/PayrollList/PayrollList.d.ts +2 -0
- package/dist/components/Payroll/PayrollList/PayrollList.js +48 -47
- package/dist/components/Payroll/PayrollList/PayrollList.js.map +1 -1
- package/dist/components/Payroll/PayrollList/PayrollListPresentation.d.ts +2 -1
- package/dist/components/Payroll/PayrollList/PayrollListPresentation.js +44 -43
- package/dist/components/Payroll/PayrollList/PayrollListPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollOverview/PayrollOverview.d.ts +15 -1
- package/dist/components/Payroll/PayrollOverview/PayrollOverview.js +188 -172
- package/dist/components/Payroll/PayrollOverview/PayrollOverview.js.map +1 -1
- package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.d.ts +3 -1
- package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js +110 -118
- package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollReceipts/PayrollReceipts.js +22 -16
- package/dist/components/Payroll/PayrollReceipts/PayrollReceipts.js.map +1 -1
- package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.js +58 -49
- package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.js.map +1 -1
- package/dist/components/Payroll/PrintChecks/PrintChecks.d.ts +21 -0
- package/dist/components/Payroll/PrintChecks/PrintChecks.js +68 -0
- package/dist/components/Payroll/PrintChecks/PrintChecks.js.map +1 -0
- package/dist/components/Payroll/PrintChecks/PrintChecksBanner/PrintChecksBanner.d.ts +9 -0
- package/dist/components/Payroll/PrintChecks/PrintChecksBanner/PrintChecksBanner.js +34 -0
- package/dist/components/Payroll/PrintChecks/PrintChecksBanner/PrintChecksBanner.js.map +1 -0
- package/dist/components/Payroll/PrintChecks/PrintChecksBanner/index.d.ts +1 -0
- package/dist/components/Payroll/PrintChecks/PrintChecksComponents.d.ts +48 -0
- package/dist/components/Payroll/PrintChecks/PrintChecksComponents.js +26 -0
- package/dist/components/Payroll/PrintChecks/PrintChecksComponents.js.map +1 -0
- package/dist/components/Payroll/PrintChecks/PrintChecksFailure/PrintChecksFailure.d.ts +14 -0
- package/dist/components/Payroll/PrintChecks/PrintChecksFailure/PrintChecksFailure.js +47 -0
- package/dist/components/Payroll/PrintChecks/PrintChecksFailure/PrintChecksFailure.js.map +1 -0
- package/dist/components/Payroll/PrintChecks/PrintChecksFailure/index.d.ts +1 -0
- package/dist/components/Payroll/PrintChecks/PrintChecksForm/PrintChecksForm.d.ts +16 -0
- package/dist/components/Payroll/PrintChecks/PrintChecksForm/PrintChecksForm.js +144 -0
- package/dist/components/Payroll/PrintChecks/PrintChecksForm/PrintChecksForm.js.map +1 -0
- package/dist/components/Payroll/PrintChecks/PrintChecksForm/index.d.ts +1 -0
- package/dist/components/Payroll/PrintChecks/PrintChecksSummary/PrintChecksSummary.d.ts +14 -0
- package/dist/components/Payroll/PrintChecks/PrintChecksSummary/PrintChecksSummary.js +39 -0
- package/dist/components/Payroll/PrintChecks/PrintChecksSummary/PrintChecksSummary.js.map +1 -0
- package/dist/components/Payroll/PrintChecks/PrintChecksSummary/index.d.ts +1 -0
- package/dist/components/Payroll/PrintChecks/index.d.ts +2 -0
- package/dist/components/Payroll/PrintChecks/printChecksStateMachine.d.ts +33 -0
- package/dist/components/Payroll/PrintChecks/printChecksStateMachine.js +93 -0
- package/dist/components/Payroll/PrintChecks/printChecksStateMachine.js.map +1 -0
- package/dist/components/Payroll/PrintChecks/types.d.ts +14 -0
- package/dist/components/Payroll/helpers.d.ts +0 -15
- package/dist/components/Payroll/helpers.js +13 -18
- package/dist/components/Payroll/helpers.js.map +1 -1
- package/dist/components/Payroll/index.d.ts +2 -0
- package/dist/components/Payroll/index.js +26 -24
- package/dist/components/Payroll/index.js.map +1 -1
- package/dist/components/Payroll/usePreparedPayrollData.js +15 -12
- package/dist/components/Payroll/usePreparedPayrollData.js.map +1 -1
- package/dist/i18n/I18n.js +4 -0
- package/dist/i18n/I18n.js.map +1 -1
- package/dist/i18n/en/Company.DocumentList.json.js +34 -32
- package/dist/i18n/en/Company.DocumentList.json.js.map +1 -1
- package/dist/i18n/en/Employee.DocumentSigner.json.js +24 -22
- package/dist/i18n/en/Employee.DocumentSigner.json.js.map +1 -1
- package/dist/i18n/en/Payroll.PayrollConfiguration.json.js +9 -9
- package/dist/i18n/en/Payroll.PayrollOverview.json.js +36 -36
- package/dist/i18n/en/Payroll.PayrollReceipts.json.js +2 -2
- package/dist/i18n/en/Payroll.PrintChecksBanner.json.js +14 -0
- package/dist/i18n/en/Payroll.PrintChecksBanner.json.js.map +1 -0
- package/dist/i18n/en/Payroll.PrintChecksFailure.json.js +12 -0
- package/dist/i18n/en/Payroll.PrintChecksFailure.json.js.map +1 -0
- package/dist/i18n/en/Payroll.PrintChecksForm.json.js +28 -0
- package/dist/i18n/en/Payroll.PrintChecksForm.json.js.map +1 -0
- package/dist/i18n/en/Payroll.PrintChecksSummary.json.js +14 -0
- package/dist/i18n/en/Payroll.PrintChecksSummary.json.js.map +1 -0
- package/dist/i18n/types.d.ts +376 -8
- package/dist/models/external.d.ts +3 -0
- package/dist/partner-hook-utils/form/buildFormSchema.js +60 -54
- package/dist/partner-hook-utils/form/buildFormSchema.js.map +1 -1
- package/dist/shared/constants.d.ts +28 -0
- package/dist/shared/constants.js +61 -50
- package/dist/shared/constants.js.map +1 -1
- package/dist/style.css +1 -1
- package/docs/guides/endpoint-inventory.json +26 -0
- package/package.json +6 -6
package/dist/i18n/types.d.ts
CHANGED
|
@@ -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
|
|
2
|
-
function
|
|
1
|
+
import { z as y } from "zod";
|
|
2
|
+
function I(r, n) {
|
|
3
3
|
const {
|
|
4
|
-
mode:
|
|
5
|
-
requiredFieldsConfig:
|
|
4
|
+
mode: s,
|
|
5
|
+
requiredFieldsConfig: d = {},
|
|
6
6
|
requiredErrorCode: c = "REQUIRED",
|
|
7
7
|
excludeFields: a = []
|
|
8
|
-
} =
|
|
9
|
-
|
|
10
|
-
), g = {}, f = [], q = [], w =
|
|
11
|
-
for (const [
|
|
12
|
-
if (p.has(
|
|
13
|
-
q.push(
|
|
14
|
-
const t = w[
|
|
15
|
-
if (g[
|
|
16
|
-
const o = R.has(
|
|
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:
|
|
18
|
+
name: e,
|
|
19
19
|
predicate: o ? () => !0 : t
|
|
20
|
-
}) : (t === "always" || t ===
|
|
20
|
+
}) : (t === "always" || t === s || o) && f.push({ name: e, predicate: () => !0 });
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
|
-
const
|
|
24
|
-
let
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
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
|
-
|
|
40
|
+
n.superRefine?.(t, i);
|
|
35
41
|
}
|
|
36
42
|
));
|
|
37
|
-
const
|
|
38
|
-
function
|
|
39
|
-
const
|
|
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) ?
|
|
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 ===
|
|
45
|
-
}, m.has(t) && (
|
|
50
|
+
isRequired: o === "always" || o === s
|
|
51
|
+
}, m.has(t) && (i[t].hasRedactedValue = !0);
|
|
46
52
|
}
|
|
47
|
-
return
|
|
53
|
+
return i;
|
|
48
54
|
}
|
|
49
55
|
return [
|
|
50
|
-
|
|
51
|
-
{ getFieldsMetadata:
|
|
56
|
+
h,
|
|
57
|
+
{ getFieldsMetadata: E, predicateDeps: b }
|
|
52
58
|
];
|
|
53
59
|
}
|
|
54
|
-
function
|
|
55
|
-
return
|
|
60
|
+
function P(r, n) {
|
|
61
|
+
return r ? (n === "create" ? r.create : r.update) ?? [] : [];
|
|
56
62
|
}
|
|
57
|
-
function
|
|
58
|
-
return
|
|
63
|
+
function j(r) {
|
|
64
|
+
return y.preprocess((n) => F(n) ? void 0 : n, r.optional());
|
|
59
65
|
}
|
|
60
|
-
function
|
|
61
|
-
return !!(
|
|
66
|
+
function F(r) {
|
|
67
|
+
return !!(r == null || typeof r == "string" && r.trim() === "" || typeof r == "number" && Number.isNaN(r));
|
|
62
68
|
}
|
|
63
|
-
function C(
|
|
64
|
-
const
|
|
65
|
-
for (const { predicate:
|
|
66
|
-
if (D(
|
|
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(
|
|
74
|
+
get(u, p) {
|
|
69
75
|
typeof p == "string" && c.push(p);
|
|
70
76
|
}
|
|
71
77
|
});
|
|
72
78
|
try {
|
|
73
|
-
|
|
79
|
+
d(a, n);
|
|
74
80
|
} catch {
|
|
75
81
|
}
|
|
76
|
-
for (const
|
|
82
|
+
for (const u of c) s.add(u);
|
|
77
83
|
}
|
|
78
|
-
return [...
|
|
84
|
+
return [...s];
|
|
79
85
|
}
|
|
80
|
-
function D(
|
|
81
|
-
const
|
|
82
|
-
get(
|
|
83
|
-
typeof c == "string" &&
|
|
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
|
-
|
|
93
|
+
r(s, "create");
|
|
88
94
|
} catch {
|
|
89
95
|
}
|
|
90
|
-
return
|
|
96
|
+
return n.length === 0;
|
|
91
97
|
}
|
|
92
98
|
export {
|
|
93
|
-
|
|
99
|
+
I as buildFormSchema
|
|
94
100
|
};
|
|
95
101
|
//# sourceMappingURL=buildFormSchema.js.map
|