@thera-hr/api-sdk 0.0.1-prerelease3029-dev-2 → 0.0.1-prerelease3030-dev-anthony
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/resources/accounting/resources/accountingApi/client/Client.js +4 -4
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +1 -17
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +35 -103
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetPayInHistoryRequest.d.ts +1 -5
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.d.ts +0 -1
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.d.ts +0 -1
- 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/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/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 +114 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +411 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.js +17 -0
- 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 +22 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +25 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js +5 -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/client/requests/index.js +2 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.d.ts +2 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.js +18 -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/AssignW2EmployeeToPayScheduleResponse.js +5 -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/CheckGetPayScheduleResponse.js +5 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.d.ts +7 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.js +5 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +14 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js +5 -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 +5 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.js +21 -0
- 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.d.ts +40 -0
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +89 -10
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.d.ts +8 -0
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.js +5 -0
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.d.ts +10 -0
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.js +5 -0
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.d.ts +11 -0
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.js +5 -0
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.d.ts +11 -0
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.js +5 -0
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -0
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -0
- package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
- package/api/resources/db/resources/company/types/TpCompanyInformation.d.ts +1 -0
- package/api/resources/db/resources/company/types/W2Payroll.d.ts +2 -0
- package/api/resources/db/resources/company/types/WithdrawalTpBankInfo.d.ts +10 -0
- package/api/resources/db/resources/company/types/WithdrawalTpBankInfo.js +5 -0
- package/api/resources/db/resources/company/types/index.d.ts +1 -0
- package/api/resources/db/resources/company/types/index.js +1 -0
- 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/resources/accounting/resources/accountingApi/client/Client.js +4 -4
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +1 -17
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +35 -103
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetPayInHistoryRequest.d.ts +1 -5
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.d.ts +0 -1
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.d.ts +0 -1
- 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/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/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 +114 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +411 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.js +17 -0
- 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/AssignW2EmployeeToPayScheduleRequest.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.d.ts +22 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +25 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js +5 -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/client/requests/index.js +2 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.d.ts +2 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.js +18 -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/AssignW2EmployeeToPayScheduleResponse.js +5 -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/CheckGetPayScheduleResponse.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.d.ts +7 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +14 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js +5 -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 +5 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.js +21 -0
- 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.d.ts +40 -0
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +89 -10
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.d.ts +8 -0
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.d.ts +10 -0
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.d.ts +11 -0
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.d.ts +11 -0
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -0
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -0
- package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
- package/dist/api/resources/db/resources/company/types/TpCompanyInformation.d.ts +1 -0
- package/dist/api/resources/db/resources/company/types/W2Payroll.d.ts +2 -0
- package/dist/api/resources/db/resources/company/types/WithdrawalTpBankInfo.d.ts +10 -0
- package/dist/api/resources/db/resources/company/types/WithdrawalTpBankInfo.js +5 -0
- package/dist/api/resources/db/resources/company/types/index.d.ts +1 -0
- package/dist/api/resources/db/resources/company/types/index.js +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.d.ts +0 -1
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.js +0 -1
- 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/index.d.ts +2 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.js +41 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.d.ts +11 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.js +42 -0
- 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 +17 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js +48 -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/payroll/resources/payscheduleApi/index.js +18 -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/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js +51 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.d.ts +12 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.js +43 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +20 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js +51 -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/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js +41 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +5 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.js +21 -0
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.d.ts +14 -0
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.js +45 -0
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.d.ts +17 -0
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.js +48 -0
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.d.ts +17 -0
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.js +48 -0
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.d.ts +17 -0
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.js +48 -0
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -0
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -0
- package/dist/serialization/resources/db/resources/company/types/TpCompanyInformation.d.ts +2 -0
- package/dist/serialization/resources/db/resources/company/types/TpCompanyInformation.js +2 -0
- 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/WithdrawalTpBankInfo.d.ts +16 -0
- package/dist/serialization/resources/db/resources/company/types/WithdrawalTpBankInfo.js +47 -0
- package/dist/serialization/resources/db/resources/company/types/index.d.ts +1 -0
- package/dist/serialization/resources/db/resources/company/types/index.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +767 -218
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.d.ts +0 -1
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.js +0 -1
- 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/index.d.ts +2 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.js +41 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.d.ts +11 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.js +42 -0
- 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 +17 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js +48 -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/payroll/resources/payscheduleApi/index.js +18 -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 +12 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.js +43 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +20 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js +51 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +10 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js +41 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +5 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.js +21 -0
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.d.ts +14 -0
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.js +45 -0
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.d.ts +17 -0
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.js +48 -0
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.d.ts +17 -0
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.js +48 -0
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.d.ts +17 -0
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.js +48 -0
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -0
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -0
- package/serialization/resources/db/resources/company/types/TpCompanyInformation.d.ts +2 -0
- package/serialization/resources/db/resources/company/types/TpCompanyInformation.js +2 -0
- 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/WithdrawalTpBankInfo.d.ts +16 -0
- package/serialization/resources/db/resources/company/types/WithdrawalTpBankInfo.js +47 -0
- package/serialization/resources/db/resources/company/types/index.d.ts +1 -0
- package/serialization/resources/db/resources/company/types/index.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetPaymentByTypeRequest.d.ts +0 -12
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetPaymentByTypeRequest.d.ts +0 -12
- /package/api/resources/api/resources/thera/resources/{bank/resources/bankApi/client/requests/GetPaymentByTypeRequest.js → payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js} +0 -0
- /package/{dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetPaymentByTypeRequest.js → api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js} +0 -0
package/reference.md
CHANGED
|
@@ -2499,8 +2499,6 @@ await client.api.thera.bank.bankApi.getWorkerWithdrawalDeliveryEstimate("string"
|
|
|
2499
2499
|
await client.api.thera.bank.bankApi.getPayInHistory("string", {
|
|
2500
2500
|
status: "PENDING",
|
|
2501
2501
|
offPlatformOnly: true,
|
|
2502
|
-
pageSize: 1000000,
|
|
2503
|
-
afterCursor: "string",
|
|
2504
2502
|
});
|
|
2505
2503
|
```
|
|
2506
2504
|
|
|
@@ -2967,87 +2965,6 @@ await client.api.thera.bank.bankApi.setAutoApproveInvoiceForTeams("string", {
|
|
|
2967
2965
|
</dl>
|
|
2968
2966
|
</details>
|
|
2969
2967
|
|
|
2970
|
-
<details><summary><code>client.api.thera.bank.bankApi.<a href="/src/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.ts">getPaymentByTypeAndId</a>(companyId, paymentId, { ...params }) -> TheraApi.HistoricPayment</code></summary>
|
|
2971
|
-
<dl>
|
|
2972
|
-
<dd>
|
|
2973
|
-
|
|
2974
|
-
#### 📝 Description
|
|
2975
|
-
|
|
2976
|
-
<dl>
|
|
2977
|
-
<dd>
|
|
2978
|
-
|
|
2979
|
-
<dl>
|
|
2980
|
-
<dd>
|
|
2981
|
-
|
|
2982
|
-
Get a specific W2 subscription or EOR payment by its ID. This endpoint is optimized for direct retrieval without pagination concerns.
|
|
2983
|
-
|
|
2984
|
-
</dd>
|
|
2985
|
-
</dl>
|
|
2986
|
-
</dd>
|
|
2987
|
-
</dl>
|
|
2988
|
-
|
|
2989
|
-
#### 🔌 Usage
|
|
2990
|
-
|
|
2991
|
-
<dl>
|
|
2992
|
-
<dd>
|
|
2993
|
-
|
|
2994
|
-
<dl>
|
|
2995
|
-
<dd>
|
|
2996
|
-
|
|
2997
|
-
```typescript
|
|
2998
|
-
await client.api.thera.bank.bankApi.getPaymentByTypeAndId("string", "string", {
|
|
2999
|
-
paymentType: "string",
|
|
3000
|
-
});
|
|
3001
|
-
```
|
|
3002
|
-
|
|
3003
|
-
</dd>
|
|
3004
|
-
</dl>
|
|
3005
|
-
</dd>
|
|
3006
|
-
</dl>
|
|
3007
|
-
|
|
3008
|
-
#### ⚙️ Parameters
|
|
3009
|
-
|
|
3010
|
-
<dl>
|
|
3011
|
-
<dd>
|
|
3012
|
-
|
|
3013
|
-
<dl>
|
|
3014
|
-
<dd>
|
|
3015
|
-
|
|
3016
|
-
**companyId:** `string`
|
|
3017
|
-
|
|
3018
|
-
</dd>
|
|
3019
|
-
</dl>
|
|
3020
|
-
|
|
3021
|
-
<dl>
|
|
3022
|
-
<dd>
|
|
3023
|
-
|
|
3024
|
-
**paymentId:** `string`
|
|
3025
|
-
|
|
3026
|
-
</dd>
|
|
3027
|
-
</dl>
|
|
3028
|
-
|
|
3029
|
-
<dl>
|
|
3030
|
-
<dd>
|
|
3031
|
-
|
|
3032
|
-
**request:** `TheraApi.api.thera.bank.GetPaymentByTypeRequest`
|
|
3033
|
-
|
|
3034
|
-
</dd>
|
|
3035
|
-
</dl>
|
|
3036
|
-
|
|
3037
|
-
<dl>
|
|
3038
|
-
<dd>
|
|
3039
|
-
|
|
3040
|
-
**requestOptions:** `BankApi.RequestOptions`
|
|
3041
|
-
|
|
3042
|
-
</dd>
|
|
3043
|
-
</dl>
|
|
3044
|
-
</dd>
|
|
3045
|
-
</dl>
|
|
3046
|
-
|
|
3047
|
-
</dd>
|
|
3048
|
-
</dl>
|
|
3049
|
-
</details>
|
|
3050
|
-
|
|
3051
2968
|
## Bridge APIs
|
|
3052
2969
|
|
|
3053
2970
|
<details><summary><code>client.api.thera.bridge.bridgeApi.<a href="/src/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.ts">requestTosLink</a>() -> TheraApi.TosLinkResponse</code></summary>
|
|
@@ -8507,7 +8424,7 @@ await client.api.thera.payroll.offcycleApi.getCurrentOffCycleChecks("string");
|
|
|
8507
8424
|
|
|
8508
8425
|
## Oncycle API
|
|
8509
8426
|
|
|
8510
|
-
<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) -> TheraApi.ApproveOnCycleChecksResponse</code></summary>
|
|
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, checkPayrollId) -> TheraApi.ApproveOnCycleChecksResponse</code></summary>
|
|
8511
8428
|
<dl>
|
|
8512
8429
|
<dd>
|
|
8513
8430
|
|
|
@@ -8533,7 +8450,7 @@ await client.api.thera.payroll.offcycleApi.getCurrentOffCycleChecks("string");
|
|
|
8533
8450
|
<dd>
|
|
8534
8451
|
|
|
8535
8452
|
```typescript
|
|
8536
|
-
await client.api.thera.payroll.oncycleApi.approveOncycleChecks("string");
|
|
8453
|
+
await client.api.thera.payroll.oncycleApi.approveOncycleChecks("string", "string");
|
|
8537
8454
|
```
|
|
8538
8455
|
|
|
8539
8456
|
</dd>
|
|
@@ -8557,6 +8474,14 @@ await client.api.thera.payroll.oncycleApi.approveOncycleChecks("string");
|
|
|
8557
8474
|
<dl>
|
|
8558
8475
|
<dd>
|
|
8559
8476
|
|
|
8477
|
+
**checkPayrollId:** `string`
|
|
8478
|
+
|
|
8479
|
+
</dd>
|
|
8480
|
+
</dl>
|
|
8481
|
+
|
|
8482
|
+
<dl>
|
|
8483
|
+
<dd>
|
|
8484
|
+
|
|
8560
8485
|
**requestOptions:** `OncycleApi.RequestOptions`
|
|
8561
8486
|
|
|
8562
8487
|
</dd>
|
|
@@ -8568,7 +8493,7 @@ await client.api.thera.payroll.oncycleApi.approveOncycleChecks("string");
|
|
|
8568
8493
|
</dl>
|
|
8569
8494
|
</details>
|
|
8570
8495
|
|
|
8571
|
-
<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
|
|
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>
|
|
8572
8497
|
<dl>
|
|
8573
8498
|
<dd>
|
|
8574
8499
|
|
|
@@ -8629,7 +8554,7 @@ await client.api.thera.payroll.oncycleApi.getOnCycleChecks("string");
|
|
|
8629
8554
|
</dl>
|
|
8630
8555
|
</details>
|
|
8631
8556
|
|
|
8632
|
-
<details><summary><code>client.api.thera.payroll.oncycleApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.ts">
|
|
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>
|
|
8633
8558
|
<dl>
|
|
8634
8559
|
<dd>
|
|
8635
8560
|
|
|
@@ -8655,7 +8580,7 @@ await client.api.thera.payroll.oncycleApi.getOnCycleChecks("string");
|
|
|
8655
8580
|
<dd>
|
|
8656
8581
|
|
|
8657
8582
|
```typescript
|
|
8658
|
-
await client.api.thera.payroll.oncycleApi.
|
|
8583
|
+
await client.api.thera.payroll.oncycleApi.getOnCycleCheckDetails("string", "string");
|
|
8659
8584
|
```
|
|
8660
8585
|
|
|
8661
8586
|
</dd>
|
|
@@ -8679,6 +8604,14 @@ await client.api.thera.payroll.oncycleApi.cancelCurrentAutopilotPayroll("string"
|
|
|
8679
8604
|
<dl>
|
|
8680
8605
|
<dd>
|
|
8681
8606
|
|
|
8607
|
+
**checkPayrollId:** `string`
|
|
8608
|
+
|
|
8609
|
+
</dd>
|
|
8610
|
+
</dl>
|
|
8611
|
+
|
|
8612
|
+
<dl>
|
|
8613
|
+
<dd>
|
|
8614
|
+
|
|
8682
8615
|
**requestOptions:** `OncycleApi.RequestOptions`
|
|
8683
8616
|
|
|
8684
8617
|
</dd>
|
|
@@ -8690,9 +8623,7 @@ await client.api.thera.payroll.oncycleApi.cancelCurrentAutopilotPayroll("string"
|
|
|
8690
8623
|
</dl>
|
|
8691
8624
|
</details>
|
|
8692
8625
|
|
|
8693
|
-
|
|
8694
|
-
|
|
8695
|
-
<details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">calculatePtoDeduction</a>(companyId, { ...params }) -> TheraApi.SuggestedDeductionResponse</code></summary>
|
|
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, checkPayrollId) -> void</code></summary>
|
|
8696
8627
|
<dl>
|
|
8697
8628
|
<dd>
|
|
8698
8629
|
|
|
@@ -8704,8 +8635,6 @@ await client.api.thera.payroll.oncycleApi.cancelCurrentAutopilotPayroll("string"
|
|
|
8704
8635
|
<dl>
|
|
8705
8636
|
<dd>
|
|
8706
8637
|
|
|
8707
|
-
Calculates suggested deduction amount for PTO exceeding accrual limits for Fixed Rate contacts
|
|
8708
|
-
|
|
8709
8638
|
</dd>
|
|
8710
8639
|
</dl>
|
|
8711
8640
|
</dd>
|
|
@@ -8720,10 +8649,7 @@ Calculates suggested deduction amount for PTO exceeding accrual limits for Fixed
|
|
|
8720
8649
|
<dd>
|
|
8721
8650
|
|
|
8722
8651
|
```typescript
|
|
8723
|
-
await client.api.thera.
|
|
8724
|
-
invoiceId: "string",
|
|
8725
|
-
timeOffRequestId: "string",
|
|
8726
|
-
});
|
|
8652
|
+
await client.api.thera.payroll.oncycleApi.cancelCurrentAutopilotPayroll("string", "string");
|
|
8727
8653
|
```
|
|
8728
8654
|
|
|
8729
8655
|
</dd>
|
|
@@ -8747,7 +8673,7 @@ await client.api.thera.timeoff.timeoffApi.calculatePtoDeduction("string", {
|
|
|
8747
8673
|
<dl>
|
|
8748
8674
|
<dd>
|
|
8749
8675
|
|
|
8750
|
-
**
|
|
8676
|
+
**checkPayrollId:** `string`
|
|
8751
8677
|
|
|
8752
8678
|
</dd>
|
|
8753
8679
|
</dl>
|
|
@@ -8755,7 +8681,7 @@ await client.api.thera.timeoff.timeoffApi.calculatePtoDeduction("string", {
|
|
|
8755
8681
|
<dl>
|
|
8756
8682
|
<dd>
|
|
8757
8683
|
|
|
8758
|
-
**requestOptions:** `
|
|
8684
|
+
**requestOptions:** `OncycleApi.RequestOptions`
|
|
8759
8685
|
|
|
8760
8686
|
</dd>
|
|
8761
8687
|
</dl>
|
|
@@ -8766,7 +8692,9 @@ await client.api.thera.timeoff.timeoffApi.calculatePtoDeduction("string", {
|
|
|
8766
8692
|
</dl>
|
|
8767
8693
|
</details>
|
|
8768
8694
|
|
|
8769
|
-
|
|
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>
|
|
8770
8698
|
<dl>
|
|
8771
8699
|
<dd>
|
|
8772
8700
|
|
|
@@ -8778,8 +8706,6 @@ await client.api.thera.timeoff.timeoffApi.calculatePtoDeduction("string", {
|
|
|
8778
8706
|
<dl>
|
|
8779
8707
|
<dd>
|
|
8780
8708
|
|
|
8781
|
-
Submit a list of complete contractors to be associated to the policy. Contractors not in the request are then automatically removed from the policy.
|
|
8782
|
-
|
|
8783
8709
|
</dd>
|
|
8784
8710
|
</dl>
|
|
8785
8711
|
</dd>
|
|
@@ -8794,8 +8720,12 @@ Submit a list of complete contractors to be associated to the policy. Contractor
|
|
|
8794
8720
|
<dd>
|
|
8795
8721
|
|
|
8796
8722
|
```typescript
|
|
8797
|
-
await client.api.thera.
|
|
8798
|
-
|
|
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",
|
|
8799
8729
|
});
|
|
8800
8730
|
```
|
|
8801
8731
|
|
|
@@ -8820,15 +8750,7 @@ await client.api.thera.timeoff.timeoffApi.associateTimeOffPolicyToContractor("st
|
|
|
8820
8750
|
<dl>
|
|
8821
8751
|
<dd>
|
|
8822
8752
|
|
|
8823
|
-
**
|
|
8824
|
-
|
|
8825
|
-
</dd>
|
|
8826
|
-
</dl>
|
|
8827
|
-
|
|
8828
|
-
<dl>
|
|
8829
|
-
<dd>
|
|
8830
|
-
|
|
8831
|
-
**request:** `TheraApi.AssociateTimeOffPoliciesToContractorRequest`
|
|
8753
|
+
**request:** `TheraApi.api.thera.payroll.CreatePayScheduleRequest`
|
|
8832
8754
|
|
|
8833
8755
|
</dd>
|
|
8834
8756
|
</dl>
|
|
@@ -8836,7 +8758,7 @@ await client.api.thera.timeoff.timeoffApi.associateTimeOffPolicyToContractor("st
|
|
|
8836
8758
|
<dl>
|
|
8837
8759
|
<dd>
|
|
8838
8760
|
|
|
8839
|
-
**requestOptions:** `
|
|
8761
|
+
**requestOptions:** `PayscheduleApi.RequestOptions`
|
|
8840
8762
|
|
|
8841
8763
|
</dd>
|
|
8842
8764
|
</dl>
|
|
@@ -8847,7 +8769,7 @@ await client.api.thera.timeoff.timeoffApi.associateTimeOffPolicyToContractor("st
|
|
|
8847
8769
|
</dl>
|
|
8848
8770
|
</details>
|
|
8849
8771
|
|
|
8850
|
-
<details><summary><code>client.api.thera.
|
|
8772
|
+
<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>
|
|
8851
8773
|
<dl>
|
|
8852
8774
|
<dd>
|
|
8853
8775
|
|
|
@@ -8873,18 +8795,7 @@ await client.api.thera.timeoff.timeoffApi.associateTimeOffPolicyToContractor("st
|
|
|
8873
8795
|
<dd>
|
|
8874
8796
|
|
|
8875
8797
|
```typescript
|
|
8876
|
-
await client.api.thera.
|
|
8877
|
-
contractId: "string",
|
|
8878
|
-
ptoRequest: {
|
|
8879
|
-
description: "string",
|
|
8880
|
-
dates: {
|
|
8881
|
-
"2023-01-15": {
|
|
8882
|
-
timeOffLength: "FULL_DAY",
|
|
8883
|
-
},
|
|
8884
|
-
},
|
|
8885
|
-
attachmentFileId: "string",
|
|
8886
|
-
},
|
|
8887
|
-
});
|
|
8798
|
+
await client.api.thera.payroll.payscheduleApi.getW2PaySchedule("string", "string");
|
|
8888
8799
|
```
|
|
8889
8800
|
|
|
8890
8801
|
</dd>
|
|
@@ -8908,15 +8819,7 @@ await client.api.thera.timeoff.timeoffApi.requestPtoForContractor("string", "str
|
|
|
8908
8819
|
<dl>
|
|
8909
8820
|
<dd>
|
|
8910
8821
|
|
|
8911
|
-
**
|
|
8912
|
-
|
|
8913
|
-
</dd>
|
|
8914
|
-
</dl>
|
|
8915
|
-
|
|
8916
|
-
<dl>
|
|
8917
|
-
<dd>
|
|
8918
|
-
|
|
8919
|
-
**request:** `TheraApi.CreatePtoForContractorRequest`
|
|
8822
|
+
**checkPayScheduleId:** `string`
|
|
8920
8823
|
|
|
8921
8824
|
</dd>
|
|
8922
8825
|
</dl>
|
|
@@ -8924,7 +8827,7 @@ await client.api.thera.timeoff.timeoffApi.requestPtoForContractor("string", "str
|
|
|
8924
8827
|
<dl>
|
|
8925
8828
|
<dd>
|
|
8926
8829
|
|
|
8927
|
-
**requestOptions:** `
|
|
8830
|
+
**requestOptions:** `PayscheduleApi.RequestOptions`
|
|
8928
8831
|
|
|
8929
8832
|
</dd>
|
|
8930
8833
|
</dl>
|
|
@@ -8935,7 +8838,7 @@ await client.api.thera.timeoff.timeoffApi.requestPtoForContractor("string", "str
|
|
|
8935
8838
|
</dl>
|
|
8936
8839
|
</details>
|
|
8937
8840
|
|
|
8938
|
-
<details><summary><code>client.api.thera.
|
|
8841
|
+
<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>
|
|
8939
8842
|
<dl>
|
|
8940
8843
|
<dd>
|
|
8941
8844
|
|
|
@@ -8947,8 +8850,6 @@ await client.api.thera.timeoff.timeoffApi.requestPtoForContractor("string", "str
|
|
|
8947
8850
|
<dl>
|
|
8948
8851
|
<dd>
|
|
8949
8852
|
|
|
8950
|
-
Adds a timeoff policy to company
|
|
8951
|
-
|
|
8952
8853
|
</dd>
|
|
8953
8854
|
</dl>
|
|
8954
8855
|
</dd>
|
|
@@ -8963,24 +8864,7 @@ Adds a timeoff policy to company
|
|
|
8963
8864
|
<dd>
|
|
8964
8865
|
|
|
8965
8866
|
```typescript
|
|
8966
|
-
await client.api.thera.
|
|
8967
|
-
policyName: "string",
|
|
8968
|
-
allowanceType: {
|
|
8969
|
-
type: "limitedAllowance",
|
|
8970
|
-
},
|
|
8971
|
-
midYearJoiningAllowance: "FULL_AMOUNT",
|
|
8972
|
-
payType: "UNPAID",
|
|
8973
|
-
leaveType: "string",
|
|
8974
|
-
isDefaultPolicy: true,
|
|
8975
|
-
contractIds: new Set(["string"]),
|
|
8976
|
-
accrualType: {
|
|
8977
|
-
["EMPLOYEE"]: "MONTHLY",
|
|
8978
|
-
},
|
|
8979
|
-
autoDeductEnabled: {
|
|
8980
|
-
["EMPLOYEE"]: true,
|
|
8981
|
-
},
|
|
8982
|
-
addPolicyFor: new Set(["EMPLOYEE"]),
|
|
8983
|
-
});
|
|
8867
|
+
await client.api.thera.payroll.payscheduleApi.listW2PaySchedules("string");
|
|
8984
8868
|
```
|
|
8985
8869
|
|
|
8986
8870
|
</dd>
|
|
@@ -9004,15 +8888,7 @@ await client.api.thera.timeoff.timeoffApi.addTimeOffPolicy("string", {
|
|
|
9004
8888
|
<dl>
|
|
9005
8889
|
<dd>
|
|
9006
8890
|
|
|
9007
|
-
**
|
|
9008
|
-
|
|
9009
|
-
</dd>
|
|
9010
|
-
</dl>
|
|
9011
|
-
|
|
9012
|
-
<dl>
|
|
9013
|
-
<dd>
|
|
9014
|
-
|
|
9015
|
-
**requestOptions:** `TimeoffApi.RequestOptions`
|
|
8891
|
+
**requestOptions:** `PayscheduleApi.RequestOptions`
|
|
9016
8892
|
|
|
9017
8893
|
</dd>
|
|
9018
8894
|
</dl>
|
|
@@ -9023,7 +8899,7 @@ await client.api.thera.timeoff.timeoffApi.addTimeOffPolicy("string", {
|
|
|
9023
8899
|
</dl>
|
|
9024
8900
|
</details>
|
|
9025
8901
|
|
|
9026
|
-
<details><summary><code>client.api.thera.
|
|
8902
|
+
<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>
|
|
9027
8903
|
<dl>
|
|
9028
8904
|
<dd>
|
|
9029
8905
|
|
|
@@ -9035,7 +8911,7 @@ await client.api.thera.timeoff.timeoffApi.addTimeOffPolicy("string", {
|
|
|
9035
8911
|
<dl>
|
|
9036
8912
|
<dd>
|
|
9037
8913
|
|
|
9038
|
-
|
|
8914
|
+
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
|
|
9039
8915
|
|
|
9040
8916
|
</dd>
|
|
9041
8917
|
</dl>
|
|
@@ -9051,7 +8927,7 @@ Gets a timeoff policy from company
|
|
|
9051
8927
|
<dd>
|
|
9052
8928
|
|
|
9053
8929
|
```typescript
|
|
9054
|
-
await client.api.thera.
|
|
8930
|
+
await client.api.thera.payroll.payscheduleApi.deleteW2PaySchedule("string", "string");
|
|
9055
8931
|
```
|
|
9056
8932
|
|
|
9057
8933
|
</dd>
|
|
@@ -9075,7 +8951,7 @@ await client.api.thera.timeoff.timeoffApi.getTimeOffPolicy("string", "string");
|
|
|
9075
8951
|
<dl>
|
|
9076
8952
|
<dd>
|
|
9077
8953
|
|
|
9078
|
-
**
|
|
8954
|
+
**checkPayScheduleId:** `string`
|
|
9079
8955
|
|
|
9080
8956
|
</dd>
|
|
9081
8957
|
</dl>
|
|
@@ -9083,7 +8959,7 @@ await client.api.thera.timeoff.timeoffApi.getTimeOffPolicy("string", "string");
|
|
|
9083
8959
|
<dl>
|
|
9084
8960
|
<dd>
|
|
9085
8961
|
|
|
9086
|
-
**requestOptions:** `
|
|
8962
|
+
**requestOptions:** `PayscheduleApi.RequestOptions`
|
|
9087
8963
|
|
|
9088
8964
|
</dd>
|
|
9089
8965
|
</dl>
|
|
@@ -9094,7 +8970,7 @@ await client.api.thera.timeoff.timeoffApi.getTimeOffPolicy("string", "string");
|
|
|
9094
8970
|
</dl>
|
|
9095
8971
|
</details>
|
|
9096
8972
|
|
|
9097
|
-
<details><summary><code>client.api.thera.
|
|
8973
|
+
<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>
|
|
9098
8974
|
<dl>
|
|
9099
8975
|
<dd>
|
|
9100
8976
|
|
|
@@ -9106,8 +8982,6 @@ await client.api.thera.timeoff.timeoffApi.getTimeOffPolicy("string", "string");
|
|
|
9106
8982
|
<dl>
|
|
9107
8983
|
<dd>
|
|
9108
8984
|
|
|
9109
|
-
Modifys a timeoff policy to company
|
|
9110
|
-
|
|
9111
8985
|
</dd>
|
|
9112
8986
|
</dl>
|
|
9113
8987
|
</dd>
|
|
@@ -9122,23 +8996,15 @@ Modifys a timeoff policy to company
|
|
|
9122
8996
|
<dd>
|
|
9123
8997
|
|
|
9124
8998
|
```typescript
|
|
9125
|
-
await client.api.thera.
|
|
9126
|
-
|
|
9127
|
-
|
|
9128
|
-
|
|
9129
|
-
|
|
9130
|
-
|
|
9131
|
-
|
|
9132
|
-
|
|
9133
|
-
isDefaultPolicy: true,
|
|
9134
|
-
contractIds: new Set(["string"]),
|
|
9135
|
-
accrualType: {
|
|
9136
|
-
["EMPLOYEE"]: "MONTHLY",
|
|
9137
|
-
},
|
|
9138
|
-
autoDeductEnabled: {
|
|
9139
|
-
["EMPLOYEE"]: true,
|
|
8999
|
+
await client.api.thera.payroll.payscheduleApi.updateW2PaySchedule("string", "string", {
|
|
9000
|
+
name: "string",
|
|
9001
|
+
payFrequency: "weekly",
|
|
9002
|
+
firstPeriodEndDate: "2023-01-15",
|
|
9003
|
+
firstPayDate: "2023-01-15",
|
|
9004
|
+
secondPayDate: "2023-01-15",
|
|
9005
|
+
metadata: {
|
|
9006
|
+
deleted: "string",
|
|
9140
9007
|
},
|
|
9141
|
-
addPolicyFor: new Set(["EMPLOYEE"]),
|
|
9142
9008
|
});
|
|
9143
9009
|
```
|
|
9144
9010
|
|
|
@@ -9163,7 +9029,7 @@ await client.api.thera.timeoff.timeoffApi.updateTimeOffPolicy("string", "string"
|
|
|
9163
9029
|
<dl>
|
|
9164
9030
|
<dd>
|
|
9165
9031
|
|
|
9166
|
-
**
|
|
9032
|
+
**checkPayScheduleId:** `string`
|
|
9167
9033
|
|
|
9168
9034
|
</dd>
|
|
9169
9035
|
</dl>
|
|
@@ -9171,7 +9037,7 @@ await client.api.thera.timeoff.timeoffApi.updateTimeOffPolicy("string", "string"
|
|
|
9171
9037
|
<dl>
|
|
9172
9038
|
<dd>
|
|
9173
9039
|
|
|
9174
|
-
**request:** `TheraApi.
|
|
9040
|
+
**request:** `TheraApi.api.thera.payroll.UpdatePayScheduleRequest`
|
|
9175
9041
|
|
|
9176
9042
|
</dd>
|
|
9177
9043
|
</dl>
|
|
@@ -9179,7 +9045,7 @@ await client.api.thera.timeoff.timeoffApi.updateTimeOffPolicy("string", "string"
|
|
|
9179
9045
|
<dl>
|
|
9180
9046
|
<dd>
|
|
9181
9047
|
|
|
9182
|
-
**requestOptions:** `
|
|
9048
|
+
**requestOptions:** `PayscheduleApi.RequestOptions`
|
|
9183
9049
|
|
|
9184
9050
|
</dd>
|
|
9185
9051
|
</dl>
|
|
@@ -9190,7 +9056,7 @@ await client.api.thera.timeoff.timeoffApi.updateTimeOffPolicy("string", "string"
|
|
|
9190
9056
|
</dl>
|
|
9191
9057
|
</details>
|
|
9192
9058
|
|
|
9193
|
-
<details><summary><code>client.api.thera.
|
|
9059
|
+
<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, checkPayScheduleId, { ...params }) -> TheraApi.AssignW2EmployeeToPayScheduleResponse</code></summary>
|
|
9194
9060
|
<dl>
|
|
9195
9061
|
<dd>
|
|
9196
9062
|
|
|
@@ -9202,7 +9068,7 @@ await client.api.thera.timeoff.timeoffApi.updateTimeOffPolicy("string", "string"
|
|
|
9202
9068
|
<dl>
|
|
9203
9069
|
<dd>
|
|
9204
9070
|
|
|
9205
|
-
|
|
9071
|
+
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
|
|
9206
9072
|
|
|
9207
9073
|
</dd>
|
|
9208
9074
|
</dl>
|
|
@@ -9218,7 +9084,11 @@ Deletes a timeoff policy from company
|
|
|
9218
9084
|
<dd>
|
|
9219
9085
|
|
|
9220
9086
|
```typescript
|
|
9221
|
-
await client.api.thera.
|
|
9087
|
+
await client.api.thera.payroll.payscheduleApi.assignW2EmployeesPaySchedule("string", "string", {
|
|
9088
|
+
checkPayScheduleIdByUserId: {
|
|
9089
|
+
string: "string",
|
|
9090
|
+
},
|
|
9091
|
+
});
|
|
9222
9092
|
```
|
|
9223
9093
|
|
|
9224
9094
|
</dd>
|
|
@@ -9242,7 +9112,7 @@ await client.api.thera.timeoff.timeoffApi.deleteTimeOffPolicy("string", "string"
|
|
|
9242
9112
|
<dl>
|
|
9243
9113
|
<dd>
|
|
9244
9114
|
|
|
9245
|
-
**
|
|
9115
|
+
**checkPayScheduleId:** `string`
|
|
9246
9116
|
|
|
9247
9117
|
</dd>
|
|
9248
9118
|
</dl>
|
|
@@ -9250,7 +9120,15 @@ await client.api.thera.timeoff.timeoffApi.deleteTimeOffPolicy("string", "string"
|
|
|
9250
9120
|
<dl>
|
|
9251
9121
|
<dd>
|
|
9252
9122
|
|
|
9253
|
-
**
|
|
9123
|
+
**request:** `TheraApi.api.thera.payroll.AssignW2EmployeeToPayScheduleRequest`
|
|
9124
|
+
|
|
9125
|
+
</dd>
|
|
9126
|
+
</dl>
|
|
9127
|
+
|
|
9128
|
+
<dl>
|
|
9129
|
+
<dd>
|
|
9130
|
+
|
|
9131
|
+
**requestOptions:** `PayscheduleApi.RequestOptions`
|
|
9254
9132
|
|
|
9255
9133
|
</dd>
|
|
9256
9134
|
</dl>
|
|
@@ -9261,7 +9139,9 @@ await client.api.thera.timeoff.timeoffApi.deleteTimeOffPolicy("string", "string"
|
|
|
9261
9139
|
</dl>
|
|
9262
9140
|
</details>
|
|
9263
9141
|
|
|
9264
|
-
|
|
9142
|
+
## Time Off Management
|
|
9143
|
+
|
|
9144
|
+
<details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">calculatePtoDeduction</a>(companyId, { ...params }) -> TheraApi.SuggestedDeductionResponse</code></summary>
|
|
9265
9145
|
<dl>
|
|
9266
9146
|
<dd>
|
|
9267
9147
|
|
|
@@ -9273,7 +9153,7 @@ await client.api.thera.timeoff.timeoffApi.deleteTimeOffPolicy("string", "string"
|
|
|
9273
9153
|
<dl>
|
|
9274
9154
|
<dd>
|
|
9275
9155
|
|
|
9276
|
-
|
|
9156
|
+
Calculates suggested deduction amount for PTO exceeding accrual limits for Fixed Rate contacts
|
|
9277
9157
|
|
|
9278
9158
|
</dd>
|
|
9279
9159
|
</dl>
|
|
@@ -9289,9 +9169,9 @@ Get All Contractors' Time Offs by Company
|
|
|
9289
9169
|
<dd>
|
|
9290
9170
|
|
|
9291
9171
|
```typescript
|
|
9292
|
-
await client.api.thera.timeoff.timeoffApi.
|
|
9293
|
-
|
|
9294
|
-
|
|
9172
|
+
await client.api.thera.timeoff.timeoffApi.calculatePtoDeduction("string", {
|
|
9173
|
+
invoiceId: "string",
|
|
9174
|
+
timeOffRequestId: "string",
|
|
9295
9175
|
});
|
|
9296
9176
|
```
|
|
9297
9177
|
|
|
@@ -9316,7 +9196,7 @@ await client.api.thera.timeoff.timeoffApi.getContractorsTimeOffHistoryByCompany(
|
|
|
9316
9196
|
<dl>
|
|
9317
9197
|
<dd>
|
|
9318
9198
|
|
|
9319
|
-
**request:** `TheraApi.api.thera.timeoff.
|
|
9199
|
+
**request:** `TheraApi.api.thera.timeoff.CalculatePtoDeductionRequest`
|
|
9320
9200
|
|
|
9321
9201
|
</dd>
|
|
9322
9202
|
</dl>
|
|
@@ -9335,7 +9215,7 @@ await client.api.thera.timeoff.timeoffApi.getContractorsTimeOffHistoryByCompany(
|
|
|
9335
9215
|
</dl>
|
|
9336
9216
|
</details>
|
|
9337
9217
|
|
|
9338
|
-
<details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">
|
|
9218
|
+
<details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">associateTimeOffPolicyToContractor</a>(companyId, policyId, { ...params }) -> void</code></summary>
|
|
9339
9219
|
<dl>
|
|
9340
9220
|
<dd>
|
|
9341
9221
|
|
|
@@ -9347,7 +9227,7 @@ await client.api.thera.timeoff.timeoffApi.getContractorsTimeOffHistoryByCompany(
|
|
|
9347
9227
|
<dl>
|
|
9348
9228
|
<dd>
|
|
9349
9229
|
|
|
9350
|
-
|
|
9230
|
+
Submit a list of complete contractors to be associated to the policy. Contractors not in the request are then automatically removed from the policy.
|
|
9351
9231
|
|
|
9352
9232
|
</dd>
|
|
9353
9233
|
</dl>
|
|
@@ -9363,7 +9243,9 @@ Get Time Off History By Contractor
|
|
|
9363
9243
|
<dd>
|
|
9364
9244
|
|
|
9365
9245
|
```typescript
|
|
9366
|
-
await client.api.thera.timeoff.timeoffApi.
|
|
9246
|
+
await client.api.thera.timeoff.timeoffApi.associateTimeOffPolicyToContractor("string", "string", {
|
|
9247
|
+
contractIds: ["string"],
|
|
9248
|
+
});
|
|
9367
9249
|
```
|
|
9368
9250
|
|
|
9369
9251
|
</dd>
|
|
@@ -9387,7 +9269,15 @@ await client.api.thera.timeoff.timeoffApi.getTimeOffHistoryByContractor("string"
|
|
|
9387
9269
|
<dl>
|
|
9388
9270
|
<dd>
|
|
9389
9271
|
|
|
9390
|
-
**
|
|
9272
|
+
**policyId:** `string`
|
|
9273
|
+
|
|
9274
|
+
</dd>
|
|
9275
|
+
</dl>
|
|
9276
|
+
|
|
9277
|
+
<dl>
|
|
9278
|
+
<dd>
|
|
9279
|
+
|
|
9280
|
+
**request:** `TheraApi.AssociateTimeOffPoliciesToContractorRequest`
|
|
9391
9281
|
|
|
9392
9282
|
</dd>
|
|
9393
9283
|
</dl>
|
|
@@ -9406,7 +9296,7 @@ await client.api.thera.timeoff.timeoffApi.getTimeOffHistoryByContractor("string"
|
|
|
9406
9296
|
</dl>
|
|
9407
9297
|
</details>
|
|
9408
9298
|
|
|
9409
|
-
<details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">
|
|
9299
|
+
<details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">requestPtoForContractor</a>(companyId, policyId, { ...params }) -> void</code></summary>
|
|
9410
9300
|
<dl>
|
|
9411
9301
|
<dd>
|
|
9412
9302
|
|
|
@@ -9418,8 +9308,6 @@ await client.api.thera.timeoff.timeoffApi.getTimeOffHistoryByContractor("string"
|
|
|
9418
9308
|
<dl>
|
|
9419
9309
|
<dd>
|
|
9420
9310
|
|
|
9421
|
-
Get Contractor Policies' Details By Policy
|
|
9422
|
-
|
|
9423
9311
|
</dd>
|
|
9424
9312
|
</dl>
|
|
9425
9313
|
</dd>
|
|
@@ -9434,12 +9322,573 @@ Get Contractor Policies' Details By Policy
|
|
|
9434
9322
|
<dd>
|
|
9435
9323
|
|
|
9436
9324
|
```typescript
|
|
9437
|
-
await client.api.thera.timeoff.timeoffApi.
|
|
9438
|
-
|
|
9439
|
-
|
|
9440
|
-
|
|
9441
|
-
|
|
9442
|
-
|
|
9325
|
+
await client.api.thera.timeoff.timeoffApi.requestPtoForContractor("string", "string", {
|
|
9326
|
+
contractId: "string",
|
|
9327
|
+
ptoRequest: {
|
|
9328
|
+
description: "string",
|
|
9329
|
+
dates: {
|
|
9330
|
+
"2023-01-15": {
|
|
9331
|
+
timeOffLength: "FULL_DAY",
|
|
9332
|
+
},
|
|
9333
|
+
},
|
|
9334
|
+
attachmentFileId: "string",
|
|
9335
|
+
},
|
|
9336
|
+
});
|
|
9337
|
+
```
|
|
9338
|
+
|
|
9339
|
+
</dd>
|
|
9340
|
+
</dl>
|
|
9341
|
+
</dd>
|
|
9342
|
+
</dl>
|
|
9343
|
+
|
|
9344
|
+
#### ⚙️ Parameters
|
|
9345
|
+
|
|
9346
|
+
<dl>
|
|
9347
|
+
<dd>
|
|
9348
|
+
|
|
9349
|
+
<dl>
|
|
9350
|
+
<dd>
|
|
9351
|
+
|
|
9352
|
+
**companyId:** `string`
|
|
9353
|
+
|
|
9354
|
+
</dd>
|
|
9355
|
+
</dl>
|
|
9356
|
+
|
|
9357
|
+
<dl>
|
|
9358
|
+
<dd>
|
|
9359
|
+
|
|
9360
|
+
**policyId:** `string`
|
|
9361
|
+
|
|
9362
|
+
</dd>
|
|
9363
|
+
</dl>
|
|
9364
|
+
|
|
9365
|
+
<dl>
|
|
9366
|
+
<dd>
|
|
9367
|
+
|
|
9368
|
+
**request:** `TheraApi.CreatePtoForContractorRequest`
|
|
9369
|
+
|
|
9370
|
+
</dd>
|
|
9371
|
+
</dl>
|
|
9372
|
+
|
|
9373
|
+
<dl>
|
|
9374
|
+
<dd>
|
|
9375
|
+
|
|
9376
|
+
**requestOptions:** `TimeoffApi.RequestOptions`
|
|
9377
|
+
|
|
9378
|
+
</dd>
|
|
9379
|
+
</dl>
|
|
9380
|
+
</dd>
|
|
9381
|
+
</dl>
|
|
9382
|
+
|
|
9383
|
+
</dd>
|
|
9384
|
+
</dl>
|
|
9385
|
+
</details>
|
|
9386
|
+
|
|
9387
|
+
<details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">addTimeOffPolicy</a>(companyId, { ...params }) -> unknown</code></summary>
|
|
9388
|
+
<dl>
|
|
9389
|
+
<dd>
|
|
9390
|
+
|
|
9391
|
+
#### 📝 Description
|
|
9392
|
+
|
|
9393
|
+
<dl>
|
|
9394
|
+
<dd>
|
|
9395
|
+
|
|
9396
|
+
<dl>
|
|
9397
|
+
<dd>
|
|
9398
|
+
|
|
9399
|
+
Adds a timeoff policy to company
|
|
9400
|
+
|
|
9401
|
+
</dd>
|
|
9402
|
+
</dl>
|
|
9403
|
+
</dd>
|
|
9404
|
+
</dl>
|
|
9405
|
+
|
|
9406
|
+
#### 🔌 Usage
|
|
9407
|
+
|
|
9408
|
+
<dl>
|
|
9409
|
+
<dd>
|
|
9410
|
+
|
|
9411
|
+
<dl>
|
|
9412
|
+
<dd>
|
|
9413
|
+
|
|
9414
|
+
```typescript
|
|
9415
|
+
await client.api.thera.timeoff.timeoffApi.addTimeOffPolicy("string", {
|
|
9416
|
+
policyName: "string",
|
|
9417
|
+
allowanceType: {
|
|
9418
|
+
type: "limitedAllowance",
|
|
9419
|
+
},
|
|
9420
|
+
midYearJoiningAllowance: "FULL_AMOUNT",
|
|
9421
|
+
payType: "UNPAID",
|
|
9422
|
+
leaveType: "string",
|
|
9423
|
+
isDefaultPolicy: true,
|
|
9424
|
+
contractIds: new Set(["string"]),
|
|
9425
|
+
accrualType: {
|
|
9426
|
+
["EMPLOYEE"]: "MONTHLY",
|
|
9427
|
+
},
|
|
9428
|
+
autoDeductEnabled: {
|
|
9429
|
+
["EMPLOYEE"]: true,
|
|
9430
|
+
},
|
|
9431
|
+
addPolicyFor: new Set(["EMPLOYEE"]),
|
|
9432
|
+
});
|
|
9433
|
+
```
|
|
9434
|
+
|
|
9435
|
+
</dd>
|
|
9436
|
+
</dl>
|
|
9437
|
+
</dd>
|
|
9438
|
+
</dl>
|
|
9439
|
+
|
|
9440
|
+
#### ⚙️ Parameters
|
|
9441
|
+
|
|
9442
|
+
<dl>
|
|
9443
|
+
<dd>
|
|
9444
|
+
|
|
9445
|
+
<dl>
|
|
9446
|
+
<dd>
|
|
9447
|
+
|
|
9448
|
+
**companyId:** `string`
|
|
9449
|
+
|
|
9450
|
+
</dd>
|
|
9451
|
+
</dl>
|
|
9452
|
+
|
|
9453
|
+
<dl>
|
|
9454
|
+
<dd>
|
|
9455
|
+
|
|
9456
|
+
**request:** `TheraApi.AddTimeOffPolicyRequest`
|
|
9457
|
+
|
|
9458
|
+
</dd>
|
|
9459
|
+
</dl>
|
|
9460
|
+
|
|
9461
|
+
<dl>
|
|
9462
|
+
<dd>
|
|
9463
|
+
|
|
9464
|
+
**requestOptions:** `TimeoffApi.RequestOptions`
|
|
9465
|
+
|
|
9466
|
+
</dd>
|
|
9467
|
+
</dl>
|
|
9468
|
+
</dd>
|
|
9469
|
+
</dl>
|
|
9470
|
+
|
|
9471
|
+
</dd>
|
|
9472
|
+
</dl>
|
|
9473
|
+
</details>
|
|
9474
|
+
|
|
9475
|
+
<details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">getTimeOffPolicy</a>(companyId, policyId) -> TheraApi.TimeOffPolicy</code></summary>
|
|
9476
|
+
<dl>
|
|
9477
|
+
<dd>
|
|
9478
|
+
|
|
9479
|
+
#### 📝 Description
|
|
9480
|
+
|
|
9481
|
+
<dl>
|
|
9482
|
+
<dd>
|
|
9483
|
+
|
|
9484
|
+
<dl>
|
|
9485
|
+
<dd>
|
|
9486
|
+
|
|
9487
|
+
Gets a timeoff policy from company
|
|
9488
|
+
|
|
9489
|
+
</dd>
|
|
9490
|
+
</dl>
|
|
9491
|
+
</dd>
|
|
9492
|
+
</dl>
|
|
9493
|
+
|
|
9494
|
+
#### 🔌 Usage
|
|
9495
|
+
|
|
9496
|
+
<dl>
|
|
9497
|
+
<dd>
|
|
9498
|
+
|
|
9499
|
+
<dl>
|
|
9500
|
+
<dd>
|
|
9501
|
+
|
|
9502
|
+
```typescript
|
|
9503
|
+
await client.api.thera.timeoff.timeoffApi.getTimeOffPolicy("string", "string");
|
|
9504
|
+
```
|
|
9505
|
+
|
|
9506
|
+
</dd>
|
|
9507
|
+
</dl>
|
|
9508
|
+
</dd>
|
|
9509
|
+
</dl>
|
|
9510
|
+
|
|
9511
|
+
#### ⚙️ Parameters
|
|
9512
|
+
|
|
9513
|
+
<dl>
|
|
9514
|
+
<dd>
|
|
9515
|
+
|
|
9516
|
+
<dl>
|
|
9517
|
+
<dd>
|
|
9518
|
+
|
|
9519
|
+
**companyId:** `string`
|
|
9520
|
+
|
|
9521
|
+
</dd>
|
|
9522
|
+
</dl>
|
|
9523
|
+
|
|
9524
|
+
<dl>
|
|
9525
|
+
<dd>
|
|
9526
|
+
|
|
9527
|
+
**policyId:** `string`
|
|
9528
|
+
|
|
9529
|
+
</dd>
|
|
9530
|
+
</dl>
|
|
9531
|
+
|
|
9532
|
+
<dl>
|
|
9533
|
+
<dd>
|
|
9534
|
+
|
|
9535
|
+
**requestOptions:** `TimeoffApi.RequestOptions`
|
|
9536
|
+
|
|
9537
|
+
</dd>
|
|
9538
|
+
</dl>
|
|
9539
|
+
</dd>
|
|
9540
|
+
</dl>
|
|
9541
|
+
|
|
9542
|
+
</dd>
|
|
9543
|
+
</dl>
|
|
9544
|
+
</details>
|
|
9545
|
+
|
|
9546
|
+
<details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">updateTimeOffPolicy</a>(companyId, policyId, { ...params }) -> unknown</code></summary>
|
|
9547
|
+
<dl>
|
|
9548
|
+
<dd>
|
|
9549
|
+
|
|
9550
|
+
#### 📝 Description
|
|
9551
|
+
|
|
9552
|
+
<dl>
|
|
9553
|
+
<dd>
|
|
9554
|
+
|
|
9555
|
+
<dl>
|
|
9556
|
+
<dd>
|
|
9557
|
+
|
|
9558
|
+
Modifys a timeoff policy to company
|
|
9559
|
+
|
|
9560
|
+
</dd>
|
|
9561
|
+
</dl>
|
|
9562
|
+
</dd>
|
|
9563
|
+
</dl>
|
|
9564
|
+
|
|
9565
|
+
#### 🔌 Usage
|
|
9566
|
+
|
|
9567
|
+
<dl>
|
|
9568
|
+
<dd>
|
|
9569
|
+
|
|
9570
|
+
<dl>
|
|
9571
|
+
<dd>
|
|
9572
|
+
|
|
9573
|
+
```typescript
|
|
9574
|
+
await client.api.thera.timeoff.timeoffApi.updateTimeOffPolicy("string", "string", {
|
|
9575
|
+
policyName: "string",
|
|
9576
|
+
allowanceType: {
|
|
9577
|
+
type: "limitedAllowance",
|
|
9578
|
+
},
|
|
9579
|
+
midYearJoiningAllowance: "FULL_AMOUNT",
|
|
9580
|
+
payType: "UNPAID",
|
|
9581
|
+
leaveType: "string",
|
|
9582
|
+
isDefaultPolicy: true,
|
|
9583
|
+
contractIds: new Set(["string"]),
|
|
9584
|
+
accrualType: {
|
|
9585
|
+
["EMPLOYEE"]: "MONTHLY",
|
|
9586
|
+
},
|
|
9587
|
+
autoDeductEnabled: {
|
|
9588
|
+
["EMPLOYEE"]: true,
|
|
9589
|
+
},
|
|
9590
|
+
addPolicyFor: new Set(["EMPLOYEE"]),
|
|
9591
|
+
});
|
|
9592
|
+
```
|
|
9593
|
+
|
|
9594
|
+
</dd>
|
|
9595
|
+
</dl>
|
|
9596
|
+
</dd>
|
|
9597
|
+
</dl>
|
|
9598
|
+
|
|
9599
|
+
#### ⚙️ Parameters
|
|
9600
|
+
|
|
9601
|
+
<dl>
|
|
9602
|
+
<dd>
|
|
9603
|
+
|
|
9604
|
+
<dl>
|
|
9605
|
+
<dd>
|
|
9606
|
+
|
|
9607
|
+
**companyId:** `string`
|
|
9608
|
+
|
|
9609
|
+
</dd>
|
|
9610
|
+
</dl>
|
|
9611
|
+
|
|
9612
|
+
<dl>
|
|
9613
|
+
<dd>
|
|
9614
|
+
|
|
9615
|
+
**policyId:** `string`
|
|
9616
|
+
|
|
9617
|
+
</dd>
|
|
9618
|
+
</dl>
|
|
9619
|
+
|
|
9620
|
+
<dl>
|
|
9621
|
+
<dd>
|
|
9622
|
+
|
|
9623
|
+
**request:** `TheraApi.UpdateTimeOffPolicyRequest`
|
|
9624
|
+
|
|
9625
|
+
</dd>
|
|
9626
|
+
</dl>
|
|
9627
|
+
|
|
9628
|
+
<dl>
|
|
9629
|
+
<dd>
|
|
9630
|
+
|
|
9631
|
+
**requestOptions:** `TimeoffApi.RequestOptions`
|
|
9632
|
+
|
|
9633
|
+
</dd>
|
|
9634
|
+
</dl>
|
|
9635
|
+
</dd>
|
|
9636
|
+
</dl>
|
|
9637
|
+
|
|
9638
|
+
</dd>
|
|
9639
|
+
</dl>
|
|
9640
|
+
</details>
|
|
9641
|
+
|
|
9642
|
+
<details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">deleteTimeOffPolicy</a>(companyId, policyId) -> unknown</code></summary>
|
|
9643
|
+
<dl>
|
|
9644
|
+
<dd>
|
|
9645
|
+
|
|
9646
|
+
#### 📝 Description
|
|
9647
|
+
|
|
9648
|
+
<dl>
|
|
9649
|
+
<dd>
|
|
9650
|
+
|
|
9651
|
+
<dl>
|
|
9652
|
+
<dd>
|
|
9653
|
+
|
|
9654
|
+
Deletes a timeoff policy from company
|
|
9655
|
+
|
|
9656
|
+
</dd>
|
|
9657
|
+
</dl>
|
|
9658
|
+
</dd>
|
|
9659
|
+
</dl>
|
|
9660
|
+
|
|
9661
|
+
#### 🔌 Usage
|
|
9662
|
+
|
|
9663
|
+
<dl>
|
|
9664
|
+
<dd>
|
|
9665
|
+
|
|
9666
|
+
<dl>
|
|
9667
|
+
<dd>
|
|
9668
|
+
|
|
9669
|
+
```typescript
|
|
9670
|
+
await client.api.thera.timeoff.timeoffApi.deleteTimeOffPolicy("string", "string");
|
|
9671
|
+
```
|
|
9672
|
+
|
|
9673
|
+
</dd>
|
|
9674
|
+
</dl>
|
|
9675
|
+
</dd>
|
|
9676
|
+
</dl>
|
|
9677
|
+
|
|
9678
|
+
#### ⚙️ Parameters
|
|
9679
|
+
|
|
9680
|
+
<dl>
|
|
9681
|
+
<dd>
|
|
9682
|
+
|
|
9683
|
+
<dl>
|
|
9684
|
+
<dd>
|
|
9685
|
+
|
|
9686
|
+
**companyId:** `string`
|
|
9687
|
+
|
|
9688
|
+
</dd>
|
|
9689
|
+
</dl>
|
|
9690
|
+
|
|
9691
|
+
<dl>
|
|
9692
|
+
<dd>
|
|
9693
|
+
|
|
9694
|
+
**policyId:** `string`
|
|
9695
|
+
|
|
9696
|
+
</dd>
|
|
9697
|
+
</dl>
|
|
9698
|
+
|
|
9699
|
+
<dl>
|
|
9700
|
+
<dd>
|
|
9701
|
+
|
|
9702
|
+
**requestOptions:** `TimeoffApi.RequestOptions`
|
|
9703
|
+
|
|
9704
|
+
</dd>
|
|
9705
|
+
</dl>
|
|
9706
|
+
</dd>
|
|
9707
|
+
</dl>
|
|
9708
|
+
|
|
9709
|
+
</dd>
|
|
9710
|
+
</dl>
|
|
9711
|
+
</details>
|
|
9712
|
+
|
|
9713
|
+
<details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">getContractorsTimeOffHistoryByCompany</a>(companyId, { ...params }) -> TheraApi.GetContractorsTimeOffsByCompany</code></summary>
|
|
9714
|
+
<dl>
|
|
9715
|
+
<dd>
|
|
9716
|
+
|
|
9717
|
+
#### 📝 Description
|
|
9718
|
+
|
|
9719
|
+
<dl>
|
|
9720
|
+
<dd>
|
|
9721
|
+
|
|
9722
|
+
<dl>
|
|
9723
|
+
<dd>
|
|
9724
|
+
|
|
9725
|
+
Get All Contractors' Time Offs by Company
|
|
9726
|
+
|
|
9727
|
+
</dd>
|
|
9728
|
+
</dl>
|
|
9729
|
+
</dd>
|
|
9730
|
+
</dl>
|
|
9731
|
+
|
|
9732
|
+
#### 🔌 Usage
|
|
9733
|
+
|
|
9734
|
+
<dl>
|
|
9735
|
+
<dd>
|
|
9736
|
+
|
|
9737
|
+
<dl>
|
|
9738
|
+
<dd>
|
|
9739
|
+
|
|
9740
|
+
```typescript
|
|
9741
|
+
await client.api.thera.timeoff.timeoffApi.getContractorsTimeOffHistoryByCompany("string", {
|
|
9742
|
+
timeOffStatus: "IN_REVIEW",
|
|
9743
|
+
timeOffPolicyId: "string",
|
|
9744
|
+
});
|
|
9745
|
+
```
|
|
9746
|
+
|
|
9747
|
+
</dd>
|
|
9748
|
+
</dl>
|
|
9749
|
+
</dd>
|
|
9750
|
+
</dl>
|
|
9751
|
+
|
|
9752
|
+
#### ⚙️ Parameters
|
|
9753
|
+
|
|
9754
|
+
<dl>
|
|
9755
|
+
<dd>
|
|
9756
|
+
|
|
9757
|
+
<dl>
|
|
9758
|
+
<dd>
|
|
9759
|
+
|
|
9760
|
+
**companyId:** `string`
|
|
9761
|
+
|
|
9762
|
+
</dd>
|
|
9763
|
+
</dl>
|
|
9764
|
+
|
|
9765
|
+
<dl>
|
|
9766
|
+
<dd>
|
|
9767
|
+
|
|
9768
|
+
**request:** `TheraApi.api.thera.timeoff.GetAllContractorsTimeOffHistoryByCompanyRequest`
|
|
9769
|
+
|
|
9770
|
+
</dd>
|
|
9771
|
+
</dl>
|
|
9772
|
+
|
|
9773
|
+
<dl>
|
|
9774
|
+
<dd>
|
|
9775
|
+
|
|
9776
|
+
**requestOptions:** `TimeoffApi.RequestOptions`
|
|
9777
|
+
|
|
9778
|
+
</dd>
|
|
9779
|
+
</dl>
|
|
9780
|
+
</dd>
|
|
9781
|
+
</dl>
|
|
9782
|
+
|
|
9783
|
+
</dd>
|
|
9784
|
+
</dl>
|
|
9785
|
+
</details>
|
|
9786
|
+
|
|
9787
|
+
<details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">getTimeOffHistoryByContractor</a>(companyId, userId) -> TheraApi.GetTimeOffHistoryByContractorResponse</code></summary>
|
|
9788
|
+
<dl>
|
|
9789
|
+
<dd>
|
|
9790
|
+
|
|
9791
|
+
#### 📝 Description
|
|
9792
|
+
|
|
9793
|
+
<dl>
|
|
9794
|
+
<dd>
|
|
9795
|
+
|
|
9796
|
+
<dl>
|
|
9797
|
+
<dd>
|
|
9798
|
+
|
|
9799
|
+
Get Time Off History By Contractor
|
|
9800
|
+
|
|
9801
|
+
</dd>
|
|
9802
|
+
</dl>
|
|
9803
|
+
</dd>
|
|
9804
|
+
</dl>
|
|
9805
|
+
|
|
9806
|
+
#### 🔌 Usage
|
|
9807
|
+
|
|
9808
|
+
<dl>
|
|
9809
|
+
<dd>
|
|
9810
|
+
|
|
9811
|
+
<dl>
|
|
9812
|
+
<dd>
|
|
9813
|
+
|
|
9814
|
+
```typescript
|
|
9815
|
+
await client.api.thera.timeoff.timeoffApi.getTimeOffHistoryByContractor("string", "string");
|
|
9816
|
+
```
|
|
9817
|
+
|
|
9818
|
+
</dd>
|
|
9819
|
+
</dl>
|
|
9820
|
+
</dd>
|
|
9821
|
+
</dl>
|
|
9822
|
+
|
|
9823
|
+
#### ⚙️ Parameters
|
|
9824
|
+
|
|
9825
|
+
<dl>
|
|
9826
|
+
<dd>
|
|
9827
|
+
|
|
9828
|
+
<dl>
|
|
9829
|
+
<dd>
|
|
9830
|
+
|
|
9831
|
+
**companyId:** `string`
|
|
9832
|
+
|
|
9833
|
+
</dd>
|
|
9834
|
+
</dl>
|
|
9835
|
+
|
|
9836
|
+
<dl>
|
|
9837
|
+
<dd>
|
|
9838
|
+
|
|
9839
|
+
**userId:** `string`
|
|
9840
|
+
|
|
9841
|
+
</dd>
|
|
9842
|
+
</dl>
|
|
9843
|
+
|
|
9844
|
+
<dl>
|
|
9845
|
+
<dd>
|
|
9846
|
+
|
|
9847
|
+
**requestOptions:** `TimeoffApi.RequestOptions`
|
|
9848
|
+
|
|
9849
|
+
</dd>
|
|
9850
|
+
</dl>
|
|
9851
|
+
</dd>
|
|
9852
|
+
</dl>
|
|
9853
|
+
|
|
9854
|
+
</dd>
|
|
9855
|
+
</dl>
|
|
9856
|
+
</details>
|
|
9857
|
+
|
|
9858
|
+
<details><summary><code>client.api.thera.timeoff.timeoffApi.<a href="/src/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.ts">getContractorsPoliciesDetailsByPolicy</a>(companyId, policyId, { ...params }) -> TheraApi.GetContractorPoliciesDetailsByPolicy</code></summary>
|
|
9859
|
+
<dl>
|
|
9860
|
+
<dd>
|
|
9861
|
+
|
|
9862
|
+
#### 📝 Description
|
|
9863
|
+
|
|
9864
|
+
<dl>
|
|
9865
|
+
<dd>
|
|
9866
|
+
|
|
9867
|
+
<dl>
|
|
9868
|
+
<dd>
|
|
9869
|
+
|
|
9870
|
+
Get Contractor Policies' Details By Policy
|
|
9871
|
+
|
|
9872
|
+
</dd>
|
|
9873
|
+
</dl>
|
|
9874
|
+
</dd>
|
|
9875
|
+
</dl>
|
|
9876
|
+
|
|
9877
|
+
#### 🔌 Usage
|
|
9878
|
+
|
|
9879
|
+
<dl>
|
|
9880
|
+
<dd>
|
|
9881
|
+
|
|
9882
|
+
<dl>
|
|
9883
|
+
<dd>
|
|
9884
|
+
|
|
9885
|
+
```typescript
|
|
9886
|
+
await client.api.thera.timeoff.timeoffApi.getContractorsPoliciesDetailsByPolicy("string", "string", {
|
|
9887
|
+
year: 1,
|
|
9888
|
+
});
|
|
9889
|
+
```
|
|
9890
|
+
|
|
9891
|
+
</dd>
|
|
9443
9892
|
</dl>
|
|
9444
9893
|
</dd>
|
|
9445
9894
|
</dl>
|
|
@@ -11337,6 +11786,106 @@ await client.api.thera.tp.tpApi.externalTransferFund({
|
|
|
11337
11786
|
</dl>
|
|
11338
11787
|
</details>
|
|
11339
11788
|
|
|
11789
|
+
<details><summary><code>client.api.thera.tp.tpApi.<a href="/src/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.ts">withdrawalTheraCash</a>(companyId, { ...params }) -> unknown</code></summary>
|
|
11790
|
+
<dl>
|
|
11791
|
+
<dd>
|
|
11792
|
+
|
|
11793
|
+
#### 📝 Description
|
|
11794
|
+
|
|
11795
|
+
<dl>
|
|
11796
|
+
<dd>
|
|
11797
|
+
|
|
11798
|
+
<dl>
|
|
11799
|
+
<dd>
|
|
11800
|
+
|
|
11801
|
+
Withdrawal funds from thera cash to user's personal account via ach or wire
|
|
11802
|
+
|
|
11803
|
+
</dd>
|
|
11804
|
+
</dl>
|
|
11805
|
+
</dd>
|
|
11806
|
+
</dl>
|
|
11807
|
+
|
|
11808
|
+
#### 🔌 Usage
|
|
11809
|
+
|
|
11810
|
+
<dl>
|
|
11811
|
+
<dd>
|
|
11812
|
+
|
|
11813
|
+
<dl>
|
|
11814
|
+
<dd>
|
|
11815
|
+
|
|
11816
|
+
```typescript
|
|
11817
|
+
await client.api.thera.tp.tpApi.withdrawalTheraCash("string", {
|
|
11818
|
+
nameOnAccount: "string",
|
|
11819
|
+
amount: "string",
|
|
11820
|
+
ach: {
|
|
11821
|
+
accountNumber: "string",
|
|
11822
|
+
accountType: "string",
|
|
11823
|
+
routingNumber: "string",
|
|
11824
|
+
},
|
|
11825
|
+
wire: {
|
|
11826
|
+
accountNumber: "string",
|
|
11827
|
+
routingNumber: "string",
|
|
11828
|
+
addressOnAccount: {
|
|
11829
|
+
streetLine1: "string",
|
|
11830
|
+
streetLine2: "string",
|
|
11831
|
+
city: "string",
|
|
11832
|
+
state: "string",
|
|
11833
|
+
postalCode: "string",
|
|
11834
|
+
country: "string",
|
|
11835
|
+
},
|
|
11836
|
+
bankName: "string",
|
|
11837
|
+
bankAddress: {
|
|
11838
|
+
streetLine1: "string",
|
|
11839
|
+
streetLine2: "string",
|
|
11840
|
+
city: "string",
|
|
11841
|
+
state: "string",
|
|
11842
|
+
postalCode: "string",
|
|
11843
|
+
country: "string",
|
|
11844
|
+
},
|
|
11845
|
+
},
|
|
11846
|
+
});
|
|
11847
|
+
```
|
|
11848
|
+
|
|
11849
|
+
</dd>
|
|
11850
|
+
</dl>
|
|
11851
|
+
</dd>
|
|
11852
|
+
</dl>
|
|
11853
|
+
|
|
11854
|
+
#### ⚙️ Parameters
|
|
11855
|
+
|
|
11856
|
+
<dl>
|
|
11857
|
+
<dd>
|
|
11858
|
+
|
|
11859
|
+
<dl>
|
|
11860
|
+
<dd>
|
|
11861
|
+
|
|
11862
|
+
**companyId:** `string`
|
|
11863
|
+
|
|
11864
|
+
</dd>
|
|
11865
|
+
</dl>
|
|
11866
|
+
|
|
11867
|
+
<dl>
|
|
11868
|
+
<dd>
|
|
11869
|
+
|
|
11870
|
+
**request:** `TheraApi.WithdrawalTheraCash`
|
|
11871
|
+
|
|
11872
|
+
</dd>
|
|
11873
|
+
</dl>
|
|
11874
|
+
|
|
11875
|
+
<dl>
|
|
11876
|
+
<dd>
|
|
11877
|
+
|
|
11878
|
+
**requestOptions:** `TpApi.RequestOptions`
|
|
11879
|
+
|
|
11880
|
+
</dd>
|
|
11881
|
+
</dl>
|
|
11882
|
+
</dd>
|
|
11883
|
+
</dl>
|
|
11884
|
+
|
|
11885
|
+
</dd>
|
|
11886
|
+
</dl>
|
|
11887
|
+
</details>
|
|
11888
|
+
|
|
11340
11889
|
## User API
|
|
11341
11890
|
|
|
11342
11891
|
<details><summary><code>client.api.thera.user.userApi.<a href="/src/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.ts">setUserComplianceSetting</a>(userId, companyId, { ...params }) -> void</code></summary>
|