@gusto/embedded-react-sdk 0.57.1 → 0.57.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 +33 -0
- package/dist/components/Base/Base.js +2 -3
- package/dist/components/Base/Base.js.map +1 -1
- package/dist/components/Common/DateRangeFilter/DateRangeFilter.js +32 -32
- package/dist/components/Common/DateRangeFilter/DateRangeFilter.js.map +1 -1
- package/dist/components/Common/OnboardingStatusBadge/index.js.map +1 -1
- package/dist/components/Company/AssignSignatory/AssignSignatorySelection.js +6 -8
- package/dist/components/Company/AssignSignatory/AssignSignatorySelection.js.map +1 -1
- package/dist/components/Company/AssignSignatory/CreateSignatory/Actions.js +8 -10
- package/dist/components/Company/AssignSignatory/CreateSignatory/Actions.js.map +1 -1
- package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js +3 -6
- package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js.map +1 -1
- package/dist/components/Company/AssignSignatory/InviteSignatory/Actions.js +6 -8
- package/dist/components/Company/AssignSignatory/InviteSignatory/Actions.js.map +1 -1
- package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js +3 -6
- package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js.map +1 -1
- package/dist/components/Company/AssignSignatory/TitleSelect.js +10 -11
- package/dist/components/Company/AssignSignatory/TitleSelect.js.map +1 -1
- package/dist/components/Company/AssignSignatory/useAssignSignatory.js +5 -8
- package/dist/components/Company/AssignSignatory/useAssignSignatory.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountForm/Actions.js +8 -9
- package/dist/components/Company/BankAccount/BankAccountForm/Actions.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountForm/context.js +3 -6
- package/dist/components/Company/BankAccount/BankAccountForm/context.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountList/Actions.js +10 -12
- package/dist/components/Company/BankAccount/BankAccountList/Actions.js.map +1 -1
- package/dist/components/Company/BankAccount/BankAccountVerify/Actions.js +11 -13
- package/dist/components/Company/BankAccount/BankAccountVerify/Actions.js.map +1 -1
- package/dist/components/Company/DocumentSigner/DocumentList/Actions.js +5 -7
- package/dist/components/Company/DocumentSigner/DocumentList/Actions.js.map +1 -1
- package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.js +3 -6
- package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.js.map +1 -1
- package/dist/components/Company/FederalTaxes/Actions.js +7 -9
- package/dist/components/Company/FederalTaxes/Actions.js.map +1 -1
- package/dist/components/Company/FederalTaxes/useFederalTaxes.js +8 -11
- package/dist/components/Company/FederalTaxes/useFederalTaxes.js.map +1 -1
- package/dist/components/Company/Industry/Actions.js +5 -7
- package/dist/components/Company/Industry/Actions.js.map +1 -1
- package/dist/components/Company/Industry/Context.js +6 -9
- package/dist/components/Company/Industry/Context.js.map +1 -1
- package/dist/components/Company/Industry/Edit.js +10 -12
- package/dist/components/Company/Industry/Edit.js.map +1 -1
- package/dist/components/Company/Locations/LocationForm/Actions.js +8 -10
- package/dist/components/Company/Locations/LocationForm/Actions.js.map +1 -1
- package/dist/components/Company/Locations/LocationForm/useLocationForm.js +3 -6
- package/dist/components/Company/Locations/LocationForm/useLocationForm.js.map +1 -1
- package/dist/components/Company/Locations/LocationsList/Actions.js +6 -8
- package/dist/components/Company/Locations/LocationsList/Actions.js.map +1 -1
- package/dist/components/Company/Locations/LocationsList/List.js +11 -13
- package/dist/components/Company/Locations/LocationsList/List.js.map +1 -1
- package/dist/components/Company/Locations/LocationsList/useLocationsList.js +3 -6
- package/dist/components/Company/Locations/LocationsList/useLocationsList.js.map +1 -1
- package/dist/components/Company/OnboardingOverview/context.js +3 -6
- package/dist/components/Company/OnboardingOverview/context.js.map +1 -1
- package/dist/components/Company/PaySchedule/PayScheduleForm.js +66 -62
- package/dist/components/Company/PaySchedule/PayScheduleForm.js.map +1 -1
- package/dist/components/Company/PaySchedule/PayScheduleForm.module.scss.js +2 -2
- package/dist/components/Company/PaySchedule/management/AutoPilotDialog/AutoPilotDialog.js.map +1 -1
- package/dist/components/Company/PaySchedule/management/AutoPilotDialog/useAutoPilotDialog.js.map +1 -1
- package/dist/components/Company/PaySchedule/management/PayScheduleAssignment/AssignmentCompensationStepPresentation.js +34 -14
- package/dist/components/Company/PaySchedule/management/PayScheduleAssignment/AssignmentCompensationStepPresentation.js.map +1 -1
- package/dist/components/Company/PaySchedule/management/PayScheduleAssignment/AssignmentDepartmentStepPresentation.js +106 -0
- package/dist/components/Company/PaySchedule/management/PayScheduleAssignment/AssignmentDepartmentStepPresentation.js.map +1 -0
- package/dist/components/Company/PaySchedule/management/PayScheduleAssignment/AssignmentEmployeeStepPresentation.js +136 -0
- package/dist/components/Company/PaySchedule/management/PayScheduleAssignment/AssignmentEmployeeStepPresentation.js.map +1 -0
- package/dist/components/Company/PaySchedule/management/PayScheduleAssignment/AssignmentScheduleStepPresentation.js +38 -20
- package/dist/components/Company/PaySchedule/management/PayScheduleAssignment/AssignmentScheduleStepPresentation.js.map +1 -1
- package/dist/components/Company/PaySchedule/management/PayScheduleAssignment/AssignmentTypeStepPresentation.js +78 -44
- package/dist/components/Company/PaySchedule/management/PayScheduleAssignment/AssignmentTypeStepPresentation.js.map +1 -1
- package/dist/components/Company/PaySchedule/management/PayScheduleAssignment/PayScheduleAssignment.js +45 -37
- package/dist/components/Company/PaySchedule/management/PayScheduleAssignment/PayScheduleAssignment.js.map +1 -1
- package/dist/components/Company/PaySchedule/management/PayScheduleAssignment/PayScheduleAssignmentComponents.js +253 -92
- package/dist/components/Company/PaySchedule/management/PayScheduleAssignment/PayScheduleAssignmentComponents.js.map +1 -1
- package/dist/components/Company/PaySchedule/management/PayScheduleAssignment/departmentAccess.js +22 -0
- package/dist/components/Company/PaySchedule/management/PayScheduleAssignment/departmentAccess.js.map +1 -0
- package/dist/components/Company/PaySchedule/management/PayScheduleAssignment/employeeJob.js +13 -0
- package/dist/components/Company/PaySchedule/management/PayScheduleAssignment/employeeJob.js.map +1 -0
- package/dist/components/Company/PaySchedule/management/PayScheduleAssignment/payScheduleAssignmentStateMachine.js +48 -43
- package/dist/components/Company/PaySchedule/management/PayScheduleAssignment/payScheduleAssignmentStateMachine.js.map +1 -1
- package/dist/components/Company/PaySchedule/management/PayScheduleAssignment/scheduleLabel.js.map +1 -1
- package/dist/components/Company/PaySchedule/management/PayScheduleAssignment/useAssignableEmployees.js +57 -0
- package/dist/components/Company/PaySchedule/management/PayScheduleAssignment/useAssignableEmployees.js.map +1 -0
- package/dist/components/Company/PaySchedule/management/PayScheduleCompensationOverviewPresentation.js +11 -13
- package/dist/components/Company/PaySchedule/management/PayScheduleCompensationOverviewPresentation.js.map +1 -1
- package/dist/components/Company/PaySchedule/management/PayScheduleDepartmentOverviewPresentation.js +83 -0
- package/dist/components/Company/PaySchedule/management/PayScheduleDepartmentOverviewPresentation.js.map +1 -0
- package/dist/components/Company/PaySchedule/management/PayScheduleEmployeeOverviewPresentation.js +84 -0
- package/dist/components/Company/PaySchedule/management/PayScheduleEmployeeOverviewPresentation.js.map +1 -0
- package/dist/components/Company/PaySchedule/management/PayScheduleManagementComponents.js +49 -44
- package/dist/components/Company/PaySchedule/management/PayScheduleManagementComponents.js.map +1 -1
- package/dist/components/Company/PaySchedule/management/PayScheduleOverview.js +109 -39
- package/dist/components/Company/PaySchedule/management/PayScheduleOverview.js.map +1 -1
- package/dist/components/Company/PaySchedule/management/PayScheduleOverviewPresentation.js.map +1 -1
- package/dist/components/Company/PaySchedule/management/payScheduleManagementStateMachine.js.map +1 -1
- package/dist/components/Company/PaySchedule/shared/usePayScheduleForm/usePayScheduleForm.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesForm/Actions.js +5 -7
- package/dist/components/Company/StateTaxes/StateTaxesForm/Actions.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesForm/context.js +3 -6
- package/dist/components/Company/StateTaxes/StateTaxesForm/context.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesList/Actions.js +6 -8
- package/dist/components/Company/StateTaxes/StateTaxesList/Actions.js.map +1 -1
- package/dist/components/Company/StateTaxes/StateTaxesList/context.js +3 -6
- package/dist/components/Company/StateTaxes/StateTaxesList/context.js.map +1 -1
- package/dist/components/Company/StateTaxes/TaxRateManagement/context.js +3 -6
- package/dist/components/Company/StateTaxes/TaxRateManagement/context.js.map +1 -1
- package/dist/components/Contractor/Address/shared/useContractorAddressForm/useContractorAddressForm.js +5 -5
- package/dist/components/Contractor/Address/shared/useContractorAddressForm/useContractorAddressForm.js.map +1 -1
- package/dist/components/Contractor/Address/shared/useContractorAddressSummary/useContractorAddressSummary.js +1 -1
- package/dist/components/Contractor/Address/shared/useContractorAddressSummary/useContractorAddressSummary.js.map +1 -1
- package/dist/components/Contractor/Compensation/management/CompensationCard/CompensationCard.js +16 -17
- package/dist/components/Contractor/Compensation/management/CompensationCard/CompensationCard.js.map +1 -1
- package/dist/components/Contractor/Compensation/shared/useContractorCompensationSummary/useContractorCompensationSummary.js +4 -4
- package/dist/components/Contractor/Compensation/shared/useContractorCompensationSummary/useContractorCompensationSummary.js.map +1 -1
- package/dist/components/Contractor/Compensation/shared/useContractorPayForm/useContractorPayForm.js +3 -3
- package/dist/components/Contractor/Compensation/shared/useContractorPayForm/useContractorPayForm.js.map +1 -1
- package/dist/components/Contractor/ContractorList/shared/useContractorList.js +6 -6
- package/dist/components/Contractor/ContractorList/shared/useContractorList.js.map +1 -1
- package/dist/components/Contractor/Dashboard/Dashboard.js +20 -20
- package/dist/components/Contractor/Dashboard/Dashboard.js.map +1 -1
- package/dist/components/Contractor/Dismissal/useDismissal/useDismissal.js +10 -10
- package/dist/components/Contractor/Dismissal/useDismissal/useDismissal.js.map +1 -1
- package/dist/components/Contractor/Documents/management/DocumentsCard/DocumentsCard.js +8 -9
- package/dist/components/Contractor/Documents/management/DocumentsCard/DocumentsCard.js.map +1 -1
- package/dist/components/Contractor/Landing/Landing.js +43 -39
- package/dist/components/Contractor/Landing/Landing.js.map +1 -1
- package/dist/components/Contractor/NewHireReport/NewHireReport.js +3 -3
- package/dist/components/Contractor/NewHireReport/NewHireReport.js.map +1 -1
- package/dist/components/Contractor/PaymentMethod/shared/ContractorBankAccountFormBody/ContractorBankAccountFormBody.js +6 -8
- package/dist/components/Contractor/PaymentMethod/shared/ContractorBankAccountFormBody/ContractorBankAccountFormBody.js.map +1 -1
- package/dist/components/Contractor/Payments/CreateHistoricalPayment/CreateHistoricalPayment.js +1 -1
- package/dist/components/Contractor/Payments/CreateHistoricalPayment/CreateHistoricalPayment.js.map +1 -1
- package/dist/components/Contractor/Payments/CreatePayment/CreatePayment.js +10 -10
- package/dist/components/Contractor/Payments/CreatePayment/CreatePayment.js.map +1 -1
- package/dist/components/Contractor/Payments/HistoricalPaymentSummary/HistoricalPaymentSummary.js +4 -4
- package/dist/components/Contractor/Payments/HistoricalPaymentSummary/HistoricalPaymentSummary.js.map +1 -1
- package/dist/components/Contractor/Payments/PaymentHistory/PaymentHistory.js +8 -8
- package/dist/components/Contractor/Payments/PaymentHistory/PaymentHistory.js.map +1 -1
- package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatement.js +5 -5
- package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatement.js.map +1 -1
- package/dist/components/Contractor/Payments/PaymentSummary/PaymentSummary.js +3 -3
- package/dist/components/Contractor/Payments/PaymentSummary/PaymentSummary.js.map +1 -1
- package/dist/components/Contractor/Profile/management/ProfileCard/ProfileCard.js +26 -27
- package/dist/components/Contractor/Profile/management/ProfileCard/ProfileCard.js.map +1 -1
- package/dist/components/Contractor/Profile/management/ProfileEditForm.js +11 -11
- package/dist/components/Contractor/Profile/onboarding/SelfOnboardingContractorProfile.js +1 -1
- package/dist/components/Contractor/Profile/onboarding/SelfOnboardingContractorProfile.js.map +1 -1
- package/dist/components/Contractor/Profile/shared/useContractorDetailsForm/useContractorDetailsForm.js +1 -1
- package/dist/components/Contractor/Profile/shared/useContractorDetailsForm/useContractorDetailsForm.js.map +1 -1
- package/dist/components/Contractor/Profile/shared/useContractorProfileSummary/useContractorProfileSummary.js +1 -1
- package/dist/components/Contractor/Profile/shared/useContractorProfileSummary/useContractorProfileSummary.js.map +1 -1
- package/dist/components/Contractor/SelfOnboardingFlow/SelfOnboardingComponents.js +2 -9
- package/dist/components/Contractor/SelfOnboardingFlow/SelfOnboardingComponents.js.map +1 -1
- package/dist/components/Contractor/Submit/Submit.js +18 -18
- package/dist/components/Contractor/Submit/Submit.js.map +1 -1
- package/dist/components/Contractor/shared/SelectContractors/useSelectContractors.js +6 -6
- package/dist/components/Contractor/shared/SelectContractors/useSelectContractors.js.map +1 -1
- package/dist/components/Employee/Compensation/shared/useCompensationForm/useCompensationForm.js +25 -25
- package/dist/components/Employee/Compensation/shared/useCompensationForm/useCompensationForm.js.map +1 -1
- package/dist/components/Employee/Compensation/shared/useCompensationManagement/useCompensationManagement.js +15 -15
- package/dist/components/Employee/Compensation/shared/useCompensationManagement/useCompensationManagement.js.map +1 -1
- package/dist/components/Employee/Compensation/shared/useJobForm/useJobForm.js +1 -1
- package/dist/components/Employee/Compensation/shared/useJobForm/useJobForm.js.map +1 -1
- package/dist/components/Employee/Dashboard/Dashboard.js +25 -25
- package/dist/components/Employee/Dashboard/Dashboard.js.map +1 -1
- package/dist/components/Employee/Deductions/management/DeductionsCard/DeductionsCard.js +12 -13
- package/dist/components/Employee/Deductions/management/DeductionsCard/DeductionsCard.js.map +1 -1
- package/dist/components/Employee/Documents/management/DocumentsCard/DocumentsCard.js +12 -13
- package/dist/components/Employee/Documents/management/DocumentsCard/DocumentsCard.js.map +1 -1
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/Actions.js +6 -8
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/Actions.js.map +1 -1
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/useDocumentList.js +3 -6
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/useDocumentList.js.map +1 -1
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentSigner.js +7 -7
- package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentSigner.js.map +1 -1
- package/dist/components/Employee/Documents/onboarding/EmployeeDocuments/EmployeeDocuments.js +1 -1
- package/dist/components/Employee/Documents/onboarding/EmployeeDocuments/EmployeeDocuments.js.map +1 -1
- package/dist/components/Employee/FederalTaxes/management/FederalTaxesEditForm.js +3 -4
- package/dist/components/Employee/FederalTaxes/management/FederalTaxesEditForm.js.map +1 -1
- package/dist/components/Employee/FederalTaxes/onboarding/FederalTaxes.js +3 -4
- package/dist/components/Employee/FederalTaxes/onboarding/FederalTaxes.js.map +1 -1
- package/dist/components/Employee/HomeAddress/management/useHomeAddressManagement.js +6 -6
- package/dist/components/Employee/HomeAddress/management/useHomeAddressManagement.js.map +1 -1
- package/dist/components/Employee/Landing/Landing.js +37 -33
- package/dist/components/Employee/Landing/Landing.js.map +1 -1
- package/dist/components/Employee/OnboardingSummary/OnboardingSummary.js +27 -27
- package/dist/components/Employee/OnboardingSummary/OnboardingSummary.js.map +1 -1
- package/dist/components/Employee/PaymentMethod/shared/BankFormBody/BankFormBody.js +22 -24
- package/dist/components/Employee/PaymentMethod/shared/BankFormBody/BankFormBody.js.map +1 -1
- package/dist/components/Employee/Paystubs/management/PaystubsCard/PaystubsCard.js +8 -9
- package/dist/components/Employee/Paystubs/management/PaystubsCard/PaystubsCard.js.map +1 -1
- package/dist/components/Employee/Profile/management/ProfileCard/ProfileCard.js +14 -15
- package/dist/components/Employee/Profile/management/ProfileCard/ProfileCard.js.map +1 -1
- package/dist/components/Employee/Profile/management/ProfileEditForm.js +1 -1
- package/dist/components/Employee/Profile/onboarding/EmployeeProfile.js +1 -1
- package/dist/components/Employee/Profile/shared/useEmployeeDetailsForm/useEmployeeDetailsForm.js +6 -6
- package/dist/components/Employee/Profile/shared/useEmployeeDetailsForm/useEmployeeDetailsForm.js.map +1 -1
- package/dist/components/Employee/Profile/shared/useEmployeeProfileSummary/useEmployeeProfileSummary.js +1 -1
- package/dist/components/Employee/Profile/shared/useEmployeeProfileSummary/useEmployeeProfileSummary.js.map +1 -1
- package/dist/components/Employee/SelfOnboardingFlow/SelfOnboardingComponents.js +8 -15
- package/dist/components/Employee/SelfOnboardingFlow/SelfOnboardingComponents.js.map +1 -1
- package/dist/components/Employee/StateTaxes/management/StateTaxesEditForm.js +7 -8
- package/dist/components/Employee/StateTaxes/management/StateTaxesEditForm.js.map +1 -1
- package/dist/components/Employee/StateTaxes/onboarding/StateTaxes.js +7 -8
- package/dist/components/Employee/StateTaxes/onboarding/StateTaxes.js.map +1 -1
- package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployee.js +11 -11
- package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployee.js.map +1 -1
- package/dist/components/Employee/Terminations/TerminationSummary/TerminationSummary.js +12 -12
- package/dist/components/Employee/Terminations/TerminationSummary/TerminationSummary.js.map +1 -1
- package/dist/components/Employee/WorkAddress/management/useWorkAddressManagement.js +26 -26
- package/dist/components/Employee/WorkAddress/management/useWorkAddressManagement.js.map +1 -1
- package/dist/components/Payroll/OffCycleCreation/OffCycleCreation.js +56 -54
- package/dist/components/Payroll/OffCycleCreation/OffCycleCreation.js.map +1 -1
- package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormPresentation.js +14 -16
- package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormPresentation.js.map +1 -1
- package/dist/components/Payroll/OffCycleReasonSelection/OffCycleReasonSelectionPresentation.js +6 -8
- package/dist/components/Payroll/OffCycleReasonSelection/OffCycleReasonSelectionPresentation.js.map +1 -1
- package/dist/components/Payroll/OffCycleTaxWithholdingModal/OffCycleTaxWithholdingModal.js +9 -11
- package/dist/components/Payroll/OffCycleTaxWithholdingModal/OffCycleTaxWithholdingModal.js.map +1 -1
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.js +66 -64
- package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollConfiguration/usePayrollConfigurationData.js +1 -1
- package/dist/components/Payroll/PayrollConfiguration/usePayrollConfigurationData.js.map +1 -1
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployee.js +6 -6
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployee.js.map +1 -1
- package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/usePayrollEditEmployeeForm.js +1 -1
- package/dist/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/usePayrollEditEmployeeForm.js.map +1 -1
- package/dist/components/Payroll/PayrollHistory/PayrollHistory.js.map +1 -1
- package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.js +75 -89
- package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollList/PayrollList.js.map +1 -1
- package/dist/components/Payroll/PayrollList/PayrollListPresentation.js +9 -9
- package/dist/components/Payroll/PayrollList/PayrollListPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js +44 -46
- package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js.map +1 -1
- package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.js.map +1 -1
- package/dist/components/Payroll/TransitionCreation/TransitionCreation.js +63 -61
- package/dist/components/Payroll/TransitionCreation/TransitionCreation.js.map +1 -1
- package/dist/components/Payroll/TransitionPayroll/useResolveTransitionPayroll.js +14 -13
- package/dist/components/Payroll/TransitionPayroll/useResolveTransitionPayroll.js.map +1 -1
- package/dist/components/Payroll/helpers.js +53 -49
- package/dist/components/Payroll/helpers.js.map +1 -1
- package/dist/components/Payroll/payrollTypes.js +1 -1
- package/dist/components/Payroll/payrollTypes.js.map +1 -1
- package/dist/components/Payroll/usePreparedPayrollData.js +13 -16
- package/dist/components/Payroll/usePreparedPayrollData.js.map +1 -1
- package/dist/components/Payroll/useUnprocessedTransitionPayPeriods.js +2 -2
- package/dist/components/Payroll/useUnprocessedTransitionPayPeriods.js.map +1 -1
- package/dist/components/TimeOff/HolidayPolicyDetail/HolidayPolicyDetailPresentation.js +2 -4
- package/dist/components/TimeOff/HolidayPolicyDetail/HolidayPolicyDetailPresentation.js.map +1 -1
- package/dist/components/TimeOff/shared/EmployeeTable/EmployeeTable.js +6 -8
- package/dist/components/TimeOff/shared/EmployeeTable/EmployeeTable.js.map +1 -1
- package/dist/components/TimeOff/shared/PolicyDetailLayout/PolicyDetailLayout.js +28 -30
- package/dist/components/TimeOff/shared/PolicyDetailLayout/PolicyDetailLayout.js.map +1 -1
- package/dist/contexts/ApiProvider/payrollOffCycleReasonEnumHook.js +1 -1
- package/dist/contexts/ApiProvider/payrollOffCycleReasonEnumHook.js.map +1 -1
- package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.js +2 -4
- package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.js.map +1 -1
- package/dist/helpers/dateFormatting.js +47 -40
- package/dist/helpers/dateFormatting.js.map +1 -1
- package/dist/i18n/en/Company.Management.PaySchedule.json.js +37 -17
- package/dist/i18n/en/Company.Management.PaySchedule.json.js.map +1 -1
- package/dist/i18n/en/Company.Management.PayScheduleAssignment.json.js +20 -10
- package/dist/i18n/en/Company.Management.PayScheduleAssignment.json.js.map +1 -1
- package/dist/i18n/en/Payroll.PayrollHistory.json.js +5 -5
- package/dist/i18n/en/Payroll.PayrollList.json.js +5 -5
- package/dist/i18n/en/Payroll.PayrollOverview.json.js +1 -1
- package/dist/package.json.js +1 -1
- package/dist/partner-hook-utils/form/fields/CheckboxHookField.js +8 -10
- package/dist/partner-hook-utils/form/fields/CheckboxHookField.js.map +1 -1
- package/dist/partner-hook-utils/form/fields/NumberInputHookField.js +12 -14
- package/dist/partner-hook-utils/form/fields/NumberInputHookField.js.map +1 -1
- package/dist/partner-hook-utils/form/fields/RadioGroupHookField.js +13 -15
- package/dist/partner-hook-utils/form/fields/RadioGroupHookField.js.map +1 -1
- package/dist/partner-hook-utils/form/fields/SelectHookField.js +10 -12
- package/dist/partner-hook-utils/form/fields/SelectHookField.js.map +1 -1
- package/dist/partner-hook-utils/form/fields/SwitchHookField.js +14 -16
- package/dist/partner-hook-utils/form/fields/SwitchHookField.js.map +1 -1
- package/dist/partner-hook-utils/form/fields/TextInputHookField.js +8 -10
- package/dist/partner-hook-utils/form/fields/TextInputHookField.js.map +1 -1
- package/dist/shared/constants.js +5 -5
- package/dist/shared/constants.js.map +1 -1
- package/dist/src/components/Common/DateRangeFilter/DateRangeFilter.d.ts +2 -2
- package/dist/src/components/Common/OnboardingStatusBadge/index.d.ts +1 -1
- package/dist/src/components/Company/PaySchedule/PayScheduleForm.d.ts +6 -0
- package/dist/src/components/Company/PaySchedule/management/AutoPilotDialog/AutoPilotDialog.d.ts +1 -1
- package/dist/src/components/Company/PaySchedule/management/AutoPilotDialog/useAutoPilotDialog.d.ts +1 -1
- package/dist/src/components/Company/PaySchedule/management/PayScheduleAssignment/AssignmentCompensationStepPresentation.d.ts +10 -3
- package/dist/src/components/Company/PaySchedule/management/PayScheduleAssignment/AssignmentDepartmentStepPresentation.d.ts +21 -0
- package/dist/src/components/Company/PaySchedule/management/PayScheduleAssignment/AssignmentEmployeeStepPresentation.d.ts +34 -0
- package/dist/src/components/Company/PaySchedule/management/PayScheduleAssignment/AssignmentScheduleStepPresentation.d.ts +9 -3
- package/dist/src/components/Company/PaySchedule/management/PayScheduleAssignment/AssignmentTypeStepPresentation.d.ts +5 -1
- package/dist/src/components/Company/PaySchedule/management/PayScheduleAssignment/PayScheduleAssignment.d.ts +10 -10
- package/dist/src/components/Company/PaySchedule/management/PayScheduleAssignment/PayScheduleAssignmentComponents.d.ts +12 -4
- package/dist/src/components/Company/PaySchedule/management/PayScheduleAssignment/departmentAccess.d.ts +19 -0
- package/dist/src/components/Company/PaySchedule/management/PayScheduleAssignment/employeeJob.d.ts +17 -0
- package/dist/src/components/Company/PaySchedule/management/PayScheduleAssignment/scheduleLabel.d.ts +1 -1
- package/dist/src/components/Company/PaySchedule/management/PayScheduleAssignment/useAssignableEmployees.d.ts +34 -0
- package/dist/src/components/Company/PaySchedule/management/PayScheduleAssignment/usePayScheduleAssignment.d.ts +16 -3
- package/dist/src/components/Company/PaySchedule/management/PayScheduleCompensationOverviewPresentation.d.ts +1 -1
- package/dist/src/components/Company/PaySchedule/management/PayScheduleDepartmentOverviewPresentation.d.ts +23 -0
- package/dist/src/components/Company/PaySchedule/management/PayScheduleEmployeeOverviewPresentation.d.ts +25 -0
- package/dist/src/components/Company/PaySchedule/management/PayScheduleManagementComponents.d.ts +1 -1
- package/dist/src/components/Company/PaySchedule/management/PayScheduleOverviewPresentation.d.ts +1 -1
- package/dist/src/components/Company/PaySchedule/shared/usePayScheduleForm/usePayScheduleForm.d.ts +1 -1
- package/dist/src/components/Contractor/Landing/Landing.d.ts +5 -2
- package/dist/src/components/Employee/Landing/Landing.d.ts +5 -2
- package/dist/src/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.d.ts +1 -1
- package/dist/src/components/Payroll/PayrollConfiguration/usePayrollConfigurationData.d.ts +1 -1
- package/dist/src/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.d.ts +1 -1
- package/dist/src/components/Payroll/PayrollEditEmployee/shared/usePayrollEditEmployeeForm/usePayrollEditEmployeeForm.d.ts +2 -2
- package/dist/src/components/Payroll/PayrollHistory/PayrollHistoryPresentation.d.ts +1 -1
- package/dist/src/components/Payroll/PayrollList/PayrollListPresentation.d.ts +2 -2
- package/dist/src/components/Payroll/PayrollOverview/PayrollOverviewPresentation.d.ts +1 -1
- package/dist/src/components/Payroll/helpers.d.ts +22 -2
- package/dist/src/components/Payroll/usePreparedPayrollData.d.ts +2 -2
- package/dist/src/helpers/dateFormatting.d.ts +13 -0
- package/dist/src/i18n/types.d.ts +96 -6
- package/dist/src/models/external.d.ts +63 -48
- package/dist/src/shared/constants.d.ts +1 -1
- package/dist/style.css +1 -1
- package/docs/guides/endpoint-inventory.json +33 -13
- package/package.json +21 -21
|
@@ -1,12 +1,23 @@
|
|
|
1
1
|
import { PayScheduleAssignmentBodyType } from '@gusto/embedded-api/models/components/payscheduleassignmentbody';
|
|
2
|
+
import { EmployeeSelection } from './AssignmentEmployeeStepPresentation';
|
|
3
|
+
import { DepartmentSelection } from './AssignmentDepartmentStepPresentation';
|
|
2
4
|
import { FlowContextInterface } from '../../../../Flow/useFlow';
|
|
3
5
|
/**
|
|
4
|
-
* The assignment types
|
|
5
|
-
* but have no step implementations, so they're unrepresentable here.
|
|
6
|
+
* The assignment types supported by the management flow.
|
|
6
7
|
*
|
|
7
8
|
* @internal
|
|
8
9
|
*/
|
|
9
|
-
export type SupportedAssignmentType = Extract<PayScheduleAssignmentBodyType, 'single' | 'hourly_salaried'>;
|
|
10
|
+
export type SupportedAssignmentType = Extract<PayScheduleAssignmentBodyType, 'single' | 'hourly_salaried' | 'by_department' | 'by_employee'>;
|
|
11
|
+
/**
|
|
12
|
+
* Draft selections retained when moving between assignment steps.
|
|
13
|
+
*
|
|
14
|
+
* @internal
|
|
15
|
+
*/
|
|
16
|
+
export type AssignmentDraft = Partial<DepartmentSelection & EmployeeSelection> & {
|
|
17
|
+
assignmentType?: SupportedAssignmentType;
|
|
18
|
+
hourlyPayScheduleUuid?: string;
|
|
19
|
+
salariedPayScheduleUuid?: string;
|
|
20
|
+
};
|
|
10
21
|
/** @internal */
|
|
11
22
|
export interface PayScheduleAssignmentContextInterface extends FlowContextInterface {
|
|
12
23
|
companyId: string;
|
|
@@ -14,5 +25,7 @@ export interface PayScheduleAssignmentContextInterface extends FlowContextInterf
|
|
|
14
25
|
defaultPayScheduleUuid?: string;
|
|
15
26
|
hourlyPayScheduleUuid?: string;
|
|
16
27
|
salariedPayScheduleUuid?: string;
|
|
28
|
+
departments?: DepartmentSelection['departments'];
|
|
29
|
+
employees?: EmployeeSelection['employees'];
|
|
17
30
|
component: React.ComponentType | null;
|
|
18
31
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PayScheduleShow } from '@gusto/embedded-api/models/components/
|
|
1
|
+
import { PayScheduleShow } from '@gusto/embedded-api/models/components/payschedulelistitem';
|
|
2
2
|
/** @internal */
|
|
3
3
|
export type CompensationType = 'hourly' | 'salaried';
|
|
4
4
|
/** @internal */
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { PayScheduleShow } from '@gusto/embedded-api/models/components/payschedulelistitem';
|
|
2
|
+
/** @internal */
|
|
3
|
+
export interface PayScheduleDepartmentRow {
|
|
4
|
+
departmentName: string;
|
|
5
|
+
schedule: PayScheduleShow;
|
|
6
|
+
}
|
|
7
|
+
/** @internal */
|
|
8
|
+
export interface PayScheduleDepartmentOverviewPresentationProps {
|
|
9
|
+
/** One row per department, including employees without a department. */
|
|
10
|
+
rows: PayScheduleDepartmentRow[];
|
|
11
|
+
/** Shows the AutoPilot column and its row action when `true`. */
|
|
12
|
+
enableAutoPilot?: boolean;
|
|
13
|
+
/** Shows the Manage action when `true`. */
|
|
14
|
+
enableMultipleSchedules?: boolean;
|
|
15
|
+
/** Fired when the user chooses Edit schedule from a row menu. */
|
|
16
|
+
onEditSchedule: (schedule: PayScheduleShow) => void;
|
|
17
|
+
/** Fired when the user clicks Manage. */
|
|
18
|
+
onManageAssignment: () => void;
|
|
19
|
+
/** Fired when the user chooses AutoPilot from a row menu. */
|
|
20
|
+
onEditAutoPilot: (schedule: PayScheduleShow) => void;
|
|
21
|
+
}
|
|
22
|
+
/** @internal */
|
|
23
|
+
export declare function PayScheduleDepartmentOverviewPresentation({ rows, enableAutoPilot, enableMultipleSchedules, onEditSchedule, onManageAssignment, onEditAutoPilot, }: PayScheduleDepartmentOverviewPresentationProps): import('react').JSX.Element;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { PayScheduleShow } from '@gusto/embedded-api/models/components/payschedulelistitem';
|
|
2
|
+
/** @internal */
|
|
3
|
+
export interface PayScheduleEmployeeRow {
|
|
4
|
+
employeeCount: number;
|
|
5
|
+
schedule: PayScheduleShow;
|
|
6
|
+
}
|
|
7
|
+
/** @internal */
|
|
8
|
+
export interface PayScheduleEmployeeOverviewPresentationProps {
|
|
9
|
+
/** One row per assigned pay schedule. */
|
|
10
|
+
rows: PayScheduleEmployeeRow[];
|
|
11
|
+
/** Replaces the table with a warning while preserving management actions. */
|
|
12
|
+
accessDenied?: boolean;
|
|
13
|
+
/** Shows the AutoPilot column and its row action when `true`. */
|
|
14
|
+
enableAutoPilot?: boolean;
|
|
15
|
+
/** Shows the Manage action when `true`. */
|
|
16
|
+
enableMultipleSchedules?: boolean;
|
|
17
|
+
/** Fired when the user chooses Edit schedule from a row menu. */
|
|
18
|
+
onEditSchedule: (schedule: PayScheduleShow) => void;
|
|
19
|
+
/** Fired when the user clicks Manage. */
|
|
20
|
+
onManageAssignment: () => void;
|
|
21
|
+
/** Fired when the user chooses AutoPilot from a row menu. */
|
|
22
|
+
onEditAutoPilot: (schedule: PayScheduleShow) => void;
|
|
23
|
+
}
|
|
24
|
+
/** @internal */
|
|
25
|
+
export declare function PayScheduleEmployeeOverviewPresentation({ rows, accessDenied, enableAutoPilot, enableMultipleSchedules, onEditSchedule, onManageAssignment, onEditAutoPilot, }: PayScheduleEmployeeOverviewPresentationProps): import('react').JSX.Element;
|
package/dist/src/components/Company/PaySchedule/management/PayScheduleManagementComponents.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PayScheduleShow } from '@gusto/embedded-api/models/components/
|
|
1
|
+
import { PayScheduleShow } from '@gusto/embedded-api/models/components/payschedulelistitem';
|
|
2
2
|
import { PayScheduleDefaultValues } from '../PaySchedule';
|
|
3
3
|
import { FlowContextInterface } from '../../../Flow/useFlow';
|
|
4
4
|
/** @internal */
|
package/dist/src/components/Company/PaySchedule/management/PayScheduleOverviewPresentation.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PayScheduleShow } from '@gusto/embedded-api/models/components/
|
|
1
|
+
import { PayScheduleShow } from '@gusto/embedded-api/models/components/payschedulelistitem';
|
|
2
2
|
/** @internal */
|
|
3
3
|
export interface PayScheduleOverviewPresentationProps {
|
|
4
4
|
/** The company's single pay schedule. */
|
package/dist/src/components/Company/PaySchedule/shared/usePayScheduleForm/usePayScheduleForm.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentType } from 'react';
|
|
2
2
|
import { UseFormProps } from 'react-hook-form';
|
|
3
|
-
import { PayScheduleShow } from '@gusto/embedded-api/models/components/
|
|
3
|
+
import { PayScheduleShow } from '@gusto/embedded-api/models/components/payschedulelistitem';
|
|
4
4
|
import { PaySchedulePreviewPayPeriod } from '@gusto/embedded-api/models/components/payschedulepreviewpayperiod';
|
|
5
5
|
import { WorkweekStartDay } from '@gusto/embedded-api/models/components/payschedulecreaterequest';
|
|
6
6
|
import { PayScheduleOptionalFieldsToRequire, PayScheduleFormData } from './payScheduleSchema';
|
|
@@ -7,8 +7,11 @@ import { BaseComponentInterface } from '../../Base';
|
|
|
7
7
|
export interface LandingProps extends BaseComponentInterface<'Contractor.Landing'> {
|
|
8
8
|
/** UUID of the contractor entering the self-onboarding flow. */
|
|
9
9
|
contractorId: string;
|
|
10
|
-
/**
|
|
11
|
-
|
|
10
|
+
/**
|
|
11
|
+
* @deprecated
|
|
12
|
+
* UUID of the company the contractor belongs to.
|
|
13
|
+
*/
|
|
14
|
+
companyId?: string;
|
|
12
15
|
}
|
|
13
16
|
/**
|
|
14
17
|
* Landing page for the contractor self-onboarding flow. Displays a welcome
|
|
@@ -7,8 +7,11 @@ import { BaseComponentInterface } from '../../Base';
|
|
|
7
7
|
export interface LandingProps extends BaseComponentInterface<'Employee.Landing'> {
|
|
8
8
|
/** UUID of the employee entering the self-onboarding flow. */
|
|
9
9
|
employeeId: string;
|
|
10
|
-
/**
|
|
11
|
-
|
|
10
|
+
/**
|
|
11
|
+
* @deprecated
|
|
12
|
+
* UUID of the company the employee belongs to.
|
|
13
|
+
*/
|
|
14
|
+
companyId?: string;
|
|
12
15
|
}
|
|
13
16
|
/**
|
|
14
17
|
* Landing page for the employee self-onboarding flow. Displays a welcome
|
package/dist/src/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { ReactNode } from 'react';
|
|
|
2
2
|
import { PayrollEmployeeCompensationsType } from '@gusto/embedded-api/models/components/payrollemployeecompensationstype';
|
|
3
3
|
import { Employee } from '@gusto/embedded-api/models/components/employee';
|
|
4
4
|
import { PayrollPayPeriodType } from '@gusto/embedded-api/models/components/payrollpayperiodtype';
|
|
5
|
-
import { PayScheduleShow as PayScheduleObject } from '@gusto/embedded-api/models/components/
|
|
5
|
+
import { PayScheduleShow as PayScheduleObject } from '@gusto/embedded-api/models/components/payschedulelistitem';
|
|
6
6
|
import { PayrollCategory } from '../payrollTypes';
|
|
7
7
|
import { ApiPayrollBlocker } from '../PayrollBlocker/payrollHelpers';
|
|
8
8
|
import { PaginationControlProps } from '../../Common/PaginationControl/PaginationControlTypes';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PayrollEmployeeCompensationsType } from '@gusto/embedded-api/models/components/payrollemployeecompensationstype';
|
|
2
2
|
import { Employee } from '@gusto/embedded-api/models/components/employee';
|
|
3
3
|
import { PayrollPayPeriodType } from '@gusto/embedded-api/models/components/payrollpayperiodtype';
|
|
4
|
-
import { PayScheduleShow } from '@gusto/embedded-api/models/components/
|
|
4
|
+
import { PayScheduleShow } from '@gusto/embedded-api/models/components/payschedulelistitem';
|
|
5
5
|
import { PayrollCategory } from '../payrollTypes';
|
|
6
6
|
import { PaginationControlProps } from '../../Common/PaginationControl/PaginationControlTypes';
|
|
7
7
|
interface UsePayrollConfigurationDataParams {
|
package/dist/src/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Employee } from '@gusto/embedded-api/models/components/employee';
|
|
2
2
|
import { PayrollEmployeeCompensationsType } from '@gusto/embedded-api/models/components/payrollemployeecompensationstype';
|
|
3
3
|
import { PayrollFixedCompensationTypesType } from '@gusto/embedded-api/models/components/payrollfixedcompensationtypestype';
|
|
4
|
-
import { PayScheduleShow as PayScheduleObject } from '@gusto/embedded-api/models/components/
|
|
4
|
+
import { PayScheduleShow as PayScheduleObject } from '@gusto/embedded-api/models/components/payschedulelistitem';
|
|
5
5
|
import { z } from 'zod';
|
|
6
6
|
import { PayrollCategory } from '../payrollTypes';
|
|
7
7
|
interface PayrollEditEmployeeProps {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { UseFormProps } from 'react-hook-form';
|
|
2
2
|
import { Employee } from '@gusto/embedded-api/models/components/employee';
|
|
3
3
|
import { PayrollEmployeeCompensationsType } from '@gusto/embedded-api/models/components/payrollemployeecompensationstype';
|
|
4
|
-
import { PayrollPrepared } from '@gusto/embedded-api/models/components/
|
|
5
|
-
import { PayScheduleShow } from '@gusto/embedded-api/models/components/
|
|
4
|
+
import { PayrollPrepared } from '@gusto/embedded-api/models/components/unprocessedpayroll';
|
|
5
|
+
import { PayScheduleShow } from '@gusto/embedded-api/models/components/payschedulelistitem';
|
|
6
6
|
import { PayrollEditEmployeeFormData } from './payrollEditEmployeeSchema';
|
|
7
7
|
import { NormalizedWorkweek } from './payrollEditEmployeeHelpers';
|
|
8
8
|
import { PayrollEditEmployeeErrorMessages, PayrollEditEmployeeFields, ReimbursementRow } from './fields';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Payroll } from '@gusto/embedded-api/models/components/
|
|
1
|
+
import { Payroll } from '@gusto/embedded-api/models/components/unprocessedpayroll';
|
|
2
2
|
import { WireInRequest } from '@gusto/embedded-api/models/components/wireinrequest';
|
|
3
3
|
import { PaginationControlProps } from '../../Common/PaginationControl/PaginationControlTypes';
|
|
4
4
|
import { UseDateRangeFilterResult } from '../../../hooks/useDateRangeFilter/useDateRangeFilter';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Payroll } from '@gusto/embedded-api/models/components/
|
|
2
|
-
import { PayScheduleShow } from '@gusto/embedded-api/models/components/
|
|
1
|
+
import { Payroll } from '@gusto/embedded-api/models/components/unprocessedpayroll';
|
|
2
|
+
import { PayScheduleShow } from '@gusto/embedded-api/models/components/payschedulelistitem';
|
|
3
3
|
import { WireInRequest } from '@gusto/embedded-api/models/components/wireinrequest';
|
|
4
4
|
import { ApiPayrollBlocker } from '../PayrollBlocker/payrollHelpers';
|
|
5
5
|
import { PaginationControlProps } from '../../Common/PaginationControl/PaginationControlTypes';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PayrollShow } from '@gusto/embedded-api/models/components/
|
|
1
|
+
import { PayrollShow } from '@gusto/embedded-api/models/components/unprocessedpayroll';
|
|
2
2
|
import { CompanyBankAccount } from '@gusto/embedded-api/models/components/companybankaccount';
|
|
3
3
|
import { PayrollSubmissionBlockerType } from '@gusto/embedded-api/models/components/payrollsubmissionblockertype';
|
|
4
4
|
import { PaymentSpeed } from '@gusto/embedded-api/models/components/paymentconfigs';
|
|
@@ -3,8 +3,8 @@ import { FixedCompensations, Reimbursements as Reimbursement, PayrollEmployeeCom
|
|
|
3
3
|
import { PayrollUpdateReimbursements } from '@gusto/embedded-api/models/components/payrollupdate';
|
|
4
4
|
import { PayrollFixedCompensationTypesType } from '@gusto/embedded-api/models/components/payrollfixedcompensationtypestype';
|
|
5
5
|
import { TFunction } from 'i18next';
|
|
6
|
-
import { PayScheduleShow as PayScheduleObject } from '@gusto/embedded-api/models/components/
|
|
7
|
-
import { Payroll } from '@gusto/embedded-api/models/components/
|
|
6
|
+
import { PayScheduleShow as PayScheduleObject } from '@gusto/embedded-api/models/components/payschedulelistitem';
|
|
7
|
+
import { Payroll } from '@gusto/embedded-api/models/components/unprocessedpayroll';
|
|
8
8
|
import { PayrollType } from './PayrollList/types';
|
|
9
9
|
import { PayrollCategory } from './payrollTypes';
|
|
10
10
|
import { useDateFormatter } from '../../hooks/useDateFormatter';
|
|
@@ -229,6 +229,26 @@ export declare const getAdditionalEarningsCompensations: ({ flsaStatus, existing
|
|
|
229
229
|
* @internal
|
|
230
230
|
*/
|
|
231
231
|
export declare const calculateTotalPayroll: (payrollData: Payroll) => number;
|
|
232
|
+
/**
|
|
233
|
+
* Returns the interpolation values for the cancel dialog's deadline sentence.
|
|
234
|
+
*
|
|
235
|
+
* @remarks
|
|
236
|
+
* Translations place `time` and `date` themselves, so word order and the joining word stay
|
|
237
|
+
* localizable. `deadline` is the legacy pre-joined English string, kept so existing
|
|
238
|
+
* translations and partner overrides that use `{{deadline}}` keep rendering.
|
|
239
|
+
*
|
|
240
|
+
* @param payroll - The payroll whose `payrollDeadline` is shown.
|
|
241
|
+
* @param dateFormatter - The date formatter returned by {@link useDateFormatter}.
|
|
242
|
+
* @returns The `time`, `date`, and legacy `deadline` values in the user's local time zone.
|
|
243
|
+
* @internal
|
|
244
|
+
*/
|
|
245
|
+
export declare const getCancelDeadlineValues: (payroll: {
|
|
246
|
+
payrollDeadline?: string | Date | null;
|
|
247
|
+
}, dateFormatter: ReturnType<typeof useDateFormatter>) => {
|
|
248
|
+
time: string;
|
|
249
|
+
date: string;
|
|
250
|
+
deadline: string;
|
|
251
|
+
};
|
|
232
252
|
/**
|
|
233
253
|
* Returns whether to show the cancel action for a payroll.
|
|
234
254
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PayrollPrepared } from '@gusto/embedded-api/models/components/
|
|
2
|
-
import { PayScheduleShow } from '@gusto/embedded-api/models/components/
|
|
1
|
+
import { PayrollPrepared } from '@gusto/embedded-api/models/components/unprocessedpayroll';
|
|
2
|
+
import { PayScheduleShow } from '@gusto/embedded-api/models/components/payschedulelistitem';
|
|
3
3
|
interface UsePreparedPayrollDataParams {
|
|
4
4
|
companyId: string;
|
|
5
5
|
payrollId: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { RFCDate } from '@gusto/embedded-api/types/rfcdate';
|
|
1
2
|
/**
|
|
2
3
|
* Normalizes any date input (string, Date, or undefined) to a Date object.
|
|
3
4
|
*
|
|
@@ -99,6 +100,18 @@ export declare const formatPayPeriodRange: (startDateInput?: string | Date | nul
|
|
|
99
100
|
* @internal
|
|
100
101
|
*/
|
|
101
102
|
export declare const formatDateToStringDate: (date: Date) => string | null;
|
|
103
|
+
/**
|
|
104
|
+
* Converts a `Date` into an `RFCDate` for the same local calendar day.
|
|
105
|
+
*
|
|
106
|
+
* @remarks Use this instead of `new RFCDate(date)`, which serializes through
|
|
107
|
+
* `toISOString()` and shifts the day back by one in timezones ahead of UTC.
|
|
108
|
+
*
|
|
109
|
+
* @param date - The date to convert.
|
|
110
|
+
* @returns An `RFCDate` carrying the local year, month, and day of `date`.
|
|
111
|
+
* @throws RangeError when `date` is an invalid date.
|
|
112
|
+
* @internal
|
|
113
|
+
*/
|
|
114
|
+
export declare const toRFCDate: (date: Date) => RFCDate;
|
|
102
115
|
/**
|
|
103
116
|
* Converts any parseable date string to a `YYYY-MM-DD` ISO string using local time.
|
|
104
117
|
*
|
package/dist/src/i18n/types.d.ts
CHANGED
|
@@ -1056,6 +1056,10 @@ export namespace Translations {
|
|
|
1056
1056
|
frequency: string
|
|
1057
1057
|
/** @defaultValue `"Schedule"` */
|
|
1058
1058
|
schedule: string
|
|
1059
|
+
/** @defaultValue `"Department"` */
|
|
1060
|
+
department: string
|
|
1061
|
+
/** @defaultValue `"Employees"` */
|
|
1062
|
+
employees: string
|
|
1059
1063
|
}
|
|
1060
1064
|
compensationTypes: {
|
|
1061
1065
|
/** @defaultValue `"Hourly"` */
|
|
@@ -1075,6 +1079,30 @@ export namespace Translations {
|
|
|
1075
1079
|
/** @defaultValue `"Pay schedule assignment updated."` */
|
|
1076
1080
|
assignmentUpdated: string
|
|
1077
1081
|
}
|
|
1082
|
+
/** @defaultValue `"You have assigned employees to pay schedules by department."` */
|
|
1083
|
+
departmentDescription: string
|
|
1084
|
+
/** @defaultValue `"Pay schedules by department"` */
|
|
1085
|
+
departmentTableLabel: string
|
|
1086
|
+
/** @defaultValue `"Uncategorized employees"` */
|
|
1087
|
+
uncategorizedEmployees: string
|
|
1088
|
+
/** @defaultValue `"Unnamed department"` */
|
|
1089
|
+
unnamedDepartment: string
|
|
1090
|
+
scheduleForm: {
|
|
1091
|
+
/** @defaultValue `"The last date of the first pay period; can be the same as the first pay date."` */
|
|
1092
|
+
anchorEndOfPayPeriodDescription: string
|
|
1093
|
+
/** @defaultValue `"Run payroll by"` */
|
|
1094
|
+
payrollDeadline: string
|
|
1095
|
+
}
|
|
1096
|
+
/** @defaultValue `"You have assigned pay schedules per employee."` */
|
|
1097
|
+
employeeDescription: string
|
|
1098
|
+
/** @defaultValue `"Pay schedules by employee"` */
|
|
1099
|
+
employeeTableLabel: string
|
|
1100
|
+
/** @defaultValue `"{{count}} employee"` */
|
|
1101
|
+
employeeCount_one: string
|
|
1102
|
+
/** @defaultValue `"{{count}} employees"` */
|
|
1103
|
+
employeeCount_other: string
|
|
1104
|
+
/** @defaultValue `"Employee assignments are unavailable because required employee or compensation data is missing. Check employees:read and compensations:read access, or contact your administrator."` */
|
|
1105
|
+
employeeAccessDenied: string
|
|
1078
1106
|
}
|
|
1079
1107
|
/** Translation keys for the `Company.Management.PayScheduleAssignment` i18n namespace. */
|
|
1080
1108
|
export interface CompanyManagementPayScheduleAssignment {
|
|
@@ -1096,6 +1124,18 @@ export namespace Translations {
|
|
|
1096
1124
|
/** @defaultValue `"Choose one pay schedule for hourly employees and another for salaried employees"` */
|
|
1097
1125
|
description: string
|
|
1098
1126
|
}
|
|
1127
|
+
byDepartment: {
|
|
1128
|
+
/** @defaultValue `"By department"` */
|
|
1129
|
+
label: string
|
|
1130
|
+
/** @defaultValue `"Assign pay schedules to departments. Use this to pay Sales or other commission-based department separately."` */
|
|
1131
|
+
description: string
|
|
1132
|
+
}
|
|
1133
|
+
byEmployee: {
|
|
1134
|
+
/** @defaultValue `"By employee"` */
|
|
1135
|
+
label: string
|
|
1136
|
+
/** @defaultValue `"Assign a pay schedule to each individual employee."` */
|
|
1137
|
+
description: string
|
|
1138
|
+
}
|
|
1099
1139
|
}
|
|
1100
1140
|
}
|
|
1101
1141
|
scheduleStep: {
|
|
@@ -1148,6 +1188,56 @@ export namespace Translations {
|
|
|
1148
1188
|
continueCta: string
|
|
1149
1189
|
/** @defaultValue `"Submit"` */
|
|
1150
1190
|
submitCta: string
|
|
1191
|
+
departmentStep: {
|
|
1192
|
+
/** @defaultValue `"Assign employees"` */
|
|
1193
|
+
heading: string
|
|
1194
|
+
/** @defaultValue `"Uncategorized employees"` */
|
|
1195
|
+
defaultPayScheduleLabel: string
|
|
1196
|
+
/** @defaultValue `"Select a pay schedule for employees who aren't assigned to any department."` */
|
|
1197
|
+
defaultPayScheduleDescription: string
|
|
1198
|
+
/** @defaultValue `"Unnamed department"` */
|
|
1199
|
+
unnamedDepartment: string
|
|
1200
|
+
/** @defaultValue `"Add pay schedule"` */
|
|
1201
|
+
addPayScheduleCta: string
|
|
1202
|
+
}
|
|
1203
|
+
scheduleForm: {
|
|
1204
|
+
/** @defaultValue `"The last date of the first pay period; can be the same as the first pay date."` */
|
|
1205
|
+
anchorEndOfPayPeriodDescription: string
|
|
1206
|
+
/** @defaultValue `"Run payroll by"` */
|
|
1207
|
+
payrollDeadline: string
|
|
1208
|
+
}
|
|
1209
|
+
/** @defaultValue `"Department schedules are unavailable because access to departments is missing. You can choose another schedule type or contact your administrator."` */
|
|
1210
|
+
departmentAccessDenied: string
|
|
1211
|
+
employeeStep: {
|
|
1212
|
+
/** @defaultValue `"Assign employees"` */
|
|
1213
|
+
heading: string
|
|
1214
|
+
/** @defaultValue `"Employees"` */
|
|
1215
|
+
employeesLabel: string
|
|
1216
|
+
/** @defaultValue `"Employee"` */
|
|
1217
|
+
employeeLabel: string
|
|
1218
|
+
/** @defaultValue `"Pay schedule"` */
|
|
1219
|
+
payScheduleLabel: string
|
|
1220
|
+
/** @defaultValue `"Pay schedule for {{name}}"` */
|
|
1221
|
+
scheduleForEmployee: string
|
|
1222
|
+
/** @defaultValue `"Employee pay schedule assignments"` */
|
|
1223
|
+
tableLabel: string
|
|
1224
|
+
/** @defaultValue `"Add pay schedule"` */
|
|
1225
|
+
addPayScheduleCta: string
|
|
1226
|
+
/** @defaultValue `"Type"` */
|
|
1227
|
+
typeLabel: string
|
|
1228
|
+
types: {
|
|
1229
|
+
/** @defaultValue `"Salaried / Exempt"` */
|
|
1230
|
+
salariedExempt: string
|
|
1231
|
+
/** @defaultValue `"Hourly / Nonexempt"` */
|
|
1232
|
+
hourly: string
|
|
1233
|
+
/** @defaultValue `"Salaried / Nonexempt"` */
|
|
1234
|
+
salariedNonexempt: string
|
|
1235
|
+
/** @defaultValue `"Owner"` */
|
|
1236
|
+
owner: string
|
|
1237
|
+
}
|
|
1238
|
+
}
|
|
1239
|
+
/** @defaultValue `"Employee assignments are unavailable because required employee or compensation data is missing. Check employees:read and compensations:read access, or contact your administrator."` */
|
|
1240
|
+
employeeAccessDenied: string
|
|
1151
1241
|
}
|
|
1152
1242
|
/** Translation keys for the `Company.Management.TaxPaymentDetail` i18n namespace. */
|
|
1153
1243
|
export interface CompanyManagementTaxPaymentDetail {
|
|
@@ -8079,8 +8169,8 @@ export namespace Translations {
|
|
|
8079
8169
|
reset: string
|
|
8080
8170
|
/** @defaultValue `"Select dates"` */
|
|
8081
8171
|
selectDates: string
|
|
8082
|
-
/** @defaultValue `"Filter by date"` */
|
|
8083
|
-
|
|
8172
|
+
/** @defaultValue `"Filter by date, {{selection}}"` */
|
|
8173
|
+
triggerLabel: string
|
|
8084
8174
|
}
|
|
8085
8175
|
dataView: {
|
|
8086
8176
|
/** @defaultValue `"Payroll history"` */
|
|
@@ -8129,7 +8219,7 @@ export namespace Translations {
|
|
|
8129
8219
|
title: string
|
|
8130
8220
|
/** @defaultValue `"You may cancel this payroll and run it again later. Your changes will be saved."` */
|
|
8131
8221
|
body: string
|
|
8132
|
-
/** @defaultValue `"Run this payroll by {{
|
|
8222
|
+
/** @defaultValue `"Run this payroll by {{time}} on {{date}} to pay your employees on time."` */
|
|
8133
8223
|
deadline: string
|
|
8134
8224
|
/** @defaultValue `"Yes, cancel payroll"` */
|
|
8135
8225
|
primaryAction: string
|
|
@@ -8195,8 +8285,8 @@ export namespace Translations {
|
|
|
8195
8285
|
reset: string
|
|
8196
8286
|
/** @defaultValue `"Select dates"` */
|
|
8197
8287
|
selectDates: string
|
|
8198
|
-
/** @defaultValue `"Filter by date"` */
|
|
8199
|
-
|
|
8288
|
+
/** @defaultValue `"Filter by date, {{selection}}"` */
|
|
8289
|
+
triggerLabel: string
|
|
8200
8290
|
}
|
|
8201
8291
|
/** @defaultValue `"Payrolls"` */
|
|
8202
8292
|
payrollsListLabel: string
|
|
@@ -8291,7 +8381,7 @@ export namespace Translations {
|
|
|
8291
8381
|
cancelDialogTitleDismissal: string
|
|
8292
8382
|
/** @defaultValue `"You may cancel this payroll and run it again later. Your changes will be saved."` */
|
|
8293
8383
|
cancelDialogDescription: string
|
|
8294
|
-
/** @defaultValue `"Run this payroll by {{
|
|
8384
|
+
/** @defaultValue `"Run this payroll by {{time}} on {{date}} to pay your employees on time."` */
|
|
8295
8385
|
cancelDialogDescriptionDeadline: string
|
|
8296
8386
|
/** @defaultValue `"Yes, cancel payroll"` */
|
|
8297
8387
|
confirmCancelCta: string
|
|
@@ -20,8 +20,8 @@ export type { Compensation } from '@gusto/embedded-api/models/components/compens
|
|
|
20
20
|
export { PaymentUnit } from '@gusto/embedded-api/models/components/compensation';
|
|
21
21
|
/** `ContractorPaymentMethod1` entity from the Gusto Embedded API. */
|
|
22
22
|
export { ContractorPaymentMethod1 } from '@gusto/embedded-api/models/components/contractor';
|
|
23
|
-
export type {
|
|
24
|
-
export { ContractorStatus, ContractorType, ContractorWageType,
|
|
23
|
+
export type { Contractor, ContractorAddress1, ContractorMemberPortalInvitationStatus, ContractorUpcomingEmployment, } from '@gusto/embedded-api/models/components/contractor';
|
|
24
|
+
export { ContractorOnboardingStatus1, ContractorStatus, ContractorType, ContractorWageType, } from '@gusto/embedded-api/models/components/contractor';
|
|
25
25
|
/** `ContractorAddress` entity from the Gusto Embedded API. */
|
|
26
26
|
export type { ContractorAddress } from '@gusto/embedded-api/models/components/contractoraddress';
|
|
27
27
|
/** `ContractorBankAccount` entity from the Gusto Embedded API. */
|
|
@@ -64,6 +64,12 @@ export { ContractorPaymentReceiptPaymentMethod } from '@gusto/embedded-api/model
|
|
|
64
64
|
export type { ContractorUpdateRequestBody } from '@gusto/embedded-api/models/components/contractorupdaterequestbody';
|
|
65
65
|
export { ContractorUpdateRequestBodyType, ContractorUpdateRequestBodyWageType, } from '@gusto/embedded-api/models/components/contractorupdaterequestbody';
|
|
66
66
|
export { CustomFieldType } from '@gusto/embedded-api/models/components/customfieldtype';
|
|
67
|
+
/** `Contractors` entity from the Gusto Embedded API. */
|
|
68
|
+
export type { Contractors } from '@gusto/embedded-api/models/components/department';
|
|
69
|
+
/** `Department` entity from the Gusto Embedded API. */
|
|
70
|
+
export type { Department } from '@gusto/embedded-api/models/components/department';
|
|
71
|
+
/** `DepartmentEmployees` entity from the Gusto Embedded API. */
|
|
72
|
+
export type { DepartmentEmployees } from '@gusto/embedded-api/models/components/department';
|
|
67
73
|
/** `Document` entity from the Gusto Embedded API. */
|
|
68
74
|
export type { Document } from '@gusto/embedded-api/models/components/document';
|
|
69
75
|
/** `Fields` entity from the Gusto Embedded API. */
|
|
@@ -81,11 +87,11 @@ export { DocumentSignedRecipientType } from '@gusto/embedded-api/models/componen
|
|
|
81
87
|
export type { EarningType } from '@gusto/embedded-api/models/components/earningtype';
|
|
82
88
|
export { EarningTypeCategory } from '@gusto/embedded-api/models/components/earningtype';
|
|
83
89
|
export type { EarningTypeList } from '@gusto/embedded-api/models/components/earningtypelist';
|
|
84
|
-
/** `
|
|
85
|
-
export {
|
|
90
|
+
/** `EmployeeCurrentEmploymentStatus` entity from the Gusto Embedded API. */
|
|
91
|
+
export { EmployeeCurrentEmploymentStatus } from '@gusto/embedded-api/models/components/employee';
|
|
86
92
|
/** `EmployeeOnboardingStatus1` entity from the Gusto Embedded API. */
|
|
87
93
|
export { EmployeeOnboardingStatus1 } from '@gusto/embedded-api/models/components/employee';
|
|
88
|
-
export type { Employee, EmployeeMemberPortalInvitationStatus,
|
|
94
|
+
export type { Employee, EmployeeMemberPortalInvitationStatus, EmployeeOnboardingDocumentsConfig, } from '@gusto/embedded-api/models/components/employee';
|
|
89
95
|
export { EmployeePaymentMethod1, EmployeeStatus, } from '@gusto/embedded-api/models/components/employee';
|
|
90
96
|
/** `EmployeeAddress` entity from the Gusto Embedded API. */
|
|
91
97
|
export type { EmployeeAddress } from '@gusto/embedded-api/models/components/employeeaddress';
|
|
@@ -96,6 +102,9 @@ export type { EmployeeCustomField } from '@gusto/embedded-api/models/components/
|
|
|
96
102
|
export type { EmployeeFederalTax } from '@gusto/embedded-api/models/components/employeefederaltax';
|
|
97
103
|
export type { EmployeeFederalTaxPre2020 } from '@gusto/embedded-api/models/components/employeefederaltaxpre2020';
|
|
98
104
|
export type { EmployeeFederalTaxRev2020 } from '@gusto/embedded-api/models/components/employeefederaltaxrev2020';
|
|
105
|
+
/** `EmployeeHomeAddress` entity from the Gusto Embedded API. */
|
|
106
|
+
export type { EmployeeHomeAddress } from '@gusto/embedded-api/models/components/employeehomeaddress';
|
|
107
|
+
export type { EmployeeHomeAddressHistoryEntry } from '@gusto/embedded-api/models/components/employeehomeaddresshistoryentry';
|
|
99
108
|
/** `Blockers` entity from the Gusto Embedded API. */
|
|
100
109
|
export type { Blockers } from '@gusto/embedded-api/models/components/employeeonboardingstatus';
|
|
101
110
|
/** `EmployeeOnboardingStatusOnboardingStep` entity from the Gusto Embedded API. */
|
|
@@ -239,52 +248,14 @@ export type { PayrollPayrollStatusMetaType } from '@gusto/embedded-api/models/co
|
|
|
239
248
|
/** `PayrollProcessingRequest` entity from the Gusto Embedded API. */
|
|
240
249
|
export type { PayrollProcessingRequest } from '@gusto/embedded-api/models/components/payrollprocessingrequest';
|
|
241
250
|
export { PayrollProcessingRequestStatus } from '@gusto/embedded-api/models/components/payrollprocessingrequest';
|
|
251
|
+
/** `EmployeeCompensations` entity from the Gusto Embedded API. */
|
|
252
|
+
export type { EmployeeCompensations } from '@gusto/embedded-api/models/components/payrollreceipt';
|
|
242
253
|
/** `PayrollReceipt` entity from the Gusto Embedded API. */
|
|
243
254
|
export type { PayrollReceipt } from '@gusto/embedded-api/models/components/payrollreceipt';
|
|
244
|
-
/** `PayrollReceiptEmployeeCompensations` entity from the Gusto Embedded API. */
|
|
245
|
-
export type { PayrollReceiptEmployeeCompensations } from '@gusto/embedded-api/models/components/payrollreceipt';
|
|
246
255
|
/** `Taxes` entity from the Gusto Embedded API. */
|
|
247
256
|
export type { Taxes } from '@gusto/embedded-api/models/components/payrollreceipt';
|
|
248
257
|
export type { PayrollReceiptLicensee, PayrollReceiptTotals, } from '@gusto/embedded-api/models/components/payrollreceipt';
|
|
249
258
|
export { PayrollReceiptPaymentMethod } from '@gusto/embedded-api/models/components/payrollreceipt';
|
|
250
|
-
/** `EmployeeCompensations` entity from the Gusto Embedded API. */
|
|
251
|
-
export type { EmployeeCompensations } from '@gusto/embedded-api/models/components/payrollshow';
|
|
252
|
-
/** `OffCycleReasonType` entity from the Gusto Embedded API. */
|
|
253
|
-
export { OffCycleReasonType } from '@gusto/embedded-api/models/components/payrollshow';
|
|
254
|
-
/** `PayAdjustments` entity from the Gusto Embedded API. */
|
|
255
|
-
export type { PayAdjustments } from '@gusto/embedded-api/models/components/payrollshow';
|
|
256
|
-
/** `Payroll` entity from the Gusto Embedded API. */
|
|
257
|
-
export type { Payroll } from '@gusto/embedded-api/models/components/payrollshow';
|
|
258
|
-
/** `PayrollShow` entity from the Gusto Embedded API. */
|
|
259
|
-
export type { PayrollShow } from '@gusto/embedded-api/models/components/payrollshow';
|
|
260
|
-
/** `PayrollShowBenefits` entity from the Gusto Embedded API. */
|
|
261
|
-
export type { PayrollShowBenefits } from '@gusto/embedded-api/models/components/payrollshow';
|
|
262
|
-
/** `PayrollShowBreakdowns` entity from the Gusto Embedded API. */
|
|
263
|
-
export type { PayrollShowBreakdowns } from '@gusto/embedded-api/models/components/payrollshow';
|
|
264
|
-
/** `PayrollShowDeductions` entity from the Gusto Embedded API. */
|
|
265
|
-
export type { PayrollShowDeductions } from '@gusto/embedded-api/models/components/payrollshow';
|
|
266
|
-
/** `PayrollShowEmployeeCompensationsBreakdowns` entity from the Gusto Embedded API. */
|
|
267
|
-
export type { PayrollShowEmployeeCompensationsBreakdowns } from '@gusto/embedded-api/models/components/payrollshow';
|
|
268
|
-
/** `PayrollShowFixedCompensations` entity from the Gusto Embedded API. */
|
|
269
|
-
export type { PayrollShowFixedCompensations } from '@gusto/embedded-api/models/components/payrollshow';
|
|
270
|
-
/** `PayrollShowHourlyCompensations` entity from the Gusto Embedded API. */
|
|
271
|
-
export type { PayrollShowHourlyCompensations } from '@gusto/embedded-api/models/components/payrollshow';
|
|
272
|
-
/** `PayrollShowPaidTimeOff` entity from the Gusto Embedded API. */
|
|
273
|
-
export type { PayrollShowPaidTimeOff } from '@gusto/embedded-api/models/components/payrollshow';
|
|
274
|
-
/** `PayrollShowPaymentMethod` entity from the Gusto Embedded API. */
|
|
275
|
-
export { PayrollShowPaymentMethod } from '@gusto/embedded-api/models/components/payrollshow';
|
|
276
|
-
/** `PayrollShowReimbursements` entity from the Gusto Embedded API. */
|
|
277
|
-
export type { PayrollShowReimbursements } from '@gusto/embedded-api/models/components/payrollshow';
|
|
278
|
-
/** `PayrollShowState` entity from the Gusto Embedded API. */
|
|
279
|
-
export type { PayrollShowState } from '@gusto/embedded-api/models/components/payrollshow';
|
|
280
|
-
/** `PayrollShowTaxes` entity from the Gusto Embedded API. */
|
|
281
|
-
export type { PayrollShowTaxes } from '@gusto/embedded-api/models/components/payrollshow';
|
|
282
|
-
/** `PayrollWithholdingPayPeriodType` entity from the Gusto Embedded API. */
|
|
283
|
-
export { PayrollWithholdingPayPeriodType } from '@gusto/embedded-api/models/components/payrollshow';
|
|
284
|
-
/** `Workweeks` entity from the Gusto Embedded API. */
|
|
285
|
-
export type { Workweeks } from '@gusto/embedded-api/models/components/payrollshow';
|
|
286
|
-
export type { PayrollPrepared, PayrollShowCustomWithholdings, PayrollShowFederal, } from '@gusto/embedded-api/models/components/payrollshow';
|
|
287
|
-
export { PayrollShowAmountType, PayrollShowEmployeeCompensationsAmountType, PayrollShowEmployeeCompensationsCustomWithholdingsAmountType, PayrollShowEmployeeCompensationsOverrideType, PayrollShowOverrideType, } from '@gusto/embedded-api/models/components/payrollshow';
|
|
288
259
|
/** `UnblockOptions` entity from the Gusto Embedded API. */
|
|
289
260
|
export type { UnblockOptions } from '@gusto/embedded-api/models/components/payrollsubmissionblockertype';
|
|
290
261
|
export type { PayrollSubmissionBlockerType } from '@gusto/embedded-api/models/components/payrollsubmissionblockertype';
|
|
@@ -322,14 +293,20 @@ export type { PayScheduleAssignmentTransitionPayPeriod } from '@gusto/embedded-a
|
|
|
322
293
|
export type { PayScheduleAutoPayrollEnablementBlocker, PayScheduleAutoPayrollEnablementBlockerMetadata, } from '@gusto/embedded-api/models/components/payscheduleautopayrollenablementblocker';
|
|
323
294
|
export { WorkweekStartDay } from '@gusto/embedded-api/models/components/payschedulecreaterequest';
|
|
324
295
|
export { PayScheduleFrequency } from '@gusto/embedded-api/models/components/payschedulefrequency';
|
|
325
|
-
export type { PaySchedulePreviewPayPeriod } from '@gusto/embedded-api/models/components/payschedulepreviewpayperiod';
|
|
326
296
|
/** `PayScheduleWorkweekStartDay` entity from the Gusto Embedded API. */
|
|
327
|
-
export { PayScheduleWorkweekStartDay } from '@gusto/embedded-api/models/components/
|
|
328
|
-
export type { PayScheduleShow } from '@gusto/embedded-api/models/components/
|
|
297
|
+
export { PayScheduleWorkweekStartDay } from '@gusto/embedded-api/models/components/payschedulelistitem';
|
|
298
|
+
export type { PayScheduleShow } from '@gusto/embedded-api/models/components/payschedulelistitem';
|
|
299
|
+
export type { PaySchedulePreviewPayPeriod } from '@gusto/embedded-api/models/components/payschedulepreviewpayperiod';
|
|
329
300
|
export type { PrintablePayrollChecksBody } from '@gusto/embedded-api/models/components/printablepayrollchecksbody';
|
|
330
301
|
export { PrintingFormat } from '@gusto/embedded-api/models/components/printablepayrollchecksbody';
|
|
331
302
|
export type { RecoveryCase } from '@gusto/embedded-api/models/components/recoverycase';
|
|
332
303
|
export { RecoveryCaseStatus } from '@gusto/embedded-api/models/components/recoverycase';
|
|
304
|
+
/** `ShowEmployeesCurrentEmploymentStatus` entity from the Gusto Embedded API. */
|
|
305
|
+
export { ShowEmployeesCurrentEmploymentStatus } from '@gusto/embedded-api/models/components/showemployees';
|
|
306
|
+
/** `ShowEmployeesOnboardingStatus` entity from the Gusto Embedded API. */
|
|
307
|
+
export { ShowEmployeesOnboardingStatus } from '@gusto/embedded-api/models/components/showemployees';
|
|
308
|
+
export type { ShowEmployees, ShowEmployeesMemberPortalInvitationStatus, ShowEmployeesOnboardingDocumentsConfig, } from '@gusto/embedded-api/models/components/showemployees';
|
|
309
|
+
export { ShowEmployeesPaymentMethod, ShowEmployeesStatus, } from '@gusto/embedded-api/models/components/showemployees';
|
|
333
310
|
/** `IdentityVerificationStatus` entity from the Gusto Embedded API. */
|
|
334
311
|
export { IdentityVerificationStatus } from '@gusto/embedded-api/models/components/signatory';
|
|
335
312
|
/** `SignatoryHomeAddress` entity from the Gusto Embedded API. */
|
|
@@ -362,6 +339,44 @@ export type { TimeOffPolicy } from '@gusto/embedded-api/models/components/timeof
|
|
|
362
339
|
export { PolicyType } from '@gusto/embedded-api/models/components/timeoffpolicy';
|
|
363
340
|
export type { TimeOffPolicyRequest } from '@gusto/embedded-api/models/components/timeoffpolicyrequest';
|
|
364
341
|
export { AccrualMethod, TimeOffPolicyRequestPolicyType, } from '@gusto/embedded-api/models/components/timeoffpolicyrequest';
|
|
342
|
+
/** `OffCycleReasonType` entity from the Gusto Embedded API. */
|
|
343
|
+
export { OffCycleReasonType } from '@gusto/embedded-api/models/components/unprocessedpayroll';
|
|
344
|
+
/** `PayAdjustments` entity from the Gusto Embedded API. */
|
|
345
|
+
export type { PayAdjustments } from '@gusto/embedded-api/models/components/unprocessedpayroll';
|
|
346
|
+
/** `Payroll` entity from the Gusto Embedded API. */
|
|
347
|
+
export type { Payroll } from '@gusto/embedded-api/models/components/unprocessedpayroll';
|
|
348
|
+
/** `PayrollShow` entity from the Gusto Embedded API. */
|
|
349
|
+
export type { PayrollShow } from '@gusto/embedded-api/models/components/unprocessedpayroll';
|
|
350
|
+
/** `PayrollShowBenefits` entity from the Gusto Embedded API. */
|
|
351
|
+
export type { PayrollShowBenefits } from '@gusto/embedded-api/models/components/unprocessedpayroll';
|
|
352
|
+
/** `PayrollShowBreakdowns` entity from the Gusto Embedded API. */
|
|
353
|
+
export type { PayrollShowBreakdowns } from '@gusto/embedded-api/models/components/unprocessedpayroll';
|
|
354
|
+
/** `PayrollShowDeductions` entity from the Gusto Embedded API. */
|
|
355
|
+
export type { PayrollShowDeductions } from '@gusto/embedded-api/models/components/unprocessedpayroll';
|
|
356
|
+
/** `PayrollShowEmployeeCompensations` entity from the Gusto Embedded API. */
|
|
357
|
+
export type { PayrollShowEmployeeCompensations } from '@gusto/embedded-api/models/components/unprocessedpayroll';
|
|
358
|
+
/** `PayrollShowEmployeeCompensationsBreakdowns` entity from the Gusto Embedded API. */
|
|
359
|
+
export type { PayrollShowEmployeeCompensationsBreakdowns } from '@gusto/embedded-api/models/components/unprocessedpayroll';
|
|
360
|
+
/** `PayrollShowFixedCompensations` entity from the Gusto Embedded API. */
|
|
361
|
+
export type { PayrollShowFixedCompensations } from '@gusto/embedded-api/models/components/unprocessedpayroll';
|
|
362
|
+
/** `PayrollShowHourlyCompensations` entity from the Gusto Embedded API. */
|
|
363
|
+
export type { PayrollShowHourlyCompensations } from '@gusto/embedded-api/models/components/unprocessedpayroll';
|
|
364
|
+
/** `PayrollShowPaidTimeOff` entity from the Gusto Embedded API. */
|
|
365
|
+
export type { PayrollShowPaidTimeOff } from '@gusto/embedded-api/models/components/unprocessedpayroll';
|
|
366
|
+
/** `PayrollShowPaymentMethod` entity from the Gusto Embedded API. */
|
|
367
|
+
export { PayrollShowPaymentMethod } from '@gusto/embedded-api/models/components/unprocessedpayroll';
|
|
368
|
+
/** `PayrollShowReimbursements` entity from the Gusto Embedded API. */
|
|
369
|
+
export type { PayrollShowReimbursements } from '@gusto/embedded-api/models/components/unprocessedpayroll';
|
|
370
|
+
/** `PayrollShowState` entity from the Gusto Embedded API. */
|
|
371
|
+
export type { PayrollShowState } from '@gusto/embedded-api/models/components/unprocessedpayroll';
|
|
372
|
+
/** `PayrollShowTaxes` entity from the Gusto Embedded API. */
|
|
373
|
+
export type { PayrollShowTaxes } from '@gusto/embedded-api/models/components/unprocessedpayroll';
|
|
374
|
+
/** `PayrollWithholdingPayPeriodType` entity from the Gusto Embedded API. */
|
|
375
|
+
export { PayrollWithholdingPayPeriodType } from '@gusto/embedded-api/models/components/unprocessedpayroll';
|
|
376
|
+
/** `Workweeks` entity from the Gusto Embedded API. */
|
|
377
|
+
export type { Workweeks } from '@gusto/embedded-api/models/components/unprocessedpayroll';
|
|
378
|
+
export type { PayrollPrepared, PayrollShowCustomWithholdings, PayrollShowFederal, } from '@gusto/embedded-api/models/components/unprocessedpayroll';
|
|
379
|
+
export { PayrollShowAmountType, PayrollShowEmployeeCompensationsAmountType, PayrollShowEmployeeCompensationsCustomWithholdingsAmountType, PayrollShowEmployeeCompensationsOverrideType, PayrollShowOverrideType, } from '@gusto/embedded-api/models/components/unprocessedpayroll';
|
|
365
380
|
export type { UnprocessedTerminationPayPeriod } from '@gusto/embedded-api/models/components/unprocessedterminationpayperiod';
|
|
366
381
|
/** `WarningObject` entity from the Gusto Embedded API. */
|
|
367
382
|
export type { WarningObject } from '@gusto/embedded-api/models/components/warningobject';
|