@thera-hr/api-sdk 0.0.1-prerelease3059-dev-3 → 0.0.1-prerelease3059-dev-4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
- package/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
- package/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
- package/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
- package/api/resources/api/resources/thera/client/Client.d.ts +0 -3
- package/api/resources/api/resources/thera/client/Client.js +12 -17
- package/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +33 -33
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +24 -24
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateCompanyRequest.d.ts +0 -2
- package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
- package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
- package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/index.d.ts +0 -1
- package/api/resources/api/resources/thera/resources/index.js +1 -2
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +7 -7
- package/api/resources/api/resources/thera/resources/payroll/client/Client.d.ts +3 -0
- package/api/resources/api/resources/thera/resources/payroll/client/Client.js +5 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/index.d.ts +3 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/index.js +4 -1
- package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.d.ts +18 -5
- package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +66 -11
- package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.d.ts +126 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +465 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +1 -0
- package/{serialization/resources/api/resources/thera/resources/incorporation → api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client}/index.js +1 -1
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.d.ts +14 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.d.ts +24 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +26 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.d.ts +3 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.d.ts +6 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.d.ts +14 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.d.ts +9 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.d.ts +10 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +15 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +10 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js +12 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +6 -0
- package/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi → payroll/resources/payscheduleApi}/types/index.js +6 -6
- package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
- package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +11 -11
- package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
- package/api/resources/db/resources/company/types/Company.d.ts +0 -1
- package/api/resources/db/resources/company/types/W2Payroll.d.ts +2 -0
- package/api/resources/db/resources/company/types/index.d.ts +0 -2
- package/api/resources/db/resources/company/types/index.js +0 -2
- package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
- package/dist/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
- package/dist/api/resources/api/resources/thera/client/Client.d.ts +0 -3
- package/dist/api/resources/api/resources/thera/client/Client.js +12 -17
- package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +33 -33
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +24 -24
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateCompanyRequest.d.ts +0 -2
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
- package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
- package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/index.d.ts +0 -1
- package/dist/api/resources/api/resources/thera/resources/index.js +1 -2
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +7 -7
- package/dist/api/resources/api/resources/thera/resources/payroll/client/Client.d.ts +3 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/client/Client.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/index.d.ts +3 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/index.js +4 -1
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.d.ts +18 -5
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +66 -11
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.d.ts +126 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +465 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +1 -0
- package/dist/{serialization/resources/api/resources/thera/resources/incorporation → api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client}/index.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.d.ts +14 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.d.ts +24 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +26 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.d.ts +3 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.d.ts +6 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.d.ts +14 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.d.ts +9 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.d.ts +10 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +15 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +10 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js +12 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +6 -0
- package/dist/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi → payroll/resources/payscheduleApi}/types/index.js +6 -6
- package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
- package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +11 -11
- package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
- package/dist/api/resources/db/resources/company/types/Company.d.ts +0 -1
- package/dist/api/resources/db/resources/company/types/W2Payroll.d.ts +2 -0
- package/dist/api/resources/db/resources/company/types/index.d.ts +0 -2
- package/dist/api/resources/db/resources/company/types/index.js +0 -2
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateCompanyRequest.d.ts +0 -1
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateCompanyRequest.js +0 -1
- package/dist/serialization/resources/api/resources/thera/resources/index.d.ts +0 -1
- package/dist/serialization/resources/api/resources/thera/resources/index.js +1 -2
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/index.d.ts +3 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/index.js +4 -1
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.d.ts +11 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.js +8 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleChecks.d.ts +2 -2
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleChecks.js +35 -1
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.js +2 -1
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.js +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/getSomePaySchedulePaydays.d.ts +11 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/getSomePaySchedulePaydays.js +42 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +3 -0
- package/dist/serialization/resources/api/resources/thera/resources/{incorporation/resources → payroll/resources/payscheduleApi/client}/index.js +4 -3
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.d.ts +11 -0
- package/{serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionResponse.js → dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.js} +3 -5
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.d.ts +12 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js +43 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.d.ts +18 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js +49 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +19 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js +50 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.d.ts +3 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.js +9 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.d.ts +2 -0
- package/dist/serialization/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi → payroll/resources/payscheduleApi}/index.js +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.d.ts +12 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js +43 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.d.ts +20 -0
- package/{serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.js → dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js} +11 -6
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.d.ts +13 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.js +44 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.d.ts +16 -0
- package/dist/serialization/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi/types/IncorporationSignupResponse.js → payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.js} +7 -6
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +21 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js +52 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +10 -0
- package/dist/serialization/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi/types/PaymentItemResponse.js → payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js} +2 -5
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +6 -0
- package/dist/serialization/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi → payroll/resources/payscheduleApi}/types/index.js +6 -6
- package/dist/serialization/resources/db/resources/company/types/Company.d.ts +0 -2
- package/dist/serialization/resources/db/resources/company/types/Company.js +0 -2
- package/dist/serialization/resources/db/resources/company/types/W2Payroll.d.ts +1 -0
- package/dist/serialization/resources/db/resources/company/types/W2Payroll.js +1 -0
- package/dist/serialization/resources/db/resources/company/types/index.d.ts +0 -2
- package/dist/serialization/resources/db/resources/company/types/index.js +0 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +485 -116
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateCompanyRequest.d.ts +0 -1
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateCompanyRequest.js +0 -1
- package/serialization/resources/api/resources/thera/resources/index.d.ts +0 -1
- package/serialization/resources/api/resources/thera/resources/index.js +1 -2
- package/serialization/resources/api/resources/thera/resources/payroll/resources/index.d.ts +3 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/index.js +4 -1
- package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.d.ts +11 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.js +8 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleChecks.d.ts +2 -2
- package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleChecks.js +35 -1
- package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.js +2 -1
- package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.js +1 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/getSomePaySchedulePaydays.d.ts +11 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/getSomePaySchedulePaydays.js +42 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +3 -0
- package/{api/resources/api/resources/thera/resources/incorporation/resources → serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client}/index.js +4 -3
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.d.ts +11 -0
- package/{dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionResponse.js → serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.js} +3 -5
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.d.ts +12 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js +43 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.d.ts +18 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js +49 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +19 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js +50 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.d.ts +3 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.js +9 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.d.ts +2 -0
- package/serialization/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi → payroll/resources/payscheduleApi}/index.js +1 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.d.ts +12 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js +43 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.d.ts +20 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js +51 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.d.ts +13 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.js +44 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.d.ts +16 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.js +47 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +21 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js +52 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +10 -0
- package/serialization/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi/types/PaymentItemResponse.js → payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js} +2 -5
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +6 -0
- package/serialization/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi → payroll/resources/payscheduleApi}/types/index.js +6 -6
- package/serialization/resources/db/resources/company/types/Company.d.ts +0 -2
- package/serialization/resources/db/resources/company/types/Company.js +0 -2
- package/serialization/resources/db/resources/company/types/W2Payroll.d.ts +1 -0
- package/serialization/resources/db/resources/company/types/W2Payroll.js +1 -0
- package/serialization/resources/db/resources/company/types/index.d.ts +0 -2
- package/serialization/resources/db/resources/company/types/index.js +0 -2
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/api/resources/thera/resources/incorporation/client/Client.d.ts +0 -19
- package/api/resources/api/resources/thera/resources/incorporation/client/Client.js +0 -17
- package/api/resources/api/resources/thera/resources/incorporation/client/index.d.ts +0 -1
- package/api/resources/api/resources/thera/resources/incorporation/index.d.ts +0 -2
- package/api/resources/api/resources/thera/resources/incorporation/index.js +0 -18
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.d.ts +0 -95
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.js +0 -269
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/index.d.ts +0 -1
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionRequest.d.ts +0 -11
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionResponse.d.ts +0 -7
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.d.ts +0 -26
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.d.ts +0 -9
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentItemResponse.d.ts +0 -7
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentStatusResponse.d.ts +0 -15
- package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.d.ts +0 -6
- package/api/resources/api/resources/thera/resources/incorporation/resources/index.d.ts +0 -2
- package/api/resources/db/resources/company/types/IncorporationDetails.d.ts +0 -24
- package/api/resources/db/resources/company/types/IncorporationDocument.d.ts +0 -7
- package/dist/api/resources/api/resources/thera/resources/incorporation/client/Client.d.ts +0 -19
- package/dist/api/resources/api/resources/thera/resources/incorporation/client/Client.js +0 -17
- package/dist/api/resources/api/resources/thera/resources/incorporation/client/index.d.ts +0 -1
- package/dist/api/resources/api/resources/thera/resources/incorporation/client/index.js +0 -2
- package/dist/api/resources/api/resources/thera/resources/incorporation/index.d.ts +0 -2
- package/dist/api/resources/api/resources/thera/resources/incorporation/index.js +0 -18
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.d.ts +0 -95
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.js +0 -269
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/index.d.ts +0 -1
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/index.js +0 -2
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionRequest.d.ts +0 -11
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionResponse.d.ts +0 -7
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.d.ts +0 -26
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.d.ts +0 -9
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentItemResponse.d.ts +0 -7
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentStatusResponse.d.ts +0 -15
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.d.ts +0 -6
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/index.d.ts +0 -2
- package/dist/api/resources/api/resources/thera/resources/incorporation/resources/index.js +0 -41
- package/dist/api/resources/db/resources/company/types/IncorporationDetails.d.ts +0 -24
- package/dist/api/resources/db/resources/company/types/IncorporationDocument.d.ts +0 -7
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/index.d.ts +0 -1
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/index.d.ts +0 -1
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionRequest.d.ts +0 -17
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionRequest.js +0 -48
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionResponse.d.ts +0 -13
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.d.ts +0 -32
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.js +0 -63
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.d.ts +0 -15
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentItemResponse.d.ts +0 -13
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentStatusResponse.d.ts +0 -21
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentStatusResponse.js +0 -52
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.d.ts +0 -6
- package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/index.d.ts +0 -2
- package/dist/serialization/resources/db/resources/company/types/IncorporationDetails.d.ts +0 -31
- package/dist/serialization/resources/db/resources/company/types/IncorporationDetails.js +0 -62
- package/dist/serialization/resources/db/resources/company/types/IncorporationDocument.d.ts +0 -13
- package/dist/serialization/resources/db/resources/company/types/IncorporationDocument.js +0 -44
- package/serialization/resources/api/resources/thera/resources/incorporation/index.d.ts +0 -1
- package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/index.d.ts +0 -1
- package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionRequest.d.ts +0 -17
- package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionRequest.js +0 -48
- package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionResponse.d.ts +0 -13
- package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.d.ts +0 -32
- package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.js +0 -63
- package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.d.ts +0 -15
- package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentItemResponse.d.ts +0 -13
- package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentStatusResponse.d.ts +0 -21
- package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentStatusResponse.js +0 -52
- package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.d.ts +0 -6
- package/serialization/resources/api/resources/thera/resources/incorporation/resources/index.d.ts +0 -2
- package/serialization/resources/api/resources/thera/resources/incorporation/resources/index.js +0 -41
- package/serialization/resources/db/resources/company/types/IncorporationDetails.d.ts +0 -31
- package/serialization/resources/db/resources/company/types/IncorporationDetails.js +0 -62
- package/serialization/resources/db/resources/company/types/IncorporationDocument.d.ts +0 -13
- package/serialization/resources/db/resources/company/types/IncorporationDocument.js +0 -44
- /package/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi/types/CheckoutSessionRequest.js → payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js} +0 -0
- /package/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi/types/CheckoutSessionResponse.js → payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js} +0 -0
- /package/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi/types/IncorporationSignupRequest.js → payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js} +0 -0
- /package/api/resources/api/resources/thera/resources/{incorporation/client → payroll/resources/payscheduleApi/client/requests}/index.js +0 -0
- /package/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi → payroll/resources/payscheduleApi}/index.d.ts +0 -0
- /package/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi → payroll/resources/payscheduleApi}/index.js +0 -0
- /package/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi/types/IncorporationSignupResponse.js → payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js} +0 -0
- /package/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi/types/PaymentItemResponse.js → payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js} +0 -0
- /package/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi/types/PaymentStatusResponse.js → payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.js} +0 -0
- /package/api/resources/{db/resources/company/types/IncorporationDetails.js → api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.js} +0 -0
- /package/api/resources/{db/resources/company/types/IncorporationDocument.js → api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js} +0 -0
- /package/dist/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi/types/CheckoutSessionRequest.js → payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js} +0 -0
- /package/dist/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi/types/CheckoutSessionResponse.js → payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js} +0 -0
- /package/dist/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi/types/IncorporationSignupRequest.js → payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js} +0 -0
- /package/{api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client → dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests}/index.js +0 -0
- /package/dist/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi → payroll/resources/payscheduleApi}/index.d.ts +0 -0
- /package/dist/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi → payroll/resources/payscheduleApi}/index.js +0 -0
- /package/dist/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi/types/IncorporationSignupResponse.js → payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js} +0 -0
- /package/dist/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi/types/PaymentItemResponse.js → payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js} +0 -0
- /package/dist/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi/types/PaymentStatusResponse.js → payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.js} +0 -0
- /package/dist/api/resources/{db/resources/company/types/IncorporationDetails.js → api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.js} +0 -0
- /package/dist/api/resources/{db/resources/company/types/IncorporationDocument.js → api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js} +0 -0
package/reference.md
CHANGED
|
@@ -7889,9 +7889,9 @@ await client.api.thera.eor.eorTrackerApi.getLatestEorEmployeeEmailByCompanyId("s
|
|
|
7889
7889
|
</dl>
|
|
7890
7890
|
</details>
|
|
7891
7891
|
|
|
7892
|
-
##
|
|
7892
|
+
## Miscellaneous API
|
|
7893
7893
|
|
|
7894
|
-
<details><summary><code>client.api.thera.
|
|
7894
|
+
<details><summary><code>client.api.thera.misc.misc.<a href="/src/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.ts">regularCron</a>({ ...params }) -> TheraApi.DailyCronResponse</code></summary>
|
|
7895
7895
|
<dl>
|
|
7896
7896
|
<dd>
|
|
7897
7897
|
|
|
@@ -7903,7 +7903,7 @@ await client.api.thera.eor.eorTrackerApi.getLatestEorEmployeeEmailByCompanyId("s
|
|
|
7903
7903
|
<dl>
|
|
7904
7904
|
<dd>
|
|
7905
7905
|
|
|
7906
|
-
|
|
7906
|
+
Calling this API will trigger automatic payouts for all workers that have auto-withdrawals turned on. This cron may be re-used for other daily tasks in the future
|
|
7907
7907
|
|
|
7908
7908
|
</dd>
|
|
7909
7909
|
</dl>
|
|
@@ -7919,34 +7919,8 @@ Create a new user account and company for someone who has incorporated
|
|
|
7919
7919
|
<dd>
|
|
7920
7920
|
|
|
7921
7921
|
```typescript
|
|
7922
|
-
await client.api.thera.
|
|
7923
|
-
|
|
7924
|
-
state: "string",
|
|
7925
|
-
firstName: "string",
|
|
7926
|
-
lastName: "string",
|
|
7927
|
-
email: "string",
|
|
7928
|
-
phone: "string",
|
|
7929
|
-
experience: "string",
|
|
7930
|
-
progress: "string",
|
|
7931
|
-
industry: "string",
|
|
7932
|
-
agent: "string",
|
|
7933
|
-
packageType: "string",
|
|
7934
|
-
dbaService: true,
|
|
7935
|
-
worryFreeCompliance: true,
|
|
7936
|
-
einDocuments: ["string"],
|
|
7937
|
-
tradeMarkCompany: true,
|
|
7938
|
-
appointedAgent: true,
|
|
7939
|
-
registrationDate: "string",
|
|
7940
|
-
status: "string",
|
|
7941
|
-
userPersonalAddress: {
|
|
7942
|
-
city: "string",
|
|
7943
|
-
country: "string",
|
|
7944
|
-
line1: "string",
|
|
7945
|
-
line2: "string",
|
|
7946
|
-
postalCode: "string",
|
|
7947
|
-
state: "string",
|
|
7948
|
-
},
|
|
7949
|
-
password: "string",
|
|
7922
|
+
await client.api.thera.misc.misc.regularCron({
|
|
7923
|
+
theraWebhookSignatureHeader: "string",
|
|
7950
7924
|
});
|
|
7951
7925
|
```
|
|
7952
7926
|
|
|
@@ -7963,7 +7937,7 @@ await client.api.thera.incorporation.incorporationApi.incorporationSignup({
|
|
|
7963
7937
|
<dl>
|
|
7964
7938
|
<dd>
|
|
7965
7939
|
|
|
7966
|
-
**request:** `TheraApi.
|
|
7940
|
+
**request:** `TheraApi.api.thera.misc.DailyCronRequest`
|
|
7967
7941
|
|
|
7968
7942
|
</dd>
|
|
7969
7943
|
</dl>
|
|
@@ -7971,7 +7945,7 @@ await client.api.thera.incorporation.incorporationApi.incorporationSignup({
|
|
|
7971
7945
|
<dl>
|
|
7972
7946
|
<dd>
|
|
7973
7947
|
|
|
7974
|
-
**requestOptions:** `
|
|
7948
|
+
**requestOptions:** `Misc.RequestOptions`
|
|
7975
7949
|
|
|
7976
7950
|
</dd>
|
|
7977
7951
|
</dl>
|
|
@@ -7982,7 +7956,7 @@ await client.api.thera.incorporation.incorporationApi.incorporationSignup({
|
|
|
7982
7956
|
</dl>
|
|
7983
7957
|
</details>
|
|
7984
7958
|
|
|
7985
|
-
<details><summary><code>client.api.thera.
|
|
7959
|
+
<details><summary><code>client.api.thera.misc.misc.<a href="/src/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.ts">autoWithdrawalCron</a>({ ...params }) -> TheraApi.AutoWithdrawalResults</code></summary>
|
|
7986
7960
|
<dl>
|
|
7987
7961
|
<dd>
|
|
7988
7962
|
|
|
@@ -7994,7 +7968,7 @@ await client.api.thera.incorporation.incorporationApi.incorporationSignup({
|
|
|
7994
7968
|
<dl>
|
|
7995
7969
|
<dd>
|
|
7996
7970
|
|
|
7997
|
-
|
|
7971
|
+
Calling this API will trigger automatic withdrawals for all workers that have auto-withdrawals turned on.
|
|
7998
7972
|
|
|
7999
7973
|
</dd>
|
|
8000
7974
|
</dl>
|
|
@@ -8010,15 +7984,8 @@ Create a Stripe checkout session for payment
|
|
|
8010
7984
|
<dd>
|
|
8011
7985
|
|
|
8012
7986
|
```typescript
|
|
8013
|
-
await client.api.thera.
|
|
8014
|
-
|
|
8015
|
-
productName: "string",
|
|
8016
|
-
currency: "string",
|
|
8017
|
-
successUrl: "string",
|
|
8018
|
-
cancelUrl: "string",
|
|
8019
|
-
metadata: {
|
|
8020
|
-
string: "string",
|
|
8021
|
-
},
|
|
7987
|
+
await client.api.thera.misc.misc.autoWithdrawalCron({
|
|
7988
|
+
theraWebhookSignatureHeader: "string",
|
|
8022
7989
|
});
|
|
8023
7990
|
```
|
|
8024
7991
|
|
|
@@ -8035,7 +8002,7 @@ await client.api.thera.incorporation.incorporationApi.createCheckoutSession({
|
|
|
8035
8002
|
<dl>
|
|
8036
8003
|
<dd>
|
|
8037
8004
|
|
|
8038
|
-
**request:** `TheraApi.
|
|
8005
|
+
**request:** `TheraApi.api.thera.misc.AutoWithdrawalCronRequest`
|
|
8039
8006
|
|
|
8040
8007
|
</dd>
|
|
8041
8008
|
</dl>
|
|
@@ -8043,7 +8010,7 @@ await client.api.thera.incorporation.incorporationApi.createCheckoutSession({
|
|
|
8043
8010
|
<dl>
|
|
8044
8011
|
<dd>
|
|
8045
8012
|
|
|
8046
|
-
**requestOptions:** `
|
|
8013
|
+
**requestOptions:** `Misc.RequestOptions`
|
|
8047
8014
|
|
|
8048
8015
|
</dd>
|
|
8049
8016
|
</dl>
|
|
@@ -8054,7 +8021,7 @@ await client.api.thera.incorporation.incorporationApi.createCheckoutSession({
|
|
|
8054
8021
|
</dl>
|
|
8055
8022
|
</details>
|
|
8056
8023
|
|
|
8057
|
-
<details><summary><code>client.api.thera.
|
|
8024
|
+
<details><summary><code>client.api.thera.misc.misc.<a href="/src/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.ts">autoPayCron</a>({ ...params }) -> void</code></summary>
|
|
8058
8025
|
<dl>
|
|
8059
8026
|
<dd>
|
|
8060
8027
|
|
|
@@ -8066,7 +8033,7 @@ await client.api.thera.incorporation.incorporationApi.createCheckoutSession({
|
|
|
8066
8033
|
<dl>
|
|
8067
8034
|
<dd>
|
|
8068
8035
|
|
|
8069
|
-
|
|
8036
|
+
Calling this API will trigger automatic auto payment of invoices for all companies that have auto-pay turned on.
|
|
8070
8037
|
|
|
8071
8038
|
</dd>
|
|
8072
8039
|
</dl>
|
|
@@ -8082,7 +8049,9 @@ Check the status of a Stripe payment session
|
|
|
8082
8049
|
<dd>
|
|
8083
8050
|
|
|
8084
8051
|
```typescript
|
|
8085
|
-
await client.api.thera.
|
|
8052
|
+
await client.api.thera.misc.misc.autoPayCron({
|
|
8053
|
+
theraWebhookSignatureHeader: "string",
|
|
8054
|
+
});
|
|
8086
8055
|
```
|
|
8087
8056
|
|
|
8088
8057
|
</dd>
|
|
@@ -8098,7 +8067,7 @@ await client.api.thera.incorporation.incorporationApi.checkPaymentStatus("string
|
|
|
8098
8067
|
<dl>
|
|
8099
8068
|
<dd>
|
|
8100
8069
|
|
|
8101
|
-
**
|
|
8070
|
+
**request:** `TheraApi.api.thera.misc.AutoPayCronRequest`
|
|
8102
8071
|
|
|
8103
8072
|
</dd>
|
|
8104
8073
|
</dl>
|
|
@@ -8106,7 +8075,7 @@ await client.api.thera.incorporation.incorporationApi.checkPaymentStatus("string
|
|
|
8106
8075
|
<dl>
|
|
8107
8076
|
<dd>
|
|
8108
8077
|
|
|
8109
|
-
**requestOptions:** `
|
|
8078
|
+
**requestOptions:** `Misc.RequestOptions`
|
|
8110
8079
|
|
|
8111
8080
|
</dd>
|
|
8112
8081
|
</dl>
|
|
@@ -8117,9 +8086,7 @@ await client.api.thera.incorporation.incorporationApi.checkPaymentStatus("string
|
|
|
8117
8086
|
</dl>
|
|
8118
8087
|
</details>
|
|
8119
8088
|
|
|
8120
|
-
|
|
8121
|
-
|
|
8122
|
-
<details><summary><code>client.api.thera.misc.misc.<a href="/src/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.ts">regularCron</a>({ ...params }) -> TheraApi.DailyCronResponse</code></summary>
|
|
8089
|
+
<details><summary><code>client.api.thera.misc.misc.<a href="/src/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.ts">autoPayEmailNotificationCron</a>({ ...params }) -> void</code></summary>
|
|
8123
8090
|
<dl>
|
|
8124
8091
|
<dd>
|
|
8125
8092
|
|
|
@@ -8131,7 +8098,7 @@ await client.api.thera.incorporation.incorporationApi.checkPaymentStatus("string
|
|
|
8131
8098
|
<dl>
|
|
8132
8099
|
<dd>
|
|
8133
8100
|
|
|
8134
|
-
Calling this API will trigger automatic
|
|
8101
|
+
Calling this API will trigger automatic email notifications for all companies that have auto-pay turned on.
|
|
8135
8102
|
|
|
8136
8103
|
</dd>
|
|
8137
8104
|
</dl>
|
|
@@ -8147,7 +8114,7 @@ Calling this API will trigger automatic payouts for all workers that have auto-w
|
|
|
8147
8114
|
<dd>
|
|
8148
8115
|
|
|
8149
8116
|
```typescript
|
|
8150
|
-
await client.api.thera.misc.misc.
|
|
8117
|
+
await client.api.thera.misc.misc.autoPayEmailNotificationCron({
|
|
8151
8118
|
theraWebhookSignatureHeader: "string",
|
|
8152
8119
|
});
|
|
8153
8120
|
```
|
|
@@ -8165,7 +8132,7 @@ await client.api.thera.misc.misc.regularCron({
|
|
|
8165
8132
|
<dl>
|
|
8166
8133
|
<dd>
|
|
8167
8134
|
|
|
8168
|
-
**request:** `TheraApi.api.thera.misc.
|
|
8135
|
+
**request:** `TheraApi.api.thera.misc.EmailNotificationCronRequest`
|
|
8169
8136
|
|
|
8170
8137
|
</dd>
|
|
8171
8138
|
</dl>
|
|
@@ -8184,7 +8151,7 @@ await client.api.thera.misc.misc.regularCron({
|
|
|
8184
8151
|
</dl>
|
|
8185
8152
|
</details>
|
|
8186
8153
|
|
|
8187
|
-
<details><summary><code>client.api.thera.misc.misc.<a href="/src/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.ts">
|
|
8154
|
+
<details><summary><code>client.api.thera.misc.misc.<a href="/src/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.ts">contractRenewalCron</a>({ ...params }) -> TheraApi.ContractRenewalCronResponse</code></summary>
|
|
8188
8155
|
<dl>
|
|
8189
8156
|
<dd>
|
|
8190
8157
|
|
|
@@ -8196,7 +8163,7 @@ await client.api.thera.misc.misc.regularCron({
|
|
|
8196
8163
|
<dl>
|
|
8197
8164
|
<dd>
|
|
8198
8165
|
|
|
8199
|
-
Calling this API will trigger
|
|
8166
|
+
Calling this API will trigger a check for contracts that need renewal and notify the Slack TODO channel.
|
|
8200
8167
|
|
|
8201
8168
|
</dd>
|
|
8202
8169
|
</dl>
|
|
@@ -8212,7 +8179,7 @@ Calling this API will trigger automatic withdrawals for all workers that have au
|
|
|
8212
8179
|
<dd>
|
|
8213
8180
|
|
|
8214
8181
|
```typescript
|
|
8215
|
-
await client.api.thera.misc.misc.
|
|
8182
|
+
await client.api.thera.misc.misc.contractRenewalCron({
|
|
8216
8183
|
theraWebhookSignatureHeader: "string",
|
|
8217
8184
|
});
|
|
8218
8185
|
```
|
|
@@ -8230,7 +8197,7 @@ await client.api.thera.misc.misc.autoWithdrawalCron({
|
|
|
8230
8197
|
<dl>
|
|
8231
8198
|
<dd>
|
|
8232
8199
|
|
|
8233
|
-
**request:** `TheraApi.api.thera.misc.
|
|
8200
|
+
**request:** `TheraApi.api.thera.misc.ContractRenewalCronRequest`
|
|
8234
8201
|
|
|
8235
8202
|
</dd>
|
|
8236
8203
|
</dl>
|
|
@@ -8249,7 +8216,7 @@ await client.api.thera.misc.misc.autoWithdrawalCron({
|
|
|
8249
8216
|
</dl>
|
|
8250
8217
|
</details>
|
|
8251
8218
|
|
|
8252
|
-
<details><summary><code>client.api.thera.misc.misc.<a href="/src/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.ts">
|
|
8219
|
+
<details><summary><code>client.api.thera.misc.misc.<a href="/src/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.ts">processAchTpInvoices</a>({ ...params }) -> void</code></summary>
|
|
8253
8220
|
<dl>
|
|
8254
8221
|
<dd>
|
|
8255
8222
|
|
|
@@ -8261,7 +8228,7 @@ await client.api.thera.misc.misc.autoWithdrawalCron({
|
|
|
8261
8228
|
<dl>
|
|
8262
8229
|
<dd>
|
|
8263
8230
|
|
|
8264
|
-
Calling this API will trigger automatic
|
|
8231
|
+
Calling this API will trigger automatic transfer of funds from fbo to omnibus for invoices with ach payment.
|
|
8265
8232
|
|
|
8266
8233
|
</dd>
|
|
8267
8234
|
</dl>
|
|
@@ -8277,7 +8244,7 @@ Calling this API will trigger automatic auto payment of invoices for all compani
|
|
|
8277
8244
|
<dd>
|
|
8278
8245
|
|
|
8279
8246
|
```typescript
|
|
8280
|
-
await client.api.thera.misc.misc.
|
|
8247
|
+
await client.api.thera.misc.misc.processAchTpInvoices({
|
|
8281
8248
|
theraWebhookSignatureHeader: "string",
|
|
8282
8249
|
});
|
|
8283
8250
|
```
|
|
@@ -8295,7 +8262,7 @@ await client.api.thera.misc.misc.autoPayCron({
|
|
|
8295
8262
|
<dl>
|
|
8296
8263
|
<dd>
|
|
8297
8264
|
|
|
8298
|
-
**request:** `TheraApi.api.thera.misc.
|
|
8265
|
+
**request:** `TheraApi.api.thera.misc.ProcessAchTpInvoicesCronRequest`
|
|
8299
8266
|
|
|
8300
8267
|
</dd>
|
|
8301
8268
|
</dl>
|
|
@@ -8314,7 +8281,7 @@ await client.api.thera.misc.misc.autoPayCron({
|
|
|
8314
8281
|
</dl>
|
|
8315
8282
|
</details>
|
|
8316
8283
|
|
|
8317
|
-
<details><summary><code>client.api.thera.misc.misc.<a href="/src/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.ts">
|
|
8284
|
+
<details><summary><code>client.api.thera.misc.misc.<a href="/src/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.ts">filloutEorEmployeeWebhook</a>({ ...params }) -> TheraApi.FilloutEorEmployeeWebhookResponse</code></summary>
|
|
8318
8285
|
<dl>
|
|
8319
8286
|
<dd>
|
|
8320
8287
|
|
|
@@ -8326,7 +8293,7 @@ await client.api.thera.misc.misc.autoPayCron({
|
|
|
8326
8293
|
<dl>
|
|
8327
8294
|
<dd>
|
|
8328
8295
|
|
|
8329
|
-
|
|
8296
|
+
Webhook endpoint that receives submissions from Fillout forms to create EOR employees. This endpoint accepts the same request structure as the AddEorEmployeeRequest.
|
|
8330
8297
|
|
|
8331
8298
|
</dd>
|
|
8332
8299
|
</dl>
|
|
@@ -8342,8 +8309,21 @@ Calling this API will trigger automatic email notifications for all companies th
|
|
|
8342
8309
|
<dd>
|
|
8343
8310
|
|
|
8344
8311
|
```typescript
|
|
8345
|
-
await client.api.thera.misc.misc.
|
|
8312
|
+
await client.api.thera.misc.misc.filloutEorEmployeeWebhook({
|
|
8346
8313
|
theraWebhookSignatureHeader: "string",
|
|
8314
|
+
body: {
|
|
8315
|
+
firstName: "string",
|
|
8316
|
+
lastName: "string",
|
|
8317
|
+
email: "string",
|
|
8318
|
+
country: "string",
|
|
8319
|
+
companyId: "string",
|
|
8320
|
+
teamId: "string",
|
|
8321
|
+
jobTitle: "string",
|
|
8322
|
+
startDate: "2023-01-15",
|
|
8323
|
+
rate: 1.1,
|
|
8324
|
+
wageType: "HOURLY",
|
|
8325
|
+
currency: "string",
|
|
8326
|
+
},
|
|
8347
8327
|
});
|
|
8348
8328
|
```
|
|
8349
8329
|
|
|
@@ -8360,7 +8340,7 @@ await client.api.thera.misc.misc.autoPayEmailNotificationCron({
|
|
|
8360
8340
|
<dl>
|
|
8361
8341
|
<dd>
|
|
8362
8342
|
|
|
8363
|
-
**request:** `TheraApi.api.thera.misc.
|
|
8343
|
+
**request:** `TheraApi.api.thera.misc.FilloutEorEmployeeRequest`
|
|
8364
8344
|
|
|
8365
8345
|
</dd>
|
|
8366
8346
|
</dl>
|
|
@@ -8379,7 +8359,9 @@ await client.api.thera.misc.misc.autoPayEmailNotificationCron({
|
|
|
8379
8359
|
</dl>
|
|
8380
8360
|
</details>
|
|
8381
8361
|
|
|
8382
|
-
|
|
8362
|
+
## Offcycle API
|
|
8363
|
+
|
|
8364
|
+
<details><summary><code>client.api.thera.payroll.offcycleApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.ts">getCurrentOffCycleChecks</a>(companyId) -> TheraApi.CheckPayrollResponse | undefined</code></summary>
|
|
8383
8365
|
<dl>
|
|
8384
8366
|
<dd>
|
|
8385
8367
|
|
|
@@ -8391,7 +8373,68 @@ await client.api.thera.misc.misc.autoPayEmailNotificationCron({
|
|
|
8391
8373
|
<dl>
|
|
8392
8374
|
<dd>
|
|
8393
8375
|
|
|
8394
|
-
|
|
8376
|
+
</dd>
|
|
8377
|
+
</dl>
|
|
8378
|
+
</dd>
|
|
8379
|
+
</dl>
|
|
8380
|
+
|
|
8381
|
+
#### 🔌 Usage
|
|
8382
|
+
|
|
8383
|
+
<dl>
|
|
8384
|
+
<dd>
|
|
8385
|
+
|
|
8386
|
+
<dl>
|
|
8387
|
+
<dd>
|
|
8388
|
+
|
|
8389
|
+
```typescript
|
|
8390
|
+
await client.api.thera.payroll.offcycleApi.getCurrentOffCycleChecks("string");
|
|
8391
|
+
```
|
|
8392
|
+
|
|
8393
|
+
</dd>
|
|
8394
|
+
</dl>
|
|
8395
|
+
</dd>
|
|
8396
|
+
</dl>
|
|
8397
|
+
|
|
8398
|
+
#### ⚙️ Parameters
|
|
8399
|
+
|
|
8400
|
+
<dl>
|
|
8401
|
+
<dd>
|
|
8402
|
+
|
|
8403
|
+
<dl>
|
|
8404
|
+
<dd>
|
|
8405
|
+
|
|
8406
|
+
**companyId:** `string`
|
|
8407
|
+
|
|
8408
|
+
</dd>
|
|
8409
|
+
</dl>
|
|
8410
|
+
|
|
8411
|
+
<dl>
|
|
8412
|
+
<dd>
|
|
8413
|
+
|
|
8414
|
+
**requestOptions:** `OffcycleApi.RequestOptions`
|
|
8415
|
+
|
|
8416
|
+
</dd>
|
|
8417
|
+
</dl>
|
|
8418
|
+
</dd>
|
|
8419
|
+
</dl>
|
|
8420
|
+
|
|
8421
|
+
</dd>
|
|
8422
|
+
</dl>
|
|
8423
|
+
</details>
|
|
8424
|
+
|
|
8425
|
+
## Oncycle API
|
|
8426
|
+
|
|
8427
|
+
<details><summary><code>client.api.thera.payroll.oncycleApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.ts">approveOncycleChecks</a>(companyId, checkPayScheduleId) -> TheraApi.ApproveOnCycleChecksResponse</code></summary>
|
|
8428
|
+
<dl>
|
|
8429
|
+
<dd>
|
|
8430
|
+
|
|
8431
|
+
#### 📝 Description
|
|
8432
|
+
|
|
8433
|
+
<dl>
|
|
8434
|
+
<dd>
|
|
8435
|
+
|
|
8436
|
+
<dl>
|
|
8437
|
+
<dd>
|
|
8395
8438
|
|
|
8396
8439
|
</dd>
|
|
8397
8440
|
</dl>
|
|
@@ -8407,9 +8450,7 @@ Calling this API will trigger a check for contracts that need renewal and notify
|
|
|
8407
8450
|
<dd>
|
|
8408
8451
|
|
|
8409
8452
|
```typescript
|
|
8410
|
-
await client.api.thera.
|
|
8411
|
-
theraWebhookSignatureHeader: "string",
|
|
8412
|
-
});
|
|
8453
|
+
await client.api.thera.payroll.oncycleApi.approveOncycleChecks("string", "string");
|
|
8413
8454
|
```
|
|
8414
8455
|
|
|
8415
8456
|
</dd>
|
|
@@ -8425,7 +8466,7 @@ await client.api.thera.misc.misc.contractRenewalCron({
|
|
|
8425
8466
|
<dl>
|
|
8426
8467
|
<dd>
|
|
8427
8468
|
|
|
8428
|
-
**
|
|
8469
|
+
**companyId:** `string`
|
|
8429
8470
|
|
|
8430
8471
|
</dd>
|
|
8431
8472
|
</dl>
|
|
@@ -8433,7 +8474,15 @@ await client.api.thera.misc.misc.contractRenewalCron({
|
|
|
8433
8474
|
<dl>
|
|
8434
8475
|
<dd>
|
|
8435
8476
|
|
|
8436
|
-
**
|
|
8477
|
+
**checkPayScheduleId:** `string`
|
|
8478
|
+
|
|
8479
|
+
</dd>
|
|
8480
|
+
</dl>
|
|
8481
|
+
|
|
8482
|
+
<dl>
|
|
8483
|
+
<dd>
|
|
8484
|
+
|
|
8485
|
+
**requestOptions:** `OncycleApi.RequestOptions`
|
|
8437
8486
|
|
|
8438
8487
|
</dd>
|
|
8439
8488
|
</dl>
|
|
@@ -8444,7 +8493,7 @@ await client.api.thera.misc.misc.contractRenewalCron({
|
|
|
8444
8493
|
</dl>
|
|
8445
8494
|
</details>
|
|
8446
8495
|
|
|
8447
|
-
<details><summary><code>client.api.thera.
|
|
8496
|
+
<details><summary><code>client.api.thera.payroll.oncycleApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.ts">getOnCycleChecks</a>(companyId) -> TheraApi.OnCycleChecksResponse[]</code></summary>
|
|
8448
8497
|
<dl>
|
|
8449
8498
|
<dd>
|
|
8450
8499
|
|
|
@@ -8456,7 +8505,66 @@ await client.api.thera.misc.misc.contractRenewalCron({
|
|
|
8456
8505
|
<dl>
|
|
8457
8506
|
<dd>
|
|
8458
8507
|
|
|
8459
|
-
|
|
8508
|
+
</dd>
|
|
8509
|
+
</dl>
|
|
8510
|
+
</dd>
|
|
8511
|
+
</dl>
|
|
8512
|
+
|
|
8513
|
+
#### 🔌 Usage
|
|
8514
|
+
|
|
8515
|
+
<dl>
|
|
8516
|
+
<dd>
|
|
8517
|
+
|
|
8518
|
+
<dl>
|
|
8519
|
+
<dd>
|
|
8520
|
+
|
|
8521
|
+
```typescript
|
|
8522
|
+
await client.api.thera.payroll.oncycleApi.getOnCycleChecks("string");
|
|
8523
|
+
```
|
|
8524
|
+
|
|
8525
|
+
</dd>
|
|
8526
|
+
</dl>
|
|
8527
|
+
</dd>
|
|
8528
|
+
</dl>
|
|
8529
|
+
|
|
8530
|
+
#### ⚙️ Parameters
|
|
8531
|
+
|
|
8532
|
+
<dl>
|
|
8533
|
+
<dd>
|
|
8534
|
+
|
|
8535
|
+
<dl>
|
|
8536
|
+
<dd>
|
|
8537
|
+
|
|
8538
|
+
**companyId:** `string`
|
|
8539
|
+
|
|
8540
|
+
</dd>
|
|
8541
|
+
</dl>
|
|
8542
|
+
|
|
8543
|
+
<dl>
|
|
8544
|
+
<dd>
|
|
8545
|
+
|
|
8546
|
+
**requestOptions:** `OncycleApi.RequestOptions`
|
|
8547
|
+
|
|
8548
|
+
</dd>
|
|
8549
|
+
</dl>
|
|
8550
|
+
</dd>
|
|
8551
|
+
</dl>
|
|
8552
|
+
|
|
8553
|
+
</dd>
|
|
8554
|
+
</dl>
|
|
8555
|
+
</details>
|
|
8556
|
+
|
|
8557
|
+
<details><summary><code>client.api.thera.payroll.oncycleApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.ts">getOnCycleCheckDetails</a>(companyId, checkPayrollId) -> TheraApi.OnCycleChecksResponse | undefined</code></summary>
|
|
8558
|
+
<dl>
|
|
8559
|
+
<dd>
|
|
8560
|
+
|
|
8561
|
+
#### 📝 Description
|
|
8562
|
+
|
|
8563
|
+
<dl>
|
|
8564
|
+
<dd>
|
|
8565
|
+
|
|
8566
|
+
<dl>
|
|
8567
|
+
<dd>
|
|
8460
8568
|
|
|
8461
8569
|
</dd>
|
|
8462
8570
|
</dl>
|
|
@@ -8472,9 +8580,7 @@ Calling this API will trigger automatic transfer of funds from fbo to omnibus fo
|
|
|
8472
8580
|
<dd>
|
|
8473
8581
|
|
|
8474
8582
|
```typescript
|
|
8475
|
-
await client.api.thera.
|
|
8476
|
-
theraWebhookSignatureHeader: "string",
|
|
8477
|
-
});
|
|
8583
|
+
await client.api.thera.payroll.oncycleApi.getOnCycleCheckDetails("string", "string");
|
|
8478
8584
|
```
|
|
8479
8585
|
|
|
8480
8586
|
</dd>
|
|
@@ -8490,7 +8596,7 @@ await client.api.thera.misc.misc.processAchTpInvoices({
|
|
|
8490
8596
|
<dl>
|
|
8491
8597
|
<dd>
|
|
8492
8598
|
|
|
8493
|
-
**
|
|
8599
|
+
**companyId:** `string`
|
|
8494
8600
|
|
|
8495
8601
|
</dd>
|
|
8496
8602
|
</dl>
|
|
@@ -8498,7 +8604,15 @@ await client.api.thera.misc.misc.processAchTpInvoices({
|
|
|
8498
8604
|
<dl>
|
|
8499
8605
|
<dd>
|
|
8500
8606
|
|
|
8501
|
-
**
|
|
8607
|
+
**checkPayrollId:** `string`
|
|
8608
|
+
|
|
8609
|
+
</dd>
|
|
8610
|
+
</dl>
|
|
8611
|
+
|
|
8612
|
+
<dl>
|
|
8613
|
+
<dd>
|
|
8614
|
+
|
|
8615
|
+
**requestOptions:** `OncycleApi.RequestOptions`
|
|
8502
8616
|
|
|
8503
8617
|
</dd>
|
|
8504
8618
|
</dl>
|
|
@@ -8509,7 +8623,7 @@ await client.api.thera.misc.misc.processAchTpInvoices({
|
|
|
8509
8623
|
</dl>
|
|
8510
8624
|
</details>
|
|
8511
8625
|
|
|
8512
|
-
<details><summary><code>client.api.thera.
|
|
8626
|
+
<details><summary><code>client.api.thera.payroll.oncycleApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.ts">cancelCurrentAutopilotPayroll</a>(companyId, checkPayScheduleId) -> void</code></summary>
|
|
8513
8627
|
<dl>
|
|
8514
8628
|
<dd>
|
|
8515
8629
|
|
|
@@ -8521,7 +8635,76 @@ await client.api.thera.misc.misc.processAchTpInvoices({
|
|
|
8521
8635
|
<dl>
|
|
8522
8636
|
<dd>
|
|
8523
8637
|
|
|
8524
|
-
|
|
8638
|
+
</dd>
|
|
8639
|
+
</dl>
|
|
8640
|
+
</dd>
|
|
8641
|
+
</dl>
|
|
8642
|
+
|
|
8643
|
+
#### 🔌 Usage
|
|
8644
|
+
|
|
8645
|
+
<dl>
|
|
8646
|
+
<dd>
|
|
8647
|
+
|
|
8648
|
+
<dl>
|
|
8649
|
+
<dd>
|
|
8650
|
+
|
|
8651
|
+
```typescript
|
|
8652
|
+
await client.api.thera.payroll.oncycleApi.cancelCurrentAutopilotPayroll("string", "string");
|
|
8653
|
+
```
|
|
8654
|
+
|
|
8655
|
+
</dd>
|
|
8656
|
+
</dl>
|
|
8657
|
+
</dd>
|
|
8658
|
+
</dl>
|
|
8659
|
+
|
|
8660
|
+
#### ⚙️ Parameters
|
|
8661
|
+
|
|
8662
|
+
<dl>
|
|
8663
|
+
<dd>
|
|
8664
|
+
|
|
8665
|
+
<dl>
|
|
8666
|
+
<dd>
|
|
8667
|
+
|
|
8668
|
+
**companyId:** `string`
|
|
8669
|
+
|
|
8670
|
+
</dd>
|
|
8671
|
+
</dl>
|
|
8672
|
+
|
|
8673
|
+
<dl>
|
|
8674
|
+
<dd>
|
|
8675
|
+
|
|
8676
|
+
**checkPayScheduleId:** `string`
|
|
8677
|
+
|
|
8678
|
+
</dd>
|
|
8679
|
+
</dl>
|
|
8680
|
+
|
|
8681
|
+
<dl>
|
|
8682
|
+
<dd>
|
|
8683
|
+
|
|
8684
|
+
**requestOptions:** `OncycleApi.RequestOptions`
|
|
8685
|
+
|
|
8686
|
+
</dd>
|
|
8687
|
+
</dl>
|
|
8688
|
+
</dd>
|
|
8689
|
+
</dl>
|
|
8690
|
+
|
|
8691
|
+
</dd>
|
|
8692
|
+
</dl>
|
|
8693
|
+
</details>
|
|
8694
|
+
|
|
8695
|
+
## W2 Pay Schedule APIs
|
|
8696
|
+
|
|
8697
|
+
<details><summary><code>client.api.thera.payroll.payscheduleApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.ts">createW2PaySchedule</a>(companyId, { ...params }) -> TheraApi.GetPayScheduleResponse</code></summary>
|
|
8698
|
+
<dl>
|
|
8699
|
+
<dd>
|
|
8700
|
+
|
|
8701
|
+
#### 📝 Description
|
|
8702
|
+
|
|
8703
|
+
<dl>
|
|
8704
|
+
<dd>
|
|
8705
|
+
|
|
8706
|
+
<dl>
|
|
8707
|
+
<dd>
|
|
8525
8708
|
|
|
8526
8709
|
</dd>
|
|
8527
8710
|
</dl>
|
|
@@ -8537,21 +8720,13 @@ Webhook endpoint that receives submissions from Fillout forms to create EOR empl
|
|
|
8537
8720
|
<dd>
|
|
8538
8721
|
|
|
8539
8722
|
```typescript
|
|
8540
|
-
await client.api.thera.
|
|
8541
|
-
|
|
8542
|
-
|
|
8543
|
-
|
|
8544
|
-
|
|
8545
|
-
|
|
8546
|
-
|
|
8547
|
-
companyId: "string",
|
|
8548
|
-
teamId: "string",
|
|
8549
|
-
jobTitle: "string",
|
|
8550
|
-
startDate: "2023-01-15",
|
|
8551
|
-
rate: 1.1,
|
|
8552
|
-
wageType: "HOURLY",
|
|
8553
|
-
currency: "string",
|
|
8554
|
-
},
|
|
8723
|
+
await client.api.thera.payroll.payscheduleApi.createW2PaySchedule("string", {
|
|
8724
|
+
name: "string",
|
|
8725
|
+
payFrequency: "weekly",
|
|
8726
|
+
firstPayDate: "2023-01-15",
|
|
8727
|
+
secondPayDate: "2023-01-15",
|
|
8728
|
+
firstPeriodEndDate: "2023-01-15",
|
|
8729
|
+
autopilotEnabled: true,
|
|
8555
8730
|
});
|
|
8556
8731
|
```
|
|
8557
8732
|
|
|
@@ -8568,7 +8743,7 @@ await client.api.thera.misc.misc.filloutEorEmployeeWebhook({
|
|
|
8568
8743
|
<dl>
|
|
8569
8744
|
<dd>
|
|
8570
8745
|
|
|
8571
|
-
**
|
|
8746
|
+
**companyId:** `string`
|
|
8572
8747
|
|
|
8573
8748
|
</dd>
|
|
8574
8749
|
</dl>
|
|
@@ -8576,7 +8751,15 @@ await client.api.thera.misc.misc.filloutEorEmployeeWebhook({
|
|
|
8576
8751
|
<dl>
|
|
8577
8752
|
<dd>
|
|
8578
8753
|
|
|
8579
|
-
**
|
|
8754
|
+
**request:** `TheraApi.api.thera.payroll.CreatePayScheduleRequest`
|
|
8755
|
+
|
|
8756
|
+
</dd>
|
|
8757
|
+
</dl>
|
|
8758
|
+
|
|
8759
|
+
<dl>
|
|
8760
|
+
<dd>
|
|
8761
|
+
|
|
8762
|
+
**requestOptions:** `PayscheduleApi.RequestOptions`
|
|
8580
8763
|
|
|
8581
8764
|
</dd>
|
|
8582
8765
|
</dl>
|
|
@@ -8587,9 +8770,76 @@ await client.api.thera.misc.misc.filloutEorEmployeeWebhook({
|
|
|
8587
8770
|
</dl>
|
|
8588
8771
|
</details>
|
|
8589
8772
|
|
|
8590
|
-
|
|
8773
|
+
<details><summary><code>client.api.thera.payroll.payscheduleApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.ts">getW2PaySchedule</a>(companyId, checkPayScheduleId) -> TheraApi.GetPayScheduleResponse</code></summary>
|
|
8774
|
+
<dl>
|
|
8775
|
+
<dd>
|
|
8591
8776
|
|
|
8592
|
-
|
|
8777
|
+
#### 📝 Description
|
|
8778
|
+
|
|
8779
|
+
<dl>
|
|
8780
|
+
<dd>
|
|
8781
|
+
|
|
8782
|
+
<dl>
|
|
8783
|
+
<dd>
|
|
8784
|
+
|
|
8785
|
+
</dd>
|
|
8786
|
+
</dl>
|
|
8787
|
+
</dd>
|
|
8788
|
+
</dl>
|
|
8789
|
+
|
|
8790
|
+
#### 🔌 Usage
|
|
8791
|
+
|
|
8792
|
+
<dl>
|
|
8793
|
+
<dd>
|
|
8794
|
+
|
|
8795
|
+
<dl>
|
|
8796
|
+
<dd>
|
|
8797
|
+
|
|
8798
|
+
```typescript
|
|
8799
|
+
await client.api.thera.payroll.payscheduleApi.getW2PaySchedule("string", "string");
|
|
8800
|
+
```
|
|
8801
|
+
|
|
8802
|
+
</dd>
|
|
8803
|
+
</dl>
|
|
8804
|
+
</dd>
|
|
8805
|
+
</dl>
|
|
8806
|
+
|
|
8807
|
+
#### ⚙️ Parameters
|
|
8808
|
+
|
|
8809
|
+
<dl>
|
|
8810
|
+
<dd>
|
|
8811
|
+
|
|
8812
|
+
<dl>
|
|
8813
|
+
<dd>
|
|
8814
|
+
|
|
8815
|
+
**companyId:** `string`
|
|
8816
|
+
|
|
8817
|
+
</dd>
|
|
8818
|
+
</dl>
|
|
8819
|
+
|
|
8820
|
+
<dl>
|
|
8821
|
+
<dd>
|
|
8822
|
+
|
|
8823
|
+
**checkPayScheduleId:** `string`
|
|
8824
|
+
|
|
8825
|
+
</dd>
|
|
8826
|
+
</dl>
|
|
8827
|
+
|
|
8828
|
+
<dl>
|
|
8829
|
+
<dd>
|
|
8830
|
+
|
|
8831
|
+
**requestOptions:** `PayscheduleApi.RequestOptions`
|
|
8832
|
+
|
|
8833
|
+
</dd>
|
|
8834
|
+
</dl>
|
|
8835
|
+
</dd>
|
|
8836
|
+
</dl>
|
|
8837
|
+
|
|
8838
|
+
</dd>
|
|
8839
|
+
</dl>
|
|
8840
|
+
</details>
|
|
8841
|
+
|
|
8842
|
+
<details><summary><code>client.api.thera.payroll.payscheduleApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.ts">listW2PaySchedules</a>(companyId) -> TheraApi.GetPayScheduleResponse[]</code></summary>
|
|
8593
8843
|
<dl>
|
|
8594
8844
|
<dd>
|
|
8595
8845
|
|
|
@@ -8615,7 +8865,7 @@ await client.api.thera.misc.misc.filloutEorEmployeeWebhook({
|
|
|
8615
8865
|
<dd>
|
|
8616
8866
|
|
|
8617
8867
|
```typescript
|
|
8618
|
-
await client.api.thera.payroll.
|
|
8868
|
+
await client.api.thera.payroll.payscheduleApi.listW2PaySchedules("string");
|
|
8619
8869
|
```
|
|
8620
8870
|
|
|
8621
8871
|
</dd>
|
|
@@ -8639,7 +8889,7 @@ await client.api.thera.payroll.offcycleApi.getCurrentOffCycleChecks("string");
|
|
|
8639
8889
|
<dl>
|
|
8640
8890
|
<dd>
|
|
8641
8891
|
|
|
8642
|
-
**requestOptions:** `
|
|
8892
|
+
**requestOptions:** `PayscheduleApi.RequestOptions`
|
|
8643
8893
|
|
|
8644
8894
|
</dd>
|
|
8645
8895
|
</dl>
|
|
@@ -8650,9 +8900,78 @@ await client.api.thera.payroll.offcycleApi.getCurrentOffCycleChecks("string");
|
|
|
8650
8900
|
</dl>
|
|
8651
8901
|
</details>
|
|
8652
8902
|
|
|
8653
|
-
|
|
8903
|
+
<details><summary><code>client.api.thera.payroll.payscheduleApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.ts">deleteW2PaySchedule</a>(companyId, checkPayScheduleId) -> void</code></summary>
|
|
8904
|
+
<dl>
|
|
8905
|
+
<dd>
|
|
8906
|
+
|
|
8907
|
+
#### 📝 Description
|
|
8908
|
+
|
|
8909
|
+
<dl>
|
|
8910
|
+
<dd>
|
|
8911
|
+
|
|
8912
|
+
<dl>
|
|
8913
|
+
<dd>
|
|
8914
|
+
|
|
8915
|
+
Delete W2 Pay Schedule in Check by setting the metadata flag, as we can't delete Check W2 Pay Schedule by API. https://support.checkhq.com/hc/en-us/articles/24948436554263-Pay-Schedules
|
|
8916
|
+
|
|
8917
|
+
</dd>
|
|
8918
|
+
</dl>
|
|
8919
|
+
</dd>
|
|
8920
|
+
</dl>
|
|
8921
|
+
|
|
8922
|
+
#### 🔌 Usage
|
|
8923
|
+
|
|
8924
|
+
<dl>
|
|
8925
|
+
<dd>
|
|
8926
|
+
|
|
8927
|
+
<dl>
|
|
8928
|
+
<dd>
|
|
8929
|
+
|
|
8930
|
+
```typescript
|
|
8931
|
+
await client.api.thera.payroll.payscheduleApi.deleteW2PaySchedule("string", "string");
|
|
8932
|
+
```
|
|
8933
|
+
|
|
8934
|
+
</dd>
|
|
8935
|
+
</dl>
|
|
8936
|
+
</dd>
|
|
8937
|
+
</dl>
|
|
8938
|
+
|
|
8939
|
+
#### ⚙️ Parameters
|
|
8940
|
+
|
|
8941
|
+
<dl>
|
|
8942
|
+
<dd>
|
|
8654
8943
|
|
|
8655
|
-
<
|
|
8944
|
+
<dl>
|
|
8945
|
+
<dd>
|
|
8946
|
+
|
|
8947
|
+
**companyId:** `string`
|
|
8948
|
+
|
|
8949
|
+
</dd>
|
|
8950
|
+
</dl>
|
|
8951
|
+
|
|
8952
|
+
<dl>
|
|
8953
|
+
<dd>
|
|
8954
|
+
|
|
8955
|
+
**checkPayScheduleId:** `string`
|
|
8956
|
+
|
|
8957
|
+
</dd>
|
|
8958
|
+
</dl>
|
|
8959
|
+
|
|
8960
|
+
<dl>
|
|
8961
|
+
<dd>
|
|
8962
|
+
|
|
8963
|
+
**requestOptions:** `PayscheduleApi.RequestOptions`
|
|
8964
|
+
|
|
8965
|
+
</dd>
|
|
8966
|
+
</dl>
|
|
8967
|
+
</dd>
|
|
8968
|
+
</dl>
|
|
8969
|
+
|
|
8970
|
+
</dd>
|
|
8971
|
+
</dl>
|
|
8972
|
+
</details>
|
|
8973
|
+
|
|
8974
|
+
<details><summary><code>client.api.thera.payroll.payscheduleApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.ts">updateW2PaySchedule</a>(companyId, checkPayScheduleId, { ...params }) -> TheraApi.GetPayScheduleResponse</code></summary>
|
|
8656
8975
|
<dl>
|
|
8657
8976
|
<dd>
|
|
8658
8977
|
|
|
@@ -8678,7 +8997,17 @@ await client.api.thera.payroll.offcycleApi.getCurrentOffCycleChecks("string");
|
|
|
8678
8997
|
<dd>
|
|
8679
8998
|
|
|
8680
8999
|
```typescript
|
|
8681
|
-
await client.api.thera.payroll.
|
|
9000
|
+
await client.api.thera.payroll.payscheduleApi.updateW2PaySchedule("string", "string", {
|
|
9001
|
+
name: "string",
|
|
9002
|
+
payFrequency: "weekly",
|
|
9003
|
+
firstPeriodEndDate: "2023-01-15",
|
|
9004
|
+
firstPayDate: "2023-01-15",
|
|
9005
|
+
secondPayDate: "2023-01-15",
|
|
9006
|
+
metadata: {
|
|
9007
|
+
deleted: "string",
|
|
9008
|
+
autopilotEnabled: "string",
|
|
9009
|
+
},
|
|
9010
|
+
});
|
|
8682
9011
|
```
|
|
8683
9012
|
|
|
8684
9013
|
</dd>
|
|
@@ -8702,7 +9031,23 @@ await client.api.thera.payroll.oncycleApi.approveOncycleChecks("string");
|
|
|
8702
9031
|
<dl>
|
|
8703
9032
|
<dd>
|
|
8704
9033
|
|
|
8705
|
-
**
|
|
9034
|
+
**checkPayScheduleId:** `string`
|
|
9035
|
+
|
|
9036
|
+
</dd>
|
|
9037
|
+
</dl>
|
|
9038
|
+
|
|
9039
|
+
<dl>
|
|
9040
|
+
<dd>
|
|
9041
|
+
|
|
9042
|
+
**request:** `TheraApi.api.thera.payroll.UpdatePayScheduleRequest`
|
|
9043
|
+
|
|
9044
|
+
</dd>
|
|
9045
|
+
</dl>
|
|
9046
|
+
|
|
9047
|
+
<dl>
|
|
9048
|
+
<dd>
|
|
9049
|
+
|
|
9050
|
+
**requestOptions:** `PayscheduleApi.RequestOptions`
|
|
8706
9051
|
|
|
8707
9052
|
</dd>
|
|
8708
9053
|
</dl>
|
|
@@ -8713,7 +9058,7 @@ await client.api.thera.payroll.oncycleApi.approveOncycleChecks("string");
|
|
|
8713
9058
|
</dl>
|
|
8714
9059
|
</details>
|
|
8715
9060
|
|
|
8716
|
-
<details><summary><code>client.api.thera.payroll.
|
|
9061
|
+
<details><summary><code>client.api.thera.payroll.payscheduleApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.ts">assignW2EmployeesPaySchedule</a>(companyId, { ...params }) -> TheraApi.AssignW2EmployeeToPayScheduleResponse</code></summary>
|
|
8717
9062
|
<dl>
|
|
8718
9063
|
<dd>
|
|
8719
9064
|
|
|
@@ -8725,6 +9070,8 @@ await client.api.thera.payroll.oncycleApi.approveOncycleChecks("string");
|
|
|
8725
9070
|
<dl>
|
|
8726
9071
|
<dd>
|
|
8727
9072
|
|
|
9073
|
+
If user ID is not provided in the request, it'll use the old value in DB. The response body always return the schedules for all employees
|
|
9074
|
+
|
|
8728
9075
|
</dd>
|
|
8729
9076
|
</dl>
|
|
8730
9077
|
</dd>
|
|
@@ -8739,7 +9086,11 @@ await client.api.thera.payroll.oncycleApi.approveOncycleChecks("string");
|
|
|
8739
9086
|
<dd>
|
|
8740
9087
|
|
|
8741
9088
|
```typescript
|
|
8742
|
-
await client.api.thera.payroll.
|
|
9089
|
+
await client.api.thera.payroll.payscheduleApi.assignW2EmployeesPaySchedule("string", {
|
|
9090
|
+
checkPayScheduleIdByUserId: {
|
|
9091
|
+
string: "string",
|
|
9092
|
+
},
|
|
9093
|
+
});
|
|
8743
9094
|
```
|
|
8744
9095
|
|
|
8745
9096
|
</dd>
|
|
@@ -8763,7 +9114,15 @@ await client.api.thera.payroll.oncycleApi.getOnCycleChecks("string");
|
|
|
8763
9114
|
<dl>
|
|
8764
9115
|
<dd>
|
|
8765
9116
|
|
|
8766
|
-
**
|
|
9117
|
+
**request:** `TheraApi.api.thera.payroll.AssignW2EmployeeToPayScheduleRequest`
|
|
9118
|
+
|
|
9119
|
+
</dd>
|
|
9120
|
+
</dl>
|
|
9121
|
+
|
|
9122
|
+
<dl>
|
|
9123
|
+
<dd>
|
|
9124
|
+
|
|
9125
|
+
**requestOptions:** `PayscheduleApi.RequestOptions`
|
|
8767
9126
|
|
|
8768
9127
|
</dd>
|
|
8769
9128
|
</dl>
|
|
@@ -8774,7 +9133,7 @@ await client.api.thera.payroll.oncycleApi.getOnCycleChecks("string");
|
|
|
8774
9133
|
</dl>
|
|
8775
9134
|
</details>
|
|
8776
9135
|
|
|
8777
|
-
<details><summary><code>client.api.thera.payroll.
|
|
9136
|
+
<details><summary><code>client.api.thera.payroll.payscheduleApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.ts">getSomePaySchedulePaydays</a>(companyId, checkPayScheduleId) -> TheraApi.GetPaySchedulePaydaysResponse[]</code></summary>
|
|
8778
9137
|
<dl>
|
|
8779
9138
|
<dd>
|
|
8780
9139
|
|
|
@@ -8786,6 +9145,8 @@ await client.api.thera.payroll.oncycleApi.getOnCycleChecks("string");
|
|
|
8786
9145
|
<dl>
|
|
8787
9146
|
<dd>
|
|
8788
9147
|
|
|
9148
|
+
Return several upcoming paydays (not all of them!)
|
|
9149
|
+
|
|
8789
9150
|
</dd>
|
|
8790
9151
|
</dl>
|
|
8791
9152
|
</dd>
|
|
@@ -8800,7 +9161,7 @@ await client.api.thera.payroll.oncycleApi.getOnCycleChecks("string");
|
|
|
8800
9161
|
<dd>
|
|
8801
9162
|
|
|
8802
9163
|
```typescript
|
|
8803
|
-
await client.api.thera.payroll.
|
|
9164
|
+
await client.api.thera.payroll.payscheduleApi.getSomePaySchedulePaydays("string", "string");
|
|
8804
9165
|
```
|
|
8805
9166
|
|
|
8806
9167
|
</dd>
|
|
@@ -8824,7 +9185,15 @@ await client.api.thera.payroll.oncycleApi.cancelCurrentAutopilotPayroll("string"
|
|
|
8824
9185
|
<dl>
|
|
8825
9186
|
<dd>
|
|
8826
9187
|
|
|
8827
|
-
**
|
|
9188
|
+
**checkPayScheduleId:** `string`
|
|
9189
|
+
|
|
9190
|
+
</dd>
|
|
9191
|
+
</dl>
|
|
9192
|
+
|
|
9193
|
+
<dl>
|
|
9194
|
+
<dd>
|
|
9195
|
+
|
|
9196
|
+
**requestOptions:** `PayscheduleApi.RequestOptions`
|
|
8828
9197
|
|
|
8829
9198
|
</dd>
|
|
8830
9199
|
</dl>
|