diff --git a/.reports/embedded-react-sdk.api.md b/.reports/embedded-react-sdk.api.md index 00ce7c43e..52fdd73f7 100644 --- a/.reports/embedded-react-sdk.api.md +++ b/.reports/embedded-react-sdk.api.md @@ -4,274 +4,274 @@ ```ts -import { AccountType as AccountType_2 } from '@gusto/embedded-api-v-2025-11-15/models/components/companybankaccount'; -import { AccrualMethod } from '@gusto/embedded-api-v-2025-11-15/models/components/timeoffpolicyrequest'; -import { Address } from '@gusto/embedded-api-v-2025-11-15/models/components/contractor'; -import { AfterErrorContext } from '@gusto/embedded-api-v-2025-11-15/hooks/types'; -import { AfterErrorHook } from '@gusto/embedded-api-v-2025-11-15/hooks/types'; -import { AfterSuccessContext } from '@gusto/embedded-api-v-2025-11-15/hooks/types'; -import { AfterSuccessHook } from '@gusto/embedded-api-v-2025-11-15/hooks/types'; -import { Agencies } from '@gusto/embedded-api-v-2025-11-15/models/components/childsupportdata'; -import { AmountType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollemployeecompensationstype'; +import { AccountType as AccountType_2 } from '@gusto/embedded-api-v-2026-02-01/models/components/companybankaccount'; +import { AccrualMethod } from '@gusto/embedded-api-v-2026-02-01/models/components/timeoffpolicyrequest'; +import { Address } from '@gusto/embedded-api-v-2026-02-01/models/components/contractor'; +import { AfterErrorContext } from '@gusto/embedded-api-v-2026-02-01/hooks/types'; +import { AfterErrorHook } from '@gusto/embedded-api-v-2026-02-01/hooks/types'; +import { AfterSuccessContext } from '@gusto/embedded-api-v-2026-02-01/hooks/types'; +import { AfterSuccessHook } from '@gusto/embedded-api-v-2026-02-01/hooks/types'; +import { Agencies } from '@gusto/embedded-api-v-2026-02-01/models/components/childsupportdata'; +import { AmountType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollemployeecompensationstype'; import { AnchorHTMLAttributes } from 'react'; -import { Answers } from '@gusto/embedded-api-v-2025-11-15/models/components/employeestatetaxesrequest'; -import { ApplicableIf } from '@gusto/embedded-api-v-2025-11-15/models/components/taxrequirement'; +import { Answers } from '@gusto/embedded-api-v-2026-02-01/models/components/employeestatetaxesrequest'; +import { ApplicableIf } from '@gusto/embedded-api-v-2026-02-01/models/components/taxrequirement'; import { AriaAttributes } from 'react'; -import { AuthorizationStatus } from '@gusto/embedded-api-v-2025-11-15/models/components/i9authorization'; -import { BeforeCreateRequestContext } from '@gusto/embedded-api-v-2025-11-15/hooks/types'; -import { BeforeCreateRequestHook } from '@gusto/embedded-api-v-2025-11-15/hooks/types'; -import { BeforeRequestContext } from '@gusto/embedded-api-v-2025-11-15/hooks/types'; -import { BeforeRequestHook } from '@gusto/embedded-api-v-2025-11-15/hooks/types'; +import { AuthorizationStatus } from '@gusto/embedded-api-v-2026-02-01/models/components/i9authorization'; +import { BeforeCreateRequestContext } from '@gusto/embedded-api-v-2026-02-01/hooks/types'; +import { BeforeCreateRequestHook } from '@gusto/embedded-api-v-2026-02-01/hooks/types'; +import { BeforeRequestContext } from '@gusto/embedded-api-v-2026-02-01/hooks/types'; +import { BeforeRequestHook } from '@gusto/embedded-api-v-2026-02-01/hooks/types'; import { ButtonHTMLAttributes } from 'react'; -import { ChildSupportDataKey } from '@gusto/embedded-api-v-2025-11-15/models/components/childsupportdata'; -import { ChristmasDay } from '@gusto/embedded-api-v-2025-11-15/models/components/holidaypaypolicy'; -import { ColumbusDay } from '@gusto/embedded-api-v-2025-11-15/models/components/holidaypaypolicy'; -import { CompanyBankAccount } from '@gusto/embedded-api-v-2025-11-15/models/components/companybankaccount'; -import { CompanyOnboardingStatusRequirements } from '@gusto/embedded-api-v-2025-11-15/models/components/companyonboardingstatus'; -import { Compensation } from '@gusto/embedded-api-v-2025-11-15/models/components/compensation'; +import { ChildSupportDataKey } from '@gusto/embedded-api-v-2026-02-01/models/components/childsupportdata'; +import { ChristmasDay } from '@gusto/embedded-api-v-2026-02-01/models/components/holidaypaypolicy'; +import { ColumbusDay } from '@gusto/embedded-api-v-2026-02-01/models/components/holidaypaypolicy'; +import { CompanyBankAccount } from '@gusto/embedded-api-v-2026-02-01/models/components/companybankaccount'; +import { CompanyOnboardingStatusRequirements } from '@gusto/embedded-api-v-2026-02-01/models/components/companyonboardingstatus'; +import { Compensation } from '@gusto/embedded-api-v-2026-02-01/models/components/compensation'; import { ComponentType } from 'react'; -import { Contractor } from '@gusto/embedded-api-v-2025-11-15/models/components/contractor'; -import { ContractorAddress } from '@gusto/embedded-api-v-2025-11-15/models/components/contractoraddress'; -import { ContractorBankAccount } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorbankaccount'; -import { ContractorBankAccountAccountType } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorbankaccount'; -import { ContractorCreateRequestBody } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorcreaterequestbody'; -import { ContractorCreateRequestBodyType } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorcreaterequestbody'; -import { ContractorCreateRequestBodyWageType } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorcreaterequestbody'; -import { ContractorMemberPortalInvitationStatus } from '@gusto/embedded-api-v-2025-11-15/models/components/contractor'; -import { ContractorOnboardingStatus1 } from '@gusto/embedded-api-v-2025-11-15/models/components/contractor'; -import { ContractorPaymentForGroup } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentforgroup'; -import { ContractorPaymentForGroupPaymentMethod } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentforgroup'; -import { ContractorPaymentForGroupPreview } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentforgrouppreview'; -import { ContractorPaymentForGroupPreviewPaymentMethod } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentforgrouppreview'; -import { ContractorPaymentForGroupPreviewStatus } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentforgrouppreview'; -import { ContractorPaymentForGroupPreviewWageType } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentforgrouppreview'; -import { ContractorPaymentForGroupStatus } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentforgroup'; -import { ContractorPaymentForGroupWageType } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentforgroup'; -import { ContractorPaymentGroup } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentgroup'; -import { ContractorPaymentGroupPreview } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentgrouppreview'; -import { ContractorPaymentGroupPreviewStatus } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentgrouppreview'; -import { ContractorPaymentGroupPreviewTotals } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentgrouppreview'; -import { ContractorPaymentGroupStatus } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentgroup'; -import { ContractorPaymentGroupTotals } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentgroup'; -import { ContractorPaymentGroupWithBlockers } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentgroupwithblockers'; -import { ContractorPaymentGroupWithBlockersStatus } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentgroupwithblockers'; -import { ContractorPaymentGroupWithBlockersTotals } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentgroupwithblockers'; -import { ContractorPaymentMethod } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentmethod'; -import { ContractorPaymentMethod1 } from '@gusto/embedded-api-v-2025-11-15/models/components/contractor'; -import { ContractorPaymentMethodSplitBy } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentmethod'; -import { ContractorPaymentMethodType } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentmethod'; -import { ContractorPaymentReceipt } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentreceipt'; -import { ContractorPaymentReceiptLicensee } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentreceipt'; -import { ContractorPaymentReceiptPaymentMethod } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentreceipt'; -import { ContractorPaymentReceiptTotals } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentreceipt'; -import { ContractorPayments } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentreceipt'; -import { ContractorStatus } from '@gusto/embedded-api-v-2025-11-15/models/components/contractor'; -import { ContractorType as ContractorType_2 } from '@gusto/embedded-api-v-2025-11-15/models/components/contractor'; -import { ContractorUpdateRequestBody } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorupdaterequestbody'; -import { ContractorUpdateRequestBodyType } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorupdaterequestbody'; -import { ContractorUpdateRequestBodyWageType } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorupdaterequestbody'; +import { Contractor } from '@gusto/embedded-api-v-2026-02-01/models/components/contractor'; +import { ContractorAddress } from '@gusto/embedded-api-v-2026-02-01/models/components/contractoraddress'; +import { ContractorBankAccount } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorbankaccount'; +import { ContractorBankAccountAccountType } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorbankaccount'; +import { ContractorCreateRequestBody } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorcreaterequestbody'; +import { ContractorCreateRequestBodyType } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorcreaterequestbody'; +import { ContractorCreateRequestBodyWageType } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorcreaterequestbody'; +import { ContractorMemberPortalInvitationStatus } from '@gusto/embedded-api-v-2026-02-01/models/components/contractor'; +import { ContractorOnboardingStatus1 } from '@gusto/embedded-api-v-2026-02-01/models/components/contractor'; +import { ContractorPaymentForGroup } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentforgroup'; +import { ContractorPaymentForGroupPaymentMethod } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentforgroup'; +import { ContractorPaymentForGroupPreview } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentforgrouppreview'; +import { ContractorPaymentForGroupPreviewPaymentMethod } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentforgrouppreview'; +import { ContractorPaymentForGroupPreviewStatus } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentforgrouppreview'; +import { ContractorPaymentForGroupPreviewWageType } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentforgrouppreview'; +import { ContractorPaymentForGroupStatus } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentforgroup'; +import { ContractorPaymentForGroupWageType } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentforgroup'; +import { ContractorPaymentGroup } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentgroup'; +import { ContractorPaymentGroupPreview } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentgrouppreview'; +import { ContractorPaymentGroupPreviewStatus } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentgrouppreview'; +import { ContractorPaymentGroupPreviewTotals } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentgrouppreview'; +import { ContractorPaymentGroupStatus } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentgroup'; +import { ContractorPaymentGroupTotals } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentgroup'; +import { ContractorPaymentGroupWithBlockers } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentgroupwithblockers'; +import { ContractorPaymentGroupWithBlockersStatus } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentgroupwithblockers'; +import { ContractorPaymentGroupWithBlockersTotals } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentgroupwithblockers'; +import { ContractorPaymentMethod } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentmethod'; +import { ContractorPaymentMethod1 } from '@gusto/embedded-api-v-2026-02-01/models/components/contractor'; +import { ContractorPaymentMethodSplitBy } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentmethod'; +import { ContractorPaymentMethodType } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentmethod'; +import { ContractorPaymentReceipt } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentreceipt'; +import { ContractorPaymentReceiptLicensee } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentreceipt'; +import { ContractorPaymentReceiptPaymentMethod } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentreceipt'; +import { ContractorPaymentReceiptTotals } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentreceipt'; +import { ContractorPayments } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentreceipt'; +import { ContractorStatus } from '@gusto/embedded-api-v-2026-02-01/models/components/contractor'; +import { ContractorType as ContractorType_2 } from '@gusto/embedded-api-v-2026-02-01/models/components/contractor'; +import { ContractorUpdateRequestBody } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorupdaterequestbody'; +import { ContractorUpdateRequestBodyType } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorupdaterequestbody'; +import { ContractorUpdateRequestBodyWageType } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorupdaterequestbody'; import { Control } from 'react-hook-form'; -import { CustomFieldType } from '@gusto/embedded-api-v-2025-11-15/models/components/customfieldtype'; +import { CustomFieldType } from '@gusto/embedded-api-v-2026-02-01/models/components/customfieldtype'; import { CustomTypeOptions } from 'i18next'; -import { Deductions } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollemployeecompensationstype'; +import { Deductions } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollemployeecompensationstype'; import { default as default_2 } from 'react'; -import { Document as Document_2 } from '@gusto/embedded-api-v-2025-11-15/models/components/document'; -import { DocumentType as DocumentType_2 } from '@gusto/embedded-api-v-2025-11-15/models/components/i9authorization'; -import { EinVerification } from '@gusto/embedded-api-v-2025-11-15/models/components/federaltaxdetails'; -import { Employee } from '@gusto/embedded-api-v-2025-11-15/models/components/employee'; -import { EmployeeAddress } from '@gusto/embedded-api-v-2025-11-15/models/components/employeeaddress'; -import { EmployeeBankAccount } from '@gusto/embedded-api-v-2025-11-15/models/components/employeebankaccount'; -import { EmployeeBankAccountAccountType } from '@gusto/embedded-api-v-2025-11-15/models/components/employeebankaccount'; -import { EmployeeCompensations } from '@gusto/embedded-api-v-2025-11-15/models/components/payroll'; -import { EmployeeCurrentEmploymentStatus } from '@gusto/embedded-api-v-2025-11-15/models/components/employee'; -import { EmployeeCustomField } from '@gusto/embedded-api-v-2025-11-15/models/components/employeecustomfield'; -import { EmployeeFederalTax } from '@gusto/embedded-api-v-2025-11-15/models/components/employeefederaltax'; -import { EmployeeFederalTaxPre2020 } from '@gusto/embedded-api-v-2025-11-15/models/components/employeefederaltaxpre2020'; -import { EmployeeFederalTaxRev2020 } from '@gusto/embedded-api-v-2025-11-15/models/components/employeefederaltaxrev2020'; -import { EmployeeMemberPortalInvitationStatus } from '@gusto/embedded-api-v-2025-11-15/models/components/employee'; -import { EmployeeOnboardingDocumentsConfig } from '@gusto/embedded-api-v-2025-11-15/models/components/employee'; -import { EmployeeOnboardingStatus1 } from '@gusto/embedded-api-v-2025-11-15/models/components/employee'; -import { EmployeeOnboardingStatus as EmployeeOnboardingStatus_2 } from '@gusto/embedded-api-v-2025-11-15/models/components/employeeonboardingstatus'; -import { EmployeeOnboardingStatusOnboardingStep } from '@gusto/embedded-api-v-2025-11-15/models/components/employeeonboardingstatus'; -import { EmployeePaymentMethod } from '@gusto/embedded-api-v-2025-11-15/models/components/employeepaymentmethod'; -import { EmployeePaymentMethod1 } from '@gusto/embedded-api-v-2025-11-15/models/components/employee'; -import { EmployeePaymentMethodSplitBy } from '@gusto/embedded-api-v-2025-11-15/models/components/employeepaymentmethod'; -import { EmployeePaymentMethodType } from '@gusto/embedded-api-v-2025-11-15/models/components/employeepaymentmethod'; -import { EmployeeStateTaxAnswer } from '@gusto/embedded-api-v-2025-11-15/models/components/employeestatetaxanswer'; -import { EmployeeStateTaxesList } from '@gusto/embedded-api-v-2025-11-15/models/components/employeestatetaxeslist'; -import { EmployeeStateTaxesRequest } from '@gusto/embedded-api-v-2025-11-15/models/components/employeestatetaxesrequest'; -import { EmployeeStateTaxInputQuestionFormat } from '@gusto/embedded-api-v-2025-11-15/models/components/employeestatetaxinputquestionformat'; -import { EmployeeStateTaxQuestion } from '@gusto/embedded-api-v-2025-11-15/models/components/employeestatetaxquestion'; -import { EmployeeStatus } from '@gusto/embedded-api-v-2025-11-15/models/components/employee'; -import { EmployeeWorkAddress } from '@gusto/embedded-api-v-2025-11-15/models/components/employeeworkaddress'; -import { EntityErrorObject } from '@gusto/embedded-api-v-2025-11-15/models/components/entityerrorobject'; +import { Document as Document_2 } from '@gusto/embedded-api-v-2026-02-01/models/components/document'; +import { DocumentType as DocumentType_2 } from '@gusto/embedded-api-v-2026-02-01/models/components/i9authorization'; +import { EinVerification } from '@gusto/embedded-api-v-2026-02-01/models/components/federaltaxdetails'; +import { Employee } from '@gusto/embedded-api-v-2026-02-01/models/components/employee'; +import { EmployeeAddress } from '@gusto/embedded-api-v-2026-02-01/models/components/employeeaddress'; +import { EmployeeBankAccount } from '@gusto/embedded-api-v-2026-02-01/models/components/employeebankaccount'; +import { EmployeeBankAccountAccountType } from '@gusto/embedded-api-v-2026-02-01/models/components/employeebankaccount'; +import { EmployeeCompensations } from '@gusto/embedded-api-v-2026-02-01/models/components/payroll'; +import { EmployeeCurrentEmploymentStatus } from '@gusto/embedded-api-v-2026-02-01/models/components/employee'; +import { EmployeeCustomField } from '@gusto/embedded-api-v-2026-02-01/models/components/employeecustomfield'; +import { EmployeeFederalTax } from '@gusto/embedded-api-v-2026-02-01/models/components/employeefederaltax'; +import { EmployeeFederalTaxPre2020 } from '@gusto/embedded-api-v-2026-02-01/models/components/employeefederaltaxpre2020'; +import { EmployeeFederalTaxRev2020 } from '@gusto/embedded-api-v-2026-02-01/models/components/employeefederaltaxrev2020'; +import { EmployeeMemberPortalInvitationStatus } from '@gusto/embedded-api-v-2026-02-01/models/components/employee'; +import { EmployeeOnboardingDocumentsConfig } from '@gusto/embedded-api-v-2026-02-01/models/components/employee'; +import { EmployeeOnboardingStatus1 } from '@gusto/embedded-api-v-2026-02-01/models/components/employee'; +import { EmployeeOnboardingStatus as EmployeeOnboardingStatus_2 } from '@gusto/embedded-api-v-2026-02-01/models/components/employeeonboardingstatus'; +import { EmployeeOnboardingStatusOnboardingStep } from '@gusto/embedded-api-v-2026-02-01/models/components/employeeonboardingstatus'; +import { EmployeePaymentMethod } from '@gusto/embedded-api-v-2026-02-01/models/components/employeepaymentmethod'; +import { EmployeePaymentMethod1 } from '@gusto/embedded-api-v-2026-02-01/models/components/employee'; +import { EmployeePaymentMethodSplitBy } from '@gusto/embedded-api-v-2026-02-01/models/components/employeepaymentmethod'; +import { EmployeePaymentMethodType } from '@gusto/embedded-api-v-2026-02-01/models/components/employeepaymentmethod'; +import { EmployeeStateTaxAnswer } from '@gusto/embedded-api-v-2026-02-01/models/components/employeestatetaxanswer'; +import { EmployeeStateTaxesList } from '@gusto/embedded-api-v-2026-02-01/models/components/employeestatetaxeslist'; +import { EmployeeStateTaxesRequest } from '@gusto/embedded-api-v-2026-02-01/models/components/employeestatetaxesrequest'; +import { EmployeeStateTaxInputQuestionFormat } from '@gusto/embedded-api-v-2026-02-01/models/components/employeestatetaxinputquestionformat'; +import { EmployeeStateTaxQuestion } from '@gusto/embedded-api-v-2026-02-01/models/components/employeestatetaxquestion'; +import { EmployeeStatus } from '@gusto/embedded-api-v-2026-02-01/models/components/employee'; +import { EmployeeWorkAddress } from '@gusto/embedded-api-v-2026-02-01/models/components/employeeworkaddress'; +import { EntityErrorObject } from '@gusto/embedded-api-v-2026-02-01/models/components/entityerrorobject'; import { ErrorInfo } from 'react'; import { FallbackProps } from 'react-error-boundary'; -import { FederalHolidays } from '@gusto/embedded-api-v-2025-11-15/models/components/holidaypaypolicy'; -import { FederalTaxDetails } from '@gusto/embedded-api-v-2025-11-15/models/components/federaltaxdetails'; -import { FederalTaxDetailsStatus } from '@gusto/embedded-api-v-2025-11-15/models/components/federaltaxdetails'; -import { Fields } from '@gusto/embedded-api-v-2025-11-15/models/components/document'; +import { FederalHolidays } from '@gusto/embedded-api-v-2026-02-01/models/components/holidaypaypolicy'; +import { FederalTaxDetails } from '@gusto/embedded-api-v-2026-02-01/models/components/federaltaxdetails'; +import { FederalTaxDetailsStatus } from '@gusto/embedded-api-v-2026-02-01/models/components/federaltaxdetails'; +import { Fields } from '@gusto/embedded-api-v-2026-02-01/models/components/document'; import { FieldsetHTMLAttributes } from 'react'; import { FieldValues } from 'react-hook-form'; -import { FilingForm } from '@gusto/embedded-api-v-2025-11-15/models/components/federaltaxdetails'; -import { FipsCodes } from '@gusto/embedded-api-v-2025-11-15/models/components/childsupportdata'; -import { FlsaStatusType } from '@gusto/embedded-api-v-2025-11-15/models/components/flsastatustype'; +import { FilingForm } from '@gusto/embedded-api-v-2026-02-01/models/components/federaltaxdetails'; +import { FipsCodes } from '@gusto/embedded-api-v-2026-02-01/models/components/childsupportdata'; +import { FlsaStatusType } from '@gusto/embedded-api-v-2026-02-01/models/components/flsastatustype'; import { FocusEvent as FocusEvent_2 } from 'react'; -import { Form } from '@gusto/embedded-api-v-2025-11-15/models/components/form'; +import { Form } from '@gusto/embedded-api-v-2026-02-01/models/components/form'; import { FunctionComponent } from 'react'; -import { Garnishment } from '@gusto/embedded-api-v-2025-11-15/models/components/garnishment'; -import { GarnishmentChildSupport } from '@gusto/embedded-api-v-2025-11-15/models/components/garnishmentchildsupport'; -import { GarnishmentType } from '@gusto/embedded-api-v-2025-11-15/models/components/garnishment'; -import { HolidayPayPolicy } from '@gusto/embedded-api-v-2025-11-15/models/components/holidaypaypolicy'; -import { HolidayPayPolicyEmployees } from '@gusto/embedded-api-v-2025-11-15/models/components/holidaypaypolicy'; -import { HomeAddress } from '@gusto/embedded-api-v-2025-11-15/models/components/signatory'; +import { Garnishment } from '@gusto/embedded-api-v-2026-02-01/models/components/garnishment'; +import { GarnishmentChildSupport } from '@gusto/embedded-api-v-2026-02-01/models/components/garnishmentchildsupport'; +import { GarnishmentType } from '@gusto/embedded-api-v-2026-02-01/models/components/garnishment'; +import { HolidayPayPolicy } from '@gusto/embedded-api-v-2026-02-01/models/components/holidaypaypolicy'; +import { HolidayPayPolicyEmployees } from '@gusto/embedded-api-v-2026-02-01/models/components/holidaypaypolicy'; +import { HomeAddress } from '@gusto/embedded-api-v-2026-02-01/models/components/signatory'; import { HTMLAttributes } from 'react'; -import { Id } from '@gusto/embedded-api-v-2025-11-15/models/components/companyonboardingstatus'; -import { IdentityVerificationStatus } from '@gusto/embedded-api-v-2025-11-15/models/components/signatory'; -import { IndependenceDay } from '@gusto/embedded-api-v-2025-11-15/models/components/holidaypaypolicy'; -import { InformationRequest } from '@gusto/embedded-api-v-2025-11-15/models/components/informationrequest'; -import { InformationRequestStatus } from '@gusto/embedded-api-v-2025-11-15/models/components/informationrequest'; -import { InformationRequestType } from '@gusto/embedded-api-v-2025-11-15/models/components/informationrequest'; +import { Id } from '@gusto/embedded-api-v-2026-02-01/models/components/companyonboardingstatus'; +import { IdentityVerificationStatus } from '@gusto/embedded-api-v-2026-02-01/models/components/signatory'; +import { IndependenceDay } from '@gusto/embedded-api-v-2026-02-01/models/components/holidaypaypolicy'; +import { InformationRequest } from '@gusto/embedded-api-v-2026-02-01/models/components/informationrequest'; +import { InformationRequestStatus } from '@gusto/embedded-api-v-2026-02-01/models/components/informationrequest'; +import { InformationRequestType } from '@gusto/embedded-api-v-2026-02-01/models/components/informationrequest'; import { InputHTMLAttributes } from 'react'; -import { Job } from '@gusto/embedded-api-v-2025-11-15/models/components/job'; +import { Job } from '@gusto/embedded-api-v-2026-02-01/models/components/job'; import { JSX } from 'react'; import { JSXElementConstructor } from 'react'; -import { Juneteenth } from '@gusto/embedded-api-v-2025-11-15/models/components/holidaypaypolicy'; -import { LaborDay } from '@gusto/embedded-api-v-2025-11-15/models/components/holidaypaypolicy'; -import { Licensee } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollreceipt'; -import { Location as Location_2 } from '@gusto/embedded-api-v-2025-11-15/models/components/location'; -import { MemorialDay } from '@gusto/embedded-api-v-2025-11-15/models/components/holidaypaypolicy'; -import { MetadataWithMultipleEntities } from '@gusto/embedded-api-v-2025-11-15/models/components/metadatawithmultipleentities'; -import { MetadataWithOneEntity } from '@gusto/embedded-api-v-2025-11-15/models/components/metadatawithoneentity'; -import { MinimumWage } from '@gusto/embedded-api-v-2025-11-15/models/components/minimumwage'; -import { MinimumWages } from '@gusto/embedded-api-v-2025-11-15/models/components/compensation'; -import { MlkDay } from '@gusto/embedded-api-v-2025-11-15/models/components/holidaypaypolicy'; -import { Name } from '@gusto/embedded-api-v-2025-11-15/models/components/paidtimeoff'; -import { NewYearsDay } from '@gusto/embedded-api-v-2025-11-15/models/components/holidaypaypolicy'; -import { OffCycleReasonType } from '@gusto/embedded-api-v-2025-11-15/models/components/payroll'; -import { OnboardingStep } from '@gusto/embedded-api-v-2025-11-15/models/components/companyonboardingstatus'; -import { Options } from '@gusto/embedded-api-v-2025-11-15/models/components/employeestatetaxinputquestionformat'; -import { Pages } from '@gusto/embedded-api-v-2025-11-15/models/components/document'; -import { PaidTimeOff } from '@gusto/embedded-api-v-2025-11-15/models/components/paidtimeoff'; -import { PaymentMethodBankAccount } from '@gusto/embedded-api-v-2025-11-15/models/components/paymentmethodbankaccount'; -import { PaymentPeriod } from '@gusto/embedded-api-v-2025-11-15/models/components/garnishmentchildsupport'; -import { PaymentSpeed } from '@gusto/embedded-api-v-2025-11-15/models/components/paymentconfigs'; -import { PaymentType } from '@gusto/embedded-api-v-2025-11-15/models/components/wireinrequest'; -import { PaymentUnit } from '@gusto/embedded-api-v-2025-11-15/models/components/compensation'; -import { PayPeriod } from '@gusto/embedded-api-v-2025-11-15/models/components/payperiod'; -import { PayPeriodPayroll } from '@gusto/embedded-api-v-2025-11-15/models/components/payperiod'; -import { Payroll as Payroll_2 } from '@gusto/embedded-api-v-2025-11-15/models/components/payroll'; -import { PayrollCompanyTaxesType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollcompanytaxestype'; -import { PayrollCreditBlockerType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollcreditblockertype'; -import { PayrollCreditBlockerTypeStatus } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollcreditblockertype'; -import { PayrollCreditBlockerTypeUnblockOptions } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollcreditblockertype'; -import { PayrollCreditBlockerUnblockOptionRespondToHighRiskFraudRfi } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollcreditblockerunblockoptionrespondtohighriskfraudrfi'; -import { PayrollCreditBlockerUnblockOptionRespondToHighRiskFraudRfiMetadata } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollcreditblockerunblockoptionrespondtohighriskfraudrfi'; -import { PayrollCreditBlockerUnblockOptionSubmitBankScreenshot } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollcreditblockerunblockoptionsubmitbankscreenshot'; -import { PayrollCreditBlockerUnblockOptionSubmitBankScreenshotMetadata } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollcreditblockerunblockoptionsubmitbankscreenshot'; -import { PayrollCreditBlockerUnblockOptionSubmitWire } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollcreditblockerunblockoptionsubmitwire'; -import { PayrollCreditBlockerUnblockOptionSubmitWireMetadata } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollcreditblockerunblockoptionsubmitwire'; -import { PayrollCreditBlockerUnblockOptionWaitForReverseWire } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollcreditblockerunblockoptionwaitforreversewire'; -import { PayrollCreditBlockerUnblockOptionWaitForReverseWireMetadata } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollcreditblockerunblockoptionwaitforreversewire'; -import { PayrollEmployeeCompensationsType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollemployeecompensationstype'; -import { PayrollEmployeeCompensationsTypeFixedCompensations } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollemployeecompensationstype'; -import { PayrollEmployeeCompensationsTypeHourlyCompensations } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollemployeecompensationstype'; -import { PayrollEmployeeCompensationsTypePaidTimeOff } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollemployeecompensationstype'; -import { PayrollEmployeeCompensationsTypePaymentMethod } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollemployeecompensationstype'; -import { PayrollEmployeeCompensationsTypeReimbursements } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollemployeecompensationstype'; -import { PayrollFixedCompensationTypesType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollfixedcompensationtypestype'; -import { PayrollPaymentSpeedChangedType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollpaymentspeedchangedtype'; -import { PayrollPayPeriodType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollpayperiodtype'; -import { PayrollPayrollStatusMetaType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollpayrollstatusmetatype'; -import { PayrollPrepared } from '@gusto/embedded-api-v-2025-11-15/models/components/payroll'; -import { PayrollProcessingRequest } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollprocessingrequest'; -import { PayrollProcessingRequestStatus } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollprocessingrequest'; -import { PayrollReceipt } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollreceipt'; -import { PayrollReceiptEmployeeCompensations } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollreceipt'; -import { PayrollReceiptPaymentMethod } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollreceipt'; -import { PayrollShow } from '@gusto/embedded-api-v-2025-11-15/models/components/payroll'; -import { PayrollShowAmountType } from '@gusto/embedded-api-v-2025-11-15/models/components/payroll'; -import { PayrollShowBenefits } from '@gusto/embedded-api-v-2025-11-15/models/components/payroll'; -import { PayrollShowDeductions } from '@gusto/embedded-api-v-2025-11-15/models/components/payroll'; -import { PayrollShowFixedCompensations } from '@gusto/embedded-api-v-2025-11-15/models/components/payroll'; -import { PayrollShowHourlyCompensations } from '@gusto/embedded-api-v-2025-11-15/models/components/payroll'; -import { PayrollShowPaidTimeOff } from '@gusto/embedded-api-v-2025-11-15/models/components/payroll'; -import { PayrollShowPaymentMethod } from '@gusto/embedded-api-v-2025-11-15/models/components/payroll'; -import { PayrollShowReimbursements } from '@gusto/embedded-api-v-2025-11-15/models/components/payroll'; -import { PayrollShowTaxes } from '@gusto/embedded-api-v-2025-11-15/models/components/payroll'; -import { PayrollSubmissionBlockerType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollsubmissionblockertype'; -import { PayrollSubmissionBlockerTypeStatus } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollsubmissionblockertype'; -import { PayrollTaxesType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrolltaxestype'; -import { PayrollTotalsType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrolltotalstype'; -import { PayrollType } from '@gusto/embedded-api-v-2025-11-15/models/components/payperiod'; -import { PayrollUpdateAmountType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollupdate'; -import { PayrollUpdateDeductions } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollupdate'; -import { PayrollUpdateEmployeeCompensations } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollupdate'; -import { PayrollUpdateFixedCompensations } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollupdate'; -import { PayrollUpdateHourlyCompensations } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollupdate'; -import { PayrollUpdatePaidTimeOff } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollupdate'; -import { PayrollUpdatePaymentMethod } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollupdate'; -import { PayrollUpdateReimbursements } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollupdate'; -import { PayrollWithholdingPayPeriodType } from '@gusto/embedded-api-v-2025-11-15/models/components/payroll'; -import { PayScheduleAutoPayrollEnablementBlocker } from '@gusto/embedded-api-v-2025-11-15/models/components/payscheduleautopayrollenablementblocker'; -import { PayScheduleAutoPayrollEnablementBlockerMetadata } from '@gusto/embedded-api-v-2025-11-15/models/components/payscheduleautopayrollenablementblocker'; -import { PayScheduleFrequency as PayScheduleFrequency_2 } from '@gusto/embedded-api-v-2025-11-15/models/components/payschedulefrequency'; -import { PaySchedulePreviewPayPeriod } from '@gusto/embedded-api-v-2025-11-15/models/components/payschedulepreviewpayperiod'; -import { PayScheduleShow } from '@gusto/embedded-api-v-2025-11-15/models/components/payscheduleshow'; -import { PlaidStatus } from '@gusto/embedded-api-v-2025-11-15/models/components/companybankaccount'; -import { PolicyType } from '@gusto/embedded-api-v-2025-11-15/models/components/timeoffpolicy'; -import { PresidentsDay } from '@gusto/embedded-api-v-2025-11-15/models/components/holidaypaypolicy'; +import { Juneteenth } from '@gusto/embedded-api-v-2026-02-01/models/components/holidaypaypolicy'; +import { LaborDay } from '@gusto/embedded-api-v-2026-02-01/models/components/holidaypaypolicy'; +import { Licensee } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollreceipt'; +import { Location as Location_2 } from '@gusto/embedded-api-v-2026-02-01/models/components/location'; +import { MemorialDay } from '@gusto/embedded-api-v-2026-02-01/models/components/holidaypaypolicy'; +import { MetadataWithMultipleEntities } from '@gusto/embedded-api-v-2026-02-01/models/components/metadatawithmultipleentities'; +import { MetadataWithOneEntity } from '@gusto/embedded-api-v-2026-02-01/models/components/metadatawithoneentity'; +import { MinimumWage } from '@gusto/embedded-api-v-2026-02-01/models/components/minimumwage'; +import { MinimumWages } from '@gusto/embedded-api-v-2026-02-01/models/components/compensation'; +import { MlkDay } from '@gusto/embedded-api-v-2026-02-01/models/components/holidaypaypolicy'; +import { Name } from '@gusto/embedded-api-v-2026-02-01/models/components/paidtimeoff'; +import { NewYearsDay } from '@gusto/embedded-api-v-2026-02-01/models/components/holidaypaypolicy'; +import { OffCycleReasonType } from '@gusto/embedded-api-v-2026-02-01/models/components/payroll'; +import { OnboardingStep } from '@gusto/embedded-api-v-2026-02-01/models/components/companyonboardingstatus'; +import { Options } from '@gusto/embedded-api-v-2026-02-01/models/components/employeestatetaxinputquestionformat'; +import { Pages } from '@gusto/embedded-api-v-2026-02-01/models/components/document'; +import { PaidTimeOff } from '@gusto/embedded-api-v-2026-02-01/models/components/paidtimeoff'; +import { PaymentMethodBankAccount } from '@gusto/embedded-api-v-2026-02-01/models/components/paymentmethodbankaccount'; +import { PaymentPeriod } from '@gusto/embedded-api-v-2026-02-01/models/components/garnishmentchildsupport'; +import { PaymentSpeed } from '@gusto/embedded-api-v-2026-02-01/models/components/paymentconfigs'; +import { PaymentType } from '@gusto/embedded-api-v-2026-02-01/models/components/wireinrequest'; +import { PaymentUnit } from '@gusto/embedded-api-v-2026-02-01/models/components/compensation'; +import { PayPeriod } from '@gusto/embedded-api-v-2026-02-01/models/components/payperiod'; +import { PayPeriodPayroll } from '@gusto/embedded-api-v-2026-02-01/models/components/payperiod'; +import { Payroll as Payroll_2 } from '@gusto/embedded-api-v-2026-02-01/models/components/payroll'; +import { PayrollCompanyTaxesType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollcompanytaxestype'; +import { PayrollCreditBlockerType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollcreditblockertype'; +import { PayrollCreditBlockerTypeStatus } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollcreditblockertype'; +import { PayrollCreditBlockerTypeUnblockOptions } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollcreditblockertype'; +import { PayrollCreditBlockerUnblockOptionRespondToHighRiskFraudRfi } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollcreditblockerunblockoptionrespondtohighriskfraudrfi'; +import { PayrollCreditBlockerUnblockOptionRespondToHighRiskFraudRfiMetadata } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollcreditblockerunblockoptionrespondtohighriskfraudrfi'; +import { PayrollCreditBlockerUnblockOptionSubmitBankScreenshot } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollcreditblockerunblockoptionsubmitbankscreenshot'; +import { PayrollCreditBlockerUnblockOptionSubmitBankScreenshotMetadata } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollcreditblockerunblockoptionsubmitbankscreenshot'; +import { PayrollCreditBlockerUnblockOptionSubmitWire } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollcreditblockerunblockoptionsubmitwire'; +import { PayrollCreditBlockerUnblockOptionSubmitWireMetadata } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollcreditblockerunblockoptionsubmitwire'; +import { PayrollCreditBlockerUnblockOptionWaitForReverseWire } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollcreditblockerunblockoptionwaitforreversewire'; +import { PayrollCreditBlockerUnblockOptionWaitForReverseWireMetadata } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollcreditblockerunblockoptionwaitforreversewire'; +import { PayrollEmployeeCompensationsType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollemployeecompensationstype'; +import { PayrollEmployeeCompensationsTypeFixedCompensations } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollemployeecompensationstype'; +import { PayrollEmployeeCompensationsTypeHourlyCompensations } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollemployeecompensationstype'; +import { PayrollEmployeeCompensationsTypePaidTimeOff } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollemployeecompensationstype'; +import { PayrollEmployeeCompensationsTypePaymentMethod } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollemployeecompensationstype'; +import { PayrollEmployeeCompensationsTypeReimbursements } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollemployeecompensationstype'; +import { PayrollFixedCompensationTypesType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollfixedcompensationtypestype'; +import { PayrollPaymentSpeedChangedType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollpaymentspeedchangedtype'; +import { PayrollPayPeriodType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollpayperiodtype'; +import { PayrollPayrollStatusMetaType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollpayrollstatusmetatype'; +import { PayrollPrepared } from '@gusto/embedded-api-v-2026-02-01/models/components/payroll'; +import { PayrollProcessingRequest } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollprocessingrequest'; +import { PayrollProcessingRequestStatus } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollprocessingrequest'; +import { PayrollReceipt } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollreceipt'; +import { PayrollReceiptEmployeeCompensations } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollreceipt'; +import { PayrollReceiptPaymentMethod } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollreceipt'; +import { PayrollShow } from '@gusto/embedded-api-v-2026-02-01/models/components/payroll'; +import { PayrollShowAmountType } from '@gusto/embedded-api-v-2026-02-01/models/components/payroll'; +import { PayrollShowBenefits } from '@gusto/embedded-api-v-2026-02-01/models/components/payroll'; +import { PayrollShowDeductions } from '@gusto/embedded-api-v-2026-02-01/models/components/payroll'; +import { PayrollShowFixedCompensations } from '@gusto/embedded-api-v-2026-02-01/models/components/payroll'; +import { PayrollShowHourlyCompensations } from '@gusto/embedded-api-v-2026-02-01/models/components/payroll'; +import { PayrollShowPaidTimeOff } from '@gusto/embedded-api-v-2026-02-01/models/components/payroll'; +import { PayrollShowPaymentMethod } from '@gusto/embedded-api-v-2026-02-01/models/components/payroll'; +import { PayrollShowReimbursements } from '@gusto/embedded-api-v-2026-02-01/models/components/payroll'; +import { PayrollShowTaxes } from '@gusto/embedded-api-v-2026-02-01/models/components/payroll'; +import { PayrollSubmissionBlockerType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollsubmissionblockertype'; +import { PayrollSubmissionBlockerTypeStatus } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollsubmissionblockertype'; +import { PayrollTaxesType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrolltaxestype'; +import { PayrollTotalsType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrolltotalstype'; +import { PayrollType } from '@gusto/embedded-api-v-2026-02-01/models/components/payperiod'; +import { PayrollUpdateAmountType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollupdate'; +import { PayrollUpdateDeductions } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollupdate'; +import { PayrollUpdateEmployeeCompensations } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollupdate'; +import { PayrollUpdateFixedCompensations } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollupdate'; +import { PayrollUpdateHourlyCompensations } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollupdate'; +import { PayrollUpdatePaidTimeOff } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollupdate'; +import { PayrollUpdatePaymentMethod } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollupdate'; +import { PayrollUpdateReimbursements } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollupdate'; +import { PayrollWithholdingPayPeriodType } from '@gusto/embedded-api-v-2026-02-01/models/components/payroll'; +import { PayScheduleAutoPayrollEnablementBlocker } from '@gusto/embedded-api-v-2026-02-01/models/components/payscheduleautopayrollenablementblocker'; +import { PayScheduleAutoPayrollEnablementBlockerMetadata } from '@gusto/embedded-api-v-2026-02-01/models/components/payscheduleautopayrollenablementblocker'; +import { PayScheduleFrequency as PayScheduleFrequency_2 } from '@gusto/embedded-api-v-2026-02-01/models/components/payschedulefrequency'; +import { PaySchedulePreviewPayPeriod } from '@gusto/embedded-api-v-2026-02-01/models/components/payschedulepreviewpayperiod'; +import { PayScheduleShow } from '@gusto/embedded-api-v-2026-02-01/models/components/payscheduleshow'; +import { PlaidStatus } from '@gusto/embedded-api-v-2026-02-01/models/components/companybankaccount'; +import { PolicyType } from '@gusto/embedded-api-v-2026-02-01/models/components/timeoffpolicy'; +import { PresidentsDay } from '@gusto/embedded-api-v-2026-02-01/models/components/holidaypaypolicy'; import { QueryClient } from '@tanstack/react-query'; -import { Questions } from '@gusto/embedded-api-v-2025-11-15/models/components/employeestatetaxesrequest'; -import { RateType } from '@gusto/embedded-api-v-2025-11-15/models/components/taxrequirementmetadata'; +import { Questions } from '@gusto/embedded-api-v-2026-02-01/models/components/employeestatetaxesrequest'; +import { RateType } from '@gusto/embedded-api-v-2026-02-01/models/components/taxrequirementmetadata'; import { ReactElement } from 'react'; import { ReactNode } from 'react'; -import { RecipientType } from '@gusto/embedded-api-v-2025-11-15/models/components/document'; -import { RecoveryCase } from '@gusto/embedded-api-v-2025-11-15/models/components/recoverycase'; -import { RecoveryCaseStatus } from '@gusto/embedded-api-v-2025-11-15/models/components/recoverycase'; +import { RecipientType } from '@gusto/embedded-api-v-2026-02-01/models/components/document'; +import { RecoveryCase } from '@gusto/embedded-api-v-2026-02-01/models/components/recoverycase'; +import { RecoveryCaseStatus } from '@gusto/embedded-api-v-2026-02-01/models/components/recoverycase'; import { Ref } from 'react'; import { RefObject } from 'react'; -import { RequiredAttributes } from '@gusto/embedded-api-v-2025-11-15/models/components/childsupportdata'; -import { RequiredQuestions } from '@gusto/embedded-api-v-2025-11-15/models/components/informationrequest'; -import { ResponseType as ResponseType_2 } from '@gusto/embedded-api-v-2025-11-15/models/components/informationrequest'; +import { RequiredAttributes } from '@gusto/embedded-api-v-2026-02-01/models/components/childsupportdata'; +import { RequiredQuestions } from '@gusto/embedded-api-v-2026-02-01/models/components/informationrequest'; +import { ResponseType as ResponseType_2 } from '@gusto/embedded-api-v-2026-02-01/models/components/informationrequest'; import { SelectHTMLAttributes } from 'react'; -import { SetupStatus } from '@gusto/embedded-api-v-2025-11-15/models/components/taxrequirementstateslist'; -import { Signatory } from '@gusto/embedded-api-v-2025-11-15/models/components/signatory'; -import { States } from '@gusto/embedded-api-v-2025-11-15/models/components/employeestatetaxesrequest'; +import { SetupStatus } from '@gusto/embedded-api-v-2026-02-01/models/components/taxrequirementstateslist'; +import { Signatory } from '@gusto/embedded-api-v-2026-02-01/models/components/signatory'; +import { States } from '@gusto/embedded-api-v-2026-02-01/models/components/employeestatetaxesrequest'; import { SyntheticEvent } from 'react'; import { TableHTMLAttributes } from 'react'; -import { Taxes } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollreceipt'; -import { TaxPayerType } from '@gusto/embedded-api-v-2025-11-15/models/components/federaltaxdetails'; -import { TaxRequirement } from '@gusto/embedded-api-v-2025-11-15/models/components/taxrequirement'; -import { TaxRequirementMetadata } from '@gusto/embedded-api-v-2025-11-15/models/components/taxrequirementmetadata'; -import { TaxRequirementMetadataOptions } from '@gusto/embedded-api-v-2025-11-15/models/components/taxrequirementmetadata'; -import { TaxRequirementMetadataType } from '@gusto/embedded-api-v-2025-11-15/models/components/taxrequirementmetadata'; -import { TaxRequirementMetadataValidationType } from '@gusto/embedded-api-v-2025-11-15/models/components/taxrequirementmetadata'; -import { TaxRequirementSet } from '@gusto/embedded-api-v-2025-11-15/models/components/taxrequirementset'; -import { TaxRequirementsState } from '@gusto/embedded-api-v-2025-11-15/models/components/taxrequirementsstate'; -import { TaxRequirementStatesList } from '@gusto/embedded-api-v-2025-11-15/models/components/taxrequirementstateslist'; -import { TaxRequirementsValue } from '@gusto/embedded-api-v-2025-11-15/models/components/taxrequirementsvalue'; -import { Termination } from '@gusto/embedded-api-v-2025-11-15/models/components/termination'; +import { Taxes } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollreceipt'; +import { TaxPayerType } from '@gusto/embedded-api-v-2026-02-01/models/components/federaltaxdetails'; +import { TaxRequirement } from '@gusto/embedded-api-v-2026-02-01/models/components/taxrequirement'; +import { TaxRequirementMetadata } from '@gusto/embedded-api-v-2026-02-01/models/components/taxrequirementmetadata'; +import { TaxRequirementMetadataOptions } from '@gusto/embedded-api-v-2026-02-01/models/components/taxrequirementmetadata'; +import { TaxRequirementMetadataType } from '@gusto/embedded-api-v-2026-02-01/models/components/taxrequirementmetadata'; +import { TaxRequirementMetadataValidationType } from '@gusto/embedded-api-v-2026-02-01/models/components/taxrequirementmetadata'; +import { TaxRequirementSet } from '@gusto/embedded-api-v-2026-02-01/models/components/taxrequirementset'; +import { TaxRequirementsState } from '@gusto/embedded-api-v-2026-02-01/models/components/taxrequirementsstate'; +import { TaxRequirementStatesList } from '@gusto/embedded-api-v-2026-02-01/models/components/taxrequirementstateslist'; +import { TaxRequirementsValue } from '@gusto/embedded-api-v-2026-02-01/models/components/taxrequirementsvalue'; +import { Termination } from '@gusto/embedded-api-v-2026-02-01/models/components/termination'; import { TextareaHTMLAttributes } from 'react'; -import { Thanksgiving } from '@gusto/embedded-api-v-2025-11-15/models/components/holidaypaypolicy'; -import { TimeOffPolicy } from '@gusto/embedded-api-v-2025-11-15/models/components/timeoffpolicy'; -import { TimeOffPolicyEmployees } from '@gusto/embedded-api-v-2025-11-15/models/components/timeoffpolicy'; -import { TimeOffPolicyRequest } from '@gusto/embedded-api-v-2025-11-15/models/components/timeoffpolicyrequest'; -import { TimeOffPolicyRequestPolicyType } from '@gusto/embedded-api-v-2025-11-15/models/components/timeoffpolicyrequest'; -import { Totals } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollreceipt'; -import { UnblockOptions } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollsubmissionblockertype'; -import { UnprocessedTerminationPayPeriod } from '@gusto/embedded-api-v-2025-11-15/models/components/unprocessedterminationpayperiod'; -import { UpcomingEmployment } from '@gusto/embedded-api-v-2025-11-15/models/components/contractor'; +import { Thanksgiving } from '@gusto/embedded-api-v-2026-02-01/models/components/holidaypaypolicy'; +import { TimeOffPolicy } from '@gusto/embedded-api-v-2026-02-01/models/components/timeoffpolicy'; +import { TimeOffPolicyEmployees } from '@gusto/embedded-api-v-2026-02-01/models/components/timeoffpolicy'; +import { TimeOffPolicyRequest } from '@gusto/embedded-api-v-2026-02-01/models/components/timeoffpolicyrequest'; +import { TimeOffPolicyRequestPolicyType } from '@gusto/embedded-api-v-2026-02-01/models/components/timeoffpolicyrequest'; +import { Totals } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollreceipt'; +import { UnblockOptions } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollsubmissionblockertype'; +import { UnprocessedTerminationPayPeriod } from '@gusto/embedded-api-v-2026-02-01/models/components/unprocessedterminationpayperiod'; +import { UpcomingEmployment } from '@gusto/embedded-api-v-2026-02-01/models/components/contractor'; import { UseFormProps } from 'react-hook-form'; import { UseFormReturn } from 'react-hook-form'; import { UseQueryResult } from '@tanstack/react-query'; -import { Validation } from '@gusto/embedded-api-v-2025-11-15/models/components/taxrequirementmetadata'; -import { VerificationStatus } from '@gusto/embedded-api-v-2025-11-15/models/components/companybankaccount'; -import { VerificationType } from '@gusto/embedded-api-v-2025-11-15/models/components/companybankaccount'; -import { VeteransDay } from '@gusto/embedded-api-v-2025-11-15/models/components/holidaypaypolicy'; -import { WageType as WageType_2 } from '@gusto/embedded-api-v-2025-11-15/models/components/contractor'; -import { WireInRequest } from '@gusto/embedded-api-v-2025-11-15/models/components/wireinrequest'; -import { WireInRequestStatus } from '@gusto/embedded-api-v-2025-11-15/models/components/wireinrequest'; +import { Validation } from '@gusto/embedded-api-v-2026-02-01/models/components/taxrequirementmetadata'; +import { VerificationStatus } from '@gusto/embedded-api-v-2026-02-01/models/components/companybankaccount'; +import { VerificationType } from '@gusto/embedded-api-v-2026-02-01/models/components/companybankaccount'; +import { VeteransDay } from '@gusto/embedded-api-v-2026-02-01/models/components/holidaypaypolicy'; +import { WageType as WageType_2 } from '@gusto/embedded-api-v-2026-02-01/models/components/contractor'; +import { WireInRequest } from '@gusto/embedded-api-v-2026-02-01/models/components/wireinrequest'; +import { WireInRequestStatus } from '@gusto/embedded-api-v-2026-02-01/models/components/wireinrequest'; import { z } from 'zod'; // @public @@ -509,18 +509,18 @@ declare namespace APIModels { HolidayPayPolicy, DocumentType_2 as DocumentType, AuthorizationStatus, + InformationRequestType, RequiredQuestions, InformationRequest, InformationRequestStatus, - InformationRequestType, ResponseType_2 as ResponseType, Job, Location_2 as Location, MetadataWithMultipleEntities, MetadataWithOneEntity, MinimumWage, - PaidTimeOff, Name, + PaidTimeOff, PaymentSpeed, PaymentMethodBankAccount, PayPeriod, @@ -535,12 +535,12 @@ declare namespace APIModels { PayrollShowFixedCompensations, PayrollShowHourlyCompensations, PayrollShowPaidTimeOff, + PayrollShowPaymentMethod, PayrollShowReimbursements, PayrollShowTaxes, PayrollWithholdingPayPeriodType, PayrollPrepared, PayrollShowAmountType, - PayrollShowPaymentMethod, PayrollCompanyTaxesType, PayrollCreditBlockerTypeUnblockOptions, PayrollCreditBlockerType, @@ -558,9 +558,9 @@ declare namespace APIModels { PayrollEmployeeCompensationsTypeFixedCompensations, PayrollEmployeeCompensationsTypeHourlyCompensations, PayrollEmployeeCompensationsTypePaidTimeOff, + PayrollEmployeeCompensationsTypePaymentMethod, PayrollEmployeeCompensationsTypeReimbursements, AmountType, - PayrollEmployeeCompensationsTypePaymentMethod, PayrollFixedCompensationTypesType, PayrollPaymentSpeedChangedType, PayrollPayPeriodType, diff --git a/AGENTS.md b/AGENTS.md index ebbcfe357..4b1bc92b1 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -76,26 +76,26 @@ src/components/ └── Flow/ # Multi-step flow orchestration ``` -### API Layer (`@gusto/embedded-api-v-2025-11-15`) +### API Layer (`@gusto/embedded-api-v-2026-02-01`) -All API calls go through `@gusto/embedded-api-v-2025-11-15` with React Query hooks and Zod schema validation. +All API calls go through `@gusto/embedded-api-v-2026-02-01` with React Query hooks and Zod schema validation. Import paths: -- `@gusto/embedded-api-v-2025-11-15/react-query/` — React Query hooks -- `@gusto/embedded-api-v-2025-11-15/models/components/` — Entity types -- `@gusto/embedded-api-v-2025-11-15/models/operations/` — Request/response types -- `@gusto/embedded-api-v-2025-11-15/models/errors/` — Error types +- `@gusto/embedded-api-v-2026-02-01/react-query/` — React Query hooks +- `@gusto/embedded-api-v-2026-02-01/models/components/` — Entity types +- `@gusto/embedded-api-v-2026-02-01/models/operations/` — Request/response types +- `@gusto/embedded-api-v-2026-02-01/models/errors/` — Error types Hook naming: `useSuspense` (queries), `useMutation` (mutations) #### Auto-invalidation on mutation success -The `QueryClient` produced by `createSdkQueryClient` (in `src/contexts/ApiProvider/createSdkQueryClient.ts`) sets a global mutation default: on any successful mutation under the `['@gusto/embedded-api-v-2025-11-15']` key, it invalidates **every** SDK query. Both `ApiProvider` (production) and `GustoTestProvider` (tests) use this factory, so the behavior is identical in both environments. +The `QueryClient` produced by `createSdkQueryClient` (in `src/contexts/ApiProvider/createSdkQueryClient.ts`) sets a global mutation default: on any successful mutation under the `['@gusto/embedded-api-v-2026-02-01']` key, it invalidates **every** SDK query. Both `ApiProvider` (production) and `GustoTestProvider` (tests) use this factory, so the behavior is identical in both environments. Implications when writing SDK code: -- **Do not call `queryClient.invalidateQueries(...)` after a successful `@gusto/embedded-api-v-2025-11-15` mutation.** It's redundant — the global `onSuccess` already invalidated the entire SDK namespace. Just `await mutateAsync(...)` and the next render's queries refetch automatically. +- **Do not call `queryClient.invalidateQueries(...)` after a successful `@gusto/embedded-api-v-2026-02-01` mutation.** It's redundant — the global `onSuccess` already invalidated the entire SDK namespace. Just `await mutateAsync(...)` and the next render's queries refetch automatically. - This is why `usePaymentMethodList`, `useEmployeeCompensation`, etc. don't manually invalidate after their delete/update mutations. - If a partner brings their own `QueryClient` to `ApiProvider`, the defaults are **not** applied to it — they're responsible for matching the contract if they want this behavior. Don't paper over that with manual invalidation in hooks; treat it as their responsibility. - If you need to invalidate _more narrowly_ (e.g. you only want one query to refetch, not the whole namespace), that's a code smell — most likely the global invalidate is already doing what you want. @@ -112,7 +112,7 @@ All user-facing text uses i18next. Run `npm run i18n:generate` after changing tr ### Partner hooks (`composeErrorHandler` / `composeSubmitHandler`) -Exported headless hooks build `errorHandling` with **`composeErrorHandler`** (not a React hook). For multi-form screens, **`composeSubmitHandler`** coordinates validation + ordered submits and returns `{ handleSubmit, errorHandling }` aggregated across those forms. The result plugs back into `composeErrorHandler` when partners need extra `@gusto/embedded-api-v-2025-11-15` queries or screen-level submit state in the same error surface — see [docs/hooks/hooks.md](docs/hooks/hooks.md). +Exported headless hooks build `errorHandling` with **`composeErrorHandler`** (not a React hook). For multi-form screens, **`composeSubmitHandler`** coordinates validation + ordered submits and returns `{ handleSubmit, errorHandling }` aggregated across those forms. The result plugs back into `composeErrorHandler` when partners need extra `@gusto/embedded-api-v-2026-02-01` queries or screen-level submit state in the same error surface — see [docs/hooks/hooks.md](docs/hooks/hooks.md). ### Component & Feature Conventions diff --git a/CLAUDE.md b/CLAUDE.md index 045537ad0..b07037c2b 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -78,26 +78,26 @@ src/components/ └── Flow/ # Multi-step flow orchestration ``` -### API Layer (`@gusto/embedded-api-v-2025-11-15`) +### API Layer (`@gusto/embedded-api-v-2026-02-01`) -All API calls go through `@gusto/embedded-api-v-2025-11-15` with React Query hooks and Zod schema validation. +All API calls go through `@gusto/embedded-api-v-2026-02-01` with React Query hooks and Zod schema validation. Import paths: -- `@gusto/embedded-api-v-2025-11-15/react-query/` — React Query hooks -- `@gusto/embedded-api-v-2025-11-15/models/components/` — Entity types -- `@gusto/embedded-api-v-2025-11-15/models/operations/` — Request/response types -- `@gusto/embedded-api-v-2025-11-15/models/errors/` — Error types +- `@gusto/embedded-api-v-2026-02-01/react-query/` — React Query hooks +- `@gusto/embedded-api-v-2026-02-01/models/components/` — Entity types +- `@gusto/embedded-api-v-2026-02-01/models/operations/` — Request/response types +- `@gusto/embedded-api-v-2026-02-01/models/errors/` — Error types Hook naming: `useSuspense` (queries), `useMutation` (mutations) #### Auto-invalidation on mutation success -The `QueryClient` produced by `createSdkQueryClient` (in `src/contexts/ApiProvider/createSdkQueryClient.ts`) sets a global mutation default: on any successful mutation under the `['@gusto/embedded-api-v-2025-11-15']` key, it invalidates **every** SDK query. Both `ApiProvider` (production) and `GustoTestProvider` (tests) use this factory, so the behavior is identical in both environments. +The `QueryClient` produced by `createSdkQueryClient` (in `src/contexts/ApiProvider/createSdkQueryClient.ts`) sets a global mutation default: on any successful mutation under the `['@gusto/embedded-api-v-2026-02-01']` key, it invalidates **every** SDK query. Both `ApiProvider` (production) and `GustoTestProvider` (tests) use this factory, so the behavior is identical in both environments. Implications when writing SDK code: -- **Do not call `queryClient.invalidateQueries(...)` after a successful `@gusto/embedded-api-v-2025-11-15` mutation.** It's redundant — the global `onSuccess` already invalidated the entire SDK namespace. Just `await mutateAsync(...)` and the next render's queries refetch automatically. +- **Do not call `queryClient.invalidateQueries(...)` after a successful `@gusto/embedded-api-v-2026-02-01` mutation.** It's redundant — the global `onSuccess` already invalidated the entire SDK namespace. Just `await mutateAsync(...)` and the next render's queries refetch automatically. - This is why `usePaymentMethodList`, `useEmployeeCompensation`, etc. don't manually invalidate after their delete/update mutations. - If a partner brings their own `QueryClient` to `ApiProvider`, the defaults are **not** applied to it — they're responsible for matching the contract if they want this behavior. Don't paper over that with manual invalidation in hooks; treat it as their responsibility. - If you need to invalidate _more narrowly_ (e.g. you only want one query to refetch, not the whole namespace), that's a code smell — most likely the global invalidate is already doing what you want. @@ -114,7 +114,7 @@ All user-facing text uses i18next. Run `npm run i18n:generate` after changing tr ### Partner hooks (`composeErrorHandler` / `composeSubmitHandler`) -Exported headless hooks build `errorHandling` with **`composeErrorHandler`** (not a React hook). For multi-form screens, **`composeSubmitHandler`** coordinates validation + ordered submits and returns `{ handleSubmit, errorHandling }` aggregated across those forms. The result plugs back into `composeErrorHandler` when partners need extra `@gusto/embedded-api-v-2025-11-15` queries or screen-level submit state in the same error surface — see [docs/hooks/hooks.md](docs/hooks/hooks.md). +Exported headless hooks build `errorHandling` with **`composeErrorHandler`** (not a React hook). For multi-form screens, **`composeSubmitHandler`** coordinates validation + ordered submits and returns `{ handleSubmit, errorHandling }` aggregated across those forms. The result plugs back into `composeErrorHandler` when partners need extra `@gusto/embedded-api-v-2026-02-01` queries or screen-level submit state in the same error surface — see [docs/hooks/hooks.md](docs/hooks/hooks.md). ### Component & Feature Conventions diff --git a/build/deriveEndpointInventory.ts b/build/deriveEndpointInventory.ts index 2f48ea24d..b683015be 100644 --- a/build/deriveEndpointInventory.ts +++ b/build/deriveEndpointInventory.ts @@ -17,8 +17,8 @@ const __dirname = dirname(__filename) const ROOT = join(__dirname, '..') const SRC_DIR = join(ROOT, 'src') -const FUNCS_DIR = join(ROOT, 'node_modules/@gusto/embedded-api-v-2025-11-15/src/funcs') -const OPS_DIR = join(ROOT, 'node_modules/@gusto/embedded-api-v-2025-11-15/src/models/operations') +const FUNCS_DIR = join(ROOT, 'node_modules/@gusto/embedded-api-v-2026-02-01/src/funcs') +const OPS_DIR = join(ROOT, 'node_modules/@gusto/embedded-api-v-2026-02-01/src/models/operations') const COMPONENTS_DIR = join(ROOT, 'src/components') const JSON_OUTPUT_PATH = join(ROOT, 'docs/guides/endpoint-inventory.json') const MD_OUTPUT_PATH = join(ROOT, 'docs/guides/endpoint-reference.md') @@ -208,11 +208,11 @@ function collectTransitiveApiImports( const funcNames = new Set() function followSpec(spec: string, getResolved: () => SourceFile | undefined) { - if (spec.startsWith('@gusto/embedded-api-v-2025-11-15/react-query/')) { - const name = spec.slice('@gusto/embedded-api-v-2025-11-15/react-query/'.length) + if (spec.startsWith('@gusto/embedded-api-v-2026-02-01/react-query/')) { + const name = spec.slice('@gusto/embedded-api-v-2026-02-01/react-query/'.length) if (!name.startsWith('_')) funcNames.add(name) - } else if (spec.startsWith('@gusto/embedded-api-v-2025-11-15/funcs/')) { - funcNames.add(spec.slice('@gusto/embedded-api-v-2025-11-15/funcs/'.length)) + } else if (spec.startsWith('@gusto/embedded-api-v-2026-02-01/funcs/')) { + funcNames.add(spec.slice('@gusto/embedded-api-v-2026-02-01/funcs/'.length)) } else if (spec.startsWith('.') || spec.startsWith('@/hooks/')) { // Follow relative imports (catches ../shared/ hooks) and cross-cutting utility hooks. // Deliberately skip @/components/, @/contexts/, @/helpers/ etc. to avoid @@ -708,7 +708,7 @@ function validateEndpoints( if (invalid.length > 0) { console.error( - 'WARNING: Some inventory endpoints were not found in @gusto/embedded-api-v-2025-11-15:', + 'WARNING: Some inventory endpoints were not found in @gusto/embedded-api-v-2026-02-01:', ) for (const ep of invalid) console.error(` ${ep}`) console.error('') @@ -781,7 +781,7 @@ function verify() { console.error('This can happen when:') console.error(' - A component added or removed an API hook/function import') console.error(' - A flow added or removed a block component') - console.error(' - The @gusto/embedded-api-v-2025-11-15 package was updated') + console.error(' - The @gusto/embedded-api-v-2026-02-01 package was updated') console.error('') if (committedJson !== freshJson) printDiff(JSON_OUTPUT_PATH, freshJson) if (committedMd !== freshMd) printDiff(MD_OUTPUT_PATH, freshMd) diff --git a/docs/hooks/hooks.md b/docs/hooks/hooks.md index a0d4a5df5..00c4254d2 100644 --- a/docs/hooks/hooks.md +++ b/docs/hooks/hooks.md @@ -383,7 +383,7 @@ interface HookErrorHandling { ### Multi-hook screens -When a screen pulls from more than one SDK hook (or mixes SDK hooks with additional `@gusto/embedded-api-v-2025-11-15` queries), combine their error state into one banner and one retry/dismiss flow using `composeErrorHandler` / `composeSubmitHandler`. See [Composing Multiple Hooks](#composing-multiple-hooks). +When a screen pulls from more than one SDK hook (or mixes SDK hooks with additional `@gusto/embedded-api-v-2026-02-01` queries), combine their error state into one banner and one retry/dismiss flow using `composeErrorHandler` / `composeSubmitHandler`. See [Composing Multiple Hooks](#composing-multiple-hooks). ### SDKError shape @@ -562,7 +562,7 @@ Error codes for each hook are exported alongside the hook: ## Composing Multiple Hooks -A screen that combines multiple SDK hooks, or mixes SDK hooks with additional `@gusto/embedded-api-v-2025-11-15` queries, produces multiple `errorHandling` objects and (for form screens) multiple submit flows. Two small helpers stitch them together: +A screen that combines multiple SDK hooks, or mixes SDK hooks with additional `@gusto/embedded-api-v-2026-02-01` queries, produces multiple `errorHandling` objects and (for form screens) multiple submit flows. Two small helpers stitch them together: - **`composeErrorHandler([sources])`** — merges many error sources into a single `HookErrorHandling`. - **`composeSubmitHandler([forms], onAllValid)`** — coordinates validation and ordered submits across forms, and returns `{ handleSubmit, errorHandling }` where `errorHandling` is built from those forms via `composeErrorHandler` under the hood. @@ -572,11 +572,11 @@ A screen that combines multiple SDK hooks, or mixes SDK hooks with additional `@ Use `composeErrorHandler` to produce a single `errorHandling` bag for any screen that reads from multiple sources. It accepts any mix of: - **SDK hook results** — objects with an `errorHandling` property (e.g., `useEmployeeDetailsForm`, `useCompensationForm`, or the return value of `composeSubmitHandler`). -- **`@gusto/embedded-api-v-2025-11-15` React Query results** — objects with `error` and `refetch` properties. +- **`@gusto/embedded-api-v-2026-02-01` React Query results** — objects with `error` and `refetch` properties. ```tsx import { composeErrorHandler, useEmployeeDetailsForm } from '@gusto/embedded-react-sdk' -import { useEmployeeFormsList } from '@gusto/embedded-api-v-2025-11-15/react-query/employeeFormsList' +import { useEmployeeFormsList } from '@gusto/embedded-api-v-2026-02-01/react-query/employeeFormsList' function EmployeeProfileView({ companyId, employeeId }: { companyId: string; employeeId: string }) { const employeeDetails = useEmployeeDetailsForm({ companyId, employeeId }) @@ -599,7 +599,7 @@ function EmployeeProfileView({ companyId, employeeId }: { companyId: string; emp } ``` -`employeeDetails` is an SDK hook result (its `errorHandling` is delegated into), while `formsListQuery` is a raw `@gusto/embedded-api-v-2025-11-15` query (its `error` is normalized and its `refetch` is wired into `retryQueries`). The same call works for any combination of the two shapes. +`employeeDetails` is an SDK hook result (its `errorHandling` is delegated into), while `formsListQuery` is a raw `@gusto/embedded-api-v-2026-02-01` query (its `error` is normalized and its `refetch` is wired into `retryQueries`). The same call works for any combination of the two shapes. The returned `errorHandling` has the same shape as any SDK hook's `errorHandling`: @@ -624,7 +624,7 @@ const { handleSubmit, errorHandling } = composeSubmitHandler( ) ``` -If the same screen also has extra `@gusto/embedded-api-v-2025-11-15` queries that should feed the same error banner, pass the `composeSubmitHandler` result back into `composeErrorHandler` alongside those queries — the result already satisfies `composeErrorHandler`'s input shape: +If the same screen also has extra `@gusto/embedded-api-v-2026-02-01` queries that should feed the same error banner, pass the `composeSubmitHandler` result back into `composeErrorHandler` alongside those queries — the result already satisfies `composeErrorHandler`'s input shape: ```tsx const submitResult = composeSubmitHandler([employeeDetails, compensation], onAllValid) diff --git a/docs/hooks/useEmployeeStateTaxesForm.md b/docs/hooks/useEmployeeStateTaxesForm.md index 6c70bdd08..2ca1b2b14 100644 --- a/docs/hooks/useEmployeeStateTaxesForm.md +++ b/docs/hooks/useEmployeeStateTaxesForm.md @@ -72,7 +72,7 @@ The non-primitive types in the Ready state are all re-exported from `@gusto/embe | Type | What it is | | ---------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `UseEmployeeStateTaxesFormReady` | The full Ready-state object (the discriminated `isLoading: false` branch). Use this as the prop type for components that receive a ready form, so you don't have to repeat the `Extract<...>` narrowing. | -| `EmployeeStateTaxesList` | API record for one state's tax answers, re-exported from `@gusto/embedded-api-v-2025-11-15`. Each entry in `data.employeeStateTaxes` is one of these. | +| `EmployeeStateTaxesList` | API record for one state's tax answers, re-exported from `@gusto/embedded-api-v-2026-02-01`. Each entry in `data.employeeStateTaxes` is one of these. | | `StateTaxFieldsGroup` | One state's render-ready bundle: `{ state, questions: StateTaxQuestionFieldEntry[] }`. The full shape is documented under [Fields shape](#fields-shape). | | `StateTaxQuestionFieldEntry` | The discriminated entry for a single question — `type` + metadata + bound `Field` component. See [Fields shape](#fields-shape). | | `EmployeeStateTaxesFieldsMetadata` | Static field metadata keyed by full form path (`states..`), with `isRequired` / `isDisabled` / option lists. Same shape as other SDK form hooks' `fieldsMetadata`. | diff --git a/docs/reference/APIModels/index.md b/docs/reference/APIModels/index.md index 15e8879eb..5f76b0a8e 100644 --- a/docs/reference/APIModels/index.md +++ b/docs/reference/APIModels/index.md @@ -27,7 +27,7 @@ documented here in the SDK reference. > `const` **AccountType**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/companybankaccount.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/companybankaccount.ts#L15) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/companybankaccount.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/companybankaccount.ts#L15) Bank account type @@ -46,7 +46,7 @@ Bank account type > `const` **AccrualMethod**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/timeoffpolicyrequest.ts:26](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/timeoffpolicyrequest.ts#L26) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/timeoffpolicyrequest.ts:26](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/timeoffpolicyrequest.ts#L26) Accrual method of the time off policy @@ -71,7 +71,7 @@ Accrual method of the time off policy > `const` **AmountType**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollemployeecompensationstype.ts:106](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payrollemployeecompensationstype.ts#L106) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payrollemployeecompensationstype.ts:100](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payrollemployeecompensationstype.ts#L100) The amount type of the deduction for the pay period. Only present for unprocessed payrolls. @@ -90,7 +90,7 @@ The amount type of the deduction for the pay period. Only present for unprocesse > `const` **AuthorizationStatus**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/i9authorization.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/i9authorization.ts#L15) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/i9authorization.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/i9authorization.ts#L15) The employee's authorization status @@ -111,7 +111,7 @@ The employee's authorization status > `const` **ChildSupportDataKey**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/childsupportdata.ts:26](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/childsupportdata.ts#L26) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/childsupportdata.ts:26](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/childsupportdata.ts#L26) A required attribute when creating a garnishment for this state agency. The current values are listed as an enum; though unlikely, values could be added if state agency requirements change in the future. @@ -131,7 +131,7 @@ A required attribute when creating a garnishment for this state agency. The curr > `const` **CompanyOnboardingStatusRequirements**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/companyonboardingstatus.ts:32](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/companyonboardingstatus.ts#L32) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/companyonboardingstatus.ts:32](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/companyonboardingstatus.ts#L32) `CompanyOnboardingStatusRequirements` entity from the Gusto Embedded API. @@ -158,7 +158,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/companyonboa > `const` **ContractorBankAccountAccountType**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorbankaccount.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractorbankaccount.ts#L15) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractorbankaccount.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractorbankaccount.ts#L15) Bank account type @@ -177,7 +177,7 @@ Bank account type > `const` **ContractorCreateRequestBodyType**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorcreaterequestbody.ts:12](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractorcreaterequestbody.ts#L12) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractorcreaterequestbody.ts:12](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractorcreaterequestbody.ts#L12) The contractor type. @@ -196,7 +196,7 @@ The contractor type. > `const` **ContractorCreateRequestBodyWageType**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorcreaterequestbody.ts:28](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractorcreaterequestbody.ts#L28) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractorcreaterequestbody.ts:28](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractorcreaterequestbody.ts#L28) The contractor’s wage type. @@ -217,7 +217,7 @@ The contractor’s wage type. > `const` **ContractorOnboardingStatus1**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractor.ts:51](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractor.ts#L51) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractor.ts:51](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractor.ts#L51) One of the "onboarding_status" enum values. @@ -241,7 +241,7 @@ One of the "onboarding_status" enum values. > `const` **ContractorPaymentForGroupPaymentMethod**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorpaymentforgroup.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractorpaymentforgroup.ts#L15) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractorpaymentforgroup.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractorpaymentforgroup.ts#L15) The payment method. @@ -262,7 +262,7 @@ The payment method. > `const` **ContractorPaymentForGroupPreviewPaymentMethod**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorpaymentforgrouppreview.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractorpaymentforgrouppreview.ts#L15) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractorpaymentforgrouppreview.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractorpaymentforgrouppreview.ts#L15) The payment method. @@ -283,7 +283,7 @@ The payment method. > `const` **ContractorPaymentForGroupPreviewStatus**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorpaymentforgrouppreview.ts:31](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractorpaymentforgrouppreview.ts#L31) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractorpaymentforgrouppreview.ts:31](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractorpaymentforgrouppreview.ts#L31) The status of the contractor payment. Will transition to `Funded` during payments processing if the payment should be funded, i.e. has `Direct Deposit` for payment method. Contractors payments with `Check` payment method will remain `Unfunded`. @@ -302,7 +302,7 @@ The status of the contractor payment. Will transition to `Funded` during paymen > `const` **ContractorPaymentForGroupPreviewWageType**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorpaymentforgrouppreview.ts:45](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractorpaymentforgrouppreview.ts#L45) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractorpaymentforgrouppreview.ts:45](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractorpaymentforgrouppreview.ts#L45) The wage type for the payment. @@ -321,7 +321,7 @@ The wage type for the payment. > `const` **ContractorPaymentForGroupStatus**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorpaymentforgroup.ts:31](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractorpaymentforgroup.ts#L31) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractorpaymentforgroup.ts:31](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractorpaymentforgroup.ts#L31) The status of the contractor payment. Will transition to `Funded` during payments processing if the payment should be funded, i.e. has `Direct Deposit` for payment method. Contractors payments with `Check` payment method will remain `Unfunded`. @@ -340,7 +340,7 @@ The status of the contractor payment. Will transition to `Funded` during paymen > `const` **ContractorPaymentForGroupWageType**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorpaymentforgroup.ts:45](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractorpaymentforgroup.ts#L45) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractorpaymentforgroup.ts:45](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractorpaymentforgroup.ts#L45) The wage type for the payment. @@ -359,7 +359,7 @@ The wage type for the payment. > `const` **ContractorPaymentGroupPreviewStatus**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorpaymentgrouppreview.ts:27](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractorpaymentgrouppreview.ts#L27) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractorpaymentgrouppreview.ts:27](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractorpaymentgrouppreview.ts#L27) The status of the contractor payment group. Will be `Funded` if all payments that should be funded (i.e. have `Direct Deposit` for payment method) are funded. A group can have status `Funded` while having associated payments that have status `Unfunded`, i.e. payment with `Check` payment method. @@ -378,7 +378,7 @@ The status of the contractor payment group. Will be `Funded` if all payments th > `const` **ContractorPaymentGroupStatus**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorpaymentgroup.ts:27](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractorpaymentgroup.ts#L27) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractorpaymentgroup.ts:27](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractorpaymentgroup.ts#L27) The status of the contractor payment group. Will be `Funded` if all payments that should be funded (i.e. have `Direct Deposit` for payment method) are funded. A group can have status `Funded` while having associated payments that have status `Unfunded`, i.e. payment with `Check` payment method. @@ -397,7 +397,7 @@ The status of the contractor payment group. Will be `Funded` if all payments th > `const` **ContractorPaymentGroupWithBlockersStatus**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorpaymentgroupwithblockers.ts:23](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractorpaymentgroupwithblockers.ts#L23) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractorpaymentgroupwithblockers.ts:23](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractorpaymentgroupwithblockers.ts#L23) The status of the contractor payment group. Will be `Funded` if all payments that should be funded (i.e. have `Direct Deposit` for payment method) are funded. A group can have status `Funded` while having associated payments that have status `Unfunded`, i.e. payment with `Check` payment method. @@ -416,7 +416,7 @@ The status of the contractor payment group. Will be `Funded` if all payments th > `const` **ContractorPaymentMethod1**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractor.ts:67](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractor.ts#L67) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractor.ts:67](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractor.ts#L67) `ContractorPaymentMethod1` entity from the Gusto Embedded API. @@ -435,7 +435,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractor.t > `const` **ContractorPaymentMethodSplitBy**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorpaymentmethod.ts:24](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractorpaymentmethod.ts#L24) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractorpaymentmethod.ts:24](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractorpaymentmethod.ts#L24) `ContractorPaymentMethodSplitBy` entity from the Gusto Embedded API. @@ -454,7 +454,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorpa > `const` **ContractorPaymentMethodType**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorpaymentmethod.ts:16](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractorpaymentmethod.ts#L16) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractorpaymentmethod.ts:16](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractorpaymentmethod.ts#L16) `ContractorPaymentMethodType` entity from the Gusto Embedded API. @@ -473,7 +473,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorpa > `const` **ContractorPaymentReceiptPaymentMethod**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorpaymentreceipt.ts:26](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractorpaymentreceipt.ts#L26) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractorpaymentreceipt.ts:26](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractorpaymentreceipt.ts#L26) The payment method. @@ -494,7 +494,7 @@ The payment method. > `const` **ContractorStatus**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractor.ts:92](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractor.ts#L92) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractor.ts:92](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractor.ts#L92) The current status of the member portal invitation. @@ -516,7 +516,7 @@ The current status of the member portal invitation. > `const` **ContractorType**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractor.ts:27](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractor.ts#L27) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractor.ts:27](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractor.ts#L27) The contractor's type, either "Individual" or "Business". @@ -535,7 +535,7 @@ The contractor's type, either "Individual" or "Business". > `const` **ContractorUpdateRequestBodyType**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorupdaterequestbody.ts:12](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractorupdaterequestbody.ts#L12) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractorupdaterequestbody.ts:12](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractorupdaterequestbody.ts#L12) The contractor type. @@ -554,7 +554,7 @@ The contractor type. > `const` **ContractorUpdateRequestBodyWageType**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorupdaterequestbody.ts:28](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractorupdaterequestbody.ts#L28) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractorupdaterequestbody.ts:28](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractorupdaterequestbody.ts#L28) The contractor’s wage type. @@ -575,7 +575,7 @@ The contractor’s wage type. > `const` **CustomFieldType**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/customfieldtype.ts:11](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/customfieldtype.ts#L11) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/customfieldtype.ts:11](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/customfieldtype.ts#L11) Input type for the custom field. @@ -597,7 +597,7 @@ Input type for the custom field. > `const` **DocumentType**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/i9authorization.ts:26](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/i9authorization.ts#L26) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/i9authorization.ts:26](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/i9authorization.ts#L26) `DocumentType` entity from the Gusto Embedded API. @@ -617,7 +617,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/i9authorizat > `const` **EmployeeBankAccountAccountType**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employeebankaccount.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/employeebankaccount.ts#L15) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/employeebankaccount.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/employeebankaccount.ts#L15) Bank account type @@ -636,7 +636,7 @@ Bank account type > `const` **EmployeeCurrentEmploymentStatus**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employee.ts:65](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/employee.ts#L65) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/employee.ts:65](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/employee.ts#L65) `EmployeeCurrentEmploymentStatus` entity from the Gusto Embedded API. @@ -658,7 +658,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employee.ts: > `const` **EmployeeOnboardingStatus1**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employee.ts:25](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/employee.ts#L25) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/employee.ts:25](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/employee.ts#L25) `EmployeeOnboardingStatus1` entity from the Gusto Embedded API. @@ -683,7 +683,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employee.ts: > `const` **EmployeePaymentMethod1**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employee.ts:56](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/employee.ts#L56) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/employee.ts:56](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/employee.ts#L56) The employee's payment method @@ -702,7 +702,7 @@ The employee's payment method > `const` **EmployeePaymentMethodSplitBy**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employeepaymentmethod.ts:30](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/employeepaymentmethod.ts#L30) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/employeepaymentmethod.ts:30](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/employeepaymentmethod.ts#L30) `EmployeePaymentMethodSplitBy` entity from the Gusto Embedded API. @@ -721,7 +721,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employeepaym > `const` **EmployeePaymentMethodType**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employeepaymentmethod.ts:19](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/employeepaymentmethod.ts#L19) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/employeepaymentmethod.ts:19](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/employeepaymentmethod.ts#L19) The payment method type. If type is Check, then `split_by` and `splits` do not need to be populated. If type is Direct Deposit, `split_by` and `splits` are required. @@ -740,7 +740,7 @@ The payment method type. If type is Check, then `split_by` and `splits` do not n > `const` **EmployeeStatus**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employee.ts:79](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/employee.ts#L79) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/employee.ts:79](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/employee.ts#L79) The current status of the member portal invitation. @@ -762,7 +762,7 @@ The current status of the member portal invitation. > `const` **FederalTaxDetailsStatus**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/federaltaxdetails.ts:56](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/federaltaxdetails.ts#L56) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/federaltaxdetails.ts:56](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/federaltaxdetails.ts#L56) The status of EIN verification: @@ -788,7 +788,7 @@ The status of EIN verification: > `const` **FilingForm**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/federaltaxdetails.ts:35](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/federaltaxdetails.ts#L35) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/federaltaxdetails.ts:35](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/federaltaxdetails.ts#L35) The form used by the company for federal tax filing. One of: @@ -812,7 +812,7 @@ The form used by the company for federal tax filing. One of: > `const` **FlsaStatusType**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/flsastatustype.ts:11](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/flsastatustype.ts#L11) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/flsastatustype.ts:11](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/flsastatustype.ts#L11) The FLSA status for this compensation. Salaried ('Exempt') employees are paid a fixed salary every pay period. Salaried with overtime ('Salaried Nonexempt') employees are paid a fixed salary every pay period, and receive overtime pay when applicable. Hourly ('Nonexempt') employees are paid for the hours they work, and receive overtime pay when applicable. Commissioned employees ('Commission Only Exempt') earn wages based only on commission. Commissioned with overtime ('Commission Only Nonexempt') earn wages based on commission, and receive overtime pay when applicable. Owners ('Owner') are employees that own at least twenty percent of the company. @@ -835,7 +835,7 @@ The FLSA status for this compensation. Salaried ('Exempt') employees are paid a > `const` **GarnishmentType**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/garnishment.ts:16](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/garnishment.ts#L16) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/garnishment.ts:16](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/garnishment.ts#L16) `GarnishmentType` entity from the Gusto Embedded API. @@ -859,7 +859,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/garnishment. > `const` **Id**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/companyonboardingstatus.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/companyonboardingstatus.ts#L15) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/companyonboardingstatus.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/companyonboardingstatus.ts#L15) The string identifier for each onboarding step @@ -886,7 +886,7 @@ The string identifier for each onboarding step > `const` **IdentityVerificationStatus**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/signatory.ts:12](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/signatory.ts#L12) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/signatory.ts:12](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/signatory.ts#L12) `IdentityVerificationStatus` entity from the Gusto Embedded API. @@ -906,7 +906,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/signatory.ts > `const` **InformationRequestStatus**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/informationrequest.ts:29](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/informationrequest.ts#L29) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/informationrequest.ts:23](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/informationrequest.ts#L23) The status of the information request @@ -926,9 +926,9 @@ The status of the information request > `const` **InformationRequestType**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/informationrequest.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/informationrequest.ts#L15) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/informationrequest.ts:12](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/informationrequest.ts#L12) -The type of information request +`InformationRequestType` entity from the Gusto Embedded API. #### Type Declaration @@ -947,9 +947,9 @@ The type of information request > `const` **Name**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/paidtimeoff.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/paidtimeoff.ts#L15) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/paidtimeoff.ts:12](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/paidtimeoff.ts#L12) -The name of the paid time off type. +`Name` entity from the Gusto Embedded API. #### Type Declaration @@ -967,7 +967,7 @@ The name of the paid time off type. > `const` **OffCycleReasonType**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payroll.ts:63](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payroll.ts#L63) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payroll.ts:63](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payroll.ts#L63) `OffCycleReasonType` entity from the Gusto Embedded API. @@ -995,7 +995,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payroll.ts:6 > `const` **PaymentPeriod**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/garnishmentchildsupport.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/garnishmentchildsupport.ts#L15) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/garnishmentchildsupport.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/garnishmentchildsupport.ts#L15) How often the agency collects the withholding amount. e.g. $500 monthly -> `Monthly`. @@ -1016,7 +1016,7 @@ How often the agency collects the withholding amount. e.g. $500 monthly -> `Mont > `const` **PaymentSpeed**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/paymentconfigs.ts:20](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/paymentconfigs.ts#L20) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/paymentconfigs.ts:20](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/paymentconfigs.ts#L20) Payment speed. READ-ONLY. @@ -1042,7 +1042,7 @@ Payment speed. READ-ONLY. > `const` **PaymentType**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/wireinrequest.ts:29](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/wireinrequest.ts#L29) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/wireinrequest.ts:29](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/wireinrequest.ts#L29) Type of payment for the wire in @@ -1061,7 +1061,7 @@ Type of payment for the wire in > `const` **PaymentUnit**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/compensation.ts:19](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/compensation.ts#L19) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/compensation.ts:19](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/compensation.ts#L19) The unit accompanying the compensation rate. If the employee is an owner, rate should be 'Paycheck'. @@ -1083,7 +1083,7 @@ The unit accompanying the compensation rate. If the employee is an owner, rate s > `const` **PayrollCreditBlockerTypeStatus**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollcreditblockertype.ts:37](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payrollcreditblockertype.ts#L37) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payrollcreditblockertype.ts:37](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payrollcreditblockertype.ts#L37) The status of the credit blocker @@ -1104,9 +1104,9 @@ The status of the credit blocker > `const` **PayrollEmployeeCompensationsTypePaymentMethod**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollemployeecompensationstype.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payrollemployeecompensationstype.ts#L15) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payrollemployeecompensationstype.ts:12](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payrollemployeecompensationstype.ts#L12) -The employee's compensation payment method. Is *only* `Historical` when retrieving external payrolls initially run outside of Gusto, then put into Gusto. +`PayrollEmployeeCompensationsTypePaymentMethod` entity from the Gusto Embedded API. #### Type Declaration @@ -1124,7 +1124,7 @@ The employee's compensation payment method. Is *only* `Historical` when retrievi > `const` **PayrollProcessingRequestStatus**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollprocessingrequest.ts:18](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payrollprocessingrequest.ts#L18) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payrollprocessingrequest.ts:18](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payrollprocessingrequest.ts#L18) The status of the payroll processing request @@ -1146,7 +1146,7 @@ The status of the payroll processing request > `const` **PayrollReceiptPaymentMethod**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollreceipt.ts:52](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payrollreceipt.ts#L52) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payrollreceipt.ts:52](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payrollreceipt.ts#L52) The employee's compensation payment method. @@ -1165,7 +1165,7 @@ The employee's compensation payment method. > `const` **PayrollShowAmountType**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payroll.ts:382](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payroll.ts#L382) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payroll.ts:376](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payroll.ts#L376) The amount type of the deduction for the pay period. Only present for unprocessed payrolls. @@ -1184,9 +1184,9 @@ The amount type of the deduction for the pay period. Only present for unprocesse > `const` **PayrollShowPaymentMethod**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payroll.ts:291](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payroll.ts#L291) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payroll.ts:288](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payroll.ts#L288) -The employee's compensation payment method. Is *only* `Historical` when retrieving external payrolls initially run outside of Gusto, then put into Gusto. +`PayrollShowPaymentMethod` entity from the Gusto Embedded API. #### Type Declaration @@ -1204,7 +1204,7 @@ The employee's compensation payment method. Is *only* `Historical` when retrievi > `const` **PayrollSubmissionBlockerTypeStatus**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollsubmissionblockertype.ts:30](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payrollsubmissionblockertype.ts#L30) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payrollsubmissionblockertype.ts:30](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payrollsubmissionblockertype.ts#L30) The status of the submission blocker. @@ -1223,7 +1223,7 @@ The status of the submission blocker. > `const` **PayrollType**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payperiod.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payperiod.ts#L15) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payperiod.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payperiod.ts#L15) Whether it is regular pay period or transition pay period. @@ -1242,7 +1242,7 @@ Whether it is regular pay period or transition pay period. > `const` **PayrollUpdateAmountType**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollupdate.ts:62](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payrollupdate.ts#L62) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payrollupdate.ts:62](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payrollupdate.ts#L62) The amount type of the deduction for the pay period. @@ -1261,7 +1261,7 @@ The amount type of the deduction for the pay period. > `const` **PayrollUpdatePaymentMethod**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollupdate.ts:12](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payrollupdate.ts#L12) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payrollupdate.ts:12](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payrollupdate.ts#L12) The employee's compensation payment method. Invalid values will be ignored. @@ -1280,7 +1280,7 @@ The employee's compensation payment method. Invalid values will be ignored. > `const` **PayrollWithholdingPayPeriodType**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payroll.ts:78](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payroll.ts#L78) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payroll.ts:78](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payroll.ts#L78) `PayrollWithholdingPayPeriodType` entity from the Gusto Embedded API. @@ -1304,7 +1304,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payroll.ts:7 > `const` **PayScheduleFrequency**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payschedulefrequency.ts:22](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payschedulefrequency.ts#L22) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payschedulefrequency.ts:22](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payschedulefrequency.ts#L22) The frequency that employees on this pay schedule are paid with Gusto. @@ -1338,7 +1338,7 @@ READ-ONLY in responses. Possible values: > `const` **PlaidStatus**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/companybankaccount.ts:72](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/companybankaccount.ts#L72) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/companybankaccount.ts:72](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/companybankaccount.ts#L72) `PlaidStatus` entity from the Gusto Embedded API. @@ -1357,7 +1357,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/companybanka > `const` **PolicyType**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/timeoffpolicy.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/timeoffpolicy.ts#L15) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/timeoffpolicy.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/timeoffpolicy.ts#L15) Type of the time off policy. Only "vacation" and "sick" can be created through the API, but other types may be present if the company was previously a Gusto.com customer. @@ -1385,7 +1385,7 @@ Type of the time off policy. Only "vacation" and "sick" can be created through t > `const` **RateType**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/taxrequirementmetadata.ts:81](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/taxrequirementmetadata.ts#L81) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/taxrequirementmetadata.ts:81](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/taxrequirementmetadata.ts#L81) [for `workers_compensation_rate`] The type of rate being collected. Either: @@ -1409,7 +1409,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/taxrequireme > `const` **RecipientType**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/document.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/document.ts#L15) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/document.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/document.ts#L15) The type of recipient associated with the document (will be `Contractor` for Contractor Documents) @@ -1429,7 +1429,7 @@ The type of recipient associated with the document (will be `Contractor` for Con > `const` **RecoveryCaseStatus**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/recoverycase.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/recoverycase.ts#L15) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/recoverycase.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/recoverycase.ts#L15) Status of the recovery case @@ -1451,7 +1451,7 @@ Status of the recovery case > `const` **ResponseType**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/informationrequest.ts:44](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/informationrequest.ts#L44) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/informationrequest.ts:38](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/informationrequest.ts#L38) The type of response to the question @@ -1472,7 +1472,7 @@ The type of response to the question > `const` **SetupStatus**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/taxrequirementstateslist.ts:20](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/taxrequirementstateslist.ts#L20) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/taxrequirementstateslist.ts:20](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/taxrequirementstateslist.ts#L20) The current status of the state tax setup. @@ -1498,7 +1498,7 @@ The current status of the state tax setup. > `const` **TaxPayerType**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/federaltaxdetails.ts:12](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/federaltaxdetails.ts#L12) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/federaltaxdetails.ts:12](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/federaltaxdetails.ts#L12) `TaxPayerType` entity from the Gusto Embedded API. @@ -1527,7 +1527,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/federaltaxde > `const` **TaxRequirementMetadataType**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/taxrequirementmetadata.ts:26](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/taxrequirementmetadata.ts#L26) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/taxrequirementmetadata.ts:26](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/taxrequirementmetadata.ts#L26) Describes the type of requirement - each type may have additional metadata properties to describe possible values, formats, etc. @@ -1563,7 +1563,7 @@ Describes the type of requirement - each type may have additional metadata prope > `const` **TaxRequirementMetadataValidationType**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/taxrequirementmetadata.ts:97](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/taxrequirementmetadata.ts#L97) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/taxrequirementmetadata.ts:97](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/taxrequirementmetadata.ts#L97) Describes the type of tax_rate validation rule @@ -1582,7 +1582,7 @@ Describes the type of tax_rate validation rule > `const` **TimeOffPolicyRequestPolicyType**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/timeoffpolicyrequest.ts:12](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/timeoffpolicyrequest.ts#L12) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/timeoffpolicyrequest.ts:12](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/timeoffpolicyrequest.ts#L12) Type of the time off policy. Currently only "vacation" and "sick" are supported @@ -1601,7 +1601,7 @@ Type of the time off policy. Currently only "vacation" and "sick" are supported > `const` **VerificationStatus**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/companybankaccount.ts:33](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/companybankaccount.ts#L33) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/companybankaccount.ts:33](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/companybankaccount.ts#L33) The verification status of the bank account. @@ -1627,7 +1627,7 @@ The verification status of the bank account. > `const` **VerificationType**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/companybankaccount.ts:57](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/companybankaccount.ts#L57) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/companybankaccount.ts:57](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/companybankaccount.ts#L57) The verification type of the bank account. @@ -1652,7 +1652,7 @@ The verification type of the bank account. > `const` **WageType**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractor.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractor.ts#L15) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractor.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractor.ts#L15) The contractor's wage type, either "Fixed" or "Hourly". @@ -1671,7 +1671,7 @@ The contractor's wage type, either "Fixed" or "Hourly". > `const` **WireInRequestStatus**: `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/wireinrequest.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/wireinrequest.ts#L15) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/wireinrequest.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/wireinrequest.ts#L15) Status of the wire in @@ -1692,7 +1692,7 @@ Status of the wire in > **AccountType** = `ClosedEnum`\<*typeof* [`AccountType`](#accounttype)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/companybankaccount.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/companybankaccount.ts#L15) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/companybankaccount.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/companybankaccount.ts#L15) Bank account type @@ -1704,7 +1704,7 @@ Bank account type > **AccrualMethod** = `ClosedEnum`\<*typeof* [`AccrualMethod`](#accrualmethod)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/timeoffpolicyrequest.ts:26](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/timeoffpolicyrequest.ts#L26) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/timeoffpolicyrequest.ts:26](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/timeoffpolicyrequest.ts#L26) Accrual method of the time off policy @@ -1716,7 +1716,7 @@ Accrual method of the time off policy > **Address** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractor.ts:39](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractor.ts#L39) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractor.ts:39](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractor.ts#L39) The contractor’s home address. @@ -1739,7 +1739,7 @@ The contractor’s home address. > **Agencies** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/childsupportdata.ts:47](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/childsupportdata.ts#L47) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/childsupportdata.ts:47](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/childsupportdata.ts#L47) `Agencies` entity from the Gusto Embedded API. @@ -1761,7 +1761,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/childsupport > **AmountType** = `ClosedEnum`\<*typeof* [`AmountType`](#amounttype)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollemployeecompensationstype.ts:106](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payrollemployeecompensationstype.ts#L106) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payrollemployeecompensationstype.ts:100](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payrollemployeecompensationstype.ts#L100) The amount type of the deduction for the pay period. Only present for unprocessed payrolls. @@ -1773,7 +1773,7 @@ The amount type of the deduction for the pay period. Only present for unprocesse > **Answers** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employeestatetaxesrequest.ts:10](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/employeestatetaxesrequest.ts#L10) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/employeestatetaxesrequest.ts:10](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/employeestatetaxesrequest.ts#L10) `Answers` entity from the Gusto Embedded API. @@ -1793,7 +1793,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employeestat > **ApplicableIf** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/taxrequirement.ts:24](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/taxrequirement.ts#L24) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/taxrequirement.ts:24](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/taxrequirement.ts#L24) `ApplicableIf` entity from the Gusto Embedded API. @@ -1812,7 +1812,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/taxrequireme > **AuthorizationStatus** = `ClosedEnum`\<*typeof* [`AuthorizationStatus`](#authorizationstatus)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/i9authorization.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/i9authorization.ts#L15) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/i9authorization.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/i9authorization.ts#L15) The employee's authorization status @@ -1824,7 +1824,7 @@ The employee's authorization status > **ChildSupportDataKey** = `ClosedEnum`\<*typeof* [`ChildSupportDataKey`](#childsupportdatakey)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/childsupportdata.ts:26](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/childsupportdata.ts#L26) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/childsupportdata.ts:26](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/childsupportdata.ts#L26) A required attribute when creating a garnishment for this state agency. The current values are listed as an enum; though unlikely, values could be added if state agency requirements change in the future. @@ -1836,7 +1836,7 @@ A required attribute when creating a garnishment for this state agency. The curr > **ChristmasDay** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/holidaypaypolicy.ts:71](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/holidaypaypolicy.ts#L71) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/holidaypaypolicy.ts:71](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/holidaypaypolicy.ts#L71) `ChristmasDay` entity from the Gusto Embedded API. @@ -1856,7 +1856,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/holidaypaypo > **ColumbusDay** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/holidaypaypolicy.ts:53](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/holidaypaypolicy.ts#L53) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/holidaypaypolicy.ts:53](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/holidaypaypolicy.ts#L53) `ColumbusDay` entity from the Gusto Embedded API. @@ -1876,7 +1876,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/holidaypaypo > **CompanyBankAccount** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/companybankaccount.ts:81](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/companybankaccount.ts#L81) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/companybankaccount.ts:81](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/companybankaccount.ts#L81) The company bank account @@ -1905,7 +1905,7 @@ The company bank account > **CompanyOnboardingStatusRequirements** = `ClosedEnum`\<*typeof* [`CompanyOnboardingStatusRequirements`](#companyonboardingstatusrequirements)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/companyonboardingstatus.ts:32](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/companyonboardingstatus.ts#L32) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/companyonboardingstatus.ts:32](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/companyonboardingstatus.ts#L32) `CompanyOnboardingStatusRequirements` entity from the Gusto Embedded API. @@ -1917,7 +1917,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/companyonboa > **Compensation** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/compensation.ts:49](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/compensation.ts#L49) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/compensation.ts:49](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/compensation.ts#L49) The representation of compensation in Gusto. @@ -1945,7 +1945,7 @@ The representation of compensation in Gusto. > **Contractor** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractor.ts:129](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractor.ts#L129) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractor.ts:129](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractor.ts#L129) The representation of a contractor (individual or business) in Gusto. @@ -1993,7 +1993,7 @@ The representation of a contractor (individual or business) in Gusto. > **ContractorAddress** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractoraddress.ts:11](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractoraddress.ts#L11) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractoraddress.ts:11](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractoraddress.ts#L11) `ContractorAddress` entity from the Gusto Embedded API. @@ -2019,7 +2019,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorad > **ContractorBankAccount** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorbankaccount.ts:26](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractorbankaccount.ts#L26) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractorbankaccount.ts:26](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractorbankaccount.ts#L26) `ContractorBankAccount` entity from the Gusto Embedded API. @@ -2042,7 +2042,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorba > **ContractorBankAccountAccountType** = `ClosedEnum`\<*typeof* [`ContractorBankAccountAccountType`](#contractorbankaccountaccounttype)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorbankaccount.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractorbankaccount.ts#L15) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractorbankaccount.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractorbankaccount.ts#L15) Bank account type @@ -2054,7 +2054,7 @@ Bank account type > **ContractorCreateRequestBody** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorcreaterequestbody.ts:44](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractorcreaterequestbody.ts#L44) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractorcreaterequestbody.ts:44](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractorcreaterequestbody.ts#L44) Request body for creating a contractor. @@ -2086,7 +2086,7 @@ Request body for creating a contractor. > **ContractorCreateRequestBodyType** = `ClosedEnum`\<*typeof* [`ContractorCreateRequestBodyType`](#contractorcreaterequestbodytype)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorcreaterequestbody.ts:12](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractorcreaterequestbody.ts#L12) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractorcreaterequestbody.ts:12](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractorcreaterequestbody.ts#L12) The contractor type. @@ -2098,7 +2098,7 @@ The contractor type. > **ContractorCreateRequestBodyWageType** = `ClosedEnum`\<*typeof* [`ContractorCreateRequestBodyWageType`](#contractorcreaterequestbodywagetype)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorcreaterequestbody.ts:28](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractorcreaterequestbody.ts#L28) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractorcreaterequestbody.ts:28](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractorcreaterequestbody.ts#L28) The contractor’s wage type. @@ -2112,7 +2112,7 @@ The contractor’s wage type. > **ContractorMemberPortalInvitationStatus** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractor.ts:107](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractor.ts#L107) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractor.ts:107](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractor.ts#L107) Member portal invitation status information. Only included when the include param has the portal_invitations value set. @@ -2133,7 +2133,7 @@ Member portal invitation status information. Only included when the include para > **ContractorOnboardingStatus1** = `ClosedEnum`\<*typeof* [`ContractorOnboardingStatus1`](#contractoronboardingstatus1)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractor.ts:51](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractor.ts#L51) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractor.ts:51](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractor.ts#L51) One of the "onboarding_status" enum values. @@ -2145,7 +2145,7 @@ One of the "onboarding_status" enum values. > **ContractorPaymentForGroup** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorpaymentforgroup.ts:59](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractorpaymentforgroup.ts#L59) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractorpaymentforgroup.ts:59](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractorpaymentforgroup.ts#L59) The representation of a single contractor payment. @@ -2157,7 +2157,9 @@ The representation of a single contractor payment. | `contractorUuid?` | `string` | The UUID of the contractor. | | `hourlyRate?` | `string` | The rate per hour worked for the payment. | | `hours?` | `string` | The number of hours worked for the payment. | +| `invoiceNumber?` | `string` \| `null` | An optional invoice number associated with this contractor payment. This will be visible to the contractor on their paystub. Maximum 25 characters. | | `mayCancel?` | `boolean` | Determine if the contractor payment can be cancelled. | +| `memo?` | `string` \| `null` | An optional note or memo for this contractor payment. This will be visible to the contractor on their paystub. | | `paymentMethod?` | [`ContractorPaymentForGroupPaymentMethod`](#contractorpaymentforgrouppaymentmethod-1) | The payment method. | | `reimbursement?` | `string` | The reimbursement amount in the payment. | | `status?` | [`ContractorPaymentForGroupStatus`](#contractorpaymentforgroupstatus-1) | The status of the contractor payment. Will transition to `Funded` during payments processing if the payment should be funded, i.e. has `Direct Deposit` for payment method. Contractors payments with `Check` payment method will remain `Unfunded`. | @@ -2174,7 +2176,7 @@ The representation of a single contractor payment. > **ContractorPaymentForGroupPaymentMethod** = `ClosedEnum`\<*typeof* [`ContractorPaymentForGroupPaymentMethod`](#contractorpaymentforgrouppaymentmethod)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorpaymentforgroup.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractorpaymentforgroup.ts#L15) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractorpaymentforgroup.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractorpaymentforgroup.ts#L15) The payment method. @@ -2186,7 +2188,7 @@ The payment method. > **ContractorPaymentForGroupPreview** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorpaymentforgrouppreview.ts:59](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractorpaymentforgrouppreview.ts#L59) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractorpaymentforgrouppreview.ts:59](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractorpaymentforgrouppreview.ts#L59) Preview representation of a single contractor payment with nullable uuid. @@ -2198,7 +2200,9 @@ Preview representation of a single contractor payment with nullable uuid. | `contractorUuid?` | `string` | The UUID of the contractor. | | `hourlyRate?` | `string` | The rate per hour worked for the payment. | | `hours?` | `string` | The number of hours worked for the payment. | +| `invoiceNumber?` | `string` \| `null` | An optional invoice number associated with this contractor payment. This will be visible to the contractor on their paystub. Maximum 25 characters. | | `mayCancel?` | `boolean` | Determine if the contractor payment can be cancelled. | +| `memo?` | `string` \| `null` | An optional note or memo for this contractor payment. This will be visible to the contractor on their paystub. | | `paymentMethod?` | [`ContractorPaymentForGroupPreviewPaymentMethod`](#contractorpaymentforgrouppreviewpaymentmethod-1) | The payment method. | | `reimbursement?` | `string` | The reimbursement amount in the payment. | | `status?` | [`ContractorPaymentForGroupPreviewStatus`](#contractorpaymentforgrouppreviewstatus-1) | The status of the contractor payment. Will transition to `Funded` during payments processing if the payment should be funded, i.e. has `Direct Deposit` for payment method. Contractors payments with `Check` payment method will remain `Unfunded`. | @@ -2215,7 +2219,7 @@ Preview representation of a single contractor payment with nullable uuid. > **ContractorPaymentForGroupPreviewPaymentMethod** = `ClosedEnum`\<*typeof* [`ContractorPaymentForGroupPreviewPaymentMethod`](#contractorpaymentforgrouppreviewpaymentmethod)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorpaymentforgrouppreview.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractorpaymentforgrouppreview.ts#L15) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractorpaymentforgrouppreview.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractorpaymentforgrouppreview.ts#L15) The payment method. @@ -2227,7 +2231,7 @@ The payment method. > **ContractorPaymentForGroupPreviewStatus** = `ClosedEnum`\<*typeof* [`ContractorPaymentForGroupPreviewStatus`](#contractorpaymentforgrouppreviewstatus)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorpaymentforgrouppreview.ts:31](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractorpaymentforgrouppreview.ts#L31) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractorpaymentforgrouppreview.ts:31](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractorpaymentforgrouppreview.ts#L31) The status of the contractor payment. Will transition to `Funded` during payments processing if the payment should be funded, i.e. has `Direct Deposit` for payment method. Contractors payments with `Check` payment method will remain `Unfunded`. @@ -2239,7 +2243,7 @@ The status of the contractor payment. Will transition to `Funded` during paymen > **ContractorPaymentForGroupPreviewWageType** = `ClosedEnum`\<*typeof* [`ContractorPaymentForGroupPreviewWageType`](#contractorpaymentforgrouppreviewwagetype)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorpaymentforgrouppreview.ts:45](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractorpaymentforgrouppreview.ts#L45) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractorpaymentforgrouppreview.ts:45](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractorpaymentforgrouppreview.ts#L45) The wage type for the payment. @@ -2251,7 +2255,7 @@ The wage type for the payment. > **ContractorPaymentForGroupStatus** = `ClosedEnum`\<*typeof* [`ContractorPaymentForGroupStatus`](#contractorpaymentforgroupstatus)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorpaymentforgroup.ts:31](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractorpaymentforgroup.ts#L31) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractorpaymentforgroup.ts:31](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractorpaymentforgroup.ts#L31) The status of the contractor payment. Will transition to `Funded` during payments processing if the payment should be funded, i.e. has `Direct Deposit` for payment method. Contractors payments with `Check` payment method will remain `Unfunded`. @@ -2263,7 +2267,7 @@ The status of the contractor payment. Will transition to `Funded` during paymen > **ContractorPaymentForGroupWageType** = `ClosedEnum`\<*typeof* [`ContractorPaymentForGroupWageType`](#contractorpaymentforgroupwagetype)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorpaymentforgroup.ts:45](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractorpaymentforgroup.ts#L45) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractorpaymentforgroup.ts:45](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractorpaymentforgroup.ts#L45) The wage type for the payment. @@ -2275,7 +2279,7 @@ The wage type for the payment. > **ContractorPaymentGroup** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorpaymentgroup.ts:64](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractorpaymentgroup.ts#L64) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractorpaymentgroup.ts:64](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractorpaymentgroup.ts#L64) The full contractor payment group, including associated contractor payments. @@ -2303,7 +2307,7 @@ The full contractor payment group, including associated contractor payments. > **ContractorPaymentGroupPreview** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorpaymentgrouppreview.ts:64](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractorpaymentgrouppreview.ts#L64) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractorpaymentgrouppreview.ts:64](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractorpaymentgrouppreview.ts#L64) Preview of a contractor payment group @@ -2331,7 +2335,7 @@ Preview of a contractor payment group > **ContractorPaymentGroupPreviewStatus** = `ClosedEnum`\<*typeof* [`ContractorPaymentGroupPreviewStatus`](#contractorpaymentgrouppreviewstatus)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorpaymentgrouppreview.ts:27](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractorpaymentgrouppreview.ts#L27) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractorpaymentgrouppreview.ts:27](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractorpaymentgrouppreview.ts#L27) The status of the contractor payment group. Will be `Funded` if all payments that should be funded (i.e. have `Direct Deposit` for payment method) are funded. A group can have status `Funded` while having associated payments that have status `Unfunded`, i.e. payment with `Check` payment method. @@ -2343,7 +2347,7 @@ The status of the contractor payment group. Will be `Funded` if all payments th > **ContractorPaymentGroupPreviewTotals** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorpaymentgrouppreview.ts:38](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractorpaymentgrouppreview.ts#L38) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractorpaymentgrouppreview.ts:38](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractorpaymentgrouppreview.ts#L38) `ContractorPaymentGroupPreviewTotals` entity from the Gusto Embedded API. @@ -2365,7 +2369,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorpa > **ContractorPaymentGroupStatus** = `ClosedEnum`\<*typeof* [`ContractorPaymentGroupStatus`](#contractorpaymentgroupstatus)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorpaymentgroup.ts:27](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractorpaymentgroup.ts#L27) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractorpaymentgroup.ts:27](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractorpaymentgroup.ts#L27) The status of the contractor payment group. Will be `Funded` if all payments that should be funded (i.e. have `Direct Deposit` for payment method) are funded. A group can have status `Funded` while having associated payments that have status `Unfunded`, i.e. payment with `Check` payment method. @@ -2377,7 +2381,7 @@ The status of the contractor payment group. Will be `Funded` if all payments th > **ContractorPaymentGroupTotals** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorpaymentgroup.ts:38](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractorpaymentgroup.ts#L38) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractorpaymentgroup.ts:38](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractorpaymentgroup.ts#L38) `ContractorPaymentGroupTotals` entity from the Gusto Embedded API. @@ -2399,7 +2403,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorpa > **ContractorPaymentGroupWithBlockers** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorpaymentgroupwithblockers.ts:60](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractorpaymentgroupwithblockers.ts#L60) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractorpaymentgroupwithblockers.ts:60](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractorpaymentgroupwithblockers.ts#L60) Contractor payment group with submission and credit blockers, but without individual contractor payments. @@ -2426,7 +2430,7 @@ Contractor payment group with submission and credit blockers, but without indivi > **ContractorPaymentGroupWithBlockersStatus** = `ClosedEnum`\<*typeof* [`ContractorPaymentGroupWithBlockersStatus`](#contractorpaymentgroupwithblockersstatus)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorpaymentgroupwithblockers.ts:23](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractorpaymentgroupwithblockers.ts#L23) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractorpaymentgroupwithblockers.ts:23](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractorpaymentgroupwithblockers.ts#L23) The status of the contractor payment group. Will be `Funded` if all payments that should be funded (i.e. have `Direct Deposit` for payment method) are funded. A group can have status `Funded` while having associated payments that have status `Unfunded`, i.e. payment with `Check` payment method. @@ -2438,7 +2442,7 @@ The status of the contractor payment group. Will be `Funded` if all payments th > **ContractorPaymentGroupWithBlockersTotals** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorpaymentgroupwithblockers.ts:34](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractorpaymentgroupwithblockers.ts#L34) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractorpaymentgroupwithblockers.ts:34](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractorpaymentgroupwithblockers.ts#L34) `ContractorPaymentGroupWithBlockersTotals` entity from the Gusto Embedded API. @@ -2460,7 +2464,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorpa > **ContractorPaymentMethod** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorpaymentmethod.ts:32](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractorpaymentmethod.ts#L32) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractorpaymentmethod.ts:32](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractorpaymentmethod.ts#L32) `ContractorPaymentMethod` entity from the Gusto Embedded API. @@ -2481,7 +2485,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorpa > **ContractorPaymentMethod1** = `ClosedEnum`\<*typeof* [`ContractorPaymentMethod1`](#contractorpaymentmethod1)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractor.ts:67](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractor.ts#L67) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractor.ts:67](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractor.ts#L67) `ContractorPaymentMethod1` entity from the Gusto Embedded API. @@ -2493,7 +2497,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractor.t > **ContractorPaymentMethodSplitBy** = `ClosedEnum`\<*typeof* [`ContractorPaymentMethodSplitBy`](#contractorpaymentmethodsplitby)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorpaymentmethod.ts:24](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractorpaymentmethod.ts#L24) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractorpaymentmethod.ts:24](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractorpaymentmethod.ts#L24) `ContractorPaymentMethodSplitBy` entity from the Gusto Embedded API. @@ -2505,7 +2509,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorpa > **ContractorPaymentMethodType** = `ClosedEnum`\<*typeof* [`ContractorPaymentMethodType`](#contractorpaymentmethodtype)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorpaymentmethod.ts:16](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractorpaymentmethod.ts#L16) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractorpaymentmethod.ts:16](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractorpaymentmethod.ts#L16) `ContractorPaymentMethodType` entity from the Gusto Embedded API. @@ -2517,7 +2521,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorpa > **ContractorPaymentReceipt** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorpaymentreceipt.ts:112](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractorpaymentreceipt.ts#L112) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractorpaymentreceipt.ts:112](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractorpaymentreceipt.ts#L112) `ContractorPaymentReceipt` entity from the Gusto Embedded API. @@ -2546,7 +2550,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorpa > **ContractorPaymentReceiptLicensee** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorpaymentreceipt.ts:85](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractorpaymentreceipt.ts#L85) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractorpaymentreceipt.ts:85](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractorpaymentreceipt.ts#L85) The licensed payroll processor @@ -2569,7 +2573,7 @@ The licensed payroll processor > **ContractorPaymentReceiptPaymentMethod** = `ClosedEnum`\<*typeof* [`ContractorPaymentReceiptPaymentMethod`](#contractorpaymentreceiptpaymentmethod)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorpaymentreceipt.ts:26](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractorpaymentreceipt.ts#L26) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractorpaymentreceipt.ts:26](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractorpaymentreceipt.ts#L26) The payment method. @@ -2581,7 +2585,7 @@ The payment method. > **ContractorPaymentReceiptTotals** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorpaymentreceipt.ts:16](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractorpaymentreceipt.ts#L16) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractorpaymentreceipt.ts:16](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractorpaymentreceipt.ts#L16) The subtotals for the contractor payment. @@ -2599,7 +2603,7 @@ The subtotals for the contractor payment. > **ContractorPayments** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorpaymentreceipt.ts:39](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractorpaymentreceipt.ts#L39) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractorpaymentreceipt.ts:39](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractorpaymentreceipt.ts#L39) `ContractorPayments` entity from the Gusto Embedded API. @@ -2625,7 +2629,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorpa > **ContractorStatus** = `ClosedEnum`\<*typeof* [`ContractorStatus`](#contractorstatus)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractor.ts:92](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractor.ts#L92) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractor.ts:92](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractor.ts#L92) The current status of the member portal invitation. @@ -2637,7 +2641,7 @@ The current status of the member portal invitation. > **ContractorType** = `ClosedEnum`\<*typeof* [`ContractorType`](#contractortype)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractor.ts:27](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractor.ts#L27) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractor.ts:27](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractor.ts#L27) The contractor's type, either "Individual" or "Business". @@ -2649,7 +2653,7 @@ The contractor's type, either "Individual" or "Business". > **ContractorUpdateRequestBody** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorupdaterequestbody.ts:44](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractorupdaterequestbody.ts#L44) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractorupdaterequestbody.ts:44](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractorupdaterequestbody.ts#L44) Request body for updating a contractor. @@ -2682,7 +2686,7 @@ Request body for updating a contractor. > **ContractorUpdateRequestBodyType** = `ClosedEnum`\<*typeof* [`ContractorUpdateRequestBodyType`](#contractorupdaterequestbodytype)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorupdaterequestbody.ts:12](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractorupdaterequestbody.ts#L12) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractorupdaterequestbody.ts:12](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractorupdaterequestbody.ts#L12) The contractor type. @@ -2694,7 +2698,7 @@ The contractor type. > **ContractorUpdateRequestBodyWageType** = `ClosedEnum`\<*typeof* [`ContractorUpdateRequestBodyWageType`](#contractorupdaterequestbodywagetype)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractorupdaterequestbody.ts:28](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractorupdaterequestbody.ts#L28) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractorupdaterequestbody.ts:28](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractorupdaterequestbody.ts#L28) The contractor’s wage type. @@ -2708,7 +2712,7 @@ The contractor’s wage type. > **CustomFieldType** = `ClosedEnum`\<*typeof* [`CustomFieldType`](#customfieldtype)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/customfieldtype.ts:11](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/customfieldtype.ts#L11) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/customfieldtype.ts:11](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/customfieldtype.ts#L11) Input type for the custom field. @@ -2720,7 +2724,7 @@ Input type for the custom field. > **Deductions** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollemployeecompensationstype.ts:115](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payrollemployeecompensationstype.ts#L115) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payrollemployeecompensationstype.ts:109](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payrollemployeecompensationstype.ts#L109) `Deductions` entity from the Gusto Embedded API. @@ -2742,7 +2746,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollemplo > **Document** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/document.ts:75](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/document.ts#L75) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/document.ts:75](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/document.ts#L75) `Document` entity from the Gusto Embedded API. @@ -2772,7 +2776,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/document.ts: > **DocumentType** = `ClosedEnum`\<*typeof* [`DocumentType`](#documenttype)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/i9authorization.ts:26](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/i9authorization.ts#L26) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/i9authorization.ts:26](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/i9authorization.ts#L26) `DocumentType` entity from the Gusto Embedded API. @@ -2784,7 +2788,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/i9authorizat > **EinVerification** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/federaltaxdetails.ts:76](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/federaltaxdetails.ts#L76) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/federaltaxdetails.ts:76](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/federaltaxdetails.ts#L76) Information about the status of verifying the company's Employer Identification Number (EIN) @@ -2802,7 +2806,7 @@ Information about the status of verifying the company's Employer Identification > **Employee** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employee.ts:116](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/employee.ts#L116) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/employee.ts:116](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/employee.ts#L116) The representation of an employee in Gusto. @@ -2860,7 +2864,7 @@ The representation of an employee in Gusto. > **EmployeeAddress** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employeeaddress.ts:12](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/employeeaddress.ts#L12) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/employeeaddress.ts:12](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/employeeaddress.ts#L12) `EmployeeAddress` entity from the Gusto Embedded API. @@ -2889,7 +2893,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employeeaddr > **EmployeeBankAccount** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employeebankaccount.ts:26](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/employeebankaccount.ts#L26) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/employeebankaccount.ts:26](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/employeebankaccount.ts#L26) `EmployeeBankAccount` entity from the Gusto Embedded API. @@ -2912,7 +2916,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employeebank > **EmployeeBankAccountAccountType** = `ClosedEnum`\<*typeof* [`EmployeeBankAccountAccountType`](#employeebankaccountaccounttype)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employeebankaccount.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/employeebankaccount.ts#L15) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/employeebankaccount.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/employeebankaccount.ts#L15) Bank account type @@ -2924,7 +2928,7 @@ Bank account type > **EmployeeCompensations** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payroll.ts:427](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payroll.ts#L427) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payroll.ts:421](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payroll.ts#L421) `EmployeeCompensations` entity from the Gusto Embedded API. @@ -2960,7 +2964,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payroll.ts:4 > **EmployeeCurrentEmploymentStatus** = `ClosedEnum`\<*typeof* [`EmployeeCurrentEmploymentStatus`](#employeecurrentemploymentstatus)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employee.ts:65](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/employee.ts#L65) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/employee.ts:65](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/employee.ts#L65) `EmployeeCurrentEmploymentStatus` entity from the Gusto Embedded API. @@ -2972,7 +2976,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employee.ts: > **EmployeeCustomField** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employeecustomfield.ts:18](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/employeecustomfield.ts#L18) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/employeecustomfield.ts:18](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/employeecustomfield.ts#L18) A custom field of an employee @@ -2996,7 +3000,7 @@ A custom field of an employee > **EmployeeFederalTax** = [`EmployeeFederalTaxPre2020`](#employeefederaltaxpre2020) \| [`EmployeeFederalTaxRev2020`](#employeefederaltaxrev2020) -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employeefederaltax.ts:21](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/employeefederaltax.ts#L21) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/employeefederaltax.ts:21](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/employeefederaltax.ts#L21) Federal tax information for an employee. The response structure varies based on the w4_data_type field. @@ -3008,7 +3012,7 @@ Federal tax information for an employee. The response structure varies based on > **EmployeeFederalTaxPre2020** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employeefederaltaxpre2020.ts:14](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/employeefederaltaxpre2020.ts#L14) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/employeefederaltaxpre2020.ts:14](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/employeefederaltaxpre2020.ts#L14) Federal tax information for employees using the pre-2020 W4 form. @@ -3033,7 +3037,7 @@ Federal tax information for employees using the pre-2020 W4 form. > **EmployeeFederalTaxRev2020** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employeefederaltaxrev2020.ts:14](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/employeefederaltaxrev2020.ts#L14) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/employeefederaltaxrev2020.ts:14](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/employeefederaltaxrev2020.ts#L14) Federal tax information for employees using the revised 2020 W4 form. @@ -3061,7 +3065,7 @@ Federal tax information for employees using the revised 2020 W4 form. > **EmployeeMemberPortalInvitationStatus** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employee.ts:94](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/employee.ts#L94) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/employee.ts:94](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/employee.ts#L94) Member portal invitation status information. Only included when the include param has the portal_invitations value set. @@ -3082,7 +3086,7 @@ Member portal invitation status information. Only included when the include para > **EmployeeOnboardingDocumentsConfig** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employee.ts:42](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/employee.ts#L42) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/employee.ts:42](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/employee.ts#L42) Configuration for an employee onboarding documents during onboarding @@ -3101,7 +3105,7 @@ Configuration for an employee onboarding documents during onboarding > **EmployeeOnboardingStatus** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employeeonboardingstatus.ts:37](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/employeeonboardingstatus.ts#L37) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/employeeonboardingstatus.ts:37](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/employeeonboardingstatus.ts#L37) The representation of an employee's onboarding status. @@ -3121,7 +3125,7 @@ The representation of an employee's onboarding status. > **EmployeeOnboardingStatus1** = `ClosedEnum`\<*typeof* [`EmployeeOnboardingStatus1`](#employeeonboardingstatus1)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employee.ts:25](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/employee.ts#L25) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/employee.ts:25](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/employee.ts#L25) `EmployeeOnboardingStatus1` entity from the Gusto Embedded API. @@ -3133,7 +3137,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employee.ts: > **EmployeeOnboardingStatusOnboardingStep** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employeeonboardingstatus.ts:11](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/employeeonboardingstatus.ts#L11) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/employeeonboardingstatus.ts:11](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/employeeonboardingstatus.ts#L11) `EmployeeOnboardingStatusOnboardingStep` entity from the Gusto Embedded API. @@ -3155,7 +3159,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employeeonbo > **EmployeePaymentMethod** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employeepaymentmethod.ts:38](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/employeepaymentmethod.ts#L38) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/employeepaymentmethod.ts:38](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/employeepaymentmethod.ts#L38) `EmployeePaymentMethod` entity from the Gusto Embedded API. @@ -3176,7 +3180,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employeepaym > **EmployeePaymentMethod1** = `ClosedEnum`\<*typeof* [`EmployeePaymentMethod1`](#employeepaymentmethod1)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employee.ts:56](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/employee.ts#L56) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/employee.ts:56](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/employee.ts#L56) The employee's payment method @@ -3188,7 +3192,7 @@ The employee's payment method > **EmployeePaymentMethodSplitBy** = `ClosedEnum`\<*typeof* [`EmployeePaymentMethodSplitBy`](#employeepaymentmethodsplitby)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employeepaymentmethod.ts:30](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/employeepaymentmethod.ts#L30) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/employeepaymentmethod.ts:30](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/employeepaymentmethod.ts#L30) `EmployeePaymentMethodSplitBy` entity from the Gusto Embedded API. @@ -3200,7 +3204,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employeepaym > **EmployeePaymentMethodType** = `ClosedEnum`\<*typeof* [`EmployeePaymentMethodType`](#employeepaymentmethodtype)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employeepaymentmethod.ts:19](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/employeepaymentmethod.ts#L19) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/employeepaymentmethod.ts:19](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/employeepaymentmethod.ts#L19) The payment method type. If type is Check, then `split_by` and `splits` do not need to be populated. If type is Direct Deposit, `split_by` and `splits` are required. @@ -3212,7 +3216,7 @@ The payment method type. If type is Check, then `split_by` and `splits` do not n > **EmployeeStateTaxAnswer** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employeestatetaxanswer.ts:16](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/employeestatetaxanswer.ts#L16) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/employeestatetaxanswer.ts:16](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/employeestatetaxanswer.ts#L16) `EmployeeStateTaxAnswer` entity from the Gusto Embedded API. @@ -3232,7 +3236,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employeestat > **EmployeeStateTaxesList** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employeestatetaxeslist.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/employeestatetaxeslist.ts#L15) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/employeestatetaxeslist.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/employeestatetaxeslist.ts#L15) `EmployeeStateTaxesList` entity from the Gusto Embedded API. @@ -3245,6 +3249,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employeestat | `isWorkState?` | `boolean` | - | | `questions?` | [`EmployeeStateTaxQuestion`](#employeestatetaxquestion)[] | - | | `state?` | `string` | Two letter US state abbreviation | +| `uuid?` | `string` | The uuid of the employee state field. | *** @@ -3254,7 +3259,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employeestat > **EmployeeStateTaxesRequest** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employeestatetaxesrequest.ts:26](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/employeestatetaxesrequest.ts#L26) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/employeestatetaxesrequest.ts:26](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/employeestatetaxesrequest.ts#L26) `EmployeeStateTaxesRequest` entity from the Gusto Embedded API. @@ -3272,7 +3277,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employeestat > **EmployeeStateTaxInputQuestionFormat** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employeestatetaxinputquestionformat.ts:29](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/employeestatetaxinputquestionformat.ts#L29) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/employeestatetaxinputquestionformat.ts:29](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/employeestatetaxinputquestionformat.ts#L29) `EmployeeStateTaxInputQuestionFormat` entity from the Gusto Embedded API. @@ -3291,7 +3296,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employeestat > **EmployeeStateTaxQuestion** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employeestatetaxquestion.ts:19](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/employeestatetaxquestion.ts#L19) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/employeestatetaxquestion.ts:19](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/employeestatetaxquestion.ts#L19) `EmployeeStateTaxQuestion` entity from the Gusto Embedded API. @@ -3314,7 +3319,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employeestat > **EmployeeStatus** = `ClosedEnum`\<*typeof* [`EmployeeStatus`](#employeestatus)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employee.ts:79](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/employee.ts#L79) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/employee.ts:79](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/employee.ts#L79) The current status of the member portal invitation. @@ -3326,7 +3331,7 @@ The current status of the member portal invitation. > **EmployeeWorkAddress** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employeeworkaddress.ts:11](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/employeeworkaddress.ts#L11) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/employeeworkaddress.ts:11](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/employeeworkaddress.ts#L11) `EmployeeWorkAddress` entity from the Gusto Embedded API. @@ -3355,7 +3360,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employeework > **EntityErrorObject** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/entityerrorobject.ts:24](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/entityerrorobject.ts#L24) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/entityerrorobject.ts:24](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/entityerrorobject.ts#L24) `EntityErrorObject` entity from the Gusto Embedded API. @@ -3377,7 +3382,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/entityerroro > **FederalHolidays** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/holidaypaypolicy.ts:80](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/holidaypaypolicy.ts#L80) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/holidaypaypolicy.ts:80](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/holidaypaypolicy.ts#L80) List of the eleven supported federal holidays and their details @@ -3405,7 +3410,7 @@ List of the eleven supported federal holidays and their details > **FederalTaxDetails** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/federaltaxdetails.ts:88](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/federaltaxdetails.ts#L88) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/federaltaxdetails.ts:88](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/federaltaxdetails.ts#L88) `FederalTaxDetails` entity from the Gusto Embedded API. @@ -3432,7 +3437,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/federaltaxde > **FederalTaxDetailsStatus** = `ClosedEnum`\<*typeof* [`FederalTaxDetailsStatus`](#federaltaxdetailsstatus)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/federaltaxdetails.ts:56](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/federaltaxdetails.ts#L56) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/federaltaxdetails.ts:56](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/federaltaxdetails.ts#L56) The status of EIN verification: @@ -3450,7 +3455,7 @@ The status of EIN verification: > **Fields** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/document.ts:36](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/document.ts#L36) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/document.ts:36](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/document.ts#L36) `Fields` entity from the Gusto Embedded API. @@ -3476,7 +3481,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/document.ts: > **FilingForm** = `ClosedEnum`\<*typeof* [`FilingForm`](#filingform)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/federaltaxdetails.ts:35](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/federaltaxdetails.ts#L35) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/federaltaxdetails.ts:35](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/federaltaxdetails.ts#L35) The form used by the company for federal tax filing. One of: @@ -3493,7 +3498,7 @@ The form used by the company for federal tax filing. One of: > **FipsCodes** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/childsupportdata.ts:12](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/childsupportdata.ts#L12) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/childsupportdata.ts:12](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/childsupportdata.ts#L12) `FipsCodes` entity from the Gusto Embedded API. @@ -3512,7 +3517,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/childsupport > **FlsaStatusType** = `ClosedEnum`\<*typeof* [`FlsaStatusType`](#flsastatustype)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/flsastatustype.ts:11](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/flsastatustype.ts#L11) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/flsastatustype.ts:11](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/flsastatustype.ts#L11) The FLSA status for this compensation. Salaried ('Exempt') employees are paid a fixed salary every pay period. Salaried with overtime ('Salaried Nonexempt') employees are paid a fixed salary every pay period, and receive overtime pay when applicable. Hourly ('Nonexempt') employees are paid for the hours they work, and receive overtime pay when applicable. Commissioned employees ('Commission Only Exempt') earn wages based only on commission. Commissioned with overtime ('Commission Only Nonexempt') earn wages based on commission, and receive overtime pay when applicable. Owners ('Owner') are employees that own at least twenty percent of the company. @@ -3524,7 +3529,7 @@ The FLSA status for this compensation. Salaried ('Exempt') employees are paid a > **Form** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/form.ts:11](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/form.ts#L11) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/form.ts:11](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/form.ts#L11) `Form` entity from the Gusto Embedded API. @@ -3551,7 +3556,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/form.ts:11]( > **Garnishment** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/garnishment.ts:30](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/garnishment.ts#L30) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/garnishment.ts:30](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/garnishment.ts#L30) Garnishments, or employee deductions, are fixed amounts or percentages deducted from an employee’s pay. They can be deducted a specific number of times or on a recurring basis. Garnishments can also have maximum deductions on a yearly or per-pay-period bases. Common uses for garnishments are court-ordered payments for child support or back taxes. Some companies provide loans to their employees that are repaid via garnishments. @@ -3583,7 +3588,7 @@ Garnishments, or employee deductions, are fixed amounts or percentages deducted > **GarnishmentChildSupport** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/garnishmentchildsupport.ts:29](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/garnishmentchildsupport.ts#L29) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/garnishmentchildsupport.ts:29](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/garnishmentchildsupport.ts#L29) Additional child support order details @@ -3606,7 +3611,7 @@ Additional child support order details > **GarnishmentType** = `ClosedEnum`\<*typeof* [`GarnishmentType`](#garnishmenttype)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/garnishment.ts:16](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/garnishment.ts#L16) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/garnishment.ts:16](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/garnishment.ts#L16) `GarnishmentType` entity from the Gusto Embedded API. @@ -3618,7 +3623,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/garnishment. > **HolidayPayPolicy** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/holidaypaypolicy.ts:101](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/holidaypaypolicy.ts#L101) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/holidaypaypolicy.ts:101](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/holidaypaypolicy.ts#L101) Representation of a Holiday Pay Policy @@ -3639,7 +3644,7 @@ Representation of a Holiday Pay Policy > **HolidayPayPolicyEmployees** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/holidaypaypolicy.ts:94](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/holidaypaypolicy.ts#L94) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/holidaypaypolicy.ts:94](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/holidaypaypolicy.ts#L94) `HolidayPayPolicyEmployees` entity from the Gusto Embedded API. @@ -3657,7 +3662,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/holidaypaypo > **HomeAddress** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/signatory.ts:21](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/signatory.ts#L21) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/signatory.ts:21](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/signatory.ts#L21) `HomeAddress` entity from the Gusto Embedded API. @@ -3680,7 +3685,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/signatory.ts > **Id** = `ClosedEnum`\<*typeof* [`Id`](#id)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/companyonboardingstatus.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/companyonboardingstatus.ts#L15) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/companyonboardingstatus.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/companyonboardingstatus.ts#L15) The string identifier for each onboarding step @@ -3692,7 +3697,7 @@ The string identifier for each onboarding step > **IdentityVerificationStatus** = `ClosedEnum`\<*typeof* [`IdentityVerificationStatus`](#identityverificationstatus)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/signatory.ts:12](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/signatory.ts#L12) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/signatory.ts:12](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/signatory.ts#L12) `IdentityVerificationStatus` entity from the Gusto Embedded API. @@ -3704,7 +3709,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/signatory.ts > **IndependenceDay** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/holidaypaypolicy.ts:41](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/holidaypaypolicy.ts#L41) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/holidaypaypolicy.ts:41](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/holidaypaypolicy.ts#L41) `IndependenceDay` entity from the Gusto Embedded API. @@ -3724,7 +3729,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/holidaypaypo > **InformationRequest** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/informationrequest.ts:73](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/informationrequest.ts#L73) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/informationrequest.ts:67](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/informationrequest.ts#L67) Representation of an information request @@ -3747,7 +3752,7 @@ Representation of an information request > **InformationRequestStatus** = `ClosedEnum`\<*typeof* [`InformationRequestStatus`](#informationrequeststatus)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/informationrequest.ts:29](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/informationrequest.ts#L29) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/informationrequest.ts:23](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/informationrequest.ts#L23) The status of the information request @@ -3759,9 +3764,9 @@ The status of the information request > **InformationRequestType** = `ClosedEnum`\<*typeof* [`InformationRequestType`](#informationrequesttype)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/informationrequest.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/informationrequest.ts#L15) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/informationrequest.ts:12](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/informationrequest.ts#L12) -The type of information request +`InformationRequestType` entity from the Gusto Embedded API. *** @@ -3771,7 +3776,7 @@ The type of information request > **Job** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/job.ts:16](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/job.ts#L16) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/job.ts:16](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/job.ts#L16) The representation of a job in Gusto. @@ -3803,7 +3808,7 @@ The representation of a job in Gusto. > **Juneteenth** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/holidaypaypolicy.ts:35](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/holidaypaypolicy.ts#L35) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/holidaypaypolicy.ts:35](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/holidaypaypolicy.ts#L35) `Juneteenth` entity from the Gusto Embedded API. @@ -3823,7 +3828,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/holidaypaypo > **LaborDay** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/holidaypaypolicy.ts:47](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/holidaypaypolicy.ts#L47) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/holidaypaypolicy.ts:47](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/holidaypaypolicy.ts#L47) `LaborDay` entity from the Gusto Embedded API. @@ -3843,7 +3848,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/holidaypaypo > **Licensee** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollreceipt.ts:105](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payrollreceipt.ts#L105) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payrollreceipt.ts:105](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payrollreceipt.ts#L105) The licensed payroll processor @@ -3866,7 +3871,7 @@ The licensed payroll processor > **Location** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/location.ts:14](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/location.ts#L14) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/location.ts:14](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/location.ts#L14) The representation of an address in Gusto. @@ -3899,7 +3904,7 @@ The representation of an address in Gusto. > **MemorialDay** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/holidaypaypolicy.ts:29](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/holidaypaypolicy.ts#L29) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/holidaypaypolicy.ts:29](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/holidaypaypolicy.ts#L29) `MemorialDay` entity from the Gusto Embedded API. @@ -3919,7 +3924,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/holidaypaypo > **MetadataWithMultipleEntities** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/metadatawithmultipleentities.ts:17](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/metadatawithmultipleentities.ts#L17) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/metadatawithmultipleentities.ts:17](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/metadatawithmultipleentities.ts#L17) multiple entities @@ -3937,7 +3942,7 @@ multiple entities > **MetadataWithOneEntity** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/metadatawithoneentity.ts:17](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/metadatawithoneentity.ts#L17) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/metadatawithoneentity.ts:17](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/metadatawithoneentity.ts#L17) single entity @@ -3961,7 +3966,7 @@ single entity > **MinimumWage** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/minimumwage.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/minimumwage.ts#L15) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/minimumwage.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/minimumwage.ts#L15) Representation of a Minimum Wage @@ -3984,7 +3989,7 @@ Representation of a Minimum Wage > **MinimumWages** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/compensation.ts:31](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/compensation.ts#L31) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/compensation.ts:31](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/compensation.ts#L31) `MinimumWages` entity from the Gusto Embedded API. @@ -4004,7 +4009,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/compensation > **MlkDay** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/holidaypaypolicy.ts:17](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/holidaypaypolicy.ts#L17) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/holidaypaypolicy.ts:17](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/holidaypaypolicy.ts#L17) `MlkDay` entity from the Gusto Embedded API. @@ -4024,9 +4029,9 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/holidaypaypo > **Name** = `ClosedEnum`\<*typeof* [`Name`](#name)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/paidtimeoff.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/paidtimeoff.ts#L15) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/paidtimeoff.ts:12](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/paidtimeoff.ts#L12) -The name of the paid time off type. +`Name` entity from the Gusto Embedded API. *** @@ -4036,7 +4041,7 @@ The name of the paid time off type. > **NewYearsDay** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/holidaypaypolicy.ts:11](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/holidaypaypolicy.ts#L11) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/holidaypaypolicy.ts:11](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/holidaypaypolicy.ts#L11) `NewYearsDay` entity from the Gusto Embedded API. @@ -4056,7 +4061,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/holidaypaypo > **OffCycleReasonType** = `ClosedEnum`\<*typeof* [`OffCycleReasonType`](#offcyclereasontype)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payroll.ts:63](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payroll.ts#L63) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payroll.ts:63](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payroll.ts#L63) `OffCycleReasonType` entity from the Gusto Embedded API. @@ -4068,7 +4073,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payroll.ts:6 > **OnboardingStep** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/companyonboardingstatus.ts:48](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/companyonboardingstatus.ts#L48) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/companyonboardingstatus.ts:48](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/companyonboardingstatus.ts#L48) `OnboardingStep` entity from the Gusto Embedded API. @@ -4092,7 +4097,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/companyonboa > **Options** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employeestatetaxinputquestionformat.ts:18](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/employeestatetaxinputquestionformat.ts#L18) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/employeestatetaxinputquestionformat.ts:18](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/employeestatetaxinputquestionformat.ts#L18) `Options` entity from the Gusto Embedded API. @@ -4111,7 +4116,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employeestat > **Pages** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/document.ts:25](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/document.ts#L25) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/document.ts:25](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/document.ts#L25) `Pages` entity from the Gusto Embedded API. @@ -4130,7 +4135,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/document.ts: > **PaidTimeOff** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/paidtimeoff.ts:28](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/paidtimeoff.ts#L28) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/paidtimeoff.ts:22](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/paidtimeoff.ts#L22) The representation of paid time off in Gusto. @@ -4157,7 +4162,7 @@ The representation of paid time off in Gusto. > **PaymentMethodBankAccount** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/paymentmethodbankaccount.ts:14](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/paymentmethodbankaccount.ts#L14) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/paymentmethodbankaccount.ts:14](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/paymentmethodbankaccount.ts#L14) Representation of a bank account item @@ -4179,7 +4184,7 @@ Representation of a bank account item > **PaymentPeriod** = `ClosedEnum`\<*typeof* [`PaymentPeriod`](#paymentperiod)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/garnishmentchildsupport.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/garnishmentchildsupport.ts#L15) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/garnishmentchildsupport.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/garnishmentchildsupport.ts#L15) How often the agency collects the withholding amount. e.g. $500 monthly -> `Monthly`. @@ -4191,7 +4196,7 @@ How often the agency collects the withholding amount. e.g. $500 monthly -> `Mont > **PaymentSpeed** = `ClosedEnum`\<*typeof* [`PaymentSpeed`](#paymentspeed)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/paymentconfigs.ts:20](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/paymentconfigs.ts#L20) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/paymentconfigs.ts:20](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/paymentconfigs.ts#L20) Payment speed. READ-ONLY. @@ -4209,7 +4214,7 @@ Payment speed. READ-ONLY. > **PaymentType** = `ClosedEnum`\<*typeof* [`PaymentType`](#paymenttype)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/wireinrequest.ts:29](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/wireinrequest.ts#L29) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/wireinrequest.ts:29](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/wireinrequest.ts#L29) Type of payment for the wire in @@ -4221,7 +4226,7 @@ Type of payment for the wire in > **PaymentUnit** = `ClosedEnum`\<*typeof* [`PaymentUnit`](#paymentunit)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/compensation.ts:19](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/compensation.ts#L19) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/compensation.ts:19](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/compensation.ts#L19) The unit accompanying the compensation rate. If the employee is an owner, rate should be 'Paycheck'. @@ -4233,7 +4238,7 @@ The unit accompanying the compensation rate. If the employee is an owner, rate s > **PayPeriod** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payperiod.ts:53](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payperiod.ts#L53) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payperiod.ts:53](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payperiod.ts#L53) The representation of a pay period. @@ -4254,7 +4259,7 @@ The representation of a pay period. > **PayPeriodPayroll** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payperiod.ts:27](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payperiod.ts#L27) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payperiod.ts:27](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payperiod.ts#L27) Information about the payroll for the pay period. @@ -4276,7 +4281,7 @@ Information about the payroll for the pay period. > **Payroll** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payroll.ts:91](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payroll.ts#L91) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payroll.ts:91](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payroll.ts#L91) `Payroll` entity from the Gusto Embedded API. @@ -4284,7 +4289,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payroll.ts:9 | Property | Type | Description | | ------ | ------ | ------ | -| `autoPayroll?` | `boolean` | Indicates whether the payroll is an auto pilot payroll | +| `autoPayroll?` | `boolean` | Indicates whether the payroll has automatic payroll enabled | | `calculatedAt?` | `Date` \| `null` | A timestamp of the last valid payroll calculation. Null if there isn't a valid calculation. | | `checkDate?` | `string` | The date on which employees will be paid for the payroll. | | `companyTaxes?` | [`PayrollCompanyTaxesType`](#payrollcompanytaxestype)[] | An array of taxes applicable to this payroll in addition to taxes included in `employee_compensations`. Only included for processed or calculated payrolls when `taxes` is present in the `include` parameter. | @@ -4320,7 +4325,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payroll.ts:9 > **PayrollCompanyTaxesType** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollcompanytaxestype.ts:10](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payrollcompanytaxestype.ts#L10) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payrollcompanytaxestype.ts:10](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payrollcompanytaxestype.ts#L10) `PayrollCompanyTaxesType` entity from the Gusto Embedded API. @@ -4340,7 +4345,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollcompa > **PayrollCreditBlockerType** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollcreditblockertype.ts:53](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payrollcreditblockertype.ts#L53) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payrollcreditblockertype.ts:53](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payrollcreditblockertype.ts#L53) A blocker that prevents payment crediting. @@ -4362,7 +4367,7 @@ A blocker that prevents payment crediting. > **PayrollCreditBlockerTypeStatus** = `ClosedEnum`\<*typeof* [`PayrollCreditBlockerTypeStatus`](#payrollcreditblockertypestatus)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollcreditblockertype.ts:37](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payrollcreditblockertype.ts#L37) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payrollcreditblockertype.ts:37](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payrollcreditblockertype.ts#L37) The status of the credit blocker @@ -4374,7 +4379,7 @@ The status of the credit blocker > **PayrollCreditBlockerTypeUnblockOptions** = [`PayrollCreditBlockerUnblockOptionSubmitWire`](#payrollcreditblockerunblockoptionsubmitwire) \| [`PayrollCreditBlockerUnblockOptionSubmitBankScreenshot`](#payrollcreditblockerunblockoptionsubmitbankscreenshot) \| [`PayrollCreditBlockerUnblockOptionRespondToHighRiskFraudRfi`](#payrollcreditblockerunblockoptionrespondtohighriskfraudrfi) \| [`PayrollCreditBlockerUnblockOptionWaitForReverseWire`](#payrollcreditblockerunblockoptionwaitforreversewire) -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollcreditblockertype.ts:28](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payrollcreditblockertype.ts#L28) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payrollcreditblockertype.ts:28](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payrollcreditblockertype.ts#L28) `PayrollCreditBlockerTypeUnblockOptions` entity from the Gusto Embedded API. @@ -4386,7 +4391,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollcredi > **PayrollCreditBlockerUnblockOptionRespondToHighRiskFraudRfi** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollcreditblockerunblockoptionrespondtohighriskfraudrfi.ts:22](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payrollcreditblockerunblockoptionrespondtohighriskfraudrfi.ts#L22) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payrollcreditblockerunblockoptionrespondtohighriskfraudrfi.ts:22](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payrollcreditblockerunblockoptionrespondtohighriskfraudrfi.ts#L22) Unblock option to resolve a credit blocker by responding to high risk fraud RFI @@ -4406,7 +4411,7 @@ Unblock option to resolve a credit blocker by responding to high risk fraud RFI > **PayrollCreditBlockerUnblockOptionRespondToHighRiskFraudRfiMetadata** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollcreditblockerunblockoptionrespondtohighriskfraudrfi.ts:11](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payrollcreditblockerunblockoptionrespondtohighriskfraudrfi.ts#L11) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payrollcreditblockerunblockoptionrespondtohighriskfraudrfi.ts:11](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payrollcreditblockerunblockoptionrespondtohighriskfraudrfi.ts#L11) `PayrollCreditBlockerUnblockOptionRespondToHighRiskFraudRfiMetadata` entity from the Gusto Embedded API. @@ -4424,7 +4429,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollcredi > **PayrollCreditBlockerUnblockOptionSubmitBankScreenshot** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollcreditblockerunblockoptionsubmitbankscreenshot.ts:25](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payrollcreditblockerunblockoptionsubmitbankscreenshot.ts#L25) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payrollcreditblockerunblockoptionsubmitbankscreenshot.ts:25](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payrollcreditblockerunblockoptionsubmitbankscreenshot.ts#L25) Unblock option to resolve a credit blocker by submitting a bank screenshot @@ -4444,7 +4449,7 @@ Unblock option to resolve a credit blocker by submitting a bank screenshot > **PayrollCreditBlockerUnblockOptionSubmitBankScreenshotMetadata** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollcreditblockerunblockoptionsubmitbankscreenshot.ts:11](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payrollcreditblockerunblockoptionsubmitbankscreenshot.ts#L11) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payrollcreditblockerunblockoptionsubmitbankscreenshot.ts:11](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payrollcreditblockerunblockoptionsubmitbankscreenshot.ts#L11) `PayrollCreditBlockerUnblockOptionSubmitBankScreenshotMetadata` entity from the Gusto Embedded API. @@ -4463,7 +4468,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollcredi > **PayrollCreditBlockerUnblockOptionSubmitWire** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollcreditblockerunblockoptionsubmitwire.ts:29](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payrollcreditblockerunblockoptionsubmitwire.ts#L29) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payrollcreditblockerunblockoptionsubmitwire.ts:29](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payrollcreditblockerunblockoptionsubmitwire.ts#L29) Unblock option to resolve a credit blocker by submitting a wire transfer @@ -4483,7 +4488,7 @@ Unblock option to resolve a credit blocker by submitting a wire transfer > **PayrollCreditBlockerUnblockOptionSubmitWireMetadata** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollcreditblockerunblockoptionsubmitwire.ts:11](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payrollcreditblockerunblockoptionsubmitwire.ts#L11) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payrollcreditblockerunblockoptionsubmitwire.ts:11](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payrollcreditblockerunblockoptionsubmitwire.ts#L11) `PayrollCreditBlockerUnblockOptionSubmitWireMetadata` entity from the Gusto Embedded API. @@ -4503,7 +4508,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollcredi > **PayrollCreditBlockerUnblockOptionWaitForReverseWire** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollcreditblockerunblockoptionwaitforreversewire.ts:25](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payrollcreditblockerunblockoptionwaitforreversewire.ts#L25) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payrollcreditblockerunblockoptionwaitforreversewire.ts:16](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payrollcreditblockerunblockoptionwaitforreversewire.ts#L16) Unblock option to resolve a credit blocker by waiting for reverse wire @@ -4523,17 +4528,10 @@ Unblock option to resolve a credit blocker by waiting for reverse wire > **PayrollCreditBlockerUnblockOptionWaitForReverseWireMetadata** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollcreditblockerunblockoptionwaitforreversewire.ts:11](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payrollcreditblockerunblockoptionwaitforreversewire.ts#L11) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payrollcreditblockerunblockoptionwaitforreversewire.ts:11](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payrollcreditblockerunblockoptionwaitforreversewire.ts#L11) `PayrollCreditBlockerUnblockOptionWaitForReverseWireMetadata` entity from the Gusto Embedded API. -#### Properties - -| Property | Type | Description | -| ------ | ------ | ------ | -| `bankAccountLastFourDigits?` | `string` \| `null` | Last 4 digits of the bank account number for the reverse wire | -| `reverseWireDetailId?` | `number` \| `null` | ID of the reverse wire detail | - *** @@ -4542,7 +4540,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollcredi > **PayrollEmployeeCompensationsType** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollemployeecompensationstype.ts:138](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payrollemployeecompensationstype.ts#L138) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payrollemployeecompensationstype.ts:132](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payrollemployeecompensationstype.ts#L132) `PayrollEmployeeCompensationsType` entity from the Gusto Embedded API. @@ -4575,7 +4573,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollemplo > **PayrollEmployeeCompensationsTypeFixedCompensations** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollemployeecompensationstype.ts:27](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payrollemployeecompensationstype.ts#L27) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payrollemployeecompensationstype.ts:21](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payrollemployeecompensationstype.ts#L21) `PayrollEmployeeCompensationsTypeFixedCompensations` entity from the Gusto Embedded API. @@ -4595,7 +4593,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollemplo > **PayrollEmployeeCompensationsTypeHourlyCompensations** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollemployeecompensationstype.ts:42](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payrollemployeecompensationstype.ts#L42) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payrollemployeecompensationstype.ts:36](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payrollemployeecompensationstype.ts#L36) `PayrollEmployeeCompensationsTypeHourlyCompensations` entity from the Gusto Embedded API. @@ -4618,7 +4616,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollemplo > **PayrollEmployeeCompensationsTypePaidTimeOff** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollemployeecompensationstype.ts:69](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payrollemployeecompensationstype.ts#L69) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payrollemployeecompensationstype.ts:63](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payrollemployeecompensationstype.ts#L63) `PayrollEmployeeCompensationsTypePaidTimeOff` entity from the Gusto Embedded API. @@ -4638,9 +4636,9 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollemplo > **PayrollEmployeeCompensationsTypePaymentMethod** = `ClosedEnum`\<*typeof* [`PayrollEmployeeCompensationsTypePaymentMethod`](#payrollemployeecompensationstypepaymentmethod)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollemployeecompensationstype.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payrollemployeecompensationstype.ts#L15) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payrollemployeecompensationstype.ts:12](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payrollemployeecompensationstype.ts#L12) -The employee's compensation payment method. Is *only* `Historical` when retrieving external payrolls initially run outside of Gusto, then put into Gusto. +`PayrollEmployeeCompensationsTypePaymentMethod` entity from the Gusto Embedded API. *** @@ -4650,7 +4648,7 @@ The employee's compensation payment method. Is *only* `Historical` when retrievi > **PayrollEmployeeCompensationsTypeReimbursements** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollemployeecompensationstype.ts:84](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payrollemployeecompensationstype.ts#L84) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payrollemployeecompensationstype.ts:78](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payrollemployeecompensationstype.ts#L78) `PayrollEmployeeCompensationsTypeReimbursements` entity from the Gusto Embedded API. @@ -4671,7 +4669,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollemplo > **PayrollFixedCompensationTypesType** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollfixedcompensationtypestype.ts:10](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payrollfixedcompensationtypestype.ts#L10) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payrollfixedcompensationtypestype.ts:10](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payrollfixedcompensationtypestype.ts#L10) `PayrollFixedCompensationTypesType` entity from the Gusto Embedded API. @@ -4689,7 +4687,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollfixed > **PayrollPaymentSpeedChangedType** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollpaymentspeedchangedtype.ts:14](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payrollpaymentspeedchangedtype.ts#L14) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payrollpaymentspeedchangedtype.ts:14](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payrollpaymentspeedchangedtype.ts#L14) Only applicable when a payroll is moved to four day processing instead of fast ach. @@ -4711,7 +4709,7 @@ Only applicable when a payroll is moved to four day processing instead of fast a > **PayrollPayPeriodType** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollpayperiodtype.ts:11](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payrollpayperiodtype.ts#L11) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payrollpayperiodtype.ts:11](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payrollpayperiodtype.ts#L11) `PayrollPayPeriodType` entity from the Gusto Embedded API. @@ -4731,7 +4729,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollpaype > **PayrollPayrollStatusMetaType** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollpayrollstatusmetatype.ts:14](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payrollpayrollstatusmetatype.ts#L14) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payrollpayrollstatusmetatype.ts:14](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payrollpayrollstatusmetatype.ts#L14) Information about the payroll's status and expected dates @@ -4754,7 +4752,7 @@ Information about the payroll's status and expected dates > **PayrollPrepared** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payroll.ts:612](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payroll.ts#L612) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payroll.ts:606](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payroll.ts#L606) The response from preparing a payroll for update. Contains refreshed employee compensations, updated payroll dates, and version information needed for subsequent payroll updates. @@ -4762,7 +4760,7 @@ The response from preparing a payroll for update. Contains refreshed employee co | Property | Type | Description | | ------ | ------ | ------ | -| `autoPayroll?` | `boolean` | Indicates whether the payroll is an auto pilot payroll | +| `autoPayroll?` | `boolean` | Indicates whether the payroll has automatic payroll enabled | | `calculatedAt?` | `Date` \| `null` | A timestamp of the last valid payroll calculation. Null if there isn't a valid calculation. | | `checkDate?` | `string` | The date on which employees will be paid for the payroll. | | `companyUuid?` | `string` | The UUID of the company for the payroll. | @@ -4795,7 +4793,7 @@ The response from preparing a payroll for update. Contains refreshed employee co > **PayrollProcessingRequest** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollprocessingrequest.ts:32](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payrollprocessingrequest.ts#L32) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payrollprocessingrequest.ts:32](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payrollprocessingrequest.ts#L32) `PayrollProcessingRequest` entity from the Gusto Embedded API. @@ -4814,7 +4812,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollproce > **PayrollProcessingRequestStatus** = `ClosedEnum`\<*typeof* [`PayrollProcessingRequestStatus`](#payrollprocessingrequeststatus)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollprocessingrequest.ts:18](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payrollprocessingrequest.ts#L18) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payrollprocessingrequest.ts:18](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payrollprocessingrequest.ts#L18) The status of the payroll processing request @@ -4826,7 +4824,7 @@ The status of the payroll processing request > **PayrollReceipt** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollreceipt.ts:132](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payrollreceipt.ts#L132) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payrollreceipt.ts:132](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payrollreceipt.ts#L132) `PayrollReceipt` entity from the Gusto Embedded API. @@ -4857,7 +4855,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollrecei > **PayrollReceiptEmployeeCompensations** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollreceipt.ts:63](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payrollreceipt.ts#L63) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payrollreceipt.ts:63](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payrollreceipt.ts#L63) `PayrollReceiptEmployeeCompensations` entity from the Gusto Embedded API. @@ -4883,7 +4881,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollrecei > **PayrollReceiptPaymentMethod** = `ClosedEnum`\<*typeof* [`PayrollReceiptPaymentMethod`](#payrollreceiptpaymentmethod)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollreceipt.ts:52](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payrollreceipt.ts#L52) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payrollreceipt.ts:52](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payrollreceipt.ts#L52) The employee's compensation payment method. @@ -4895,7 +4893,7 @@ The employee's compensation payment method. > **PayrollShow** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payroll.ts:503](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payroll.ts#L503) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payroll.ts:497](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payroll.ts#L497) `PayrollShow` entity from the Gusto Embedded API. @@ -4903,7 +4901,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payroll.ts:5 | Property | Type | Description | | ------ | ------ | ------ | -| `autoPayroll?` | `boolean` | Indicates whether the payroll is an auto pilot payroll | +| `autoPayroll?` | `boolean` | Indicates whether the payroll has automatic payroll enabled | | `calculatedAt?` | `Date` \| `null` | A timestamp of the last valid payroll calculation. Null if there isn't a valid calculation. | | `checkDate?` | `string` | The date on which employees will be paid for the payroll. | | `companyTaxes?` | [`PayrollCompanyTaxesType`](#payrollcompanytaxestype)[] | An array of taxes applicable to this payroll in addition to taxes included in `employee_compensations`. Only included for processed or calculated payrolls when `taxes` is present in the `include` parameter. | @@ -4940,7 +4938,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payroll.ts:5 > **PayrollShowAmountType** = `ClosedEnum`\<*typeof* [`PayrollShowAmountType`](#payrollshowamounttype)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payroll.ts:382](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payroll.ts#L382) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payroll.ts:376](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payroll.ts#L376) The amount type of the deduction for the pay period. Only present for unprocessed payrolls. @@ -4952,7 +4950,7 @@ The amount type of the deduction for the pay period. Only present for unprocesse > **PayrollShowBenefits** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payroll.ts:420](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payroll.ts#L420) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payroll.ts:414](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payroll.ts#L414) `PayrollShowBenefits` entity from the Gusto Embedded API. @@ -4973,7 +4971,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payroll.ts:4 > **PayrollShowDeductions** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payroll.ts:391](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payroll.ts#L391) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payroll.ts:385](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payroll.ts#L385) `PayrollShowDeductions` entity from the Gusto Embedded API. @@ -4995,7 +4993,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payroll.ts:3 > **PayrollShowFixedCompensations** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payroll.ts:303](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payroll.ts#L303) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payroll.ts:297](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payroll.ts#L297) `PayrollShowFixedCompensations` entity from the Gusto Embedded API. @@ -5015,7 +5013,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payroll.ts:3 > **PayrollShowHourlyCompensations** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payroll.ts:318](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payroll.ts#L318) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payroll.ts:312](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payroll.ts#L312) `PayrollShowHourlyCompensations` entity from the Gusto Embedded API. @@ -5038,7 +5036,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payroll.ts:3 > **PayrollShowPaidTimeOff** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payroll.ts:345](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payroll.ts#L345) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payroll.ts:339](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payroll.ts#L339) `PayrollShowPaidTimeOff` entity from the Gusto Embedded API. @@ -5058,9 +5056,9 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payroll.ts:3 > **PayrollShowPaymentMethod** = `ClosedEnum`\<*typeof* [`PayrollShowPaymentMethod`](#payrollshowpaymentmethod)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payroll.ts:291](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payroll.ts#L291) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payroll.ts:288](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payroll.ts#L288) -The employee's compensation payment method. Is *only* `Historical` when retrieving external payrolls initially run outside of Gusto, then put into Gusto. +`PayrollShowPaymentMethod` entity from the Gusto Embedded API. *** @@ -5070,7 +5068,7 @@ The employee's compensation payment method. Is *only* `Historical` when retrievi > **PayrollShowReimbursements** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payroll.ts:360](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payroll.ts#L360) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payroll.ts:354](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payroll.ts#L354) `PayrollShowReimbursements` entity from the Gusto Embedded API. @@ -5091,7 +5089,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payroll.ts:3 > **PayrollShowTaxes** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payroll.ts:414](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payroll.ts#L414) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payroll.ts:408](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payroll.ts#L408) `PayrollShowTaxes` entity from the Gusto Embedded API. @@ -5111,7 +5109,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payroll.ts:4 > **PayrollSubmissionBlockerType** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollsubmissionblockertype.ts:44](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payrollsubmissionblockertype.ts#L44) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payrollsubmissionblockertype.ts:44](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payrollsubmissionblockertype.ts#L44) A blocker that prevents payment submission. @@ -5133,7 +5131,7 @@ A blocker that prevents payment submission. > **PayrollSubmissionBlockerTypeStatus** = `ClosedEnum`\<*typeof* [`PayrollSubmissionBlockerTypeStatus`](#payrollsubmissionblockertypestatus)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollsubmissionblockertype.ts:30](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payrollsubmissionblockertype.ts#L30) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payrollsubmissionblockertype.ts:30](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payrollsubmissionblockertype.ts#L30) The status of the submission blocker. @@ -5145,7 +5143,7 @@ The status of the submission blocker. > **PayrollTaxesType** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrolltaxestype.ts:10](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payrolltaxestype.ts#L10) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payrolltaxestype.ts:10](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payrolltaxestype.ts#L10) `PayrollTaxesType` entity from the Gusto Embedded API. @@ -5165,7 +5163,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrolltaxes > **PayrollTotalsType** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrolltotalstype.ts:14](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payrolltotalstype.ts#L14) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payrolltotalstype.ts:14](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payrolltotalstype.ts#L14) The subtotals for the payroll. @@ -5204,7 +5202,7 @@ The subtotals for the payroll. > **PayrollType** = `ClosedEnum`\<*typeof* [`PayrollType`](#payrolltype)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payperiod.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payperiod.ts#L15) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payperiod.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payperiod.ts#L15) Whether it is regular pay period or transition pay period. @@ -5216,7 +5214,7 @@ Whether it is regular pay period or transition pay period. > **PayrollUpdateAmountType** = `ClosedEnum`\<*typeof* [`PayrollUpdateAmountType`](#payrollupdateamounttype)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollupdate.ts:62](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payrollupdate.ts#L62) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payrollupdate.ts:62](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payrollupdate.ts#L62) The amount type of the deduction for the pay period. @@ -5228,7 +5226,7 @@ The amount type of the deduction for the pay period. > **PayrollUpdateDeductions** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollupdate.ts:76](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payrollupdate.ts#L76) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payrollupdate.ts:76](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payrollupdate.ts#L76) An array of deductions for the employee. @@ -5249,7 +5247,7 @@ An array of deductions for the employee. > **PayrollUpdateEmployeeCompensations** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollupdate.ts:129](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payrollupdate.ts#L129) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payrollupdate.ts:129](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payrollupdate.ts#L129) `PayrollUpdateEmployeeCompensations` entity from the Gusto Embedded API. @@ -5276,7 +5274,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollupdat > **PayrollUpdateFixedCompensations** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollupdate.ts:26](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payrollupdate.ts#L26) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payrollupdate.ts:26](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payrollupdate.ts#L26) An array of fixed compensations for the employee. Fixed compensations include tips, bonuses, and one time reimbursements. @@ -5296,7 +5294,7 @@ An array of fixed compensations for the employee. Fixed compensations include ti > **PayrollUpdateHourlyCompensations** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollupdate.ts:44](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payrollupdate.ts#L44) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payrollupdate.ts:44](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payrollupdate.ts#L44) An array of hourly compensations for the employee. Hourly compensations include regular, overtime, and double overtime hours. @@ -5316,7 +5314,7 @@ An array of hourly compensations for the employee. Hourly compensations include > **PayrollUpdatePaidTimeOff** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollupdate.ts:95](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payrollupdate.ts#L95) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payrollupdate.ts:95](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payrollupdate.ts#L95) `PayrollUpdatePaidTimeOff` entity from the Gusto Embedded API. @@ -5337,7 +5335,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollupdat > **PayrollUpdatePaymentMethod** = `ClosedEnum`\<*typeof* [`PayrollUpdatePaymentMethod`](#payrollupdatepaymentmethod)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollupdate.ts:12](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payrollupdate.ts#L12) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payrollupdate.ts:12](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payrollupdate.ts#L12) The employee's compensation payment method. Invalid values will be ignored. @@ -5349,7 +5347,7 @@ The employee's compensation payment method. Invalid values will be ignored. > **PayrollUpdateReimbursements** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollupdate.ts:114](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payrollupdate.ts#L114) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payrollupdate.ts:114](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payrollupdate.ts#L114) `PayrollUpdateReimbursements` entity from the Gusto Embedded API. @@ -5369,7 +5367,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollupdat > **PayrollWithholdingPayPeriodType** = `ClosedEnum`\<*typeof* [`PayrollWithholdingPayPeriodType`](#payrollwithholdingpayperiodtype)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payroll.ts:78](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payroll.ts#L78) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payroll.ts:78](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payroll.ts#L78) `PayrollWithholdingPayPeriodType` entity from the Gusto Embedded API. @@ -5381,7 +5379,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payroll.ts:7 > **PayScheduleAutoPayrollEnablementBlocker** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payscheduleautopayrollenablementblocker.ts:18](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payscheduleautopayrollenablementblocker.ts#L18) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payscheduleautopayrollenablementblocker.ts:18](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payscheduleautopayrollenablementblocker.ts#L18) A single blocker preventing Autopayroll enablement. @@ -5400,7 +5398,7 @@ A single blocker preventing Autopayroll enablement. > **PayScheduleAutoPayrollEnablementBlockerMetadata** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payscheduleautopayrollenablementblocker.ts:13](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payscheduleautopayrollenablementblocker.ts#L13) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payscheduleautopayrollenablementblocker.ts:13](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payscheduleautopayrollenablementblocker.ts#L13) Blocker-specific metadata (e.g. employee_uuids, states). @@ -5412,7 +5410,7 @@ Blocker-specific metadata (e.g. employee_uuids, states). > **PayScheduleFrequency** = `ClosedEnum`\<*typeof* [`PayScheduleFrequency`](#payschedulefrequency)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payschedulefrequency.ts:22](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payschedulefrequency.ts#L22) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payschedulefrequency.ts:22](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payschedulefrequency.ts#L22) The frequency that employees on this pay schedule are paid with Gusto. @@ -5435,7 +5433,7 @@ READ-ONLY in responses. Possible values: > **PaySchedulePreviewPayPeriod** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payschedulepreviewpayperiod.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payschedulepreviewpayperiod.ts#L15) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payschedulepreviewpayperiod.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payschedulepreviewpayperiod.ts#L15) A single pay period in a pay schedule preview, with check date, period boundaries, and payroll deadline. @@ -5456,7 +5454,7 @@ A single pay period in a pay schedule preview, with check date, period boundarie > **PayScheduleShow** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payscheduleshow.ts:27](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payscheduleshow.ts#L27) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payscheduleshow.ts:27](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payscheduleshow.ts#L27) Pay schedule returned from pay schedule endpoints (GET by ID, POST create, PUT update). Same fields as Pay-Schedule with a required `version` for [optimistic concurrency](https://docs.gusto.com/embedded-payroll/docs/api-fundamentals#optimistic-version-control). @@ -5489,7 +5487,7 @@ For API version 2025-11-15 and later, responses use `auto_payroll`; earlier vers > **PlaidStatus** = `ClosedEnum`\<*typeof* [`PlaidStatus`](#plaidstatus)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/companybankaccount.ts:72](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/companybankaccount.ts#L72) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/companybankaccount.ts:72](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/companybankaccount.ts#L72) `PlaidStatus` entity from the Gusto Embedded API. @@ -5501,7 +5499,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/companybanka > **PolicyType** = `ClosedEnum`\<*typeof* [`PolicyType`](#policytype)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/timeoffpolicy.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/timeoffpolicy.ts#L15) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/timeoffpolicy.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/timeoffpolicy.ts#L15) Type of the time off policy. Only "vacation" and "sick" can be created through the API, but other types may be present if the company was previously a Gusto.com customer. @@ -5513,7 +5511,7 @@ Type of the time off policy. Only "vacation" and "sick" can be created through t > **PresidentsDay** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/holidaypaypolicy.ts:23](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/holidaypaypolicy.ts#L23) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/holidaypaypolicy.ts:23](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/holidaypaypolicy.ts#L23) `PresidentsDay` entity from the Gusto Embedded API. @@ -5533,7 +5531,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/holidaypaypo > **Questions** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employeestatetaxesrequest.ts:16](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/employeestatetaxesrequest.ts#L16) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/employeestatetaxesrequest.ts:16](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/employeestatetaxesrequest.ts#L16) `Questions` entity from the Gusto Embedded API. @@ -5552,7 +5550,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employeestat > **RateType** = `ClosedEnum`\<*typeof* [`RateType`](#ratetype)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/taxrequirementmetadata.ts:81](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/taxrequirementmetadata.ts#L81) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/taxrequirementmetadata.ts:81](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/taxrequirementmetadata.ts#L81) [for `workers_compensation_rate`] The type of rate being collected. Either: @@ -5569,7 +5567,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/taxrequireme > **RecipientType** = `ClosedEnum`\<*typeof* [`RecipientType`](#recipienttype)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/document.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/document.ts#L15) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/document.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/document.ts#L15) The type of recipient associated with the document (will be `Contractor` for Contractor Documents) @@ -5581,7 +5579,7 @@ The type of recipient associated with the document (will be `Contractor` for Con > **RecoveryCase** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/recoverycase.ts:30](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/recoverycase.ts#L30) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/recoverycase.ts:30](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/recoverycase.ts#L30) Representation of a recovery case @@ -5608,7 +5606,7 @@ Representation of a recovery case > **RecoveryCaseStatus** = `ClosedEnum`\<*typeof* [`RecoveryCaseStatus`](#recoverycasestatus)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/recoverycase.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/recoverycase.ts#L15) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/recoverycase.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/recoverycase.ts#L15) Status of the recovery case @@ -5620,7 +5618,7 @@ Status of the recovery case > **RequiredAttributes** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/childsupportdata.ts:36](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/childsupportdata.ts#L36) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/childsupportdata.ts:36](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/childsupportdata.ts#L36) `RequiredAttributes` entity from the Gusto Embedded API. @@ -5639,7 +5637,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/childsupport > **RequiredQuestions** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/informationrequest.ts:55](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/informationrequest.ts#L55) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/informationrequest.ts:49](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/informationrequest.ts#L49) `RequiredQuestions` entity from the Gusto Embedded API. @@ -5659,7 +5657,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/informationr > **ResponseType** = `ClosedEnum`\<*typeof* [`ResponseType`](#responsetype)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/informationrequest.ts:44](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/informationrequest.ts#L44) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/informationrequest.ts:38](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/informationrequest.ts#L38) The type of response to the question @@ -5671,7 +5669,7 @@ The type of response to the question > **SetupStatus** = `ClosedEnum`\<*typeof* [`SetupStatus`](#setupstatus)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/taxrequirementstateslist.ts:20](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/taxrequirementstateslist.ts#L20) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/taxrequirementstateslist.ts:20](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/taxrequirementstateslist.ts#L20) The current status of the state tax setup. @@ -5689,7 +5687,7 @@ The current status of the state tax setup. > **Signatory** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/signatory.ts:33](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/signatory.ts#L33) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/signatory.ts:33](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/signatory.ts#L33) The representation of a company's signatory @@ -5718,7 +5716,7 @@ The representation of a company's signatory > **States** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employeestatetaxesrequest.ts:21](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/employeestatetaxesrequest.ts#L21) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/employeestatetaxesrequest.ts:21](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/employeestatetaxesrequest.ts#L21) `States` entity from the Gusto Embedded API. @@ -5737,7 +5735,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/employeestat > **Taxes** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollreceipt.ts:38](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payrollreceipt.ts#L38) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payrollreceipt.ts:38](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payrollreceipt.ts#L38) `Taxes` entity from the Gusto Embedded API. @@ -5756,7 +5754,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollrecei > **TaxPayerType** = `ClosedEnum`\<*typeof* [`TaxPayerType`](#taxpayertype)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/federaltaxdetails.ts:12](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/federaltaxdetails.ts#L12) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/federaltaxdetails.ts:12](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/federaltaxdetails.ts#L12) `TaxPayerType` entity from the Gusto Embedded API. @@ -5768,7 +5766,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/federaltaxde > **TaxRequirement** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/taxrequirement.ts:35](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/taxrequirement.ts#L35) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/taxrequirement.ts:35](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/taxrequirement.ts#L35) `TaxRequirement` entity from the Gusto Embedded API. @@ -5792,7 +5790,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/taxrequireme > **TaxRequirementMetadata** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/taxrequirementmetadata.ts:133](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/taxrequirementmetadata.ts#L133) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/taxrequirementmetadata.ts:133](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/taxrequirementmetadata.ts#L133) `TaxRequirementMetadata` entity from the Gusto Embedded API. @@ -5817,7 +5815,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/taxrequireme > **TaxRequirementMetadataOptions** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/taxrequirementmetadata.ts:59](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/taxrequirementmetadata.ts#L59) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/taxrequirementmetadata.ts:59](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/taxrequirementmetadata.ts#L59) `TaxRequirementMetadataOptions` entity from the Gusto Embedded API. @@ -5837,7 +5835,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/taxrequireme > **TaxRequirementMetadataType** = `ClosedEnum`\<*typeof* [`TaxRequirementMetadataType`](#taxrequirementmetadatatype)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/taxrequirementmetadata.ts:26](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/taxrequirementmetadata.ts#L26) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/taxrequirementmetadata.ts:26](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/taxrequirementmetadata.ts#L26) Describes the type of requirement - each type may have additional metadata properties to describe possible values, formats, etc. @@ -5860,7 +5858,7 @@ Describes the type of requirement - each type may have additional metadata prope > **TaxRequirementMetadataValidationType** = `ClosedEnum`\<*typeof* [`TaxRequirementMetadataValidationType`](#taxrequirementmetadatavalidationtype)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/taxrequirementmetadata.ts:97](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/taxrequirementmetadata.ts#L97) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/taxrequirementmetadata.ts:97](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/taxrequirementmetadata.ts#L97) Describes the type of tax_rate validation rule @@ -5872,7 +5870,7 @@ Describes the type of tax_rate validation rule > **TaxRequirementSet** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/taxrequirementset.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/taxrequirementset.ts#L15) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/taxrequirementset.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/taxrequirementset.ts#L15) `TaxRequirementSet` entity from the Gusto Embedded API. @@ -5894,7 +5892,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/taxrequireme > **TaxRequirementsState** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/taxrequirementsstate.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/taxrequirementsstate.ts#L15) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/taxrequirementsstate.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/taxrequirementsstate.ts#L15) `TaxRequirementsState` entity from the Gusto Embedded API. @@ -5914,7 +5912,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/taxrequireme > **TaxRequirementStatesList** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/taxrequirementstateslist.ts:35](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/taxrequirementstateslist.ts#L35) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/taxrequirementstateslist.ts:35](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/taxrequirementstateslist.ts#L35) `TaxRequirementStatesList` entity from the Gusto Embedded API. @@ -5936,7 +5934,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/taxrequireme > **TaxRequirementsValue** = `boolean` \| `string` \| `number` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/taxrequirementsvalue.ts:13](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/taxrequirementsvalue.ts#L13) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/taxrequirementsvalue.ts:13](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/taxrequirementsvalue.ts#L13) The value or "answer" for a tax requirement. Type depends on the requirement metadata type (e.g. string for text/account_number, boolean for radio/checkbox, number for percent/currency/tax_rate). Null when the requirement has not been answered. @@ -5948,7 +5946,7 @@ The value or "answer" for a tax requirement. Type depends on the requirement met > **Termination** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/termination.ts:14](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/termination.ts#L14) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/termination.ts:14](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/termination.ts#L14) The representation of a termination in Gusto. @@ -5972,7 +5970,7 @@ The representation of a termination in Gusto. > **Thanksgiving** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/holidaypaypolicy.ts:65](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/holidaypaypolicy.ts#L65) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/holidaypaypolicy.ts:65](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/holidaypaypolicy.ts#L65) `Thanksgiving` entity from the Gusto Embedded API. @@ -5992,7 +5990,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/holidaypaypo > **TimeOffPolicy** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/timeoffpolicy.ts:44](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/timeoffpolicy.ts#L44) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/timeoffpolicy.ts:44](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/timeoffpolicy.ts#L44) Representation of a Time Off Policy @@ -6026,7 +6024,7 @@ Representation of a Time Off Policy > **TimeOffPolicyEmployees** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/timeoffpolicy.ts:33](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/timeoffpolicy.ts#L33) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/timeoffpolicy.ts:33](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/timeoffpolicy.ts#L33) `TimeOffPolicyEmployees` entity from the Gusto Embedded API. @@ -6045,7 +6043,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/timeoffpolic > **TimeOffPolicyRequest** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/timeoffpolicyrequest.ts:44](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/timeoffpolicyrequest.ts#L44) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/timeoffpolicyrequest.ts:44](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/timeoffpolicyrequest.ts#L44) Request body for creating a time off policy @@ -6074,7 +6072,7 @@ Request body for creating a time off policy > **TimeOffPolicyRequestPolicyType** = `ClosedEnum`\<*typeof* [`TimeOffPolicyRequestPolicyType`](#timeoffpolicyrequestpolicytype)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/timeoffpolicyrequest.ts:12](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/timeoffpolicyrequest.ts#L12) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/timeoffpolicyrequest.ts:12](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/timeoffpolicyrequest.ts#L12) Type of the time off policy. Currently only "vacation" and "sick" are supported @@ -6086,7 +6084,7 @@ Type of the time off policy. Currently only "vacation" and "sick" are supported > **Totals** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollreceipt.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payrollreceipt.ts#L15) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payrollreceipt.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payrollreceipt.ts#L15) The subtotals for the payroll. @@ -6108,7 +6106,7 @@ The subtotals for the payroll. > **UnblockOptions** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollsubmissionblockertype.ts:12](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/payrollsubmissionblockertype.ts#L12) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/payrollsubmissionblockertype.ts:12](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/payrollsubmissionblockertype.ts#L12) `UnblockOptions` entity from the Gusto Embedded API. @@ -6128,7 +6126,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/payrollsubmi > **UnprocessedTerminationPayPeriod** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/unprocessedterminationpayperiod.ts:14](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/unprocessedterminationpayperiod.ts#L14) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/unprocessedterminationpayperiod.ts:14](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/unprocessedterminationpayperiod.ts#L14) The representation of an unprocessed termination pay period. @@ -6152,7 +6150,7 @@ The representation of an unprocessed termination pay period. > **UpcomingEmployment** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractor.ts:78](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractor.ts#L78) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractor.ts:78](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractor.ts#L78) The contractor's upcoming employment details, if a rehire is scheduled. @@ -6171,7 +6169,7 @@ The contractor's upcoming employment details, if a rehire is scheduled. > **Validation** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/taxrequirementmetadata.ts:111](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/taxrequirementmetadata.ts#L111) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/taxrequirementmetadata.ts:111](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/taxrequirementmetadata.ts#L111) [for `tax_rate`] Describes the validation required for the tax rate @@ -6192,7 +6190,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/taxrequireme > **VerificationStatus** = `ClosedEnum`\<*typeof* [`VerificationStatus`](#verificationstatus)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/companybankaccount.ts:33](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/companybankaccount.ts#L33) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/companybankaccount.ts:33](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/companybankaccount.ts#L33) The verification status of the bank account. @@ -6210,7 +6208,7 @@ The verification status of the bank account. > **VerificationType** = `ClosedEnum`\<*typeof* [`VerificationType`](#verificationtype)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/companybankaccount.ts:57](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/companybankaccount.ts#L57) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/companybankaccount.ts:57](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/companybankaccount.ts#L57) The verification type of the bank account. @@ -6227,7 +6225,7 @@ The verification type of the bank account. > **VeteransDay** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/holidaypaypolicy.ts:59](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/holidaypaypolicy.ts#L59) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/holidaypaypolicy.ts:59](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/holidaypaypolicy.ts#L59) `VeteransDay` entity from the Gusto Embedded API. @@ -6247,7 +6245,7 @@ Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/holidaypaypo > **WageType** = `ClosedEnum`\<*typeof* [`WageType`](#wagetype)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/contractor.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/contractor.ts#L15) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/contractor.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/contractor.ts#L15) The contractor's wage type, either "Fixed" or "Hourly". @@ -6259,7 +6257,7 @@ The contractor's wage type, either "Fixed" or "Hourly". > **WireInRequest** = `object` -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/wireinrequest.ts:41](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/wireinrequest.ts#L41) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/wireinrequest.ts:41](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/wireinrequest.ts#L41) Representation of a wire in request @@ -6293,6 +6291,6 @@ Representation of a wire in request > **WireInRequestStatus** = `ClosedEnum`\<*typeof* [`WireInRequestStatus`](#wireinrequeststatus)\> -Defined in: [gusto\_embedded\_v\_2025\_11\_15/src/models/components/wireinrequest.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2025_11_15/v0.0.2/gusto_embedded_v_2025_11_15/src/models/components/wireinrequest.ts#L15) +Defined in: [gusto\_embedded\_v\_2026\_02\_01/src/models/components/wireinrequest.ts:15](https://github.com/Gusto/gusto-typescript-client/blob/gusto_embedded_v_2026_02_01/v0.0.1/gusto_embedded_v_2026_02_01/src/models/components/wireinrequest.ts#L15) Status of the wire in diff --git a/docs/reference/index.md b/docs/reference/index.md index 05ec990af..8c344362c 100644 --- a/docs/reference/index.md +++ b/docs/reference/index.md @@ -31,7 +31,7 @@ custom_edit_url: null ### ApiProvider -Wires the `@gusto/embedded-api-v-2025-11-15` client and a React Query client into the React tree. +Wires the `@gusto/embedded-api-v-2026-02-01` client and a React Query client into the React tree. #### ApiProviderProps @@ -42,7 +42,7 @@ Props for [ApiProvider](#apiprovider). | Property | Type | Description | | ------ | ------ | ------ | | `children` | `ReactNode` | Subtree that renders inside the API + React Query providers. | -| `url` | `string` | Base URL the SDK uses for all `@gusto/embedded-api-v-2025-11-15` requests. | +| `url` | `string` | Base URL the SDK uses for all `@gusto/embedded-api-v-2026-02-01` requests. | | `headers?` | `HeadersInit` | Default headers applied to every SDK request, in addition to the `X-Gusto-API-Version` header set automatically. | | `hooks?` | [`SDKHooks`](#sdkhooks) | Lifecycle hooks for intercepting and modifying SDK requests and responses. | | `queryClient?` | `QueryClient` | Optional React Query client. When omitted, a client is created with the SDK's defaults (auto-invalidation on mutation success). | @@ -52,7 +52,7 @@ Props for [ApiProvider](#apiprovider). Registers the SDK's `X-Gusto-API-Version` header on every request, applies any default `headers`, and registers user-supplied lifecycle hooks (`beforeCreateRequest`, `beforeRequest`, `afterSuccess`, `afterError`). When no `queryClient` is supplied, one is created with the SDK's defaults so -successful mutations under the `['@gusto/embedded-api-v-2025-11-15']` key invalidate every SDK +successful mutations under the `['@gusto/embedded-api-v-2026-02-01']` key invalidate every SDK query automatically. Partners who supply their own `QueryClient` are responsible for matching that contract. @@ -814,7 +814,7 @@ Request interceptors for customizing HTTP requests and responses. Pass an instance of this interface to [GustoProvider](#gustoprovider) via `config.hooks` to inspect or modify requests and responses across the four lifecycle stages. Each entry is an array of objects implementing the corresponding hook type -from `@gusto/embedded-api-v-2025-11-15/hooks/types`. +from `@gusto/embedded-api-v-2026-02-01/hooks/types`. | Stage | When it runs | | ----- | ------------ | diff --git a/docs/reference/utilities.md b/docs/reference/utilities.md index 35caefefa..c663ea32d 100644 --- a/docs/reference/utilities.md +++ b/docs/reference/utilities.md @@ -82,7 +82,7 @@ A single `HookErrorHandling` covering every source. #### Remarks -Accepts any mix of `@gusto/embedded-api-v-2025-11-15` React Query results and SDK hook +Accepts any mix of `@gusto/embedded-api-v-2026-02-01` React Query results and SDK hook results that already expose an `errorHandling` object (including the value returned by [composeSubmitHandler](#composesubmithandler)). Query errors are normalized to `SDKError`, nested hook errors are flattened in, and an optional submit-state argument adds a submit error to @@ -99,7 +99,7 @@ recovery, not a submit callback. ```tsx import { composeErrorHandler, useEmployeeDetailsForm } from '@gusto/embedded-react-sdk' -import { useEmployeeFormsList } from '@gusto/embedded-api-v-2025-11-15/react-query/employeeFormsList' +import { useEmployeeFormsList } from '@gusto/embedded-api-v-2026-02-01/react-query/employeeFormsList' function EmployeeProfileView({ companyId, employeeId }: { companyId: string; employeeId: string }) { const employeeDetails = useEmployeeDetailsForm({ companyId, employeeId }) @@ -167,7 +167,7 @@ cross-form focus instead. The returned `errorHandling` is the same shape every SDK hook returns, so the whole result can be passed back into [composeErrorHandler](#composeerrorhandler) when you need to add extra -`@gusto/embedded-api-v-2025-11-15` queries or screen-level submit state. +`@gusto/embedded-api-v-2026-02-01` queries or screen-level submit state. #### Example diff --git a/e2e/utils/validationErrorCollector.test.ts b/e2e/utils/validationErrorCollector.test.ts index 396f74592..77c172a67 100644 --- a/e2e/utils/validationErrorCollector.test.ts +++ b/e2e/utils/validationErrorCollector.test.ts @@ -1,5 +1,5 @@ import { describe, it, expect } from 'vitest' -import { SDKValidationError } from '@gusto/embedded-api-v-2025-11-15/models/errors/sdkvalidationerror' +import { SDKValidationError } from '@gusto/embedded-api-v-2026-02-01/models/errors/sdkvalidationerror' import { z } from 'zod/v3' import { createValidationErrorCollector, diff --git a/package-lock.json b/package-lock.json index 967012eb7..f1407157b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "0.50.0", "license": "MIT", "dependencies": { - "@gusto/embedded-api-v-2025-11-15": "^0.0.2", + "@gusto/embedded-api-v-2026-02-01": "^0.0.1", "@hookform/error-message": "^2.0.1", "@hookform/resolvers": "^5.4.0", "@internationalized/date": "^3.12.2", @@ -2771,10 +2771,10 @@ "tslib": "^2.8.0" } }, - "node_modules/@gusto/embedded-api-v-2025-11-15": { - "version": "0.0.2", - "resolved": "https://registry.npmjs.org/@gusto/embedded-api-v-2025-11-15/-/embedded-api-v-2025-11-15-0.0.2.tgz", - "integrity": "sha512-wVoE9mPddkPzQUwog6EfA4Si7NdjOve5l1IQReuvP+E6Xd+1RzaWFY7X6A05zM6Fyc4DC1e6tR1x9KnrNMeNPw==", + "node_modules/@gusto/embedded-api-v-2026-02-01": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/@gusto/embedded-api-v-2026-02-01/-/embedded-api-v-2026-02-01-0.0.1.tgz", + "integrity": "sha512-tO7USfhZRFchMq/tfIJYeH5TR9GA7HVd1qGmQXt+FU0Emow32202wnWKBfPJR3bjr54OsnsGTWTlS/mkWfljkA==", "license": "MIT", "dependencies": { "zod": "^3.25.0 || ^4.0.0" diff --git a/package.json b/package.json index e2c3d4455..881c8e7ca 100644 --- a/package.json +++ b/package.json @@ -179,7 +179,7 @@ "markdown-it": "^14.2.0" }, "dependencies": { - "@gusto/embedded-api-v-2025-11-15": "^0.0.2", + "@gusto/embedded-api-v-2026-02-01": "^0.0.1", "@hookform/error-message": "^2.0.1", "@hookform/resolvers": "^5.4.0", "@internationalized/date": "^3.12.2", diff --git a/sdk-app/src/design/components/contractor/management/ContractorAddress/ContractorAddress.tsx b/sdk-app/src/design/components/contractor/management/ContractorAddress/ContractorAddress.tsx index ad809b18b..25c33f1e2 100644 --- a/sdk-app/src/design/components/contractor/management/ContractorAddress/ContractorAddress.tsx +++ b/sdk-app/src/design/components/contractor/management/ContractorAddress/ContractorAddress.tsx @@ -1,4 +1,4 @@ -import type { Contractor } from '@gusto/embedded-api-v-2025-11-15/models/components/contractor' +import type { Contractor } from '@gusto/embedded-api-v-2026-02-01/models/components/contractor' import { Flex } from '@/components/Common' import { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext' diff --git a/sdk-app/src/design/components/contractor/management/ContractorAddressForm/ContractorAddressForm.tsx b/sdk-app/src/design/components/contractor/management/ContractorAddressForm/ContractorAddressForm.tsx index 10b389173..1d9c8681f 100644 --- a/sdk-app/src/design/components/contractor/management/ContractorAddressForm/ContractorAddressForm.tsx +++ b/sdk-app/src/design/components/contractor/management/ContractorAddressForm/ContractorAddressForm.tsx @@ -1,4 +1,4 @@ -import type { Contractor } from '@gusto/embedded-api-v-2025-11-15/models/components/contractor' +import type { Contractor } from '@gusto/embedded-api-v-2026-02-01/models/components/contractor' import { AddressForm, type AddressFormValues } from '../../shared/AddressForm/AddressForm' import { contractorName } from '../../shared/contractorName' import { useBase } from '@/components/Base/useBase' diff --git a/sdk-app/src/design/components/contractor/management/ContractorDetails/ContractorDetails.tsx b/sdk-app/src/design/components/contractor/management/ContractorDetails/ContractorDetails.tsx index 3629818c8..660f49d4b 100644 --- a/sdk-app/src/design/components/contractor/management/ContractorDetails/ContractorDetails.tsx +++ b/sdk-app/src/design/components/contractor/management/ContractorDetails/ContractorDetails.tsx @@ -1,4 +1,4 @@ -import type { Contractor } from '@gusto/embedded-api-v-2025-11-15/models/components/contractor' +import type { Contractor } from '@gusto/embedded-api-v-2026-02-01/models/components/contractor' import { CONTRACTOR_TYPE } from '@/shared/constants' import { Flex } from '@/components/Common' import { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext' diff --git a/sdk-app/src/design/components/contractor/management/ContractorDetails/ContractorDetailsConfigurations.tsx b/sdk-app/src/design/components/contractor/management/ContractorDetails/ContractorDetailsConfigurations.tsx index a4ddc7850..8e3647f29 100644 --- a/sdk-app/src/design/components/contractor/management/ContractorDetails/ContractorDetailsConfigurations.tsx +++ b/sdk-app/src/design/components/contractor/management/ContractorDetails/ContractorDetailsConfigurations.tsx @@ -1,4 +1,4 @@ -import type { Contractor } from '@gusto/embedded-api-v-2025-11-15/models/components/contractor' +import type { Contractor } from '@gusto/embedded-api-v-2026-02-01/models/components/contractor' import type { PrototypeConfiguration } from '../../../../prototypes/prototypeTypes' import { ContractorDetailsDemo } from './ContractorDetailsStates' diff --git a/sdk-app/src/design/components/contractor/management/ContractorDetails/ContractorDetailsStates.tsx b/sdk-app/src/design/components/contractor/management/ContractorDetails/ContractorDetailsStates.tsx index 959db7054..e0c1fddb0 100644 --- a/sdk-app/src/design/components/contractor/management/ContractorDetails/ContractorDetailsStates.tsx +++ b/sdk-app/src/design/components/contractor/management/ContractorDetails/ContractorDetailsStates.tsx @@ -1,4 +1,4 @@ -import type { Contractor } from '@gusto/embedded-api-v-2025-11-15/models/components/contractor' +import type { Contractor } from '@gusto/embedded-api-v-2026-02-01/models/components/contractor' import { ContractorDetails } from './ContractorDetails' export interface ContractorDetailsDemoProps { diff --git a/sdk-app/src/design/components/contractor/management/ContractorDetailsForm/ContractorDetailsForm.tsx b/sdk-app/src/design/components/contractor/management/ContractorDetailsForm/ContractorDetailsForm.tsx index 01c067a3d..41524e834 100644 --- a/sdk-app/src/design/components/contractor/management/ContractorDetailsForm/ContractorDetailsForm.tsx +++ b/sdk-app/src/design/components/contractor/management/ContractorDetailsForm/ContractorDetailsForm.tsx @@ -1,4 +1,4 @@ -import type { Contractor } from '@gusto/embedded-api-v-2025-11-15/models/components/contractor' +import type { Contractor } from '@gusto/embedded-api-v-2026-02-01/models/components/contractor' import { ProfileDetailsForm, type ProfileDetailsFormValues, diff --git a/sdk-app/src/design/components/contractor/management/ContractorDismissalForm/ContractorDismissalForm.tsx b/sdk-app/src/design/components/contractor/management/ContractorDismissalForm/ContractorDismissalForm.tsx index 8ae60eedb..3b9fe173d 100644 --- a/sdk-app/src/design/components/contractor/management/ContractorDismissalForm/ContractorDismissalForm.tsx +++ b/sdk-app/src/design/components/contractor/management/ContractorDismissalForm/ContractorDismissalForm.tsx @@ -1,4 +1,4 @@ -import type { Contractor } from '@gusto/embedded-api-v-2025-11-15/models/components/contractor' +import type { Contractor } from '@gusto/embedded-api-v-2026-02-01/models/components/contractor' import { FormProvider, useForm } from 'react-hook-form' import { zodResolver } from '@hookform/resolvers/zod' import { z } from 'zod' diff --git a/sdk-app/src/design/components/contractor/management/ContractorDismissalForm/ContractorDismissalFormConfigurations.tsx b/sdk-app/src/design/components/contractor/management/ContractorDismissalForm/ContractorDismissalFormConfigurations.tsx index 35678e8c1..2f49c3455 100644 --- a/sdk-app/src/design/components/contractor/management/ContractorDismissalForm/ContractorDismissalFormConfigurations.tsx +++ b/sdk-app/src/design/components/contractor/management/ContractorDismissalForm/ContractorDismissalFormConfigurations.tsx @@ -1,4 +1,4 @@ -import type { Contractor } from '@gusto/embedded-api-v-2025-11-15/models/components/contractor' +import type { Contractor } from '@gusto/embedded-api-v-2026-02-01/models/components/contractor' import type { PrototypeConfiguration } from '../../../../prototypes/prototypeTypes' import { ContractorDismissalFormDemo } from './ContractorDismissalFormStates' diff --git a/sdk-app/src/design/components/contractor/management/ContractorDismissalForm/ContractorDismissalFormStates.tsx b/sdk-app/src/design/components/contractor/management/ContractorDismissalForm/ContractorDismissalFormStates.tsx index c6e16ac84..076d3aa38 100644 --- a/sdk-app/src/design/components/contractor/management/ContractorDismissalForm/ContractorDismissalFormStates.tsx +++ b/sdk-app/src/design/components/contractor/management/ContractorDismissalForm/ContractorDismissalFormStates.tsx @@ -1,4 +1,4 @@ -import type { Contractor } from '@gusto/embedded-api-v-2025-11-15/models/components/contractor' +import type { Contractor } from '@gusto/embedded-api-v-2026-02-01/models/components/contractor' import { ContractorDismissalForm } from './ContractorDismissalForm' import { BaseComponent } from '@/components/Base' diff --git a/sdk-app/src/design/components/contractor/management/ContractorDocuments/ContractorDocuments.tsx b/sdk-app/src/design/components/contractor/management/ContractorDocuments/ContractorDocuments.tsx index 92d4ecb76..3962b68ed 100644 --- a/sdk-app/src/design/components/contractor/management/ContractorDocuments/ContractorDocuments.tsx +++ b/sdk-app/src/design/components/contractor/management/ContractorDocuments/ContractorDocuments.tsx @@ -1,6 +1,6 @@ import { useCallback } from 'react' -import type { Document } from '@gusto/embedded-api-v-2025-11-15/models/components/document' -import { useContractorDocumentsGetPdf } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorDocumentsGetPdf' +import type { Document } from '@gusto/embedded-api-v-2026-02-01/models/components/document' +import { useContractorDocumentsGetPdf } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorDocumentsGetPdf' import { DataView, useDataView } from '@/components/Common/DataView' import { EmptyData } from '@/components/Common/EmptyData/EmptyData' import { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext' diff --git a/sdk-app/src/design/components/contractor/management/ContractorList/ContractorList.tsx b/sdk-app/src/design/components/contractor/management/ContractorList/ContractorList.tsx index 6a5acc48d..0365181d9 100644 --- a/sdk-app/src/design/components/contractor/management/ContractorList/ContractorList.tsx +++ b/sdk-app/src/design/components/contractor/management/ContractorList/ContractorList.tsx @@ -1,5 +1,5 @@ import { useState } from 'react' -import type { Contractor } from '@gusto/embedded-api-v-2025-11-15/models/components/contractor' +import type { Contractor } from '@gusto/embedded-api-v-2026-02-01/models/components/contractor' import { contractorName } from '../../shared/contractorName' import { Skeleton } from '../../../common/Skeleton' import { SkeletonDataView } from './SkeletonDataView' diff --git a/sdk-app/src/design/components/contractor/management/ContractorList/ContractorListConfigurations.tsx b/sdk-app/src/design/components/contractor/management/ContractorList/ContractorListConfigurations.tsx index 742361e3e..32fda7415 100644 --- a/sdk-app/src/design/components/contractor/management/ContractorList/ContractorListConfigurations.tsx +++ b/sdk-app/src/design/components/contractor/management/ContractorList/ContractorListConfigurations.tsx @@ -1,4 +1,4 @@ -import type { Contractor } from '@gusto/embedded-api-v-2025-11-15/models/components/contractor' +import type { Contractor } from '@gusto/embedded-api-v-2026-02-01/models/components/contractor' import type { PrototypeConfiguration } from '../../../../prototypes/prototypeTypes' import { ContractorListDemo } from './ContractorListStates' diff --git a/sdk-app/src/design/components/contractor/management/ContractorList/ContractorListStates.tsx b/sdk-app/src/design/components/contractor/management/ContractorList/ContractorListStates.tsx index 43432e153..64169d5cf 100644 --- a/sdk-app/src/design/components/contractor/management/ContractorList/ContractorListStates.tsx +++ b/sdk-app/src/design/components/contractor/management/ContractorList/ContractorListStates.tsx @@ -1,5 +1,5 @@ import { useState } from 'react' -import type { Contractor } from '@gusto/embedded-api-v-2025-11-15/models/components/contractor' +import type { Contractor } from '@gusto/embedded-api-v-2026-02-01/models/components/contractor' import { ContractorList, type ContractorListTab } from './ContractorList' export interface ContractorTabFixtures { diff --git a/sdk-app/src/design/components/contractor/management/ContractorPay/ContractorPay.tsx b/sdk-app/src/design/components/contractor/management/ContractorPay/ContractorPay.tsx index dc850ea9f..d1dee49f8 100644 --- a/sdk-app/src/design/components/contractor/management/ContractorPay/ContractorPay.tsx +++ b/sdk-app/src/design/components/contractor/management/ContractorPay/ContractorPay.tsx @@ -1,4 +1,4 @@ -import type { Contractor } from '@gusto/embedded-api-v-2025-11-15/models/components/contractor' +import type { Contractor } from '@gusto/embedded-api-v-2026-02-01/models/components/contractor' import { Flex } from '@/components/Common' import { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext' diff --git a/sdk-app/src/design/components/contractor/management/ContractorPayForm/ContractorPayForm.tsx b/sdk-app/src/design/components/contractor/management/ContractorPayForm/ContractorPayForm.tsx index 8da53cb5b..d0ab24dc5 100644 --- a/sdk-app/src/design/components/contractor/management/ContractorPayForm/ContractorPayForm.tsx +++ b/sdk-app/src/design/components/contractor/management/ContractorPayForm/ContractorPayForm.tsx @@ -1,4 +1,4 @@ -import type { Contractor } from '@gusto/embedded-api-v-2025-11-15/models/components/contractor' +import type { Contractor } from '@gusto/embedded-api-v-2026-02-01/models/components/contractor' import { FormProvider, useForm, useWatch } from 'react-hook-form' import { zodResolver } from '@hookform/resolvers/zod' import { z } from 'zod' diff --git a/sdk-app/src/design/components/contractor/management/ContractorPaymentMethod/ContractorPaymentMethod.tsx b/sdk-app/src/design/components/contractor/management/ContractorPaymentMethod/ContractorPaymentMethod.tsx index 8cfd8026e..655777a91 100644 --- a/sdk-app/src/design/components/contractor/management/ContractorPaymentMethod/ContractorPaymentMethod.tsx +++ b/sdk-app/src/design/components/contractor/management/ContractorPaymentMethod/ContractorPaymentMethod.tsx @@ -1,4 +1,4 @@ -import type { ContractorBankAccount } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorbankaccount' +import type { ContractorBankAccount } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorbankaccount' import { Skeleton } from '../../../common/Skeleton' import { DataView, Flex, useDataView } from '@/components/Common' import { HamburgerMenu } from '@/components/Common/HamburgerMenu/HamburgerMenu' diff --git a/sdk-app/src/design/components/contractor/management/ContractorPaymentMethodForm/ContractorPaymentMethodForm.tsx b/sdk-app/src/design/components/contractor/management/ContractorPaymentMethodForm/ContractorPaymentMethodForm.tsx index c41f051f2..66c811de7 100644 --- a/sdk-app/src/design/components/contractor/management/ContractorPaymentMethodForm/ContractorPaymentMethodForm.tsx +++ b/sdk-app/src/design/components/contractor/management/ContractorPaymentMethodForm/ContractorPaymentMethodForm.tsx @@ -1,4 +1,4 @@ -import type { ContractorBankAccount } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorbankaccount' +import type { ContractorBankAccount } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorbankaccount' import { FormProvider, useForm } from 'react-hook-form' import { zodResolver } from '@hookform/resolvers/zod' import { z } from 'zod' diff --git a/sdk-app/src/design/components/contractor/management/ContractorRehireForm/ContractorRehireForm.tsx b/sdk-app/src/design/components/contractor/management/ContractorRehireForm/ContractorRehireForm.tsx index 2f20ba2c5..873654690 100644 --- a/sdk-app/src/design/components/contractor/management/ContractorRehireForm/ContractorRehireForm.tsx +++ b/sdk-app/src/design/components/contractor/management/ContractorRehireForm/ContractorRehireForm.tsx @@ -1,4 +1,4 @@ -import type { Contractor } from '@gusto/embedded-api-v-2025-11-15/models/components/contractor' +import type { Contractor } from '@gusto/embedded-api-v-2026-02-01/models/components/contractor' import { FormProvider, useForm } from 'react-hook-form' import { zodResolver } from '@hookform/resolvers/zod' import { z } from 'zod' diff --git a/sdk-app/src/design/components/contractor/self-onboarding/ContractorDocumentList/ContractorDocumentList.tsx b/sdk-app/src/design/components/contractor/self-onboarding/ContractorDocumentList/ContractorDocumentList.tsx index 7841a554e..979b0fb54 100644 --- a/sdk-app/src/design/components/contractor/self-onboarding/ContractorDocumentList/ContractorDocumentList.tsx +++ b/sdk-app/src/design/components/contractor/self-onboarding/ContractorDocumentList/ContractorDocumentList.tsx @@ -1,4 +1,4 @@ -import type { Document } from '@gusto/embedded-api-v-2025-11-15/models/components/document' +import type { Document } from '@gusto/embedded-api-v-2026-02-01/models/components/document' import { ActionsLayout, DataView, Flex, useDataView } from '@/components/Common' import { EmptyData } from '@/components/Common/EmptyData/EmptyData' import { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext' diff --git a/sdk-app/src/design/components/contractor/self-onboarding/ContractorDocumentList/ContractorDocumentListConfigurations.tsx b/sdk-app/src/design/components/contractor/self-onboarding/ContractorDocumentList/ContractorDocumentListConfigurations.tsx index 9ad7b1366..40821a091 100644 --- a/sdk-app/src/design/components/contractor/self-onboarding/ContractorDocumentList/ContractorDocumentListConfigurations.tsx +++ b/sdk-app/src/design/components/contractor/self-onboarding/ContractorDocumentList/ContractorDocumentListConfigurations.tsx @@ -1,4 +1,4 @@ -import type { Document } from '@gusto/embedded-api-v-2025-11-15/models/components/document' +import type { Document } from '@gusto/embedded-api-v-2026-02-01/models/components/document' import type { PrototypeConfiguration } from '../../../../prototypes/prototypeTypes' import { ContractorDocumentListDemo } from './ContractorDocumentListStates' diff --git a/sdk-app/src/design/components/contractor/self-onboarding/ContractorDocumentList/ContractorDocumentListStates.tsx b/sdk-app/src/design/components/contractor/self-onboarding/ContractorDocumentList/ContractorDocumentListStates.tsx index e1bda19ce..b6cc5ec83 100644 --- a/sdk-app/src/design/components/contractor/self-onboarding/ContractorDocumentList/ContractorDocumentListStates.tsx +++ b/sdk-app/src/design/components/contractor/self-onboarding/ContractorDocumentList/ContractorDocumentListStates.tsx @@ -1,4 +1,4 @@ -import type { Document } from '@gusto/embedded-api-v-2025-11-15/models/components/document' +import type { Document } from '@gusto/embedded-api-v-2026-02-01/models/components/document' import { ContractorDocumentList } from './ContractorDocumentList' export interface ContractorDocumentListDemoProps { diff --git a/sdk-app/src/design/components/contractor/shared/ProfileDetailsForm/ProfileDetailsForm.tsx b/sdk-app/src/design/components/contractor/shared/ProfileDetailsForm/ProfileDetailsForm.tsx index 875ec9060..38f3515af 100644 --- a/sdk-app/src/design/components/contractor/shared/ProfileDetailsForm/ProfileDetailsForm.tsx +++ b/sdk-app/src/design/components/contractor/shared/ProfileDetailsForm/ProfileDetailsForm.tsx @@ -1,5 +1,5 @@ import { useState } from 'react' -import type { Contractor } from '@gusto/embedded-api-v-2025-11-15/models/components/contractor' +import type { Contractor } from '@gusto/embedded-api-v-2026-02-01/models/components/contractor' import { FormProvider, useForm } from 'react-hook-form' import styles from './LockedField.module.scss' import { normalizeSSN } from '@/helpers/ssn' diff --git a/sdk-app/src/design/components/contractor/shared/ProfileDetailsForm/ProfileDetailsFormConfigurations.tsx b/sdk-app/src/design/components/contractor/shared/ProfileDetailsForm/ProfileDetailsFormConfigurations.tsx index 1fbc3b6bb..52643d4f5 100644 --- a/sdk-app/src/design/components/contractor/shared/ProfileDetailsForm/ProfileDetailsFormConfigurations.tsx +++ b/sdk-app/src/design/components/contractor/shared/ProfileDetailsForm/ProfileDetailsFormConfigurations.tsx @@ -1,4 +1,4 @@ -import type { Contractor } from '@gusto/embedded-api-v-2025-11-15/models/components/contractor' +import type { Contractor } from '@gusto/embedded-api-v-2026-02-01/models/components/contractor' import type { PrototypeConfiguration } from '../../../../prototypes/prototypeTypes' import { ProfileDetailsFormDemo } from './ProfileDetailsFormStates' import { CONTRACTOR_TYPE } from '@/shared/constants' diff --git a/sdk-app/src/design/components/contractor/shared/ProfileDetailsForm/ProfileDetailsFormStates.tsx b/sdk-app/src/design/components/contractor/shared/ProfileDetailsForm/ProfileDetailsFormStates.tsx index 8ae775101..8d9c61f6b 100644 --- a/sdk-app/src/design/components/contractor/shared/ProfileDetailsForm/ProfileDetailsFormStates.tsx +++ b/sdk-app/src/design/components/contractor/shared/ProfileDetailsForm/ProfileDetailsFormStates.tsx @@ -1,4 +1,4 @@ -import type { Contractor } from '@gusto/embedded-api-v-2025-11-15/models/components/contractor' +import type { Contractor } from '@gusto/embedded-api-v-2026-02-01/models/components/contractor' import { ProfileDetailsForm } from './ProfileDetailsForm' export interface ProfileDetailsFormDemoProps { diff --git a/sdk-app/src/design/components/contractor/shared/contractorName.ts b/sdk-app/src/design/components/contractor/shared/contractorName.ts index 28002fa14..1031c6762 100644 --- a/sdk-app/src/design/components/contractor/shared/contractorName.ts +++ b/sdk-app/src/design/components/contractor/shared/contractorName.ts @@ -1,4 +1,4 @@ -import type { Contractor } from '@gusto/embedded-api-v-2025-11-15/models/components/contractor' +import type { Contractor } from '@gusto/embedded-api-v-2026-02-01/models/components/contractor' import { CONTRACTOR_TYPE } from '@/shared/constants' import { firstLastName } from '@/helpers/formattedStrings' diff --git a/sdk-app/src/design/components/employee/management/CompensationHistory/CompensationHistory.test.tsx b/sdk-app/src/design/components/employee/management/CompensationHistory/CompensationHistory.test.tsx index 07b9370a0..d065a0c47 100644 --- a/sdk-app/src/design/components/employee/management/CompensationHistory/CompensationHistory.test.tsx +++ b/sdk-app/src/design/components/employee/management/CompensationHistory/CompensationHistory.test.tsx @@ -1,7 +1,7 @@ import { describe, expect, it } from 'vitest' import { screen } from '@testing-library/react' -import type { Job } from '@gusto/embedded-api-v-2025-11-15/models/components/job' -import type { Compensation } from '@gusto/embedded-api-v-2025-11-15/models/components/compensation' +import type { Job } from '@gusto/embedded-api-v-2026-02-01/models/components/job' +import type { Compensation } from '@gusto/embedded-api-v-2026-02-01/models/components/compensation' import { CompensationHistory } from './CompensationHistory' import { renderWithProviders } from '@/test-utils/renderWithProviders' diff --git a/sdk-app/src/design/components/employee/management/CompensationHistory/CompensationHistory.tsx b/sdk-app/src/design/components/employee/management/CompensationHistory/CompensationHistory.tsx index 68c0768ce..2e08e03ad 100644 --- a/sdk-app/src/design/components/employee/management/CompensationHistory/CompensationHistory.tsx +++ b/sdk-app/src/design/components/employee/management/CompensationHistory/CompensationHistory.tsx @@ -1,5 +1,5 @@ -import type { Job } from '@gusto/embedded-api-v-2025-11-15/models/components/job' -import type { Compensation } from '@gusto/embedded-api-v-2025-11-15/models/components/compensation' +import type { Job } from '@gusto/embedded-api-v-2026-02-01/models/components/job' +import type { Compensation } from '@gusto/embedded-api-v-2026-02-01/models/components/compensation' import { ActionsLayout, DataView, Flex, useDataView } from '@/components/Common' import { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext' import { formatDateLongWithYear } from '@/helpers/dateFormatting' diff --git a/sdk-app/src/design/components/employee/management/CompensationHistory/CompensationHistoryConfigurations.tsx b/sdk-app/src/design/components/employee/management/CompensationHistory/CompensationHistoryConfigurations.tsx index b3a5250a8..528bf67df 100644 --- a/sdk-app/src/design/components/employee/management/CompensationHistory/CompensationHistoryConfigurations.tsx +++ b/sdk-app/src/design/components/employee/management/CompensationHistory/CompensationHistoryConfigurations.tsx @@ -1,5 +1,5 @@ -import type { Job } from '@gusto/embedded-api-v-2025-11-15/models/components/job' -import type { Compensation } from '@gusto/embedded-api-v-2025-11-15/models/components/compensation' +import type { Job } from '@gusto/embedded-api-v-2026-02-01/models/components/job' +import type { Compensation } from '@gusto/embedded-api-v-2026-02-01/models/components/compensation' import type { PrototypeConfiguration } from '../../../../prototypes/prototypeTypes' import { CompensationHistoryDemo } from './CompensationHistoryStates' diff --git a/sdk-app/src/design/components/employee/management/CompensationHistory/CompensationHistoryStates.tsx b/sdk-app/src/design/components/employee/management/CompensationHistory/CompensationHistoryStates.tsx index d2822e196..94a0640ae 100644 --- a/sdk-app/src/design/components/employee/management/CompensationHistory/CompensationHistoryStates.tsx +++ b/sdk-app/src/design/components/employee/management/CompensationHistory/CompensationHistoryStates.tsx @@ -1,4 +1,4 @@ -import type { Job } from '@gusto/embedded-api-v-2025-11-15/models/components/job' +import type { Job } from '@gusto/embedded-api-v-2026-02-01/models/components/job' import { CompensationHistory } from './CompensationHistory' export interface CompensationHistoryDemoProps { diff --git a/sdk-app/src/design/components/employee/management/EmployeeList/EmployeeList.tsx b/sdk-app/src/design/components/employee/management/EmployeeList/EmployeeList.tsx index 00c19935a..290992bad 100644 --- a/sdk-app/src/design/components/employee/management/EmployeeList/EmployeeList.tsx +++ b/sdk-app/src/design/components/employee/management/EmployeeList/EmployeeList.tsx @@ -1,6 +1,6 @@ -import type { Employee } from '@gusto/embedded-api-v-2025-11-15/models/components/employee' -import type { Job } from '@gusto/embedded-api-v-2025-11-15/models/components/job' -import { useEmployeeEmploymentsGetRehire } from '@gusto/embedded-api-v-2025-11-15/react-query/employeeEmploymentsGetRehire' +import type { Employee } from '@gusto/embedded-api-v-2026-02-01/models/components/employee' +import type { Job } from '@gusto/embedded-api-v-2026-02-01/models/components/job' +import { useEmployeeEmploymentsGetRehire } from '@gusto/embedded-api-v-2026-02-01/react-query/employeeEmploymentsGetRehire' import { Skeleton } from '../../../common/Skeleton' import { DataView, EmptyData, Flex, useDataView } from '@/components/Common' import { HamburgerMenu } from '@/components/Common/HamburgerMenu/HamburgerMenu' diff --git a/sdk-app/src/design/components/employee/management/EmployeeList/EmployeeListConfigurations.tsx b/sdk-app/src/design/components/employee/management/EmployeeList/EmployeeListConfigurations.tsx index 545f5efbd..f7154af10 100644 --- a/sdk-app/src/design/components/employee/management/EmployeeList/EmployeeListConfigurations.tsx +++ b/sdk-app/src/design/components/employee/management/EmployeeList/EmployeeListConfigurations.tsx @@ -1,4 +1,4 @@ -import type { Employee } from '@gusto/embedded-api-v-2025-11-15/models/components/employee' +import type { Employee } from '@gusto/embedded-api-v-2026-02-01/models/components/employee' import type { PrototypeConfiguration } from '../../../../prototypes/prototypeTypes' import { EmployeeListDemo } from './EmployeeListStates' diff --git a/sdk-app/src/design/components/employee/management/EmployeeList/EmployeeListStates.tsx b/sdk-app/src/design/components/employee/management/EmployeeList/EmployeeListStates.tsx index 0a2c020e1..c37270124 100644 --- a/sdk-app/src/design/components/employee/management/EmployeeList/EmployeeListStates.tsx +++ b/sdk-app/src/design/components/employee/management/EmployeeList/EmployeeListStates.tsx @@ -1,5 +1,5 @@ import { useState } from 'react' -import type { Employee } from '@gusto/embedded-api-v-2025-11-15/models/components/employee' +import type { Employee } from '@gusto/embedded-api-v-2026-02-01/models/components/employee' import { EmployeeList, type EmployeeListTab } from './EmployeeList' export function EmployeeListDemo({ diff --git a/sdk-app/src/design/components/employee/management/RehireEmployeeForm/RehireEmployeeForm.tsx b/sdk-app/src/design/components/employee/management/RehireEmployeeForm/RehireEmployeeForm.tsx index cfe32ea90..13201fb45 100644 --- a/sdk-app/src/design/components/employee/management/RehireEmployeeForm/RehireEmployeeForm.tsx +++ b/sdk-app/src/design/components/employee/management/RehireEmployeeForm/RehireEmployeeForm.tsx @@ -2,9 +2,9 @@ import { useEffect } from 'react' import { FormProvider, useForm, useWatch } from 'react-hook-form' import { zodResolver } from '@hookform/resolvers/zod' import { z } from 'zod' -import type { Employee } from '@gusto/embedded-api-v-2025-11-15/models/components/employee' -import type { Location } from '@gusto/embedded-api-v-2025-11-15/models/components/location' -import type { Rehire } from '@gusto/embedded-api-v-2025-11-15/models/components/rehire' +import type { Employee } from '@gusto/embedded-api-v-2026-02-01/models/components/employee' +import type { Location } from '@gusto/embedded-api-v-2026-02-01/models/components/location' +import type { Rehire } from '@gusto/embedded-api-v-2026-02-01/models/components/rehire' import { Flex } from '@/components/Common/Flex' import { Form } from '@/components/Common/Form' import { Grid } from '@/components/Common/Grid/Grid' diff --git a/sdk-app/src/design/components/employee/management/RehireEmployeeForm/RehireEmployeeFormConfigurations.tsx b/sdk-app/src/design/components/employee/management/RehireEmployeeForm/RehireEmployeeFormConfigurations.tsx index 30b4fe4d1..a795d34e0 100644 --- a/sdk-app/src/design/components/employee/management/RehireEmployeeForm/RehireEmployeeFormConfigurations.tsx +++ b/sdk-app/src/design/components/employee/management/RehireEmployeeForm/RehireEmployeeFormConfigurations.tsx @@ -1,4 +1,4 @@ -import type { Location } from '@gusto/embedded-api-v-2025-11-15/models/components/location' +import type { Location } from '@gusto/embedded-api-v-2026-02-01/models/components/location' import type { PrototypeConfiguration } from '../../../../prototypes/prototypeTypes' import { RehireEmployeeFormDemo } from './RehireEmployeeFormStates' diff --git a/sdk-app/src/design/components/employee/management/RehireEmployeeForm/RehireEmployeeFormStates.tsx b/sdk-app/src/design/components/employee/management/RehireEmployeeForm/RehireEmployeeFormStates.tsx index 236e33aa5..57defdaea 100644 --- a/sdk-app/src/design/components/employee/management/RehireEmployeeForm/RehireEmployeeFormStates.tsx +++ b/sdk-app/src/design/components/employee/management/RehireEmployeeForm/RehireEmployeeFormStates.tsx @@ -1,5 +1,5 @@ -import type { Employee } from '@gusto/embedded-api-v-2025-11-15/models/components/employee' -import type { Location } from '@gusto/embedded-api-v-2025-11-15/models/components/location' +import type { Employee } from '@gusto/embedded-api-v-2026-02-01/models/components/employee' +import type { Location } from '@gusto/embedded-api-v-2026-02-01/models/components/location' import { RehireEmployeeForm } from './RehireEmployeeForm' export interface RehireEmployeeFormDemoProps { diff --git a/sdk-app/src/design/components/payroll/PayrollConfigurationRrop/PayrollConfigurationRropConfigurations.tsx b/sdk-app/src/design/components/payroll/PayrollConfigurationRrop/PayrollConfigurationRropConfigurations.tsx index f1febcbb1..b00c0b3f7 100644 --- a/sdk-app/src/design/components/payroll/PayrollConfigurationRrop/PayrollConfigurationRropConfigurations.tsx +++ b/sdk-app/src/design/components/payroll/PayrollConfigurationRrop/PayrollConfigurationRropConfigurations.tsx @@ -1,8 +1,8 @@ -import type { EmployeeCompensations } from '@gusto/embedded-api-v-2025-11-15/models/components/payroll' -import type { Employee } from '@gusto/embedded-api-v-2025-11-15/models/components/employee' -import type { PayrollPayPeriodType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollpayperiodtype' -import type { PayScheduleShow } from '@gusto/embedded-api-v-2025-11-15/models/components/payscheduleshow' -import type { PayrollFixedCompensationTypesType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollfixedcompensationtypestype' +import type { EmployeeCompensations } from '@gusto/embedded-api-v-2026-02-01/models/components/payroll' +import type { Employee } from '@gusto/embedded-api-v-2026-02-01/models/components/employee' +import type { PayrollPayPeriodType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollpayperiodtype' +import type { PayScheduleShow } from '@gusto/embedded-api-v-2026-02-01/models/components/payscheduleshow' +import type { PayrollFixedCompensationTypesType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollfixedcompensationtypestype' import type { PrototypeConfiguration } from '../../../prototypes/prototypeTypes' import { PayrollConfigurationRropDemo } from './PayrollConfigurationRropStates' diff --git a/sdk-app/src/design/components/payroll/PayrollConfigurationRrop/PayrollConfigurationRropPresentation.tsx b/sdk-app/src/design/components/payroll/PayrollConfigurationRrop/PayrollConfigurationRropPresentation.tsx index 06eaa5132..b3057d619 100644 --- a/sdk-app/src/design/components/payroll/PayrollConfigurationRrop/PayrollConfigurationRropPresentation.tsx +++ b/sdk-app/src/design/components/payroll/PayrollConfigurationRrop/PayrollConfigurationRropPresentation.tsx @@ -1,10 +1,10 @@ import type { ReactNode } from 'react' import { useRef } from 'react' -import type { EmployeeCompensations } from '@gusto/embedded-api-v-2025-11-15/models/components/payroll' -import type { Employee } from '@gusto/embedded-api-v-2025-11-15/models/components/employee' -import type { PayrollPayPeriodType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollpayperiodtype' -import type { PayScheduleShow as PayScheduleObject } from '@gusto/embedded-api-v-2025-11-15/models/components/payscheduleshow' -import type { PayrollFixedCompensationTypesType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollfixedcompensationtypestype' +import type { EmployeeCompensations } from '@gusto/embedded-api-v-2026-02-01/models/components/payroll' +import type { Employee } from '@gusto/embedded-api-v-2026-02-01/models/components/employee' +import type { PayrollPayPeriodType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollpayperiodtype' +import type { PayScheduleShow as PayScheduleObject } from '@gusto/embedded-api-v-2026-02-01/models/components/payscheduleshow' +import type { PayrollFixedCompensationTypesType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollfixedcompensationtypestype' import { Trans, useTranslation } from 'react-i18next' import { PayrollSpreadsheet } from '../PayrollSpreadsheet/PayrollSpreadsheet' import styles from './PayrollConfigurationRropPresentation.module.scss' diff --git a/sdk-app/src/design/components/payroll/PayrollConfigurationRrop/PayrollConfigurationRropStates.tsx b/sdk-app/src/design/components/payroll/PayrollConfigurationRrop/PayrollConfigurationRropStates.tsx index 0e92b220f..a8aefe994 100644 --- a/sdk-app/src/design/components/payroll/PayrollConfigurationRrop/PayrollConfigurationRropStates.tsx +++ b/sdk-app/src/design/components/payroll/PayrollConfigurationRrop/PayrollConfigurationRropStates.tsx @@ -1,8 +1,8 @@ -import type { EmployeeCompensations } from '@gusto/embedded-api-v-2025-11-15/models/components/payroll' -import type { Employee } from '@gusto/embedded-api-v-2025-11-15/models/components/employee' -import type { PayrollPayPeriodType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollpayperiodtype' -import type { PayScheduleShow } from '@gusto/embedded-api-v-2025-11-15/models/components/payscheduleshow' -import type { PayrollFixedCompensationTypesType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollfixedcompensationtypestype' +import type { EmployeeCompensations } from '@gusto/embedded-api-v-2026-02-01/models/components/payroll' +import type { Employee } from '@gusto/embedded-api-v-2026-02-01/models/components/employee' +import type { PayrollPayPeriodType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollpayperiodtype' +import type { PayScheduleShow } from '@gusto/embedded-api-v-2026-02-01/models/components/payscheduleshow' +import type { PayrollFixedCompensationTypesType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollfixedcompensationtypestype' import { PayrollConfigurationRropPresentation } from './PayrollConfigurationRropPresentation' import { PayrollCategory } from '@/components/Payroll/payrollTypes' diff --git a/sdk-app/src/design/components/payroll/PayrollEditEmployee/PayrollEditEmployeeConfigurations.tsx b/sdk-app/src/design/components/payroll/PayrollEditEmployee/PayrollEditEmployeeConfigurations.tsx index 10435c202..58458ba0e 100644 --- a/sdk-app/src/design/components/payroll/PayrollEditEmployee/PayrollEditEmployeeConfigurations.tsx +++ b/sdk-app/src/design/components/payroll/PayrollEditEmployee/PayrollEditEmployeeConfigurations.tsx @@ -1,14 +1,14 @@ -import type { Employee } from '@gusto/embedded-api-v-2025-11-15/models/components/employee' +import type { Employee } from '@gusto/embedded-api-v-2026-02-01/models/components/employee' import type { PayrollEmployeeCompensationsType, PayrollEmployeeCompensationsTypePaidTimeOff, PayrollEmployeeCompensationsTypeFixedCompensations, PayrollEmployeeCompensationsTypeHourlyCompensations, PayrollEmployeeCompensationsTypeReimbursements, -} from '@gusto/embedded-api-v-2025-11-15/models/components/payrollemployeecompensationstype' -import { PayrollEmployeeCompensationsTypePaymentMethod } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollemployeecompensationstype' -import type { PayrollFixedCompensationTypesType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollfixedcompensationtypestype' -import type { PayScheduleShow } from '@gusto/embedded-api-v-2025-11-15/models/components/payscheduleshow' +} from '@gusto/embedded-api-v-2026-02-01/models/components/payrollemployeecompensationstype' +import { PayrollEmployeeCompensationsTypePaymentMethod } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollemployeecompensationstype' +import type { PayrollFixedCompensationTypesType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollfixedcompensationtypestype' +import type { PayScheduleShow } from '@gusto/embedded-api-v-2026-02-01/models/components/payscheduleshow' import type { PrototypeConfiguration } from '../../../prototypes/prototypeTypes' import type { WorkweekRange } from './PayrollEditEmployeePresentation' import { PayrollEditEmployeeDemo } from './PayrollEditEmployeeStates' diff --git a/sdk-app/src/design/components/payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.tsx b/sdk-app/src/design/components/payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.tsx index 88797862e..ed737a58c 100644 --- a/sdk-app/src/design/components/payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.tsx +++ b/sdk-app/src/design/components/payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.tsx @@ -1,15 +1,15 @@ import { FormProvider, useFieldArray, useForm, useWatch } from 'react-hook-form' import { useMemo, useRef, useState } from 'react' -import type { Employee } from '@gusto/embedded-api-v-2025-11-15/models/components/employee' +import type { Employee } from '@gusto/embedded-api-v-2026-02-01/models/components/employee' import type { PayrollEmployeeCompensationsTypeFixedCompensations as FixedCompensations, PayrollEmployeeCompensationsType, PayrollEmployeeCompensationsTypePaidTimeOff, PayrollEmployeeCompensationsTypeReimbursements as Reimbursement, -} from '@gusto/embedded-api-v-2025-11-15/models/components/payrollemployeecompensationstype' -import { PayrollEmployeeCompensationsTypePaymentMethod } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollemployeecompensationstype' -import type { PayrollFixedCompensationTypesType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollfixedcompensationtypestype' -import type { PayScheduleShow as PayScheduleObject } from '@gusto/embedded-api-v-2025-11-15/models/components/payscheduleshow' +} from '@gusto/embedded-api-v-2026-02-01/models/components/payrollemployeecompensationstype' +import { PayrollEmployeeCompensationsTypePaymentMethod } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollemployeecompensationstype' +import type { PayrollFixedCompensationTypesType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollfixedcompensationtypestype' +import type { PayScheduleShow as PayScheduleObject } from '@gusto/embedded-api-v-2026-02-01/models/components/payscheduleshow' import { useTranslation } from 'react-i18next' import { z } from 'zod' import { zodResolver } from '@hookform/resolvers/zod' diff --git a/sdk-app/src/design/components/payroll/PayrollEditEmployee/PayrollEditEmployeeStates.tsx b/sdk-app/src/design/components/payroll/PayrollEditEmployee/PayrollEditEmployeeStates.tsx index f823d90a0..6d979c6fd 100644 --- a/sdk-app/src/design/components/payroll/PayrollEditEmployee/PayrollEditEmployeeStates.tsx +++ b/sdk-app/src/design/components/payroll/PayrollEditEmployee/PayrollEditEmployeeStates.tsx @@ -1,7 +1,7 @@ -import type { Employee } from '@gusto/embedded-api-v-2025-11-15/models/components/employee' -import type { PayrollEmployeeCompensationsType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollemployeecompensationstype' -import type { PayrollFixedCompensationTypesType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollfixedcompensationtypestype' -import type { PayScheduleShow } from '@gusto/embedded-api-v-2025-11-15/models/components/payscheduleshow' +import type { Employee } from '@gusto/embedded-api-v-2026-02-01/models/components/employee' +import type { PayrollEmployeeCompensationsType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollemployeecompensationstype' +import type { PayrollFixedCompensationTypesType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollfixedcompensationtypestype' +import type { PayScheduleShow } from '@gusto/embedded-api-v-2026-02-01/models/components/payscheduleshow' import { PayrollEditEmployeePresentation, type WorkweekRange, diff --git a/sdk-app/src/design/components/payroll/PayrollEditEmployee/TimeOffField.tsx b/sdk-app/src/design/components/payroll/PayrollEditEmployee/TimeOffField.tsx index 7d73ac052..27387ee34 100644 --- a/sdk-app/src/design/components/payroll/PayrollEditEmployee/TimeOffField.tsx +++ b/sdk-app/src/design/components/payroll/PayrollEditEmployee/TimeOffField.tsx @@ -1,7 +1,7 @@ import { useWatch, useFormContext } from 'react-hook-form' import { useTranslation } from 'react-i18next' -import type { Employee } from '@gusto/embedded-api-v-2025-11-15/models/components/employee' -import type { PayrollEmployeeCompensationsTypePaidTimeOff } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollemployeecompensationstype' +import type { Employee } from '@gusto/embedded-api-v-2026-02-01/models/components/employee' +import type { PayrollEmployeeCompensationsTypePaidTimeOff } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollemployeecompensationstype' import type { PayrollEditEmployeeFormValues } from './PayrollEditEmployeePresentation' import { Flex, TextInputField } from '@/components/Common' import { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext' diff --git a/sdk-app/src/design/components/payroll/PayrollSpreadsheet/BreakdownModal.tsx b/sdk-app/src/design/components/payroll/PayrollSpreadsheet/BreakdownModal.tsx index 02b58351d..8cd04eaa4 100644 --- a/sdk-app/src/design/components/payroll/PayrollSpreadsheet/BreakdownModal.tsx +++ b/sdk-app/src/design/components/payroll/PayrollSpreadsheet/BreakdownModal.tsx @@ -1,5 +1,5 @@ import { useLayoutEffect, useRef, useState } from 'react' -import type { PayrollPayPeriodType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollpayperiodtype' +import type { PayrollPayPeriodType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollpayperiodtype' import styles from './PayrollSpreadsheet.module.scss' import { type ColumnDef, type Workweek, formatCellValue, sumBreakdown } from './shared' import { Flex } from '@/components/Common' diff --git a/sdk-app/src/design/components/payroll/PayrollSpreadsheet/PayrollSpreadsheet.tsx b/sdk-app/src/design/components/payroll/PayrollSpreadsheet/PayrollSpreadsheet.tsx index 1b4cfd976..a7d98d609 100644 --- a/sdk-app/src/design/components/payroll/PayrollSpreadsheet/PayrollSpreadsheet.tsx +++ b/sdk-app/src/design/components/payroll/PayrollSpreadsheet/PayrollSpreadsheet.tsx @@ -1,13 +1,13 @@ import { useEffect, useLayoutEffect, useMemo, useRef, useState, type FocusEvent } from 'react' -import type { Employee } from '@gusto/embedded-api-v-2025-11-15/models/components/employee' +import type { Employee } from '@gusto/embedded-api-v-2026-02-01/models/components/employee' import type { EmployeeCompensations, PayrollShowReimbursements, -} from '@gusto/embedded-api-v-2025-11-15/models/components/payroll' -import type { PayrollFixedCompensationTypesType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollfixedcompensationtypestype' -import type { PayrollPayPeriodType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollpayperiodtype' -import type { PayrollEmployeeCompensationsType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollemployeecompensationstype' -import type { PayScheduleShow as PayScheduleObject } from '@gusto/embedded-api-v-2025-11-15/models/components/payscheduleshow' +} from '@gusto/embedded-api-v-2026-02-01/models/components/payroll' +import type { PayrollFixedCompensationTypesType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollfixedcompensationtypestype' +import type { PayrollPayPeriodType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollpayperiodtype' +import type { PayrollEmployeeCompensationsType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollemployeecompensationstype' +import type { PayScheduleShow as PayScheduleObject } from '@gusto/embedded-api-v-2026-02-01/models/components/payscheduleshow' import { Skeleton } from '../../common/Skeleton' import { BreakdownModal } from './BreakdownModal' import styles from './PayrollSpreadsheet.module.scss' diff --git a/sdk-app/src/design/prototypes/contractor-management/AddContractor/AddContractorWizard.tsx b/sdk-app/src/design/prototypes/contractor-management/AddContractor/AddContractorWizard.tsx index b02a07042..a116bdfc7 100644 --- a/sdk-app/src/design/prototypes/contractor-management/AddContractor/AddContractorWizard.tsx +++ b/sdk-app/src/design/prototypes/contractor-management/AddContractor/AddContractorWizard.tsx @@ -84,7 +84,7 @@ export function AddContractorWizard({ case componentEvents.CONTRACTOR_SUBMIT_DONE: { const payload = data as { message?: string } | undefined const message = payload?.message ?? 'Contractor added successfully' - queryClient.removeQueries({ queryKey: ['@gusto/embedded-api-v-2025-11-15', 'Contractors'] }) + queryClient.removeQueries({ queryKey: ['@gusto/embedded-api-v-2026-02-01', 'Contractors'] }) void navigate(`..?success=${encodeURIComponent(message)}`, { replace: true }) break } diff --git a/sdk-app/src/design/prototypes/contractor-management/AddContractor/ContractorAddress.tsx b/sdk-app/src/design/prototypes/contractor-management/AddContractor/ContractorAddress.tsx index d42ebcf83..e7fc05b48 100644 --- a/sdk-app/src/design/prototypes/contractor-management/AddContractor/ContractorAddress.tsx +++ b/sdk-app/src/design/prototypes/contractor-management/AddContractor/ContractorAddress.tsx @@ -1,6 +1,6 @@ -import { useContractorsGetSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorsGet' -import { useContractorsGetAddressSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorsGetAddress' -import { useContractorsUpdateAddressMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorsUpdateAddress' +import { useContractorsGetSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorsGet' +import { useContractorsGetAddressSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorsGetAddress' +import { useContractorsUpdateAddressMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorsUpdateAddress' import { AddressForm, type AddressFormValues, diff --git a/sdk-app/src/design/prototypes/contractor-management/AddContractor/ContractorNewHireReport.tsx b/sdk-app/src/design/prototypes/contractor-management/AddContractor/ContractorNewHireReport.tsx index 0baf56966..fc4350a6a 100644 --- a/sdk-app/src/design/prototypes/contractor-management/AddContractor/ContractorNewHireReport.tsx +++ b/sdk-app/src/design/prototypes/contractor-management/AddContractor/ContractorNewHireReport.tsx @@ -2,8 +2,8 @@ import { useMemo } from 'react' import { FormProvider, useForm, useWatch } from 'react-hook-form' import { zodResolver } from '@hookform/resolvers/zod' import z from 'zod' -import { useContractorsGetSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorsGet' -import { useContractorsUpdateMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorsUpdate' +import { useContractorsGetSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorsGet' +import { useContractorsUpdateMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorsUpdate' import { BaseComponent, useBase } from '@/components/Base' import { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext' import { Form } from '@/components/Common/Form' diff --git a/sdk-app/src/design/prototypes/contractor-management/AddContractor/ContractorOnboardingOverview.tsx b/sdk-app/src/design/prototypes/contractor-management/AddContractor/ContractorOnboardingOverview.tsx index b47bad897..3ac04f23f 100644 --- a/sdk-app/src/design/prototypes/contractor-management/AddContractor/ContractorOnboardingOverview.tsx +++ b/sdk-app/src/design/prototypes/contractor-management/AddContractor/ContractorOnboardingOverview.tsx @@ -1,5 +1,5 @@ import classNames from 'classnames' -import { useContractorsGetOnboardingStatusSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorsGetOnboardingStatus' +import { useContractorsGetOnboardingStatusSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorsGetOnboardingStatus' import type { WizardStep } from './AddContractorWizard' import { ActionsLayout, Flex } from '@/components/Common' import { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext' diff --git a/sdk-app/src/design/prototypes/contractor-management/AddContractor/ContractorPaymentMethod.tsx b/sdk-app/src/design/prototypes/contractor-management/AddContractor/ContractorPaymentMethod.tsx index 22af893a9..92416a015 100644 --- a/sdk-app/src/design/prototypes/contractor-management/AddContractor/ContractorPaymentMethod.tsx +++ b/sdk-app/src/design/prototypes/contractor-management/AddContractor/ContractorPaymentMethod.tsx @@ -2,11 +2,11 @@ import { useMemo, useState } from 'react' import { useContractorPaymentMethodGetSuspense, buildContractorPaymentMethodGetQuery, -} from '@gusto/embedded-api-v-2025-11-15/react-query/contractorPaymentMethodGet' -import { useContractorPaymentMethodGetBankAccountsSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorPaymentMethodGetBankAccounts' -import { useContractorPaymentMethodsCreateBankAccountMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorPaymentMethodsCreateBankAccount' -import { useContractorPaymentMethodUpdateMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorPaymentMethodUpdate' -import { useGustoEmbeddedContext } from '@gusto/embedded-api-v-2025-11-15/react-query/_context' +} from '@gusto/embedded-api-v-2026-02-01/react-query/contractorPaymentMethodGet' +import { useContractorPaymentMethodGetBankAccountsSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorPaymentMethodGetBankAccounts' +import { useContractorPaymentMethodsCreateBankAccountMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorPaymentMethodsCreateBankAccount' +import { useContractorPaymentMethodUpdateMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorPaymentMethodUpdate' +import { useGustoEmbeddedContext } from '@gusto/embedded-api-v-2026-02-01/react-query/_context' import { useQueryClient } from '@tanstack/react-query' import { PaymentMethodForm, diff --git a/sdk-app/src/design/prototypes/contractor-management/AddContractor/ContractorProfile.tsx b/sdk-app/src/design/prototypes/contractor-management/AddContractor/ContractorProfile.tsx index 49e9384f9..06f349f55 100644 --- a/sdk-app/src/design/prototypes/contractor-management/AddContractor/ContractorProfile.tsx +++ b/sdk-app/src/design/prototypes/contractor-management/AddContractor/ContractorProfile.tsx @@ -2,16 +2,16 @@ import { useMemo } from 'react' import { FormProvider, useForm, useWatch } from 'react-hook-form' import { zodResolver } from '@hookform/resolvers/zod' import { z } from 'zod' -import { useContractorsGetSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorsGet' -import { useContractorsCreateMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorsCreate' -import { useContractorsUpdateMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorsUpdate' +import { useContractorsGetSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorsGet' +import { useContractorsCreateMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorsCreate' +import { useContractorsUpdateMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorsUpdate' import { WageType, ContractorType, type Contractor, -} from '@gusto/embedded-api-v-2025-11-15/models/components/contractor' -import type { ContractorCreateRequestBody } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorcreaterequestbody' -import type { ContractorUpdateRequestBody } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorupdaterequestbody' +} from '@gusto/embedded-api-v-2026-02-01/models/components/contractor' +import type { ContractorCreateRequestBody } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorcreaterequestbody' +import type { ContractorUpdateRequestBody } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorupdaterequestbody' import { BaseComponent, useBase } from '@/components/Base' import { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext' import { Form } from '@/components/Common/Form' diff --git a/sdk-app/src/design/prototypes/contractor-management/AddContractor/ContractorSubmit.tsx b/sdk-app/src/design/prototypes/contractor-management/AddContractor/ContractorSubmit.tsx index b5cca69ad..aa2606835 100644 --- a/sdk-app/src/design/prototypes/contractor-management/AddContractor/ContractorSubmit.tsx +++ b/sdk-app/src/design/prototypes/contractor-management/AddContractor/ContractorSubmit.tsx @@ -1,6 +1,6 @@ -import { useContractorsUpdateOnboardingStatusMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorsUpdateOnboardingStatus' -import { useContractorsGetOnboardingStatusSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorsGetOnboardingStatus' -import { useContractorsGetSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorsGet' +import { useContractorsUpdateOnboardingStatusMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorsUpdateOnboardingStatus' +import { useContractorsGetOnboardingStatusSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorsGetOnboardingStatus' +import { useContractorsGetSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorsGet' import { BaseComponent, useBase } from '@/components/Base' import { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext' import { ActionsLayout, Flex, FlexItem } from '@/components/Common' diff --git a/sdk-app/src/design/prototypes/contractor-management/AddContractor/index.tsx b/sdk-app/src/design/prototypes/contractor-management/AddContractor/index.tsx index 9145ad059..4b69e363c 100644 --- a/sdk-app/src/design/prototypes/contractor-management/AddContractor/index.tsx +++ b/sdk-app/src/design/prototypes/contractor-management/AddContractor/index.tsx @@ -60,7 +60,7 @@ export function AddContractor() { variant="secondary" onClick={() => { queryClient.removeQueries({ - queryKey: ['@gusto/embedded-api-v-2025-11-15', 'Contractors', 'list'], + queryKey: ['@gusto/embedded-api-v-2026-02-01', 'Contractors', 'list'], }) void navigate('..') }} diff --git a/sdk-app/src/design/prototypes/contractor-management/ContractorDismiss.tsx b/sdk-app/src/design/prototypes/contractor-management/ContractorDismiss.tsx index 9b266c3e3..c26f43804 100644 --- a/sdk-app/src/design/prototypes/contractor-management/ContractorDismiss.tsx +++ b/sdk-app/src/design/prototypes/contractor-management/ContractorDismiss.tsx @@ -1,7 +1,7 @@ import { Suspense, useState } from 'react' import { useNavigate, useParams } from 'react-router-dom' import { useQueryClient } from '@tanstack/react-query' -import { useContractorsGetSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorsGet' +import { useContractorsGetSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorsGet' import { ContractorDismissalForm } from '../../components/contractor/management/ContractorDismissalForm/ContractorDismissalForm' import { contractorName } from '../../components/contractor/shared/contractorName' import { Skeleton } from '../../components/common/Skeleton' @@ -47,7 +47,7 @@ function ContractorDismissContent() { const today = new Date().toISOString().slice(0, 10) const message = endDate <= today ? `${name} has been dismissed` : `Dismissal scheduled for ${name}` - queryClient.removeQueries({ queryKey: ['@gusto/embedded-api-v-2025-11-15', 'Contractors'] }) + queryClient.removeQueries({ queryKey: ['@gusto/embedded-api-v-2026-02-01', 'Contractors'] }) void navigate(`..?success=${encodeURIComponent(message)}`, { replace: true, }) diff --git a/sdk-app/src/design/prototypes/contractor-management/ContractorList.tsx b/sdk-app/src/design/prototypes/contractor-management/ContractorList.tsx index 1d237f791..d3abd6a79 100644 --- a/sdk-app/src/design/prototypes/contractor-management/ContractorList.tsx +++ b/sdk-app/src/design/prototypes/contractor-management/ContractorList.tsx @@ -1,9 +1,9 @@ import { useEffect, useMemo, useState } from 'react' import { useNavigate, useOutletContext, useSearchParams } from 'react-router-dom' -import type { Contractor } from '@gusto/embedded-api-v-2025-11-15/models/components/contractor' -import { useContractorsList } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorsList' -import { useContractorsDeleteMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorsDelete' -import { useContractorsUpdateOnboardingStatusMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorsUpdateOnboardingStatus' +import type { Contractor } from '@gusto/embedded-api-v-2026-02-01/models/components/contractor' +import { useContractorsList } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorsList' +import { useContractorsDeleteMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorsDelete' +import { useContractorsUpdateOnboardingStatusMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorsUpdateOnboardingStatus' import { useQueryClient } from '@tanstack/react-query' import type { EntityIds } from '../../../useEntities' import { contractorName } from '../../components/contractor/shared/contractorName' @@ -29,7 +29,7 @@ export function ContractorList() { if (msg) { setSuccessMessage(msg) setSearchParams({}, { replace: true }) - queryClient.removeQueries({ queryKey: ['@gusto/embedded-api-v-2025-11-15', 'Contractors'] }) + queryClient.removeQueries({ queryKey: ['@gusto/embedded-api-v-2026-02-01', 'Contractors'] }) } }, []) // eslint-disable-line react-hooks/exhaustive-deps @@ -91,7 +91,7 @@ export function ContractorList() { ? `Rehire cancelled for ${contractorName(contractor)}` : `Dismissal cancelled for ${contractorName(contractor)}`, ) - queryClient.removeQueries({ queryKey: ['@gusto/embedded-api-v-2025-11-15', 'Contractors'] }) + queryClient.removeQueries({ queryKey: ['@gusto/embedded-api-v-2026-02-01', 'Contractors'] }) } catch (error) { setErrorMessage( error instanceof Error @@ -146,7 +146,7 @@ export function ContractorList() { await deleteContractor({ request: { contractorUuid: contractor.uuid } }) setSuccessMessage(`${contractorName(contractor)} has been removed`) queryClient.removeQueries({ - queryKey: ['@gusto/embedded-api-v-2025-11-15', 'Contractors'], + queryKey: ['@gusto/embedded-api-v-2026-02-01', 'Contractors'], }) } catch (error) { setErrorMessage( @@ -167,7 +167,7 @@ export function ContractorList() { }) setSuccessMessage(`Self-onboarding cancelled for ${contractorName(contractor)}`) queryClient.removeQueries({ - queryKey: ['@gusto/embedded-api-v-2025-11-15', 'Contractors'], + queryKey: ['@gusto/embedded-api-v-2026-02-01', 'Contractors'], }) } catch (error) { setErrorMessage( diff --git a/sdk-app/src/design/prototypes/contractor-management/ContractorProfile/ContractorProfileComponents.tsx b/sdk-app/src/design/prototypes/contractor-management/ContractorProfile/ContractorProfileComponents.tsx index dab27c615..868f3880f 100644 --- a/sdk-app/src/design/prototypes/contractor-management/ContractorProfile/ContractorProfileComponents.tsx +++ b/sdk-app/src/design/prototypes/contractor-management/ContractorProfile/ContractorProfileComponents.tsx @@ -1,20 +1,20 @@ import { Suspense, useRef, useState } from 'react' import { useNavigate, useParams } from 'react-router-dom' -import type { Contractor } from '@gusto/embedded-api-v-2025-11-15/models/components/contractor' -import { useContractorsGetSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorsGet' -import { useContractorPaymentMethodGetBankAccountsSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorPaymentMethodGetBankAccounts' +import type { Contractor } from '@gusto/embedded-api-v-2026-02-01/models/components/contractor' +import { useContractorsGetSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorsGet' +import { useContractorPaymentMethodGetBankAccountsSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorPaymentMethodGetBankAccounts' import { useContractorPaymentMethodGetSuspense, buildContractorPaymentMethodGetQuery, -} from '@gusto/embedded-api-v-2025-11-15/react-query/contractorPaymentMethodGet' -import { useContractorPaymentMethodUpdateMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorPaymentMethodUpdate' -import { useContractorPaymentMethodsCreateBankAccountMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorPaymentMethodsCreateBankAccount' -import { useContractorDocumentsGetAllSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorDocumentsGetAll' -import { useContractorsGetAddressSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorsGetAddress' -import { useContractorsUpdateAddressMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorsUpdateAddress' -import { useContractorsUpdateMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorsUpdate' -import { useContractorsUpdateOnboardingStatusMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorsUpdateOnboardingStatus' -import { useGustoEmbeddedContext } from '@gusto/embedded-api-v-2025-11-15/react-query/_context' +} from '@gusto/embedded-api-v-2026-02-01/react-query/contractorPaymentMethodGet' +import { useContractorPaymentMethodUpdateMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorPaymentMethodUpdate' +import { useContractorPaymentMethodsCreateBankAccountMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorPaymentMethodsCreateBankAccount' +import { useContractorDocumentsGetAllSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorDocumentsGetAll' +import { useContractorsGetAddressSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorsGetAddress' +import { useContractorsUpdateAddressMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorsUpdateAddress' +import { useContractorsUpdateMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorsUpdate' +import { useContractorsUpdateOnboardingStatusMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorsUpdateOnboardingStatus' +import { useGustoEmbeddedContext } from '@gusto/embedded-api-v-2026-02-01/react-query/_context' import { useQueryClient } from '@tanstack/react-query' import { contractorName } from '../../../components/contractor/shared/contractorName' import { ContractorAddress } from '../../../components/contractor/management/ContractorAddress/ContractorAddress' diff --git a/sdk-app/src/design/prototypes/contractor-management/ContractorRehire.tsx b/sdk-app/src/design/prototypes/contractor-management/ContractorRehire.tsx index de3105c3d..efd5ecc71 100644 --- a/sdk-app/src/design/prototypes/contractor-management/ContractorRehire.tsx +++ b/sdk-app/src/design/prototypes/contractor-management/ContractorRehire.tsx @@ -1,7 +1,7 @@ import { Suspense, useState } from 'react' import { useNavigate, useParams } from 'react-router-dom' import { useQueryClient } from '@tanstack/react-query' -import { useContractorsGetSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorsGet' +import { useContractorsGetSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorsGet' import { contractorName } from '../../components/contractor/shared/contractorName' import { ContractorRehireForm } from '../../components/contractor/management/ContractorRehireForm/ContractorRehireForm' import { Skeleton } from '../../components/common/Skeleton' @@ -44,7 +44,7 @@ function ContractorRehireContent() { } const name = contractorName(contractor) - queryClient.removeQueries({ queryKey: ['@gusto/embedded-api-v-2025-11-15', 'Contractors'] }) + queryClient.removeQueries({ queryKey: ['@gusto/embedded-api-v-2026-02-01', 'Contractors'] }) void navigate(`..?success=${encodeURIComponent(`Rehire scheduled for ${name}`)}`, { replace: true, }) diff --git a/sdk-app/src/design/prototypes/contractor-payments/CreateHistoricalPayment/CreateHistoricalPayment.tsx b/sdk-app/src/design/prototypes/contractor-payments/CreateHistoricalPayment/CreateHistoricalPayment.tsx index e1e4435c9..7caecee1b 100644 --- a/sdk-app/src/design/prototypes/contractor-payments/CreateHistoricalPayment/CreateHistoricalPayment.tsx +++ b/sdk-app/src/design/prototypes/contractor-payments/CreateHistoricalPayment/CreateHistoricalPayment.tsx @@ -1,8 +1,8 @@ import { Suspense, useMemo, useState } from 'react' -import { useContractorsListSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorsList' -import { useContractorPaymentGroupsCreateMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorPaymentGroupsCreate' -import { useContractorPaymentGroupsPreviewMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorPaymentGroupsPreview' -import { RFCDate } from '@gusto/embedded-api-v-2025-11-15/types/rfcdate' +import { useContractorsListSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorsList' +import { useContractorPaymentGroupsCreateMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorPaymentGroupsCreate' +import { useContractorPaymentGroupsPreviewMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorPaymentGroupsPreview' +import { RFCDate } from '@gusto/embedded-api-v-2026-02-01/types/rfcdate' import { SelectContractors } from '../../../components/contractor/payments/SelectContractors/SelectContractors' import { HistoricalPaymentConfiguration } from '../../../components/contractor/payments/HistoricalPaymentConfiguration/HistoricalPaymentConfiguration' import { HistoricalPaymentSummary } from '../../../components/contractor/payments/HistoricalPaymentSummary/HistoricalPaymentSummary' diff --git a/sdk-app/src/design/prototypes/contractor-payments/CreateHistoricalPayment/states.tsx b/sdk-app/src/design/prototypes/contractor-payments/CreateHistoricalPayment/states.tsx index 01dd78343..e153a8de9 100644 --- a/sdk-app/src/design/prototypes/contractor-payments/CreateHistoricalPayment/states.tsx +++ b/sdk-app/src/design/prototypes/contractor-payments/CreateHistoricalPayment/states.tsx @@ -1,5 +1,5 @@ /* eslint-disable no-console */ -import type { Contractor } from '@gusto/embedded-api-v-2025-11-15/models/components/contractor' +import type { Contractor } from '@gusto/embedded-api-v-2026-02-01/models/components/contractor' import { HistoricalPaymentSummary } from '../../../components/contractor/payments/HistoricalPaymentSummary/HistoricalPaymentSummary' import { emptyPaymentFor, diff --git a/sdk-app/src/design/prototypes/contractor-self-onboarding/ContractorDocumentSigner.tsx b/sdk-app/src/design/prototypes/contractor-self-onboarding/ContractorDocumentSigner.tsx index 5b03e065c..41ef0fcd1 100644 --- a/sdk-app/src/design/prototypes/contractor-self-onboarding/ContractorDocumentSigner.tsx +++ b/sdk-app/src/design/prototypes/contractor-self-onboarding/ContractorDocumentSigner.tsx @@ -2,9 +2,9 @@ import { Suspense, useState } from 'react' import { useContractorDocumentsGetAllSuspense, invalidateContractorDocumentsGetAll, -} from '@gusto/embedded-api-v-2025-11-15/react-query/contractorDocumentsGetAll' +} from '@gusto/embedded-api-v-2026-02-01/react-query/contractorDocumentsGetAll' import { useQueryClient } from '@tanstack/react-query' -import type { Document } from '@gusto/embedded-api-v-2025-11-15/models/components/document' +import type { Document } from '@gusto/embedded-api-v-2026-02-01/models/components/document' import { ContractorDocumentList } from '../../components/contractor/self-onboarding/ContractorDocumentList/ContractorDocumentList' import { ContractorSignatureForm } from './ContractorSignatureForm' import { contractorSelfOnboardingEvents } from './events' diff --git a/sdk-app/src/design/prototypes/contractor-self-onboarding/ContractorLanding.tsx b/sdk-app/src/design/prototypes/contractor-self-onboarding/ContractorLanding.tsx index 3514a79d1..474e4439b 100644 --- a/sdk-app/src/design/prototypes/contractor-self-onboarding/ContractorLanding.tsx +++ b/sdk-app/src/design/prototypes/contractor-self-onboarding/ContractorLanding.tsx @@ -1,6 +1,6 @@ import { useMemo } from 'react' -import { useContractorsGetSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorsGet' -import { useCompaniesGetSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/companiesGet' +import { useContractorsGetSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorsGet' +import { useCompaniesGetSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/companiesGet' import DOMPurify from 'dompurify' import { ContractorWelcome } from '../../components/contractor/self-onboarding/ContractorWelcome/ContractorWelcome' import { contractorSelfOnboardingEvents } from './events' diff --git a/sdk-app/src/design/prototypes/contractor-self-onboarding/ContractorSelfAddressForm.tsx b/sdk-app/src/design/prototypes/contractor-self-onboarding/ContractorSelfAddressForm.tsx index 8ba7fe88e..7d7f2b7f1 100644 --- a/sdk-app/src/design/prototypes/contractor-self-onboarding/ContractorSelfAddressForm.tsx +++ b/sdk-app/src/design/prototypes/contractor-self-onboarding/ContractorSelfAddressForm.tsx @@ -1,6 +1,6 @@ -import { useContractorsGetSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorsGet' -import { useContractorsGetAddressSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorsGetAddress' -import { useContractorsUpdateAddressMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorsUpdateAddress' +import { useContractorsGetSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorsGet' +import { useContractorsGetAddressSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorsGetAddress' +import { useContractorsUpdateAddressMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorsUpdateAddress' import { AddressForm, type AddressFormValues, diff --git a/sdk-app/src/design/prototypes/contractor-self-onboarding/ContractorSelfPaymentMethodForm.tsx b/sdk-app/src/design/prototypes/contractor-self-onboarding/ContractorSelfPaymentMethodForm.tsx index 7f7e6524a..b9a1a3972 100644 --- a/sdk-app/src/design/prototypes/contractor-self-onboarding/ContractorSelfPaymentMethodForm.tsx +++ b/sdk-app/src/design/prototypes/contractor-self-onboarding/ContractorSelfPaymentMethodForm.tsx @@ -2,11 +2,11 @@ import { useMemo, useState } from 'react' import { useContractorPaymentMethodGetSuspense, buildContractorPaymentMethodGetQuery, -} from '@gusto/embedded-api-v-2025-11-15/react-query/contractorPaymentMethodGet' -import { useContractorPaymentMethodGetBankAccountsSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorPaymentMethodGetBankAccounts' -import { useContractorPaymentMethodsCreateBankAccountMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorPaymentMethodsCreateBankAccount' -import { useContractorPaymentMethodUpdateMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorPaymentMethodUpdate' -import { useGustoEmbeddedContext } from '@gusto/embedded-api-v-2025-11-15/react-query/_context' +} from '@gusto/embedded-api-v-2026-02-01/react-query/contractorPaymentMethodGet' +import { useContractorPaymentMethodGetBankAccountsSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorPaymentMethodGetBankAccounts' +import { useContractorPaymentMethodsCreateBankAccountMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorPaymentMethodsCreateBankAccount' +import { useContractorPaymentMethodUpdateMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorPaymentMethodUpdate' +import { useGustoEmbeddedContext } from '@gusto/embedded-api-v-2026-02-01/react-query/_context' import { useQueryClient } from '@tanstack/react-query' import { PaymentMethodForm, diff --git a/sdk-app/src/design/prototypes/contractor-self-onboarding/ContractorSelfProfile.tsx b/sdk-app/src/design/prototypes/contractor-self-onboarding/ContractorSelfProfile.tsx index d58c74e97..1acfe4888 100644 --- a/sdk-app/src/design/prototypes/contractor-self-onboarding/ContractorSelfProfile.tsx +++ b/sdk-app/src/design/prototypes/contractor-self-onboarding/ContractorSelfProfile.tsx @@ -1,7 +1,7 @@ -import { useContractorsGetSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorsGet' -import { useContractorsUpdateMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorsUpdate' -import { ContractorType as ApiContractorType } from '@gusto/embedded-api-v-2025-11-15/models/components/contractor' -import type { ContractorUpdateRequestBody } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorupdaterequestbody' +import { useContractorsGetSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorsGet' +import { useContractorsUpdateMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorsUpdate' +import { ContractorType as ApiContractorType } from '@gusto/embedded-api-v-2026-02-01/models/components/contractor' +import type { ContractorUpdateRequestBody } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorupdaterequestbody' import { ProfileDetailsForm, type ProfileDetailsFormValues, diff --git a/sdk-app/src/design/prototypes/contractor-self-onboarding/ContractorSignatureForm.tsx b/sdk-app/src/design/prototypes/contractor-self-onboarding/ContractorSignatureForm.tsx index d668f62b7..c76d8082e 100644 --- a/sdk-app/src/design/prototypes/contractor-self-onboarding/ContractorSignatureForm.tsx +++ b/sdk-app/src/design/prototypes/contractor-self-onboarding/ContractorSignatureForm.tsx @@ -1,6 +1,6 @@ -import { useContractorDocumentsGetSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorDocumentsGet' -import { useContractorDocumentsGetPdfSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorDocumentsGetPdf' -import { useContractorDocumentsSignMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorDocumentsSign' +import { useContractorDocumentsGetSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorDocumentsGet' +import { useContractorDocumentsGetPdfSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorDocumentsGetPdf' +import { useContractorDocumentsSignMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorDocumentsSign' import { ContractorDocumentSignature, type ContractorDocumentSignatureValues, diff --git a/sdk-app/src/design/prototypes/employee-management/CompensationHistory/CompensationHistory.tsx b/sdk-app/src/design/prototypes/employee-management/CompensationHistory/CompensationHistory.tsx index 8ab7f05eb..8d7165b69 100644 --- a/sdk-app/src/design/prototypes/employee-management/CompensationHistory/CompensationHistory.tsx +++ b/sdk-app/src/design/prototypes/employee-management/CompensationHistory/CompensationHistory.tsx @@ -1,5 +1,5 @@ -import { useJobsAndCompensationsGetJobs } from '@gusto/embedded-api-v-2025-11-15/react-query/jobsAndCompensationsGetJobs' -import { GetV1EmployeesEmployeeIdJobsQueryParamInclude } from '@gusto/embedded-api-v-2025-11-15/models/operations/getv1employeesemployeeidjobs' +import { useJobsAndCompensationsGetJobs } from '@gusto/embedded-api-v-2026-02-01/react-query/jobsAndCompensationsGetJobs' +import { GetV1EmployeesEmployeeIdJobsQueryParamInclude } from '@gusto/embedded-api-v-2026-02-01/models/operations/getv1employeesemployeeidjobs' import { CompensationHistory as CompensationHistoryView } from '../../../components/employee/management/CompensationHistory/CompensationHistory' import { BaseBoundaries, BaseLayout } from '@/components/Base' import { composeErrorHandler } from '@/partner-hook-utils/composeErrorHandler' diff --git a/sdk-app/src/design/prototypes/employee-management/EmployeeManagement/EmployeeList.tsx b/sdk-app/src/design/prototypes/employee-management/EmployeeManagement/EmployeeList.tsx index 66a2a9087..07c881c3f 100644 --- a/sdk-app/src/design/prototypes/employee-management/EmployeeManagement/EmployeeList.tsx +++ b/sdk-app/src/design/prototypes/employee-management/EmployeeManagement/EmployeeList.tsx @@ -1,7 +1,7 @@ import { useEffect, useMemo, useState } from 'react' import { useNavigate, useOutletContext, useSearchParams } from 'react-router-dom' -import { useEmployeesList } from '@gusto/embedded-api-v-2025-11-15/react-query/employeesList' -import { useEmployeeEmploymentsDeleteRehireMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/employeeEmploymentsDeleteRehire' +import { useEmployeesList } from '@gusto/embedded-api-v-2026-02-01/react-query/employeesList' +import { useEmployeeEmploymentsDeleteRehireMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/employeeEmploymentsDeleteRehire' import type { EntityIds } from '../../../../useEntities' import { EmployeeList as EmployeeListView, diff --git a/sdk-app/src/design/prototypes/employee-management/EmployeeManagement/RehireEmployee.tsx b/sdk-app/src/design/prototypes/employee-management/EmployeeManagement/RehireEmployee.tsx index 5d64f08d7..82ee45d87 100644 --- a/sdk-app/src/design/prototypes/employee-management/EmployeeManagement/RehireEmployee.tsx +++ b/sdk-app/src/design/prototypes/employee-management/EmployeeManagement/RehireEmployee.tsx @@ -1,13 +1,13 @@ import { Suspense, useState } from 'react' import { useNavigate, useOutletContext, useParams } from 'react-router-dom' -import { UnprocessableEntityError } from '@gusto/embedded-api-v-2025-11-15/models/errors/unprocessableentityerror' -import type { EntityErrorObject } from '@gusto/embedded-api-v-2025-11-15/models/components/entityerrorobject' -import { useEmployeesGetSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/employeesGet' -import { useLocationsGetSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/locationsGet' -import { useEmployeeEmploymentsGetRehire } from '@gusto/embedded-api-v-2025-11-15/react-query/employeeEmploymentsGetRehire' -import { useEmployeeEmploymentsCreateRehireMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/employeeEmploymentsCreateRehire' -import { useEmployeeEmploymentsRehireMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/employeeEmploymentsRehire' -import { RehireBodyEmploymentStatus } from '@gusto/embedded-api-v-2025-11-15/models/components/rehirebody' +import { UnprocessableEntityError } from '@gusto/embedded-api-v-2026-02-01/models/errors/unprocessableentityerror' +import type { EntityErrorObject } from '@gusto/embedded-api-v-2026-02-01/models/components/entityerrorobject' +import { useEmployeesGetSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/employeesGet' +import { useLocationsGetSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/locationsGet' +import { useEmployeeEmploymentsGetRehire } from '@gusto/embedded-api-v-2026-02-01/react-query/employeeEmploymentsGetRehire' +import { useEmployeeEmploymentsCreateRehireMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/employeeEmploymentsCreateRehire' +import { useEmployeeEmploymentsRehireMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/employeeEmploymentsRehire' +import { RehireBodyEmploymentStatus } from '@gusto/embedded-api-v-2026-02-01/models/components/rehirebody' import type { EntityIds } from '../../../../useEntities' import { RehireEmployeeForm, diff --git a/sdk-app/src/design/prototypes/regular-rate-of-pay/RegularRateOfPay.tsx b/sdk-app/src/design/prototypes/regular-rate-of-pay/RegularRateOfPay.tsx index f39bb1bac..7e81e7eff 100644 --- a/sdk-app/src/design/prototypes/regular-rate-of-pay/RegularRateOfPay.tsx +++ b/sdk-app/src/design/prototypes/regular-rate-of-pay/RegularRateOfPay.tsx @@ -1,20 +1,20 @@ import { Suspense, useEffect, useMemo, useRef, useState, type ReactNode } from 'react' import { useQueryClient } from '@tanstack/react-query' -import { usePayrollsListSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/payrollsList' -import { usePayrollsGetSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/payrollsGet' -import { usePayrollsUpdateMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/payrollsUpdate' -import { usePayrollsCalculateMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/payrollsCalculate' +import { usePayrollsListSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/payrollsList' +import { usePayrollsGetSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/payrollsGet' +import { usePayrollsUpdateMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/payrollsUpdate' +import { usePayrollsCalculateMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/payrollsCalculate' import type { EmployeeCompensations, PayrollPrepared, -} from '@gusto/embedded-api-v-2025-11-15/models/components/payroll' -import { APIError } from '@gusto/embedded-api-v-2025-11-15/models/errors/apierror' -import { UnprocessableEntityError } from '@gusto/embedded-api-v-2025-11-15/models/errors/unprocessableentityerror' -import { PayrollProcessingRequestStatus } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollprocessingrequest' +} from '@gusto/embedded-api-v-2026-02-01/models/components/payroll' +import { APIError } from '@gusto/embedded-api-v-2026-02-01/models/errors/apierror' +import { UnprocessableEntityError } from '@gusto/embedded-api-v-2026-02-01/models/errors/unprocessableentityerror' +import { PayrollProcessingRequestStatus } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollprocessingrequest' import { ProcessingStatuses, QueryParamPayrollTypes, -} from '@gusto/embedded-api-v-2025-11-15/models/operations/getv1companiescompanyidpayrolls' +} from '@gusto/embedded-api-v-2026-02-01/models/operations/getv1companiescompanyidpayrolls' import { PayrollConfigurationRropPresentation } from '../../components/payroll/PayrollConfigurationRrop/PayrollConfigurationRropPresentation' import { BaseComponent } from '@/components/Base' import { Flex } from '@/components/Common' diff --git a/src/CLAUDE.md b/src/CLAUDE.md index 9d2cee46e..d771233a1 100644 --- a/src/CLAUDE.md +++ b/src/CLAUDE.md @@ -40,7 +40,7 @@ return ( ## Component Organization -``` +```text src/components/ ├── Common/ # Shared UI primitives and Field components │ ├── Fields/ # Form-connected Field components (use these for forms) @@ -52,23 +52,23 @@ src/components/ └── Flow/ # Multi-step flow orchestration ``` -## API Layer (`@gusto/embedded-api-v-2025-11-15`) +## API Layer (`@gusto/embedded-api-v-2026-02-01`) -All API calls go through the `@gusto/embedded-api-v-2025-11-15` package, which provides React Query hooks with Zod schema validation. +All API calls go through the `@gusto/embedded-api-v-2026-02-01` package, which provides React Query hooks with Zod schema validation. ### Import Paths ```tsx -import { useEmployeesListSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/employeesList' -import { usePayrollsUpdateMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/payrollsUpdate' -import type { Employee } from '@gusto/embedded-api-v-2025-11-15/models/components/employee' -import type { APIError } from '@gusto/embedded-api-v-2025-11-15/models/errors/apierror' +import { useEmployeesListSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/employeesList' +import { usePayrollsUpdateMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/payrollsUpdate' +import type { Employee } from '@gusto/embedded-api-v-2026-02-01/models/components/employee' +import type { APIError } from '@gusto/embedded-api-v-2026-02-01/models/errors/apierror' ``` -- `@gusto/embedded-api-v-2025-11-15/react-query/` -- React Query hooks -- `@gusto/embedded-api-v-2025-11-15/models/components/` -- Component/entity types -- `@gusto/embedded-api-v-2025-11-15/models/operations/` -- Operation request/response types -- `@gusto/embedded-api-v-2025-11-15/models/errors/` -- Error types (`APIError`, `SDKValidationError`, `UnprocessableEntityError`) +- `@gusto/embedded-api-v-2026-02-01/react-query/` -- React Query hooks +- `@gusto/embedded-api-v-2026-02-01/models/components/` -- Component/entity types +- `@gusto/embedded-api-v-2026-02-01/models/operations/` -- Operation request/response types +- `@gusto/embedded-api-v-2026-02-01/models/errors/` -- Error types (`APIError`, `SDKValidationError`, `UnprocessableEntityError`) ### Hook Naming Convention @@ -118,7 +118,7 @@ All user-facing text uses i18next. Translation types are generated via `npm run ## Provider Stack -``` +```text GustoProvider → ComponentsProvider (UI component map) → ThemeProvider diff --git a/src/components/Base/useBaseSubmit.test.tsx b/src/components/Base/useBaseSubmit.test.tsx index 46746053b..5494efb11 100644 --- a/src/components/Base/useBaseSubmit.test.tsx +++ b/src/components/Base/useBaseSubmit.test.tsx @@ -1,9 +1,9 @@ import { describe, expect, it } from 'vitest' import { renderHook, act } from '@testing-library/react' -import { NotFoundErrorObject } from '@gusto/embedded-api-v-2025-11-15/models/errors/notfounderrorobject' -import { APIError } from '@gusto/embedded-api-v-2025-11-15/models/errors/apierror' -import { UnprocessableEntityError } from '@gusto/embedded-api-v-2025-11-15/models/errors/unprocessableentityerror' -import { GustoEmbeddedError } from '@gusto/embedded-api-v-2025-11-15/models/errors/gustoembeddederror' +import { NotFoundErrorObject } from '@gusto/embedded-api-v-2026-02-01/models/errors/notfounderrorobject' +import { APIError } from '@gusto/embedded-api-v-2026-02-01/models/errors/apierror' +import { UnprocessableEntityError } from '@gusto/embedded-api-v-2026-02-01/models/errors/unprocessableentityerror' +import { GustoEmbeddedError } from '@gusto/embedded-api-v-2026-02-01/models/errors/gustoembeddederror' import { useBaseSubmit } from './useBaseSubmit' const createMockHttpMeta = () => ({ diff --git a/src/components/Base/useBaseSubmit.ts b/src/components/Base/useBaseSubmit.ts index 1c402fca3..3bf11aae9 100644 --- a/src/components/Base/useBaseSubmit.ts +++ b/src/components/Base/useBaseSubmit.ts @@ -1,8 +1,8 @@ import { useState, useCallback } from 'react' -import { APIError } from '@gusto/embedded-api-v-2025-11-15/models/errors/apierror' -import { GustoEmbeddedError } from '@gusto/embedded-api-v-2025-11-15/models/errors/gustoembeddederror' -import { SDKValidationError } from '@gusto/embedded-api-v-2025-11-15/models/errors/sdkvalidationerror' -import { UnprocessableEntityError } from '@gusto/embedded-api-v-2025-11-15/models/errors/unprocessableentityerror' +import { APIError } from '@gusto/embedded-api-v-2026-02-01/models/errors/apierror' +import { GustoEmbeddedError } from '@gusto/embedded-api-v-2026-02-01/models/errors/gustoembeddederror' +import { SDKValidationError } from '@gusto/embedded-api-v-2026-02-01/models/errors/sdkvalidationerror' +import { UnprocessableEntityError } from '@gusto/embedded-api-v-2026-02-01/models/errors/unprocessableentityerror' import { useAsyncError } from '@/hooks/useAsyncError' import { useObservability } from '@/contexts/ObservabilityProvider/useObservability' import { type SDKError, SDKInternalError, normalizeToSDKError } from '@/types/sdkError' diff --git a/src/components/Common/OnboardingStatusBadge/index.tsx b/src/components/Common/OnboardingStatusBadge/index.tsx index fad8c775d..1349db90d 100644 --- a/src/components/Common/OnboardingStatusBadge/index.tsx +++ b/src/components/Common/OnboardingStatusBadge/index.tsx @@ -1,5 +1,5 @@ -import type { ContractorOnboardingStatus1 } from '@gusto/embedded-api-v-2025-11-15/models/components/contractor' -import type { OnboardingStatus } from '@gusto/embedded-api-v-2025-11-15/models/operations/putv1employeesemployeeidonboardingstatus' +import type { ContractorOnboardingStatus1 } from '@gusto/embedded-api-v-2026-02-01/models/components/contractor' +import type { OnboardingStatus } from '@gusto/embedded-api-v-2026-02-01/models/operations/putv1employeesemployeeidonboardingstatus' import { useTranslation } from 'react-i18next' import { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext' diff --git a/src/components/Common/TaxInputs/TaxInputs.tsx b/src/components/Common/TaxInputs/TaxInputs.tsx index 244a9bd0c..8ed790cbb 100644 --- a/src/components/Common/TaxInputs/TaxInputs.tsx +++ b/src/components/Common/TaxInputs/TaxInputs.tsx @@ -1,6 +1,6 @@ import DOMPurify from 'dompurify' -import type { EmployeeStateTaxQuestion } from '@gusto/embedded-api-v-2025-11-15/models/components/employeestatetaxquestion' -import { type TaxRequirement } from '@gusto/embedded-api-v-2025-11-15/models/components/taxrequirement' +import type { EmployeeStateTaxQuestion } from '@gusto/embedded-api-v-2026-02-01/models/components/employeestatetaxquestion' +import { type TaxRequirement } from '@gusto/embedded-api-v-2026-02-01/models/components/taxrequirement' import { useTranslation } from 'react-i18next' import { SelectField } from '../Fields/SelectField/SelectField' import { TextInputField } from '../Fields/TextInputField/TextInputField' diff --git a/src/components/Company/AssignSignatory/CreateSignatory/CreateSignatory.tsx b/src/components/Company/AssignSignatory/CreateSignatory/CreateSignatory.tsx index 1238988f7..1e0575c22 100644 --- a/src/components/Company/AssignSignatory/CreateSignatory/CreateSignatory.tsx +++ b/src/components/Company/AssignSignatory/CreateSignatory/CreateSignatory.tsx @@ -1,11 +1,11 @@ import { FormProvider, useForm } from 'react-hook-form' import { zodResolver } from '@hookform/resolvers/zod' import classNames from 'classnames' -import { RFCDate } from '@gusto/embedded-api-v-2025-11-15/types/rfcdate' -import { useSignatoriesListSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/signatoriesList' -import { useSignatoriesCreateMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/signatoriesCreate' -import { useSignatoriesUpdateMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/signatoriesUpdate' -import { useSignatoriesDeleteMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/signatoriesDelete' +import { RFCDate } from '@gusto/embedded-api-v-2026-02-01/types/rfcdate' +import { useSignatoriesListSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/signatoriesList' +import { useSignatoriesCreateMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/signatoriesCreate' +import { useSignatoriesUpdateMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/signatoriesUpdate' +import { useSignatoriesDeleteMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/signatoriesDelete' import { type CreateSignatoryInputs } from './CreateSignatoryForm' import { CreateSignatoryForm } from './CreateSignatoryForm' import { Actions } from './Actions' diff --git a/src/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.ts b/src/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.ts index 944cb8808..523567b27 100644 --- a/src/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.ts +++ b/src/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.ts @@ -1,4 +1,4 @@ -import { type Signatory } from '@gusto/embedded-api-v-2025-11-15/models/components/signatory' +import { type Signatory } from '@gusto/embedded-api-v-2026-02-01/models/components/signatory' import { createCompoundContext } from '@/components/Base' import type { RequireAtLeastOne } from '@/types/Helpers' diff --git a/src/components/Company/AssignSignatory/InviteSignatory/InviteSignatory.tsx b/src/components/Company/AssignSignatory/InviteSignatory/InviteSignatory.tsx index ce18f3f12..f1cca5757 100644 --- a/src/components/Company/AssignSignatory/InviteSignatory/InviteSignatory.tsx +++ b/src/components/Company/AssignSignatory/InviteSignatory/InviteSignatory.tsx @@ -1,9 +1,9 @@ import { FormProvider, useForm } from 'react-hook-form' import { zodResolver } from '@hookform/resolvers/zod' import classNames from 'classnames' -import { useSignatoriesListSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/signatoriesList' -import { useSignatoriesInviteMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/signatoriesInvite' -import { useSignatoriesDeleteMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/signatoriesDelete' +import { useSignatoriesListSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/signatoriesList' +import { useSignatoriesInviteMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/signatoriesInvite' +import { useSignatoriesDeleteMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/signatoriesDelete' import { type InviteSignatoryInputs, InviteSignatorySchema } from './InviteSignatoryForm' import { InviteSignatoryForm } from './InviteSignatoryForm' import { Actions } from './Actions' diff --git a/src/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.ts b/src/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.ts index 3fc1caf77..13dc05e23 100644 --- a/src/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.ts +++ b/src/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.ts @@ -1,4 +1,4 @@ -import { type Signatory } from '@gusto/embedded-api-v-2025-11-15/models/components/signatory' +import { type Signatory } from '@gusto/embedded-api-v-2026-02-01/models/components/signatory' import { createCompoundContext } from '@/components/Base' import type { RequireAtLeastOne } from '@/types/Helpers' diff --git a/src/components/Company/BankAccount/BankAccount.tsx b/src/components/Company/BankAccount/BankAccount.tsx index f7ff0f172..74a070684 100644 --- a/src/components/Company/BankAccount/BankAccount.tsx +++ b/src/components/Company/BankAccount/BankAccount.tsx @@ -1,6 +1,6 @@ import { createMachine } from 'robot3' import { useMemo } from 'react' -import { useBankAccountsGetSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/bankAccountsGet' +import { useBankAccountsGetSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/bankAccountsGet' import { BankAccountFormContextual, type BankAccountContextInterface, diff --git a/src/components/Company/BankAccount/BankAccountComponents.tsx b/src/components/Company/BankAccount/BankAccountComponents.tsx index 8c7d93dbf..dcc3afe71 100644 --- a/src/components/Company/BankAccount/BankAccountComponents.tsx +++ b/src/components/Company/BankAccount/BankAccountComponents.tsx @@ -1,4 +1,4 @@ -import type { CompanyBankAccount } from '@gusto/embedded-api-v-2025-11-15/models/components/companybankaccount' +import type { CompanyBankAccount } from '@gusto/embedded-api-v-2026-02-01/models/components/companybankaccount' import { BankAccountList } from './BankAccountList/BankAccountList' import { BankAccountForm } from './BankAccountForm/BankAccountForm' import { BankAccountVerify } from './BankAccountVerify/BankAccountVerify' diff --git a/src/components/Company/BankAccount/BankAccountForm/BankAccountForm.tsx b/src/components/Company/BankAccount/BankAccountForm/BankAccountForm.tsx index 5d538288a..1666c9fa2 100644 --- a/src/components/Company/BankAccount/BankAccountForm/BankAccountForm.tsx +++ b/src/components/Company/BankAccount/BankAccountForm/BankAccountForm.tsx @@ -1,4 +1,4 @@ -import { useBankAccountsCreateMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/bankAccountsCreate' +import { useBankAccountsCreateMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/bankAccountsCreate' import { FormProvider, useForm } from 'react-hook-form' import { zodResolver } from '@hookform/resolvers/zod' import { Head } from './Head' diff --git a/src/components/Company/BankAccount/BankAccountList/BankAccountList.tsx b/src/components/Company/BankAccount/BankAccountList/BankAccountList.tsx index c015be4cc..dc873c98c 100644 --- a/src/components/Company/BankAccount/BankAccountList/BankAccountList.tsx +++ b/src/components/Company/BankAccount/BankAccountList/BankAccountList.tsx @@ -1,4 +1,4 @@ -import { useBankAccountsGetSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/bankAccountsGet' +import { useBankAccountsGetSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/bankAccountsGet' import { Head } from './Head' import { AccountView } from './AccountView' import { BankAccountProvider } from './context' diff --git a/src/components/Company/BankAccount/BankAccountList/context.ts b/src/components/Company/BankAccount/BankAccountList/context.ts index c91c5b7ad..e40e1b51f 100644 --- a/src/components/Company/BankAccount/BankAccountList/context.ts +++ b/src/components/Company/BankAccount/BankAccountList/context.ts @@ -1,4 +1,4 @@ -import type { CompanyBankAccount } from '@gusto/embedded-api-v-2025-11-15/models/components/companybankaccount' +import type { CompanyBankAccount } from '@gusto/embedded-api-v-2026-02-01/models/components/companybankaccount' import { createCompoundContext } from '@/components/Base/createCompoundContext' type BankAccountListContextType = { bankAccount: CompanyBankAccount | null diff --git a/src/components/Company/BankAccount/BankAccountVerify/BankAccountVerify.tsx b/src/components/Company/BankAccount/BankAccountVerify/BankAccountVerify.tsx index 8014c58b5..664dadbf8 100644 --- a/src/components/Company/BankAccount/BankAccountVerify/BankAccountVerify.tsx +++ b/src/components/Company/BankAccount/BankAccountVerify/BankAccountVerify.tsx @@ -1,6 +1,6 @@ import { FormProvider, useForm } from 'react-hook-form' import { zodResolver } from '@hookform/resolvers/zod' -import { useBankAccountsVerifyMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/bankAccountsVerify' +import { useBankAccountsVerifyMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/bankAccountsVerify' import { Head } from './Head' import { BankAccountVerifyProvider } from './context' import type { BankAccountVerifyInputs } from './Form' diff --git a/src/components/Company/DocumentSigner/DocumentList/DocumentList.tsx b/src/components/Company/DocumentSigner/DocumentList/DocumentList.tsx index c09ca5b4a..49f1951c4 100644 --- a/src/components/Company/DocumentSigner/DocumentList/DocumentList.tsx +++ b/src/components/Company/DocumentSigner/DocumentList/DocumentList.tsx @@ -1,6 +1,6 @@ -import { type Form as FormSchema } from '@gusto/embedded-api-v-2025-11-15/models/components/form' -import { useCompanyFormsGetAllSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/companyFormsGetAll' -import { useSignatoriesListSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/signatoriesList' +import { type Form as FormSchema } from '@gusto/embedded-api-v-2026-02-01/models/components/form' +import { useCompanyFormsGetAllSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/companyFormsGetAll' +import { useSignatoriesListSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/signatoriesList' import { Head } from './Head' import { List } from './List' import { ManageSignatories } from './ManageSignatories' diff --git a/src/components/Company/DocumentSigner/DocumentList/useDocumentList.ts b/src/components/Company/DocumentSigner/DocumentList/useDocumentList.ts index cfa63cf02..f41c0f48a 100644 --- a/src/components/Company/DocumentSigner/DocumentList/useDocumentList.ts +++ b/src/components/Company/DocumentSigner/DocumentList/useDocumentList.ts @@ -1,5 +1,5 @@ -import { type Signatory } from '@gusto/embedded-api-v-2025-11-15/models/components/signatory' -import { type Form as FormSchema } from '@gusto/embedded-api-v-2025-11-15/models/components/form' +import { type Signatory } from '@gusto/embedded-api-v-2026-02-01/models/components/signatory' +import { type Form as FormSchema } from '@gusto/embedded-api-v-2026-02-01/models/components/form' import { createCompoundContext } from '@/components/Base' type DocumentListContextType = { diff --git a/src/components/Company/DocumentSigner/DocumentSigner.tsx b/src/components/Company/DocumentSigner/DocumentSigner.tsx index f5a11cdf4..49c157dd6 100644 --- a/src/components/Company/DocumentSigner/DocumentSigner.tsx +++ b/src/components/Company/DocumentSigner/DocumentSigner.tsx @@ -1,5 +1,5 @@ import { createMachine } from 'robot3' -import { useSignatoriesListSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/signatoriesList' +import { useSignatoriesListSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/signatoriesList' import { useMemo } from 'react' import { AssignSignatory, DocumentList } from './documentSignerStateMachine' import { documentSignerMachine } from './stateMachine' diff --git a/src/components/Company/DocumentSigner/documentSignerStateMachine.tsx b/src/components/Company/DocumentSigner/documentSignerStateMachine.tsx index a98cba6ca..42a33bbb2 100644 --- a/src/components/Company/DocumentSigner/documentSignerStateMachine.tsx +++ b/src/components/Company/DocumentSigner/documentSignerStateMachine.tsx @@ -1,5 +1,5 @@ -import type { Form } from '@gusto/embedded-api-v-2025-11-15/models/components/form' -import type { Signatory } from '@gusto/embedded-api-v-2025-11-15/models/components/signatory' +import type { Form } from '@gusto/embedded-api-v-2026-02-01/models/components/form' +import type { Signatory } from '@gusto/embedded-api-v-2026-02-01/models/components/signatory' import { AssignSignatory as BlockAssignSignatory } from '../AssignSignatory' import { DocumentList as BlockDocumentList } from './DocumentList' import { SignatureForm as BlockSignatureForm } from './SignatureForm' diff --git a/src/components/Company/DocumentSigner/shared/useSignCompanyForm/useSignCompanyForm.tsx b/src/components/Company/DocumentSigner/shared/useSignCompanyForm/useSignCompanyForm.tsx index 97b60ad31..028f147d7 100644 --- a/src/components/Company/DocumentSigner/shared/useSignCompanyForm/useSignCompanyForm.tsx +++ b/src/components/Company/DocumentSigner/shared/useSignCompanyForm/useSignCompanyForm.tsx @@ -2,10 +2,10 @@ import { useMemo } from 'react' import { useForm } from 'react-hook-form' import type { UseFormProps } from 'react-hook-form' import { zodResolver } from '@hookform/resolvers/zod' -import type { Form } from '@gusto/embedded-api-v-2025-11-15/models/components/form' -import { useCompanyFormsGet } from '@gusto/embedded-api-v-2025-11-15/react-query/companyFormsGet' -import { useCompanyFormsGetPdf } from '@gusto/embedded-api-v-2025-11-15/react-query/companyFormsGetPdf' -import { useCompanyFormsSignMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/companyFormsSign' +import type { Form } from '@gusto/embedded-api-v-2026-02-01/models/components/form' +import { useCompanyFormsGet } from '@gusto/embedded-api-v-2026-02-01/react-query/companyFormsGet' +import { useCompanyFormsGetPdf } from '@gusto/embedded-api-v-2026-02-01/react-query/companyFormsGetPdf' +import { useCompanyFormsSignMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/companyFormsSign' import { createSignCompanyFormSchema, type SignCompanyFormOptionalFieldsToRequire, diff --git a/src/components/Company/FederalTaxes/FederalTaxes.tsx b/src/components/Company/FederalTaxes/FederalTaxes.tsx index 91fe2ccc7..87efef895 100644 --- a/src/components/Company/FederalTaxes/FederalTaxes.tsx +++ b/src/components/Company/FederalTaxes/FederalTaxes.tsx @@ -1,9 +1,9 @@ -import { useFederalTaxDetailsUpdateMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/federalTaxDetailsUpdate' -import { useFederalTaxDetailsGetSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/federalTaxDetailsGet' +import { useFederalTaxDetailsUpdateMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/federalTaxDetailsUpdate' +import { useFederalTaxDetailsGetSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/federalTaxDetailsGet' import type { FilingForm, TaxPayerType, -} from '@gusto/embedded-api-v-2025-11-15/models/components/federaltaxdetails' +} from '@gusto/embedded-api-v-2026-02-01/models/components/federaltaxdetails' import { FormProvider, useForm } from 'react-hook-form' import { zodResolver } from '@hookform/resolvers/zod' import { diff --git a/src/components/Company/FederalTaxes/Form.tsx b/src/components/Company/FederalTaxes/Form.tsx index a4d9fcfcc..6bed7c104 100644 --- a/src/components/Company/FederalTaxes/Form.tsx +++ b/src/components/Company/FederalTaxes/Form.tsx @@ -3,7 +3,7 @@ import { useTranslation, Trans } from 'react-i18next' import { TaxPayerType, FilingForm, -} from '@gusto/embedded-api-v-2025-11-15/models/components/federaltaxdetails' +} from '@gusto/embedded-api-v-2026-02-01/models/components/federaltaxdetails' import { useFederalTaxes } from './useFederalTaxes' import { TextInputField, SelectField, Flex } from '@/components/Common' import { usePlaceholderEin, normalizeEin } from '@/helpers/federalEin' diff --git a/src/components/Company/FederalTaxes/useFederalTaxes.ts b/src/components/Company/FederalTaxes/useFederalTaxes.ts index ab6d8f185..e65baf32c 100644 --- a/src/components/Company/FederalTaxes/useFederalTaxes.ts +++ b/src/components/Company/FederalTaxes/useFederalTaxes.ts @@ -1,9 +1,9 @@ import { z } from 'zod' -import type { FederalTaxDetails } from '@gusto/embedded-api-v-2025-11-15/models/components/federaltaxdetails' +import type { FederalTaxDetails } from '@gusto/embedded-api-v-2026-02-01/models/components/federaltaxdetails' import { FilingForm, TaxPayerType, -} from '@gusto/embedded-api-v-2025-11-15/models/components/federaltaxdetails' +} from '@gusto/embedded-api-v-2026-02-01/models/components/federaltaxdetails' import { createCompoundContext } from '@/components/Base' import type { RequireAtLeastOne } from '@/types/Helpers' diff --git a/src/components/Company/Industry/Industry.tsx b/src/components/Company/Industry/Industry.tsx index ee9596f2b..e5f8dc5fa 100644 --- a/src/components/Company/Industry/Industry.tsx +++ b/src/components/Company/Industry/Industry.tsx @@ -1,6 +1,6 @@ import { useCallback } from 'react' -import { useIndustrySelectionGetSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/industrySelectionGet' -import { useIndustrySelectionUpdateMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/industrySelectionUpdate' +import { useIndustrySelectionGetSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/industrySelectionGet' +import { useIndustrySelectionUpdateMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/industrySelectionUpdate' import type { IndustryFormFields } from './Edit' import { IndustryApiStateProvider } from './Context' import { IndustrySelect } from './IndustrySelect' diff --git a/src/components/Company/Locations/LocationForm/LocationForm.tsx b/src/components/Company/Locations/LocationForm/LocationForm.tsx index ad5857f9e..48e09a066 100644 --- a/src/components/Company/Locations/LocationForm/LocationForm.tsx +++ b/src/components/Company/Locations/LocationForm/LocationForm.tsx @@ -1,9 +1,9 @@ import { FormProvider, useForm } from 'react-hook-form' import { zodResolver } from '@hookform/resolvers/zod' -import { useLocationsUpdateMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/locationsUpdate' -import { useLocationsRetrieveSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/locationsRetrieve' -import { useLocationsCreateMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/locationsCreate' -import { type Location } from '@gusto/embedded-api-v-2025-11-15/models/components/location' +import { useLocationsUpdateMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/locationsUpdate' +import { useLocationsRetrieveSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/locationsRetrieve' +import { useLocationsCreateMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/locationsCreate' +import { type Location } from '@gusto/embedded-api-v-2026-02-01/models/components/location' import { useQueryClient } from '@tanstack/react-query' import { Head } from './Head' import type { LocationFormInputs } from './Form' @@ -98,7 +98,7 @@ function Root({ // and the form seeds with a stale addressType on first open. const refreshLocationsCache = () => queryClient.invalidateQueries({ - queryKey: ['@gusto/embedded-api-v-2025-11-15', 'Locations'], + queryKey: ['@gusto/embedded-api-v-2026-02-01', 'Locations'], refetchType: 'all', }) diff --git a/src/components/Company/Locations/LocationsList/LocationsList.tsx b/src/components/Company/Locations/LocationsList/LocationsList.tsx index 95fe6887c..700c0b4c7 100644 --- a/src/components/Company/Locations/LocationsList/LocationsList.tsx +++ b/src/components/Company/Locations/LocationsList/LocationsList.tsx @@ -1,4 +1,4 @@ -import { useLocationsGetSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/locationsGet' +import { useLocationsGetSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/locationsGet' import { Head } from './Head' import { List } from './List' import { Actions } from './Actions' diff --git a/src/components/Company/Locations/LocationsList/useLocationsList.ts b/src/components/Company/Locations/LocationsList/useLocationsList.ts index 5df9e6031..cd266c99b 100644 --- a/src/components/Company/Locations/LocationsList/useLocationsList.ts +++ b/src/components/Company/Locations/LocationsList/useLocationsList.ts @@ -1,4 +1,4 @@ -import { type Location } from '@gusto/embedded-api-v-2025-11-15/models/components/location' +import { type Location } from '@gusto/embedded-api-v-2026-02-01/models/components/location' import { createCompoundContext } from '@/components/Base' import type { PaginationItemsPerPage } from '@/components/Common/PaginationControl/PaginationControlTypes' diff --git a/src/components/Company/OnboardingOverview/OnboardingOverview.tsx b/src/components/Company/OnboardingOverview/OnboardingOverview.tsx index f05acdd29..b483f8de8 100644 --- a/src/components/Company/OnboardingOverview/OnboardingOverview.tsx +++ b/src/components/Company/OnboardingOverview/OnboardingOverview.tsx @@ -1,4 +1,4 @@ -import { useCompaniesGetOnboardingStatusSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/companiesGetOnboardingStatus' +import { useCompaniesGetOnboardingStatusSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/companiesGetOnboardingStatus' import { OnboardingOverviewProvider } from './context' import { MissingRequirements } from './MissingRequirements' import { Completed } from './Completed' diff --git a/src/components/Company/OnboardingOverview/context.ts b/src/components/Company/OnboardingOverview/context.ts index 35e217d50..3c49942be 100644 --- a/src/components/Company/OnboardingOverview/context.ts +++ b/src/components/Company/OnboardingOverview/context.ts @@ -1,4 +1,4 @@ -import type { OnboardingStep } from '@gusto/embedded-api-v-2025-11-15/models/components/companyonboardingstatus' +import type { OnboardingStep } from '@gusto/embedded-api-v-2026-02-01/models/components/companyonboardingstatus' import { createCompoundContext } from '@/components/Base' type OnboardingOverviewContextType = { diff --git a/src/components/Company/PaySchedule/PaySchedule.tsx b/src/components/Company/PaySchedule/PaySchedule.tsx index 73589650b..84e3e1472 100644 --- a/src/components/Company/PaySchedule/PaySchedule.tsx +++ b/src/components/Company/PaySchedule/PaySchedule.tsx @@ -1,6 +1,6 @@ import { useMemo } from 'react' import { createMachine } from 'robot3' -import { usePaySchedulesGetAllSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/paySchedulesGetAll' +import { usePaySchedulesGetAllSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/paySchedulesGetAll' import { payScheduleStateMachine } from './payScheduleStateMachine' import type { PayScheduleContextInterface } from './PayScheduleComponents' import { PayScheduleFormContextual, PayScheduleListContextual } from './PayScheduleComponents' diff --git a/src/components/Company/PaySchedule/PayScheduleList.tsx b/src/components/Company/PaySchedule/PayScheduleList.tsx index 351424e21..0aae12db5 100644 --- a/src/components/Company/PaySchedule/PayScheduleList.tsx +++ b/src/components/Company/PaySchedule/PayScheduleList.tsx @@ -1,5 +1,5 @@ import { Trans, useTranslation } from 'react-i18next' -import { usePaySchedulesGetAllSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/paySchedulesGetAll' +import { usePaySchedulesGetAllSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/paySchedulesGetAll' import styles from './PayScheduleList.module.scss' import { useDataView, DataView, Flex, VisuallyHidden, ActionsLayout } from '@/components/Common' import PencilSvg from '@/assets/icons/pencil.svg?react' diff --git a/src/components/Company/PaySchedule/shared/usePayScheduleForm/usePayScheduleForm.tsx b/src/components/Company/PaySchedule/shared/usePayScheduleForm/usePayScheduleForm.tsx index 05c8b4e57..c3eb769e6 100644 --- a/src/components/Company/PaySchedule/shared/usePayScheduleForm/usePayScheduleForm.tsx +++ b/src/components/Company/PaySchedule/shared/usePayScheduleForm/usePayScheduleForm.tsx @@ -2,14 +2,14 @@ import { useEffect, useMemo } from 'react' import { useForm, useWatch } from 'react-hook-form' import type { UseFormProps } from 'react-hook-form' import { zodResolver } from '@hookform/resolvers/zod' -import type { PayScheduleShow } from '@gusto/embedded-api-v-2025-11-15/models/components/payscheduleshow' -import type { PaySchedulePreviewPayPeriod } from '@gusto/embedded-api-v-2025-11-15/models/components/payschedulepreviewpayperiod' -import { usePaySchedulesGet } from '@gusto/embedded-api-v-2025-11-15/react-query/paySchedulesGet' -import { usePaySchedulesGetPreview } from '@gusto/embedded-api-v-2025-11-15/react-query/paySchedulesGetPreview' -import { usePaySchedulesCreateMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/paySchedulesCreate' -import { usePaySchedulesUpdateMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/paySchedulesUpdate' -import { usePaymentConfigsGet } from '@gusto/embedded-api-v-2025-11-15/react-query/paymentConfigsGet' -import { RFCDate } from '@gusto/embedded-api-v-2025-11-15/types/rfcdate' +import type { PayScheduleShow } from '@gusto/embedded-api-v-2026-02-01/models/components/payscheduleshow' +import type { PaySchedulePreviewPayPeriod } from '@gusto/embedded-api-v-2026-02-01/models/components/payschedulepreviewpayperiod' +import { usePaySchedulesGet } from '@gusto/embedded-api-v-2026-02-01/react-query/paySchedulesGet' +import { usePaySchedulesGetPreview } from '@gusto/embedded-api-v-2026-02-01/react-query/paySchedulesGetPreview' +import { usePaySchedulesCreateMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/paySchedulesCreate' +import { usePaySchedulesUpdateMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/paySchedulesUpdate' +import { usePaymentConfigsGet } from '@gusto/embedded-api-v-2026-02-01/react-query/paymentConfigsGet' +import { RFCDate } from '@gusto/embedded-api-v-2026-02-01/types/rfcdate' import { createPayScheduleSchema, type PayScheduleOptionalFieldsToRequire, diff --git a/src/components/Company/StateTaxes/StateTaxesForm/StateTaxesForm.tsx b/src/components/Company/StateTaxes/StateTaxesForm/StateTaxesForm.tsx index 31d652f47..15aded754 100644 --- a/src/components/Company/StateTaxes/StateTaxesForm/StateTaxesForm.tsx +++ b/src/components/Company/StateTaxes/StateTaxesForm/StateTaxesForm.tsx @@ -1,7 +1,7 @@ import { FormProvider, useForm } from 'react-hook-form' import { zodResolver } from '@hookform/resolvers/zod' -import { useTaxRequirementsUpdateStateMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/taxRequirementsUpdateState' -import { useTaxRequirementsGetSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/taxRequirementsGet' +import { useTaxRequirementsUpdateStateMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/taxRequirementsUpdateState' +import { useTaxRequirementsGetSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/taxRequirementsGet' import { z } from 'zod' import { useMemo } from 'react' import { useTranslation } from 'react-i18next' diff --git a/src/components/Company/StateTaxes/StateTaxesForm/applicableIf.test.ts b/src/components/Company/StateTaxes/StateTaxesForm/applicableIf.test.ts index 0cda21439..3fc6608f1 100644 --- a/src/components/Company/StateTaxes/StateTaxesForm/applicableIf.test.ts +++ b/src/components/Company/StateTaxes/StateTaxesForm/applicableIf.test.ts @@ -1,6 +1,6 @@ import { describe, expect, it } from 'vitest' import { isRequirementApplicable, type StateTaxesFormValues } from './applicableIf' -import type { TaxRequirement } from '@gusto/embedded-api-v-2025-11-15/models/components/taxrequirement' +import type { TaxRequirement } from '@gusto/embedded-api-v-2026-02-01/models/components/taxrequirement' const req = (overrides: Partial = {}): TaxRequirement => ({ key: 'rate', diff --git a/src/components/Company/StateTaxes/StateTaxesForm/applicableIf.ts b/src/components/Company/StateTaxes/StateTaxesForm/applicableIf.ts index 0a01d6e15..89bff94b8 100644 --- a/src/components/Company/StateTaxes/StateTaxesForm/applicableIf.ts +++ b/src/components/Company/StateTaxes/StateTaxesForm/applicableIf.ts @@ -1,4 +1,4 @@ -import type { TaxRequirement } from '@gusto/embedded-api-v-2025-11-15/models/components/taxrequirement' +import type { TaxRequirement } from '@gusto/embedded-api-v-2026-02-01/models/components/taxrequirement' import { toRhfKey } from './rhfKey' /** diff --git a/src/components/Company/StateTaxes/StateTaxesForm/context.ts b/src/components/Company/StateTaxes/StateTaxesForm/context.ts index bed344484..70c13f27e 100644 --- a/src/components/Company/StateTaxes/StateTaxesForm/context.ts +++ b/src/components/Company/StateTaxes/StateTaxesForm/context.ts @@ -1,4 +1,4 @@ -import type { TaxRequirementsState } from '@gusto/embedded-api-v-2025-11-15/models/components/taxrequirementsstate' +import type { TaxRequirementsState } from '@gusto/embedded-api-v-2026-02-01/models/components/taxrequirementsstate' import { createCompoundContext } from '@/components/Base' interface StateTaxFormContext { diff --git a/src/components/Company/StateTaxes/StateTaxesList/List.tsx b/src/components/Company/StateTaxes/StateTaxesList/List.tsx index bc0c249cc..016fa7499 100644 --- a/src/components/Company/StateTaxes/StateTaxesList/List.tsx +++ b/src/components/Company/StateTaxes/StateTaxesList/List.tsx @@ -2,7 +2,7 @@ import { useTranslation } from 'react-i18next' import { SetupStatus, type TaxRequirementStatesList, -} from '@gusto/embedded-api-v-2025-11-15/models/components/taxrequirementstateslist' +} from '@gusto/embedded-api-v-2026-02-01/models/components/taxrequirementstateslist' import { useStateTaxesList } from './context' import { DataView, EmptyData, Flex, useDataView } from '@/components/Common' import type { STATES_ABBR } from '@/shared/constants' diff --git a/src/components/Company/StateTaxes/StateTaxesList/StateTaxesList.tsx b/src/components/Company/StateTaxes/StateTaxesList/StateTaxesList.tsx index 2ed16fc01..a471dcd5a 100644 --- a/src/components/Company/StateTaxes/StateTaxesList/StateTaxesList.tsx +++ b/src/components/Company/StateTaxes/StateTaxesList/StateTaxesList.tsx @@ -1,4 +1,4 @@ -import { useTaxRequirementsGetAllSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/taxRequirementsGetAll' +import { useTaxRequirementsGetAllSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/taxRequirementsGetAll' import { Head } from './Head' import { StateTaxesListProvider } from './context' import { Actions } from './Actions' diff --git a/src/components/Company/StateTaxes/StateTaxesList/context.ts b/src/components/Company/StateTaxes/StateTaxesList/context.ts index e9f2cfdb2..31be2363a 100644 --- a/src/components/Company/StateTaxes/StateTaxesList/context.ts +++ b/src/components/Company/StateTaxes/StateTaxesList/context.ts @@ -1,4 +1,4 @@ -import type { TaxRequirementStatesList } from '@gusto/embedded-api-v-2025-11-15/models/components/taxrequirementstateslist' +import type { TaxRequirementStatesList } from '@gusto/embedded-api-v-2026-02-01/models/components/taxrequirementstateslist' import { createCompoundContext } from '@/components/Base' type StateTaxesListContextType = { diff --git a/src/components/Contractor/Address/shared/useContractorAddressForm/useContractorAddressForm.tsx b/src/components/Contractor/Address/shared/useContractorAddressForm/useContractorAddressForm.tsx index ca71e6152..0d70b6d29 100644 --- a/src/components/Contractor/Address/shared/useContractorAddressForm/useContractorAddressForm.tsx +++ b/src/components/Contractor/Address/shared/useContractorAddressForm/useContractorAddressForm.tsx @@ -5,11 +5,11 @@ import { zodResolver } from '@hookform/resolvers/zod' import type { Contractor, ContractorType, -} from '@gusto/embedded-api-v-2025-11-15/models/components/contractor' -import type { ContractorAddress } from '@gusto/embedded-api-v-2025-11-15/models/components/contractoraddress' -import { useContractorsGet } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorsGet' -import { useContractorsGetAddress } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorsGetAddress' -import { useContractorsUpdateAddressMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorsUpdateAddress' +} from '@gusto/embedded-api-v-2026-02-01/models/components/contractor' +import type { ContractorAddress } from '@gusto/embedded-api-v-2026-02-01/models/components/contractoraddress' +import { useContractorsGet } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorsGet' +import { useContractorsGetAddress } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorsGetAddress' +import { useContractorsUpdateAddressMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorsUpdateAddress' import { createContractorAddressSchema, type ContractorAddressOptionalFieldsToRequire, diff --git a/src/components/Contractor/ContractorList/index.tsx b/src/components/Contractor/ContractorList/index.tsx index 987a83514..c4693341c 100644 --- a/src/components/Contractor/ContractorList/index.tsx +++ b/src/components/Contractor/ContractorList/index.tsx @@ -1,6 +1,6 @@ -import { type Contractor } from '@gusto/embedded-api-v-2025-11-15/models/components/contractor' +import { type Contractor } from '@gusto/embedded-api-v-2026-02-01/models/components/contractor' import { useTranslation } from 'react-i18next' -import { useContractorsDeleteMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorsDelete' +import { useContractorsDeleteMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorsDelete' import { useContractors } from './useContractorList' import { ActionsLayout, DataView, EmptyData, Flex, useDataView } from '@/components/Common' import { firstLastName } from '@/helpers/formattedStrings' diff --git a/src/components/Contractor/ContractorList/useContractorList.ts b/src/components/Contractor/ContractorList/useContractorList.ts index 01fdcc53c..3fc33d795 100644 --- a/src/components/Contractor/ContractorList/useContractorList.ts +++ b/src/components/Contractor/ContractorList/useContractorList.ts @@ -1,4 +1,4 @@ -import { useContractorsListSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorsList' +import { useContractorsListSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorsList' import { usePagination } from '@/hooks/usePagination/usePagination' /** @internal */ diff --git a/src/components/Contractor/Documents/DocumentsList/DocumentsList.tsx b/src/components/Contractor/Documents/DocumentsList/DocumentsList.tsx index 2f1e2b542..95d05e04d 100644 --- a/src/components/Contractor/Documents/DocumentsList/DocumentsList.tsx +++ b/src/components/Contractor/Documents/DocumentsList/DocumentsList.tsx @@ -1,5 +1,5 @@ import { useTranslation } from 'react-i18next' -import type { Document } from '@gusto/embedded-api-v-2025-11-15/models/components/document' +import type { Document } from '@gusto/embedded-api-v-2026-02-01/models/components/document' import { useContractorDocumentsList } from './useContractorDocumentsList' import { BaseComponent, type BaseComponentInterface } from '@/components/Base/Base' import { BaseLayout } from '@/components/Base' diff --git a/src/components/Contractor/Documents/DocumentsList/useContractorDocumentsList/useContractorDocumentsList.tsx b/src/components/Contractor/Documents/DocumentsList/useContractorDocumentsList/useContractorDocumentsList.tsx index 40364be6b..a318668b5 100644 --- a/src/components/Contractor/Documents/DocumentsList/useContractorDocumentsList/useContractorDocumentsList.tsx +++ b/src/components/Contractor/Documents/DocumentsList/useContractorDocumentsList/useContractorDocumentsList.tsx @@ -1,5 +1,5 @@ -import { useContractorDocumentsGetAll } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorDocumentsGetAll' -import type { Document } from '@gusto/embedded-api-v-2025-11-15/models/components/document' +import { useContractorDocumentsGetAll } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorDocumentsGetAll' +import type { Document } from '@gusto/embedded-api-v-2026-02-01/models/components/document' import { composeErrorHandler } from '@/partner-hook-utils/composeErrorHandler' import type { BaseHookReady, HookLoadingResult } from '@/partner-hook-utils/types' diff --git a/src/components/Contractor/Landing/Landing.tsx b/src/components/Contractor/Landing/Landing.tsx index 405338cd1..986c6430b 100644 --- a/src/components/Contractor/Landing/Landing.tsx +++ b/src/components/Contractor/Landing/Landing.tsx @@ -1,6 +1,6 @@ import { useTranslation } from 'react-i18next' -import { useContractorsGetSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorsGet' -import { useCompaniesGetSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/companiesGet' +import { useContractorsGetSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorsGet' +import { useCompaniesGetSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/companiesGet' import DOMPurify from 'dompurify' import { useMemo } from 'react' import { BaseComponent, useBase, type BaseComponentInterface } from '@/components/Base' diff --git a/src/components/Contractor/NewHireReport/NewHireReport.tsx b/src/components/Contractor/NewHireReport/NewHireReport.tsx index 255ad9ba7..7df251840 100644 --- a/src/components/Contractor/NewHireReport/NewHireReport.tsx +++ b/src/components/Contractor/NewHireReport/NewHireReport.tsx @@ -4,8 +4,8 @@ import { FormProvider, useForm, useWatch } from 'react-hook-form' import { useMemo } from 'react' import z from 'zod' import { zodResolver } from '@hookform/resolvers/zod' -import { useContractorsGetSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorsGet' -import { useContractorsUpdateMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorsUpdate' +import { useContractorsGetSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorsGet' +import { useContractorsUpdateMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorsUpdate' import type { NewHireReportProps } from './types' import { useI18n } from '@/i18n' import { BaseComponent, useBase } from '@/components/Base' diff --git a/src/components/Contractor/PaymentMethod/shared/useContractorBankAccountForm/useContractorBankAccountForm.tsx b/src/components/Contractor/PaymentMethod/shared/useContractorBankAccountForm/useContractorBankAccountForm.tsx index 60aaa7409..a8d2fa44a 100644 --- a/src/components/Contractor/PaymentMethod/shared/useContractorBankAccountForm/useContractorBankAccountForm.tsx +++ b/src/components/Contractor/PaymentMethod/shared/useContractorBankAccountForm/useContractorBankAccountForm.tsx @@ -3,9 +3,9 @@ import { useMemo } from 'react' import { useForm } from 'react-hook-form' import type { UseFormProps } from 'react-hook-form' import { zodResolver } from '@hookform/resolvers/zod' -import type { ContractorBankAccount } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorbankaccount' -import { useContractorPaymentMethodGetBankAccounts } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorPaymentMethodGetBankAccounts' -import { useContractorPaymentMethodsCreateBankAccountMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorPaymentMethodsCreateBankAccount' +import type { ContractorBankAccount } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorbankaccount' +import { useContractorPaymentMethodGetBankAccounts } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorPaymentMethodGetBankAccounts' +import { useContractorPaymentMethodsCreateBankAccountMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorPaymentMethodsCreateBankAccount' import { ACCOUNT_TYPES, createContractorBankAccountSchema, diff --git a/src/components/Contractor/PaymentMethod/shared/useContractorPaymentMethodForm/useContractorPaymentMethodForm.tsx b/src/components/Contractor/PaymentMethod/shared/useContractorPaymentMethodForm/useContractorPaymentMethodForm.tsx index a96bf0405..51692d840 100644 --- a/src/components/Contractor/PaymentMethod/shared/useContractorPaymentMethodForm/useContractorPaymentMethodForm.tsx +++ b/src/components/Contractor/PaymentMethod/shared/useContractorPaymentMethodForm/useContractorPaymentMethodForm.tsx @@ -3,9 +3,9 @@ import { useMemo } from 'react' import { useForm, useWatch } from 'react-hook-form' import type { UseFormProps } from 'react-hook-form' import { zodResolver } from '@hookform/resolvers/zod' -import type { ContractorPaymentMethod } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentmethod' -import { useContractorPaymentMethodGet } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorPaymentMethodGet' -import { useContractorPaymentMethodUpdateMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorPaymentMethodUpdate' +import type { ContractorPaymentMethod } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentmethod' +import { useContractorPaymentMethodGet } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorPaymentMethodGet' +import { useContractorPaymentMethodUpdateMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorPaymentMethodUpdate' import { createContractorPaymentMethodSchema, type ContractorPaymentMethodFormData, diff --git a/src/components/Contractor/Payments/CreatePayment/CreatePayment.tsx b/src/components/Contractor/Payments/CreatePayment/CreatePayment.tsx index 42d01c970..bd40db5db 100644 --- a/src/components/Contractor/Payments/CreatePayment/CreatePayment.tsx +++ b/src/components/Contractor/Payments/CreatePayment/CreatePayment.tsx @@ -1,19 +1,19 @@ -import { useContractorsListSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorsList' -import { useContractorPaymentGroupsCreateMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorPaymentGroupsCreate' +import { useContractorsListSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorsList' +import { useContractorPaymentGroupsCreateMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorPaymentGroupsCreate' import type { ContractorPayments, PostV1CompaniesCompanyIdContractorPaymentGroupsRequestBody, SubmissionBlockers, -} from '@gusto/embedded-api-v-2025-11-15/models/operations/postv1companiescompanyidcontractorpaymentgroups' -import { useContractorPaymentGroupsPreviewMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorPaymentGroupsPreview' +} from '@gusto/embedded-api-v-2026-02-01/models/operations/postv1companiescompanyidcontractorpaymentgroups' +import { useContractorPaymentGroupsPreviewMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorPaymentGroupsPreview' import { useEffect, useMemo, useRef, useState } from 'react' import DOMPurify from 'dompurify' -import { RFCDate } from '@gusto/embedded-api-v-2025-11-15/types/rfcdate' +import { RFCDate } from '@gusto/embedded-api-v-2026-02-01/types/rfcdate' import { useForm } from 'react-hook-form' import { zodResolver } from '@hookform/resolvers/zod' import { useTranslation } from 'react-i18next' -import type { ContractorPaymentGroupPreview } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentgrouppreview' -import { useBankAccountsGet } from '@gusto/embedded-api-v-2025-11-15/react-query/bankAccountsGet' +import type { ContractorPaymentGroupPreview } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentgrouppreview' +import { useBankAccountsGet } from '@gusto/embedded-api-v-2026-02-01/react-query/bankAccountsGet' import type { InternalAlert } from '../types' import { CreatePaymentPresentation } from './CreatePaymentPresentation' import { EditContractorPaymentPresentation } from './EditContractorPaymentPresentation' diff --git a/src/components/Contractor/Payments/CreatePayment/CreatePaymentPresentation.stories.tsx b/src/components/Contractor/Payments/CreatePayment/CreatePaymentPresentation.stories.tsx index e89b64618..79dc47be9 100644 --- a/src/components/Contractor/Payments/CreatePayment/CreatePaymentPresentation.stories.tsx +++ b/src/components/Contractor/Payments/CreatePayment/CreatePaymentPresentation.stories.tsx @@ -1,7 +1,7 @@ import { useState } from 'react' import { fn } from 'storybook/test' -import type { Contractor } from '@gusto/embedded-api-v-2025-11-15/models/components/contractor' -import type { ContractorPayments } from '@gusto/embedded-api-v-2025-11-15/models/operations/postv1companiescompanyidcontractorpaymentgroups' +import type { Contractor } from '@gusto/embedded-api-v-2026-02-01/models/components/contractor' +import type { ContractorPayments } from '@gusto/embedded-api-v-2026-02-01/models/operations/postv1companiescompanyidcontractorpaymentgroups' import { CreatePaymentPresentation } from './CreatePaymentPresentation' import { GustoTestProvider } from '@/test/GustoTestApiProvider' diff --git a/src/components/Contractor/Payments/CreatePayment/CreatePaymentPresentation.tsx b/src/components/Contractor/Payments/CreatePayment/CreatePaymentPresentation.tsx index 6b883701a..8ba46d527 100644 --- a/src/components/Contractor/Payments/CreatePayment/CreatePaymentPresentation.tsx +++ b/src/components/Contractor/Payments/CreatePayment/CreatePaymentPresentation.tsx @@ -1,6 +1,6 @@ import { useTranslation } from 'react-i18next' -import type { Contractor } from '@gusto/embedded-api-v-2025-11-15/models/components/contractor' -import type { ContractorPayments } from '@gusto/embedded-api-v-2025-11-15/models/operations/postv1companiescompanyidcontractorpaymentgroups' +import type { Contractor } from '@gusto/embedded-api-v-2026-02-01/models/components/contractor' +import type { ContractorPayments } from '@gusto/embedded-api-v-2026-02-01/models/operations/postv1companiescompanyidcontractorpaymentgroups' import { useMemo } from 'react' import type { InternalAlert } from '../types' import { getContractorDisplayName } from './helpers' diff --git a/src/components/Contractor/Payments/CreatePayment/FastAchSubmissionBlockerBanner.tsx b/src/components/Contractor/Payments/CreatePayment/FastAchSubmissionBlockerBanner.tsx index 9cc3b750e..cae0f9c9d 100644 --- a/src/components/Contractor/Payments/CreatePayment/FastAchSubmissionBlockerBanner.tsx +++ b/src/components/Contractor/Payments/CreatePayment/FastAchSubmissionBlockerBanner.tsx @@ -1,6 +1,6 @@ import { useTranslation } from 'react-i18next' -import type { PayrollSubmissionBlockerType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollsubmissionblockertype' -import type { PaymentSpeed } from '@gusto/embedded-api-v-2025-11-15/models/components/paymentconfigs' +import type { PayrollSubmissionBlockerType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollsubmissionblockertype' +import type { PaymentSpeed } from '@gusto/embedded-api-v-2026-02-01/models/components/paymentconfigs' import { Flex } from '@/components/Common' import { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext' import { useDateFormatter } from '@/hooks/useDateFormatter' diff --git a/src/components/Contractor/Payments/CreatePayment/GenericBlocker.tsx b/src/components/Contractor/Payments/CreatePayment/GenericBlocker.tsx index 0464148b6..90904c1c1 100644 --- a/src/components/Contractor/Payments/CreatePayment/GenericBlocker.tsx +++ b/src/components/Contractor/Payments/CreatePayment/GenericBlocker.tsx @@ -1,4 +1,4 @@ -import type { PayrollSubmissionBlockerType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollsubmissionblockertype' +import type { PayrollSubmissionBlockerType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollsubmissionblockertype' import { useTranslation } from 'react-i18next' import { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext' diff --git a/src/components/Contractor/Payments/CreatePayment/PreviewPresentation.tsx b/src/components/Contractor/Payments/CreatePayment/PreviewPresentation.tsx index 137c3104f..0b5e73227 100644 --- a/src/components/Contractor/Payments/CreatePayment/PreviewPresentation.tsx +++ b/src/components/Contractor/Payments/CreatePayment/PreviewPresentation.tsx @@ -1,10 +1,10 @@ import { useTranslation } from 'react-i18next' -import type { ContractorPaymentGroupPreview } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentgrouppreview' -import type { ContractorPaymentForGroupPreview } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentforgrouppreview' +import type { ContractorPaymentGroupPreview } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentgrouppreview' +import type { ContractorPaymentForGroupPreview } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentforgrouppreview' import { useMemo } from 'react' -import type { Contractor } from '@gusto/embedded-api-v-2025-11-15/models/components/contractor' -import type { CompanyBankAccount } from '@gusto/embedded-api-v-2025-11-15/models/components/companybankaccount' -import type { PaymentSpeed } from '@gusto/embedded-api-v-2025-11-15/models/components/paymentconfigs' +import type { Contractor } from '@gusto/embedded-api-v-2026-02-01/models/components/contractor' +import type { CompanyBankAccount } from '@gusto/embedded-api-v-2026-02-01/models/components/companybankaccount' +import type { PaymentSpeed } from '@gusto/embedded-api-v-2026-02-01/models/components/paymentconfigs' import { getContractorDisplayName } from './helpers' import { FastAchSubmissionBlockerBanner } from './FastAchSubmissionBlockerBanner' import { GenericBlocker } from './GenericBlocker' diff --git a/src/components/Contractor/Payments/CreatePayment/helpers.ts b/src/components/Contractor/Payments/CreatePayment/helpers.ts index b9e11c927..e7ed63f07 100644 --- a/src/components/Contractor/Payments/CreatePayment/helpers.ts +++ b/src/components/Contractor/Payments/CreatePayment/helpers.ts @@ -1,4 +1,4 @@ -import type { Contractor } from '@gusto/embedded-api-v-2025-11-15/models/components/contractor' +import type { Contractor } from '@gusto/embedded-api-v-2026-02-01/models/components/contractor' import { firstLastName } from '@/helpers/formattedStrings' /** @internal */ diff --git a/src/components/Contractor/Payments/PaymentFlow/paymentStateMachine.ts b/src/components/Contractor/Payments/PaymentFlow/paymentStateMachine.ts index 549893ab7..789f48923 100644 --- a/src/components/Contractor/Payments/PaymentFlow/paymentStateMachine.ts +++ b/src/components/Contractor/Payments/PaymentFlow/paymentStateMachine.ts @@ -1,7 +1,7 @@ import { reduce, state, transition } from 'robot3' -import type { ContractorPaymentGroup } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentgroup' -import type { Contractor } from '@gusto/embedded-api-v-2025-11-15/models/components/contractor' -import type { WireInRequest } from '@gusto/embedded-api-v-2025-11-15/models/components/wireinrequest' +import type { ContractorPaymentGroup } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentgroup' +import type { Contractor } from '@gusto/embedded-api-v-2026-02-01/models/components/contractor' +import type { WireInRequest } from '@gusto/embedded-api-v-2026-02-01/models/components/wireinrequest' import { getContractorDisplayName } from '../CreatePayment/helpers' import { CreatePaymentContextual, diff --git a/src/components/Contractor/Payments/PaymentHistory/PaymentHistory.tsx b/src/components/Contractor/Payments/PaymentHistory/PaymentHistory.tsx index 4192053f6..61e45e287 100644 --- a/src/components/Contractor/Payments/PaymentHistory/PaymentHistory.tsx +++ b/src/components/Contractor/Payments/PaymentHistory/PaymentHistory.tsx @@ -1,6 +1,6 @@ -import { useContractorPaymentGroupsGetSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorPaymentGroupsGet' -import { useContractorsListSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorsList' -import { useContractorPaymentsDeleteMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorPaymentsDelete' +import { useContractorPaymentGroupsGetSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorPaymentGroupsGet' +import { useContractorsListSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorsList' +import { useContractorPaymentsDeleteMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorPaymentsDelete' import { useTranslation } from 'react-i18next' import { PaymentHistoryPresentation } from './PaymentHistoryPresentation' import { useComponentDictionary } from '@/i18n' diff --git a/src/components/Contractor/Payments/PaymentHistory/PaymentHistoryPresentation.tsx b/src/components/Contractor/Payments/PaymentHistory/PaymentHistoryPresentation.tsx index f04afae14..f1c58af70 100644 --- a/src/components/Contractor/Payments/PaymentHistory/PaymentHistoryPresentation.tsx +++ b/src/components/Contractor/Payments/PaymentHistory/PaymentHistoryPresentation.tsx @@ -1,7 +1,7 @@ import { Trans, useTranslation } from 'react-i18next' -import type { ContractorPaymentGroup } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentgroup' -import type { ContractorPaymentForGroup } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentforgroup' -import type { Contractor } from '@gusto/embedded-api-v-2025-11-15/models/components/contractor' +import type { ContractorPaymentGroup } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentgroup' +import type { ContractorPaymentForGroup } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentforgroup' +import type { Contractor } from '@gusto/embedded-api-v-2026-02-01/models/components/contractor' import { getContractorDisplayName } from '../CreatePayment/helpers' import styles from './PaymentHistoryPresentation.module.scss' import { DataView, Flex, EmptyData } from '@/components/Common' diff --git a/src/components/Contractor/Payments/PaymentStatement/PaymentStatement.tsx b/src/components/Contractor/Payments/PaymentStatement/PaymentStatement.tsx index 4a434c655..a40653e76 100644 --- a/src/components/Contractor/Payments/PaymentStatement/PaymentStatement.tsx +++ b/src/components/Contractor/Payments/PaymentStatement/PaymentStatement.tsx @@ -1,7 +1,7 @@ -import { useContractorPaymentGroupsGetSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorPaymentGroupsGet' -import { useContractorsListSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorsList' -import { useContractorPaymentsGetReceipt } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorPaymentsGetReceipt' -import { GustoEmbeddedError } from '@gusto/embedded-api-v-2025-11-15/models/errors/gustoembeddederror' +import { useContractorPaymentGroupsGetSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorPaymentGroupsGet' +import { useContractorsListSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorsList' +import { useContractorPaymentsGetReceipt } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorPaymentsGetReceipt' +import { GustoEmbeddedError } from '@gusto/embedded-api-v-2026-02-01/models/errors/gustoembeddederror' import { useTranslation } from 'react-i18next' import { PaymentStatementPresentation } from './PaymentStatementPresentation' import { useComponentDictionary } from '@/i18n' diff --git a/src/components/Contractor/Payments/PaymentStatement/PaymentStatementPresentation.tsx b/src/components/Contractor/Payments/PaymentStatement/PaymentStatementPresentation.tsx index 336403360..67701d397 100644 --- a/src/components/Contractor/Payments/PaymentStatement/PaymentStatementPresentation.tsx +++ b/src/components/Contractor/Payments/PaymentStatement/PaymentStatementPresentation.tsx @@ -1,8 +1,8 @@ import { Trans, useTranslation } from 'react-i18next' -import type { ContractorPaymentForGroup } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentforgroup' -import type { Contractor } from '@gusto/embedded-api-v-2025-11-15/models/components/contractor' +import type { ContractorPaymentForGroup } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentforgroup' +import type { Contractor } from '@gusto/embedded-api-v-2026-02-01/models/components/contractor' import { useMemo } from 'react' -import type { ContractorPaymentReceipt } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentreceipt' +import type { ContractorPaymentReceipt } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentreceipt' import { getContractorDisplayName } from '../CreatePayment/helpers' import styles from './PaymentStatementPresentation.module.scss' import { DataView, Flex } from '@/components/Common' diff --git a/src/components/Contractor/Payments/PaymentSummary/PaymentSummary.tsx b/src/components/Contractor/Payments/PaymentSummary/PaymentSummary.tsx index 5f7af1c7c..92a5beba1 100644 --- a/src/components/Contractor/Payments/PaymentSummary/PaymentSummary.tsx +++ b/src/components/Contractor/Payments/PaymentSummary/PaymentSummary.tsx @@ -1,7 +1,7 @@ -import { useContractorPaymentGroupsGetSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorPaymentGroupsGet' -import { useContractorsListSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorsList' -import { useBankAccountsGet } from '@gusto/embedded-api-v-2025-11-15/react-query/bankAccountsGet' -import type { PayrollCreditBlockerType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollcreditblockertype' +import { useContractorPaymentGroupsGetSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorPaymentGroupsGet' +import { useContractorsListSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorsList' +import { useBankAccountsGet } from '@gusto/embedded-api-v-2026-02-01/react-query/bankAccountsGet' +import type { PayrollCreditBlockerType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollcreditblockertype' import type { InternalAlert } from '../types' import { PaymentSummaryPresentation } from './PaymentSummaryPresentation' import { useI18n } from '@/i18n' diff --git a/src/components/Contractor/Payments/PaymentSummary/PaymentSummaryPresentation.stories.tsx b/src/components/Contractor/Payments/PaymentSummary/PaymentSummaryPresentation.stories.tsx index 6c1298ff4..e3af5a2fe 100644 --- a/src/components/Contractor/Payments/PaymentSummary/PaymentSummaryPresentation.stories.tsx +++ b/src/components/Contractor/Payments/PaymentSummary/PaymentSummaryPresentation.stories.tsx @@ -1,6 +1,6 @@ import { fn } from 'storybook/test' -import type { ContractorPaymentGroup } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentgroup' -import type { Contractor } from '@gusto/embedded-api-v-2025-11-15/models/components/contractor' +import type { ContractorPaymentGroup } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentgroup' +import type { Contractor } from '@gusto/embedded-api-v-2026-02-01/models/components/contractor' import { PaymentSummaryPresentation } from './PaymentSummaryPresentation' import { GustoTestProvider } from '@/test/GustoTestApiProvider' diff --git a/src/components/Contractor/Payments/PaymentSummary/PaymentSummaryPresentation.tsx b/src/components/Contractor/Payments/PaymentSummary/PaymentSummaryPresentation.tsx index efdcdfcbd..7428525de 100644 --- a/src/components/Contractor/Payments/PaymentSummary/PaymentSummaryPresentation.tsx +++ b/src/components/Contractor/Payments/PaymentSummary/PaymentSummaryPresentation.tsx @@ -1,9 +1,9 @@ import { useTranslation } from 'react-i18next' -import type { ContractorPaymentGroup } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentgroup' -import type { ContractorPaymentForGroup } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentforgroup' +import type { ContractorPaymentGroup } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentgroup' +import type { ContractorPaymentForGroup } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentforgroup' import { useMemo } from 'react' -import type { Contractor } from '@gusto/embedded-api-v-2025-11-15/models/components/contractor' -import type { CompanyBankAccount } from '@gusto/embedded-api-v-2025-11-15/models/components/companybankaccount' +import type { Contractor } from '@gusto/embedded-api-v-2026-02-01/models/components/contractor' +import type { CompanyBankAccount } from '@gusto/embedded-api-v-2026-02-01/models/components/companybankaccount' import type { InternalAlert } from '../types' import { getContractorDisplayName } from '../CreatePayment/helpers' import { DataView, Flex } from '@/components/Common' diff --git a/src/components/Contractor/Payments/PaymentsList/PaymentsList.tsx b/src/components/Contractor/Payments/PaymentsList/PaymentsList.tsx index 597a7438f..6e6d8e018 100644 --- a/src/components/Contractor/Payments/PaymentsList/PaymentsList.tsx +++ b/src/components/Contractor/Payments/PaymentsList/PaymentsList.tsx @@ -1,7 +1,7 @@ import { useState, useMemo, useCallback } from 'react' -import { useContractorPaymentGroupsGetListSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorPaymentGroupsGetList' -import { useInformationRequestsGetInformationRequestsSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/informationRequestsGetInformationRequests' -import { InformationRequestStatus } from '@gusto/embedded-api-v-2025-11-15/models/components/informationrequest' +import { useContractorPaymentGroupsGetListSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorPaymentGroupsGetList' +import { useInformationRequestsGetInformationRequestsSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/informationRequestsGetInformationRequests' +import { InformationRequestStatus } from '@gusto/embedded-api-v-2026-02-01/models/components/informationrequest' import type { InternalAlert } from '../types' import { PaymentsListPresentation } from './PaymentsListPresentation' import { useComponentDictionary } from '@/i18n' diff --git a/src/components/Contractor/Payments/PaymentsList/PaymentsListPresentation.tsx b/src/components/Contractor/Payments/PaymentsList/PaymentsListPresentation.tsx index 2ae3c7dbd..84b9142ea 100644 --- a/src/components/Contractor/Payments/PaymentsList/PaymentsListPresentation.tsx +++ b/src/components/Contractor/Payments/PaymentsList/PaymentsListPresentation.tsx @@ -1,5 +1,5 @@ import { useTranslation } from 'react-i18next' -import type { ContractorPaymentGroupWithBlockers } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentgroupwithblockers' +import type { ContractorPaymentGroupWithBlockers } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentgroupwithblockers' import type { InternalAlert } from '../types' import styles from './PaymentsListPresentation.module.scss' import { DataView, Flex, EmptyData, ActionsLayout, useDataView } from '@/components/Common' diff --git a/src/components/Contractor/Profile/SelfOnboardingContractorProfile.tsx b/src/components/Contractor/Profile/SelfOnboardingContractorProfile.tsx index 7c65f2f2d..2e2f7ac8c 100644 --- a/src/components/Contractor/Profile/SelfOnboardingContractorProfile.tsx +++ b/src/components/Contractor/Profile/SelfOnboardingContractorProfile.tsx @@ -1,4 +1,4 @@ -import { useContractorsGet } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorsGet' +import { useContractorsGet } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorsGet' import { ContractorType } from './shared/useContractorDetailsForm' import { IndividualSelfOnboardingProfile } from './IndividualSelfOnboardingProfile' import { BusinessSelfOnboardingProfile } from './BusinessSelfOnboardingProfile' diff --git a/src/components/Contractor/Profile/shared/useContractorDetailsForm/contractorDetailsSchema.ts b/src/components/Contractor/Profile/shared/useContractorDetailsForm/contractorDetailsSchema.ts index 21056d5a0..c441a10c0 100644 --- a/src/components/Contractor/Profile/shared/useContractorDetailsForm/contractorDetailsSchema.ts +++ b/src/components/Contractor/Profile/shared/useContractorDetailsForm/contractorDetailsSchema.ts @@ -2,7 +2,7 @@ import { z } from 'zod' import { WageType as ApiWageType, ContractorType as ApiContractorType, -} from '@gusto/embedded-api-v-2025-11-15/models/components/contractor' +} from '@gusto/embedded-api-v-2026-02-01/models/components/contractor' import { buildFormSchema, type RequiredFieldConfig, diff --git a/src/components/Contractor/Profile/shared/useContractorDetailsForm/useContractorDetailsForm.tsx b/src/components/Contractor/Profile/shared/useContractorDetailsForm/useContractorDetailsForm.tsx index 7ad1a21b1..abe9f4810 100644 --- a/src/components/Contractor/Profile/shared/useContractorDetailsForm/useContractorDetailsForm.tsx +++ b/src/components/Contractor/Profile/shared/useContractorDetailsForm/useContractorDetailsForm.tsx @@ -2,12 +2,12 @@ import { useMemo } from 'react' import { useForm, useWatch } from 'react-hook-form' import type { UseFormProps } from 'react-hook-form' import { zodResolver } from '@hookform/resolvers/zod' -import type { Contractor } from '@gusto/embedded-api-v-2025-11-15/models/components/contractor' -import type { ContractorCreateRequestBody } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorcreaterequestbody' -import type { ContractorUpdateRequestBody } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorupdaterequestbody' -import { useContractorsGet } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorsGet' -import { useContractorsCreateMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorsCreate' -import { useContractorsUpdateMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorsUpdate' +import type { Contractor } from '@gusto/embedded-api-v-2026-02-01/models/components/contractor' +import type { ContractorCreateRequestBody } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorcreaterequestbody' +import type { ContractorUpdateRequestBody } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorupdaterequestbody' +import { useContractorsGet } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorsGet' +import { useContractorsCreateMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorsCreate' +import { useContractorsUpdateMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorsUpdate' import { ContractorType, WageType, diff --git a/src/components/Contractor/Submit/Submit.tsx b/src/components/Contractor/Submit/Submit.tsx index d2343241a..64d0f7c83 100644 --- a/src/components/Contractor/Submit/Submit.tsx +++ b/src/components/Contractor/Submit/Submit.tsx @@ -1,7 +1,7 @@ import { useTranslation } from 'react-i18next' -import { useContractorsUpdateOnboardingStatusMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorsUpdateOnboardingStatus' -import { useContractorsGetOnboardingStatusSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorsGetOnboardingStatus' -import { useContractorsGetSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/contractorsGet' +import { useContractorsUpdateOnboardingStatusMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorsUpdateOnboardingStatus' +import { useContractorsGetOnboardingStatusSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorsGetOnboardingStatus' +import { useContractorsGetSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/contractorsGet' import { SubmitDone } from './SubmitDone' import { ActionsLayout, Flex, FlexItem } from '@/components/Common' import { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext' diff --git a/src/components/Employee/Compensation/management/CompensationCard/CompensationCard.tsx b/src/components/Employee/Compensation/management/CompensationCard/CompensationCard.tsx index 39ff5fa24..75d54b516 100644 --- a/src/components/Employee/Compensation/management/CompensationCard/CompensationCard.tsx +++ b/src/components/Employee/Compensation/management/CompensationCard/CompensationCard.tsx @@ -1,7 +1,7 @@ import { useCallback, useEffect, useState } from 'react' import { useTranslation } from 'react-i18next' -import { useJobsAndCompensationsDeleteMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/jobsAndCompensationsDelete' -import type { Job } from '@gusto/embedded-api-v-2025-11-15/models/components/job' +import { useJobsAndCompensationsDeleteMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/jobsAndCompensationsDelete' +import type { Job } from '@gusto/embedded-api-v-2026-02-01/models/components/job' import { useCompensationManagement, type UseCompensationManagementReady, diff --git a/src/components/Employee/Compensation/management/CompensationEditForm/CompensationEditForm.tsx b/src/components/Employee/Compensation/management/CompensationEditForm/CompensationEditForm.tsx index 9acd73115..1783c6046 100644 --- a/src/components/Employee/Compensation/management/CompensationEditForm/CompensationEditForm.tsx +++ b/src/components/Employee/Compensation/management/CompensationEditForm/CompensationEditForm.tsx @@ -1,4 +1,4 @@ -import { useJobsAndCompensationsGetJobs } from '@gusto/embedded-api-v-2025-11-15/react-query/jobsAndCompensationsGetJobs' +import { useJobsAndCompensationsGetJobs } from '@gusto/embedded-api-v-2026-02-01/react-query/jobsAndCompensationsGetJobs' import { getPendingCompensationChanges } from '../../shared/getPendingCompensationChanges' import { CompensationEditJobForm } from '../CompensationEditJobForm/CompensationEditJobForm' import { CompensationEditPendingJobForm } from '../CompensationEditPendingJobForm/CompensationEditPendingJobForm' diff --git a/src/components/Employee/Compensation/management/CompensationEditJobForm/CompensationEditJobForm.tsx b/src/components/Employee/Compensation/management/CompensationEditJobForm/CompensationEditJobForm.tsx index f74565849..d873635ee 100644 --- a/src/components/Employee/Compensation/management/CompensationEditJobForm/CompensationEditJobForm.tsx +++ b/src/components/Employee/Compensation/management/CompensationEditJobForm/CompensationEditJobForm.tsx @@ -1,6 +1,6 @@ import classNames from 'classnames' import { useTranslation } from 'react-i18next' -import { useJobsAndCompensationsGetJobs } from '@gusto/embedded-api-v-2025-11-15/react-query/jobsAndCompensationsGetJobs' +import { useJobsAndCompensationsGetJobs } from '@gusto/embedded-api-v-2026-02-01/react-query/jobsAndCompensationsGetJobs' import { useJobForm } from '../../shared/useJobForm' import { useCompensationForm, type CompensationFormData } from '../../shared/useCompensationForm' import { ManagementCompensationFormBody } from '../ManagementCompensationFormBody' diff --git a/src/components/Employee/Compensation/management/ManagementCompensationFormBody.tsx b/src/components/Employee/Compensation/management/ManagementCompensationFormBody.tsx index 20fee369f..2ca1e4aa2 100644 --- a/src/components/Employee/Compensation/management/ManagementCompensationFormBody.tsx +++ b/src/components/Employee/Compensation/management/ManagementCompensationFormBody.tsx @@ -1,7 +1,7 @@ import { Trans, useTranslation } from 'react-i18next' -import type { PaymentUnit } from '@gusto/embedded-api-v-2025-11-15/models/components/compensation' -import type { FlsaStatusType } from '@gusto/embedded-api-v-2025-11-15/models/components/flsastatustype' -import type { MinimumWage } from '@gusto/embedded-api-v-2025-11-15/models/components/minimumwage' +import type { PaymentUnit } from '@gusto/embedded-api-v-2026-02-01/models/components/compensation' +import type { FlsaStatusType } from '@gusto/embedded-api-v-2026-02-01/models/components/flsastatustype' +import type { MinimumWage } from '@gusto/embedded-api-v-2026-02-01/models/components/minimumwage' import type { UseJobFormReady } from '../shared/useJobForm' import type { UseCompensationFormReady } from '../shared/useCompensationForm' import { ActionsLayout, Flex } from '@/components/Common' diff --git a/src/components/Employee/Compensation/onboarding/Compensation.tsx b/src/components/Employee/Compensation/onboarding/Compensation.tsx index 84d27ff81..1d40d510e 100644 --- a/src/components/Employee/Compensation/onboarding/Compensation.tsx +++ b/src/components/Employee/Compensation/onboarding/Compensation.tsx @@ -1,9 +1,9 @@ import { useMemo, useState } from 'react' import { createMachine } from 'robot3' import { useTranslation } from 'react-i18next' -import { useJobsAndCompensationsGetJobsSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/jobsAndCompensationsGetJobs' -import { type Job } from '@gusto/embedded-api-v-2025-11-15/models/components/job' -import type { FlsaStatusType } from '@gusto/embedded-api-v-2025-11-15/models/components/flsastatustype' +import { useJobsAndCompensationsGetJobsSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/jobsAndCompensationsGetJobs' +import { type Job } from '@gusto/embedded-api-v-2026-02-01/models/components/job' +import type { FlsaStatusType } from '@gusto/embedded-api-v-2026-02-01/models/components/flsastatustype' import type { OnboardingContextInterface } from '../../OnboardingFlow/OnboardingFlowComponents' import { InitialEditCompensationContextual, diff --git a/src/components/Employee/Compensation/onboarding/CompensationFlowComponents.tsx b/src/components/Employee/Compensation/onboarding/CompensationFlowComponents.tsx index f0b5af526..89bb91faf 100644 --- a/src/components/Employee/Compensation/onboarding/CompensationFlowComponents.tsx +++ b/src/components/Employee/Compensation/onboarding/CompensationFlowComponents.tsx @@ -1,6 +1,6 @@ import { useTranslation } from 'react-i18next' -import type { Job } from '@gusto/embedded-api-v-2025-11-15/models/components/job' -import type { Compensation } from '@gusto/embedded-api-v-2025-11-15/models/components/compensation' +import type { Job } from '@gusto/embedded-api-v-2026-02-01/models/components/job' +import type { Compensation } from '@gusto/embedded-api-v-2026-02-01/models/components/compensation' import type { CompensationDefaultValues } from './Compensation' import { JobsList } from './JobsList' import { EditCompensation } from './EditCompensation' diff --git a/src/components/Employee/Compensation/onboarding/JobsList/JobsList.tsx b/src/components/Employee/Compensation/onboarding/JobsList/JobsList.tsx index 1211805f9..7edb3105c 100644 --- a/src/components/Employee/Compensation/onboarding/JobsList/JobsList.tsx +++ b/src/components/Employee/Compensation/onboarding/JobsList/JobsList.tsx @@ -1,6 +1,6 @@ import { useMemo } from 'react' -import { useJobsAndCompensationsGetJobsSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/jobsAndCompensationsGetJobs' -import { useJobsAndCompensationsDeleteMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/jobsAndCompensationsDelete' +import { useJobsAndCompensationsGetJobsSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/jobsAndCompensationsGetJobs' +import { useJobsAndCompensationsDeleteMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/jobsAndCompensationsDelete' import { derivePrimaryFlsaStatus } from '../../shared/derivePrimaryFlsaStatus' import { JobsListPresentation } from './JobsListPresentation' import { BaseComponent, type BaseComponentInterface, useBase } from '@/components/Base' diff --git a/src/components/Employee/Compensation/onboarding/JobsList/JobsListPresentation.test.tsx b/src/components/Employee/Compensation/onboarding/JobsList/JobsListPresentation.test.tsx index ec80f5859..ed8e7aee4 100644 --- a/src/components/Employee/Compensation/onboarding/JobsList/JobsListPresentation.test.tsx +++ b/src/components/Employee/Compensation/onboarding/JobsList/JobsListPresentation.test.tsx @@ -1,7 +1,7 @@ import { beforeEach, describe, expect, it, vi } from 'vitest' import { screen, within } from '@testing-library/react' import userEvent from '@testing-library/user-event' -import type { Job } from '@gusto/embedded-api-v-2025-11-15/models/components/job' +import type { Job } from '@gusto/embedded-api-v-2026-02-01/models/components/job' import { JobsListPresentation } from './JobsListPresentation' import { FlsaStatus } from '@/shared/constants' import { renderWithProviders } from '@/test-utils/renderWithProviders' diff --git a/src/components/Employee/Compensation/onboarding/JobsList/JobsListPresentation.tsx b/src/components/Employee/Compensation/onboarding/JobsList/JobsListPresentation.tsx index 82800474a..d2394be36 100644 --- a/src/components/Employee/Compensation/onboarding/JobsList/JobsListPresentation.tsx +++ b/src/components/Employee/Compensation/onboarding/JobsList/JobsListPresentation.tsx @@ -1,5 +1,5 @@ import { useTranslation } from 'react-i18next' -import { type Job } from '@gusto/embedded-api-v-2025-11-15/models/components/job' +import { type Job } from '@gusto/embedded-api-v-2026-02-01/models/components/job' import PencilSvg from '@/assets/icons/pencil.svg?react' import TrashCanSvg from '@/assets/icons/trashcan.svg?react' import { ActionsLayout, DataView, Flex, useDataView } from '@/components/Common' diff --git a/src/components/Employee/Compensation/shared/AddCompensationFormBody.tsx b/src/components/Employee/Compensation/shared/AddCompensationFormBody.tsx index d6efc7b6f..b554e12e0 100644 --- a/src/components/Employee/Compensation/shared/AddCompensationFormBody.tsx +++ b/src/components/Employee/Compensation/shared/AddCompensationFormBody.tsx @@ -1,7 +1,7 @@ import { Trans, useTranslation } from 'react-i18next' -import type { PaymentUnit } from '@gusto/embedded-api-v-2025-11-15/models/components/compensation' -import type { FlsaStatusType } from '@gusto/embedded-api-v-2025-11-15/models/components/flsastatustype' -import type { MinimumWage } from '@gusto/embedded-api-v-2025-11-15/models/components/minimumwage' +import type { PaymentUnit } from '@gusto/embedded-api-v-2026-02-01/models/components/compensation' +import type { FlsaStatusType } from '@gusto/embedded-api-v-2026-02-01/models/components/flsastatustype' +import type { MinimumWage } from '@gusto/embedded-api-v-2026-02-01/models/components/minimumwage' import type { UseJobFormReady } from './useJobForm' import type { UseCompensationFormReady } from './useCompensationForm' import { ActionsLayout, Flex } from '@/components/Common' diff --git a/src/components/Employee/Compensation/shared/derivePrimaryFlsaStatus.test.ts b/src/components/Employee/Compensation/shared/derivePrimaryFlsaStatus.test.ts index 127b44ec7..17ce1a1ea 100644 --- a/src/components/Employee/Compensation/shared/derivePrimaryFlsaStatus.test.ts +++ b/src/components/Employee/Compensation/shared/derivePrimaryFlsaStatus.test.ts @@ -1,5 +1,5 @@ import { describe, it, expect } from 'vitest' -import type { Job } from '@gusto/embedded-api-v-2025-11-15/models/components/job' +import type { Job } from '@gusto/embedded-api-v-2026-02-01/models/components/job' import { derivePrimaryFlsaStatus } from './derivePrimaryFlsaStatus' function makeJob(overrides: Partial = {}): Job { diff --git a/src/components/Employee/Compensation/shared/derivePrimaryFlsaStatus.ts b/src/components/Employee/Compensation/shared/derivePrimaryFlsaStatus.ts index 55b28aeb5..7a9f104b5 100644 --- a/src/components/Employee/Compensation/shared/derivePrimaryFlsaStatus.ts +++ b/src/components/Employee/Compensation/shared/derivePrimaryFlsaStatus.ts @@ -1,4 +1,4 @@ -import type { Job } from '@gusto/embedded-api-v-2025-11-15/models/components/job' +import type { Job } from '@gusto/embedded-api-v-2026-02-01/models/components/job' /** * Returns the FLSA status of the employee's primary job's current compensation, diff --git a/src/components/Employee/Compensation/shared/getPendingCompensationChanges.test.ts b/src/components/Employee/Compensation/shared/getPendingCompensationChanges.test.ts index fd06eafc9..57b89f72c 100644 --- a/src/components/Employee/Compensation/shared/getPendingCompensationChanges.test.ts +++ b/src/components/Employee/Compensation/shared/getPendingCompensationChanges.test.ts @@ -1,5 +1,5 @@ -import type { Compensation } from '@gusto/embedded-api-v-2025-11-15/models/components/compensation' -import type { Job } from '@gusto/embedded-api-v-2025-11-15/models/components/job' +import type { Compensation } from '@gusto/embedded-api-v-2026-02-01/models/components/compensation' +import type { Job } from '@gusto/embedded-api-v-2026-02-01/models/components/job' import { describe, expect, it } from 'vitest' import { getPendingCompensationChanges } from './getPendingCompensationChanges' import { FlsaStatus } from '@/shared/constants' diff --git a/src/components/Employee/Compensation/shared/getPendingCompensationChanges.ts b/src/components/Employee/Compensation/shared/getPendingCompensationChanges.ts index 91869baee..89337c5d6 100644 --- a/src/components/Employee/Compensation/shared/getPendingCompensationChanges.ts +++ b/src/components/Employee/Compensation/shared/getPendingCompensationChanges.ts @@ -1,6 +1,6 @@ -import type { Compensation } from '@gusto/embedded-api-v-2025-11-15/models/components/compensation' -import type { FlsaStatusType } from '@gusto/embedded-api-v-2025-11-15/models/components/flsastatustype' -import type { Job } from '@gusto/embedded-api-v-2025-11-15/models/components/job' +import type { Compensation } from '@gusto/embedded-api-v-2026-02-01/models/components/compensation' +import type { FlsaStatusType } from '@gusto/embedded-api-v-2026-02-01/models/components/flsastatustype' +import type { Job } from '@gusto/embedded-api-v-2026-02-01/models/components/job' import { normalizeToDate } from '@/helpers/dateFormatting' /** @internal */ diff --git a/src/components/Employee/Compensation/shared/useCompensationForm/fields.tsx b/src/components/Employee/Compensation/shared/useCompensationForm/fields.tsx index ccfa385df..d4bac34a9 100644 --- a/src/components/Employee/Compensation/shared/useCompensationForm/fields.tsx +++ b/src/components/Employee/Compensation/shared/useCompensationForm/fields.tsx @@ -1,6 +1,6 @@ -import type { MinimumWage } from '@gusto/embedded-api-v-2025-11-15/models/components/minimumwage' -import type { FlsaStatusType } from '@gusto/embedded-api-v-2025-11-15/models/components/flsastatustype' -import type { PaymentUnit } from '@gusto/embedded-api-v-2025-11-15/models/components/compensation' +import type { MinimumWage } from '@gusto/embedded-api-v-2026-02-01/models/components/minimumwage' +import type { FlsaStatusType } from '@gusto/embedded-api-v-2026-02-01/models/components/flsastatustype' +import type { PaymentUnit } from '@gusto/embedded-api-v-2026-02-01/models/components/compensation' import type { CompensationErrorCodes } from './compensationSchema' import type { TextInputHookFieldProps } from '@/partner-hook-utils/form/fields/TextInputHookField' import type { SelectHookFieldProps } from '@/partner-hook-utils/form/fields/SelectHookField' diff --git a/src/components/Employee/Compensation/shared/useCompensationForm/useCompensationForm.test.tsx b/src/components/Employee/Compensation/shared/useCompensationForm/useCompensationForm.test.tsx index eaed56b16..b45b65b48 100644 --- a/src/components/Employee/Compensation/shared/useCompensationForm/useCompensationForm.test.tsx +++ b/src/components/Employee/Compensation/shared/useCompensationForm/useCompensationForm.test.tsx @@ -2,7 +2,7 @@ import { renderHook, act, waitFor } from '@testing-library/react' import { describe, it, expect, beforeEach, assertType, vi } from 'vitest' import { http, HttpResponse, type HttpResponseResolver } from 'msw' import { QueryClient } from '@tanstack/react-query' -import { invalidateAllJobsAndCompensationsGetJobs } from '@gusto/embedded-api-v-2025-11-15/react-query/jobsAndCompensationsGetJobs' +import { invalidateAllJobsAndCompensationsGetJobs } from '@gusto/embedded-api-v-2026-02-01/react-query/jobsAndCompensationsGetJobs' import { useCompensationForm } from './useCompensationForm' import type { UseCompensationFormResult } from './useCompensationForm' import { diff --git a/src/components/Employee/Compensation/shared/useCompensationForm/useCompensationForm.tsx b/src/components/Employee/Compensation/shared/useCompensationForm/useCompensationForm.tsx index 3739dcb97..f5860b2e0 100644 --- a/src/components/Employee/Compensation/shared/useCompensationForm/useCompensationForm.tsx +++ b/src/components/Employee/Compensation/shared/useCompensationForm/useCompensationForm.tsx @@ -5,17 +5,17 @@ import { zodResolver } from '@hookform/resolvers/zod' import type { Compensation, PaymentUnit, -} from '@gusto/embedded-api-v-2025-11-15/models/components/compensation' -import type { Job } from '@gusto/embedded-api-v-2025-11-15/models/components/job' -import type { FlsaStatusType } from '@gusto/embedded-api-v-2025-11-15/models/components/flsastatustype' -import type { MinimumWage } from '@gusto/embedded-api-v-2025-11-15/models/components/minimumwage' -import { useJobsAndCompensationsGetJobs } from '@gusto/embedded-api-v-2025-11-15/react-query/jobsAndCompensationsGetJobs' -import { GetV1EmployeesEmployeeIdJobsQueryParamInclude } from '@gusto/embedded-api-v-2025-11-15/models/operations/getv1employeesemployeeidjobs' -import { useJobsAndCompensationsCreateCompensationMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/jobsAndCompensationsCreateCompensation' -import { useJobsAndCompensationsUpdateCompensationMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/jobsAndCompensationsUpdateCompensation' -import { useLocationsGetMinimumWages } from '@gusto/embedded-api-v-2025-11-15/react-query/locationsGetMinimumWages' -import { useEmployeeAddressesGetWorkAddresses } from '@gusto/embedded-api-v-2025-11-15/react-query/employeeAddressesGetWorkAddresses' -import { useEmployeesGet } from '@gusto/embedded-api-v-2025-11-15/react-query/employeesGet' +} from '@gusto/embedded-api-v-2026-02-01/models/components/compensation' +import type { Job } from '@gusto/embedded-api-v-2026-02-01/models/components/job' +import type { FlsaStatusType } from '@gusto/embedded-api-v-2026-02-01/models/components/flsastatustype' +import type { MinimumWage } from '@gusto/embedded-api-v-2026-02-01/models/components/minimumwage' +import { useJobsAndCompensationsGetJobs } from '@gusto/embedded-api-v-2026-02-01/react-query/jobsAndCompensationsGetJobs' +import { GetV1EmployeesEmployeeIdJobsQueryParamInclude } from '@gusto/embedded-api-v-2026-02-01/models/operations/getv1employeesemployeeidjobs' +import { useJobsAndCompensationsCreateCompensationMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/jobsAndCompensationsCreateCompensation' +import { useJobsAndCompensationsUpdateCompensationMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/jobsAndCompensationsUpdateCompensation' +import { useLocationsGetMinimumWages } from '@gusto/embedded-api-v-2026-02-01/react-query/locationsGetMinimumWages' +import { useEmployeeAddressesGetWorkAddresses } from '@gusto/embedded-api-v-2026-02-01/react-query/employeeAddressesGetWorkAddresses' +import { useEmployeesGet } from '@gusto/embedded-api-v-2026-02-01/react-query/employeesGet' import { createCompensationSchema, type CompensationOptionalFieldsToRequire, diff --git a/src/components/Employee/Compensation/shared/useCompensationManagement/useCompensationManagement.tsx b/src/components/Employee/Compensation/shared/useCompensationManagement/useCompensationManagement.tsx index 5db78e65b..e9d4ffe85 100644 --- a/src/components/Employee/Compensation/shared/useCompensationManagement/useCompensationManagement.tsx +++ b/src/components/Employee/Compensation/shared/useCompensationManagement/useCompensationManagement.tsx @@ -1,9 +1,9 @@ import { useCallback, useMemo } from 'react' -import { useEmployeesGet } from '@gusto/embedded-api-v-2025-11-15/react-query/employeesGet' -import { useJobsAndCompensationsGetJobs } from '@gusto/embedded-api-v-2025-11-15/react-query/jobsAndCompensationsGetJobs' -import { GetV1EmployeesEmployeeIdJobsQueryParamInclude } from '@gusto/embedded-api-v-2025-11-15/models/operations/getv1employeesemployeeidjobs' -import { useJobsAndCompensationsDeleteCompensationMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/jobsAndCompensationsDeleteCompensation' -import type { Job } from '@gusto/embedded-api-v-2025-11-15/models/components/job' +import { useEmployeesGet } from '@gusto/embedded-api-v-2026-02-01/react-query/employeesGet' +import { useJobsAndCompensationsGetJobs } from '@gusto/embedded-api-v-2026-02-01/react-query/jobsAndCompensationsGetJobs' +import { GetV1EmployeesEmployeeIdJobsQueryParamInclude } from '@gusto/embedded-api-v-2026-02-01/models/operations/getv1employeesemployeeidjobs' +import { useJobsAndCompensationsDeleteCompensationMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/jobsAndCompensationsDeleteCompensation' +import type { Job } from '@gusto/embedded-api-v-2026-02-01/models/components/job' import { getPendingCompensationChanges, type PendingCompensationChange, diff --git a/src/components/Employee/Compensation/shared/useJobForm/useJobForm.tsx b/src/components/Employee/Compensation/shared/useJobForm/useJobForm.tsx index 64b9d1327..95b1651a0 100644 --- a/src/components/Employee/Compensation/shared/useJobForm/useJobForm.tsx +++ b/src/components/Employee/Compensation/shared/useJobForm/useJobForm.tsx @@ -2,16 +2,16 @@ import { useMemo, useState } from 'react' import { useForm, useWatch } from 'react-hook-form' import type { UseFormProps } from 'react-hook-form' import { zodResolver } from '@hookform/resolvers/zod' -import type { Job } from '@gusto/embedded-api-v-2025-11-15/models/components/job' -import type { Employee } from '@gusto/embedded-api-v-2025-11-15/models/components/employee' -import type { EmployeeWorkAddress } from '@gusto/embedded-api-v-2025-11-15/models/components/employeeworkaddress' -import { useJobsAndCompensationsGetJobs } from '@gusto/embedded-api-v-2025-11-15/react-query/jobsAndCompensationsGetJobs' -import { useJobsAndCompensationsCreateJobMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/jobsAndCompensationsCreateJob' -import { useJobsAndCompensationsUpdateMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/jobsAndCompensationsUpdate' -import { useJobsAndCompensationsUpdateCompensationMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/jobsAndCompensationsUpdateCompensation' -import { useEmployeeAddressesGetWorkAddresses } from '@gusto/embedded-api-v-2025-11-15/react-query/employeeAddressesGetWorkAddresses' -import { useEmployeesGet } from '@gusto/embedded-api-v-2025-11-15/react-query/employeesGet' -import { useFederalTaxDetailsGet } from '@gusto/embedded-api-v-2025-11-15/react-query/federalTaxDetailsGet' +import type { Job } from '@gusto/embedded-api-v-2026-02-01/models/components/job' +import type { Employee } from '@gusto/embedded-api-v-2026-02-01/models/components/employee' +import type { EmployeeWorkAddress } from '@gusto/embedded-api-v-2026-02-01/models/components/employeeworkaddress' +import { useJobsAndCompensationsGetJobs } from '@gusto/embedded-api-v-2026-02-01/react-query/jobsAndCompensationsGetJobs' +import { useJobsAndCompensationsCreateJobMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/jobsAndCompensationsCreateJob' +import { useJobsAndCompensationsUpdateMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/jobsAndCompensationsUpdate' +import { useJobsAndCompensationsUpdateCompensationMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/jobsAndCompensationsUpdateCompensation' +import { useEmployeeAddressesGetWorkAddresses } from '@gusto/embedded-api-v-2026-02-01/react-query/employeeAddressesGetWorkAddresses' +import { useEmployeesGet } from '@gusto/embedded-api-v-2026-02-01/react-query/employeesGet' +import { useFederalTaxDetailsGet } from '@gusto/embedded-api-v-2026-02-01/react-query/federalTaxDetailsGet' import { createJobSchema, type JobOptionalFieldsToRequire, diff --git a/src/components/Employee/Dashboard/Dashboard.test.tsx b/src/components/Employee/Dashboard/Dashboard.test.tsx index 41d05320c..7674a6169 100644 --- a/src/components/Employee/Dashboard/Dashboard.test.tsx +++ b/src/components/Employee/Dashboard/Dashboard.test.tsx @@ -5,7 +5,7 @@ import { http, HttpResponse, type HttpResponseResolver, type PathParams } from ' import type { DeleteV1JobsJobIdRequest, DeleteV1JobsJobIdResponse, -} from '@gusto/embedded-api-v-2025-11-15/models/operations/deletev1jobsjobid' +} from '@gusto/embedded-api-v-2026-02-01/models/operations/deletev1jobsjobid' import { Dashboard, type DashboardProps } from './Dashboard' import { DashboardFlow } from './DashboardFlow' import { renderWithProviders } from '@/test-utils/renderWithProviders' diff --git a/src/components/Employee/Dashboard/Dashboard.tsx b/src/components/Employee/Dashboard/Dashboard.tsx index 6eeee2c80..7658c361f 100644 --- a/src/components/Employee/Dashboard/Dashboard.tsx +++ b/src/components/Employee/Dashboard/Dashboard.tsx @@ -1,6 +1,6 @@ import { Suspense, useState } from 'react' import { useTranslation } from 'react-i18next' -import { useEmployeesGetSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/employeesGet' +import { useEmployeesGetSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/employeesGet' import { BasicDetailsView } from './BasicDetailsView' import { JobAndPayView } from './JobAndPayView' import { TaxesViewWithData } from './TaxesView' diff --git a/src/components/Employee/Dashboard/dashboardStateMachine.ts b/src/components/Employee/Dashboard/dashboardStateMachine.ts index b06c48779..2054de9a1 100644 --- a/src/components/Employee/Dashboard/dashboardStateMachine.ts +++ b/src/components/Employee/Dashboard/dashboardStateMachine.ts @@ -1,5 +1,5 @@ import { transition, reduce, state } from 'robot3' -import type { Garnishment } from '@gusto/embedded-api-v-2025-11-15/models/components/garnishment' +import type { Garnishment } from '@gusto/embedded-api-v-2026-02-01/models/components/garnishment' import type { DashboardTab } from './Dashboard' import { DashboardViewContextual, diff --git a/src/components/Employee/Deductions/management/DeductionsCard/DeductionsCard.tsx b/src/components/Employee/Deductions/management/DeductionsCard/DeductionsCard.tsx index ee882ae75..766505ae2 100644 --- a/src/components/Employee/Deductions/management/DeductionsCard/DeductionsCard.tsx +++ b/src/components/Employee/Deductions/management/DeductionsCard/DeductionsCard.tsx @@ -1,5 +1,5 @@ import { useTranslation } from 'react-i18next' -import type { Garnishment } from '@gusto/embedded-api-v-2025-11-15/models/components/garnishment' +import type { Garnishment } from '@gusto/embedded-api-v-2026-02-01/models/components/garnishment' import { useDeductionsList } from '../../shared/useDeductionsList' import { useDeleteDeduction } from '../../shared/useDeleteDeduction' import { DeleteDeductionDialog } from '../../shared/DeleteDeductionDialog' diff --git a/src/components/Employee/Deductions/management/deductionsStateMachine.ts b/src/components/Employee/Deductions/management/deductionsStateMachine.ts index 1894916dc..2d664dc12 100644 --- a/src/components/Employee/Deductions/management/deductionsStateMachine.ts +++ b/src/components/Employee/Deductions/management/deductionsStateMachine.ts @@ -1,6 +1,6 @@ import { reduce, state, transition } from 'robot3' import type { ComponentType } from 'react' -import type { Garnishment } from '@gusto/embedded-api-v-2025-11-15/models/components/garnishment' +import type { Garnishment } from '@gusto/embedded-api-v-2026-02-01/models/components/garnishment' import type { DeductionsContextInterface } from './DeductionsComponents' import { DeductionsCardContextual, DeductionsEditFormContextual } from './DeductionsComponents' import { componentEvents } from '@/shared/constants' diff --git a/src/components/Employee/Deductions/onboarding/DeductionsList/DeductionsList.test.tsx b/src/components/Employee/Deductions/onboarding/DeductionsList/DeductionsList.test.tsx index d7afeea21..368b48c03 100644 --- a/src/components/Employee/Deductions/onboarding/DeductionsList/DeductionsList.test.tsx +++ b/src/components/Employee/Deductions/onboarding/DeductionsList/DeductionsList.test.tsx @@ -1,7 +1,7 @@ import { describe, expect, it, vi } from 'vitest' import { screen } from '@testing-library/react' import userEvent from '@testing-library/user-event' -import type { Garnishment } from '@gusto/embedded-api-v-2025-11-15/models/components/garnishment' +import type { Garnishment } from '@gusto/embedded-api-v-2026-02-01/models/components/garnishment' import type { UseDeductionsListReady } from '../../shared/useDeductionsList' import { DeductionsList } from './DeductionsList' import { renderWithProviders } from '@/test-utils/renderWithProviders' diff --git a/src/components/Employee/Deductions/onboarding/DeductionsList/DeductionsList.tsx b/src/components/Employee/Deductions/onboarding/DeductionsList/DeductionsList.tsx index 4f38dd7d9..4101daed9 100644 --- a/src/components/Employee/Deductions/onboarding/DeductionsList/DeductionsList.tsx +++ b/src/components/Employee/Deductions/onboarding/DeductionsList/DeductionsList.tsx @@ -1,5 +1,5 @@ import { useTranslation } from 'react-i18next' -import type { Garnishment } from '@gusto/embedded-api-v-2025-11-15/models/components/garnishment' +import type { Garnishment } from '@gusto/embedded-api-v-2026-02-01/models/components/garnishment' import type { UseDeductionsListReady } from '../../shared/useDeductionsList' import { formatDeductionAmount } from '../../shared/formatDeductionAmount' import { useDataView, DataView } from '@/components/Common' diff --git a/src/components/Employee/Deductions/onboarding/deductionsContextualComponents.tsx b/src/components/Employee/Deductions/onboarding/deductionsContextualComponents.tsx index bccbf94ab..dfaf140f3 100644 --- a/src/components/Employee/Deductions/onboarding/deductionsContextualComponents.tsx +++ b/src/components/Employee/Deductions/onboarding/deductionsContextualComponents.tsx @@ -1,4 +1,4 @@ -import { type Garnishment } from '@gusto/embedded-api-v-2025-11-15/models/components/garnishment' +import { type Garnishment } from '@gusto/embedded-api-v-2026-02-01/models/components/garnishment' import { useDeductionsList } from '../shared/useDeductionsList' import { DeductionsForm } from '../shared/DeductionsForm' import { DeductionsList } from './DeductionsList/DeductionsList' diff --git a/src/components/Employee/Deductions/shared/DeductionsForm/ChildSupportFormView.tsx b/src/components/Employee/Deductions/shared/DeductionsForm/ChildSupportFormView.tsx index ee0c47716..3c9a30741 100644 --- a/src/components/Employee/Deductions/shared/DeductionsForm/ChildSupportFormView.tsx +++ b/src/components/Employee/Deductions/shared/DeductionsForm/ChildSupportFormView.tsx @@ -1,6 +1,6 @@ import { useTranslation } from 'react-i18next' -import type { Garnishment } from '@gusto/embedded-api-v-2025-11-15/models/components/garnishment' -import type { PaymentPeriod } from '@gusto/embedded-api-v-2025-11-15/models/components/garnishmentchildsupport' +import type { Garnishment } from '@gusto/embedded-api-v-2026-02-01/models/components/garnishment' +import type { PaymentPeriod } from '@gusto/embedded-api-v-2026-02-01/models/components/garnishmentchildsupport' import { useChildSupportGarnishmentForm } from '../useChildSupportGarnishmentForm' import type { StateFieldEntry, CountyEntry } from '../useChildSupportGarnishmentForm' import { Form } from '@/components/Common/Form' diff --git a/src/components/Employee/Deductions/shared/DeductionsForm/DeductionsForm.tsx b/src/components/Employee/Deductions/shared/DeductionsForm/DeductionsForm.tsx index e5422eb35..6d316581f 100644 --- a/src/components/Employee/Deductions/shared/DeductionsForm/DeductionsForm.tsx +++ b/src/components/Employee/Deductions/shared/DeductionsForm/DeductionsForm.tsx @@ -3,7 +3,7 @@ import { useMemo, useState } from 'react' import type { Garnishment, GarnishmentType, -} from '@gusto/embedded-api-v-2025-11-15/models/components/garnishment' +} from '@gusto/embedded-api-v-2026-02-01/models/components/garnishment' import { StandardDeductionForm } from './StandardDeductionForm' import { ChildSupportFormView } from './ChildSupportFormView' import { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext' diff --git a/src/components/Employee/Deductions/shared/DeductionsForm/StandardDeductionForm.tsx b/src/components/Employee/Deductions/shared/DeductionsForm/StandardDeductionForm.tsx index ba83ee92c..545a6946b 100644 --- a/src/components/Employee/Deductions/shared/DeductionsForm/StandardDeductionForm.tsx +++ b/src/components/Employee/Deductions/shared/DeductionsForm/StandardDeductionForm.tsx @@ -3,7 +3,7 @@ import { useWatch } from 'react-hook-form' import type { Garnishment, GarnishmentType, -} from '@gusto/embedded-api-v-2025-11-15/models/components/garnishment' +} from '@gusto/embedded-api-v-2026-02-01/models/components/garnishment' import type { Control } from 'react-hook-form' import { useDeductionForm } from '../useDeductionForm' import type { DeductionFormData } from '../useDeductionForm' diff --git a/src/components/Employee/Deductions/shared/DeleteDeductionDialog.tsx b/src/components/Employee/Deductions/shared/DeleteDeductionDialog.tsx index 74059c9cc..356c38636 100644 --- a/src/components/Employee/Deductions/shared/DeleteDeductionDialog.tsx +++ b/src/components/Employee/Deductions/shared/DeleteDeductionDialog.tsx @@ -1,5 +1,5 @@ import type { ReactNode } from 'react' -import type { Garnishment } from '@gusto/embedded-api-v-2025-11-15/models/components/garnishment' +import type { Garnishment } from '@gusto/embedded-api-v-2026-02-01/models/components/garnishment' import { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext' /** diff --git a/src/components/Employee/Deductions/shared/formatDeductionAmount.test.ts b/src/components/Employee/Deductions/shared/formatDeductionAmount.test.ts index 4f3574b0f..06adf8c9c 100644 --- a/src/components/Employee/Deductions/shared/formatDeductionAmount.test.ts +++ b/src/components/Employee/Deductions/shared/formatDeductionAmount.test.ts @@ -1,5 +1,5 @@ import { describe, expect, it, vi } from 'vitest' -import type { Garnishment } from '@gusto/embedded-api-v-2025-11-15/models/components/garnishment' +import type { Garnishment } from '@gusto/embedded-api-v-2026-02-01/models/components/garnishment' import { formatDeductionAmount } from './formatDeductionAmount' const formatters = { diff --git a/src/components/Employee/Deductions/shared/formatDeductionAmount.ts b/src/components/Employee/Deductions/shared/formatDeductionAmount.ts index 6f8470c93..8136f5447 100644 --- a/src/components/Employee/Deductions/shared/formatDeductionAmount.ts +++ b/src/components/Employee/Deductions/shared/formatDeductionAmount.ts @@ -1,4 +1,4 @@ -import type { Garnishment } from '@gusto/embedded-api-v-2025-11-15/models/components/garnishment' +import type { Garnishment } from '@gusto/embedded-api-v-2026-02-01/models/components/garnishment' /** @internal */ export interface DeductionAmountFormatters { diff --git a/src/components/Employee/Deductions/shared/useChildSupportGarnishmentForm/childSupportGarnishmentFormSchema.ts b/src/components/Employee/Deductions/shared/useChildSupportGarnishmentForm/childSupportGarnishmentFormSchema.ts index 9bff2c869..19d1ba7ec 100644 --- a/src/components/Employee/Deductions/shared/useChildSupportGarnishmentForm/childSupportGarnishmentFormSchema.ts +++ b/src/components/Employee/Deductions/shared/useChildSupportGarnishmentForm/childSupportGarnishmentFormSchema.ts @@ -1,6 +1,6 @@ import { z } from 'zod' -import { PaymentPeriod } from '@gusto/embedded-api-v-2025-11-15/models/components/garnishmentchildsupport' -import type { Agencies } from '@gusto/embedded-api-v-2025-11-15/models/components/childsupportdata' +import { PaymentPeriod } from '@gusto/embedded-api-v-2026-02-01/models/components/garnishmentchildsupport' +import type { Agencies } from '@gusto/embedded-api-v-2026-02-01/models/components/childsupportdata' import { buildFormSchema, type RequiredFieldConfig, diff --git a/src/components/Employee/Deductions/shared/useChildSupportGarnishmentForm/fields.tsx b/src/components/Employee/Deductions/shared/useChildSupportGarnishmentForm/fields.tsx index 1bd1530d7..66b677d6e 100644 --- a/src/components/Employee/Deductions/shared/useChildSupportGarnishmentForm/fields.tsx +++ b/src/components/Employee/Deductions/shared/useChildSupportGarnishmentForm/fields.tsx @@ -1,4 +1,4 @@ -import type { PaymentPeriod } from '@gusto/embedded-api-v-2025-11-15/models/components/garnishmentchildsupport' +import type { PaymentPeriod } from '@gusto/embedded-api-v-2026-02-01/models/components/garnishmentchildsupport' import type { ChildSupportGarnishmentFormErrorCodes } from './childSupportGarnishmentFormSchema' import type { TextInputHookFieldProps } from '@/partner-hook-utils/form/fields/TextInputHookField' import type { NumberInputHookFieldProps } from '@/partner-hook-utils/form/fields/NumberInputHookField' diff --git a/src/components/Employee/Deductions/shared/useChildSupportGarnishmentForm/useChildSupportGarnishmentForm.tsx b/src/components/Employee/Deductions/shared/useChildSupportGarnishmentForm/useChildSupportGarnishmentForm.tsx index 094bbca1e..09133b438 100644 --- a/src/components/Employee/Deductions/shared/useChildSupportGarnishmentForm/useChildSupportGarnishmentForm.tsx +++ b/src/components/Employee/Deductions/shared/useChildSupportGarnishmentForm/useChildSupportGarnishmentForm.tsx @@ -5,13 +5,13 @@ import { zodResolver } from '@hookform/resolvers/zod' import { type Garnishment, type GarnishmentType, -} from '@gusto/embedded-api-v-2025-11-15/models/components/garnishment' -import type { Agencies } from '@gusto/embedded-api-v-2025-11-15/models/components/childsupportdata' -import { PaymentPeriod } from '@gusto/embedded-api-v-2025-11-15/models/components/garnishmentchildsupport' -import { useGarnishmentsCreateMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/garnishmentsCreate' -import { useGarnishmentsUpdateMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/garnishmentsUpdate' -import { useGarnishmentsList } from '@gusto/embedded-api-v-2025-11-15/react-query/garnishmentsList' -import { useGarnishmentsGetChildSupportData } from '@gusto/embedded-api-v-2025-11-15/react-query/garnishmentsGetChildSupportData' +} from '@gusto/embedded-api-v-2026-02-01/models/components/garnishment' +import type { Agencies } from '@gusto/embedded-api-v-2026-02-01/models/components/childsupportdata' +import { PaymentPeriod } from '@gusto/embedded-api-v-2026-02-01/models/components/garnishmentchildsupport' +import { useGarnishmentsCreateMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/garnishmentsCreate' +import { useGarnishmentsUpdateMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/garnishmentsUpdate' +import { useGarnishmentsList } from '@gusto/embedded-api-v-2026-02-01/react-query/garnishmentsList' +import { useGarnishmentsGetChildSupportData } from '@gusto/embedded-api-v-2026-02-01/react-query/garnishmentsGetChildSupportData' import { createChildSupportGarnishmentFormSchema, getRequiredAttrKeys, diff --git a/src/components/Employee/Deductions/shared/useDeductionForm/deductionFormSchema.ts b/src/components/Employee/Deductions/shared/useDeductionForm/deductionFormSchema.ts index 90d2728d8..ee7beeb6b 100644 --- a/src/components/Employee/Deductions/shared/useDeductionForm/deductionFormSchema.ts +++ b/src/components/Employee/Deductions/shared/useDeductionForm/deductionFormSchema.ts @@ -1,5 +1,5 @@ import { z } from 'zod' -import { GarnishmentType } from '@gusto/embedded-api-v-2025-11-15/models/components/garnishment' +import { GarnishmentType } from '@gusto/embedded-api-v-2026-02-01/models/components/garnishment' import { buildFormSchema, type RequiredFieldConfig, diff --git a/src/components/Employee/Deductions/shared/useDeductionForm/fields.tsx b/src/components/Employee/Deductions/shared/useDeductionForm/fields.tsx index f9fe06b3e..3a2e0119c 100644 --- a/src/components/Employee/Deductions/shared/useDeductionForm/fields.tsx +++ b/src/components/Employee/Deductions/shared/useDeductionForm/fields.tsx @@ -1,4 +1,4 @@ -import type { GarnishmentType } from '@gusto/embedded-api-v-2025-11-15/models/components/garnishment' +import type { GarnishmentType } from '@gusto/embedded-api-v-2026-02-01/models/components/garnishment' import type { DeductionFormErrorCodes } from './deductionFormSchema' import type { TextInputHookFieldProps } from '@/partner-hook-utils/form/fields/TextInputHookField' import type { NumberInputHookFieldProps } from '@/partner-hook-utils/form/fields/NumberInputHookField' diff --git a/src/components/Employee/Deductions/shared/useDeductionForm/useDeductionForm.tsx b/src/components/Employee/Deductions/shared/useDeductionForm/useDeductionForm.tsx index 2f342b383..eaa267da9 100644 --- a/src/components/Employee/Deductions/shared/useDeductionForm/useDeductionForm.tsx +++ b/src/components/Employee/Deductions/shared/useDeductionForm/useDeductionForm.tsx @@ -5,10 +5,10 @@ import { zodResolver } from '@hookform/resolvers/zod' import { type Garnishment, type GarnishmentType, -} from '@gusto/embedded-api-v-2025-11-15/models/components/garnishment' -import { useGarnishmentsCreateMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/garnishmentsCreate' -import { useGarnishmentsUpdateMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/garnishmentsUpdate' -import { useGarnishmentsList } from '@gusto/embedded-api-v-2025-11-15/react-query/garnishmentsList' +} from '@gusto/embedded-api-v-2026-02-01/models/components/garnishment' +import { useGarnishmentsCreateMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/garnishmentsCreate' +import { useGarnishmentsUpdateMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/garnishmentsUpdate' +import { useGarnishmentsList } from '@gusto/embedded-api-v-2026-02-01/react-query/garnishmentsList' import { createDeductionFormSchema, type DeductionFormData, diff --git a/src/components/Employee/Deductions/shared/useDeductionsList.test.tsx b/src/components/Employee/Deductions/shared/useDeductionsList.test.tsx index 773ca2fd1..613e7feb6 100644 --- a/src/components/Employee/Deductions/shared/useDeductionsList.test.tsx +++ b/src/components/Employee/Deductions/shared/useDeductionsList.test.tsx @@ -1,7 +1,7 @@ import { renderHook, act, waitFor } from '@testing-library/react' import { describe, it, expect, beforeEach, vi } from 'vitest' import { http, HttpResponse, type HttpResponseResolver } from 'msw' -import type { Garnishment } from '@gusto/embedded-api-v-2025-11-15/models/components/garnishment' +import type { Garnishment } from '@gusto/embedded-api-v-2026-02-01/models/components/garnishment' import { useDeductionsList, type UseDeductionsListResult } from './useDeductionsList' import { server } from '@/test/mocks/server' import { setupApiTestMocks } from '@/test/mocks/apiServer' diff --git a/src/components/Employee/Deductions/shared/useDeductionsList.tsx b/src/components/Employee/Deductions/shared/useDeductionsList.tsx index 34068ed27..d8a354438 100644 --- a/src/components/Employee/Deductions/shared/useDeductionsList.tsx +++ b/src/components/Employee/Deductions/shared/useDeductionsList.tsx @@ -1,6 +1,6 @@ -import { useGarnishmentsList } from '@gusto/embedded-api-v-2025-11-15/react-query/garnishmentsList' -import { useGarnishmentsUpdateMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/garnishmentsUpdate' -import type { Garnishment } from '@gusto/embedded-api-v-2025-11-15/models/components/garnishment' +import { useGarnishmentsList } from '@gusto/embedded-api-v-2026-02-01/react-query/garnishmentsList' +import { useGarnishmentsUpdateMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/garnishmentsUpdate' +import type { Garnishment } from '@gusto/embedded-api-v-2026-02-01/models/components/garnishment' import { useBaseSubmit } from '@/components/Base/useBaseSubmit' import { composeErrorHandler } from '@/partner-hook-utils/composeErrorHandler' import type { BaseHookReady, HookLoadingResult, HookSubmitResult } from '@/partner-hook-utils/types' diff --git a/src/components/Employee/Deductions/shared/useDeleteDeduction.ts b/src/components/Employee/Deductions/shared/useDeleteDeduction.ts index 2b46c5684..37b453a7e 100644 --- a/src/components/Employee/Deductions/shared/useDeleteDeduction.ts +++ b/src/components/Employee/Deductions/shared/useDeleteDeduction.ts @@ -1,5 +1,5 @@ import { useState } from 'react' -import type { Garnishment } from '@gusto/embedded-api-v-2025-11-15/models/components/garnishment' +import type { Garnishment } from '@gusto/embedded-api-v-2026-02-01/models/components/garnishment' /** * Pending-state + confirm-handler companion for `DeleteDeductionDialog`. diff --git a/src/components/Employee/Documents/management/DocumentManager.tsx b/src/components/Employee/Documents/management/DocumentManager.tsx index 6c99649a7..a9d64f518 100644 --- a/src/components/Employee/Documents/management/DocumentManager.tsx +++ b/src/components/Employee/Documents/management/DocumentManager.tsx @@ -1,6 +1,6 @@ import { Trans, useTranslation } from 'react-i18next' -import { useEmployeeFormsGetSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/employeeFormsGet' -import { useEmployeeFormsGetPdfSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/employeeFormsGetPdf' +import { useEmployeeFormsGetSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/employeeFormsGet' +import { useEmployeeFormsGetPdfSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/employeeFormsGetPdf' import { BaseComponent, useBase, type BaseComponentInterface } from '@/components/Base' import type { BaseComponentKeys } from '@/components/Base/Base' import { ActionsLayout, Flex } from '@/components/Common' diff --git a/src/components/Employee/Documents/management/DocumentsCard/DocumentsCard.tsx b/src/components/Employee/Documents/management/DocumentsCard/DocumentsCard.tsx index 0fa5838d5..3527ecd11 100644 --- a/src/components/Employee/Documents/management/DocumentsCard/DocumentsCard.tsx +++ b/src/components/Employee/Documents/management/DocumentsCard/DocumentsCard.tsx @@ -1,5 +1,5 @@ import { useTranslation } from 'react-i18next' -import type { Form } from '@gusto/embedded-api-v-2025-11-15/models/components/form' +import type { Form } from '@gusto/embedded-api-v-2026-02-01/models/components/form' import { useDocumentsList } from '../../shared/useDocumentsList' import { DataView, useDataView, EmptyData, Loading } from '@/components/Common' import { BaseBoundaries, BaseLayout } from '@/components/Base/Base' diff --git a/src/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/DocumentList.tsx b/src/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/DocumentList.tsx index 1c7fd9ec8..ff5d1f013 100644 --- a/src/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/DocumentList.tsx +++ b/src/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/DocumentList.tsx @@ -1,5 +1,5 @@ -import { useEmployeeFormsListSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/employeeFormsList' -import { type Form } from '@gusto/embedded-api-v-2025-11-15/models/components/form' +import { useEmployeeFormsListSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/employeeFormsList' +import { type Form } from '@gusto/embedded-api-v-2026-02-01/models/components/form' import { Head } from './Head' import { List } from './List' import { Actions } from './Actions' diff --git a/src/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/useDocumentList.ts b/src/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/useDocumentList.ts index d9c495ea6..45983e81f 100644 --- a/src/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/useDocumentList.ts +++ b/src/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/useDocumentList.ts @@ -1,4 +1,4 @@ -import type { Form } from '@gusto/embedded-api-v-2025-11-15/models/components/form' +import type { Form } from '@gusto/embedded-api-v-2026-02-01/models/components/form' import { createCompoundContext } from '@/components/Base' type DocumentListContextType = { diff --git a/src/components/Employee/Documents/onboarding/DocumentSigner/DocumentSigner.tsx b/src/components/Employee/Documents/onboarding/DocumentSigner/DocumentSigner.tsx index 5b2f1aa9e..9908bbb21 100644 --- a/src/components/Employee/Documents/onboarding/DocumentSigner/DocumentSigner.tsx +++ b/src/components/Employee/Documents/onboarding/DocumentSigner/DocumentSigner.tsx @@ -1,7 +1,7 @@ import { createMachine } from 'robot3' import { useMemo } from 'react' -import { useEmployeesGetSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/employeesGet' -import { useEmployeeFormsListSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/employeeFormsList' +import { useEmployeesGetSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/employeesGet' +import { useEmployeeFormsListSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/employeeFormsList' import { DocumentListContextual, EmploymentEligibilityContextual, diff --git a/src/components/Employee/Documents/onboarding/DocumentSigner/EmploymentEligibility/EmploymentEligibility.tsx b/src/components/Employee/Documents/onboarding/DocumentSigner/EmploymentEligibility/EmploymentEligibility.tsx index 7ffe75584..926f8d320 100644 --- a/src/components/Employee/Documents/onboarding/DocumentSigner/EmploymentEligibility/EmploymentEligibility.tsx +++ b/src/components/Employee/Documents/onboarding/DocumentSigner/EmploymentEligibility/EmploymentEligibility.tsx @@ -1,6 +1,6 @@ -import { GustoEmbeddedError } from '@gusto/embedded-api-v-2025-11-15/models/errors/gustoembeddederror' -import { useI9VerificationGetAuthorization } from '@gusto/embedded-api-v-2025-11-15/react-query/i9VerificationGetAuthorization' -import { useI9VerificationUpdateMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/i9VerificationUpdate' +import { GustoEmbeddedError } from '@gusto/embedded-api-v-2026-02-01/models/errors/gustoembeddederror' +import { useI9VerificationGetAuthorization } from '@gusto/embedded-api-v-2026-02-01/react-query/i9VerificationGetAuthorization' +import { useI9VerificationUpdateMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/i9VerificationUpdate' import { EmploymentEligibilityPresentation } from './EmploymentEligibilityPresentation' import type { EmploymentEligibilityInputs, diff --git a/src/components/Employee/Documents/onboarding/DocumentSigner/EmploymentEligibility/EmploymentEligibilityPresentation.tsx b/src/components/Employee/Documents/onboarding/DocumentSigner/EmploymentEligibility/EmploymentEligibilityPresentation.tsx index 77e4fbd8e..4c3c7af12 100644 --- a/src/components/Employee/Documents/onboarding/DocumentSigner/EmploymentEligibility/EmploymentEligibilityPresentation.tsx +++ b/src/components/Employee/Documents/onboarding/DocumentSigner/EmploymentEligibility/EmploymentEligibilityPresentation.tsx @@ -5,7 +5,7 @@ import { zodResolver } from '@hookform/resolvers/zod' import { AuthorizationStatus, DocumentType as I9AuthorizationDocumentType, -} from '@gusto/embedded-api-v-2025-11-15/models/components/i9authorization' +} from '@gusto/embedded-api-v-2026-02-01/models/components/i9authorization' import { generateEmploymentEligibilitySchema, type EmploymentEligibilityInputs, diff --git a/src/components/Employee/Documents/onboarding/DocumentSigner/EmploymentEligibility/EmploymentEligibilitySchema.ts b/src/components/Employee/Documents/onboarding/DocumentSigner/EmploymentEligibility/EmploymentEligibilitySchema.ts index 869dc5161..73bacfec3 100644 --- a/src/components/Employee/Documents/onboarding/DocumentSigner/EmploymentEligibility/EmploymentEligibilitySchema.ts +++ b/src/components/Employee/Documents/onboarding/DocumentSigner/EmploymentEligibility/EmploymentEligibilitySchema.ts @@ -2,7 +2,7 @@ import { z } from 'zod' import { AuthorizationStatus, DocumentType as I9AuthorizationDocumentType, -} from '@gusto/embedded-api-v-2025-11-15/models/components/i9authorization' +} from '@gusto/embedded-api-v-2026-02-01/models/components/i9authorization' const isValidUscisNumber = (value: string) => /^[Aa]?\d{7,9}$/.test(value) const isValidI94Number = (value: string) => /^\d{9} ?[A-Za-z\d]\d$/.test(value) diff --git a/src/components/Employee/Documents/onboarding/DocumentSigner/I9SignatureForm/I9SignatureForm.tsx b/src/components/Employee/Documents/onboarding/DocumentSigner/I9SignatureForm/I9SignatureForm.tsx index ae00957c3..2b4bffa87 100644 --- a/src/components/Employee/Documents/onboarding/DocumentSigner/I9SignatureForm/I9SignatureForm.tsx +++ b/src/components/Employee/Documents/onboarding/DocumentSigner/I9SignatureForm/I9SignatureForm.tsx @@ -1,6 +1,6 @@ import { useTranslation, Trans } from 'react-i18next' -import type { AuthorizationStatus } from '@gusto/embedded-api-v-2025-11-15/models/components/i9authorization' -import { useI9VerificationGetAuthorization } from '@gusto/embedded-api-v-2025-11-15/react-query/i9VerificationGetAuthorization' +import type { AuthorizationStatus } from '@gusto/embedded-api-v-2026-02-01/models/components/i9authorization' +import { useI9VerificationGetAuthorization } from '@gusto/embedded-api-v-2026-02-01/react-query/i9VerificationGetAuthorization' import { useSignEmployeeForm, type PreparerFieldGroup } from '../../../shared/useSignEmployeeForm' import styles from './I9SignatureForm.module.scss' import { BaseComponent, type BaseComponentInterface } from '@/components/Base/Base' diff --git a/src/components/Employee/Documents/onboarding/DocumentSigner/documentSignerStateMachine.tsx b/src/components/Employee/Documents/onboarding/DocumentSigner/documentSignerStateMachine.tsx index 33236faf9..ce13780ca 100644 --- a/src/components/Employee/Documents/onboarding/DocumentSigner/documentSignerStateMachine.tsx +++ b/src/components/Employee/Documents/onboarding/DocumentSigner/documentSignerStateMachine.tsx @@ -1,4 +1,4 @@ -import { type Form } from '@gusto/embedded-api-v-2025-11-15/models/components/form' +import { type Form } from '@gusto/embedded-api-v-2026-02-01/models/components/form' import { SignatureForm } from '../../shared/SignatureForm/SignatureForm' import { EmploymentEligibility } from './EmploymentEligibility' import { I9SignatureForm } from './I9SignatureForm/I9SignatureForm' diff --git a/src/components/Employee/Documents/onboarding/EmployeeDocuments/EmployeeDocuments.tsx b/src/components/Employee/Documents/onboarding/EmployeeDocuments/EmployeeDocuments.tsx index 0a412b62a..43d013a09 100644 --- a/src/components/Employee/Documents/onboarding/EmployeeDocuments/EmployeeDocuments.tsx +++ b/src/components/Employee/Documents/onboarding/EmployeeDocuments/EmployeeDocuments.tsx @@ -1,9 +1,9 @@ import { useIsMutating } from '@tanstack/react-query' -import { useEmployeesGetSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/employeesGet' +import { useEmployeesGetSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/employeesGet' import { useEmployeesUpdateOnboardingDocumentsConfigMutation, mutationKeyEmployeesUpdateOnboardingDocumentsConfig, -} from '@gusto/embedded-api-v-2025-11-15/react-query/employeesUpdateOnboardingDocumentsConfig' +} from '@gusto/embedded-api-v-2026-02-01/react-query/employeesUpdateOnboardingDocumentsConfig' import { EmployeeDocumentsPresentation, type EmployeeDocumentsFormValues, diff --git a/src/components/Employee/Documents/shared/useDocumentsList/useDocumentsList.tsx b/src/components/Employee/Documents/shared/useDocumentsList/useDocumentsList.tsx index b9c2eeca3..966b9178c 100644 --- a/src/components/Employee/Documents/shared/useDocumentsList/useDocumentsList.tsx +++ b/src/components/Employee/Documents/shared/useDocumentsList/useDocumentsList.tsx @@ -1,5 +1,5 @@ -import { useEmployeeFormsList } from '@gusto/embedded-api-v-2025-11-15/react-query/employeeFormsList' -import type { Form } from '@gusto/embedded-api-v-2025-11-15/models/components/form' +import { useEmployeeFormsList } from '@gusto/embedded-api-v-2026-02-01/react-query/employeeFormsList' +import type { Form } from '@gusto/embedded-api-v-2026-02-01/models/components/form' import { composeErrorHandler } from '@/partner-hook-utils/composeErrorHandler' import type { BaseHookReady, HookLoadingResult } from '@/partner-hook-utils/types' diff --git a/src/components/Employee/Documents/shared/useSignEmployeeForm/useSignEmployeeForm.tsx b/src/components/Employee/Documents/shared/useSignEmployeeForm/useSignEmployeeForm.tsx index d69f00ccf..7c0820f5e 100644 --- a/src/components/Employee/Documents/shared/useSignEmployeeForm/useSignEmployeeForm.tsx +++ b/src/components/Employee/Documents/shared/useSignEmployeeForm/useSignEmployeeForm.tsx @@ -2,10 +2,10 @@ import type { JSX } from 'react' import { useMemo, useCallback, useState, useEffect } from 'react' import { useForm } from 'react-hook-form' import { zodResolver } from '@hookform/resolvers/zod' -import type { Form } from '@gusto/embedded-api-v-2025-11-15/models/components/form' -import { useEmployeeFormsGet } from '@gusto/embedded-api-v-2025-11-15/react-query/employeeFormsGet' -import { useEmployeeFormsGetPdf } from '@gusto/embedded-api-v-2025-11-15/react-query/employeeFormsGetPdf' -import { useEmployeeFormsSignMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/employeeFormsSign' +import type { Form } from '@gusto/embedded-api-v-2026-02-01/models/components/form' +import { useEmployeeFormsGet } from '@gusto/embedded-api-v-2026-02-01/react-query/employeeFormsGet' +import { useEmployeeFormsGetPdf } from '@gusto/embedded-api-v-2026-02-01/react-query/employeeFormsGetPdf' +import { useEmployeeFormsSignMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/employeeFormsSign' import { createSignEmployeeFormSchema, MAX_PREPARERS, diff --git a/src/components/Employee/EmployeeList/onboarding/EmployeeList.tsx b/src/components/Employee/EmployeeList/onboarding/EmployeeList.tsx index d85cf8abc..3d674c3e5 100644 --- a/src/components/Employee/EmployeeList/onboarding/EmployeeList.tsx +++ b/src/components/Employee/EmployeeList/onboarding/EmployeeList.tsx @@ -1,4 +1,4 @@ -import type { OnboardingStatus } from '@gusto/embedded-api-v-2025-11-15/models/operations/putv1employeesemployeeidonboardingstatus' +import type { OnboardingStatus } from '@gusto/embedded-api-v-2026-02-01/models/operations/putv1employeesemployeeidonboardingstatus' import { useEmployeeList } from '../shared/useEmployeeList' import { EmployeeListView } from './EmployeeListView' import { BaseBoundaries, BaseLayout, type BaseComponentInterface } from '@/components/Base/Base' diff --git a/src/components/Employee/EmployeeList/onboarding/EmployeeListView.tsx b/src/components/Employee/EmployeeList/onboarding/EmployeeListView.tsx index 4bd0084c6..a9cde34e9 100644 --- a/src/components/Employee/EmployeeList/onboarding/EmployeeListView.tsx +++ b/src/components/Employee/EmployeeList/onboarding/EmployeeListView.tsx @@ -1,6 +1,6 @@ import { useState } from 'react' import { useTranslation } from 'react-i18next' -import type { OnboardingStatus } from '@gusto/embedded-api-v-2025-11-15/models/operations/putv1employeesemployeeidonboardingstatus' +import type { OnboardingStatus } from '@gusto/embedded-api-v-2026-02-01/models/operations/putv1employeesemployeeidonboardingstatus' import type { UseEmployeeListResult, EmployeeWithActions } from '../shared/useEmployeeList' import { DataView, EmptyData, ActionsLayout, useDataView, Flex } from '@/components/Common' import { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext' diff --git a/src/components/Employee/EmployeeList/shared/useEmployeeList.tsx b/src/components/Employee/EmployeeList/shared/useEmployeeList.tsx index cb9259685..5ed41aac1 100644 --- a/src/components/Employee/EmployeeList/shared/useEmployeeList.tsx +++ b/src/components/Employee/EmployeeList/shared/useEmployeeList.tsx @@ -1,10 +1,10 @@ import { useMemo } from 'react' -import { useEmployeesList } from '@gusto/embedded-api-v-2025-11-15/react-query/employeesList' -import type { Employee } from '@gusto/embedded-api-v-2025-11-15/models/components/employee' -import type { Job } from '@gusto/embedded-api-v-2025-11-15/models/components/job' -import type { EmployeeOnboardingStatus as EmployeeOnboardingStatusEntity } from '@gusto/embedded-api-v-2025-11-15/models/components/employeeonboardingstatus' -import { useEmployeesDeleteMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/employeesDelete' -import { useEmployeesUpdateOnboardingStatusMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/employeesUpdateOnboardingStatus' +import { useEmployeesList } from '@gusto/embedded-api-v-2026-02-01/react-query/employeesList' +import type { Employee } from '@gusto/embedded-api-v-2026-02-01/models/components/employee' +import type { Job } from '@gusto/embedded-api-v-2026-02-01/models/components/job' +import type { EmployeeOnboardingStatus as EmployeeOnboardingStatusEntity } from '@gusto/embedded-api-v-2026-02-01/models/components/employeeonboardingstatus' +import { useEmployeesDeleteMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/employeesDelete' +import { useEmployeesUpdateOnboardingStatusMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/employeesUpdateOnboardingStatus' import { keepPreviousData } from '@tanstack/react-query' import { usePagination } from '@/hooks/usePagination/usePagination' import type { PaginationControlProps } from '@/components/Common/PaginationControl/PaginationControlTypes' diff --git a/src/components/Employee/FederalTaxes/shared/useFederalTaxesForm/federalTaxesSchema.ts b/src/components/Employee/FederalTaxes/shared/useFederalTaxesForm/federalTaxesSchema.ts index ffbda6ee7..2e57474fc 100644 --- a/src/components/Employee/FederalTaxes/shared/useFederalTaxesForm/federalTaxesSchema.ts +++ b/src/components/Employee/FederalTaxes/shared/useFederalTaxesForm/federalTaxesSchema.ts @@ -1,5 +1,5 @@ import { z } from 'zod' -import { FilingStatus } from '@gusto/embedded-api-v-2025-11-15/models/operations/putv1employeesemployeeidfederaltaxes' +import { FilingStatus } from '@gusto/embedded-api-v-2026-02-01/models/operations/putv1employeesemployeeidfederaltaxes' import { buildFormSchema, type RequiredFieldConfig, diff --git a/src/components/Employee/FederalTaxes/shared/useFederalTaxesForm/useFederalTaxesForm.tsx b/src/components/Employee/FederalTaxes/shared/useFederalTaxesForm/useFederalTaxesForm.tsx index 894c74eb4..d4a7123ac 100644 --- a/src/components/Employee/FederalTaxes/shared/useFederalTaxesForm/useFederalTaxesForm.tsx +++ b/src/components/Employee/FederalTaxes/shared/useFederalTaxesForm/useFederalTaxesForm.tsx @@ -2,14 +2,14 @@ import { useMemo } from 'react' import { useForm } from 'react-hook-form' import type { UseFormProps } from 'react-hook-form' import { zodResolver } from '@hookform/resolvers/zod' -import type { EmployeeFederalTax } from '@gusto/embedded-api-v-2025-11-15/models/components/employeefederaltax' -import type { EmployeeFederalTaxRev2020 } from '@gusto/embedded-api-v-2025-11-15/models/components/employeefederaltaxrev2020' -import { useEmployeeTaxSetupGetFederalTaxes } from '@gusto/embedded-api-v-2025-11-15/react-query/employeeTaxSetupGetFederalTaxes' -import { useEmployeeTaxSetupUpdateFederalTaxesMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/employeeTaxSetupUpdateFederalTaxes' +import type { EmployeeFederalTax } from '@gusto/embedded-api-v-2026-02-01/models/components/employeefederaltax' +import type { EmployeeFederalTaxRev2020 } from '@gusto/embedded-api-v-2026-02-01/models/components/employeefederaltaxrev2020' +import { useEmployeeTaxSetupGetFederalTaxes } from '@gusto/embedded-api-v-2026-02-01/react-query/employeeTaxSetupGetFederalTaxes' +import { useEmployeeTaxSetupUpdateFederalTaxesMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/employeeTaxSetupUpdateFederalTaxes' import type { FilingStatus, PutV1EmployeesEmployeeIdFederalTaxesRequestBody, -} from '@gusto/embedded-api-v-2025-11-15/models/operations/putv1employeesemployeeidfederaltaxes' +} from '@gusto/embedded-api-v-2026-02-01/models/operations/putv1employeesemployeeidfederaltaxes' import { createFederalTaxesSchema, FILING_STATUS_VALUES, diff --git a/src/components/Employee/FederalTaxes/shared/useFederalTaxesSummary/useFederalTaxesSummary.tsx b/src/components/Employee/FederalTaxes/shared/useFederalTaxesSummary/useFederalTaxesSummary.tsx index 0a72b6335..ae84fcebd 100644 --- a/src/components/Employee/FederalTaxes/shared/useFederalTaxesSummary/useFederalTaxesSummary.tsx +++ b/src/components/Employee/FederalTaxes/shared/useFederalTaxesSummary/useFederalTaxesSummary.tsx @@ -1,5 +1,5 @@ -import { useEmployeeTaxSetupGetFederalTaxes } from '@gusto/embedded-api-v-2025-11-15/react-query/employeeTaxSetupGetFederalTaxes' -import type { GetV1EmployeesEmployeeIdFederalTaxesResponse } from '@gusto/embedded-api-v-2025-11-15/models/operations/getv1employeesemployeeidfederaltaxes' +import { useEmployeeTaxSetupGetFederalTaxes } from '@gusto/embedded-api-v-2026-02-01/react-query/employeeTaxSetupGetFederalTaxes' +import type { GetV1EmployeesEmployeeIdFederalTaxesResponse } from '@gusto/embedded-api-v-2026-02-01/models/operations/getv1employeesemployeeidfederaltaxes' import { composeErrorHandler } from '@/partner-hook-utils/composeErrorHandler' import type { BaseHookReady, HookLoadingResult } from '@/partner-hook-utils/types' diff --git a/src/components/Employee/HomeAddress/management/HomeAddressEditForm.tsx b/src/components/Employee/HomeAddress/management/HomeAddressEditForm.tsx index 9806eac6e..4d765cc9a 100644 --- a/src/components/Employee/HomeAddress/management/HomeAddressEditForm.tsx +++ b/src/components/Employee/HomeAddress/management/HomeAddressEditForm.tsx @@ -1,4 +1,4 @@ -import type { EmployeeAddress } from '@gusto/embedded-api-v-2025-11-15/models/components/employeeaddress' +import type { EmployeeAddress } from '@gusto/embedded-api-v-2026-02-01/models/components/employeeaddress' import { HomeAddressView } from './HomeAddressView' import { isUseHomeAddressManagementSuccess, diff --git a/src/components/Employee/HomeAddress/management/HomeAddressView.tsx b/src/components/Employee/HomeAddress/management/HomeAddressView.tsx index 6cfc1e7fb..ba7d12d8e 100644 --- a/src/components/Employee/HomeAddress/management/HomeAddressView.tsx +++ b/src/components/Employee/HomeAddress/management/HomeAddressView.tsx @@ -1,7 +1,7 @@ import { useLayoutEffect, useMemo, useRef, useState } from 'react' import { Trans, useTranslation } from 'react-i18next' import { useWatch } from 'react-hook-form' -import type { EmployeeAddress } from '@gusto/embedded-api-v-2025-11-15/models/components/employeeaddress' +import type { EmployeeAddress } from '@gusto/embedded-api-v-2026-02-01/models/components/employeeaddress' import type { TFunction } from 'i18next' import { formatPendingHomeAddressLine, diff --git a/src/components/Employee/HomeAddress/management/getPendingFutureHomeAddress.test.ts b/src/components/Employee/HomeAddress/management/getPendingFutureHomeAddress.test.ts index 84d830480..3ebe24248 100644 --- a/src/components/Employee/HomeAddress/management/getPendingFutureHomeAddress.test.ts +++ b/src/components/Employee/HomeAddress/management/getPendingFutureHomeAddress.test.ts @@ -1,6 +1,6 @@ import { describe, expect, it } from 'vitest' -import type { EmployeeAddress } from '@gusto/embedded-api-v-2025-11-15/models/components/employeeaddress' -import { RFCDate } from '@gusto/embedded-api-v-2025-11-15/types/rfcdate' +import type { EmployeeAddress } from '@gusto/embedded-api-v-2026-02-01/models/components/employeeaddress' +import { RFCDate } from '@gusto/embedded-api-v-2026-02-01/types/rfcdate' import { formatPendingHomeAddressLine, getPendingFutureHomeAddress, diff --git a/src/components/Employee/HomeAddress/management/getPendingFutureHomeAddress.ts b/src/components/Employee/HomeAddress/management/getPendingFutureHomeAddress.ts index d2dceec21..8dceaa851 100644 --- a/src/components/Employee/HomeAddress/management/getPendingFutureHomeAddress.ts +++ b/src/components/Employee/HomeAddress/management/getPendingFutureHomeAddress.ts @@ -1,4 +1,4 @@ -import type { EmployeeAddress } from '@gusto/embedded-api-v-2025-11-15/models/components/employeeaddress' +import type { EmployeeAddress } from '@gusto/embedded-api-v-2026-02-01/models/components/employeeaddress' import { normalizeToDate } from '@/helpers/dateFormatting' const startOfLocalDay = (d: Date) => new Date(d.getFullYear(), d.getMonth(), d.getDate()) diff --git a/src/components/Employee/HomeAddress/management/useHomeAddressManagement.tsx b/src/components/Employee/HomeAddress/management/useHomeAddressManagement.tsx index 80522f03b..d8d4fe9fa 100644 --- a/src/components/Employee/HomeAddress/management/useHomeAddressManagement.tsx +++ b/src/components/Employee/HomeAddress/management/useHomeAddressManagement.tsx @@ -1,8 +1,8 @@ import { useMemo, useState } from 'react' -import type { EmployeeAddress } from '@gusto/embedded-api-v-2025-11-15/models/components/employeeaddress' -import { useEmployeeAddressesDeleteMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/employeeAddressesDelete' -import { useEmployeeAddressesGet } from '@gusto/embedded-api-v-2025-11-15/react-query/employeeAddressesGet' -import { useEmployeesGet } from '@gusto/embedded-api-v-2025-11-15/react-query/employeesGet' +import type { EmployeeAddress } from '@gusto/embedded-api-v-2026-02-01/models/components/employeeaddress' +import { useEmployeeAddressesDeleteMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/employeeAddressesDelete' +import { useEmployeeAddressesGet } from '@gusto/embedded-api-v-2026-02-01/react-query/employeeAddressesGet' +import { useEmployeesGet } from '@gusto/embedded-api-v-2026-02-01/react-query/employeesGet' import type { OnEventType } from '@/components/Base/useBase' import { useBaseSubmit } from '@/components/Base/useBaseSubmit' import { useHomeAddressForm } from '@/components/Employee/Profile/shared/useHomeAddressForm' diff --git a/src/components/Employee/HomeAddress/shared/useHomeAddressSummary/useHomeAddressSummary.tsx b/src/components/Employee/HomeAddress/shared/useHomeAddressSummary/useHomeAddressSummary.tsx index 97de519fb..d88f9a5d9 100644 --- a/src/components/Employee/HomeAddress/shared/useHomeAddressSummary/useHomeAddressSummary.tsx +++ b/src/components/Employee/HomeAddress/shared/useHomeAddressSummary/useHomeAddressSummary.tsx @@ -1,5 +1,5 @@ -import { useEmployeeAddressesGet } from '@gusto/embedded-api-v-2025-11-15/react-query/employeeAddressesGet' -import type { EmployeeAddress } from '@gusto/embedded-api-v-2025-11-15/models/components/employeeaddress' +import { useEmployeeAddressesGet } from '@gusto/embedded-api-v-2026-02-01/react-query/employeeAddressesGet' +import type { EmployeeAddress } from '@gusto/embedded-api-v-2026-02-01/models/components/employeeaddress' import { composeErrorHandler } from '@/partner-hook-utils/composeErrorHandler' import type { BaseHookReady, HookLoadingResult } from '@/partner-hook-utils/types' diff --git a/src/components/Employee/Landing/Landing.tsx b/src/components/Employee/Landing/Landing.tsx index 9a7d78c8c..a590ff159 100644 --- a/src/components/Employee/Landing/Landing.tsx +++ b/src/components/Employee/Landing/Landing.tsx @@ -1,6 +1,6 @@ import { useTranslation } from 'react-i18next' -import { useEmployeesGetSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/employeesGet' -import { useCompaniesGetSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/companiesGet' +import { useEmployeesGetSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/employeesGet' +import { useCompaniesGetSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/companiesGet' import DOMPurify from 'dompurify' import { useMemo } from 'react' import { BaseComponent, useBase, type BaseComponentInterface } from '@/components/Base' diff --git a/src/components/Employee/OnboardingExecutionFlow/OnboardingExecutionFlowComponents.tsx b/src/components/Employee/OnboardingExecutionFlow/OnboardingExecutionFlowComponents.tsx index 3c02b25dc..c5913e4ae 100644 --- a/src/components/Employee/OnboardingExecutionFlow/OnboardingExecutionFlowComponents.tsx +++ b/src/components/Employee/OnboardingExecutionFlow/OnboardingExecutionFlowComponents.tsx @@ -1,4 +1,4 @@ -import type { PaymentMethodBankAccount } from '@gusto/embedded-api-v-2025-11-15/models/components/paymentmethodbankaccount' +import type { PaymentMethodBankAccount } from '@gusto/embedded-api-v-2026-02-01/models/components/paymentmethodbankaccount' import { Deductions } from '../Deductions/onboarding/Deductions' import { FederalTaxes } from '../FederalTaxes/onboarding/FederalTaxes' import { StateTaxes } from '../StateTaxes/onboarding/StateTaxes' diff --git a/src/components/Employee/OnboardingSummary/OnboardingSummary.tsx b/src/components/Employee/OnboardingSummary/OnboardingSummary.tsx index e9f0b699f..3399cd654 100644 --- a/src/components/Employee/OnboardingSummary/OnboardingSummary.tsx +++ b/src/components/Employee/OnboardingSummary/OnboardingSummary.tsx @@ -1,7 +1,7 @@ import { useTranslation } from 'react-i18next' import classNames from 'classnames' -import { useEmployeesGetSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/employeesGet' -import { useEmployeesGetOnboardingStatusSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/employeesGetOnboardingStatus' +import { useEmployeesGetSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/employeesGet' +import { useEmployeesGetOnboardingStatusSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/employeesGetOnboardingStatus' import DOMPurify from 'dompurify' import { useMemo } from 'react' import type { OnboardingContextInterface } from '../OnboardingFlow/OnboardingFlowComponents' diff --git a/src/components/Employee/PaymentMethod/shared/BankFormBody/BankFormBody.tsx b/src/components/Employee/PaymentMethod/shared/BankFormBody/BankFormBody.tsx index ecc0f3106..59c6be2f4 100644 --- a/src/components/Employee/PaymentMethod/shared/BankFormBody/BankFormBody.tsx +++ b/src/components/Employee/PaymentMethod/shared/BankFormBody/BankFormBody.tsx @@ -1,5 +1,5 @@ import { useTranslation } from 'react-i18next' -import type { EmployeeBankAccount } from '@gusto/embedded-api-v-2025-11-15/models/components/employeebankaccount' +import type { EmployeeBankAccount } from '@gusto/embedded-api-v-2026-02-01/models/components/employeebankaccount' import { useBankForm, type AccountType, type UseBankFormProps } from '../useBankForm' import { ActionsLayout } from '@/components/Common' import { Form } from '@/components/Common/Form' diff --git a/src/components/Employee/PaymentMethod/shared/SplitPaymentsFormBody/SplitPaymentsFormBody.tsx b/src/components/Employee/PaymentMethod/shared/SplitPaymentsFormBody/SplitPaymentsFormBody.tsx index b56856160..aeeff82d1 100644 --- a/src/components/Employee/PaymentMethod/shared/SplitPaymentsFormBody/SplitPaymentsFormBody.tsx +++ b/src/components/Employee/PaymentMethod/shared/SplitPaymentsFormBody/SplitPaymentsFormBody.tsx @@ -1,6 +1,6 @@ import { Trans, useTranslation } from 'react-i18next' import DOMPurify from 'dompurify' -import type { EmployeePaymentMethod } from '@gusto/embedded-api-v-2025-11-15/models/components/employeepaymentmethod' +import type { EmployeePaymentMethod } from '@gusto/embedded-api-v-2026-02-01/models/components/employeepaymentmethod' import { useSplitPaymentsForm, type SplitByValue, diff --git a/src/components/Employee/PaymentMethod/shared/useBankForm/useBankForm.tsx b/src/components/Employee/PaymentMethod/shared/useBankForm/useBankForm.tsx index e731b5942..18f17baf6 100644 --- a/src/components/Employee/PaymentMethod/shared/useBankForm/useBankForm.tsx +++ b/src/components/Employee/PaymentMethod/shared/useBankForm/useBankForm.tsx @@ -2,8 +2,8 @@ import { useMemo } from 'react' import { useForm } from 'react-hook-form' import type { UseFormProps } from 'react-hook-form' import { zodResolver } from '@hookform/resolvers/zod' -import type { EmployeeBankAccount } from '@gusto/embedded-api-v-2025-11-15/models/components/employeebankaccount' -import { useEmployeePaymentMethodCreateMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/employeePaymentMethodCreate' +import type { EmployeeBankAccount } from '@gusto/embedded-api-v-2026-02-01/models/components/employeebankaccount' +import { useEmployeePaymentMethodCreateMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/employeePaymentMethodCreate' import { ACCOUNT_TYPES, type AccountType, diff --git a/src/components/Employee/PaymentMethod/shared/usePaymentMethodForm/usePaymentMethodForm.tsx b/src/components/Employee/PaymentMethod/shared/usePaymentMethodForm/usePaymentMethodForm.tsx index 19cd40ba7..32a1570a0 100644 --- a/src/components/Employee/PaymentMethod/shared/usePaymentMethodForm/usePaymentMethodForm.tsx +++ b/src/components/Employee/PaymentMethod/shared/usePaymentMethodForm/usePaymentMethodForm.tsx @@ -2,9 +2,9 @@ import { useMemo } from 'react' import { useForm } from 'react-hook-form' import type { UseFormProps } from 'react-hook-form' import { zodResolver } from '@hookform/resolvers/zod' -import type { EmployeePaymentMethod } from '@gusto/embedded-api-v-2025-11-15/models/components/employeepaymentmethod' -import { useEmployeePaymentMethodGet } from '@gusto/embedded-api-v-2025-11-15/react-query/employeePaymentMethodGet' -import { useEmployeePaymentMethodUpdateMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/employeePaymentMethodUpdate' +import type { EmployeePaymentMethod } from '@gusto/embedded-api-v-2026-02-01/models/components/employeepaymentmethod' +import { useEmployeePaymentMethodGet } from '@gusto/embedded-api-v-2026-02-01/react-query/employeePaymentMethodGet' +import { useEmployeePaymentMethodUpdateMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/employeePaymentMethodUpdate' import { PAYMENT_METHOD_TYPES, type PaymentMethodFormData, diff --git a/src/components/Employee/PaymentMethod/shared/usePaymentMethodList.ts b/src/components/Employee/PaymentMethod/shared/usePaymentMethodList.ts index d6ea3f64a..d445d45c7 100644 --- a/src/components/Employee/PaymentMethod/shared/usePaymentMethodList.ts +++ b/src/components/Employee/PaymentMethod/shared/usePaymentMethodList.ts @@ -1,9 +1,9 @@ -import type { EmployeeBankAccount } from '@gusto/embedded-api-v-2025-11-15/models/components/employeebankaccount' -import type { EmployeePaymentMethod } from '@gusto/embedded-api-v-2025-11-15/models/components/employeepaymentmethod' -import { useEmployeePaymentMethodDeleteBankAccountMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/employeePaymentMethodDeleteBankAccount' -import { useEmployeePaymentMethodsGetBankAccounts } from '@gusto/embedded-api-v-2025-11-15/react-query/employeePaymentMethodsGetBankAccounts' -import { useEmployeePaymentMethodGet } from '@gusto/embedded-api-v-2025-11-15/react-query/employeePaymentMethodGet' -import { useEmployeePaymentMethodUpdateMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/employeePaymentMethodUpdate' +import type { EmployeeBankAccount } from '@gusto/embedded-api-v-2026-02-01/models/components/employeebankaccount' +import type { EmployeePaymentMethod } from '@gusto/embedded-api-v-2026-02-01/models/components/employeepaymentmethod' +import { useEmployeePaymentMethodDeleteBankAccountMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/employeePaymentMethodDeleteBankAccount' +import { useEmployeePaymentMethodsGetBankAccounts } from '@gusto/embedded-api-v-2026-02-01/react-query/employeePaymentMethodsGetBankAccounts' +import { useEmployeePaymentMethodGet } from '@gusto/embedded-api-v-2026-02-01/react-query/employeePaymentMethodGet' +import { useEmployeePaymentMethodUpdateMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/employeePaymentMethodUpdate' import { useEffect, useRef } from 'react' import { composeErrorHandler } from '@/partner-hook-utils/composeErrorHandler' import { useBaseSubmit } from '@/components/Base/useBaseSubmit' diff --git a/src/components/Employee/PaymentMethod/shared/useSplitPaymentsForm/useSplitPaymentsForm.tsx b/src/components/Employee/PaymentMethod/shared/useSplitPaymentsForm/useSplitPaymentsForm.tsx index 1c82d2e39..154296690 100644 --- a/src/components/Employee/PaymentMethod/shared/useSplitPaymentsForm/useSplitPaymentsForm.tsx +++ b/src/components/Employee/PaymentMethod/shared/useSplitPaymentsForm/useSplitPaymentsForm.tsx @@ -3,11 +3,11 @@ import { useCallback, useEffect, useMemo, useRef } from 'react' import { useForm, useFormState, useWatch } from 'react-hook-form' import type { UseFormProps } from 'react-hook-form' import { zodResolver } from '@hookform/resolvers/zod' -import type { EmployeeBankAccount } from '@gusto/embedded-api-v-2025-11-15/models/components/employeebankaccount' -import type { EmployeePaymentMethod } from '@gusto/embedded-api-v-2025-11-15/models/components/employeepaymentmethod' -import { useEmployeePaymentMethodGet } from '@gusto/embedded-api-v-2025-11-15/react-query/employeePaymentMethodGet' -import { useEmployeePaymentMethodsGetBankAccounts } from '@gusto/embedded-api-v-2025-11-15/react-query/employeePaymentMethodsGetBankAccounts' -import { useEmployeePaymentMethodUpdateMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/employeePaymentMethodUpdate' +import type { EmployeeBankAccount } from '@gusto/embedded-api-v-2026-02-01/models/components/employeebankaccount' +import type { EmployeePaymentMethod } from '@gusto/embedded-api-v-2026-02-01/models/components/employeepaymentmethod' +import { useEmployeePaymentMethodGet } from '@gusto/embedded-api-v-2026-02-01/react-query/employeePaymentMethodGet' +import { useEmployeePaymentMethodsGetBankAccounts } from '@gusto/embedded-api-v-2026-02-01/react-query/employeePaymentMethodsGetBankAccounts' +import { useEmployeePaymentMethodUpdateMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/employeePaymentMethodUpdate' import { PERCENTAGE_TOTAL_PATH, SPLIT_BY_VALUES, diff --git a/src/components/Employee/Paystubs/shared/usePaystubsList/usePaystubsList.ts b/src/components/Employee/Paystubs/shared/usePaystubsList/usePaystubsList.ts index 1317255fe..e01827b91 100644 --- a/src/components/Employee/Paystubs/shared/usePaystubsList/usePaystubsList.ts +++ b/src/components/Employee/Paystubs/shared/usePaystubsList/usePaystubsList.ts @@ -1,8 +1,8 @@ -import { useGustoEmbeddedContext } from '@gusto/embedded-api-v-2025-11-15/react-query/_context' -import { usePayrollsGetPayStubs } from '@gusto/embedded-api-v-2025-11-15/react-query/payrollsGetPayStubs' -import { payrollsGetPayStub } from '@gusto/embedded-api-v-2025-11-15/funcs/payrollsGetPayStub' +import { useGustoEmbeddedContext } from '@gusto/embedded-api-v-2026-02-01/react-query/_context' +import { usePayrollsGetPayStubs } from '@gusto/embedded-api-v-2026-02-01/react-query/payrollsGetPayStubs' +import { payrollsGetPayStub } from '@gusto/embedded-api-v-2026-02-01/funcs/payrollsGetPayStub' import { useCallback, useMemo } from 'react' -import type { GetV1EmployeesEmployeeUuidPayStubsResponse } from '@gusto/embedded-api-v-2025-11-15/models/operations/getv1employeesemployeeuuidpaystubs' +import type { GetV1EmployeesEmployeeUuidPayStubsResponse } from '@gusto/embedded-api-v-2026-02-01/models/operations/getv1employeesemployeeuuidpaystubs' import { useBaseSubmit } from '@/components/Base/useBaseSubmit' import { composeErrorHandler } from '@/partner-hook-utils/composeErrorHandler' import { readableStreamToBlob } from '@/helpers/readableStreamToBlob' diff --git a/src/components/Employee/Profile/onboarding/AdminProfile.tsx b/src/components/Employee/Profile/onboarding/AdminProfile.tsx index 7bcd067b3..ab7493646 100644 --- a/src/components/Employee/Profile/onboarding/AdminProfile.tsx +++ b/src/components/Employee/Profile/onboarding/AdminProfile.tsx @@ -2,7 +2,7 @@ import { useState, useMemo, useEffect } from 'react' import { FormProvider, useForm, useWatch } from 'react-hook-form' import { Trans, useTranslation } from 'react-i18next' import classNames from 'classnames' -import { type Employee } from '@gusto/embedded-api-v-2025-11-15/models/components/employee' +import { type Employee } from '@gusto/embedded-api-v-2026-02-01/models/components/employee' import { useEmployeeDetailsForm } from '../shared/useEmployeeDetailsForm' import type { EmployeeDetailsOptionalFieldsToRequire } from '../shared/useEmployeeDetailsForm' import { useCurrentHomeAddressForm } from '../shared/useHomeAddressForm' diff --git a/src/components/Employee/Profile/onboarding/EmployeeProfile.tsx b/src/components/Employee/Profile/onboarding/EmployeeProfile.tsx index 8529d2ff5..e9a065b93 100644 --- a/src/components/Employee/Profile/onboarding/EmployeeProfile.tsx +++ b/src/components/Employee/Profile/onboarding/EmployeeProfile.tsx @@ -1,7 +1,7 @@ import { useState } from 'react' import { useTranslation } from 'react-i18next' import classNames from 'classnames' -import { useEmployeeAddressesGetWorkAddresses } from '@gusto/embedded-api-v-2025-11-15/react-query/employeeAddressesGetWorkAddresses' +import { useEmployeeAddressesGetWorkAddresses } from '@gusto/embedded-api-v-2026-02-01/react-query/employeeAddressesGetWorkAddresses' import { useEmployeeDetailsForm } from '../shared/useEmployeeDetailsForm' import type { EmployeeDetailsOptionalFieldsToRequire } from '../shared/useEmployeeDetailsForm' import { useCurrentHomeAddressForm } from '../shared/useHomeAddressForm' diff --git a/src/components/Employee/Profile/shared/useEmployeeDetailsForm/useEmployeeDetailsForm.tsx b/src/components/Employee/Profile/shared/useEmployeeDetailsForm/useEmployeeDetailsForm.tsx index f4b922fa1..3d4390035 100644 --- a/src/components/Employee/Profile/shared/useEmployeeDetailsForm/useEmployeeDetailsForm.tsx +++ b/src/components/Employee/Profile/shared/useEmployeeDetailsForm/useEmployeeDetailsForm.tsx @@ -2,12 +2,12 @@ import { useMemo } from 'react' import { useForm } from 'react-hook-form' import type { UseFormProps } from 'react-hook-form' import { zodResolver } from '@hookform/resolvers/zod' -import type { Employee } from '@gusto/embedded-api-v-2025-11-15/models/components/employee' -import { useEmployeesGet } from '@gusto/embedded-api-v-2025-11-15/react-query/employeesGet' -import { useEmployeesCreateMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/employeesCreate' -import { useEmployeesUpdateMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/employeesUpdate' -import { useEmployeesUpdateOnboardingStatusMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/employeesUpdateOnboardingStatus' -import { RFCDate } from '@gusto/embedded-api-v-2025-11-15/types/rfcdate' +import type { Employee } from '@gusto/embedded-api-v-2026-02-01/models/components/employee' +import { useEmployeesGet } from '@gusto/embedded-api-v-2026-02-01/react-query/employeesGet' +import { useEmployeesCreateMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/employeesCreate' +import { useEmployeesUpdateMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/employeesUpdate' +import { useEmployeesUpdateOnboardingStatusMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/employeesUpdateOnboardingStatus' +import { RFCDate } from '@gusto/embedded-api-v-2026-02-01/types/rfcdate' import { createEmployeeDetailsSchema, type EmployeeDetailsOptionalFieldsToRequire, diff --git a/src/components/Employee/Profile/shared/useEmployeeProfileSummary/useEmployeeProfileSummary.tsx b/src/components/Employee/Profile/shared/useEmployeeProfileSummary/useEmployeeProfileSummary.tsx index ba1c7d773..04604acc5 100644 --- a/src/components/Employee/Profile/shared/useEmployeeProfileSummary/useEmployeeProfileSummary.tsx +++ b/src/components/Employee/Profile/shared/useEmployeeProfileSummary/useEmployeeProfileSummary.tsx @@ -1,5 +1,5 @@ -import { useEmployeesGet } from '@gusto/embedded-api-v-2025-11-15/react-query/employeesGet' -import type { Employee } from '@gusto/embedded-api-v-2025-11-15/models/components/employee' +import { useEmployeesGet } from '@gusto/embedded-api-v-2026-02-01/react-query/employeesGet' +import type { Employee } from '@gusto/embedded-api-v-2026-02-01/models/components/employee' import { composeErrorHandler } from '@/partner-hook-utils/composeErrorHandler' import type { BaseHookReady, HookLoadingResult } from '@/partner-hook-utils/types' diff --git a/src/components/Employee/Profile/shared/useHomeAddressForm/useCurrentHomeAddressForm.tsx b/src/components/Employee/Profile/shared/useHomeAddressForm/useCurrentHomeAddressForm.tsx index e776f810a..8e12e45e8 100644 --- a/src/components/Employee/Profile/shared/useHomeAddressForm/useCurrentHomeAddressForm.tsx +++ b/src/components/Employee/Profile/shared/useHomeAddressForm/useCurrentHomeAddressForm.tsx @@ -1,4 +1,4 @@ -import { useEmployeeAddressesGet } from '@gusto/embedded-api-v-2025-11-15/react-query/employeeAddressesGet' +import { useEmployeeAddressesGet } from '@gusto/embedded-api-v-2026-02-01/react-query/employeeAddressesGet' import { useHomeAddressForm } from './useHomeAddressForm' import type { UseHomeAddressFormProps, UseHomeAddressFormResult } from './useHomeAddressForm' import { composeErrorHandler } from '@/partner-hook-utils/composeErrorHandler' diff --git a/src/components/Employee/Profile/shared/useHomeAddressForm/useHomeAddressForm.tsx b/src/components/Employee/Profile/shared/useHomeAddressForm/useHomeAddressForm.tsx index 8e3c4ccb2..4ca398156 100644 --- a/src/components/Employee/Profile/shared/useHomeAddressForm/useHomeAddressForm.tsx +++ b/src/components/Employee/Profile/shared/useHomeAddressForm/useHomeAddressForm.tsx @@ -2,11 +2,11 @@ import { useMemo } from 'react' import { useForm } from 'react-hook-form' import type { UseFormProps } from 'react-hook-form' import { zodResolver } from '@hookform/resolvers/zod' -import type { EmployeeAddress } from '@gusto/embedded-api-v-2025-11-15/models/components/employeeaddress' -import { useEmployeeAddressesRetrieveHomeAddress } from '@gusto/embedded-api-v-2025-11-15/react-query/employeeAddressesRetrieveHomeAddress' -import { useEmployeeAddressesCreateMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/employeeAddressesCreate' -import { useEmployeeAddressesUpdateMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/employeeAddressesUpdate' -import { RFCDate } from '@gusto/embedded-api-v-2025-11-15/types/rfcdate' +import type { EmployeeAddress } from '@gusto/embedded-api-v-2026-02-01/models/components/employeeaddress' +import { useEmployeeAddressesRetrieveHomeAddress } from '@gusto/embedded-api-v-2026-02-01/react-query/employeeAddressesRetrieveHomeAddress' +import { useEmployeeAddressesCreateMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/employeeAddressesCreate' +import { useEmployeeAddressesUpdateMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/employeeAddressesUpdate' +import { RFCDate } from '@gusto/embedded-api-v-2026-02-01/types/rfcdate' import { createHomeAddressSchema, type HomeAddressOptionalFieldsToRequire, diff --git a/src/components/Employee/Profile/shared/useWorkAddressForm/fields.tsx b/src/components/Employee/Profile/shared/useWorkAddressForm/fields.tsx index cf59f6fbc..514f38701 100644 --- a/src/components/Employee/Profile/shared/useWorkAddressForm/fields.tsx +++ b/src/components/Employee/Profile/shared/useWorkAddressForm/fields.tsx @@ -1,4 +1,4 @@ -import type { Location } from '@gusto/embedded-api-v-2025-11-15/models/components/location' +import type { Location } from '@gusto/embedded-api-v-2026-02-01/models/components/location' import type { WorkAddressErrorCodes } from './workAddressSchema' import type { SelectHookFieldProps } from '@/partner-hook-utils/form/fields/SelectHookField' import type { DatePickerHookFieldProps } from '@/partner-hook-utils/form/fields/DatePickerHookField' diff --git a/src/components/Employee/Profile/shared/useWorkAddressForm/useCurrentWorkAddressForm.tsx b/src/components/Employee/Profile/shared/useWorkAddressForm/useCurrentWorkAddressForm.tsx index 78e71618b..a5822e373 100644 --- a/src/components/Employee/Profile/shared/useWorkAddressForm/useCurrentWorkAddressForm.tsx +++ b/src/components/Employee/Profile/shared/useWorkAddressForm/useCurrentWorkAddressForm.tsx @@ -1,4 +1,4 @@ -import { useEmployeeAddressesGetWorkAddresses } from '@gusto/embedded-api-v-2025-11-15/react-query/employeeAddressesGetWorkAddresses' +import { useEmployeeAddressesGetWorkAddresses } from '@gusto/embedded-api-v-2026-02-01/react-query/employeeAddressesGetWorkAddresses' import { useWorkAddressForm } from './useWorkAddressForm' import type { UseWorkAddressFormProps, UseWorkAddressFormResult } from './useWorkAddressForm' import { composeErrorHandler } from '@/partner-hook-utils/composeErrorHandler' diff --git a/src/components/Employee/Profile/shared/useWorkAddressForm/useWorkAddressForm.tsx b/src/components/Employee/Profile/shared/useWorkAddressForm/useWorkAddressForm.tsx index 893cf9e27..dfabd25ca 100644 --- a/src/components/Employee/Profile/shared/useWorkAddressForm/useWorkAddressForm.tsx +++ b/src/components/Employee/Profile/shared/useWorkAddressForm/useWorkAddressForm.tsx @@ -2,13 +2,13 @@ import { useMemo } from 'react' import { useForm } from 'react-hook-form' import type { UseFormProps } from 'react-hook-form' import { zodResolver } from '@hookform/resolvers/zod' -import type { Location } from '@gusto/embedded-api-v-2025-11-15/models/components/location' -import type { EmployeeWorkAddress } from '@gusto/embedded-api-v-2025-11-15/models/components/employeeworkaddress' -import { useLocationsGet } from '@gusto/embedded-api-v-2025-11-15/react-query/locationsGet' -import { useEmployeeAddressesRetrieveWorkAddress } from '@gusto/embedded-api-v-2025-11-15/react-query/employeeAddressesRetrieveWorkAddress' -import { useEmployeeAddressesCreateWorkAddressMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/employeeAddressesCreateWorkAddress' -import { useEmployeeAddressesUpdateWorkAddressMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/employeeAddressesUpdateWorkAddress' -import { RFCDate } from '@gusto/embedded-api-v-2025-11-15/types/rfcdate' +import type { Location } from '@gusto/embedded-api-v-2026-02-01/models/components/location' +import type { EmployeeWorkAddress } from '@gusto/embedded-api-v-2026-02-01/models/components/employeeworkaddress' +import { useLocationsGet } from '@gusto/embedded-api-v-2026-02-01/react-query/locationsGet' +import { useEmployeeAddressesRetrieveWorkAddress } from '@gusto/embedded-api-v-2026-02-01/react-query/employeeAddressesRetrieveWorkAddress' +import { useEmployeeAddressesCreateWorkAddressMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/employeeAddressesCreateWorkAddress' +import { useEmployeeAddressesUpdateWorkAddressMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/employeeAddressesUpdateWorkAddress' +import { RFCDate } from '@gusto/embedded-api-v-2026-02-01/types/rfcdate' import { createWorkAddressSchema, type WorkAddressOptionalFieldsToRequire, diff --git a/src/components/Employee/SelfOnboardingFlow/SelfOnboardingComponents.tsx b/src/components/Employee/SelfOnboardingFlow/SelfOnboardingComponents.tsx index 047be99d3..e2d353379 100644 --- a/src/components/Employee/SelfOnboardingFlow/SelfOnboardingComponents.tsx +++ b/src/components/Employee/SelfOnboardingFlow/SelfOnboardingComponents.tsx @@ -1,4 +1,4 @@ -import type { PaymentMethodBankAccount } from '@gusto/embedded-api-v-2025-11-15/models/components/paymentmethodbankaccount' +import type { PaymentMethodBankAccount } from '@gusto/embedded-api-v-2026-02-01/models/components/paymentmethodbankaccount' import { ensureRequired } from '@/helpers/ensureRequired' import type { FlowContextInterface } from '@/components/Flow/useFlow' import { useFlow } from '@/components/Flow/useFlow' diff --git a/src/components/Employee/StateTaxes/management/StateTaxesCard/StateTaxesCard.tsx b/src/components/Employee/StateTaxes/management/StateTaxesCard/StateTaxesCard.tsx index 4d5e49447..2724f7a95 100644 --- a/src/components/Employee/StateTaxes/management/StateTaxesCard/StateTaxesCard.tsx +++ b/src/components/Employee/StateTaxes/management/StateTaxesCard/StateTaxesCard.tsx @@ -1,5 +1,5 @@ import { useTranslation } from 'react-i18next' -import type { EmployeeStateTaxQuestion } from '@gusto/embedded-api-v-2025-11-15/models/components/employeestatetaxquestion' +import type { EmployeeStateTaxQuestion } from '@gusto/embedded-api-v-2026-02-01/models/components/employeestatetaxquestion' import { useStateTaxesSummary } from '../../shared/useStateTaxesSummary' import { Flex } from '@/components/Common/Flex/Flex' import { Loading } from '@/components/Common' diff --git a/src/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/__fixtures__/stateTaxesFixtures.ts b/src/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/__fixtures__/stateTaxesFixtures.ts index 67683e882..ae811fcc8 100644 --- a/src/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/__fixtures__/stateTaxesFixtures.ts +++ b/src/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/__fixtures__/stateTaxesFixtures.ts @@ -1,4 +1,4 @@ -import type { EmployeeStateTaxesList } from '@gusto/embedded-api-v-2025-11-15/models/components/employeestatetaxeslist' +import type { EmployeeStateTaxesList } from '@gusto/embedded-api-v-2026-02-01/models/components/employeestatetaxeslist' export const caEmployeeStateTaxes: EmployeeStateTaxesList[] = [ { diff --git a/src/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/__fixtures__/toWireFormat.ts b/src/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/__fixtures__/toWireFormat.ts index cf0c4bdcc..16073b4b2 100644 --- a/src/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/__fixtures__/toWireFormat.ts +++ b/src/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/__fixtures__/toWireFormat.ts @@ -1,4 +1,4 @@ -import type { EmployeeStateTaxesList } from '@gusto/embedded-api-v-2025-11-15/models/components/employeestatetaxeslist' +import type { EmployeeStateTaxesList } from '@gusto/embedded-api-v-2026-02-01/models/components/employeestatetaxeslist' interface WireAnswer { value: unknown diff --git a/src/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/employeeStateTaxesSchema.ts b/src/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/employeeStateTaxesSchema.ts index 675305dd2..79e4b158d 100644 --- a/src/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/employeeStateTaxesSchema.ts +++ b/src/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/employeeStateTaxesSchema.ts @@ -1,5 +1,5 @@ import { z } from 'zod' -import type { EmployeeStateTaxesList } from '@gusto/embedded-api-v-2025-11-15/models/components/employeestatetaxeslist' +import type { EmployeeStateTaxesList } from '@gusto/embedded-api-v-2026-02-01/models/components/employeestatetaxeslist' import { getQuestionVariant, type StateTaxQuestionVariant } from './fieldMapping' import { snakeCaseToCamelCase } from '@/helpers/formattedStrings' import type { diff --git a/src/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/fieldMapping.ts b/src/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/fieldMapping.ts index 6afc4011d..4583e4483 100644 --- a/src/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/fieldMapping.ts +++ b/src/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/fieldMapping.ts @@ -1,4 +1,4 @@ -import type { EmployeeStateTaxQuestion } from '@gusto/embedded-api-v-2025-11-15/models/components/employeestatetaxquestion' +import type { EmployeeStateTaxQuestion } from '@gusto/embedded-api-v-2026-02-01/models/components/employeestatetaxquestion' /** * UI input variant for a state-tax question — determines which field type renders for a given question from the employee state-taxes API. diff --git a/src/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/fields.tsx b/src/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/fields.tsx index 91f2d410f..e7c37472c 100644 --- a/src/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/fields.tsx +++ b/src/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/fields.tsx @@ -1,6 +1,6 @@ import type { ComponentType } from 'react' import { useMemo } from 'react' -import type { EmployeeStateTaxesList } from '@gusto/embedded-api-v-2025-11-15/models/components/employeestatetaxeslist' +import type { EmployeeStateTaxesList } from '@gusto/embedded-api-v-2026-02-01/models/components/employeestatetaxeslist' import { getQuestionVariant, type StateTaxQuestionVariant } from './fieldMapping' import { CurrencyStateTaxField, diff --git a/src/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/useEmployeeStateTaxesForm.tsx b/src/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/useEmployeeStateTaxesForm.tsx index 5b3d6bf90..4c1a92703 100644 --- a/src/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/useEmployeeStateTaxesForm.tsx +++ b/src/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/useEmployeeStateTaxesForm.tsx @@ -2,13 +2,13 @@ import { useMemo } from 'react' import { useForm } from 'react-hook-form' import type { UseFormProps } from 'react-hook-form' import { zodResolver } from '@hookform/resolvers/zod' -import type { EmployeeStateTaxesList } from '@gusto/embedded-api-v-2025-11-15/models/components/employeestatetaxeslist' +import type { EmployeeStateTaxesList } from '@gusto/embedded-api-v-2026-02-01/models/components/employeestatetaxeslist' import type { EmployeeStateTaxesRequest, States as EmployeeStateTaxesRequestState, -} from '@gusto/embedded-api-v-2025-11-15/models/components/employeestatetaxesrequest' -import { useEmployeeTaxSetupGetStateTaxes } from '@gusto/embedded-api-v-2025-11-15/react-query/employeeTaxSetupGetStateTaxes' -import { useEmployeeTaxSetupUpdateStateTaxesMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/employeeTaxSetupUpdateStateTaxes' +} from '@gusto/embedded-api-v-2026-02-01/models/components/employeestatetaxesrequest' +import { useEmployeeTaxSetupGetStateTaxes } from '@gusto/embedded-api-v-2026-02-01/react-query/employeeTaxSetupGetStateTaxes' +import { useEmployeeTaxSetupUpdateStateTaxesMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/employeeTaxSetupUpdateStateTaxes' import { createEmployeeStateTaxesSchema, type EmployeeStateTaxesFormData, diff --git a/src/components/Employee/StateTaxes/shared/useStateTaxesSummary/useStateTaxesSummary.tsx b/src/components/Employee/StateTaxes/shared/useStateTaxesSummary/useStateTaxesSummary.tsx index 57f6e920e..6dfc0b0fa 100644 --- a/src/components/Employee/StateTaxes/shared/useStateTaxesSummary/useStateTaxesSummary.tsx +++ b/src/components/Employee/StateTaxes/shared/useStateTaxesSummary/useStateTaxesSummary.tsx @@ -1,5 +1,5 @@ -import { useEmployeeTaxSetupGetStateTaxes } from '@gusto/embedded-api-v-2025-11-15/react-query/employeeTaxSetupGetStateTaxes' -import type { EmployeeStateTaxesList } from '@gusto/embedded-api-v-2025-11-15/models/components/employeestatetaxeslist' +import { useEmployeeTaxSetupGetStateTaxes } from '@gusto/embedded-api-v-2026-02-01/react-query/employeeTaxSetupGetStateTaxes' +import type { EmployeeStateTaxesList } from '@gusto/embedded-api-v-2026-02-01/models/components/employeestatetaxeslist' import { composeErrorHandler } from '@/partner-hook-utils/composeErrorHandler' import type { BaseHookReady, HookLoadingResult } from '@/partner-hook-utils/types' diff --git a/src/components/Employee/Terminations/TerminateEmployee/TerminateEmployee.stories.tsx b/src/components/Employee/Terminations/TerminateEmployee/TerminateEmployee.stories.tsx index ab8138e2d..541b9487c 100644 --- a/src/components/Employee/Terminations/TerminateEmployee/TerminateEmployee.stories.tsx +++ b/src/components/Employee/Terminations/TerminateEmployee/TerminateEmployee.stories.tsx @@ -1,6 +1,6 @@ import { Suspense } from 'react' import { fn } from 'storybook/test' -import type { Termination } from '@gusto/embedded-api-v-2025-11-15/models/components/termination' +import type { Termination } from '@gusto/embedded-api-v-2026-02-01/models/components/termination' import { TerminateEmployeePresentation } from './TerminateEmployeePresentation' import { useI18n } from '@/i18n' diff --git a/src/components/Employee/Terminations/TerminateEmployee/TerminateEmployee.tsx b/src/components/Employee/Terminations/TerminateEmployee/TerminateEmployee.tsx index bb8e42057..902c549b2 100644 --- a/src/components/Employee/Terminations/TerminateEmployee/TerminateEmployee.tsx +++ b/src/components/Employee/Terminations/TerminateEmployee/TerminateEmployee.tsx @@ -1,19 +1,19 @@ import { useQueryClient } from '@tanstack/react-query' -import { useEmployeesGetSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/employeesGet' +import { useEmployeesGetSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/employeesGet' import { useEmployeeEmploymentsGetTerminationsSuspense, invalidateAllEmployeeEmploymentsGetTerminations, -} from '@gusto/embedded-api-v-2025-11-15/react-query/employeeEmploymentsGetTerminations' -import { useEmployeeEmploymentsCreateTerminationMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/employeeEmploymentsCreateTermination' -import { useEmployeeEmploymentsUpdateTerminationMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/employeeEmploymentsUpdateTermination' -import { usePayrollsCreateOffCycleMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/payrollsCreateOffCycle' +} from '@gusto/embedded-api-v-2026-02-01/react-query/employeeEmploymentsGetTerminations' +import { useEmployeeEmploymentsCreateTerminationMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/employeeEmploymentsCreateTermination' +import { useEmployeeEmploymentsUpdateTerminationMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/employeeEmploymentsUpdateTermination' +import { usePayrollsCreateOffCycleMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/payrollsCreateOffCycle' import { usePaySchedulesGetUnprocessedTerminationPeriods, invalidateAllPaySchedulesGetUnprocessedTerminationPeriods, -} from '@gusto/embedded-api-v-2025-11-15/react-query/paySchedulesGetUnprocessedTerminationPeriods' -import { invalidateAllPayrollsList } from '@gusto/embedded-api-v-2025-11-15/react-query/payrollsList' -import { OffCycleReason } from '@gusto/embedded-api-v-2025-11-15/models/operations/postv1companiescompanyidpayrolls' -import { RFCDate } from '@gusto/embedded-api-v-2025-11-15/types/rfcdate' +} from '@gusto/embedded-api-v-2026-02-01/react-query/paySchedulesGetUnprocessedTerminationPeriods' +import { invalidateAllPayrollsList } from '@gusto/embedded-api-v-2026-02-01/react-query/payrollsList' +import { OffCycleReason } from '@gusto/embedded-api-v-2026-02-01/models/operations/postv1companiescompanyidpayrolls' +import { RFCDate } from '@gusto/embedded-api-v-2026-02-01/types/rfcdate' import type { PayrollOption } from '../types' import { TerminateEmployeePresentation } from './TerminateEmployeePresentation' import type { BaseComponentInterface } from '@/components/Base/Base' diff --git a/src/components/Employee/Terminations/TerminateEmployee/TerminateEmployeePresentation.tsx b/src/components/Employee/Terminations/TerminateEmployee/TerminateEmployeePresentation.tsx index 67d7110fb..d65b98395 100644 --- a/src/components/Employee/Terminations/TerminateEmployee/TerminateEmployeePresentation.tsx +++ b/src/components/Employee/Terminations/TerminateEmployee/TerminateEmployeePresentation.tsx @@ -2,7 +2,7 @@ import { useTranslation } from 'react-i18next' import z from 'zod' import { FormProvider, useForm } from 'react-hook-form' import { zodResolver } from '@hookform/resolvers/zod' -import type { Termination } from '@gusto/embedded-api-v-2025-11-15/models/components/termination' +import type { Termination } from '@gusto/embedded-api-v-2026-02-01/models/components/termination' import type { PayrollOption } from '../types' import type { TerminateEmployeeFormData } from './TerminateEmployee' import { Flex, ActionsLayout, DatePickerField, RadioGroupField } from '@/components/Common' diff --git a/src/components/Employee/Terminations/TerminationSummary/TerminationSummary.tsx b/src/components/Employee/Terminations/TerminationSummary/TerminationSummary.tsx index 6c7e2d321..06b18188d 100644 --- a/src/components/Employee/Terminations/TerminationSummary/TerminationSummary.tsx +++ b/src/components/Employee/Terminations/TerminationSummary/TerminationSummary.tsx @@ -1,12 +1,12 @@ import { useState } from 'react' import { useQueryClient } from '@tanstack/react-query' -import { useEmployeesGetSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/employeesGet' +import { useEmployeesGetSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/employeesGet' import { useEmployeeEmploymentsGetTerminationsSuspense, invalidateAllEmployeeEmploymentsGetTerminations, -} from '@gusto/embedded-api-v-2025-11-15/react-query/employeeEmploymentsGetTerminations' -import { useEmployeeEmploymentsDeleteTerminationMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/employeeEmploymentsDeleteTermination' -import { invalidateAllEmployeesList } from '@gusto/embedded-api-v-2025-11-15/react-query/employeesList' +} from '@gusto/embedded-api-v-2026-02-01/react-query/employeeEmploymentsGetTerminations' +import { useEmployeeEmploymentsDeleteTerminationMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/employeeEmploymentsDeleteTermination' +import { invalidateAllEmployeesList } from '@gusto/embedded-api-v-2026-02-01/react-query/employeesList' import type { PayrollOption } from '../types' import { TerminationSummaryPresentation } from './TerminationSummaryPresentation' import { normalizeToDate } from '@/helpers/dateFormatting' diff --git a/src/components/Employee/WorkAddress/management/WorkAddressEditForm.tsx b/src/components/Employee/WorkAddress/management/WorkAddressEditForm.tsx index 60d162e0e..353539e59 100644 --- a/src/components/Employee/WorkAddress/management/WorkAddressEditForm.tsx +++ b/src/components/Employee/WorkAddress/management/WorkAddressEditForm.tsx @@ -1,4 +1,4 @@ -import type { EmployeeWorkAddress } from '@gusto/embedded-api-v-2025-11-15/models/components/employeeworkaddress' +import type { EmployeeWorkAddress } from '@gusto/embedded-api-v-2026-02-01/models/components/employeeworkaddress' import { WorkAddressView } from './WorkAddressView' import { isUseWorkAddressManagementSuccess, diff --git a/src/components/Employee/WorkAddress/management/WorkAddressView.tsx b/src/components/Employee/WorkAddress/management/WorkAddressView.tsx index 1bb49a949..76c353a81 100644 --- a/src/components/Employee/WorkAddress/management/WorkAddressView.tsx +++ b/src/components/Employee/WorkAddress/management/WorkAddressView.tsx @@ -1,7 +1,7 @@ import { useLayoutEffect, useMemo, useRef, useState } from 'react' import { Trans, useTranslation } from 'react-i18next' -import type { Location } from '@gusto/embedded-api-v-2025-11-15/models/components/location' -import type { EmployeeWorkAddress } from '@gusto/embedded-api-v-2025-11-15/models/components/employeeworkaddress' +import type { Location } from '@gusto/embedded-api-v-2026-02-01/models/components/location' +import type { EmployeeWorkAddress } from '@gusto/embedded-api-v-2026-02-01/models/components/employeeworkaddress' import { formatPendingWorkAddressLine, getPendingFutureWorkAddress, diff --git a/src/components/Employee/WorkAddress/management/getPendingFutureWorkAddress.ts b/src/components/Employee/WorkAddress/management/getPendingFutureWorkAddress.ts index 13333bb8c..2b8ecf846 100644 --- a/src/components/Employee/WorkAddress/management/getPendingFutureWorkAddress.ts +++ b/src/components/Employee/WorkAddress/management/getPendingFutureWorkAddress.ts @@ -1,5 +1,5 @@ -import type { Location } from '@gusto/embedded-api-v-2025-11-15/models/components/location' -import type { EmployeeWorkAddress } from '@gusto/embedded-api-v-2025-11-15/models/components/employeeworkaddress' +import type { Location } from '@gusto/embedded-api-v-2026-02-01/models/components/location' +import type { EmployeeWorkAddress } from '@gusto/embedded-api-v-2026-02-01/models/components/employeeworkaddress' import { normalizeToDate } from '@/helpers/dateFormatting' import { addressInline } from '@/helpers/formattedStrings' diff --git a/src/components/Employee/WorkAddress/management/useWorkAddressManagement.tsx b/src/components/Employee/WorkAddress/management/useWorkAddressManagement.tsx index e3f932752..17af1b487 100644 --- a/src/components/Employee/WorkAddress/management/useWorkAddressManagement.tsx +++ b/src/components/Employee/WorkAddress/management/useWorkAddressManagement.tsx @@ -1,8 +1,8 @@ import { useMemo, useState } from 'react' -import type { EmployeeWorkAddress } from '@gusto/embedded-api-v-2025-11-15/models/components/employeeworkaddress' -import { useEmployeeAddressesDeleteWorkAddressMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/employeeAddressesDeleteWorkAddress' -import { useEmployeeAddressesGetWorkAddresses } from '@gusto/embedded-api-v-2025-11-15/react-query/employeeAddressesGetWorkAddresses' -import { useEmployeesGet } from '@gusto/embedded-api-v-2025-11-15/react-query/employeesGet' +import type { EmployeeWorkAddress } from '@gusto/embedded-api-v-2026-02-01/models/components/employeeworkaddress' +import { useEmployeeAddressesDeleteWorkAddressMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/employeeAddressesDeleteWorkAddress' +import { useEmployeeAddressesGetWorkAddresses } from '@gusto/embedded-api-v-2026-02-01/react-query/employeeAddressesGetWorkAddresses' +import { useEmployeesGet } from '@gusto/embedded-api-v-2026-02-01/react-query/employeesGet' import type { OnEventType } from '@/components/Base/useBase' import { useBaseSubmit } from '@/components/Base/useBaseSubmit' import { useWorkAddressForm } from '@/components/Employee/Profile/shared/useWorkAddressForm' diff --git a/src/components/Employee/WorkAddress/shared/useEmployeeWorkAddressSummary/useEmployeeWorkAddressSummary.tsx b/src/components/Employee/WorkAddress/shared/useEmployeeWorkAddressSummary/useEmployeeWorkAddressSummary.tsx index 6b42dbb82..45c52e4ab 100644 --- a/src/components/Employee/WorkAddress/shared/useEmployeeWorkAddressSummary/useEmployeeWorkAddressSummary.tsx +++ b/src/components/Employee/WorkAddress/shared/useEmployeeWorkAddressSummary/useEmployeeWorkAddressSummary.tsx @@ -1,5 +1,5 @@ -import { useEmployeeAddressesGetWorkAddresses } from '@gusto/embedded-api-v-2025-11-15/react-query/employeeAddressesGetWorkAddresses' -import type { EmployeeWorkAddress } from '@gusto/embedded-api-v-2025-11-15/models/components/employeeworkaddress' +import { useEmployeeAddressesGetWorkAddresses } from '@gusto/embedded-api-v-2026-02-01/react-query/employeeAddressesGetWorkAddresses' +import type { EmployeeWorkAddress } from '@gusto/embedded-api-v-2026-02-01/models/components/employeeworkaddress' import { composeErrorHandler } from '@/partner-hook-utils/composeErrorHandler' import type { BaseHookReady, HookLoadingResult } from '@/partner-hook-utils/types' diff --git a/src/components/InformationRequests/InformationRequestForm/InformationRequestForm.tsx b/src/components/InformationRequests/InformationRequestForm/InformationRequestForm.tsx index 485c404f3..9888224eb 100644 --- a/src/components/InformationRequests/InformationRequestForm/InformationRequestForm.tsx +++ b/src/components/InformationRequests/InformationRequestForm/InformationRequestForm.tsx @@ -4,14 +4,14 @@ import { FormProvider, useForm } from 'react-hook-form' import { zodResolver } from '@hookform/resolvers/zod' import { z } from 'zod' import { useIsMutating } from '@tanstack/react-query' -import { useInformationRequestsGetInformationRequestsSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/informationRequestsGetInformationRequests' +import { useInformationRequestsGetInformationRequestsSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/informationRequestsGetInformationRequests' import { useInformationRequestsSubmitMutation, mutationKeyInformationRequestsSubmit, -} from '@gusto/embedded-api-v-2025-11-15/react-query/informationRequestsSubmit' -import type { RequiredQuestions } from '@gusto/embedded-api-v-2025-11-15/models/components/informationrequest' -import { ResponseType } from '@gusto/embedded-api-v-2025-11-15/models/components/informationrequest' -import { ResponseType as SubmitResponseType } from '@gusto/embedded-api-v-2025-11-15/models/operations/submitinformationrequest' +} from '@gusto/embedded-api-v-2026-02-01/react-query/informationRequestsSubmit' +import type { RequiredQuestions } from '@gusto/embedded-api-v-2026-02-01/models/components/informationrequest' +import { ResponseType } from '@gusto/embedded-api-v-2026-02-01/models/components/informationrequest' +import { ResponseType as SubmitResponseType } from '@gusto/embedded-api-v-2026-02-01/models/operations/submitinformationrequest' import type { InformationRequestsContextInterface } from '../InformationRequestsComponents' import styles from './InformationRequestForm.module.scss' import { BaseComponent, useBase, type BaseComponentInterface } from '@/components/Base' diff --git a/src/components/InformationRequests/InformationRequestList/InformationRequestList.tsx b/src/components/InformationRequests/InformationRequestList/InformationRequestList.tsx index 10e4938ec..4f703d9cd 100644 --- a/src/components/InformationRequests/InformationRequestList/InformationRequestList.tsx +++ b/src/components/InformationRequests/InformationRequestList/InformationRequestList.tsx @@ -1,10 +1,10 @@ import { useTranslation } from 'react-i18next' -import { useInformationRequestsGetInformationRequestsSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/informationRequestsGetInformationRequests' -import type { InformationRequest } from '@gusto/embedded-api-v-2025-11-15/models/components/informationrequest' +import { useInformationRequestsGetInformationRequestsSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/informationRequestsGetInformationRequests' +import type { InformationRequest } from '@gusto/embedded-api-v-2026-02-01/models/components/informationrequest' import { InformationRequestStatus, InformationRequestType, -} from '@gusto/embedded-api-v-2025-11-15/models/components/informationrequest' +} from '@gusto/embedded-api-v-2026-02-01/models/components/informationrequest' import { BaseComponent, type BaseComponentInterface } from '@/components/Base' import { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext' import { useComponentDictionary, useI18n } from '@/i18n' diff --git a/src/components/Payroll/ConfirmWireDetails/ConfirmWireDetails.tsx b/src/components/Payroll/ConfirmWireDetails/ConfirmWireDetails.tsx index 30fef8e2c..f347384e8 100644 --- a/src/components/Payroll/ConfirmWireDetails/ConfirmWireDetails.tsx +++ b/src/components/Payroll/ConfirmWireDetails/ConfirmWireDetails.tsx @@ -1,7 +1,7 @@ import { createMachine } from 'robot3' import { useMachine } from 'react-robot' import { Suspense, useMemo, useRef, useState } from 'react' -import { useWireInRequestsListSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/wireInRequestsList' +import { useWireInRequestsListSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/wireInRequestsList' import { ConfirmWireDetailsBanner } from './ConfirmWireDetailsBanner' import { confirmWireDetailsMachine } from './confirmWireDetailsStateMachine' import { type ConfirmWireDetailsContextInterface } from './ConfirmWireDetailsComponents' diff --git a/src/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsBanner/ConfirmWireDetailsBanner.tsx b/src/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsBanner/ConfirmWireDetailsBanner.tsx index 2c7281d0d..f4cee7948 100644 --- a/src/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsBanner/ConfirmWireDetailsBanner.tsx +++ b/src/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsBanner/ConfirmWireDetailsBanner.tsx @@ -1,6 +1,6 @@ import { useTranslation } from 'react-i18next' -import { useWireInRequestsListSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/wireInRequestsList' -import { usePayrollsListSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/payrollsList' +import { useWireInRequestsListSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/wireInRequestsList' +import { usePayrollsListSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/payrollsList' import { useState, useEffect } from 'react' import type { ConfirmationAlert } from '../types' import { BaseComponent, type BaseComponentInterface } from '@/components/Base' diff --git a/src/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsForm/ConfirmWireDetailsForm.tsx b/src/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsForm/ConfirmWireDetailsForm.tsx index 9814eaee3..3faa208f2 100644 --- a/src/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsForm/ConfirmWireDetailsForm.tsx +++ b/src/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsForm/ConfirmWireDetailsForm.tsx @@ -6,10 +6,10 @@ import { useIsMutating } from '@tanstack/react-query' import { useWireInRequestsSubmitMutation, mutationKeyWireInRequestsSubmit, -} from '@gusto/embedded-api-v-2025-11-15/react-query/wireInRequestsSubmit' -import { useWireInRequestsGetSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/wireInRequestsGet' -import type { PutWireInRequestsWireInRequestUuidRequest } from '@gusto/embedded-api-v-2025-11-15/models/operations/putwireinrequestswireinrequestuuid' -import { usePayrollsListSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/payrollsList' +} from '@gusto/embedded-api-v-2026-02-01/react-query/wireInRequestsSubmit' +import { useWireInRequestsGetSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/wireInRequestsGet' +import type { PutWireInRequestsWireInRequestUuidRequest } from '@gusto/embedded-api-v-2026-02-01/models/operations/putwireinrequestswireinrequestuuid' +import { usePayrollsListSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/payrollsList' import styles from './ConfirmWireDetailsForm.module.scss' import { Form as HtmlForm } from '@/components/Common/Form' import { BaseComponent, useBase, type BaseComponentInterface } from '@/components/Base' diff --git a/src/components/Payroll/ConfirmWireDetails/WireInstructions/WireInstructions.tsx b/src/components/Payroll/ConfirmWireDetails/WireInstructions/WireInstructions.tsx index d2d80f6be..1e9559444 100644 --- a/src/components/Payroll/ConfirmWireDetails/WireInstructions/WireInstructions.tsx +++ b/src/components/Payroll/ConfirmWireDetails/WireInstructions/WireInstructions.tsx @@ -1,7 +1,7 @@ import { useMemo } from 'react' import { useTranslation } from 'react-i18next' -import { useWireInRequestsListSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/wireInRequestsList' -import { usePayrollsListSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/payrollsList' +import { useWireInRequestsListSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/wireInRequestsList' +import { usePayrollsListSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/payrollsList' import type { ConfirmWireDetailsContextInterface } from '../ConfirmWireDetailsComponents' import styles from './WireInstructions.module.scss' import { BaseComponent, type BaseComponentInterface } from '@/components/Base' diff --git a/src/components/Payroll/Dismissal/DismissalFlowComponents.tsx b/src/components/Payroll/Dismissal/DismissalFlowComponents.tsx index 39fbd9395..c6101df73 100644 --- a/src/components/Payroll/Dismissal/DismissalFlowComponents.tsx +++ b/src/components/Payroll/Dismissal/DismissalFlowComponents.tsx @@ -1,5 +1,5 @@ import { useMemo } from 'react' -import { usePayrollsGetSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/payrollsGet' +import { usePayrollsGetSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/payrollsGet' import { PayrollExecutionFlow, type PayrollExecutionFlowProps, diff --git a/src/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelection.test.tsx b/src/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelection.test.tsx index 0c05d6e3f..9eba50e52 100644 --- a/src/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelection.test.tsx +++ b/src/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelection.test.tsx @@ -39,7 +39,7 @@ let mockPayPeriods: defaultPayPeriods vi.mock( - '@gusto/embedded-api-v-2025-11-15/react-query/paySchedulesGetUnprocessedTerminationPeriods', + '@gusto/embedded-api-v-2026-02-01/react-query/paySchedulesGetUnprocessedTerminationPeriods', () => ({ usePaySchedulesGetUnprocessedTerminationPeriodsSuspense: () => ({ data: { @@ -49,7 +49,7 @@ vi.mock( }), ) -vi.mock('@gusto/embedded-api-v-2025-11-15/react-query/payrollsCreateOffCycle', () => ({ +vi.mock('@gusto/embedded-api-v-2026-02-01/react-query/payrollsCreateOffCycle', () => ({ usePayrollsCreateOffCycleMutation: () => ({ mutateAsync: mockCreateOffCyclePayroll, isPending: false, diff --git a/src/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelection.tsx b/src/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelection.tsx index 429a3540a..8ae5f84ff 100644 --- a/src/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelection.tsx +++ b/src/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelection.tsx @@ -1,9 +1,9 @@ import { useEffect, useMemo, useState } from 'react' -import { usePaySchedulesGetUnprocessedTerminationPeriodsSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/paySchedulesGetUnprocessedTerminationPeriods' -import { usePayrollsCreateOffCycleMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/payrollsCreateOffCycle' -import type { UnprocessedTerminationPayPeriod } from '@gusto/embedded-api-v-2025-11-15/models/components/unprocessedterminationpayperiod' -import { OffCycleReason } from '@gusto/embedded-api-v-2025-11-15/models/operations/postv1companiescompanyidpayrolls' -import { RFCDate } from '@gusto/embedded-api-v-2025-11-15/types/rfcdate' +import { usePaySchedulesGetUnprocessedTerminationPeriodsSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/paySchedulesGetUnprocessedTerminationPeriods' +import { usePayrollsCreateOffCycleMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/payrollsCreateOffCycle' +import type { UnprocessedTerminationPayPeriod } from '@gusto/embedded-api-v-2026-02-01/models/components/unprocessedterminationpayperiod' +import { OffCycleReason } from '@gusto/embedded-api-v-2026-02-01/models/operations/postv1companiescompanyidpayrolls' +import { RFCDate } from '@gusto/embedded-api-v-2026-02-01/types/rfcdate' import { useTranslation } from 'react-i18next' import { DismissalPayPeriodSelectionPresentation } from './DismissalPayPeriodSelectionPresentation' import { BaseComponent } from '@/components/Base/Base' diff --git a/src/components/Payroll/OffCycle/OffCycleFlowComponents.tsx b/src/components/Payroll/OffCycle/OffCycleFlowComponents.tsx index 2d1d94a47..c72df4270 100644 --- a/src/components/Payroll/OffCycle/OffCycleFlowComponents.tsx +++ b/src/components/Payroll/OffCycle/OffCycleFlowComponents.tsx @@ -1,5 +1,5 @@ import { useMemo } from 'react' -import { usePayrollsGetSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/payrollsGet' +import { usePayrollsGetSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/payrollsGet' import { OffCycleCreation } from '../OffCycleCreation' import { PayrollExecutionFlow, diff --git a/src/components/Payroll/OffCycleCreation/OffCycleCreation.stories.tsx b/src/components/Payroll/OffCycleCreation/OffCycleCreation.stories.tsx index 304f2b80b..ef1cd092e 100644 --- a/src/components/Payroll/OffCycleCreation/OffCycleCreation.stories.tsx +++ b/src/components/Payroll/OffCycleCreation/OffCycleCreation.stories.tsx @@ -1,5 +1,5 @@ import { useState } from 'react' -import { WithholdingPayPeriod } from '@gusto/embedded-api-v-2025-11-15/models/operations/postv1companiescompanyidpayrolls' +import { WithholdingPayPeriod } from '@gusto/embedded-api-v-2026-02-01/models/operations/postv1companiescompanyidpayrolls' import { FormWrapper } from '../../../../.storybook/helpers/FormWrapper' import type { OffCycleTaxWithholdingConfig } from '../OffCycleTaxWithholdingTable/OffCycleTaxWithholdingTableTypes' import { OffCycleCreationPresentation } from './OffCycleCreationPresentation' diff --git a/src/components/Payroll/OffCycleCreation/OffCycleCreation.test.tsx b/src/components/Payroll/OffCycleCreation/OffCycleCreation.test.tsx index edac4c030..c980b752f 100644 --- a/src/components/Payroll/OffCycleCreation/OffCycleCreation.test.tsx +++ b/src/components/Payroll/OffCycleCreation/OffCycleCreation.test.tsx @@ -7,7 +7,7 @@ import { renderWithProviders } from '@/test-utils/renderWithProviders' const mockCreateOffCyclePayroll = vi.fn() -vi.mock('@gusto/embedded-api-v-2025-11-15/react-query/employeesList', () => ({ +vi.mock('@gusto/embedded-api-v-2026-02-01/react-query/employeesList', () => ({ useEmployeesListSuspense: () => ({ data: { showEmployees: [ @@ -21,7 +21,7 @@ vi.mock('@gusto/embedded-api-v-2025-11-15/react-query/employeesList', () => ({ }), })) -vi.mock('@gusto/embedded-api-v-2025-11-15/react-query/payrollsCreateOffCycle', () => ({ +vi.mock('@gusto/embedded-api-v-2026-02-01/react-query/payrollsCreateOffCycle', () => ({ usePayrollsCreateOffCycleMutation: () => ({ mutateAsync: mockCreateOffCyclePayroll, isPending: false, diff --git a/src/components/Payroll/OffCycleCreation/OffCycleCreation.tsx b/src/components/Payroll/OffCycleCreation/OffCycleCreation.tsx index 95a1be712..333d420d0 100644 --- a/src/components/Payroll/OffCycleCreation/OffCycleCreation.tsx +++ b/src/components/Payroll/OffCycleCreation/OffCycleCreation.tsx @@ -3,13 +3,13 @@ import { FormProvider, useForm, type Resolver } from 'react-hook-form' import { zodResolver } from '@hookform/resolvers/zod' import { z } from 'zod' import { useTranslation } from 'react-i18next' -import { usePayrollsCreateOffCycleMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/payrollsCreateOffCycle' +import { usePayrollsCreateOffCycleMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/payrollsCreateOffCycle' import { OffCycleReason as ApiOffCycleReason, WithholdingPayPeriod, -} from '@gusto/embedded-api-v-2025-11-15/models/operations/postv1companiescompanyidpayrolls' -import { RFCDate } from '@gusto/embedded-api-v-2025-11-15/types/rfcdate' -import { useEmployeesListSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/employeesList' +} from '@gusto/embedded-api-v-2026-02-01/models/operations/postv1companiescompanyidpayrolls' +import { RFCDate } from '@gusto/embedded-api-v-2026-02-01/types/rfcdate' +import { useEmployeesListSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/employeesList' import { OFF_CYCLE_REASON_DEFAULTS, type OffCycleReason } from '../OffCycleReasonSelection' import { createOffCyclePayPeriodDateFormSchema, diff --git a/src/components/Payroll/OffCycleTaxWithholdingModal/OffCycleTaxWithholdingModal.stories.tsx b/src/components/Payroll/OffCycleTaxWithholdingModal/OffCycleTaxWithholdingModal.stories.tsx index 5799a482c..477890c4e 100644 --- a/src/components/Payroll/OffCycleTaxWithholdingModal/OffCycleTaxWithholdingModal.stories.tsx +++ b/src/components/Payroll/OffCycleTaxWithholdingModal/OffCycleTaxWithholdingModal.stories.tsx @@ -1,5 +1,5 @@ import { Suspense, useState } from 'react' -import { WithholdingPayPeriod } from '@gusto/embedded-api-v-2025-11-15/models/operations/postv1companiescompanyidpayrolls' +import { WithholdingPayPeriod } from '@gusto/embedded-api-v-2026-02-01/models/operations/postv1companiescompanyidpayrolls' import type { OffCycleTaxWithholdingConfig } from '../OffCycleTaxWithholdingTable/OffCycleTaxWithholdingTableTypes' import { OffCycleTaxWithholdingModal } from './OffCycleTaxWithholdingModal' import { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext' diff --git a/src/components/Payroll/OffCycleTaxWithholdingModal/OffCycleTaxWithholdingModal.tsx b/src/components/Payroll/OffCycleTaxWithholdingModal/OffCycleTaxWithholdingModal.tsx index a3dd46b04..a9b35d442 100644 --- a/src/components/Payroll/OffCycleTaxWithholdingModal/OffCycleTaxWithholdingModal.tsx +++ b/src/components/Payroll/OffCycleTaxWithholdingModal/OffCycleTaxWithholdingModal.tsx @@ -1,7 +1,7 @@ import { useMemo, useRef } from 'react' import { FormProvider, useForm, useWatch } from 'react-hook-form' import { useTranslation } from 'react-i18next' -import { WithholdingPayPeriod } from '@gusto/embedded-api-v-2025-11-15/models/operations/postv1companiescompanyidpayrolls' +import { WithholdingPayPeriod } from '@gusto/embedded-api-v-2026-02-01/models/operations/postv1companiescompanyidpayrolls' import { WITHHOLDING_PAY_PERIOD_I18N_KEY } from '../OffCycleTaxWithholdingTable/OffCycleTaxWithholdingTableTypes' import type { OffCycleTaxWithholdingConfig } from '../OffCycleTaxWithholdingTable/OffCycleTaxWithholdingTableTypes' import styles from './OffCycleTaxWithholdingModal.module.scss' diff --git a/src/components/Payroll/OffCycleTaxWithholdingTable/OffCycleTaxWithholdingTable.stories.tsx b/src/components/Payroll/OffCycleTaxWithholdingTable/OffCycleTaxWithholdingTable.stories.tsx index 98a6d310d..aacea3b08 100644 --- a/src/components/Payroll/OffCycleTaxWithholdingTable/OffCycleTaxWithholdingTable.stories.tsx +++ b/src/components/Payroll/OffCycleTaxWithholdingTable/OffCycleTaxWithholdingTable.stories.tsx @@ -1,5 +1,5 @@ import { Suspense, useState } from 'react' -import { WithholdingPayPeriod } from '@gusto/embedded-api-v-2025-11-15/models/operations/postv1companiescompanyidpayrolls' +import { WithholdingPayPeriod } from '@gusto/embedded-api-v-2026-02-01/models/operations/postv1companiescompanyidpayrolls' import { OffCycleTaxWithholdingModal } from '../OffCycleTaxWithholdingModal/OffCycleTaxWithholdingModal' import { OffCycleTaxWithholdingTable } from './OffCycleTaxWithholdingTable' import type { diff --git a/src/components/Payroll/OffCycleTaxWithholdingTable/OffCycleTaxWithholdingTable.test.tsx b/src/components/Payroll/OffCycleTaxWithholdingTable/OffCycleTaxWithholdingTable.test.tsx index 64d33fa7f..0c58b4a83 100644 --- a/src/components/Payroll/OffCycleTaxWithholdingTable/OffCycleTaxWithholdingTable.test.tsx +++ b/src/components/Payroll/OffCycleTaxWithholdingTable/OffCycleTaxWithholdingTable.test.tsx @@ -1,6 +1,6 @@ import { describe, expect, it, vi } from 'vitest' import { screen, waitFor } from '@testing-library/react' -import { WithholdingPayPeriod } from '@gusto/embedded-api-v-2025-11-15/models/operations/postv1companiescompanyidpayrolls' +import { WithholdingPayPeriod } from '@gusto/embedded-api-v-2026-02-01/models/operations/postv1companiescompanyidpayrolls' import { OffCycleTaxWithholdingTable } from './OffCycleTaxWithholdingTable' import type { OffCycleTaxWithholdingConfig, diff --git a/src/components/Payroll/OffCycleTaxWithholdingTable/OffCycleTaxWithholdingTableTypes.ts b/src/components/Payroll/OffCycleTaxWithholdingTable/OffCycleTaxWithholdingTableTypes.ts index be793b94f..fd0f1e54a 100644 --- a/src/components/Payroll/OffCycleTaxWithholdingTable/OffCycleTaxWithholdingTableTypes.ts +++ b/src/components/Payroll/OffCycleTaxWithholdingTable/OffCycleTaxWithholdingTableTypes.ts @@ -1,4 +1,4 @@ -import { WithholdingPayPeriod } from '@gusto/embedded-api-v-2025-11-15/models/operations/postv1companiescompanyidpayrolls' +import { WithholdingPayPeriod } from '@gusto/embedded-api-v-2026-02-01/models/operations/postv1companiescompanyidpayrolls' import type { WithholdingType } from '@/components/Payroll/OffCycleReasonSelection' /** @internal */ diff --git a/src/components/Payroll/PayrollBlocker/components/PayrollBlockerList.tsx b/src/components/Payroll/PayrollBlocker/components/PayrollBlockerList.tsx index 0199012fa..88222a843 100644 --- a/src/components/Payroll/PayrollBlocker/components/PayrollBlockerList.tsx +++ b/src/components/Payroll/PayrollBlocker/components/PayrollBlockerList.tsx @@ -1,10 +1,10 @@ import { useState, useCallback } from 'react' import { useTranslation } from 'react-i18next' import classNames from 'classnames' -import { usePayrollsGetBlockersSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/payrollsGetBlockers' -import { useRecoveryCasesGetSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/recoveryCasesGet' -import { useInformationRequestsGetInformationRequestsSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/informationRequestsGetInformationRequests' -import { InformationRequestStatus } from '@gusto/embedded-api-v-2025-11-15/models/components/informationrequest' +import { usePayrollsGetBlockersSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/payrollsGetBlockers' +import { useRecoveryCasesGetSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/recoveryCasesGet' +import { useInformationRequestsGetInformationRequestsSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/informationRequestsGetInformationRequests' +import { InformationRequestStatus } from '@gusto/embedded-api-v-2026-02-01/models/components/informationrequest' import { getBlockerTranslationKeys } from '../payrollHelpers' import styles from './PayrollBlockerList.module.scss' import { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext' diff --git a/src/components/Payroll/PayrollBlocker/payrollHelpers.test.ts b/src/components/Payroll/PayrollBlocker/payrollHelpers.test.ts index 846a47138..76e8713f6 100644 --- a/src/components/Payroll/PayrollBlocker/payrollHelpers.test.ts +++ b/src/components/Payroll/PayrollBlocker/payrollHelpers.test.ts @@ -1,5 +1,5 @@ import { describe, expect, it } from 'vitest' -import { UnprocessableEntityError } from '@gusto/embedded-api-v-2025-11-15/models/errors/unprocessableentityerror' +import { UnprocessableEntityError } from '@gusto/embedded-api-v-2026-02-01/models/errors/unprocessableentityerror' import { payrollSubmitHandler, parsePayrollBlockersFromError, diff --git a/src/components/Payroll/PayrollBlocker/payrollHelpers.ts b/src/components/Payroll/PayrollBlocker/payrollHelpers.ts index e6e1736d1..64fb4efac 100644 --- a/src/components/Payroll/PayrollBlocker/payrollHelpers.ts +++ b/src/components/Payroll/PayrollBlocker/payrollHelpers.ts @@ -1,5 +1,5 @@ -import { PayrollBlockersError } from '@gusto/embedded-api-v-2025-11-15/models/errors/payrollblockerserror' -import { UnprocessableEntityError } from '@gusto/embedded-api-v-2025-11-15/models/errors/unprocessableentityerror' +import { PayrollBlockersError } from '@gusto/embedded-api-v-2026-02-01/models/errors/payrollblockerserror' +import { UnprocessableEntityError } from '@gusto/embedded-api-v-2026-02-01/models/errors/unprocessableentityerror' function hasMetadataKey(metadata: unknown): metadata is { key: string } { return ( diff --git a/src/components/Payroll/PayrollConfiguration/PayrollConfiguration.tsx b/src/components/Payroll/PayrollConfiguration/PayrollConfiguration.tsx index 722f039ea..3517e6ba0 100644 --- a/src/components/Payroll/PayrollConfiguration/PayrollConfiguration.tsx +++ b/src/components/Payroll/PayrollConfiguration/PayrollConfiguration.tsx @@ -1,16 +1,16 @@ import { useEffect, useMemo, useRef, useState, type ReactNode } from 'react' -import { usePayrollsGetSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/payrollsGet' -import { payrollsCalculate } from '@gusto/embedded-api-v-2025-11-15/funcs/payrollsCalculate' -import { useGustoEmbeddedContext } from '@gusto/embedded-api-v-2025-11-15/react-query/_context' -import type { PayrollProcessingRequest } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollprocessingrequest' -import { PayrollProcessingRequestStatus } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollprocessingrequest' -import type { Employee } from '@gusto/embedded-api-v-2025-11-15/models/components/employee' +import { usePayrollsGetSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/payrollsGet' +import { payrollsCalculate } from '@gusto/embedded-api-v-2026-02-01/funcs/payrollsCalculate' +import { useGustoEmbeddedContext } from '@gusto/embedded-api-v-2026-02-01/react-query/_context' +import type { PayrollProcessingRequest } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollprocessingrequest' +import { PayrollProcessingRequestStatus } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollprocessingrequest' +import type { Employee } from '@gusto/embedded-api-v-2026-02-01/models/components/employee' import { useTranslation } from 'react-i18next' -import { usePayrollsUpdateMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/payrollsUpdate' -import { usePayrollsCalculateGrossUpMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/payrollsCalculateGrossUp' -import type { PayrollEmployeeCompensationsType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollemployeecompensationstype' -import type { PayrollUpdateEmployeeCompensations } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollupdate' -import { usePayrollsGetBlockersSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/payrollsGetBlockers' +import { usePayrollsUpdateMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/payrollsUpdate' +import { usePayrollsCalculateGrossUpMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/payrollsCalculateGrossUp' +import type { PayrollEmployeeCompensationsType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollemployeecompensationstype' +import type { PayrollUpdateEmployeeCompensations } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollupdate' +import { usePayrollsGetBlockersSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/payrollsGetBlockers' import { payrollSubmitHandler, type ApiPayrollBlocker } from '../PayrollBlocker/payrollHelpers' import { hasDirectDepositEmployees } from '../helpers' import { GrossUpModal } from '../GrossUpModal' diff --git a/src/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.test.tsx b/src/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.test.tsx index 24f873aab..2f5698787 100644 --- a/src/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.test.tsx +++ b/src/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.test.tsx @@ -1,11 +1,11 @@ import { expect, describe, it, vi } from 'vitest' import { screen, waitFor } from '@testing-library/react' -import type { EmployeeCompensations } from '@gusto/embedded-api-v-2025-11-15/models/components/payroll' +import type { EmployeeCompensations } from '@gusto/embedded-api-v-2026-02-01/models/components/payroll' import { type Employee, EmployeePaymentMethod1, -} from '@gusto/embedded-api-v-2025-11-15/models/components/employee' -import type { PayrollPayPeriodType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollpayperiodtype' +} from '@gusto/embedded-api-v-2026-02-01/models/components/employee' +import type { PayrollPayPeriodType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollpayperiodtype' import userEvent from '@testing-library/user-event' import type { ApiPayrollBlocker } from '../PayrollBlocker/payrollHelpers' import { PayrollCategory } from '../payrollTypes' diff --git a/src/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.tsx b/src/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.tsx index f466c2cbb..2e440ef9e 100644 --- a/src/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.tsx +++ b/src/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.tsx @@ -1,11 +1,11 @@ import type { ReactNode } from 'react' import { useRef } from 'react' -import type { EmployeeCompensations } from '@gusto/embedded-api-v-2025-11-15/models/components/payroll' -import type { Employee } from '@gusto/embedded-api-v-2025-11-15/models/components/employee' -import type { PayrollPayPeriodType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollpayperiodtype' -import type { PayScheduleShow as PayScheduleObject } from '@gusto/embedded-api-v-2025-11-15/models/components/payscheduleshow' +import type { EmployeeCompensations } from '@gusto/embedded-api-v-2026-02-01/models/components/payroll' +import type { Employee } from '@gusto/embedded-api-v-2026-02-01/models/components/employee' +import type { PayrollPayPeriodType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollpayperiodtype' +import type { PayScheduleShow as PayScheduleObject } from '@gusto/embedded-api-v-2026-02-01/models/components/payscheduleshow' import { Trans, useTranslation } from 'react-i18next' -import type { PayrollEmployeeCompensationsType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollemployeecompensationstype' +import type { PayrollEmployeeCompensationsType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollemployeecompensationstype' import { useFormatEmployeePayRate, getRegularHours, diff --git a/src/components/Payroll/PayrollConfiguration/usePayrollConfigurationData.ts b/src/components/Payroll/PayrollConfiguration/usePayrollConfigurationData.ts index 3abf74e70..b1c08d20d 100644 --- a/src/components/Payroll/PayrollConfiguration/usePayrollConfigurationData.ts +++ b/src/components/Payroll/PayrollConfiguration/usePayrollConfigurationData.ts @@ -1,14 +1,14 @@ import { useCallback, useEffect, useMemo, useRef, useState } from 'react' -import { useEmployeesList } from '@gusto/embedded-api-v-2025-11-15/react-query/employeesList' +import { useEmployeesList } from '@gusto/embedded-api-v-2026-02-01/react-query/employeesList' import { keepPreviousData, useQuery, useQueryClient } from '@tanstack/react-query' -import { usePaySchedulesGet } from '@gusto/embedded-api-v-2025-11-15/react-query/paySchedulesGet' -import { useGustoEmbeddedContext } from '@gusto/embedded-api-v-2025-11-15/react-query/_context' -import { payrollsPrepare } from '@gusto/embedded-api-v-2025-11-15/funcs/payrollsPrepare' -import { employeesGet } from '@gusto/embedded-api-v-2025-11-15/funcs/employeesGet' -import type { EmployeeCompensations } from '@gusto/embedded-api-v-2025-11-15/models/components/payroll' -import type { Employee } from '@gusto/embedded-api-v-2025-11-15/models/components/employee' -import type { PayrollPayPeriodType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollpayperiodtype' -import type { PayScheduleShow } from '@gusto/embedded-api-v-2025-11-15/models/components/payscheduleshow' +import { usePaySchedulesGet } from '@gusto/embedded-api-v-2026-02-01/react-query/paySchedulesGet' +import { useGustoEmbeddedContext } from '@gusto/embedded-api-v-2026-02-01/react-query/_context' +import { payrollsPrepare } from '@gusto/embedded-api-v-2026-02-01/funcs/payrollsPrepare' +import { employeesGet } from '@gusto/embedded-api-v-2026-02-01/funcs/employeesGet' +import type { EmployeeCompensations } from '@gusto/embedded-api-v-2026-02-01/models/components/payroll' +import type { Employee } from '@gusto/embedded-api-v-2026-02-01/models/components/employee' +import type { PayrollPayPeriodType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollpayperiodtype' +import type { PayScheduleShow } from '@gusto/embedded-api-v-2026-02-01/models/components/payscheduleshow' import type { PayrollCategory } from '../payrollTypes' import { derivePayrollCategory } from '../payrollTypes' import type { PaginationControlProps } from '@/components/Common/PaginationControl/PaginationControlTypes' diff --git a/src/components/Payroll/PayrollEditEmployee/PayrollEditEmployee.stories.tsx b/src/components/Payroll/PayrollEditEmployee/PayrollEditEmployee.stories.tsx index fcd7521f4..486f8cd3b 100644 --- a/src/components/Payroll/PayrollEditEmployee/PayrollEditEmployee.stories.tsx +++ b/src/components/Payroll/PayrollEditEmployee/PayrollEditEmployee.stories.tsx @@ -1,6 +1,6 @@ import { fn } from 'storybook/test' -import type { Employee } from '@gusto/embedded-api-v-2025-11-15/models/components/employee' -import type { PayrollEmployeeCompensationsType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollemployeecompensationstype' +import type { Employee } from '@gusto/embedded-api-v-2026-02-01/models/components/employee' +import type { PayrollEmployeeCompensationsType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollemployeecompensationstype' import { PayrollEditEmployeePresentation } from './PayrollEditEmployeePresentation' export default { diff --git a/src/components/Payroll/PayrollEditEmployee/PayrollEditEmployee.tsx b/src/components/Payroll/PayrollEditEmployee/PayrollEditEmployee.tsx index 2e4721fc6..7c3fb7203 100644 --- a/src/components/Payroll/PayrollEditEmployee/PayrollEditEmployee.tsx +++ b/src/components/Payroll/PayrollEditEmployee/PayrollEditEmployee.tsx @@ -1,8 +1,8 @@ -import { useEmployeesGetSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/employeesGet' -import { useEmployeePaymentMethodsGetBankAccountsSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/employeePaymentMethodsGetBankAccounts' -import { usePayrollsUpdateMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/payrollsUpdate' -import type { PayrollEmployeeCompensationsType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollemployeecompensationstype' -import type { PayrollUpdateEmployeeCompensations } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollupdate' +import { useEmployeesGetSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/employeesGet' +import { useEmployeePaymentMethodsGetBankAccountsSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/employeePaymentMethodsGetBankAccounts' +import { usePayrollsUpdateMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/payrollsUpdate' +import type { PayrollEmployeeCompensationsType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollemployeecompensationstype' +import type { PayrollUpdateEmployeeCompensations } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollupdate' import { useMemo } from 'react' import { useQueryClient } from '@tanstack/react-query' import { usePreparedPayrollData } from '../usePreparedPayrollData' diff --git a/src/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.test.tsx b/src/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.test.tsx index 73d67310d..f7126fbb5 100644 --- a/src/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.test.tsx +++ b/src/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.test.tsx @@ -3,12 +3,12 @@ import { screen, waitFor } from '@testing-library/react' import { type Employee, EmployeePaymentMethod1, -} from '@gusto/embedded-api-v-2025-11-15/models/components/employee' -import type { PayrollEmployeeCompensationsType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollemployeecompensationstype' -import { PayrollEmployeeCompensationsTypePaymentMethod as PaymentMethods } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollemployeecompensationstype' -import { FlsaStatusType } from '@gusto/embedded-api-v-2025-11-15/models/components/flsastatustype' +} from '@gusto/embedded-api-v-2026-02-01/models/components/employee' +import type { PayrollEmployeeCompensationsType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollemployeecompensationstype' +import { PayrollEmployeeCompensationsTypePaymentMethod as PaymentMethods } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollemployeecompensationstype' +import { FlsaStatusType } from '@gusto/embedded-api-v-2026-02-01/models/components/flsastatustype' import userEvent from '@testing-library/user-event' -import { RFCDate } from '@gusto/embedded-api-v-2025-11-15/types/rfcdate' +import { RFCDate } from '@gusto/embedded-api-v-2026-02-01/types/rfcdate' import { PayrollEditEmployeePresentation } from './PayrollEditEmployeePresentation' import { PayrollCategory } from '@/components/Payroll/payrollTypes' import { renderWithProviders } from '@/test-utils/renderWithProviders' diff --git a/src/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.tsx b/src/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.tsx index b12381d5e..6f37cbeae 100644 --- a/src/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.tsx +++ b/src/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.tsx @@ -1,15 +1,15 @@ import { FormProvider, useFieldArray, useForm, useWatch } from 'react-hook-form' import { useMemo, useRef, useState } from 'react' -import type { Employee } from '@gusto/embedded-api-v-2025-11-15/models/components/employee' +import type { Employee } from '@gusto/embedded-api-v-2026-02-01/models/components/employee' import type { PayrollEmployeeCompensationsTypeFixedCompensations as FixedCompensations, PayrollEmployeeCompensationsType, PayrollEmployeeCompensationsTypePaidTimeOff, PayrollEmployeeCompensationsTypeReimbursements as Reimbursement, -} from '@gusto/embedded-api-v-2025-11-15/models/components/payrollemployeecompensationstype' -import { PayrollEmployeeCompensationsTypePaymentMethod } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollemployeecompensationstype' -import type { PayrollFixedCompensationTypesType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollfixedcompensationtypestype' -import type { PayScheduleShow as PayScheduleObject } from '@gusto/embedded-api-v-2025-11-15/models/components/payscheduleshow' +} from '@gusto/embedded-api-v-2026-02-01/models/components/payrollemployeecompensationstype' +import { PayrollEmployeeCompensationsTypePaymentMethod } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollemployeecompensationstype' +import type { PayrollFixedCompensationTypesType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollfixedcompensationtypestype' +import type { PayScheduleShow as PayScheduleObject } from '@gusto/embedded-api-v-2026-02-01/models/components/payscheduleshow' import { useTranslation } from 'react-i18next' import { z } from 'zod' import { zodResolver } from '@hookform/resolvers/zod' diff --git a/src/components/Payroll/PayrollEditEmployee/TimeOffField.test.tsx b/src/components/Payroll/PayrollEditEmployee/TimeOffField.test.tsx index dd1c03ecd..7a64761dc 100644 --- a/src/components/Payroll/PayrollEditEmployee/TimeOffField.test.tsx +++ b/src/components/Payroll/PayrollEditEmployee/TimeOffField.test.tsx @@ -5,8 +5,8 @@ import { Suspense } from 'react' import { type Employee, EmployeePaymentMethod1, -} from '@gusto/embedded-api-v-2025-11-15/models/components/employee' -import type { PayrollEmployeeCompensationsTypePaidTimeOff } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollemployeecompensationstype' +} from '@gusto/embedded-api-v-2026-02-01/models/components/employee' +import type { PayrollEmployeeCompensationsTypePaidTimeOff } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollemployeecompensationstype' import { TimeOffField } from './TimeOffField' import type { PayrollEditEmployeeFormValues } from './PayrollEditEmployeePresentation' import { renderWithProviders } from '@/test-utils/renderWithProviders' diff --git a/src/components/Payroll/PayrollEditEmployee/TimeOffField.tsx b/src/components/Payroll/PayrollEditEmployee/TimeOffField.tsx index 3f9bda9f5..9d9a3f81c 100644 --- a/src/components/Payroll/PayrollEditEmployee/TimeOffField.tsx +++ b/src/components/Payroll/PayrollEditEmployee/TimeOffField.tsx @@ -1,8 +1,8 @@ import { useId } from 'react' import { useWatch, useFormContext } from 'react-hook-form' import { useTranslation } from 'react-i18next' -import type { Employee } from '@gusto/embedded-api-v-2025-11-15/models/components/employee' -import type { PayrollEmployeeCompensationsTypePaidTimeOff } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollemployeecompensationstype' +import type { Employee } from '@gusto/embedded-api-v-2026-02-01/models/components/employee' +import type { PayrollEmployeeCompensationsTypePaidTimeOff } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollemployeecompensationstype' import type { PayrollEditEmployeeFormValues } from './PayrollEditEmployeePresentation' import { Flex, TextInputField } from '@/components/Common' import { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext' diff --git a/src/components/Payroll/PayrollExecutionFlow/PayrollExecutionFlow.tsx b/src/components/Payroll/PayrollExecutionFlow/PayrollExecutionFlow.tsx index a1fae7e5c..f3add91b4 100644 --- a/src/components/Payroll/PayrollExecutionFlow/PayrollExecutionFlow.tsx +++ b/src/components/Payroll/PayrollExecutionFlow/PayrollExecutionFlow.tsx @@ -1,6 +1,6 @@ import { useMemo } from 'react' import { createMachine } from 'robot3' -import type { PayrollPayPeriodType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollpayperiodtype' +import type { PayrollPayPeriodType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollpayperiodtype' import type { ConfirmWireDetailsComponentType } from '../ConfirmWireDetails/ConfirmWireDetails' import { PayrollConfigurationContextual, diff --git a/src/components/Payroll/PayrollExecutionFlow/payrollExecutionMachine.ts b/src/components/Payroll/PayrollExecutionFlow/payrollExecutionMachine.ts index 1c94643c5..f083d67f6 100644 --- a/src/components/Payroll/PayrollExecutionFlow/payrollExecutionMachine.ts +++ b/src/components/Payroll/PayrollExecutionFlow/payrollExecutionMachine.ts @@ -1,5 +1,5 @@ import { transition, reduce, state, guard } from 'robot3' -import type { PayrollPayPeriodType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollpayperiodtype' +import type { PayrollPayPeriodType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollpayperiodtype' import type { PayrollFlowAlert } from '../PayrollFlow/PayrollFlowComponents' import { PayrollConfigurationContextual, diff --git a/src/components/Payroll/PayrollFlow/PayrollExecutionFlowContextual.tsx b/src/components/Payroll/PayrollFlow/PayrollExecutionFlowContextual.tsx index ae55bbef9..51b4f2569 100644 --- a/src/components/Payroll/PayrollFlow/PayrollExecutionFlowContextual.tsx +++ b/src/components/Payroll/PayrollFlow/PayrollExecutionFlowContextual.tsx @@ -1,5 +1,5 @@ import { Suspense } from 'react' -import { usePayrollsGetSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/payrollsGet' +import { usePayrollsGetSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/payrollsGet' import { PayrollExecutionFlow } from '../PayrollExecutionFlow/PayrollExecutionFlow' import { isDismissalPayroll } from '../helpers' import type { PayrollFlowContextInterface } from './PayrollFlowComponents' diff --git a/src/components/Payroll/PayrollFlow/PayrollFlowComponents.tsx b/src/components/Payroll/PayrollFlow/PayrollFlowComponents.tsx index 87802439a..f7cc8208d 100644 --- a/src/components/Payroll/PayrollFlow/PayrollFlowComponents.tsx +++ b/src/components/Payroll/PayrollFlow/PayrollFlowComponents.tsx @@ -1,6 +1,6 @@ import type { ReactNode } from 'react' import { useTranslation } from 'react-i18next' -import type { PayrollPayPeriodType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollpayperiodtype' +import type { PayrollPayPeriodType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollpayperiodtype' import { PayrollLanding } from '../PayrollLanding/PayrollLanding' import { PayrollConfiguration } from '../PayrollConfiguration/PayrollConfiguration' import { PayrollOverview } from '../PayrollOverview/PayrollOverview' diff --git a/src/components/Payroll/PayrollFlow/TransitionFlowContextual.tsx b/src/components/Payroll/PayrollFlow/TransitionFlowContextual.tsx index 36fbc310a..d258cc4c5 100644 --- a/src/components/Payroll/PayrollFlow/TransitionFlowContextual.tsx +++ b/src/components/Payroll/PayrollFlow/TransitionFlowContextual.tsx @@ -1,9 +1,9 @@ import { useMemo, useRef } from 'react' -import { usePayrollsListSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/payrollsList' +import { usePayrollsListSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/payrollsList' import { ProcessingStatuses, QueryParamPayrollTypes, -} from '@gusto/embedded-api-v-2025-11-15/models/operations/getv1companiescompanyidpayrolls' +} from '@gusto/embedded-api-v-2026-02-01/models/operations/getv1companiescompanyidpayrolls' import { TransitionFlow } from '../Transition/TransitionFlow' import type { PayrollFlowContextInterface } from './PayrollFlowComponents' import { useFlow } from '@/components/Flow/useFlow' diff --git a/src/components/Payroll/PayrollFlow/payrollStateMachine.ts b/src/components/Payroll/PayrollFlow/payrollStateMachine.ts index 3391442d0..c315496ba 100644 --- a/src/components/Payroll/PayrollFlow/payrollStateMachine.ts +++ b/src/components/Payroll/PayrollFlow/payrollStateMachine.ts @@ -1,5 +1,5 @@ import { state, transition, reduce, guard } from 'robot3' -import type { PayrollPayPeriodType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollpayperiodtype' +import type { PayrollPayPeriodType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollpayperiodtype' import type { PayrollExecutionInitialState } from '../PayrollExecutionFlow' import { PayrollLandingContextual, diff --git a/src/components/Payroll/PayrollHistory/PayrollHistory.stories.tsx b/src/components/Payroll/PayrollHistory/PayrollHistory.stories.tsx index a35f3294e..b253d0b27 100644 --- a/src/components/Payroll/PayrollHistory/PayrollHistory.stories.tsx +++ b/src/components/Payroll/PayrollHistory/PayrollHistory.stories.tsx @@ -1,7 +1,7 @@ import { useState, useCallback } from 'react' import { fn } from 'storybook/test' -import type { Payroll } from '@gusto/embedded-api-v-2025-11-15/models/components/payroll' -import type { WireInRequest } from '@gusto/embedded-api-v-2025-11-15/models/components/wireinrequest' +import type { Payroll } from '@gusto/embedded-api-v-2026-02-01/models/components/payroll' +import type { WireInRequest } from '@gusto/embedded-api-v-2026-02-01/models/components/wireinrequest' import { PayrollHistoryPresentation } from './PayrollHistoryPresentation' import type { PaginationControlProps } from '@/components/Common/PaginationControl/PaginationControlTypes' import type { UseDateRangeFilterResult } from '@/hooks/useDateRangeFilter/useDateRangeFilter' diff --git a/src/components/Payroll/PayrollHistory/PayrollHistory.tsx b/src/components/Payroll/PayrollHistory/PayrollHistory.tsx index 0d4bd1aa2..5b1681836 100644 --- a/src/components/Payroll/PayrollHistory/PayrollHistory.tsx +++ b/src/components/Payroll/PayrollHistory/PayrollHistory.tsx @@ -1,14 +1,14 @@ import { useState, useCallback } from 'react' -import { usePayrollsListSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/payrollsList' -import { usePayrollsCancelMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/payrollsCancel' -import { useWireInRequestsListSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/wireInRequestsList' +import { usePayrollsListSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/payrollsList' +import { usePayrollsCancelMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/payrollsCancel' +import { useWireInRequestsListSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/wireInRequestsList' import { DateFilterBy, ProcessingStatuses, QueryParamPayrollTypes, SortOrder, -} from '@gusto/embedded-api-v-2025-11-15/models/operations/getv1companiescompanyidpayrolls' -import type { Payroll } from '@gusto/embedded-api-v-2025-11-15/models/components/payroll' +} from '@gusto/embedded-api-v-2026-02-01/models/operations/getv1companiescompanyidpayrolls' +import type { Payroll } from '@gusto/embedded-api-v-2026-02-01/models/components/payroll' import { PayrollHistoryPresentation } from './PayrollHistoryPresentation' import type { BaseComponentInterface } from '@/components/Base/Base' import { BaseComponent } from '@/components/Base/Base' diff --git a/src/components/Payroll/PayrollHistory/PayrollHistoryPresentation.tsx b/src/components/Payroll/PayrollHistory/PayrollHistoryPresentation.tsx index c568878d4..c9dd23e3b 100644 --- a/src/components/Payroll/PayrollHistory/PayrollHistoryPresentation.tsx +++ b/src/components/Payroll/PayrollHistory/PayrollHistoryPresentation.tsx @@ -1,6 +1,6 @@ import { useTranslation } from 'react-i18next' -import type { Payroll } from '@gusto/embedded-api-v-2025-11-15/models/components/payroll' -import type { WireInRequest } from '@gusto/embedded-api-v-2025-11-15/models/components/wireinrequest' +import type { Payroll } from '@gusto/embedded-api-v-2026-02-01/models/components/payroll' +import type { WireInRequest } from '@gusto/embedded-api-v-2026-02-01/models/components/wireinrequest' import { PayrollStatusBadges } from '../PayrollStatusBadges' import { getPayrollTypeLabel, calculateTotalPayroll, canCancelPayroll } from '../helpers' import type { MenuItem } from '@/components/Common/UI/Menu/MenuTypes' diff --git a/src/components/Payroll/PayrollLanding/PayrollLandingFlowComponents.tsx b/src/components/Payroll/PayrollLanding/PayrollLandingFlowComponents.tsx index 7558985f6..bf4968bff 100644 --- a/src/components/Payroll/PayrollLanding/PayrollLandingFlowComponents.tsx +++ b/src/components/Payroll/PayrollLanding/PayrollLandingFlowComponents.tsx @@ -1,7 +1,7 @@ import { useState } from 'react' import { useTranslation } from 'react-i18next' -import { useWireInRequestsListSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/wireInRequestsList' -import { usePayrollsGetBlockersSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/payrollsGetBlockers' +import { useWireInRequestsListSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/wireInRequestsList' +import { usePayrollsGetBlockersSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/payrollsGetBlockers' import { PayrollHistory } from '../PayrollHistory/PayrollHistory' import { PayrollList } from '../PayrollList/PayrollList' import { PayrollOverview } from '../PayrollOverview/PayrollOverview' diff --git a/src/components/Payroll/PayrollList/PayrollList.tsx b/src/components/Payroll/PayrollList/PayrollList.tsx index e3de5de07..e46f13982 100644 --- a/src/components/Payroll/PayrollList/PayrollList.tsx +++ b/src/components/Payroll/PayrollList/PayrollList.tsx @@ -3,18 +3,18 @@ import { useQueryClient } from '@tanstack/react-query' import { usePayrollsListSuspense, invalidateAllPayrollsList, -} from '@gusto/embedded-api-v-2025-11-15/react-query/payrollsList' -import { usePaySchedulesGetAllSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/paySchedulesGetAll' -import { usePayrollsSkipMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/payrollsSkip' -import { usePayrollsDeleteMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/payrollsDelete' -import { usePayrollsGetBlockersSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/payrollsGetBlockers' -import { useWireInRequestsListSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/wireInRequestsList' -import { PayrollType } from '@gusto/embedded-api-v-2025-11-15/models/operations/postcompaniespayrollskipcompanyuuid' +} from '@gusto/embedded-api-v-2026-02-01/react-query/payrollsList' +import { usePaySchedulesGetAllSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/paySchedulesGetAll' +import { usePayrollsSkipMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/payrollsSkip' +import { usePayrollsDeleteMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/payrollsDelete' +import { usePayrollsGetBlockersSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/payrollsGetBlockers' +import { useWireInRequestsListSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/wireInRequestsList' +import { PayrollType } from '@gusto/embedded-api-v-2026-02-01/models/operations/postcompaniespayrollskipcompanyuuid' import { ProcessingStatuses, QueryParamPayrollTypes, -} from '@gusto/embedded-api-v-2025-11-15/models/operations/getv1companiescompanyidpayrolls' -import type { Payroll } from '@gusto/embedded-api-v-2025-11-15/models/components/payroll' +} from '@gusto/embedded-api-v-2026-02-01/models/operations/getv1companiescompanyidpayrolls' +import type { Payroll } from '@gusto/embedded-api-v-2026-02-01/models/components/payroll' import type { ApiPayrollBlocker } from '../PayrollBlocker/payrollHelpers' import { useUnprocessedTransitionPayPeriods } from '../useUnprocessedTransitionPayPeriods' import { PayrollListPresentation } from './PayrollListPresentation' diff --git a/src/components/Payroll/PayrollList/PayrollListPresentation.test.tsx b/src/components/Payroll/PayrollList/PayrollListPresentation.test.tsx index b1ea00ee7..de0fbf302 100644 --- a/src/components/Payroll/PayrollList/PayrollListPresentation.test.tsx +++ b/src/components/Payroll/PayrollList/PayrollListPresentation.test.tsx @@ -1,9 +1,9 @@ import { describe, expect, it, vi } from 'vitest' import { screen } from '@testing-library/react' import userEvent from '@testing-library/user-event' -import type { Payroll } from '@gusto/embedded-api-v-2025-11-15/models/components/payroll' -import type { PayScheduleShow } from '@gusto/embedded-api-v-2025-11-15/models/components/payscheduleshow' -import { RFCDate } from '@gusto/embedded-api-v-2025-11-15/types/rfcdate' +import type { Payroll } from '@gusto/embedded-api-v-2026-02-01/models/components/payroll' +import type { PayScheduleShow } from '@gusto/embedded-api-v-2026-02-01/models/components/payscheduleshow' +import { RFCDate } from '@gusto/embedded-api-v-2026-02-01/types/rfcdate' import type { ApiPayrollBlocker } from '../PayrollBlocker/payrollHelpers' import type { PayrollType } from './types' import { PayrollListPresentation } from './PayrollListPresentation' diff --git a/src/components/Payroll/PayrollList/PayrollListPresentation.tsx b/src/components/Payroll/PayrollList/PayrollListPresentation.tsx index 446618ac6..4c11b967c 100644 --- a/src/components/Payroll/PayrollList/PayrollListPresentation.tsx +++ b/src/components/Payroll/PayrollList/PayrollListPresentation.tsx @@ -1,7 +1,7 @@ -import type { Payroll } from '@gusto/embedded-api-v-2025-11-15/models/components/payroll' -import { OffCycleReasonType } from '@gusto/embedded-api-v-2025-11-15/models/components/payroll' -import type { PayScheduleShow } from '@gusto/embedded-api-v-2025-11-15/models/components/payscheduleshow' -import type { WireInRequest } from '@gusto/embedded-api-v-2025-11-15/models/components/wireinrequest' +import type { Payroll } from '@gusto/embedded-api-v-2026-02-01/models/components/payroll' +import { OffCycleReasonType } from '@gusto/embedded-api-v-2026-02-01/models/components/payroll' +import type { PayScheduleShow } from '@gusto/embedded-api-v-2026-02-01/models/components/payscheduleshow' +import type { WireInRequest } from '@gusto/embedded-api-v-2026-02-01/models/components/wireinrequest' import { useState, useRef, useMemo } from 'react' import { useTranslation } from 'react-i18next' import type { ApiPayrollBlocker } from '../PayrollBlocker/payrollHelpers' diff --git a/src/components/Payroll/PayrollList/PayrollStatusShowcase.stories.tsx b/src/components/Payroll/PayrollList/PayrollStatusShowcase.stories.tsx index c185fed6a..c90527c63 100644 --- a/src/components/Payroll/PayrollList/PayrollStatusShowcase.stories.tsx +++ b/src/components/Payroll/PayrollList/PayrollStatusShowcase.stories.tsx @@ -1,6 +1,6 @@ import { fn } from 'storybook/test' -import type { Payroll } from '@gusto/embedded-api-v-2025-11-15/models/components/payroll' -import type { WireInRequest } from '@gusto/embedded-api-v-2025-11-15/models/components/wireinrequest' +import type { Payroll } from '@gusto/embedded-api-v-2026-02-01/models/components/payroll' +import type { WireInRequest } from '@gusto/embedded-api-v-2026-02-01/models/components/wireinrequest' import { PayrollListPresentation } from './PayrollListPresentation' import type { UseDateRangeFilterResult } from '@/hooks/useDateRangeFilter/useDateRangeFilter' diff --git a/src/components/Payroll/PayrollOverview/PayrollOverview.test.tsx b/src/components/Payroll/PayrollOverview/PayrollOverview.test.tsx index 03eb76c0a..743b672c7 100644 --- a/src/components/Payroll/PayrollOverview/PayrollOverview.test.tsx +++ b/src/components/Payroll/PayrollOverview/PayrollOverview.test.tsx @@ -1,8 +1,8 @@ import { beforeEach, describe, expect, it, vi } from 'vitest' import { screen, waitFor } from '@testing-library/react' import userEvent from '@testing-library/user-event' -import type { PayrollShow } from '@gusto/embedded-api-v-2025-11-15/models/components/payroll' -import { OffCycleReasonType } from '@gusto/embedded-api-v-2025-11-15/models/components/payroll' +import type { PayrollShow } from '@gusto/embedded-api-v-2026-02-01/models/components/payroll' +import { OffCycleReasonType } from '@gusto/embedded-api-v-2026-02-01/models/components/payroll' import { PayrollOverview } from './PayrollOverview' import { componentEvents } from '@/shared/constants' import { renderWithProviders } from '@/test-utils/renderWithProviders' @@ -64,7 +64,7 @@ const basePayrollData: PayrollShow = { let mockPayrollData = { ...basePayrollData } -vi.mock('@gusto/embedded-api-v-2025-11-15/react-query/payrollsGet', () => ({ +vi.mock('@gusto/embedded-api-v-2026-02-01/react-query/payrollsGet', () => ({ usePayrollsGet: () => ({ data: { payrollShow: mockPayrollData, @@ -78,27 +78,27 @@ vi.mock('@gusto/embedded-api-v-2025-11-15/react-query/payrollsGet', () => ({ }), })) -vi.mock('@gusto/embedded-api-v-2025-11-15/react-query/payrollsSubmit', () => ({ +vi.mock('@gusto/embedded-api-v-2026-02-01/react-query/payrollsSubmit', () => ({ usePayrollsSubmitMutation: () => ({ mutateAsync: mockSubmitPayroll, isPending: false, }), })) -vi.mock('@gusto/embedded-api-v-2025-11-15/react-query/payrollsCancel', () => ({ +vi.mock('@gusto/embedded-api-v-2026-02-01/react-query/payrollsCancel', () => ({ usePayrollsCancelMutation: () => ({ mutateAsync: vi.fn(), isPending: false, }), })) -vi.mock('@gusto/embedded-api-v-2025-11-15/react-query/bankAccountsGet', () => ({ +vi.mock('@gusto/embedded-api-v-2026-02-01/react-query/bankAccountsGet', () => ({ useBankAccountsGetSuspense: () => ({ data: { companyBankAccounts: [{ hiddenAccountNumber: '****1234' }] }, }), })) -vi.mock('@gusto/embedded-api-v-2025-11-15/react-query/wireInRequestsGet', () => ({ +vi.mock('@gusto/embedded-api-v-2026-02-01/react-query/wireInRequestsGet', () => ({ useWireInRequestsGet: () => ({ data: undefined }), })) @@ -109,7 +109,7 @@ vi.mock('@/hooks/useCompanyPaymentSpeed', () => ({ }), })) -vi.mock('@gusto/embedded-api-v-2025-11-15/react-query/_context', async importOriginal => { +vi.mock('@gusto/embedded-api-v-2026-02-01/react-query/_context', async importOriginal => { const actual = await importOriginal() return { ...(actual as Record), @@ -117,7 +117,7 @@ vi.mock('@gusto/embedded-api-v-2025-11-15/react-query/_context', async importOri } }) -vi.mock('@gusto/embedded-api-v-2025-11-15/funcs/payrollsGetPayStub', () => ({ +vi.mock('@gusto/embedded-api-v-2026-02-01/funcs/payrollsGetPayStub', () => ({ payrollsGetPayStub: vi.fn(), })) diff --git a/src/components/Payroll/PayrollOverview/PayrollOverview.tsx b/src/components/Payroll/PayrollOverview/PayrollOverview.tsx index 5c00a9c22..3bda0d88d 100644 --- a/src/components/Payroll/PayrollOverview/PayrollOverview.tsx +++ b/src/components/Payroll/PayrollOverview/PayrollOverview.tsx @@ -1,19 +1,19 @@ -import { usePayrollsSubmitMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/payrollsSubmit' -import { usePayrollsCancelMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/payrollsCancel' -import { usePayrollsGet } from '@gusto/embedded-api-v-2025-11-15/react-query/payrollsGet' +import { usePayrollsSubmitMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/payrollsSubmit' +import { usePayrollsCancelMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/payrollsCancel' +import { usePayrollsGet } from '@gusto/embedded-api-v-2026-02-01/react-query/payrollsGet' import { keepPreviousData } from '@tanstack/react-query' import { useTranslation } from 'react-i18next' -import { useBankAccountsGetSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/bankAccountsGet' -import { useWireInRequestsGet } from '@gusto/embedded-api-v-2025-11-15/react-query/wireInRequestsGet' +import { useBankAccountsGetSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/bankAccountsGet' +import { useWireInRequestsGet } from '@gusto/embedded-api-v-2026-02-01/react-query/wireInRequestsGet' import { useEffect, useState } from 'react' -import { useGustoEmbeddedContext } from '@gusto/embedded-api-v-2025-11-15/react-query/_context' -import { payrollsGetPayStub } from '@gusto/embedded-api-v-2025-11-15/funcs/payrollsGetPayStub' +import { useGustoEmbeddedContext } from '@gusto/embedded-api-v-2026-02-01/react-query/_context' +import { payrollsGetPayStub } from '@gusto/embedded-api-v-2026-02-01/funcs/payrollsGetPayStub' import { useErrorBoundary } from 'react-error-boundary' -import type { PayrollSubmissionBlockerType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollsubmissionblockertype' +import type { PayrollSubmissionBlockerType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollsubmissionblockertype' import type { PayrollCreditBlockerType, PayrollCreditBlockerTypeUnblockOptions, -} from '@gusto/embedded-api-v-2025-11-15/models/components/payrollcreditblockertype' +} from '@gusto/embedded-api-v-2026-02-01/models/components/payrollcreditblockertype' import type { PayrollFlowAlert } from '../PayrollFlow/PayrollFlowComponents' import { ConfirmWireDetails, diff --git a/src/components/Payroll/PayrollOverview/PayrollOverviewPresentation.test.tsx b/src/components/Payroll/PayrollOverview/PayrollOverviewPresentation.test.tsx index a8d25d39c..3e967b690 100644 --- a/src/components/Payroll/PayrollOverview/PayrollOverviewPresentation.test.tsx +++ b/src/components/Payroll/PayrollOverview/PayrollOverviewPresentation.test.tsx @@ -4,8 +4,8 @@ import userEvent from '@testing-library/user-event' import { type PayrollShow, OffCycleReasonType, -} from '@gusto/embedded-api-v-2025-11-15/models/components/payroll' -import type { PayrollSubmissionBlockerType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollsubmissionblockertype' +} from '@gusto/embedded-api-v-2026-02-01/models/components/payroll' +import type { PayrollSubmissionBlockerType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollsubmissionblockertype' import { PayrollOverviewPresentation } from './PayrollOverviewPresentation' import { PayrollOverviewStatus } from './PayrollOverviewTypes' import { renderWithProviders } from '@/test-utils/renderWithProviders' diff --git a/src/components/Payroll/PayrollOverview/PayrollOverviewPresentation.tsx b/src/components/Payroll/PayrollOverview/PayrollOverviewPresentation.tsx index b955e9f15..714947ad6 100644 --- a/src/components/Payroll/PayrollOverview/PayrollOverviewPresentation.tsx +++ b/src/components/Payroll/PayrollOverview/PayrollOverviewPresentation.tsx @@ -2,15 +2,15 @@ import { Trans, useTranslation } from 'react-i18next' import type { EmployeeCompensations, PayrollShow, -} from '@gusto/embedded-api-v-2025-11-15/models/components/payroll' -import type { PayrollPayPeriodType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollpayperiodtype' -import type { CompanyBankAccount } from '@gusto/embedded-api-v-2025-11-15/models/components/companybankaccount' +} from '@gusto/embedded-api-v-2026-02-01/models/components/payroll' +import type { PayrollPayPeriodType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollpayperiodtype' +import type { CompanyBankAccount } from '@gusto/embedded-api-v-2026-02-01/models/components/companybankaccount' import { useState, useRef } from 'react' import type { PayrollSubmissionBlockerType, UnblockOptions, -} from '@gusto/embedded-api-v-2025-11-15/models/components/payrollsubmissionblockertype' -import type { PaymentSpeed } from '@gusto/embedded-api-v-2025-11-15/models/components/paymentconfigs' +} from '@gusto/embedded-api-v-2026-02-01/models/components/payrollsubmissionblockertype' +import type { PaymentSpeed } from '@gusto/embedded-api-v-2026-02-01/models/components/paymentconfigs' import type { PayrollFlowAlert } from '../PayrollFlow/PayrollFlowComponents' import { calculateTotalPayroll, diff --git a/src/components/Payroll/PayrollOverview/SubmissionBlockers/FastAchSubmissionBlockerBanner.tsx b/src/components/Payroll/PayrollOverview/SubmissionBlockers/FastAchSubmissionBlockerBanner.tsx index 3c6a1c8d0..66f7a8019 100644 --- a/src/components/Payroll/PayrollOverview/SubmissionBlockers/FastAchSubmissionBlockerBanner.tsx +++ b/src/components/Payroll/PayrollOverview/SubmissionBlockers/FastAchSubmissionBlockerBanner.tsx @@ -2,8 +2,8 @@ import { useTranslation } from 'react-i18next' import type { PayrollSubmissionBlockerType, UnblockOptions, -} from '@gusto/embedded-api-v-2025-11-15/models/components/payrollsubmissionblockertype' -import type { PaymentSpeed } from '@gusto/embedded-api-v-2025-11-15/models/components/paymentconfigs' +} from '@gusto/embedded-api-v-2026-02-01/models/components/payrollsubmissionblockertype' +import type { PaymentSpeed } from '@gusto/embedded-api-v-2026-02-01/models/components/paymentconfigs' import { Flex } from '@/components/Common' import { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext' import { useDateFormatter } from '@/hooks/useDateFormatter' diff --git a/src/components/Payroll/PayrollOverview/SubmissionBlockers/GenericBlocker.tsx b/src/components/Payroll/PayrollOverview/SubmissionBlockers/GenericBlocker.tsx index 0226e2aa8..b4e33de51 100644 --- a/src/components/Payroll/PayrollOverview/SubmissionBlockers/GenericBlocker.tsx +++ b/src/components/Payroll/PayrollOverview/SubmissionBlockers/GenericBlocker.tsx @@ -1,4 +1,4 @@ -import type { PayrollSubmissionBlockerType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollsubmissionblockertype' +import type { PayrollSubmissionBlockerType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollsubmissionblockertype' import { useTranslation } from 'react-i18next' import { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext' diff --git a/src/components/Payroll/PayrollReceipts/PayrollReceipts.stories.tsx b/src/components/Payroll/PayrollReceipts/PayrollReceipts.stories.tsx index 7e2040e2f..15a49d178 100644 --- a/src/components/Payroll/PayrollReceipts/PayrollReceipts.stories.tsx +++ b/src/components/Payroll/PayrollReceipts/PayrollReceipts.stories.tsx @@ -1,4 +1,4 @@ -import type { PayrollReceipt } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollreceipt' +import type { PayrollReceipt } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollreceipt' import { PayrollReceiptsPresentation } from './PayrollReceiptsPresentation' export default { diff --git a/src/components/Payroll/PayrollReceipts/PayrollReceipts.tsx b/src/components/Payroll/PayrollReceipts/PayrollReceipts.tsx index c2928ddb9..fb8b9a7b0 100644 --- a/src/components/Payroll/PayrollReceipts/PayrollReceipts.tsx +++ b/src/components/Payroll/PayrollReceipts/PayrollReceipts.tsx @@ -1,4 +1,4 @@ -import { usePayrollsGetReceiptSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/payrollsGetReceipt' +import { usePayrollsGetReceiptSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/payrollsGetReceipt' import { PayrollReceiptsPresentation } from './PayrollReceiptsPresentation' import { BaseComponent, type BaseComponentInterface } from '@/components/Base' import { useComponentDictionary, useI18n } from '@/i18n' diff --git a/src/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.test.tsx b/src/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.test.tsx index 4709fa6cc..4df4ffd04 100644 --- a/src/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.test.tsx +++ b/src/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.test.tsx @@ -1,7 +1,7 @@ import { Suspense } from 'react' import { expect, describe, it } from 'vitest' import { screen, waitFor } from '@testing-library/react' -import type { PayrollReceipt } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollreceipt' +import type { PayrollReceipt } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollreceipt' import { PayrollReceiptsPresentation } from './PayrollReceiptsPresentation' import { renderWithProviders } from '@/test-utils/renderWithProviders' import { mockUseContainerBreakpoints } from '@/test/setup' diff --git a/src/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.tsx b/src/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.tsx index ff3413f98..f09d3cbfd 100644 --- a/src/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.tsx +++ b/src/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.tsx @@ -5,7 +5,7 @@ import type { PayrollReceipt, Taxes as TaxBreakdownItem, PayrollReceiptEmployeeCompensations as EmployeeBreakdownItem, -} from '@gusto/embedded-api-v-2025-11-15/models/components/payrollreceipt' +} from '@gusto/embedded-api-v-2026-02-01/models/components/payrollreceipt' import styles from './PayrollReceiptsPresentation.module.scss' import { DataView, DataTable, Flex } from '@/components/Common' import type { DescriptionListItem } from '@/components/Common/UI/DescriptionList/DescriptionListTypes' diff --git a/src/components/Payroll/PayrollStatusBadges/payrollStatusConfig.ts b/src/components/Payroll/PayrollStatusBadges/payrollStatusConfig.ts index e5eeaae26..711768b26 100644 --- a/src/components/Payroll/PayrollStatusBadges/payrollStatusConfig.ts +++ b/src/components/Payroll/PayrollStatusBadges/payrollStatusConfig.ts @@ -1,5 +1,5 @@ -import { PayrollProcessingRequestStatus } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollprocessingrequest' -import { WireInRequestStatus } from '@gusto/embedded-api-v-2025-11-15/models/components/wireinrequest' +import { PayrollProcessingRequestStatus } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollprocessingrequest' +import { WireInRequestStatus } from '@gusto/embedded-api-v-2026-02-01/models/components/wireinrequest' import { normalizeToDate, getHoursUntil, getDaysUntil } from '@/helpers/dateFormatting' /** @internal */ diff --git a/src/components/Payroll/PayrollStatusBadges/usePayrollStatusBadges.test.ts b/src/components/Payroll/PayrollStatusBadges/usePayrollStatusBadges.test.ts index 2176592d2..c7c6c0ed9 100644 --- a/src/components/Payroll/PayrollStatusBadges/usePayrollStatusBadges.test.ts +++ b/src/components/Payroll/PayrollStatusBadges/usePayrollStatusBadges.test.ts @@ -1,6 +1,6 @@ import { expect, describe, it } from 'vitest' import { getPayrollStatusBadges } from './usePayrollStatusBadges' -import { PayrollProcessingRequestStatus } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollprocessingrequest' +import { PayrollProcessingRequestStatus } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollprocessingrequest' describe('usePayrollStatusBadges', () => { describe('processing request statuses (highest priority)', () => { diff --git a/src/components/Payroll/RecoveryCases/RecoveryCasesList/RecoveryCasesList.tsx b/src/components/Payroll/RecoveryCases/RecoveryCasesList/RecoveryCasesList.tsx index 5c00d6edb..1e48becad 100644 --- a/src/components/Payroll/RecoveryCases/RecoveryCasesList/RecoveryCasesList.tsx +++ b/src/components/Payroll/RecoveryCases/RecoveryCasesList/RecoveryCasesList.tsx @@ -2,8 +2,8 @@ import { useTranslation } from 'react-i18next' import type { RecoveryCase, RecoveryCaseStatus, -} from '@gusto/embedded-api-v-2025-11-15/models/components/recoverycase' -import { useRecoveryCasesGetSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/recoveryCasesGet' +} from '@gusto/embedded-api-v-2026-02-01/models/components/recoverycase' +import { useRecoveryCasesGetSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/recoveryCasesGet' import { useRecoveryCaseErrorCode } from '../useRecoveryCaseErrorCode' import styles from './RecoveryCasesList.module.scss' import { BaseComponent, type BaseComponentInterface } from '@/components/Base' diff --git a/src/components/Payroll/RecoveryCases/RecoveryCasesResubmit/RecoveryCasesResubmit.tsx b/src/components/Payroll/RecoveryCases/RecoveryCasesResubmit/RecoveryCasesResubmit.tsx index 9f7371490..ecc3e30cd 100644 --- a/src/components/Payroll/RecoveryCases/RecoveryCasesResubmit/RecoveryCasesResubmit.tsx +++ b/src/components/Payroll/RecoveryCases/RecoveryCasesResubmit/RecoveryCasesResubmit.tsx @@ -3,8 +3,8 @@ import { useIsMutating } from '@tanstack/react-query' import { useRecoveryCasesRedebitMutation, mutationKeyRecoveryCasesRedebit, -} from '@gusto/embedded-api-v-2025-11-15/react-query/recoveryCasesRedebit' -import { useRecoveryCasesGet } from '@gusto/embedded-api-v-2025-11-15/react-query/recoveryCasesGet' +} from '@gusto/embedded-api-v-2026-02-01/react-query/recoveryCasesRedebit' +import { useRecoveryCasesGet } from '@gusto/embedded-api-v-2026-02-01/react-query/recoveryCasesGet' import type { RecoveryCasesContextInterface } from '../RecoveryCasesComponents' import { useRecoveryCaseErrorCode } from '../useRecoveryCaseErrorCode' import { BaseComponent, useBase, type BaseComponentInterface } from '@/components/Base' diff --git a/src/components/Payroll/Transition/TransitionFlowComponents.tsx b/src/components/Payroll/Transition/TransitionFlowComponents.tsx index 2aebc07b7..a331fd39c 100644 --- a/src/components/Payroll/Transition/TransitionFlowComponents.tsx +++ b/src/components/Payroll/Transition/TransitionFlowComponents.tsx @@ -1,5 +1,5 @@ import { useMemo } from 'react' -import { usePayrollsGetSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/payrollsGet' +import { usePayrollsGetSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/payrollsGet' import { PayrollExecutionFlow, type PayrollExecutionFlowProps, diff --git a/src/components/Payroll/TransitionCreation/TransitionCreation.stories.tsx b/src/components/Payroll/TransitionCreation/TransitionCreation.stories.tsx index 324ff86ed..38d5464c0 100644 --- a/src/components/Payroll/TransitionCreation/TransitionCreation.stories.tsx +++ b/src/components/Payroll/TransitionCreation/TransitionCreation.stories.tsx @@ -1,5 +1,5 @@ import { useState } from 'react' -import { WithholdingPayPeriod } from '@gusto/embedded-api-v-2025-11-15/models/operations/postv1companiescompanyidpayrolls' +import { WithholdingPayPeriod } from '@gusto/embedded-api-v-2026-02-01/models/operations/postv1companiescompanyidpayrolls' import { FormWrapper } from '../../../../.storybook/helpers/FormWrapper' import type { OffCycleTaxWithholdingConfig } from '../OffCycleTaxWithholdingTable/OffCycleTaxWithholdingTableTypes' import { TransitionCreationPresentation } from './TransitionCreationPresentation' diff --git a/src/components/Payroll/TransitionCreation/TransitionCreation.tsx b/src/components/Payroll/TransitionCreation/TransitionCreation.tsx index 5a7bacefb..bf5afa380 100644 --- a/src/components/Payroll/TransitionCreation/TransitionCreation.tsx +++ b/src/components/Payroll/TransitionCreation/TransitionCreation.tsx @@ -2,13 +2,13 @@ import { useCallback, useMemo, useState } from 'react' import { FormProvider, useForm } from 'react-hook-form' import { zodResolver } from '@hookform/resolvers/zod' import { useTranslation } from 'react-i18next' -import { usePayrollsCreateOffCycleMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/payrollsCreateOffCycle' +import { usePayrollsCreateOffCycleMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/payrollsCreateOffCycle' import { OffCycleReason, WithholdingPayPeriod, -} from '@gusto/embedded-api-v-2025-11-15/models/operations/postv1companiescompanyidpayrolls' -import { RFCDate } from '@gusto/embedded-api-v-2025-11-15/types/rfcdate' -import { usePaySchedulesGetAllSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/paySchedulesGetAll' +} from '@gusto/embedded-api-v-2026-02-01/models/operations/postv1companiescompanyidpayrolls' +import { RFCDate } from '@gusto/embedded-api-v-2026-02-01/types/rfcdate' +import { usePaySchedulesGetAllSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/paySchedulesGetAll' import { useOffCyclePayPeriodDateValidation } from '../OffCyclePayPeriodDateForm/useOffCyclePayPeriodDateValidation' import type { OffCycleTaxWithholdingConfig } from '../OffCycleTaxWithholdingTable/OffCycleTaxWithholdingTableTypes' import type { TransitionCreationProps, TransitionCreationFormData } from './TransitionCreationTypes' diff --git a/src/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlert.stories.tsx b/src/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlert.stories.tsx index 9b144023a..f793d720f 100644 --- a/src/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlert.stories.tsx +++ b/src/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlert.stories.tsx @@ -1,6 +1,6 @@ import { useState } from 'react' import { fn } from 'storybook/test' -import type { PayPeriod } from '@gusto/embedded-api-v-2025-11-15/models/components/payperiod' +import type { PayPeriod } from '@gusto/embedded-api-v-2026-02-01/models/components/payperiod' import { TransitionPayrollAlertPresentation } from './TransitionPayrollAlertPresentation' import { useI18n } from '@/i18n' diff --git a/src/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlert.tsx b/src/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlert.tsx index 18bdbeb77..f2f04a833 100644 --- a/src/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlert.tsx +++ b/src/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlert.tsx @@ -1,8 +1,8 @@ import { useMemo, useState, useCallback, useEffect } from 'react' -import { usePaySchedulesGetAll } from '@gusto/embedded-api-v-2025-11-15/react-query/paySchedulesGetAll' -import { usePayrollsSkipMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/payrollsSkip' -import { PayrollType } from '@gusto/embedded-api-v-2025-11-15/models/operations/postcompaniespayrollskipcompanyuuid' -import type { PayPeriod } from '@gusto/embedded-api-v-2025-11-15/models/components/payperiod' +import { usePaySchedulesGetAll } from '@gusto/embedded-api-v-2026-02-01/react-query/paySchedulesGetAll' +import { usePayrollsSkipMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/payrollsSkip' +import { PayrollType } from '@gusto/embedded-api-v-2026-02-01/models/operations/postcompaniespayrollskipcompanyuuid' +import type { PayPeriod } from '@gusto/embedded-api-v-2026-02-01/models/components/payperiod' import { useUnprocessedTransitionPayPeriods } from '../useUnprocessedTransitionPayPeriods' import { TransitionPayrollAlertPresentation, diff --git a/src/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlertPresentation.test.tsx b/src/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlertPresentation.test.tsx index 29a4c0d55..8f7b3b795 100644 --- a/src/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlertPresentation.test.tsx +++ b/src/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlertPresentation.test.tsx @@ -2,7 +2,7 @@ import { Suspense } from 'react' import { describe, expect, it, vi } from 'vitest' import { screen } from '@testing-library/react' import userEvent from '@testing-library/user-event' -import type { PayPeriod } from '@gusto/embedded-api-v-2025-11-15/models/components/payperiod' +import type { PayPeriod } from '@gusto/embedded-api-v-2026-02-01/models/components/payperiod' import { TransitionPayrollAlertPresentation } from './TransitionPayrollAlertPresentation' import { renderWithProviders } from '@/test-utils/renderWithProviders' diff --git a/src/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlertPresentation.tsx b/src/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlertPresentation.tsx index 79f740e13..d53186bfb 100644 --- a/src/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlertPresentation.tsx +++ b/src/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlertPresentation.tsx @@ -1,6 +1,6 @@ import { useState } from 'react' import { useTranslation } from 'react-i18next' -import type { PayPeriod } from '@gusto/embedded-api-v-2025-11-15/models/components/payperiod' +import type { PayPeriod } from '@gusto/embedded-api-v-2026-02-01/models/components/payperiod' import { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext' import { Flex } from '@/components/Common/Flex/Flex' import { useI18n } from '@/i18n' diff --git a/src/components/Payroll/helpers.test.ts b/src/components/Payroll/helpers.test.ts index 4647b0268..3fa402504 100644 --- a/src/components/Payroll/helpers.test.ts +++ b/src/components/Payroll/helpers.test.ts @@ -17,24 +17,24 @@ import { PayrollCategory } from './payrollTypes' import { type Employee, EmployeePaymentMethod1, -} from '@gusto/embedded-api-v-2025-11-15/models/components/employee' -import type { Payroll } from '@gusto/embedded-api-v-2025-11-15/models/components/payroll' +} from '@gusto/embedded-api-v-2026-02-01/models/components/employee' +import type { Payroll } from '@gusto/embedded-api-v-2026-02-01/models/components/payroll' import type { EmployeeCompensations, PayrollShowPaidTimeOff, -} from '@gusto/embedded-api-v-2025-11-15/models/components/payroll' -import { PaymentUnit } from '@gusto/embedded-api-v-2025-11-15/models/components/compensation' -import { FlsaStatusType } from '@gusto/embedded-api-v-2025-11-15/models/components/flsastatustype' -import type { PayrollFixedCompensationTypesType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollfixedcompensationtypestype' -import { PayScheduleFrequency } from '@gusto/embedded-api-v-2025-11-15/models/components/payschedulefrequency' -import type { PayScheduleShow as PayScheduleObject } from '@gusto/embedded-api-v-2025-11-15/models/components/payscheduleshow' -import { RFCDate } from '@gusto/embedded-api-v-2025-11-15/types/rfcdate' +} from '@gusto/embedded-api-v-2026-02-01/models/components/payroll' +import { PaymentUnit } from '@gusto/embedded-api-v-2026-02-01/models/components/compensation' +import { FlsaStatusType } from '@gusto/embedded-api-v-2026-02-01/models/components/flsastatustype' +import type { PayrollFixedCompensationTypesType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollfixedcompensationtypestype' +import { PayScheduleFrequency } from '@gusto/embedded-api-v-2026-02-01/models/components/payschedulefrequency' +import type { PayScheduleShow as PayScheduleObject } from '@gusto/embedded-api-v-2026-02-01/models/components/payscheduleshow' +import { RFCDate } from '@gusto/embedded-api-v-2026-02-01/types/rfcdate' import type { TFunction } from 'i18next' -import { Job } from '@gusto/embedded-api-v-2025-11-15/models/components/job.js' +import { Job } from '@gusto/embedded-api-v-2026-02-01/models/components/job.js' import { type PayrollEmployeeCompensationsTypeFixedCompensations as FixedCompensations, type PayrollEmployeeCompensationsTypeHourlyCompensations as HourlyCompensations, -} from '@gusto/embedded-api-v-2025-11-15/models/components/payrollemployeecompensationstype.js' +} from '@gusto/embedded-api-v-2026-02-01/models/components/payrollemployeecompensationstype.js' describe('Payroll helpers', () => { describe('formatEmployeePayRate', () => { diff --git a/src/components/Payroll/helpers.ts b/src/components/Payroll/helpers.ts index a9e14975a..1769f387a 100644 --- a/src/components/Payroll/helpers.ts +++ b/src/components/Payroll/helpers.ts @@ -1,24 +1,24 @@ -import type { Employee } from '@gusto/embedded-api-v-2025-11-15/models/components/employee' +import type { Employee } from '@gusto/embedded-api-v-2026-02-01/models/components/employee' import { type PayrollShowFixedCompensations, OffCycleReasonType, -} from '@gusto/embedded-api-v-2025-11-15/models/components/payroll' +} from '@gusto/embedded-api-v-2026-02-01/models/components/payroll' import type { PayrollEmployeeCompensationsTypeFixedCompensations as FixedCompensations, PayrollEmployeeCompensationsTypeReimbursements as Reimbursement, -} from '@gusto/embedded-api-v-2025-11-15/models/components/payrollemployeecompensationstype' -import type { PayrollUpdateReimbursements } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollupdate' -import type { PayrollFixedCompensationTypesType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollfixedcompensationtypestype' +} from '@gusto/embedded-api-v-2026-02-01/models/components/payrollemployeecompensationstype' +import type { PayrollUpdateReimbursements } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollupdate' +import type { PayrollFixedCompensationTypesType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollfixedcompensationtypestype' import { useCallback } from 'react' import type { TFunction } from 'i18next' import { useTranslation } from 'react-i18next' -import type { PayScheduleShow as PayScheduleObject } from '@gusto/embedded-api-v-2025-11-15/models/components/payscheduleshow' +import type { PayScheduleShow as PayScheduleObject } from '@gusto/embedded-api-v-2026-02-01/models/components/payscheduleshow' import type { Compensation, MinimumWages, -} from '@gusto/embedded-api-v-2025-11-15/models/components/compensation' -import type { PayrollEmployeeCompensationsType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollemployeecompensationstype' -import type { Payroll } from '@gusto/embedded-api-v-2025-11-15/models/components/payroll' +} from '@gusto/embedded-api-v-2026-02-01/models/components/compensation' +import type { PayrollEmployeeCompensationsType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollemployeecompensationstype' +import type { Payroll } from '@gusto/embedded-api-v-2026-02-01/models/components/payroll' import type { PayrollType } from './PayrollList/types' import { PayrollCategory, isOffCyclePayroll } from './payrollTypes' import { formatPayRate } from '@/helpers/formattedStrings' diff --git a/src/components/Payroll/payrollTypes.ts b/src/components/Payroll/payrollTypes.ts index 25bc14c2e..d67089741 100644 --- a/src/components/Payroll/payrollTypes.ts +++ b/src/components/Payroll/payrollTypes.ts @@ -1,4 +1,4 @@ -import { OffCycleReasonType } from '@gusto/embedded-api-v-2025-11-15/models/components/payroll' +import { OffCycleReasonType } from '@gusto/embedded-api-v-2026-02-01/models/components/payroll' /** * Enum-like map of payroll categories combining `Regular`, `External`, and every off-cycle reason. diff --git a/src/components/Payroll/usePreparedPayrollData.ts b/src/components/Payroll/usePreparedPayrollData.ts index 300900fe8..091042b3c 100644 --- a/src/components/Payroll/usePreparedPayrollData.ts +++ b/src/components/Payroll/usePreparedPayrollData.ts @@ -1,10 +1,9 @@ import { useState, useEffect, useCallback, useRef, useMemo } from 'react' -import { usePayrollsPrepareMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/payrollsPrepare' -import { usePaySchedulesGet } from '@gusto/embedded-api-v-2025-11-15/react-query/paySchedulesGet' -import type { PayrollPrepared } from '@gusto/embedded-api-v-2025-11-15/models/components/payroll' -import type { PayScheduleShow } from '@gusto/embedded-api-v-2025-11-15/models/components/payscheduleshow' -import type { QueryParamSortBy } from '@gusto/embedded-api-v-2025-11-15/models/operations/putv1companiescompanyidpayrollspayrollidprepare' -import { UnprocessableEntityError } from '@gusto/embedded-api-v-2025-11-15/models/errors/unprocessableentityerror' +import { usePayrollsPrepareMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/payrollsPrepare' +import { usePaySchedulesGet } from '@gusto/embedded-api-v-2026-02-01/react-query/paySchedulesGet' +import type { PayrollPrepared } from '@gusto/embedded-api-v-2026-02-01/models/components/payroll' +import type { PayScheduleShow } from '@gusto/embedded-api-v-2026-02-01/models/components/payscheduleshow' +import { UnprocessableEntityError } from '@gusto/embedded-api-v-2026-02-01/models/errors/unprocessableentityerror' import { useBase } from '../Base' import { retryAsync } from '@/helpers/retryAsync' @@ -12,7 +11,7 @@ interface UsePreparedPayrollDataParams { companyId: string payrollId: string employeeUuids?: string[] - sortBy?: QueryParamSortBy + sortBy?: string onDataReady?: (preparedPayroll: PayrollPrepared) => void } diff --git a/src/components/Payroll/useUnprocessedTransitionPayPeriods.ts b/src/components/Payroll/useUnprocessedTransitionPayPeriods.ts index 8e9d95291..208a9464c 100644 --- a/src/components/Payroll/useUnprocessedTransitionPayPeriods.ts +++ b/src/components/Payroll/useUnprocessedTransitionPayPeriods.ts @@ -1,8 +1,8 @@ import { useMemo } from 'react' -import { usePaySchedulesGetPayPeriodsSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/paySchedulesGetPayPeriods' -import { PayrollTypes } from '@gusto/embedded-api-v-2025-11-15/models/operations/getv1companiescompanyidpayperiods' -import type { PayPeriod } from '@gusto/embedded-api-v-2025-11-15/models/components/payperiod' -import { RFCDate } from '@gusto/embedded-api-v-2025-11-15/types/rfcdate' +import { usePaySchedulesGetPayPeriodsSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/paySchedulesGetPayPeriods' +import { PayrollTypes } from '@gusto/embedded-api-v-2026-02-01/models/operations/getv1companiescompanyidpayperiods' +import type { PayPeriod } from '@gusto/embedded-api-v-2026-02-01/models/components/payperiod' +import { RFCDate } from '@gusto/embedded-api-v-2026-02-01/types/rfcdate' const LOOK_AHEAD_DAYS = 90 diff --git a/src/components/TimeOff/HolidayPolicyDetail/HolidayPolicyDetail.tsx b/src/components/TimeOff/HolidayPolicyDetail/HolidayPolicyDetail.tsx index 89cdf69ba..8f4029ac8 100644 --- a/src/components/TimeOff/HolidayPolicyDetail/HolidayPolicyDetail.tsx +++ b/src/components/TimeOff/HolidayPolicyDetail/HolidayPolicyDetail.tsx @@ -4,9 +4,9 @@ import { useQueryClient } from '@tanstack/react-query' import { useHolidayPayPoliciesGetSuspense, invalidateAllHolidayPayPoliciesGet, -} from '@gusto/embedded-api-v-2025-11-15/react-query/holidayPayPoliciesGet' -import { useHolidayPayPoliciesRemoveEmployeesMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/holidayPayPoliciesRemoveEmployees' -import { useEmployeesListSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/employeesList' +} from '@gusto/embedded-api-v-2026-02-01/react-query/holidayPayPoliciesGet' +import { useHolidayPayPoliciesRemoveEmployeesMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/holidayPayPoliciesRemoveEmployees' +import { useEmployeesListSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/employeesList' import { getDefaultHolidayItems } from '../shared/holidayHelpers' import { HolidayPolicyDetailPresentation } from './HolidayPolicyDetailPresentation' import type { HolidayPolicyDetailEmployee } from './HolidayPolicyDetailTypes' diff --git a/src/components/TimeOff/HolidaySelectionForm/HolidaySelectionForm.test.tsx b/src/components/TimeOff/HolidaySelectionForm/HolidaySelectionForm.test.tsx index a00b99a5f..5490ac087 100644 --- a/src/components/TimeOff/HolidaySelectionForm/HolidaySelectionForm.test.tsx +++ b/src/components/TimeOff/HolidaySelectionForm/HolidaySelectionForm.test.tsx @@ -3,7 +3,7 @@ import { render, screen, waitFor } from '@testing-library/react' import userEvent from '@testing-library/user-event' import { http, HttpResponse } from 'msw' import { QueryClient } from '@tanstack/react-query' -import { queryKeyHolidayPayPoliciesGet } from '@gusto/embedded-api-v-2025-11-15/react-query/holidayPayPoliciesGet' +import { queryKeyHolidayPayPoliciesGet } from '@gusto/embedded-api-v-2026-02-01/react-query/holidayPayPoliciesGet' import { HolidaySelectionForm } from './HolidaySelectionForm' import { server } from '@/test/mocks/server' import { componentEvents } from '@/shared/constants' diff --git a/src/components/TimeOff/HolidaySelectionForm/HolidaySelectionForm.tsx b/src/components/TimeOff/HolidaySelectionForm/HolidaySelectionForm.tsx index f857f8e16..e117ae886 100644 --- a/src/components/TimeOff/HolidaySelectionForm/HolidaySelectionForm.tsx +++ b/src/components/TimeOff/HolidaySelectionForm/HolidaySelectionForm.tsx @@ -1,15 +1,15 @@ import { useCallback, useMemo, useState } from 'react' import { useTranslation } from 'react-i18next' import { useQueryClient } from '@tanstack/react-query' -import { useHolidayPayPoliciesCreateMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/holidayPayPoliciesCreate' +import { useHolidayPayPoliciesCreateMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/holidayPayPoliciesCreate' import { useHolidayPayPoliciesGetSuspense, queryKeyHolidayPayPoliciesGet, invalidateAllHolidayPayPoliciesGet, type HolidayPayPoliciesGetQueryData, -} from '@gusto/embedded-api-v-2025-11-15/react-query/holidayPayPoliciesGet' -import { useHolidayPayPoliciesUpdateMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/holidayPayPoliciesUpdate' -import type { HolidayPayPolicy } from '@gusto/embedded-api-v-2025-11-15/models/components/holidaypaypolicy' +} from '@gusto/embedded-api-v-2026-02-01/react-query/holidayPayPoliciesGet' +import { useHolidayPayPoliciesUpdateMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/holidayPayPoliciesUpdate' +import type { HolidayPayPolicy } from '@gusto/embedded-api-v-2026-02-01/models/components/holidaypaypolicy' import { getDefaultHolidayItems, buildFederalHolidaysPayload, diff --git a/src/components/TimeOff/PolicyList/PolicyList.tsx b/src/components/TimeOff/PolicyList/PolicyList.tsx index 92da30f69..5fdb9af36 100644 --- a/src/components/TimeOff/PolicyList/PolicyList.tsx +++ b/src/components/TimeOff/PolicyList/PolicyList.tsx @@ -4,16 +4,16 @@ import { useQueryClient } from '@tanstack/react-query' import { useTimeOffPoliciesGetAllSuspense, invalidateAllTimeOffPoliciesGetAll, -} from '@gusto/embedded-api-v-2025-11-15/react-query/timeOffPoliciesGetAll' -import { useTimeOffPoliciesDeactivateMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/timeOffPoliciesDeactivate' -import { useEmployeesListSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/employeesList' +} from '@gusto/embedded-api-v-2026-02-01/react-query/timeOffPoliciesGetAll' +import { useTimeOffPoliciesDeactivateMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/timeOffPoliciesDeactivate' +import { useEmployeesListSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/employeesList' import { useHolidayPayPoliciesGet, invalidateAllHolidayPayPoliciesGet, -} from '@gusto/embedded-api-v-2025-11-15/react-query/holidayPayPoliciesGet' -import { useHolidayPayPoliciesDeleteMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/holidayPayPoliciesDelete' -import type { TimeOffPolicy } from '@gusto/embedded-api-v-2025-11-15/models/components/timeoffpolicy' -import { UnprocessableEntityError } from '@gusto/embedded-api-v-2025-11-15/models/errors/unprocessableentityerror' +} from '@gusto/embedded-api-v-2026-02-01/react-query/holidayPayPoliciesGet' +import { useHolidayPayPoliciesDeleteMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/holidayPayPoliciesDelete' +import type { TimeOffPolicy } from '@gusto/embedded-api-v-2026-02-01/models/components/timeoffpolicy' +import { UnprocessableEntityError } from '@gusto/embedded-api-v-2026-02-01/models/errors/unprocessableentityerror' import { PolicyListPresentation } from './PolicyListPresentation' import type { PolicyListItem } from './PolicyListTypes' import { isListedTimeOffPolicyType } from '@/components/TimeOff/TimeOffFlow/timeOffPolicyTypes' diff --git a/src/components/TimeOff/PolicySettings/PolicySettings.test.tsx b/src/components/TimeOff/PolicySettings/PolicySettings.test.tsx index dc5fa358b..b3b084549 100644 --- a/src/components/TimeOff/PolicySettings/PolicySettings.test.tsx +++ b/src/components/TimeOff/PolicySettings/PolicySettings.test.tsx @@ -1,7 +1,7 @@ import { describe, expect, it, vi, beforeEach } from 'vitest' import { screen, waitFor } from '@testing-library/react' import userEvent from '@testing-library/user-event' -import { UnprocessableEntityError } from '@gusto/embedded-api-v-2025-11-15/models/errors/unprocessableentityerror' +import { UnprocessableEntityError } from '@gusto/embedded-api-v-2026-02-01/models/errors/unprocessableentityerror' import { PolicySettings } from './PolicySettings' import { renderWithProviders } from '@/test-utils/renderWithProviders' import { componentEvents } from '@/shared/constants' @@ -21,13 +21,13 @@ const basePolicyData: Record = { let mockPolicyData: Record = { ...basePolicyData } -vi.mock('@gusto/embedded-api-v-2025-11-15/react-query/timeOffPoliciesGet', () => ({ +vi.mock('@gusto/embedded-api-v-2026-02-01/react-query/timeOffPoliciesGet', () => ({ useTimeOffPoliciesGetSuspense: () => ({ data: { timeOffPolicy: mockPolicyData }, }), })) -vi.mock('@gusto/embedded-api-v-2025-11-15/react-query/timeOffPoliciesUpdate', () => ({ +vi.mock('@gusto/embedded-api-v-2026-02-01/react-query/timeOffPoliciesUpdate', () => ({ useTimeOffPoliciesUpdateMutation: () => ({ mutateAsync: mockUpdateTimeOffPolicy, isPending: false, @@ -294,7 +294,7 @@ describe('PolicySettings container', () => { mockPolicyData = { ...basePolicyData, accrualMethod: 'per_calendar_year' } const { UnprocessableEntityError } = - await import('@gusto/embedded-api-v-2025-11-15/models/errors/unprocessableentityerror') + await import('@gusto/embedded-api-v-2026-02-01/models/errors/unprocessableentityerror') const duplicateMessage = 'Balance must be less than or equal to max balance (10.0)' const apiError = new UnprocessableEntityError( diff --git a/src/components/TimeOff/PolicySettings/PolicySettings.tsx b/src/components/TimeOff/PolicySettings/PolicySettings.tsx index 272fb25d7..91fd34ea1 100644 --- a/src/components/TimeOff/PolicySettings/PolicySettings.tsx +++ b/src/components/TimeOff/PolicySettings/PolicySettings.tsx @@ -1,8 +1,8 @@ -import { useTimeOffPoliciesGetSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/timeOffPoliciesGet' -import { useTimeOffPoliciesUpdateMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/timeOffPoliciesUpdate' -import type { PutV1TimeOffPoliciesTimeOffPolicyUuidRequestBody } from '@gusto/embedded-api-v-2025-11-15/models/operations/putv1timeoffpoliciestimeoffpolicyuuid' -import type { TimeOffPolicy } from '@gusto/embedded-api-v-2025-11-15/models/components/timeoffpolicy' -import { UnprocessableEntityError } from '@gusto/embedded-api-v-2025-11-15/models/errors/unprocessableentityerror' +import { useTimeOffPoliciesGetSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/timeOffPoliciesGet' +import { useTimeOffPoliciesUpdateMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/timeOffPoliciesUpdate' +import type { PutV1TimeOffPoliciesTimeOffPolicyUuidRequestBody } from '@gusto/embedded-api-v-2026-02-01/models/operations/putv1timeoffpoliciestimeoffpolicyuuid' +import type { TimeOffPolicy } from '@gusto/embedded-api-v-2026-02-01/models/components/timeoffpolicy' +import { UnprocessableEntityError } from '@gusto/embedded-api-v-2026-02-01/models/errors/unprocessableentityerror' import { useQueryClient } from '@tanstack/react-query' import { useTranslation } from 'react-i18next' import { PolicySettingsPresentation } from './PolicySettingsPresentation' @@ -152,7 +152,7 @@ function Root({ policyId, mode }: PolicySettingsProps) { }) void queryClient.invalidateQueries({ - queryKey: ['@gusto/embedded-api-v-2025-11-15', 'timeOffPolicies', 'get'], + queryKey: ['@gusto/embedded-api-v-2026-02-01', 'timeOffPolicies', 'get'], }) onEvent(componentEvents.TIME_OFF_POLICY_SETTINGS_DONE, timeOffPolicy) } catch (err) { diff --git a/src/components/TimeOff/PolicyTypeSelector/PolicyTypeSelector.tsx b/src/components/TimeOff/PolicyTypeSelector/PolicyTypeSelector.tsx index 20187d6e0..1680dcf96 100644 --- a/src/components/TimeOff/PolicyTypeSelector/PolicyTypeSelector.tsx +++ b/src/components/TimeOff/PolicyTypeSelector/PolicyTypeSelector.tsx @@ -1,4 +1,4 @@ -import { useHolidayPayPoliciesGet } from '@gusto/embedded-api-v-2025-11-15/react-query/holidayPayPoliciesGet' +import { useHolidayPayPoliciesGet } from '@gusto/embedded-api-v-2026-02-01/react-query/holidayPayPoliciesGet' import { PolicyTypeSelectorPresentation } from './PolicyTypeSelectorPresentation' import type { PolicyType } from './PolicyTypeSelectorTypes' import { BaseComponent, type BaseComponentInterface } from '@/components/Base' diff --git a/src/components/TimeOff/TimeOffFlow/timeOffPolicyTypes.ts b/src/components/TimeOff/TimeOffFlow/timeOffPolicyTypes.ts index 5761f809f..60952ede0 100644 --- a/src/components/TimeOff/TimeOffFlow/timeOffPolicyTypes.ts +++ b/src/components/TimeOff/TimeOffFlow/timeOffPolicyTypes.ts @@ -1,4 +1,4 @@ -import type { PolicyType } from '@gusto/embedded-api-v-2025-11-15/models/components/timeoffpolicy' +import type { PolicyType } from '@gusto/embedded-api-v-2026-02-01/models/components/timeoffpolicy' /** * Time off policy types that can be created through the time off policy management workflow. diff --git a/src/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationForm.test.tsx b/src/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationForm.test.tsx index b5939a656..d9667dc93 100644 --- a/src/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationForm.test.tsx +++ b/src/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationForm.test.tsx @@ -10,21 +10,21 @@ const mockCreateTimeOffPolicy = vi.fn() const mockUpdateTimeOffPolicy = vi.fn() let mockGetPolicyResponse: { timeOffPolicy: Record } | undefined -vi.mock('@gusto/embedded-api-v-2025-11-15/react-query/timeOffPoliciesCreate', () => ({ +vi.mock('@gusto/embedded-api-v-2026-02-01/react-query/timeOffPoliciesCreate', () => ({ useTimeOffPoliciesCreateMutation: () => ({ mutateAsync: mockCreateTimeOffPolicy, isPending: false, }), })) -vi.mock('@gusto/embedded-api-v-2025-11-15/react-query/timeOffPoliciesUpdate', () => ({ +vi.mock('@gusto/embedded-api-v-2026-02-01/react-query/timeOffPoliciesUpdate', () => ({ useTimeOffPoliciesUpdateMutation: () => ({ mutateAsync: mockUpdateTimeOffPolicy, isPending: false, }), })) -vi.mock('@gusto/embedded-api-v-2025-11-15/react-query/timeOffPoliciesGet', () => ({ +vi.mock('@gusto/embedded-api-v-2026-02-01/react-query/timeOffPoliciesGet', () => ({ useTimeOffPoliciesGetSuspense: () => ({ data: mockGetPolicyResponse ?? { timeOffPolicy: undefined }, }), diff --git a/src/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationForm.tsx b/src/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationForm.tsx index 9d0a7b37d..9f3c62707 100644 --- a/src/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationForm.tsx +++ b/src/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationForm.tsx @@ -1,10 +1,10 @@ import { useCallback } from 'react' -import { useTimeOffPoliciesCreateMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/timeOffPoliciesCreate' -import { useTimeOffPoliciesUpdateMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/timeOffPoliciesUpdate' -import { useTimeOffPoliciesGetSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/timeOffPoliciesGet' -import type { TimeOffPolicyRequest } from '@gusto/embedded-api-v-2025-11-15/models/components/timeoffpolicyrequest' -import type { TimeOffPolicy } from '@gusto/embedded-api-v-2025-11-15/models/components/timeoffpolicy' -import type { PutV1TimeOffPoliciesTimeOffPolicyUuidRequestBody } from '@gusto/embedded-api-v-2025-11-15/models/operations/putv1timeoffpoliciestimeoffpolicyuuid' +import { useTimeOffPoliciesCreateMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/timeOffPoliciesCreate' +import { useTimeOffPoliciesUpdateMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/timeOffPoliciesUpdate' +import { useTimeOffPoliciesGetSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/timeOffPoliciesGet' +import type { TimeOffPolicyRequest } from '@gusto/embedded-api-v-2026-02-01/models/components/timeoffpolicyrequest' +import type { TimeOffPolicy } from '@gusto/embedded-api-v-2026-02-01/models/components/timeoffpolicy' +import type { PutV1TimeOffPoliciesTimeOffPolicyUuidRequestBody } from '@gusto/embedded-api-v-2026-02-01/models/operations/putv1timeoffpoliciestimeoffpolicyuuid' import { useQueryClient } from '@tanstack/react-query' import { PolicyConfigurationFormPresentation } from './PolicyConfigurationFormPresentation' import type { PolicyConfigurationFormData } from './PolicyConfigurationFormTypes' @@ -330,7 +330,7 @@ function EditRoot({ companyId, policyType, policyId, defaultValues }: EditRootPr }) void queryClient.invalidateQueries({ - queryKey: ['@gusto/embedded-api-v-2025-11-15', 'timeOffPolicies', 'get'], + queryKey: ['@gusto/embedded-api-v-2026-02-01', 'timeOffPolicies', 'get'], }) onEvent(componentEvents.TIME_OFF_POLICY_DETAILS_DONE, { diff --git a/src/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesHoliday.test.tsx b/src/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesHoliday.test.tsx index d5087db53..e7a45bb67 100644 --- a/src/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesHoliday.test.tsx +++ b/src/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesHoliday.test.tsx @@ -29,7 +29,7 @@ const mockEmployees = [ }, ] -vi.mock('@gusto/embedded-api-v-2025-11-15/react-query/employeesList', () => ({ +vi.mock('@gusto/embedded-api-v-2026-02-01/react-query/employeesList', () => ({ useEmployeesListSuspense: (request: { searchTerm?: string }) => { const filtered = request.searchTerm ? mockEmployees.filter(e => @@ -48,7 +48,7 @@ vi.mock('@gusto/embedded-api-v-2025-11-15/react-query/employeesList', () => ({ const mockHolidayPolicyEmployees: Array<{ uuid: string }> = [] -vi.mock('@gusto/embedded-api-v-2025-11-15/react-query/holidayPayPoliciesGet', () => ({ +vi.mock('@gusto/embedded-api-v-2026-02-01/react-query/holidayPayPoliciesGet', () => ({ useHolidayPayPoliciesGetSuspense: () => ({ data: { holidayPayPolicy: { version: 'abc123', employees: mockHolidayPolicyEmployees }, @@ -56,14 +56,14 @@ vi.mock('@gusto/embedded-api-v-2025-11-15/react-query/holidayPayPoliciesGet', () }), invalidateAllHolidayPayPoliciesGet: vi.fn(), queryKeyHolidayPayPoliciesGet: (companyUuid: string) => [ - '@gusto/embedded-api-v-2025-11-15', + '@gusto/embedded-api-v-2026-02-01', 'holidayPayPolicies', 'get', companyUuid, ], })) -vi.mock('@gusto/embedded-api-v-2025-11-15/react-query/holidayPayPoliciesAddEmployees', () => ({ +vi.mock('@gusto/embedded-api-v-2026-02-01/react-query/holidayPayPoliciesAddEmployees', () => ({ useHolidayPayPoliciesAddEmployeesMutation: () => ({ mutateAsync: mockAddEmployees, isPending: false, diff --git a/src/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesHoliday.tsx b/src/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesHoliday.tsx index ddc8b4d24..d9863f629 100644 --- a/src/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesHoliday.tsx +++ b/src/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesHoliday.tsx @@ -1,13 +1,13 @@ import { useCallback, useMemo } from 'react' import { useQueryClient } from '@tanstack/react-query' -import { useHolidayPayPoliciesAddEmployeesMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/holidayPayPoliciesAddEmployees' +import { useHolidayPayPoliciesAddEmployeesMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/holidayPayPoliciesAddEmployees' import { useHolidayPayPoliciesGetSuspense, queryKeyHolidayPayPoliciesGet, invalidateAllHolidayPayPoliciesGet, type HolidayPayPoliciesGetQueryData, -} from '@gusto/embedded-api-v-2025-11-15/react-query/holidayPayPoliciesGet' -import type { HolidayPayPolicy } from '@gusto/embedded-api-v-2025-11-15/models/components/holidaypaypolicy' +} from '@gusto/embedded-api-v-2026-02-01/react-query/holidayPayPoliciesGet' +import type { HolidayPayPolicy } from '@gusto/embedded-api-v-2026-02-01/models/components/holidaypaypolicy' import { SelectEmployeesPresentation } from './SelectEmployeesPresentation' import { useSelectEmployeesData } from './useSelectEmployeesData' import { useBase } from '@/components/Base/useBase' diff --git a/src/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesPresentationTypes.ts b/src/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesPresentationTypes.ts index 2cc161a73..c10de052d 100644 --- a/src/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesPresentationTypes.ts +++ b/src/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesPresentationTypes.ts @@ -1,4 +1,4 @@ -import type { PaidTimeOff } from '@gusto/embedded-api-v-2025-11-15/models/components/paidtimeoff' +import type { PaidTimeOff } from '@gusto/embedded-api-v-2026-02-01/models/components/paidtimeoff' import type { PaginationControlProps } from '@/components/Common/PaginationControl/PaginationControlTypes' /** @internal */ diff --git a/src/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesTimeOff.test.tsx b/src/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesTimeOff.test.tsx index 7905cd7cd..c6bd9638d 100644 --- a/src/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesTimeOff.test.tsx +++ b/src/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesTimeOff.test.tsx @@ -65,7 +65,7 @@ const mockEmployees = [ }, ] -vi.mock('@gusto/embedded-api-v-2025-11-15/react-query/employeesList', () => ({ +vi.mock('@gusto/embedded-api-v-2026-02-01/react-query/employeesList', () => ({ useEmployeesListSuspense: (request: { searchTerm?: string }) => { const filtered = request.searchTerm ? mockEmployees.filter(e => @@ -82,21 +82,21 @@ vi.mock('@gusto/embedded-api-v-2025-11-15/react-query/employeesList', () => ({ }, })) -vi.mock('@gusto/embedded-api-v-2025-11-15/react-query/timeOffPoliciesAddEmployees', () => ({ +vi.mock('@gusto/embedded-api-v-2026-02-01/react-query/timeOffPoliciesAddEmployees', () => ({ useTimeOffPoliciesAddEmployeesMutation: () => ({ mutateAsync: mockAddEmployees, isPending: false, }), })) -vi.mock('@gusto/embedded-api-v-2025-11-15/react-query/timeOffPoliciesUpdate', () => ({ +vi.mock('@gusto/embedded-api-v-2026-02-01/react-query/timeOffPoliciesUpdate', () => ({ useTimeOffPoliciesUpdateMutation: () => ({ mutateAsync: vi.fn().mockResolvedValue({ timeOffPolicy: { uuid: 'policy-456' } }), isPending: false, }), })) -vi.mock('@gusto/embedded-api-v-2025-11-15/react-query/timeOffPoliciesGet', () => ({ +vi.mock('@gusto/embedded-api-v-2026-02-01/react-query/timeOffPoliciesGet', () => ({ useTimeOffPoliciesGetSuspense: () => ({ data: { timeOffPolicy: { diff --git a/src/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesTimeOff.tsx b/src/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesTimeOff.tsx index 439d7e926..a07de74de 100644 --- a/src/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesTimeOff.tsx +++ b/src/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesTimeOff.tsx @@ -1,8 +1,8 @@ import { useCallback, useMemo, useRef, useState } from 'react' -import { useTimeOffPoliciesAddEmployeesMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/timeOffPoliciesAddEmployees' -import { useTimeOffPoliciesGetSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/timeOffPoliciesGet' -import { useTimeOffPoliciesUpdateMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/timeOffPoliciesUpdate' -import { UnprocessableEntityError } from '@gusto/embedded-api-v-2025-11-15/models/errors/unprocessableentityerror' +import { useTimeOffPoliciesAddEmployeesMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/timeOffPoliciesAddEmployees' +import { useTimeOffPoliciesGetSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/timeOffPoliciesGet' +import { useTimeOffPoliciesUpdateMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/timeOffPoliciesUpdate' +import { UnprocessableEntityError } from '@gusto/embedded-api-v-2026-02-01/models/errors/unprocessableentityerror' import { useQueryClient } from '@tanstack/react-query' import { useTranslation } from 'react-i18next' import type { CreatableTimeOffPolicyType } from '../../TimeOffFlow/timeOffPolicyTypes' @@ -229,7 +229,7 @@ function SelectEmployeesTimeOffInner({ } } void queryClient.invalidateQueries({ - queryKey: ['@gusto/embedded-api-v-2025-11-15', 'timeOffPolicies', 'get'], + queryKey: ['@gusto/embedded-api-v-2026-02-01', 'timeOffPolicies', 'get'], }) onEvent(componentEvents.TIME_OFF_ADD_EMPLOYEES_DONE, policyResult) }) diff --git a/src/components/TimeOff/TimeOffManagement/SelectEmployees/useSelectEmployeesData.multiPage.test.tsx b/src/components/TimeOff/TimeOffManagement/SelectEmployees/useSelectEmployeesData.multiPage.test.tsx index d25658e91..40211324a 100644 --- a/src/components/TimeOff/TimeOffManagement/SelectEmployees/useSelectEmployeesData.multiPage.test.tsx +++ b/src/components/TimeOff/TimeOffManagement/SelectEmployees/useSelectEmployeesData.multiPage.test.tsx @@ -1,7 +1,7 @@ import { screen, waitFor } from '@testing-library/react' import { beforeEach, describe, expect, test, vi } from 'vitest' import type * as ReactQuery from '@tanstack/react-query' -import type * as GustoContext from '@gusto/embedded-api-v-2025-11-15/react-query/_context' +import type * as GustoContext from '@gusto/embedded-api-v-2026-02-01/react-query/_context' import { SelectEmployeesTimeOff } from './SelectEmployeesTimeOff' import { renderWithProviders } from '@/test-utils/renderWithProviders' @@ -39,7 +39,7 @@ const page2Employees = [ let mockTotalPages = 1 const buildEmployeesListQueryMock = vi.fn() -vi.mock('@gusto/embedded-api-v-2025-11-15/react-query/employeesList', () => ({ +vi.mock('@gusto/embedded-api-v-2026-02-01/react-query/employeesList', () => ({ useEmployeesListSuspense: () => ({ data: { showEmployees: page1Employees, @@ -63,7 +63,7 @@ vi.mock('@gusto/embedded-api-v-2025-11-15/react-query/employeesList', () => ({ }, })) -vi.mock('@gusto/embedded-api-v-2025-11-15/react-query/_context', async importOriginal => { +vi.mock('@gusto/embedded-api-v-2026-02-01/react-query/_context', async importOriginal => { const actual = await importOriginal() return { ...actual, @@ -84,21 +84,21 @@ vi.mock('@tanstack/react-query', async importActual => { } }) -vi.mock('@gusto/embedded-api-v-2025-11-15/react-query/timeOffPoliciesAddEmployees', () => ({ +vi.mock('@gusto/embedded-api-v-2026-02-01/react-query/timeOffPoliciesAddEmployees', () => ({ useTimeOffPoliciesAddEmployeesMutation: () => ({ mutateAsync: vi.fn(), isPending: false, }), })) -vi.mock('@gusto/embedded-api-v-2025-11-15/react-query/timeOffPoliciesUpdate', () => ({ +vi.mock('@gusto/embedded-api-v-2026-02-01/react-query/timeOffPoliciesUpdate', () => ({ useTimeOffPoliciesUpdateMutation: () => ({ mutateAsync: vi.fn(), isPending: false, }), })) -vi.mock('@gusto/embedded-api-v-2025-11-15/react-query/timeOffPoliciesGet', () => ({ +vi.mock('@gusto/embedded-api-v-2026-02-01/react-query/timeOffPoliciesGet', () => ({ useTimeOffPoliciesGetSuspense: () => ({ data: { timeOffPolicy: { uuid: 'policy-456', employees: [] } }, }), diff --git a/src/components/TimeOff/TimeOffManagement/SelectEmployees/useSelectEmployeesData.pagination.test.tsx b/src/components/TimeOff/TimeOffManagement/SelectEmployees/useSelectEmployeesData.pagination.test.tsx index 4d3699b1f..e54d3cb1c 100644 --- a/src/components/TimeOff/TimeOffManagement/SelectEmployees/useSelectEmployeesData.pagination.test.tsx +++ b/src/components/TimeOff/TimeOffManagement/SelectEmployees/useSelectEmployeesData.pagination.test.tsx @@ -1,7 +1,7 @@ import { act, renderHook } from '@testing-library/react' import { afterEach, beforeEach, describe, expect, test, vi } from 'vitest' import type * as ReactQuery from '@tanstack/react-query' -import type * as GustoContext from '@gusto/embedded-api-v-2025-11-15/react-query/_context' +import type * as GustoContext from '@gusto/embedded-api-v-2026-02-01/react-query/_context' import type { ReactNode } from 'react' import { Suspense } from 'react' import { useSelectEmployeesData } from './useSelectEmployeesData' @@ -39,7 +39,7 @@ function makeEmployee(index: number) { // 52 employees fits cleanly into "25 per page" → 3 pages (25/25/2). const employees = Array.from({ length: 52 }, (_, i) => makeEmployee(i)) -vi.mock('@gusto/embedded-api-v-2025-11-15/react-query/employeesList', () => ({ +vi.mock('@gusto/embedded-api-v-2026-02-01/react-query/employeesList', () => ({ useEmployeesListSuspense: () => ({ data: { showEmployees: employees, @@ -53,7 +53,7 @@ vi.mock('@gusto/embedded-api-v-2025-11-15/react-query/employeesList', () => ({ }), })) -vi.mock('@gusto/embedded-api-v-2025-11-15/react-query/_context', async importOriginal => { +vi.mock('@gusto/embedded-api-v-2026-02-01/react-query/_context', async importOriginal => { const actual = await importOriginal() return { ...actual, diff --git a/src/components/TimeOff/TimeOffManagement/SelectEmployees/useSelectEmployeesData.ts b/src/components/TimeOff/TimeOffManagement/SelectEmployees/useSelectEmployeesData.ts index 98cac1017..ff609d68e 100644 --- a/src/components/TimeOff/TimeOffManagement/SelectEmployees/useSelectEmployeesData.ts +++ b/src/components/TimeOff/TimeOffManagement/SelectEmployees/useSelectEmployeesData.ts @@ -2,11 +2,11 @@ import { useCallback, useMemo, useState } from 'react' import { buildEmployeesListQuery, useEmployeesListSuspense, -} from '@gusto/embedded-api-v-2025-11-15/react-query/employeesList' -import { useGustoEmbeddedContext } from '@gusto/embedded-api-v-2025-11-15/react-query/_context' +} from '@gusto/embedded-api-v-2026-02-01/react-query/employeesList' +import { useGustoEmbeddedContext } from '@gusto/embedded-api-v-2026-02-01/react-query/_context' import { useSuspenseQueries } from '@tanstack/react-query' -import { Include } from '@gusto/embedded-api-v-2025-11-15/models/operations/getv1companiescompanyidemployees' -import type { PaidTimeOff } from '@gusto/embedded-api-v-2025-11-15/models/components/paidtimeoff' +import { Include } from '@gusto/embedded-api-v-2026-02-01/models/operations/getv1companiescompanyidemployees' +import type { PaidTimeOff } from '@gusto/embedded-api-v-2026-02-01/models/components/paidtimeoff' import type { EmployeeItem } from './SelectEmployeesPresentationTypes' import { useClientPagination } from '@/hooks/useClientPagination/useClientPagination' diff --git a/src/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetail.test.tsx b/src/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetail.test.tsx index ee333e051..45f9f53f6 100644 --- a/src/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetail.test.tsx +++ b/src/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetail.test.tsx @@ -35,13 +35,13 @@ const basePolicyData = { let mockPolicyData = { ...basePolicyData } -vi.mock('@gusto/embedded-api-v-2025-11-15/react-query/timeOffPoliciesGet', () => ({ +vi.mock('@gusto/embedded-api-v-2026-02-01/react-query/timeOffPoliciesGet', () => ({ useTimeOffPoliciesGetSuspense: () => ({ data: { timeOffPolicy: mockPolicyData }, }), })) -vi.mock('@gusto/embedded-api-v-2025-11-15/react-query/employeesList', () => ({ +vi.mock('@gusto/embedded-api-v-2026-02-01/react-query/employeesList', () => ({ useEmployeesListSuspense: () => ({ data: { showEmployees: [ @@ -63,14 +63,14 @@ vi.mock('@gusto/embedded-api-v-2025-11-15/react-query/employeesList', () => ({ }), })) -vi.mock('@gusto/embedded-api-v-2025-11-15/react-query/timeOffPoliciesRemoveEmployees', () => ({ +vi.mock('@gusto/embedded-api-v-2026-02-01/react-query/timeOffPoliciesRemoveEmployees', () => ({ useTimeOffPoliciesRemoveEmployeesMutation: () => ({ mutateAsync: mockRemoveEmployees, isPending: false, }), })) -vi.mock('@gusto/embedded-api-v-2025-11-15/react-query/timeOffPoliciesUpdateBalance', () => ({ +vi.mock('@gusto/embedded-api-v-2026-02-01/react-query/timeOffPoliciesUpdateBalance', () => ({ useTimeOffPoliciesUpdateBalanceMutation: () => ({ mutateAsync: mockUpdateBalance, isPending: false, diff --git a/src/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetail.tsx b/src/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetail.tsx index 29f1e4a40..bdeaaba8d 100644 --- a/src/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetail.tsx +++ b/src/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetail.tsx @@ -1,11 +1,11 @@ import { useCallback, useMemo, useState } from 'react' import { useTranslation } from 'react-i18next' -import { useTimeOffPoliciesGetSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/timeOffPoliciesGet' -import { useTimeOffPoliciesRemoveEmployeesMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/timeOffPoliciesRemoveEmployees' -import { useTimeOffPoliciesUpdateBalanceMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/timeOffPoliciesUpdateBalance' -import { useEmployeesListSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/employeesList' -import type { TimeOffPolicy } from '@gusto/embedded-api-v-2025-11-15/models/components/timeoffpolicy' -import { UnprocessableEntityError } from '@gusto/embedded-api-v-2025-11-15/models/errors/unprocessableentityerror' +import { useTimeOffPoliciesGetSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/timeOffPoliciesGet' +import { useTimeOffPoliciesRemoveEmployeesMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/timeOffPoliciesRemoveEmployees' +import { useTimeOffPoliciesUpdateBalanceMutation } from '@gusto/embedded-api-v-2026-02-01/react-query/timeOffPoliciesUpdateBalance' +import { useEmployeesListSuspense } from '@gusto/embedded-api-v-2026-02-01/react-query/employeesList' +import type { TimeOffPolicy } from '@gusto/embedded-api-v-2026-02-01/models/components/timeoffpolicy' +import { UnprocessableEntityError } from '@gusto/embedded-api-v-2026-02-01/models/errors/unprocessableentityerror' import { useQueryClient } from '@tanstack/react-query' import { TimeOffPolicyDetailPresentation } from './TimeOffPolicyDetailPresentation' import { EditEmployeeBalanceModal } from './EditEmployeeBalanceModal' @@ -212,7 +212,7 @@ function Root({ policyId }: TimeOffPolicyDetailProps) { const invalidatePolicy = useCallback(() => { void queryClient.invalidateQueries({ - queryKey: ['@gusto/embedded-api-v-2025-11-15', 'timeOffPolicies', 'get'], + queryKey: ['@gusto/embedded-api-v-2026-02-01', 'timeOffPolicies', 'get'], }) }, [queryClient]) diff --git a/src/contexts/ApiProvider/ApiProvider.test.tsx b/src/contexts/ApiProvider/ApiProvider.test.tsx index d02093e01..1d99a6cd4 100644 --- a/src/contexts/ApiProvider/ApiProvider.test.tsx +++ b/src/contexts/ApiProvider/ApiProvider.test.tsx @@ -10,19 +10,19 @@ const mockSDKHooksInstance = { registerAfterErrorHook: vi.fn(), } -vi.mock('@gusto/embedded-api-v-2025-11-15/core', () => ({ +vi.mock('@gusto/embedded-api-v-2026-02-01/core', () => ({ GustoEmbeddedCore: vi.fn().mockImplementation(function (config: Record) { return { _options: { hooks: null }, config } }), })) -vi.mock('@gusto/embedded-api-v-2025-11-15/hooks/hooks', () => ({ +vi.mock('@gusto/embedded-api-v-2026-02-01/hooks/hooks', () => ({ SDKHooks: vi.fn().mockImplementation(function () { return mockSDKHooksInstance }), })) -vi.mock('@gusto/embedded-api-v-2025-11-15/react-query/_context', () => ({ +vi.mock('@gusto/embedded-api-v-2026-02-01/react-query/_context', () => ({ GustoEmbeddedProvider: ({ children }: { children: React.ReactNode }) => (
{children}
), @@ -42,7 +42,7 @@ describe('ApiProvider', () => { }) test('registers hooks with SDK when provided', async () => { - const { GustoEmbeddedCore } = await import('@gusto/embedded-api-v-2025-11-15/core') + const { GustoEmbeddedCore } = await import('@gusto/embedded-api-v-2026-02-01/core') const mockHooks: SDKHooks = { beforeCreateRequest: [{ beforeCreateRequest: vi.fn() }], @@ -138,7 +138,7 @@ describe('ApiProvider', () => { }) test('works without hooks or headers', async () => { - const { GustoEmbeddedCore } = await import('@gusto/embedded-api-v-2025-11-15/core') + const { GustoEmbeddedCore } = await import('@gusto/embedded-api-v-2026-02-01/core') render( @@ -170,6 +170,6 @@ describe('ApiProvider', () => { const modifiedRequest = apiVersionHook.beforeRequest(mockContext, mockRequest) - expect(modifiedRequest.headers.get('X-Gusto-API-Version')).toBe('2025-11-15') + expect(modifiedRequest.headers.get('X-Gusto-API-Version')).toBe('2026-02-01') }) }) diff --git a/src/contexts/ApiProvider/ApiProvider.tsx b/src/contexts/ApiProvider/ApiProvider.tsx index 25dcaeca5..cda652724 100644 --- a/src/contexts/ApiProvider/ApiProvider.tsx +++ b/src/contexts/ApiProvider/ApiProvider.tsx @@ -1,7 +1,7 @@ import { QueryClientProvider, type QueryClient } from '@tanstack/react-query' -import { GustoEmbeddedProvider } from '@gusto/embedded-api-v-2025-11-15/react-query/_context' -import { GustoEmbeddedCore } from '@gusto/embedded-api-v-2025-11-15/core' -import { SDKHooks as NativeSDKHooks } from '@gusto/embedded-api-v-2025-11-15/hooks/hooks' +import { GustoEmbeddedProvider } from '@gusto/embedded-api-v-2026-02-01/react-query/_context' +import { GustoEmbeddedCore } from '@gusto/embedded-api-v-2026-02-01/core' +import { SDKHooks as NativeSDKHooks } from '@gusto/embedded-api-v-2026-02-01/hooks/hooks' import { useMemo } from 'react' import { apiVersionHook } from './apiVersionHook' import { createSdkQueryClient } from './createSdkQueryClient' @@ -13,7 +13,7 @@ import type { SDKHooks, BeforeRequestHook } from '@/types/hooks' * @public */ export interface ApiProviderProps { - /** Base URL the SDK uses for all `@gusto/embedded-api-v-2025-11-15` requests. */ + /** Base URL the SDK uses for all `@gusto/embedded-api-v-2026-02-01` requests. */ url: string /** Default headers applied to every SDK request, in addition to the `X-Gusto-API-Version` header set automatically. */ headers?: HeadersInit @@ -26,13 +26,13 @@ export interface ApiProviderProps { } /** - * Wires the `@gusto/embedded-api-v-2025-11-15` client and a React Query client into the React tree. + * Wires the `@gusto/embedded-api-v-2026-02-01` client and a React Query client into the React tree. * * @remarks * Registers the SDK's `X-Gusto-API-Version` header on every request, applies any default `headers`, * and registers user-supplied lifecycle hooks (`beforeCreateRequest`, `beforeRequest`, `afterSuccess`, * `afterError`). When no `queryClient` is supplied, one is created with the SDK's defaults so - * successful mutations under the `['@gusto/embedded-api-v-2025-11-15']` key invalidate every SDK + * successful mutations under the `['@gusto/embedded-api-v-2026-02-01']` key invalidate every SDK * query automatically. Partners who supply their own `QueryClient` are responsible for matching that * contract. * diff --git a/src/contexts/ApiProvider/apiVersionHook.test.ts b/src/contexts/ApiProvider/apiVersionHook.test.ts index eaf6cbad5..53bba5ffc 100644 --- a/src/contexts/ApiProvider/apiVersionHook.test.ts +++ b/src/contexts/ApiProvider/apiVersionHook.test.ts @@ -8,7 +8,7 @@ describe('apiVersionHook', () => { const modifiedRequest = apiVersionHook.beforeRequest(mockContext, mockRequest) as Request - expect(modifiedRequest.headers.get('X-Gusto-API-Version')).toBe('2025-11-15') + expect(modifiedRequest.headers.get('X-Gusto-API-Version')).toBe('2026-02-01') }) test('overrides existing X-Gusto-API-Version header', () => { @@ -21,7 +21,7 @@ describe('apiVersionHook', () => { const modifiedRequest = apiVersionHook.beforeRequest(mockContext, mockRequest) as Request - expect(modifiedRequest.headers.get('X-Gusto-API-Version')).toBe('2025-11-15') + expect(modifiedRequest.headers.get('X-Gusto-API-Version')).toBe('2026-02-01') }) test('preserves other headers', () => { @@ -37,7 +37,7 @@ describe('apiVersionHook', () => { expect(modifiedRequest.headers.get('Authorization')).toBe('Bearer test-token') expect(modifiedRequest.headers.get('Content-Type')).toBe('application/json') - expect(modifiedRequest.headers.get('X-Gusto-API-Version')).toBe('2025-11-15') + expect(modifiedRequest.headers.get('X-Gusto-API-Version')).toBe('2026-02-01') }) test('returns the same request object', () => { diff --git a/src/contexts/ApiProvider/apiVersionHook.ts b/src/contexts/ApiProvider/apiVersionHook.ts index b9afe3f75..14077f718 100644 --- a/src/contexts/ApiProvider/apiVersionHook.ts +++ b/src/contexts/ApiProvider/apiVersionHook.ts @@ -1,6 +1,6 @@ import type { BeforeRequestHook } from '@/types/hooks' -const CURRENT_API_VERSION = '2025-11-15' +const CURRENT_API_VERSION = '2026-02-01' /** @internal */ export const apiVersionHook: BeforeRequestHook = { diff --git a/src/contexts/ApiProvider/createSdkQueryClient.ts b/src/contexts/ApiProvider/createSdkQueryClient.ts index e07b245d5..377a97cca 100644 --- a/src/contexts/ApiProvider/createSdkQueryClient.ts +++ b/src/contexts/ApiProvider/createSdkQueryClient.ts @@ -1,7 +1,7 @@ import { QueryClient } from '@tanstack/react-query' /** - * Creates a `QueryClient` pre-configured with the SDK's defaults for queries and mutations under the `['@gusto/embedded-api-v-2025-11-15']` key. + * Creates a `QueryClient` pre-configured with the SDK's defaults for queries and mutations under the `['@gusto/embedded-api-v-2026-02-01']` key. * * @remarks * Defaults applied: @@ -17,11 +17,11 @@ import { QueryClient } from '@tanstack/react-query' */ export function createSdkQueryClient(): QueryClient { const client = new QueryClient() - client.setQueryDefaults(['@gusto/embedded-api-v-2025-11-15'], { retry: false }) - client.setMutationDefaults(['@gusto/embedded-api-v-2025-11-15'], { + client.setQueryDefaults(['@gusto/embedded-api-v-2026-02-01'], { retry: false }) + client.setMutationDefaults(['@gusto/embedded-api-v-2026-02-01'], { retry: false, onSuccess: async () => { - await client.invalidateQueries({ queryKey: ['@gusto/embedded-api-v-2025-11-15'] }) + await client.invalidateQueries({ queryKey: ['@gusto/embedded-api-v-2026-02-01'] }) }, }) return client diff --git a/src/helpers/apiErrorToList.tsx b/src/helpers/apiErrorToList.tsx index aad6a4afc..c2e51757f 100644 --- a/src/helpers/apiErrorToList.tsx +++ b/src/helpers/apiErrorToList.tsx @@ -1,4 +1,4 @@ -import type { EntityErrorObject } from '@gusto/embedded-api-v-2025-11-15/models/components/entityerrorobject' +import type { EntityErrorObject } from '@gusto/embedded-api-v-2026-02-01/models/components/entityerrorobject' import { snakeCaseToCamelCase } from './formattedStrings' /** diff --git a/src/helpers/formattedStrings.ts b/src/helpers/formattedStrings.ts index bd438e3f5..e24c8ee99 100644 --- a/src/helpers/formattedStrings.ts +++ b/src/helpers/formattedStrings.ts @@ -1,6 +1,6 @@ import DOMPurify from 'dompurify' -import { type Location } from '@gusto/embedded-api-v-2025-11-15/models/components/location' -import { type EmployeeAddress } from '@gusto/embedded-api-v-2025-11-15/models/components/employeeaddress' +import { type Location } from '@gusto/embedded-api-v-2026-02-01/models/components/location' +import { type EmployeeAddress } from '@gusto/embedded-api-v-2026-02-01/models/components/employeeaddress' import { type TFunction } from 'i18next' import { useTranslation } from 'react-i18next' import { useCallback } from 'react' diff --git a/src/hooks/useCompanyPaymentSpeed.ts b/src/hooks/useCompanyPaymentSpeed.ts index 3c094785b..69b0b87c4 100644 --- a/src/hooks/useCompanyPaymentSpeed.ts +++ b/src/hooks/useCompanyPaymentSpeed.ts @@ -1,5 +1,5 @@ -import { usePaymentConfigsGet } from '@gusto/embedded-api-v-2025-11-15/react-query/paymentConfigsGet' -import type { PaymentSpeed } from '@gusto/embedded-api-v-2025-11-15/models/components/paymentconfigs' +import { usePaymentConfigsGet } from '@gusto/embedded-api-v-2026-02-01/react-query/paymentConfigsGet' +import type { PaymentSpeed } from '@gusto/embedded-api-v-2026-02-01/models/components/paymentconfigs' const DEFAULT_PAYMENT_SPEED_DAYS = 2 diff --git a/src/models/external.ts b/src/models/external.ts index 9f84206aa..a6dd182c0 100644 --- a/src/models/external.ts +++ b/src/models/external.ts @@ -4,381 +4,381 @@ // Regenerate with `npm run models:derive`. /** `Agencies` entity from the Gusto Embedded API. */ -export type { Agencies } from '@gusto/embedded-api-v-2025-11-15/models/components/childsupportdata' +export type { Agencies } from '@gusto/embedded-api-v-2026-02-01/models/components/childsupportdata' /** `FipsCodes` entity from the Gusto Embedded API. */ -export type { FipsCodes } from '@gusto/embedded-api-v-2025-11-15/models/components/childsupportdata' +export type { FipsCodes } from '@gusto/embedded-api-v-2026-02-01/models/components/childsupportdata' /** `RequiredAttributes` entity from the Gusto Embedded API. */ -export type { RequiredAttributes } from '@gusto/embedded-api-v-2025-11-15/models/components/childsupportdata' -export { ChildSupportDataKey } from '@gusto/embedded-api-v-2025-11-15/models/components/childsupportdata' +export type { RequiredAttributes } from '@gusto/embedded-api-v-2026-02-01/models/components/childsupportdata' +export { ChildSupportDataKey } from '@gusto/embedded-api-v-2026-02-01/models/components/childsupportdata' /** `PlaidStatus` entity from the Gusto Embedded API. */ -export { PlaidStatus } from '@gusto/embedded-api-v-2025-11-15/models/components/companybankaccount' -export type { CompanyBankAccount } from '@gusto/embedded-api-v-2025-11-15/models/components/companybankaccount' +export { PlaidStatus } from '@gusto/embedded-api-v-2026-02-01/models/components/companybankaccount' +export type { CompanyBankAccount } from '@gusto/embedded-api-v-2026-02-01/models/components/companybankaccount' export { AccountType, VerificationStatus, VerificationType, -} from '@gusto/embedded-api-v-2025-11-15/models/components/companybankaccount' +} from '@gusto/embedded-api-v-2026-02-01/models/components/companybankaccount' /** `CompanyOnboardingStatusRequirements` entity from the Gusto Embedded API. */ -export { CompanyOnboardingStatusRequirements } from '@gusto/embedded-api-v-2025-11-15/models/components/companyonboardingstatus' +export { CompanyOnboardingStatusRequirements } from '@gusto/embedded-api-v-2026-02-01/models/components/companyonboardingstatus' /** `OnboardingStep` entity from the Gusto Embedded API. */ -export type { OnboardingStep } from '@gusto/embedded-api-v-2025-11-15/models/components/companyonboardingstatus' -export { Id } from '@gusto/embedded-api-v-2025-11-15/models/components/companyonboardingstatus' +export type { OnboardingStep } from '@gusto/embedded-api-v-2026-02-01/models/components/companyonboardingstatus' +export { Id } from '@gusto/embedded-api-v-2026-02-01/models/components/companyonboardingstatus' /** `MinimumWages` entity from the Gusto Embedded API. */ -export type { MinimumWages } from '@gusto/embedded-api-v-2025-11-15/models/components/compensation' -export type { Compensation } from '@gusto/embedded-api-v-2025-11-15/models/components/compensation' -export { PaymentUnit } from '@gusto/embedded-api-v-2025-11-15/models/components/compensation' +export type { MinimumWages } from '@gusto/embedded-api-v-2026-02-01/models/components/compensation' +export type { Compensation } from '@gusto/embedded-api-v-2026-02-01/models/components/compensation' +export { PaymentUnit } from '@gusto/embedded-api-v-2026-02-01/models/components/compensation' /** `ContractorPaymentMethod1` entity from the Gusto Embedded API. */ -export { ContractorPaymentMethod1 } from '@gusto/embedded-api-v-2025-11-15/models/components/contractor' +export { ContractorPaymentMethod1 } from '@gusto/embedded-api-v-2026-02-01/models/components/contractor' export type { Address, Contractor, ContractorMemberPortalInvitationStatus, UpcomingEmployment, -} from '@gusto/embedded-api-v-2025-11-15/models/components/contractor' +} from '@gusto/embedded-api-v-2026-02-01/models/components/contractor' export { ContractorOnboardingStatus1, ContractorStatus, ContractorType, WageType, -} from '@gusto/embedded-api-v-2025-11-15/models/components/contractor' +} from '@gusto/embedded-api-v-2026-02-01/models/components/contractor' /** `ContractorAddress` entity from the Gusto Embedded API. */ -export type { ContractorAddress } from '@gusto/embedded-api-v-2025-11-15/models/components/contractoraddress' +export type { ContractorAddress } from '@gusto/embedded-api-v-2026-02-01/models/components/contractoraddress' /** `ContractorBankAccount` entity from the Gusto Embedded API. */ -export type { ContractorBankAccount } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorbankaccount' -export { ContractorBankAccountAccountType } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorbankaccount' -export type { ContractorCreateRequestBody } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorcreaterequestbody' +export type { ContractorBankAccount } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorbankaccount' +export { ContractorBankAccountAccountType } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorbankaccount' +export type { ContractorCreateRequestBody } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorcreaterequestbody' export { ContractorCreateRequestBodyType, ContractorCreateRequestBodyWageType, -} from '@gusto/embedded-api-v-2025-11-15/models/components/contractorcreaterequestbody' -export type { ContractorPaymentForGroup } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentforgroup' +} from '@gusto/embedded-api-v-2026-02-01/models/components/contractorcreaterequestbody' +export type { ContractorPaymentForGroup } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentforgroup' export { ContractorPaymentForGroupPaymentMethod, ContractorPaymentForGroupStatus, ContractorPaymentForGroupWageType, -} from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentforgroup' -export type { ContractorPaymentForGroupPreview } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentforgrouppreview' +} from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentforgroup' +export type { ContractorPaymentForGroupPreview } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentforgrouppreview' export { ContractorPaymentForGroupPreviewPaymentMethod, ContractorPaymentForGroupPreviewStatus, ContractorPaymentForGroupPreviewWageType, -} from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentforgrouppreview' +} from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentforgrouppreview' /** `ContractorPaymentGroupTotals` entity from the Gusto Embedded API. */ -export type { ContractorPaymentGroupTotals } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentgroup' -export type { ContractorPaymentGroup } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentgroup' -export { ContractorPaymentGroupStatus } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentgroup' +export type { ContractorPaymentGroupTotals } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentgroup' +export type { ContractorPaymentGroup } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentgroup' +export { ContractorPaymentGroupStatus } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentgroup' /** `ContractorPaymentGroupPreviewTotals` entity from the Gusto Embedded API. */ -export type { ContractorPaymentGroupPreviewTotals } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentgrouppreview' -export type { ContractorPaymentGroupPreview } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentgrouppreview' -export { ContractorPaymentGroupPreviewStatus } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentgrouppreview' +export type { ContractorPaymentGroupPreviewTotals } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentgrouppreview' +export type { ContractorPaymentGroupPreview } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentgrouppreview' +export { ContractorPaymentGroupPreviewStatus } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentgrouppreview' /** `ContractorPaymentGroupWithBlockersTotals` entity from the Gusto Embedded API. */ -export type { ContractorPaymentGroupWithBlockersTotals } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentgroupwithblockers' -export type { ContractorPaymentGroupWithBlockers } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentgroupwithblockers' -export { ContractorPaymentGroupWithBlockersStatus } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentgroupwithblockers' +export type { ContractorPaymentGroupWithBlockersTotals } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentgroupwithblockers' +export type { ContractorPaymentGroupWithBlockers } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentgroupwithblockers' +export { ContractorPaymentGroupWithBlockersStatus } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentgroupwithblockers' /** `ContractorPaymentMethod` entity from the Gusto Embedded API. */ -export type { ContractorPaymentMethod } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentmethod' +export type { ContractorPaymentMethod } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentmethod' /** `ContractorPaymentMethodSplitBy` entity from the Gusto Embedded API. */ -export { ContractorPaymentMethodSplitBy } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentmethod' +export { ContractorPaymentMethodSplitBy } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentmethod' /** `ContractorPaymentMethodType` entity from the Gusto Embedded API. */ -export { ContractorPaymentMethodType } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentmethod' +export { ContractorPaymentMethodType } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentmethod' /** `ContractorPaymentReceipt` entity from the Gusto Embedded API. */ -export type { ContractorPaymentReceipt } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentreceipt' +export type { ContractorPaymentReceipt } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentreceipt' /** `ContractorPayments` entity from the Gusto Embedded API. */ -export type { ContractorPayments } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentreceipt' +export type { ContractorPayments } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentreceipt' export type { ContractorPaymentReceiptLicensee, ContractorPaymentReceiptTotals, -} from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentreceipt' -export { ContractorPaymentReceiptPaymentMethod } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorpaymentreceipt' -export type { ContractorUpdateRequestBody } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorupdaterequestbody' +} from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentreceipt' +export { ContractorPaymentReceiptPaymentMethod } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorpaymentreceipt' +export type { ContractorUpdateRequestBody } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorupdaterequestbody' export { ContractorUpdateRequestBodyType, ContractorUpdateRequestBodyWageType, -} from '@gusto/embedded-api-v-2025-11-15/models/components/contractorupdaterequestbody' -export { CustomFieldType } from '@gusto/embedded-api-v-2025-11-15/models/components/customfieldtype' +} from '@gusto/embedded-api-v-2026-02-01/models/components/contractorupdaterequestbody' +export { CustomFieldType } from '@gusto/embedded-api-v-2026-02-01/models/components/customfieldtype' /** `Document` entity from the Gusto Embedded API. */ -export type { Document } from '@gusto/embedded-api-v-2025-11-15/models/components/document' +export type { Document } from '@gusto/embedded-api-v-2026-02-01/models/components/document' /** `Fields` entity from the Gusto Embedded API. */ -export type { Fields } from '@gusto/embedded-api-v-2025-11-15/models/components/document' +export type { Fields } from '@gusto/embedded-api-v-2026-02-01/models/components/document' /** `Pages` entity from the Gusto Embedded API. */ -export type { Pages } from '@gusto/embedded-api-v-2025-11-15/models/components/document' -export { RecipientType } from '@gusto/embedded-api-v-2025-11-15/models/components/document' +export type { Pages } from '@gusto/embedded-api-v-2026-02-01/models/components/document' +export { RecipientType } from '@gusto/embedded-api-v-2026-02-01/models/components/document' /** `EmployeeCurrentEmploymentStatus` entity from the Gusto Embedded API. */ -export { EmployeeCurrentEmploymentStatus } from '@gusto/embedded-api-v-2025-11-15/models/components/employee' +export { EmployeeCurrentEmploymentStatus } from '@gusto/embedded-api-v-2026-02-01/models/components/employee' /** `EmployeeOnboardingStatus1` entity from the Gusto Embedded API. */ -export { EmployeeOnboardingStatus1 } from '@gusto/embedded-api-v-2025-11-15/models/components/employee' +export { EmployeeOnboardingStatus1 } from '@gusto/embedded-api-v-2026-02-01/models/components/employee' export type { Employee, EmployeeMemberPortalInvitationStatus, EmployeeOnboardingDocumentsConfig, -} from '@gusto/embedded-api-v-2025-11-15/models/components/employee' +} from '@gusto/embedded-api-v-2026-02-01/models/components/employee' export { EmployeePaymentMethod1, EmployeeStatus, -} from '@gusto/embedded-api-v-2025-11-15/models/components/employee' +} from '@gusto/embedded-api-v-2026-02-01/models/components/employee' /** `EmployeeAddress` entity from the Gusto Embedded API. */ -export type { EmployeeAddress } from '@gusto/embedded-api-v-2025-11-15/models/components/employeeaddress' +export type { EmployeeAddress } from '@gusto/embedded-api-v-2026-02-01/models/components/employeeaddress' /** `EmployeeBankAccount` entity from the Gusto Embedded API. */ -export type { EmployeeBankAccount } from '@gusto/embedded-api-v-2025-11-15/models/components/employeebankaccount' -export { EmployeeBankAccountAccountType } from '@gusto/embedded-api-v-2025-11-15/models/components/employeebankaccount' -export type { EmployeeCustomField } from '@gusto/embedded-api-v-2025-11-15/models/components/employeecustomfield' -export type { EmployeeFederalTax } from '@gusto/embedded-api-v-2025-11-15/models/components/employeefederaltax' -export type { EmployeeFederalTaxPre2020 } from '@gusto/embedded-api-v-2025-11-15/models/components/employeefederaltaxpre2020' -export type { EmployeeFederalTaxRev2020 } from '@gusto/embedded-api-v-2025-11-15/models/components/employeefederaltaxrev2020' +export type { EmployeeBankAccount } from '@gusto/embedded-api-v-2026-02-01/models/components/employeebankaccount' +export { EmployeeBankAccountAccountType } from '@gusto/embedded-api-v-2026-02-01/models/components/employeebankaccount' +export type { EmployeeCustomField } from '@gusto/embedded-api-v-2026-02-01/models/components/employeecustomfield' +export type { EmployeeFederalTax } from '@gusto/embedded-api-v-2026-02-01/models/components/employeefederaltax' +export type { EmployeeFederalTaxPre2020 } from '@gusto/embedded-api-v-2026-02-01/models/components/employeefederaltaxpre2020' +export type { EmployeeFederalTaxRev2020 } from '@gusto/embedded-api-v-2026-02-01/models/components/employeefederaltaxrev2020' /** `EmployeeOnboardingStatusOnboardingStep` entity from the Gusto Embedded API. */ -export type { EmployeeOnboardingStatusOnboardingStep } from '@gusto/embedded-api-v-2025-11-15/models/components/employeeonboardingstatus' -export type { EmployeeOnboardingStatus } from '@gusto/embedded-api-v-2025-11-15/models/components/employeeonboardingstatus' +export type { EmployeeOnboardingStatusOnboardingStep } from '@gusto/embedded-api-v-2026-02-01/models/components/employeeonboardingstatus' +export type { EmployeeOnboardingStatus } from '@gusto/embedded-api-v-2026-02-01/models/components/employeeonboardingstatus' /** `EmployeePaymentMethod` entity from the Gusto Embedded API. */ -export type { EmployeePaymentMethod } from '@gusto/embedded-api-v-2025-11-15/models/components/employeepaymentmethod' +export type { EmployeePaymentMethod } from '@gusto/embedded-api-v-2026-02-01/models/components/employeepaymentmethod' /** `EmployeePaymentMethodSplitBy` entity from the Gusto Embedded API. */ -export { EmployeePaymentMethodSplitBy } from '@gusto/embedded-api-v-2025-11-15/models/components/employeepaymentmethod' -export { EmployeePaymentMethodType } from '@gusto/embedded-api-v-2025-11-15/models/components/employeepaymentmethod' +export { EmployeePaymentMethodSplitBy } from '@gusto/embedded-api-v-2026-02-01/models/components/employeepaymentmethod' +export { EmployeePaymentMethodType } from '@gusto/embedded-api-v-2026-02-01/models/components/employeepaymentmethod' /** `EmployeeStateTaxAnswer` entity from the Gusto Embedded API. */ -export type { EmployeeStateTaxAnswer } from '@gusto/embedded-api-v-2025-11-15/models/components/employeestatetaxanswer' +export type { EmployeeStateTaxAnswer } from '@gusto/embedded-api-v-2026-02-01/models/components/employeestatetaxanswer' /** `EmployeeStateTaxesList` entity from the Gusto Embedded API. */ -export type { EmployeeStateTaxesList } from '@gusto/embedded-api-v-2025-11-15/models/components/employeestatetaxeslist' +export type { EmployeeStateTaxesList } from '@gusto/embedded-api-v-2026-02-01/models/components/employeestatetaxeslist' /** `Answers` entity from the Gusto Embedded API. */ -export type { Answers } from '@gusto/embedded-api-v-2025-11-15/models/components/employeestatetaxesrequest' +export type { Answers } from '@gusto/embedded-api-v-2026-02-01/models/components/employeestatetaxesrequest' /** `EmployeeStateTaxesRequest` entity from the Gusto Embedded API. */ -export type { EmployeeStateTaxesRequest } from '@gusto/embedded-api-v-2025-11-15/models/components/employeestatetaxesrequest' +export type { EmployeeStateTaxesRequest } from '@gusto/embedded-api-v-2026-02-01/models/components/employeestatetaxesrequest' /** `Questions` entity from the Gusto Embedded API. */ -export type { Questions } from '@gusto/embedded-api-v-2025-11-15/models/components/employeestatetaxesrequest' +export type { Questions } from '@gusto/embedded-api-v-2026-02-01/models/components/employeestatetaxesrequest' /** `States` entity from the Gusto Embedded API. */ -export type { States } from '@gusto/embedded-api-v-2025-11-15/models/components/employeestatetaxesrequest' +export type { States } from '@gusto/embedded-api-v-2026-02-01/models/components/employeestatetaxesrequest' /** `EmployeeStateTaxInputQuestionFormat` entity from the Gusto Embedded API. */ -export type { EmployeeStateTaxInputQuestionFormat } from '@gusto/embedded-api-v-2025-11-15/models/components/employeestatetaxinputquestionformat' +export type { EmployeeStateTaxInputQuestionFormat } from '@gusto/embedded-api-v-2026-02-01/models/components/employeestatetaxinputquestionformat' /** `Options` entity from the Gusto Embedded API. */ -export type { Options } from '@gusto/embedded-api-v-2025-11-15/models/components/employeestatetaxinputquestionformat' +export type { Options } from '@gusto/embedded-api-v-2026-02-01/models/components/employeestatetaxinputquestionformat' /** `EmployeeStateTaxQuestion` entity from the Gusto Embedded API. */ -export type { EmployeeStateTaxQuestion } from '@gusto/embedded-api-v-2025-11-15/models/components/employeestatetaxquestion' +export type { EmployeeStateTaxQuestion } from '@gusto/embedded-api-v-2026-02-01/models/components/employeestatetaxquestion' /** `EmployeeWorkAddress` entity from the Gusto Embedded API. */ -export type { EmployeeWorkAddress } from '@gusto/embedded-api-v-2025-11-15/models/components/employeeworkaddress' +export type { EmployeeWorkAddress } from '@gusto/embedded-api-v-2026-02-01/models/components/employeeworkaddress' /** `EntityErrorObject` entity from the Gusto Embedded API. */ -export type { EntityErrorObject } from '@gusto/embedded-api-v-2025-11-15/models/components/entityerrorobject' +export type { EntityErrorObject } from '@gusto/embedded-api-v-2026-02-01/models/components/entityerrorobject' /** `FederalTaxDetails` entity from the Gusto Embedded API. */ -export type { FederalTaxDetails } from '@gusto/embedded-api-v-2025-11-15/models/components/federaltaxdetails' +export type { FederalTaxDetails } from '@gusto/embedded-api-v-2026-02-01/models/components/federaltaxdetails' /** `TaxPayerType` entity from the Gusto Embedded API. */ -export { TaxPayerType } from '@gusto/embedded-api-v-2025-11-15/models/components/federaltaxdetails' -export type { EinVerification } from '@gusto/embedded-api-v-2025-11-15/models/components/federaltaxdetails' +export { TaxPayerType } from '@gusto/embedded-api-v-2026-02-01/models/components/federaltaxdetails' +export type { EinVerification } from '@gusto/embedded-api-v-2026-02-01/models/components/federaltaxdetails' export { FederalTaxDetailsStatus, FilingForm, -} from '@gusto/embedded-api-v-2025-11-15/models/components/federaltaxdetails' -export { FlsaStatusType } from '@gusto/embedded-api-v-2025-11-15/models/components/flsastatustype' +} from '@gusto/embedded-api-v-2026-02-01/models/components/federaltaxdetails' +export { FlsaStatusType } from '@gusto/embedded-api-v-2026-02-01/models/components/flsastatustype' /** `Form` entity from the Gusto Embedded API. */ -export type { Form } from '@gusto/embedded-api-v-2025-11-15/models/components/form' +export type { Form } from '@gusto/embedded-api-v-2026-02-01/models/components/form' /** `GarnishmentType` entity from the Gusto Embedded API. */ -export { GarnishmentType } from '@gusto/embedded-api-v-2025-11-15/models/components/garnishment' -export type { Garnishment } from '@gusto/embedded-api-v-2025-11-15/models/components/garnishment' -export type { GarnishmentChildSupport } from '@gusto/embedded-api-v-2025-11-15/models/components/garnishmentchildsupport' -export { PaymentPeriod } from '@gusto/embedded-api-v-2025-11-15/models/components/garnishmentchildsupport' +export { GarnishmentType } from '@gusto/embedded-api-v-2026-02-01/models/components/garnishment' +export type { Garnishment } from '@gusto/embedded-api-v-2026-02-01/models/components/garnishment' +export type { GarnishmentChildSupport } from '@gusto/embedded-api-v-2026-02-01/models/components/garnishmentchildsupport' +export { PaymentPeriod } from '@gusto/embedded-api-v-2026-02-01/models/components/garnishmentchildsupport' /** `ChristmasDay` entity from the Gusto Embedded API. */ -export type { ChristmasDay } from '@gusto/embedded-api-v-2025-11-15/models/components/holidaypaypolicy' +export type { ChristmasDay } from '@gusto/embedded-api-v-2026-02-01/models/components/holidaypaypolicy' /** `ColumbusDay` entity from the Gusto Embedded API. */ -export type { ColumbusDay } from '@gusto/embedded-api-v-2025-11-15/models/components/holidaypaypolicy' +export type { ColumbusDay } from '@gusto/embedded-api-v-2026-02-01/models/components/holidaypaypolicy' /** `HolidayPayPolicyEmployees` entity from the Gusto Embedded API. */ -export type { HolidayPayPolicyEmployees } from '@gusto/embedded-api-v-2025-11-15/models/components/holidaypaypolicy' +export type { HolidayPayPolicyEmployees } from '@gusto/embedded-api-v-2026-02-01/models/components/holidaypaypolicy' /** `IndependenceDay` entity from the Gusto Embedded API. */ -export type { IndependenceDay } from '@gusto/embedded-api-v-2025-11-15/models/components/holidaypaypolicy' +export type { IndependenceDay } from '@gusto/embedded-api-v-2026-02-01/models/components/holidaypaypolicy' /** `Juneteenth` entity from the Gusto Embedded API. */ -export type { Juneteenth } from '@gusto/embedded-api-v-2025-11-15/models/components/holidaypaypolicy' +export type { Juneteenth } from '@gusto/embedded-api-v-2026-02-01/models/components/holidaypaypolicy' /** `LaborDay` entity from the Gusto Embedded API. */ -export type { LaborDay } from '@gusto/embedded-api-v-2025-11-15/models/components/holidaypaypolicy' +export type { LaborDay } from '@gusto/embedded-api-v-2026-02-01/models/components/holidaypaypolicy' /** `MemorialDay` entity from the Gusto Embedded API. */ -export type { MemorialDay } from '@gusto/embedded-api-v-2025-11-15/models/components/holidaypaypolicy' +export type { MemorialDay } from '@gusto/embedded-api-v-2026-02-01/models/components/holidaypaypolicy' /** `MlkDay` entity from the Gusto Embedded API. */ -export type { MlkDay } from '@gusto/embedded-api-v-2025-11-15/models/components/holidaypaypolicy' +export type { MlkDay } from '@gusto/embedded-api-v-2026-02-01/models/components/holidaypaypolicy' /** `NewYearsDay` entity from the Gusto Embedded API. */ -export type { NewYearsDay } from '@gusto/embedded-api-v-2025-11-15/models/components/holidaypaypolicy' +export type { NewYearsDay } from '@gusto/embedded-api-v-2026-02-01/models/components/holidaypaypolicy' /** `PresidentsDay` entity from the Gusto Embedded API. */ -export type { PresidentsDay } from '@gusto/embedded-api-v-2025-11-15/models/components/holidaypaypolicy' +export type { PresidentsDay } from '@gusto/embedded-api-v-2026-02-01/models/components/holidaypaypolicy' /** `Thanksgiving` entity from the Gusto Embedded API. */ -export type { Thanksgiving } from '@gusto/embedded-api-v-2025-11-15/models/components/holidaypaypolicy' +export type { Thanksgiving } from '@gusto/embedded-api-v-2026-02-01/models/components/holidaypaypolicy' /** `VeteransDay` entity from the Gusto Embedded API. */ -export type { VeteransDay } from '@gusto/embedded-api-v-2025-11-15/models/components/holidaypaypolicy' +export type { VeteransDay } from '@gusto/embedded-api-v-2026-02-01/models/components/holidaypaypolicy' export type { FederalHolidays, HolidayPayPolicy, -} from '@gusto/embedded-api-v-2025-11-15/models/components/holidaypaypolicy' +} from '@gusto/embedded-api-v-2026-02-01/models/components/holidaypaypolicy' /** `DocumentType` entity from the Gusto Embedded API. */ -export { DocumentType } from '@gusto/embedded-api-v-2025-11-15/models/components/i9authorization' -export { AuthorizationStatus } from '@gusto/embedded-api-v-2025-11-15/models/components/i9authorization' +export { DocumentType } from '@gusto/embedded-api-v-2026-02-01/models/components/i9authorization' +export { AuthorizationStatus } from '@gusto/embedded-api-v-2026-02-01/models/components/i9authorization' +/** `InformationRequestType` entity from the Gusto Embedded API. */ +export { InformationRequestType } from '@gusto/embedded-api-v-2026-02-01/models/components/informationrequest' /** `RequiredQuestions` entity from the Gusto Embedded API. */ -export type { RequiredQuestions } from '@gusto/embedded-api-v-2025-11-15/models/components/informationrequest' -export type { InformationRequest } from '@gusto/embedded-api-v-2025-11-15/models/components/informationrequest' +export type { RequiredQuestions } from '@gusto/embedded-api-v-2026-02-01/models/components/informationrequest' +export type { InformationRequest } from '@gusto/embedded-api-v-2026-02-01/models/components/informationrequest' export { InformationRequestStatus, - InformationRequestType, ResponseType, -} from '@gusto/embedded-api-v-2025-11-15/models/components/informationrequest' -export type { Job } from '@gusto/embedded-api-v-2025-11-15/models/components/job' -export type { Location } from '@gusto/embedded-api-v-2025-11-15/models/components/location' -export type { MetadataWithMultipleEntities } from '@gusto/embedded-api-v-2025-11-15/models/components/metadatawithmultipleentities' -export type { MetadataWithOneEntity } from '@gusto/embedded-api-v-2025-11-15/models/components/metadatawithoneentity' -export type { MinimumWage } from '@gusto/embedded-api-v-2025-11-15/models/components/minimumwage' -export type { PaidTimeOff } from '@gusto/embedded-api-v-2025-11-15/models/components/paidtimeoff' -export { Name } from '@gusto/embedded-api-v-2025-11-15/models/components/paidtimeoff' -export { PaymentSpeed } from '@gusto/embedded-api-v-2025-11-15/models/components/paymentconfigs' -export type { PaymentMethodBankAccount } from '@gusto/embedded-api-v-2025-11-15/models/components/paymentmethodbankaccount' +} from '@gusto/embedded-api-v-2026-02-01/models/components/informationrequest' +export type { Job } from '@gusto/embedded-api-v-2026-02-01/models/components/job' +export type { Location } from '@gusto/embedded-api-v-2026-02-01/models/components/location' +export type { MetadataWithMultipleEntities } from '@gusto/embedded-api-v-2026-02-01/models/components/metadatawithmultipleentities' +export type { MetadataWithOneEntity } from '@gusto/embedded-api-v-2026-02-01/models/components/metadatawithoneentity' +export type { MinimumWage } from '@gusto/embedded-api-v-2026-02-01/models/components/minimumwage' +/** `Name` entity from the Gusto Embedded API. */ +export { Name } from '@gusto/embedded-api-v-2026-02-01/models/components/paidtimeoff' +export type { PaidTimeOff } from '@gusto/embedded-api-v-2026-02-01/models/components/paidtimeoff' +export { PaymentSpeed } from '@gusto/embedded-api-v-2026-02-01/models/components/paymentconfigs' +export type { PaymentMethodBankAccount } from '@gusto/embedded-api-v-2026-02-01/models/components/paymentmethodbankaccount' export type { PayPeriod, PayPeriodPayroll, -} from '@gusto/embedded-api-v-2025-11-15/models/components/payperiod' -export { PayrollType } from '@gusto/embedded-api-v-2025-11-15/models/components/payperiod' +} from '@gusto/embedded-api-v-2026-02-01/models/components/payperiod' +export { PayrollType } from '@gusto/embedded-api-v-2026-02-01/models/components/payperiod' /** `EmployeeCompensations` entity from the Gusto Embedded API. */ -export type { EmployeeCompensations } from '@gusto/embedded-api-v-2025-11-15/models/components/payroll' +export type { EmployeeCompensations } from '@gusto/embedded-api-v-2026-02-01/models/components/payroll' /** `OffCycleReasonType` entity from the Gusto Embedded API. */ -export { OffCycleReasonType } from '@gusto/embedded-api-v-2025-11-15/models/components/payroll' +export { OffCycleReasonType } from '@gusto/embedded-api-v-2026-02-01/models/components/payroll' /** `Payroll` entity from the Gusto Embedded API. */ -export type { Payroll } from '@gusto/embedded-api-v-2025-11-15/models/components/payroll' +export type { Payroll } from '@gusto/embedded-api-v-2026-02-01/models/components/payroll' /** `PayrollShow` entity from the Gusto Embedded API. */ -export type { PayrollShow } from '@gusto/embedded-api-v-2025-11-15/models/components/payroll' +export type { PayrollShow } from '@gusto/embedded-api-v-2026-02-01/models/components/payroll' /** `PayrollShowBenefits` entity from the Gusto Embedded API. */ -export type { PayrollShowBenefits } from '@gusto/embedded-api-v-2025-11-15/models/components/payroll' +export type { PayrollShowBenefits } from '@gusto/embedded-api-v-2026-02-01/models/components/payroll' /** `PayrollShowDeductions` entity from the Gusto Embedded API. */ -export type { PayrollShowDeductions } from '@gusto/embedded-api-v-2025-11-15/models/components/payroll' +export type { PayrollShowDeductions } from '@gusto/embedded-api-v-2026-02-01/models/components/payroll' /** `PayrollShowFixedCompensations` entity from the Gusto Embedded API. */ -export type { PayrollShowFixedCompensations } from '@gusto/embedded-api-v-2025-11-15/models/components/payroll' +export type { PayrollShowFixedCompensations } from '@gusto/embedded-api-v-2026-02-01/models/components/payroll' /** `PayrollShowHourlyCompensations` entity from the Gusto Embedded API. */ -export type { PayrollShowHourlyCompensations } from '@gusto/embedded-api-v-2025-11-15/models/components/payroll' +export type { PayrollShowHourlyCompensations } from '@gusto/embedded-api-v-2026-02-01/models/components/payroll' /** `PayrollShowPaidTimeOff` entity from the Gusto Embedded API. */ -export type { PayrollShowPaidTimeOff } from '@gusto/embedded-api-v-2025-11-15/models/components/payroll' +export type { PayrollShowPaidTimeOff } from '@gusto/embedded-api-v-2026-02-01/models/components/payroll' +/** `PayrollShowPaymentMethod` entity from the Gusto Embedded API. */ +export { PayrollShowPaymentMethod } from '@gusto/embedded-api-v-2026-02-01/models/components/payroll' /** `PayrollShowReimbursements` entity from the Gusto Embedded API. */ -export type { PayrollShowReimbursements } from '@gusto/embedded-api-v-2025-11-15/models/components/payroll' +export type { PayrollShowReimbursements } from '@gusto/embedded-api-v-2026-02-01/models/components/payroll' /** `PayrollShowTaxes` entity from the Gusto Embedded API. */ -export type { PayrollShowTaxes } from '@gusto/embedded-api-v-2025-11-15/models/components/payroll' +export type { PayrollShowTaxes } from '@gusto/embedded-api-v-2026-02-01/models/components/payroll' /** `PayrollWithholdingPayPeriodType` entity from the Gusto Embedded API. */ -export { PayrollWithholdingPayPeriodType } from '@gusto/embedded-api-v-2025-11-15/models/components/payroll' -export type { PayrollPrepared } from '@gusto/embedded-api-v-2025-11-15/models/components/payroll' -export { - PayrollShowAmountType, - PayrollShowPaymentMethod, -} from '@gusto/embedded-api-v-2025-11-15/models/components/payroll' +export { PayrollWithholdingPayPeriodType } from '@gusto/embedded-api-v-2026-02-01/models/components/payroll' +export type { PayrollPrepared } from '@gusto/embedded-api-v-2026-02-01/models/components/payroll' +export { PayrollShowAmountType } from '@gusto/embedded-api-v-2026-02-01/models/components/payroll' /** `PayrollCompanyTaxesType` entity from the Gusto Embedded API. */ -export type { PayrollCompanyTaxesType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollcompanytaxestype' +export type { PayrollCompanyTaxesType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollcompanytaxestype' /** `PayrollCreditBlockerTypeUnblockOptions` entity from the Gusto Embedded API. */ -export type { PayrollCreditBlockerTypeUnblockOptions } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollcreditblockertype' -export type { PayrollCreditBlockerType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollcreditblockertype' -export { PayrollCreditBlockerTypeStatus } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollcreditblockertype' +export type { PayrollCreditBlockerTypeUnblockOptions } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollcreditblockertype' +export type { PayrollCreditBlockerType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollcreditblockertype' +export { PayrollCreditBlockerTypeStatus } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollcreditblockertype' /** `PayrollCreditBlockerUnblockOptionRespondToHighRiskFraudRfiMetadata` entity from the Gusto Embedded API. */ -export type { PayrollCreditBlockerUnblockOptionRespondToHighRiskFraudRfiMetadata } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollcreditblockerunblockoptionrespondtohighriskfraudrfi' -export type { PayrollCreditBlockerUnblockOptionRespondToHighRiskFraudRfi } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollcreditblockerunblockoptionrespondtohighriskfraudrfi' +export type { PayrollCreditBlockerUnblockOptionRespondToHighRiskFraudRfiMetadata } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollcreditblockerunblockoptionrespondtohighriskfraudrfi' +export type { PayrollCreditBlockerUnblockOptionRespondToHighRiskFraudRfi } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollcreditblockerunblockoptionrespondtohighriskfraudrfi' /** `PayrollCreditBlockerUnblockOptionSubmitBankScreenshotMetadata` entity from the Gusto Embedded API. */ -export type { PayrollCreditBlockerUnblockOptionSubmitBankScreenshotMetadata } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollcreditblockerunblockoptionsubmitbankscreenshot' -export type { PayrollCreditBlockerUnblockOptionSubmitBankScreenshot } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollcreditblockerunblockoptionsubmitbankscreenshot' +export type { PayrollCreditBlockerUnblockOptionSubmitBankScreenshotMetadata } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollcreditblockerunblockoptionsubmitbankscreenshot' +export type { PayrollCreditBlockerUnblockOptionSubmitBankScreenshot } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollcreditblockerunblockoptionsubmitbankscreenshot' /** `PayrollCreditBlockerUnblockOptionSubmitWireMetadata` entity from the Gusto Embedded API. */ -export type { PayrollCreditBlockerUnblockOptionSubmitWireMetadata } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollcreditblockerunblockoptionsubmitwire' -export type { PayrollCreditBlockerUnblockOptionSubmitWire } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollcreditblockerunblockoptionsubmitwire' +export type { PayrollCreditBlockerUnblockOptionSubmitWireMetadata } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollcreditblockerunblockoptionsubmitwire' +export type { PayrollCreditBlockerUnblockOptionSubmitWire } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollcreditblockerunblockoptionsubmitwire' /** `PayrollCreditBlockerUnblockOptionWaitForReverseWireMetadata` entity from the Gusto Embedded API. */ -export type { PayrollCreditBlockerUnblockOptionWaitForReverseWireMetadata } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollcreditblockerunblockoptionwaitforreversewire' -export type { PayrollCreditBlockerUnblockOptionWaitForReverseWire } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollcreditblockerunblockoptionwaitforreversewire' +export type { PayrollCreditBlockerUnblockOptionWaitForReverseWireMetadata } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollcreditblockerunblockoptionwaitforreversewire' +export type { PayrollCreditBlockerUnblockOptionWaitForReverseWire } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollcreditblockerunblockoptionwaitforreversewire' /** `Deductions` entity from the Gusto Embedded API. */ -export type { Deductions } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollemployeecompensationstype' +export type { Deductions } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollemployeecompensationstype' /** `PayrollEmployeeCompensationsType` entity from the Gusto Embedded API. */ -export type { PayrollEmployeeCompensationsType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollemployeecompensationstype' +export type { PayrollEmployeeCompensationsType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollemployeecompensationstype' /** `PayrollEmployeeCompensationsTypeFixedCompensations` entity from the Gusto Embedded API. */ -export type { PayrollEmployeeCompensationsTypeFixedCompensations } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollemployeecompensationstype' +export type { PayrollEmployeeCompensationsTypeFixedCompensations } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollemployeecompensationstype' /** `PayrollEmployeeCompensationsTypeHourlyCompensations` entity from the Gusto Embedded API. */ -export type { PayrollEmployeeCompensationsTypeHourlyCompensations } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollemployeecompensationstype' +export type { PayrollEmployeeCompensationsTypeHourlyCompensations } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollemployeecompensationstype' /** `PayrollEmployeeCompensationsTypePaidTimeOff` entity from the Gusto Embedded API. */ -export type { PayrollEmployeeCompensationsTypePaidTimeOff } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollemployeecompensationstype' +export type { PayrollEmployeeCompensationsTypePaidTimeOff } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollemployeecompensationstype' +/** `PayrollEmployeeCompensationsTypePaymentMethod` entity from the Gusto Embedded API. */ +export { PayrollEmployeeCompensationsTypePaymentMethod } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollemployeecompensationstype' /** `PayrollEmployeeCompensationsTypeReimbursements` entity from the Gusto Embedded API. */ -export type { PayrollEmployeeCompensationsTypeReimbursements } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollemployeecompensationstype' -export { - AmountType, - PayrollEmployeeCompensationsTypePaymentMethod, -} from '@gusto/embedded-api-v-2025-11-15/models/components/payrollemployeecompensationstype' +export type { PayrollEmployeeCompensationsTypeReimbursements } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollemployeecompensationstype' +export { AmountType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollemployeecompensationstype' /** `PayrollFixedCompensationTypesType` entity from the Gusto Embedded API. */ -export type { PayrollFixedCompensationTypesType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollfixedcompensationtypestype' -export type { PayrollPaymentSpeedChangedType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollpaymentspeedchangedtype' +export type { PayrollFixedCompensationTypesType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollfixedcompensationtypestype' +export type { PayrollPaymentSpeedChangedType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollpaymentspeedchangedtype' /** `PayrollPayPeriodType` entity from the Gusto Embedded API. */ -export type { PayrollPayPeriodType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollpayperiodtype' -export type { PayrollPayrollStatusMetaType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollpayrollstatusmetatype' +export type { PayrollPayPeriodType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollpayperiodtype' +export type { PayrollPayrollStatusMetaType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollpayrollstatusmetatype' /** `PayrollProcessingRequest` entity from the Gusto Embedded API. */ -export type { PayrollProcessingRequest } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollprocessingrequest' -export { PayrollProcessingRequestStatus } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollprocessingrequest' +export type { PayrollProcessingRequest } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollprocessingrequest' +export { PayrollProcessingRequestStatus } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollprocessingrequest' /** `PayrollReceipt` entity from the Gusto Embedded API. */ -export type { PayrollReceipt } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollreceipt' +export type { PayrollReceipt } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollreceipt' /** `PayrollReceiptEmployeeCompensations` entity from the Gusto Embedded API. */ -export type { PayrollReceiptEmployeeCompensations } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollreceipt' +export type { PayrollReceiptEmployeeCompensations } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollreceipt' /** `Taxes` entity from the Gusto Embedded API. */ -export type { Taxes } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollreceipt' +export type { Taxes } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollreceipt' export type { Licensee, Totals, -} from '@gusto/embedded-api-v-2025-11-15/models/components/payrollreceipt' -export { PayrollReceiptPaymentMethod } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollreceipt' +} from '@gusto/embedded-api-v-2026-02-01/models/components/payrollreceipt' +export { PayrollReceiptPaymentMethod } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollreceipt' /** `UnblockOptions` entity from the Gusto Embedded API. */ -export type { UnblockOptions } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollsubmissionblockertype' -export type { PayrollSubmissionBlockerType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollsubmissionblockertype' -export { PayrollSubmissionBlockerTypeStatus } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollsubmissionblockertype' +export type { UnblockOptions } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollsubmissionblockertype' +export type { PayrollSubmissionBlockerType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollsubmissionblockertype' +export { PayrollSubmissionBlockerTypeStatus } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollsubmissionblockertype' /** `PayrollTaxesType` entity from the Gusto Embedded API. */ -export type { PayrollTaxesType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrolltaxestype' -export type { PayrollTotalsType } from '@gusto/embedded-api-v-2025-11-15/models/components/payrolltotalstype' +export type { PayrollTaxesType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrolltaxestype' +export type { PayrollTotalsType } from '@gusto/embedded-api-v-2026-02-01/models/components/payrolltotalstype' /** `PayrollUpdateEmployeeCompensations` entity from the Gusto Embedded API. */ -export type { PayrollUpdateEmployeeCompensations } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollupdate' +export type { PayrollUpdateEmployeeCompensations } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollupdate' /** `PayrollUpdatePaidTimeOff` entity from the Gusto Embedded API. */ -export type { PayrollUpdatePaidTimeOff } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollupdate' +export type { PayrollUpdatePaidTimeOff } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollupdate' /** `PayrollUpdateReimbursements` entity from the Gusto Embedded API. */ -export type { PayrollUpdateReimbursements } from '@gusto/embedded-api-v-2025-11-15/models/components/payrollupdate' +export type { PayrollUpdateReimbursements } from '@gusto/embedded-api-v-2026-02-01/models/components/payrollupdate' export type { PayrollUpdateDeductions, PayrollUpdateFixedCompensations, PayrollUpdateHourlyCompensations, -} from '@gusto/embedded-api-v-2025-11-15/models/components/payrollupdate' +} from '@gusto/embedded-api-v-2026-02-01/models/components/payrollupdate' export { PayrollUpdateAmountType, PayrollUpdatePaymentMethod, -} from '@gusto/embedded-api-v-2025-11-15/models/components/payrollupdate' +} from '@gusto/embedded-api-v-2026-02-01/models/components/payrollupdate' export type { PayScheduleAutoPayrollEnablementBlocker, PayScheduleAutoPayrollEnablementBlockerMetadata, -} from '@gusto/embedded-api-v-2025-11-15/models/components/payscheduleautopayrollenablementblocker' -export { PayScheduleFrequency } from '@gusto/embedded-api-v-2025-11-15/models/components/payschedulefrequency' -export type { PaySchedulePreviewPayPeriod } from '@gusto/embedded-api-v-2025-11-15/models/components/payschedulepreviewpayperiod' -export type { PayScheduleShow } from '@gusto/embedded-api-v-2025-11-15/models/components/payscheduleshow' -export type { RecoveryCase } from '@gusto/embedded-api-v-2025-11-15/models/components/recoverycase' -export { RecoveryCaseStatus } from '@gusto/embedded-api-v-2025-11-15/models/components/recoverycase' +} from '@gusto/embedded-api-v-2026-02-01/models/components/payscheduleautopayrollenablementblocker' +export { PayScheduleFrequency } from '@gusto/embedded-api-v-2026-02-01/models/components/payschedulefrequency' +export type { PaySchedulePreviewPayPeriod } from '@gusto/embedded-api-v-2026-02-01/models/components/payschedulepreviewpayperiod' +export type { PayScheduleShow } from '@gusto/embedded-api-v-2026-02-01/models/components/payscheduleshow' +export type { RecoveryCase } from '@gusto/embedded-api-v-2026-02-01/models/components/recoverycase' +export { RecoveryCaseStatus } from '@gusto/embedded-api-v-2026-02-01/models/components/recoverycase' /** `HomeAddress` entity from the Gusto Embedded API. */ -export type { HomeAddress } from '@gusto/embedded-api-v-2025-11-15/models/components/signatory' +export type { HomeAddress } from '@gusto/embedded-api-v-2026-02-01/models/components/signatory' /** `IdentityVerificationStatus` entity from the Gusto Embedded API. */ -export { IdentityVerificationStatus } from '@gusto/embedded-api-v-2025-11-15/models/components/signatory' -export type { Signatory } from '@gusto/embedded-api-v-2025-11-15/models/components/signatory' +export { IdentityVerificationStatus } from '@gusto/embedded-api-v-2026-02-01/models/components/signatory' +export type { Signatory } from '@gusto/embedded-api-v-2026-02-01/models/components/signatory' /** `ApplicableIf` entity from the Gusto Embedded API. */ -export type { ApplicableIf } from '@gusto/embedded-api-v-2025-11-15/models/components/taxrequirement' +export type { ApplicableIf } from '@gusto/embedded-api-v-2026-02-01/models/components/taxrequirement' /** `TaxRequirement` entity from the Gusto Embedded API. */ -export type { TaxRequirement } from '@gusto/embedded-api-v-2025-11-15/models/components/taxrequirement' +export type { TaxRequirement } from '@gusto/embedded-api-v-2026-02-01/models/components/taxrequirement' /** `TaxRequirementMetadata` entity from the Gusto Embedded API. */ -export type { TaxRequirementMetadata } from '@gusto/embedded-api-v-2025-11-15/models/components/taxrequirementmetadata' +export type { TaxRequirementMetadata } from '@gusto/embedded-api-v-2026-02-01/models/components/taxrequirementmetadata' /** `TaxRequirementMetadataOptions` entity from the Gusto Embedded API. */ -export type { TaxRequirementMetadataOptions } from '@gusto/embedded-api-v-2025-11-15/models/components/taxrequirementmetadata' -export type { Validation } from '@gusto/embedded-api-v-2025-11-15/models/components/taxrequirementmetadata' +export type { TaxRequirementMetadataOptions } from '@gusto/embedded-api-v-2026-02-01/models/components/taxrequirementmetadata' +export type { Validation } from '@gusto/embedded-api-v-2026-02-01/models/components/taxrequirementmetadata' export { RateType, TaxRequirementMetadataType, TaxRequirementMetadataValidationType, -} from '@gusto/embedded-api-v-2025-11-15/models/components/taxrequirementmetadata' +} from '@gusto/embedded-api-v-2026-02-01/models/components/taxrequirementmetadata' /** `TaxRequirementSet` entity from the Gusto Embedded API. */ -export type { TaxRequirementSet } from '@gusto/embedded-api-v-2025-11-15/models/components/taxrequirementset' +export type { TaxRequirementSet } from '@gusto/embedded-api-v-2026-02-01/models/components/taxrequirementset' /** `TaxRequirementsState` entity from the Gusto Embedded API. */ -export type { TaxRequirementsState } from '@gusto/embedded-api-v-2025-11-15/models/components/taxrequirementsstate' +export type { TaxRequirementsState } from '@gusto/embedded-api-v-2026-02-01/models/components/taxrequirementsstate' /** `TaxRequirementStatesList` entity from the Gusto Embedded API. */ -export type { TaxRequirementStatesList } from '@gusto/embedded-api-v-2025-11-15/models/components/taxrequirementstateslist' -export { SetupStatus } from '@gusto/embedded-api-v-2025-11-15/models/components/taxrequirementstateslist' -export type { TaxRequirementsValue } from '@gusto/embedded-api-v-2025-11-15/models/components/taxrequirementsvalue' -export type { Termination } from '@gusto/embedded-api-v-2025-11-15/models/components/termination' +export type { TaxRequirementStatesList } from '@gusto/embedded-api-v-2026-02-01/models/components/taxrequirementstateslist' +export { SetupStatus } from '@gusto/embedded-api-v-2026-02-01/models/components/taxrequirementstateslist' +export type { TaxRequirementsValue } from '@gusto/embedded-api-v-2026-02-01/models/components/taxrequirementsvalue' +export type { Termination } from '@gusto/embedded-api-v-2026-02-01/models/components/termination' /** `TimeOffPolicyEmployees` entity from the Gusto Embedded API. */ -export type { TimeOffPolicyEmployees } from '@gusto/embedded-api-v-2025-11-15/models/components/timeoffpolicy' -export type { TimeOffPolicy } from '@gusto/embedded-api-v-2025-11-15/models/components/timeoffpolicy' -export { PolicyType } from '@gusto/embedded-api-v-2025-11-15/models/components/timeoffpolicy' -export type { TimeOffPolicyRequest } from '@gusto/embedded-api-v-2025-11-15/models/components/timeoffpolicyrequest' +export type { TimeOffPolicyEmployees } from '@gusto/embedded-api-v-2026-02-01/models/components/timeoffpolicy' +export type { TimeOffPolicy } from '@gusto/embedded-api-v-2026-02-01/models/components/timeoffpolicy' +export { PolicyType } from '@gusto/embedded-api-v-2026-02-01/models/components/timeoffpolicy' +export type { TimeOffPolicyRequest } from '@gusto/embedded-api-v-2026-02-01/models/components/timeoffpolicyrequest' export { AccrualMethod, TimeOffPolicyRequestPolicyType, -} from '@gusto/embedded-api-v-2025-11-15/models/components/timeoffpolicyrequest' -export type { UnprocessedTerminationPayPeriod } from '@gusto/embedded-api-v-2025-11-15/models/components/unprocessedterminationpayperiod' -export type { WireInRequest } from '@gusto/embedded-api-v-2025-11-15/models/components/wireinrequest' +} from '@gusto/embedded-api-v-2026-02-01/models/components/timeoffpolicyrequest' +export type { UnprocessedTerminationPayPeriod } from '@gusto/embedded-api-v-2026-02-01/models/components/unprocessedterminationpayperiod' +export type { WireInRequest } from '@gusto/embedded-api-v-2026-02-01/models/components/wireinrequest' export { PaymentType, WireInRequestStatus, -} from '@gusto/embedded-api-v-2025-11-15/models/components/wireinrequest' +} from '@gusto/embedded-api-v-2026-02-01/models/components/wireinrequest' diff --git a/src/partner-hook-utils/composeErrorHandler.ts b/src/partner-hook-utils/composeErrorHandler.ts index 1e4a4dd03..b404ae47c 100644 --- a/src/partner-hook-utils/composeErrorHandler.ts +++ b/src/partner-hook-utils/composeErrorHandler.ts @@ -41,7 +41,7 @@ function isHookResultWithErrorHandling( * Merges multiple error sources into a single {@link HookErrorHandling}. * * @remarks - * Accepts any mix of `@gusto/embedded-api-v-2025-11-15` React Query results and SDK hook + * Accepts any mix of `@gusto/embedded-api-v-2026-02-01` React Query results and SDK hook * results that already expose an `errorHandling` object (including the value returned by * {@link composeSubmitHandler}). Query errors are normalized to `SDKError`, nested hook * errors are flattened in, and an optional submit-state argument adds a submit error to @@ -63,7 +63,7 @@ function isHookResultWithErrorHandling( * @example * ```tsx * import { composeErrorHandler, useEmployeeDetailsForm } from '@gusto/embedded-react-sdk' - * import { useEmployeeFormsList } from '@gusto/embedded-api-v-2025-11-15/react-query/employeeFormsList' + * import { useEmployeeFormsList } from '@gusto/embedded-api-v-2026-02-01/react-query/employeeFormsList' * * function EmployeeProfileView({ companyId, employeeId }: { companyId: string; employeeId: string }) { * const employeeDetails = useEmployeeDetailsForm({ companyId, employeeId }) diff --git a/src/partner-hook-utils/form/composeSubmitHandler.ts b/src/partner-hook-utils/form/composeSubmitHandler.ts index 3d0d6d983..ab3ca0355 100644 --- a/src/partner-hook-utils/form/composeSubmitHandler.ts +++ b/src/partner-hook-utils/form/composeSubmitHandler.ts @@ -149,7 +149,7 @@ function focusFirstInvalidAcrossForms(results: FormValidationResult[]): void { * * The returned `errorHandling` is the same shape every SDK hook returns, so the whole result * can be passed back into {@link composeErrorHandler} when you need to add extra - * `@gusto/embedded-api-v-2025-11-15` queries or screen-level submit state. + * `@gusto/embedded-api-v-2026-02-01` queries or screen-level submit state. * * @typeParam TForms - Tuple of form value shapes, one per slot of `forms`. * @param forms - Form hook results and/or raw `UseFormReturn` instances to coordinate. diff --git a/src/shared/constants.ts b/src/shared/constants.ts index e614e9b86..bd9ee7e1a 100644 --- a/src/shared/constants.ts +++ b/src/shared/constants.ts @@ -1,5 +1,5 @@ -import { OnboardingStatus } from '@gusto/embedded-api-v-2025-11-15/models/operations/putv1employeesemployeeidonboardingstatus' -import { ContractorOnboardingStatus1 } from '@gusto/embedded-api-v-2025-11-15/models/components/contractor' +import { OnboardingStatus } from '@gusto/embedded-api-v-2026-02-01/models/operations/putv1employeesemployeeidonboardingstatus' +import { ContractorOnboardingStatus1 } from '@gusto/embedded-api-v-2026-02-01/models/components/contractor' /** * Event keys emitted by employee-related components. diff --git a/src/test/factories/jobsAndCompensations.ts b/src/test/factories/jobsAndCompensations.ts index e68964a7e..a73b90bdf 100644 --- a/src/test/factories/jobsAndCompensations.ts +++ b/src/test/factories/jobsAndCompensations.ts @@ -6,13 +6,13 @@ * The Speakeasy SDK transforms these into camelCase for the React Query layer. * * Each builder validates its output against the SDK's public `*FromJSON` - * parser so any drift between our fixtures and the `@gusto/embedded-api-v-2025-11-15` wire + * parser so any drift between our fixtures and the `@gusto/embedded-api-v-2026-02-01` wire * schema fails loudly at the call site instead of producing silently-wrong * camelCase data inside hooks under test. */ -import { compensationFromJSON } from '@gusto/embedded-api-v-2025-11-15/models/components/compensation' -import { jobFromJSON } from '@gusto/embedded-api-v-2025-11-15/models/components/job' +import { compensationFromJSON } from '@gusto/embedded-api-v-2026-02-01/models/components/compensation' +import { jobFromJSON } from '@gusto/embedded-api-v-2026-02-01/models/components/job' export type CompensationFixture = { uuid: string @@ -47,7 +47,7 @@ function assertValidCompensation(fixture: CompensationFixture): CompensationFixt const result = compensationFromJSON(JSON.stringify(fixture)) if (!result.ok) { throw new Error( - `buildCompensation produced a fixture that does not match @gusto/embedded-api-v-2025-11-15 Compensation schema: ${result.error.message}`, + `buildCompensation produced a fixture that does not match @gusto/embedded-api-v-2026-02-01 Compensation schema: ${result.error.message}`, ) } return fixture @@ -57,7 +57,7 @@ function assertValidJob(fixture: JobFixture): JobFixture { const result = jobFromJSON(JSON.stringify(fixture)) if (!result.ok) { throw new Error( - `buildJob produced a fixture that does not match @gusto/embedded-api-v-2025-11-15 Job schema: ${result.error.message}`, + `buildJob produced a fixture that does not match @gusto/embedded-api-v-2026-02-01 Job schema: ${result.error.message}`, ) } return fixture diff --git a/src/test/mocks/apis/company_bank_accounts.ts b/src/test/mocks/apis/company_bank_accounts.ts index c6f0f79f2..af0b4f233 100644 --- a/src/test/mocks/apis/company_bank_accounts.ts +++ b/src/test/mocks/apis/company_bank_accounts.ts @@ -1,8 +1,8 @@ import type { HttpResponseResolver } from 'msw' import { http, HttpResponse, type PathParams } from 'msw' -import type { GetV1CompaniesCompanyIdBankAccountsRequest } from '@gusto/embedded-api-v-2025-11-15/models/operations/getv1companiescompanyidbankaccounts' -import type { PostV1CompaniesCompanyIdBankAccountsRequest } from '@gusto/embedded-api-v-2025-11-15/models/operations/postv1companiescompanyidbankaccounts' -import type { CompanyBankAccountVerifyRequest } from '@gusto/embedded-api-v-2025-11-15/models/components/companybankaccountverifyrequest' +import type { GetV1CompaniesCompanyIdBankAccountsRequest } from '@gusto/embedded-api-v-2026-02-01/models/operations/getv1companiescompanyidbankaccounts' +import type { PostV1CompaniesCompanyIdBankAccountsRequest } from '@gusto/embedded-api-v-2026-02-01/models/operations/postv1companiescompanyidbankaccounts' +import type { CompanyBankAccountVerifyRequest } from '@gusto/embedded-api-v-2026-02-01/models/components/companybankaccountverifyrequest' import { getFixture } from '../fixtures/getFixture' import { API_BASE_URL } from '@/test/constants' diff --git a/src/test/mocks/apis/company_federal_taxes.ts b/src/test/mocks/apis/company_federal_taxes.ts index 21abcc21e..704537627 100644 --- a/src/test/mocks/apis/company_federal_taxes.ts +++ b/src/test/mocks/apis/company_federal_taxes.ts @@ -1,7 +1,7 @@ import type { HttpResponseResolver, PathParams } from 'msw' import { http, HttpResponse } from 'msw' -import type { GetV1CompaniesCompanyIdFederalTaxDetailsRequest } from '@gusto/embedded-api-v-2025-11-15/models/operations/getv1companiescompanyidfederaltaxdetails' -import type { FederalTaxDetailsUpdate } from '@gusto/embedded-api-v-2025-11-15/models/components/federaltaxdetailsupdate' +import type { GetV1CompaniesCompanyIdFederalTaxDetailsRequest } from '@gusto/embedded-api-v-2026-02-01/models/operations/getv1companiescompanyidfederaltaxdetails' +import type { FederalTaxDetailsUpdate } from '@gusto/embedded-api-v-2026-02-01/models/components/federaltaxdetailsupdate' import { getFixture } from '../fixtures/getFixture' import { API_BASE_URL } from '@/test/constants' diff --git a/src/test/mocks/apis/company_forms.ts b/src/test/mocks/apis/company_forms.ts index e7f2df0d7..44b797f3f 100644 --- a/src/test/mocks/apis/company_forms.ts +++ b/src/test/mocks/apis/company_forms.ts @@ -1,11 +1,11 @@ import type { HttpResponseResolver, PathParams } from 'msw' import { http, HttpResponse } from 'msw' -import type { GetV1CompanyFormsRequest } from '@gusto/embedded-api-v-2025-11-15/models/operations/getv1companyforms' +import type { GetV1CompanyFormsRequest } from '@gusto/embedded-api-v-2026-02-01/models/operations/getv1companyforms' import type { GetV1CompanyFormRequest, GetV1CompanyFormResponse, -} from '@gusto/embedded-api-v-2025-11-15/models/operations/getv1companyform' -import type { PutV1CompanyFormSignRequestBody } from '@gusto/embedded-api-v-2025-11-15/models/operations/putv1companyformsign' +} from '@gusto/embedded-api-v-2026-02-01/models/operations/getv1companyform' +import type { PutV1CompanyFormSignRequestBody } from '@gusto/embedded-api-v-2026-02-01/models/operations/putv1companyformsign' import { API_BASE_URL } from '@/test/constants' const basicForm = { diff --git a/src/test/mocks/apis/company_locations.ts b/src/test/mocks/apis/company_locations.ts index e8fbab73d..778cf45b1 100644 --- a/src/test/mocks/apis/company_locations.ts +++ b/src/test/mocks/apis/company_locations.ts @@ -1,6 +1,6 @@ import { http, HttpResponse, type PathParams } from 'msw' -import type { CompanyLocationRequest } from '@gusto/embedded-api-v-2025-11-15/models/components/companylocationrequest' -import type { PutV1LocationsLocationIdRequestBody } from '@gusto/embedded-api-v-2025-11-15/models/operations/putv1locationslocationid' +import type { CompanyLocationRequest } from '@gusto/embedded-api-v-2026-02-01/models/components/companylocationrequest' +import type { PutV1LocationsLocationIdRequestBody } from '@gusto/embedded-api-v-2026-02-01/models/operations/putv1locationslocationid' import { getFixture } from '../fixtures/getFixture' import { API_BASE_URL } from '@/test/constants' diff --git a/src/test/mocks/apis/company_signatories.ts b/src/test/mocks/apis/company_signatories.ts index bdd162c71..0da690947 100644 --- a/src/test/mocks/apis/company_signatories.ts +++ b/src/test/mocks/apis/company_signatories.ts @@ -1,13 +1,13 @@ import type { HttpResponseResolver, PathParams } from 'msw' import { http, HttpResponse } from 'msw' -import type { GetV1CompaniesCompanyUuidSignatoriesRequest } from '@gusto/embedded-api-v-2025-11-15/models/operations/getv1companiescompanyuuidsignatories' -import type { SignatoryCreateRequest } from '@gusto/embedded-api-v-2025-11-15/models/components/signatorycreaterequest' -import type { SignatoryUpdateRequest } from '@gusto/embedded-api-v-2025-11-15/models/components/signatoryupdaterequest' -import type { SignatoryInviteRequest } from '@gusto/embedded-api-v-2025-11-15/models/components/signatoryinviterequest' +import type { GetV1CompaniesCompanyUuidSignatoriesRequest } from '@gusto/embedded-api-v-2026-02-01/models/operations/getv1companiescompanyuuidsignatories' +import type { SignatoryCreateRequest } from '@gusto/embedded-api-v-2026-02-01/models/components/signatorycreaterequest' +import type { SignatoryUpdateRequest } from '@gusto/embedded-api-v-2026-02-01/models/components/signatoryupdaterequest' +import type { SignatoryInviteRequest } from '@gusto/embedded-api-v-2026-02-01/models/components/signatoryinviterequest' import type { DeleteV1CompaniesCompanyUuidSignatoriesSignatoryUuidRequest, DeleteV1CompaniesCompanyUuidSignatoriesSignatoryUuidResponse, -} from '@gusto/embedded-api-v-2025-11-15/models/operations/deletev1companiescompanyuuidsignatoriessignatoryuuid' +} from '@gusto/embedded-api-v-2026-02-01/models/operations/deletev1companiescompanyuuidsignatoriessignatoryuuid' import { API_BASE_URL } from '@/test/constants' const basicSignatory = { diff --git a/src/test/mocks/apis/compensations.ts b/src/test/mocks/apis/compensations.ts index 1c85103ac..7467b7a97 100644 --- a/src/test/mocks/apis/compensations.ts +++ b/src/test/mocks/apis/compensations.ts @@ -1,5 +1,5 @@ import { http, HttpResponse, type HttpResponseResolver, type PathParams } from 'msw' -import type { CompensationsRequestBody } from '@gusto/embedded-api-v-2025-11-15/models/components/compensationsrequestbody' +import type { CompensationsRequestBody } from '@gusto/embedded-api-v-2026-02-01/models/components/compensationsrequestbody' import { API_BASE_URL } from '@/test/constants' export function handleCreateCompensation( diff --git a/src/test/mocks/apis/contractor_address.ts b/src/test/mocks/apis/contractor_address.ts index 9b3cdeed9..9590b3378 100644 --- a/src/test/mocks/apis/contractor_address.ts +++ b/src/test/mocks/apis/contractor_address.ts @@ -1,8 +1,8 @@ import type { HttpResponseResolver, PathParams } from 'msw' import { http, HttpResponse } from 'msw' -import type { GetV1ContractorsContractorUuidRequest } from '@gusto/embedded-api-v-2025-11-15/models/operations/getv1contractorscontractoruuid' -import type { GetV1ContractorsContractorUuidAddressRequest } from '@gusto/embedded-api-v-2025-11-15/models/operations/getv1contractorscontractoruuidaddress' -import type { ContractorAddressUpdateBody } from '@gusto/embedded-api-v-2025-11-15/models/components/contractoraddressupdatebody' +import type { GetV1ContractorsContractorUuidRequest } from '@gusto/embedded-api-v-2026-02-01/models/operations/getv1contractorscontractoruuid' +import type { GetV1ContractorsContractorUuidAddressRequest } from '@gusto/embedded-api-v-2026-02-01/models/operations/getv1contractorscontractoruuidaddress' +import type { ContractorAddressUpdateBody } from '@gusto/embedded-api-v-2026-02-01/models/components/contractoraddressupdatebody' import { getFixture } from '../fixtures/getFixture' import { API_BASE_URL } from '@/test/constants' diff --git a/src/test/mocks/apis/contractor_new_hire_report.ts b/src/test/mocks/apis/contractor_new_hire_report.ts index 44b2029e9..86b577f03 100644 --- a/src/test/mocks/apis/contractor_new_hire_report.ts +++ b/src/test/mocks/apis/contractor_new_hire_report.ts @@ -1,6 +1,6 @@ import type { PathParams } from 'msw' import { http, HttpResponse } from 'msw' -import type { PutV1ContractorsContractorUuidRequest } from '@gusto/embedded-api-v-2025-11-15/models/operations/putv1contractorscontractoruuid' +import type { PutV1ContractorsContractorUuidRequest } from '@gusto/embedded-api-v-2026-02-01/models/operations/putv1contractorscontractoruuid' import { getFixture } from '../fixtures/getFixture' import { API_BASE_URL } from '@/test/constants' diff --git a/src/test/mocks/apis/contractor_payment_method.ts b/src/test/mocks/apis/contractor_payment_method.ts index 5972b8df8..39e06bb4b 100644 --- a/src/test/mocks/apis/contractor_payment_method.ts +++ b/src/test/mocks/apis/contractor_payment_method.ts @@ -1,9 +1,9 @@ import type { HttpResponseResolver, PathParams } from 'msw' import { http, HttpResponse } from 'msw' -import type { GetV1ContractorsContractorUuidPaymentMethodRequest } from '@gusto/embedded-api-v-2025-11-15/models/operations/getv1contractorscontractoruuidpaymentmethod' -import type { GetV1ContractorsContractorUuidBankAccountsRequest } from '@gusto/embedded-api-v-2025-11-15/models/operations/getv1contractorscontractoruuidbankaccounts' -import type { PutV1ContractorsContractorIdPaymentMethodType } from '@gusto/embedded-api-v-2025-11-15/models/operations/putv1contractorscontractoridpaymentmethod' -import type { ContractorBankAccountCreateRequestBody } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorbankaccountcreaterequestbody' +import type { GetV1ContractorsContractorUuidPaymentMethodRequest } from '@gusto/embedded-api-v-2026-02-01/models/operations/getv1contractorscontractoruuidpaymentmethod' +import type { GetV1ContractorsContractorUuidBankAccountsRequest } from '@gusto/embedded-api-v-2026-02-01/models/operations/getv1contractorscontractoruuidbankaccounts' +import type { PutV1ContractorsContractorIdPaymentMethodType } from '@gusto/embedded-api-v-2026-02-01/models/operations/putv1contractorscontractoridpaymentmethod' +import type { ContractorBankAccountCreateRequestBody } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorbankaccountcreaterequestbody' import { getFixture } from '../fixtures/getFixture' import { API_BASE_URL } from '@/test/constants' diff --git a/src/test/mocks/apis/contractors.ts b/src/test/mocks/apis/contractors.ts index f44674e04..61a428b7d 100644 --- a/src/test/mocks/apis/contractors.ts +++ b/src/test/mocks/apis/contractors.ts @@ -1,8 +1,8 @@ import type { HttpResponseResolver, PathParams } from 'msw' import { http, HttpResponse } from 'msw' -import type { GetV1ContractorsContractorUuidRequest } from '@gusto/embedded-api-v-2025-11-15/models/operations/getv1contractorscontractoruuid' -import type { ContractorCreateRequestBody } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorcreaterequestbody' -import type { ContractorUpdateRequestBody } from '@gusto/embedded-api-v-2025-11-15/models/components/contractorupdaterequestbody' +import type { GetV1ContractorsContractorUuidRequest } from '@gusto/embedded-api-v-2026-02-01/models/operations/getv1contractorscontractoruuid' +import type { ContractorCreateRequestBody } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorcreaterequestbody' +import type { ContractorUpdateRequestBody } from '@gusto/embedded-api-v-2026-02-01/models/components/contractorupdaterequestbody' import { getFixture } from '../fixtures/getFixture' import { API_BASE_URL } from '@/test/constants' diff --git a/src/test/mocks/apis/employee_federal_taxes.ts b/src/test/mocks/apis/employee_federal_taxes.ts index db244f5d8..befaeb0ba 100644 --- a/src/test/mocks/apis/employee_federal_taxes.ts +++ b/src/test/mocks/apis/employee_federal_taxes.ts @@ -1,7 +1,7 @@ import type { HttpResponseResolver, PathParams } from 'msw' import { http, HttpResponse } from 'msw' -import type { GetV1EmployeesEmployeeIdFederalTaxesRequest } from '@gusto/embedded-api-v-2025-11-15/models/operations/getv1employeesemployeeidfederaltaxes' -import type { PutV1EmployeesEmployeeIdFederalTaxesRequestBody } from '@gusto/embedded-api-v-2025-11-15/models/operations/putv1employeesemployeeidfederaltaxes' +import type { GetV1EmployeesEmployeeIdFederalTaxesRequest } from '@gusto/embedded-api-v-2026-02-01/models/operations/getv1employeesemployeeidfederaltaxes' +import type { PutV1EmployeesEmployeeIdFederalTaxesRequestBody } from '@gusto/embedded-api-v-2026-02-01/models/operations/putv1employeesemployeeidfederaltaxes' import { getFixture } from '../fixtures/getFixture' import { API_BASE_URL } from '@/test/constants' diff --git a/src/test/mocks/apis/employee_home_addresses.ts b/src/test/mocks/apis/employee_home_addresses.ts index 41a2095cc..8272dc400 100644 --- a/src/test/mocks/apis/employee_home_addresses.ts +++ b/src/test/mocks/apis/employee_home_addresses.ts @@ -3,17 +3,17 @@ import { http, HttpResponse } from 'msw' import type { GetV1EmployeesEmployeeIdHomeAddressesRequest, GetV1EmployeesEmployeeIdHomeAddressesResponse, -} from '@gusto/embedded-api-v-2025-11-15/models/operations/getv1employeesemployeeidhomeaddresses' +} from '@gusto/embedded-api-v-2026-02-01/models/operations/getv1employeesemployeeidhomeaddresses' import type { GetV1HomeAddressesHomeAddressUuidRequest, GetV1HomeAddressesHomeAddressUuidResponse, -} from '@gusto/embedded-api-v-2025-11-15/models/operations/getv1homeaddresseshomeaddressuuid' -import type { PostV1EmployeesEmployeeIdHomeAddressesRequestBody } from '@gusto/embedded-api-v-2025-11-15/models/operations/postv1employeesemployeeidhomeaddresses' -import type { PutV1HomeAddressesHomeAddressUuidRequestBody } from '@gusto/embedded-api-v-2025-11-15/models/operations/putv1homeaddresseshomeaddressuuid' +} from '@gusto/embedded-api-v-2026-02-01/models/operations/getv1homeaddresseshomeaddressuuid' +import type { PostV1EmployeesEmployeeIdHomeAddressesRequestBody } from '@gusto/embedded-api-v-2026-02-01/models/operations/postv1employeesemployeeidhomeaddresses' +import type { PutV1HomeAddressesHomeAddressUuidRequestBody } from '@gusto/embedded-api-v-2026-02-01/models/operations/putv1homeaddresseshomeaddressuuid' import type { DeleteV1HomeAddressesHomeAddressUuidRequest, DeleteV1HomeAddressesHomeAddressUuidResponse, -} from '@gusto/embedded-api-v-2025-11-15/models/operations/deletev1homeaddresseshomeaddressuuid' +} from '@gusto/embedded-api-v-2026-02-01/models/operations/deletev1homeaddresseshomeaddressuuid' import { getFixture } from '../fixtures/getFixture' import { API_BASE_URL } from '@/test/constants' diff --git a/src/test/mocks/apis/employee_state_taxes.ts b/src/test/mocks/apis/employee_state_taxes.ts index a7db96326..9a47176c3 100644 --- a/src/test/mocks/apis/employee_state_taxes.ts +++ b/src/test/mocks/apis/employee_state_taxes.ts @@ -1,7 +1,7 @@ import type { HttpResponseResolver, PathParams } from 'msw' import { http, HttpResponse } from 'msw' -import type { GetV1EmployeesEmployeeIdStateTaxesRequest } from '@gusto/embedded-api-v-2025-11-15/models/operations/getv1employeesemployeeidstatetaxes' -import type { PutV1EmployeesEmployeeIdStateTaxesRequest } from '@gusto/embedded-api-v-2025-11-15/models/operations/putv1employeesemployeeidstatetaxes' +import type { GetV1EmployeesEmployeeIdStateTaxesRequest } from '@gusto/embedded-api-v-2026-02-01/models/operations/getv1employeesemployeeidstatetaxes' +import type { PutV1EmployeesEmployeeIdStateTaxesRequest } from '@gusto/embedded-api-v-2026-02-01/models/operations/putv1employeesemployeeidstatetaxes' import { getFixture } from '../fixtures/getFixture' import { API_BASE_URL } from '@/test/constants' diff --git a/src/test/mocks/apis/employee_work_addresses.ts b/src/test/mocks/apis/employee_work_addresses.ts index 1f1dcf972..528b32ed1 100644 --- a/src/test/mocks/apis/employee_work_addresses.ts +++ b/src/test/mocks/apis/employee_work_addresses.ts @@ -1,13 +1,13 @@ import type { PathParams } from 'msw' import { http, HttpResponse } from 'msw' -import type { GetV1EmployeesEmployeeIdWorkAddressesRequest } from '@gusto/embedded-api-v-2025-11-15/models/operations/getv1employeesemployeeidworkaddresses' -import type { GetV1WorkAddressesWorkAddressUuidRequest } from '@gusto/embedded-api-v-2025-11-15/models/operations/getv1workaddressesworkaddressuuid' +import type { GetV1EmployeesEmployeeIdWorkAddressesRequest } from '@gusto/embedded-api-v-2026-02-01/models/operations/getv1employeesemployeeidworkaddresses' +import type { GetV1WorkAddressesWorkAddressUuidRequest } from '@gusto/embedded-api-v-2026-02-01/models/operations/getv1workaddressesworkaddressuuid' import type { DeleteV1WorkAddressesWorkAddressUuidRequest, DeleteV1WorkAddressesWorkAddressUuidResponse, -} from '@gusto/embedded-api-v-2025-11-15/models/operations/deletev1workaddressesworkaddressuuid' -import type { PutV1WorkAddressesWorkAddressUuidRequestBody } from '@gusto/embedded-api-v-2025-11-15/models/operations/putv1workaddressesworkaddressuuid' -import type { PostV1EmployeesEmployeeIdWorkAddressesRequestBody } from '@gusto/embedded-api-v-2025-11-15/models/operations/postv1employeesemployeeidworkaddresses' +} from '@gusto/embedded-api-v-2026-02-01/models/operations/deletev1workaddressesworkaddressuuid' +import type { PutV1WorkAddressesWorkAddressUuidRequestBody } from '@gusto/embedded-api-v-2026-02-01/models/operations/putv1workaddressesworkaddressuuid' +import type { PostV1EmployeesEmployeeIdWorkAddressesRequestBody } from '@gusto/embedded-api-v-2026-02-01/models/operations/postv1employeesemployeeidworkaddresses' import { getFixture } from '../fixtures/getFixture' import { API_BASE_URL } from '@/test/constants' diff --git a/src/test/mocks/apis/employees.ts b/src/test/mocks/apis/employees.ts index 5a69c0183..309964a54 100644 --- a/src/test/mocks/apis/employees.ts +++ b/src/test/mocks/apis/employees.ts @@ -1,23 +1,23 @@ import type { HttpResponseResolver, PathParams } from 'msw' import { http, HttpResponse } from 'msw' -import type { GetV1CompaniesCompanyIdEmployeesRequest } from '@gusto/embedded-api-v-2025-11-15/models/operations/getv1companiescompanyidemployees' -import type { GetV1EmployeesRequest } from '@gusto/embedded-api-v-2025-11-15/models/operations/getv1employees' -import type { PostV1EmployeesRequestBody } from '@gusto/embedded-api-v-2025-11-15/models/operations/postv1employees' -import type { PutV1EmployeesRequestBody } from '@gusto/embedded-api-v-2025-11-15/models/operations/putv1employees' +import type { GetV1CompaniesCompanyIdEmployeesRequest } from '@gusto/embedded-api-v-2026-02-01/models/operations/getv1companiescompanyidemployees' +import type { GetV1EmployeesRequest } from '@gusto/embedded-api-v-2026-02-01/models/operations/getv1employees' +import type { PostV1EmployeesRequestBody } from '@gusto/embedded-api-v-2026-02-01/models/operations/postv1employees' +import type { PutV1EmployeesRequestBody } from '@gusto/embedded-api-v-2026-02-01/models/operations/putv1employees' import type { DeleteV1EmployeeRequest, DeleteV1EmployeeResponse, -} from '@gusto/embedded-api-v-2025-11-15/models/operations/deletev1employee' -import type { GetV1EmployeesEmployeeIdOnboardingStatusRequest } from '@gusto/embedded-api-v-2025-11-15/models/operations/getv1employeesemployeeidonboardingstatus' -import type { PutV1EmployeesEmployeeIdOnboardingStatusRequestBody } from '@gusto/embedded-api-v-2025-11-15/models/operations/putv1employeesemployeeidonboardingstatus' -import type { GetV1EmployeesEmployeeIdJobsRequest } from '@gusto/embedded-api-v-2025-11-15/models/operations/getv1employeesemployeeidjobs' -import type { JobsCreateRequestBody } from '@gusto/embedded-api-v-2025-11-15/models/components/jobscreaterequestbody' -import type { CompensationsUpdateRequestBody } from '@gusto/embedded-api-v-2025-11-15/models/components/compensationsupdaterequestbody' -import type { JobsUpdateRequestBody } from '@gusto/embedded-api-v-2025-11-15/models/components/jobsupdaterequestbody' +} from '@gusto/embedded-api-v-2026-02-01/models/operations/deletev1employee' +import type { GetV1EmployeesEmployeeIdOnboardingStatusRequest } from '@gusto/embedded-api-v-2026-02-01/models/operations/getv1employeesemployeeidonboardingstatus' +import type { PutV1EmployeesEmployeeIdOnboardingStatusRequestBody } from '@gusto/embedded-api-v-2026-02-01/models/operations/putv1employeesemployeeidonboardingstatus' +import type { GetV1EmployeesEmployeeIdJobsRequest } from '@gusto/embedded-api-v-2026-02-01/models/operations/getv1employeesemployeeidjobs' +import type { JobsCreateRequestBody } from '@gusto/embedded-api-v-2026-02-01/models/components/jobscreaterequestbody' +import type { CompensationsUpdateRequestBody } from '@gusto/embedded-api-v-2026-02-01/models/components/compensationsupdaterequestbody' +import type { JobsUpdateRequestBody } from '@gusto/embedded-api-v-2026-02-01/models/components/jobsupdaterequestbody' import type { DeleteV1JobsJobIdRequest, DeleteV1JobsJobIdResponse, -} from '@gusto/embedded-api-v-2025-11-15/models/operations/deletev1jobsjobid' +} from '@gusto/embedded-api-v-2026-02-01/models/operations/deletev1jobsjobid' import { getFixture } from '../fixtures/getFixture' import { API_BASE_URL } from '@/test/constants' diff --git a/src/test/mocks/apis/employeesBankAccounts.ts b/src/test/mocks/apis/employeesBankAccounts.ts index 5cd611536..0ad3b83f2 100644 --- a/src/test/mocks/apis/employeesBankAccounts.ts +++ b/src/test/mocks/apis/employeesBankAccounts.ts @@ -1,13 +1,13 @@ import type { PathParams } from 'msw' import { http, HttpResponse } from 'msw' -import type { GetV1EmployeesEmployeeIdBankAccountsRequest } from '@gusto/embedded-api-v-2025-11-15/models/operations/getv1employeesemployeeidbankaccounts' -import type { EmployeeBankAccountRequest } from '@gusto/embedded-api-v-2025-11-15/models/components/employeebankaccountrequest' +import type { GetV1EmployeesEmployeeIdBankAccountsRequest } from '@gusto/embedded-api-v-2026-02-01/models/operations/getv1employeesemployeeidbankaccounts' +import type { EmployeeBankAccountRequest } from '@gusto/embedded-api-v-2026-02-01/models/components/employeebankaccountrequest' import type { DeleteV1EmployeesEmployeeIdBankAccountsBankAccountIdRequest, DeleteV1EmployeesEmployeeIdBankAccountsBankAccountIdResponse, -} from '@gusto/embedded-api-v-2025-11-15/models/operations/deletev1employeesemployeeidbankaccountsbankaccountid' -import type { GetV1EmployeesEmployeeIdPaymentMethodRequest } from '@gusto/embedded-api-v-2025-11-15/models/operations/getv1employeesemployeeidpaymentmethod' -import type { PutV1EmployeesEmployeeIdPaymentMethodRequestBody } from '@gusto/embedded-api-v-2025-11-15/models/operations/putv1employeesemployeeidpaymentmethod' +} from '@gusto/embedded-api-v-2026-02-01/models/operations/deletev1employeesemployeeidbankaccountsbankaccountid' +import type { GetV1EmployeesEmployeeIdPaymentMethodRequest } from '@gusto/embedded-api-v-2026-02-01/models/operations/getv1employeesemployeeidpaymentmethod' +import type { PutV1EmployeesEmployeeIdPaymentMethodRequestBody } from '@gusto/embedded-api-v-2026-02-01/models/operations/putv1employeesemployeeidpaymentmethod' import { getFixture } from '../fixtures/getFixture' import { API_BASE_URL } from '@/test/constants' diff --git a/src/test/mocks/apis/i9_authorization.ts b/src/test/mocks/apis/i9_authorization.ts index a176724dc..bf3e849ff 100644 --- a/src/test/mocks/apis/i9_authorization.ts +++ b/src/test/mocks/apis/i9_authorization.ts @@ -1,7 +1,7 @@ import type { HttpResponseResolver, PathParams } from 'msw' import { http, HttpResponse } from 'msw' -import type { GetV1EmployeesEmployeeIdI9AuthorizationRequest } from '@gusto/embedded-api-v-2025-11-15/models/operations/getv1employeesemployeeidi9authorization' -import type { I9AuthorizationRequestBody } from '@gusto/embedded-api-v-2025-11-15/models/components/i9authorizationrequestbody' +import type { GetV1EmployeesEmployeeIdI9AuthorizationRequest } from '@gusto/embedded-api-v-2026-02-01/models/operations/getv1employeesemployeeidi9authorization' +import type { I9AuthorizationRequestBody } from '@gusto/embedded-api-v-2026-02-01/models/components/i9authorizationrequestbody' import { getFixture } from '../fixtures/getFixture' import { API_BASE_URL } from '@/test/constants' diff --git a/src/test/mocks/apis/payrolls.ts b/src/test/mocks/apis/payrolls.ts index c457e2c22..5f3dba1fd 100644 --- a/src/test/mocks/apis/payrolls.ts +++ b/src/test/mocks/apis/payrolls.ts @@ -1,12 +1,12 @@ import type { HttpResponseResolver, PathParams } from 'msw' import { http, HttpResponse } from 'msw' -import type { GetV1CompaniesCompanyIdPayrollsRequest } from '@gusto/embedded-api-v-2025-11-15/models/operations/getv1companiescompanyidpayrolls' +import type { GetV1CompaniesCompanyIdPayrollsRequest } from '@gusto/embedded-api-v-2026-02-01/models/operations/getv1companiescompanyidpayrolls' import type { GetV1CompaniesCompanyIdPayrollsPayrollIdRequest, GetV1CompaniesCompanyIdPayrollsPayrollIdResponse, -} from '@gusto/embedded-api-v-2025-11-15/models/operations/getv1companiescompanyidpayrollspayrollid' -import type { PutV1CompaniesCompanyIdPayrollsPayrollIdPrepareRequestBody } from '@gusto/embedded-api-v-2025-11-15/models/operations/putv1companiescompanyidpayrollspayrollidprepare' -import { OffCycleReason } from '@gusto/embedded-api-v-2025-11-15/models/operations/postv1companiescompanyidpayrolls' +} from '@gusto/embedded-api-v-2026-02-01/models/operations/getv1companiescompanyidpayrollspayrollid' +import type { PutV1CompaniesCompanyIdPayrollsPayrollIdPrepareRequestBody } from '@gusto/embedded-api-v-2026-02-01/models/operations/putv1companiescompanyidpayrollspayrollidprepare' +import { OffCycleReason } from '@gusto/embedded-api-v-2026-02-01/models/operations/postv1companiescompanyidpayrolls' import { getFixture } from '../fixtures/getFixture' import { API_BASE_URL } from '@/test/constants' diff --git a/src/test/mocks/apis/payschedule.ts b/src/test/mocks/apis/payschedule.ts index 3d93f5f61..c9a6ef1d9 100644 --- a/src/test/mocks/apis/payschedule.ts +++ b/src/test/mocks/apis/payschedule.ts @@ -1,9 +1,9 @@ import type { PathParams } from 'msw' import { http, HttpResponse } from 'msw' -import type { GetV1CompaniesCompanyIdPaySchedulesRequest } from '@gusto/embedded-api-v-2025-11-15/models/operations/getv1companiescompanyidpayschedules' -import type { PayScheduleCreateRequest } from '@gusto/embedded-api-v-2025-11-15/models/components/payschedulecreaterequest' -import type { PayScheduleUpdateRequest } from '@gusto/embedded-api-v-2025-11-15/models/components/payscheduleupdaterequest' -import type { GetV1CompaniesCompanyIdPaySchedulesPreviewRequest } from '@gusto/embedded-api-v-2025-11-15/models/operations/getv1companiescompanyidpayschedulespreview' +import type { GetV1CompaniesCompanyIdPaySchedulesRequest } from '@gusto/embedded-api-v-2026-02-01/models/operations/getv1companiescompanyidpayschedules' +import type { PayScheduleCreateRequest } from '@gusto/embedded-api-v-2026-02-01/models/components/payschedulecreaterequest' +import type { PayScheduleUpdateRequest } from '@gusto/embedded-api-v-2026-02-01/models/components/payscheduleupdaterequest' +import type { GetV1CompaniesCompanyIdPaySchedulesPreviewRequest } from '@gusto/embedded-api-v-2026-02-01/models/operations/getv1companiescompanyidpayschedulespreview' import { getFixture } from '../fixtures/getFixture' import { API_BASE_URL } from '@/test/constants' diff --git a/src/test/mocks/apis/tokens.ts b/src/test/mocks/apis/tokens.ts index a03a4904c..f3d22bdc9 100644 --- a/src/test/mocks/apis/tokens.ts +++ b/src/test/mocks/apis/tokens.ts @@ -1,6 +1,6 @@ import type { PathParams } from 'msw' import { http, HttpResponse } from 'msw' -import type { GetV1TokenInfoRequest } from '@gusto/embedded-api-v-2025-11-15/models/operations/getv1tokeninfo' +import type { GetV1TokenInfoRequest } from '@gusto/embedded-api-v-2026-02-01/models/operations/getv1tokeninfo' import { API_BASE_URL } from '@/test/constants' const getTokenInfo = http.get( diff --git a/src/test/mocks/apis/wire_in_requests.ts b/src/test/mocks/apis/wire_in_requests.ts index 7f371e889..8cecf2e3b 100644 --- a/src/test/mocks/apis/wire_in_requests.ts +++ b/src/test/mocks/apis/wire_in_requests.ts @@ -1,6 +1,6 @@ import type { HttpResponseResolver, PathParams } from 'msw' import { http, HttpResponse } from 'msw' -import type { GetCompaniesCompanyUuidWireInRequestUuidRequest } from '@gusto/embedded-api-v-2025-11-15/models/operations/getcompaniescompanyuuidwireinrequestuuid' +import type { GetCompaniesCompanyUuidWireInRequestUuidRequest } from '@gusto/embedded-api-v-2026-02-01/models/operations/getcompaniescompanyuuidwireinrequestuuid' import { API_BASE_URL } from '@/test/constants' export const createWireInRequest = (overrides: Record = {}) => ({ diff --git a/src/types/hooks.ts b/src/types/hooks.ts index 2b15a5a3d..9292c412f 100644 --- a/src/types/hooks.ts +++ b/src/types/hooks.ts @@ -10,7 +10,7 @@ import type { BeforeRequestContext, AfterSuccessContext, AfterErrorContext, -} from '@gusto/embedded-api-v-2025-11-15/hooks/types' +} from '@gusto/embedded-api-v-2026-02-01/hooks/types' // Re-export hook types and contexts for consumer use export type { @@ -31,7 +31,7 @@ export type { * Pass an instance of this interface to {@link GustoProvider} via `config.hooks` to * inspect or modify requests and responses across the four lifecycle stages. * Each entry is an array of objects implementing the corresponding hook type - * from `@gusto/embedded-api-v-2025-11-15/hooks/types`. + * from `@gusto/embedded-api-v-2026-02-01/hooks/types`. * * | Stage | When it runs | * | ----- | ------------ | diff --git a/src/types/sdkError.test.ts b/src/types/sdkError.test.ts index e098bc27a..a21aba2a4 100644 --- a/src/types/sdkError.test.ts +++ b/src/types/sdkError.test.ts @@ -1,8 +1,8 @@ import { describe, expect, it } from 'vitest' -import { APIError } from '@gusto/embedded-api-v-2025-11-15/models/errors/apierror' -import { HTTPClientError } from '@gusto/embedded-api-v-2025-11-15/models/errors/httpclienterrors' -import { SDKValidationError } from '@gusto/embedded-api-v-2025-11-15/models/errors/sdkvalidationerror' -import { UnprocessableEntityError } from '@gusto/embedded-api-v-2025-11-15/models/errors/unprocessableentityerror' +import { APIError } from '@gusto/embedded-api-v-2026-02-01/models/errors/apierror' +import { HTTPClientError } from '@gusto/embedded-api-v-2026-02-01/models/errors/httpclienterrors' +import { SDKValidationError } from '@gusto/embedded-api-v-2026-02-01/models/errors/sdkvalidationerror' +import { UnprocessableEntityError } from '@gusto/embedded-api-v-2026-02-01/models/errors/unprocessableentityerror' import { normalizeToSDKError, SDKInternalError } from './sdkError' function createHttpMeta(status: number, body: string) { diff --git a/src/types/sdkError.ts b/src/types/sdkError.ts index e5c378594..b4b4b40d4 100644 --- a/src/types/sdkError.ts +++ b/src/types/sdkError.ts @@ -1,7 +1,7 @@ -import type { EntityErrorObject } from '@gusto/embedded-api-v-2025-11-15/models/components/entityerrorobject' -import { GustoEmbeddedError } from '@gusto/embedded-api-v-2025-11-15/models/errors/gustoembeddederror' -import { HTTPClientError } from '@gusto/embedded-api-v-2025-11-15/models/errors/httpclienterrors' -import { SDKValidationError } from '@gusto/embedded-api-v-2025-11-15/models/errors/sdkvalidationerror' +import type { EntityErrorObject } from '@gusto/embedded-api-v-2026-02-01/models/components/entityerrorobject' +import { GustoEmbeddedError } from '@gusto/embedded-api-v-2026-02-01/models/errors/gustoembeddederror' +import { HTTPClientError } from '@gusto/embedded-api-v-2026-02-01/models/errors/httpclienterrors' +import { SDKValidationError } from '@gusto/embedded-api-v-2026-02-01/models/errors/sdkvalidationerror' import { getFieldErrors } from '@/helpers/apiErrorToList' /**