@thera-hr/api-sdk 0.0.1-prerelease3182-dev-3 → 0.0.1-prerelease3182-production
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 +7 -7
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +44 -44
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/EorPayIn.d.ts +2 -1
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.d.ts +2 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +26 -24
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccount.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Transfer.d.ts +1 -0
- 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.d.ts +21 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +97 -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/incorporation/resources/incorporationApi/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 +11 -6
- package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/Client.d.ts +158 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/Client.js +662 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/index.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/index.js +17 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/BulkApproveW2ExpenseRequest.d.ts +12 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/BulkApproveW2ExpenseRequest.js +5 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/BulkDenyW2ExpenseRequest.d.ts +12 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/BulkDenyW2ExpenseRequest.js +5 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/CreateExpenseRequest.d.ts +32 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/CreateExpenseRequest.js +5 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/index.d.ts +3 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/index.js +2 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/index.d.ts +2 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/index.js +18 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/UpdateExpenseRequest.d.ts +14 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/UpdateExpenseRequest.js +5 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/UpdateExpenseStatusRequest.d.ts +8 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/UpdateExpenseStatusRequest.js +10 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/index.d.ts +2 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/index.js +18 -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.js +4 -4
- package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +7 -7
- package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.d.ts +57 -2
- package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +118 -16
- package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/requests/GetHolidayDatesByUserIdRequest.d.ts +14 -0
- package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/requests/GetHolidayDatesByUserIdRequest.js +5 -0
- package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/requests/index.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/AddTimeOffPolicyRequest.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/GetHolidayDatesByUserIdResponse.d.ts +10 -0
- package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/GetHolidayDatesByUserIdResponse.js +5 -0
- package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/UpdateTimeOffPolicyRequest.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/index.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/index.js +1 -0
- 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 +2 -1
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +13 -12
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/ProcessFundsTransfer.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -4
- package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -4
- package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
- package/api/resources/db/resources/company/types/AssociateUsersToHolidayPolicyResponse.d.ts +5 -0
- package/api/resources/db/resources/company/types/AssociateUsersToHolidayPolicyResponse.js +5 -0
- package/api/resources/db/resources/company/types/CompanyHolidaysResponse.d.ts +8 -0
- package/api/resources/db/resources/company/types/CompanyHolidaysResponse.js +5 -0
- package/api/resources/db/resources/company/types/DeleteCustomHolidayResponse.d.ts +5 -0
- package/api/resources/db/resources/company/types/DeleteCustomHolidayResponse.js +5 -0
- package/api/resources/db/resources/company/types/Holiday.d.ts +15 -0
- package/api/resources/db/resources/company/types/Holiday.js +5 -0
- package/api/resources/db/resources/company/types/HolidayDate.d.ts +9 -0
- package/api/resources/db/resources/company/types/HolidayDate.js +5 -0
- package/api/resources/db/resources/company/types/HolidaySettings.d.ts +8 -0
- package/api/resources/db/resources/company/types/HolidaySettings.js +5 -0
- package/api/resources/db/resources/company/types/HolidayType.d.ts +8 -0
- package/api/resources/db/resources/company/types/HolidayType.js +10 -0
- package/api/resources/db/resources/company/types/TimeOffPolicy.d.ts +1 -0
- package/api/resources/db/resources/company/types/TimeOffType.d.ts +2 -1
- package/api/resources/db/resources/company/types/TimeOffType.js +1 -0
- package/api/resources/db/resources/company/types/UserHolidaysResponse.d.ts +11 -0
- package/api/resources/db/resources/company/types/UserHolidaysResponse.js +5 -0
- package/api/resources/db/resources/company/types/W2Payroll.d.ts +0 -1
- package/api/resources/db/resources/company/types/index.d.ts +8 -0
- package/api/resources/db/resources/company/types/index.js +8 -0
- package/api/resources/db/resources/expense/index.d.ts +1 -0
- package/api/resources/db/resources/expense/index.js +17 -0
- package/api/resources/db/resources/expense/types/Expense.d.ts +24 -0
- package/api/resources/db/resources/expense/types/Expense.js +5 -0
- package/api/resources/db/resources/expense/types/ExpenseStatus.d.ts +13 -0
- package/api/resources/db/resources/expense/types/ExpenseStatus.js +15 -0
- package/api/resources/db/resources/expense/types/ExpenseType.d.ts +7 -0
- package/api/resources/db/resources/expense/types/ExpenseType.js +9 -0
- package/api/resources/db/resources/expense/types/index.d.ts +3 -0
- package/api/resources/db/resources/expense/types/index.js +19 -0
- package/api/resources/db/resources/index.d.ts +2 -0
- package/api/resources/db/resources/index.js +3 -1
- 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 +7 -7
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +44 -44
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/EorPayIn.d.ts +2 -1
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.d.ts +2 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +26 -24
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccount.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Transfer.d.ts +1 -0
- 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.d.ts +21 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +97 -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/incorporation/resources/incorporationApi/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 +11 -6
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/Client.d.ts +158 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/Client.js +662 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/index.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/index.js +17 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/BulkApproveW2ExpenseRequest.d.ts +12 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/BulkApproveW2ExpenseRequest.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/BulkDenyW2ExpenseRequest.d.ts +12 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/BulkDenyW2ExpenseRequest.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/CreateExpenseRequest.d.ts +32 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/CreateExpenseRequest.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/index.d.ts +3 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/index.js +2 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/index.d.ts +2 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/index.js +18 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/UpdateExpenseRequest.d.ts +14 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/UpdateExpenseRequest.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/UpdateExpenseStatusRequest.d.ts +8 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/UpdateExpenseStatusRequest.js +10 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/index.d.ts +2 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/index.js +18 -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.js +4 -4
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +7 -7
- package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.d.ts +57 -2
- package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +118 -16
- package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/requests/GetHolidayDatesByUserIdRequest.d.ts +14 -0
- package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/requests/GetHolidayDatesByUserIdRequest.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/requests/index.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/AddTimeOffPolicyRequest.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/GetHolidayDatesByUserIdResponse.d.ts +10 -0
- package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/GetHolidayDatesByUserIdResponse.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/UpdateTimeOffPolicyRequest.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/index.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/index.js +1 -0
- 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 +2 -1
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +13 -12
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/ProcessFundsTransfer.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -4
- package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -4
- package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
- package/dist/api/resources/db/resources/company/types/AssociateUsersToHolidayPolicyResponse.d.ts +5 -0
- package/dist/api/resources/db/resources/company/types/AssociateUsersToHolidayPolicyResponse.js +5 -0
- package/dist/api/resources/db/resources/company/types/CompanyHolidaysResponse.d.ts +8 -0
- package/dist/api/resources/db/resources/company/types/CompanyHolidaysResponse.js +5 -0
- package/dist/api/resources/db/resources/company/types/DeleteCustomHolidayResponse.d.ts +5 -0
- package/dist/api/resources/db/resources/company/types/DeleteCustomHolidayResponse.js +5 -0
- package/dist/api/resources/db/resources/company/types/Holiday.d.ts +15 -0
- package/dist/api/resources/db/resources/company/types/Holiday.js +5 -0
- package/dist/api/resources/db/resources/company/types/HolidayDate.d.ts +9 -0
- package/dist/api/resources/db/resources/company/types/HolidayDate.js +5 -0
- package/dist/api/resources/db/resources/company/types/HolidaySettings.d.ts +8 -0
- package/dist/api/resources/db/resources/company/types/HolidaySettings.js +5 -0
- package/dist/api/resources/db/resources/company/types/HolidayType.d.ts +8 -0
- package/dist/api/resources/db/resources/company/types/HolidayType.js +10 -0
- package/dist/api/resources/db/resources/company/types/TimeOffPolicy.d.ts +1 -0
- package/dist/api/resources/db/resources/company/types/TimeOffType.d.ts +2 -1
- package/dist/api/resources/db/resources/company/types/TimeOffType.js +1 -0
- package/dist/api/resources/db/resources/company/types/UserHolidaysResponse.d.ts +11 -0
- package/dist/api/resources/db/resources/company/types/UserHolidaysResponse.js +5 -0
- package/dist/api/resources/db/resources/company/types/W2Payroll.d.ts +0 -1
- package/dist/api/resources/db/resources/company/types/index.d.ts +8 -0
- package/dist/api/resources/db/resources/company/types/index.js +8 -0
- package/dist/api/resources/db/resources/expense/index.d.ts +1 -0
- package/dist/api/resources/db/resources/expense/index.js +17 -0
- package/dist/api/resources/db/resources/expense/types/Expense.d.ts +24 -0
- package/dist/api/resources/db/resources/expense/types/Expense.js +5 -0
- package/dist/api/resources/db/resources/expense/types/ExpenseStatus.d.ts +13 -0
- package/dist/api/resources/db/resources/expense/types/ExpenseStatus.js +15 -0
- package/dist/api/resources/db/resources/expense/types/ExpenseType.d.ts +7 -0
- package/dist/api/resources/db/resources/expense/types/ExpenseType.js +9 -0
- package/dist/api/resources/db/resources/expense/types/index.d.ts +3 -0
- package/dist/api/resources/db/resources/expense/types/index.js +19 -0
- package/dist/api/resources/db/resources/index.d.ts +2 -0
- package/dist/api/resources/db/resources/index.js +3 -1
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/EorPayIn.d.ts +2 -1
- package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/EorPayIn.js +2 -1
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccount.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccount.js +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Transfer.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Transfer.js +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/bulkApproveW2Expense.d.ts +11 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/bulkApproveW2Expense.js +42 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/bulkDenyW2Expense.d.ts +11 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/bulkDenyW2Expense.js +42 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/index.d.ts +5 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/index.js +44 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/listW2Expenses.d.ts +11 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/listW2Expenses.js +42 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/listW2ExpensesByContract.d.ts +11 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/listW2ExpensesByContract.js +42 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/BulkApproveW2ExpenseRequest.d.ts +12 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/BulkApproveW2ExpenseRequest.js +43 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/BulkDenyW2ExpenseRequest.d.ts +12 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/BulkDenyW2ExpenseRequest.js +43 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/CreateExpenseRequest.d.ts +21 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/CreateExpenseRequest.js +52 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/index.d.ts +3 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/index.js +9 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/index.d.ts +2 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/index.js +18 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/UpdateExpenseRequest.d.ts +19 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/UpdateExpenseRequest.js +50 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/UpdateExpenseStatusRequest.d.ts +10 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/UpdateExpenseStatusRequest.js +41 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/index.d.ts +2 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/index.js +18 -0
- 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/timeoff/resources/timeoffApi/types/AddTimeOffPolicyRequest.d.ts +2 -0
- package/dist/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/AddTimeOffPolicyRequest.js +2 -0
- package/dist/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/GetHolidayDatesByUserIdResponse.d.ts +16 -0
- package/dist/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/GetHolidayDatesByUserIdResponse.js +47 -0
- package/dist/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/UpdateTimeOffPolicyRequest.d.ts +2 -0
- package/dist/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/UpdateTimeOffPolicyRequest.js +2 -0
- package/dist/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/index.js +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/ProcessFundsTransfer.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/ProcessFundsTransfer.js +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -4
- package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -4
- package/dist/serialization/resources/db/resources/company/types/AssociateUsersToHolidayPolicyResponse.d.ts +11 -0
- package/dist/serialization/resources/db/resources/company/types/AssociateUsersToHolidayPolicyResponse.js +41 -0
- package/dist/serialization/resources/db/resources/company/types/CompanyHolidaysResponse.d.ts +14 -0
- package/dist/serialization/resources/db/resources/company/types/CompanyHolidaysResponse.js +45 -0
- package/dist/serialization/resources/db/resources/company/types/DeleteCustomHolidayResponse.d.ts +11 -0
- package/dist/serialization/resources/db/resources/company/types/DeleteCustomHolidayResponse.js +41 -0
- package/dist/serialization/resources/db/resources/company/types/Holiday.d.ts +21 -0
- package/dist/serialization/resources/db/resources/company/types/Holiday.js +52 -0
- package/dist/serialization/resources/db/resources/company/types/HolidayDate.d.ts +15 -0
- package/dist/serialization/resources/db/resources/company/types/HolidayDate.js +46 -0
- package/dist/serialization/resources/db/resources/company/types/HolidaySettings.d.ts +14 -0
- package/dist/serialization/resources/db/resources/company/types/HolidaySettings.js +45 -0
- package/dist/serialization/resources/db/resources/company/types/HolidayType.d.ts +10 -0
- package/dist/serialization/resources/db/resources/company/types/HolidayType.js +41 -0
- package/dist/serialization/resources/db/resources/company/types/TimeOffPolicy.d.ts +2 -0
- package/dist/serialization/resources/db/resources/company/types/TimeOffPolicy.js +2 -0
- package/dist/serialization/resources/db/resources/company/types/TimeOffType.d.ts +1 -1
- package/dist/serialization/resources/db/resources/company/types/TimeOffType.js +1 -1
- package/dist/serialization/resources/db/resources/company/types/UserHolidaysResponse.d.ts +17 -0
- package/dist/serialization/resources/db/resources/company/types/UserHolidaysResponse.js +48 -0
- package/dist/serialization/resources/db/resources/company/types/W2Payroll.d.ts +0 -1
- package/dist/serialization/resources/db/resources/company/types/W2Payroll.js +0 -1
- package/dist/serialization/resources/db/resources/company/types/index.d.ts +8 -0
- package/dist/serialization/resources/db/resources/company/types/index.js +8 -0
- package/dist/serialization/resources/db/resources/expense/index.d.ts +1 -0
- package/dist/serialization/resources/db/resources/expense/index.js +17 -0
- package/dist/serialization/resources/db/resources/expense/types/Expense.d.ts +28 -0
- package/dist/serialization/resources/db/resources/expense/types/Expense.js +59 -0
- package/dist/serialization/resources/db/resources/expense/types/ExpenseStatus.d.ts +10 -0
- package/dist/serialization/resources/db/resources/expense/types/ExpenseStatus.js +41 -0
- package/dist/serialization/resources/db/resources/expense/types/ExpenseType.d.ts +10 -0
- package/dist/serialization/resources/db/resources/expense/types/ExpenseType.js +41 -0
- package/dist/serialization/resources/db/resources/expense/types/index.d.ts +3 -0
- package/dist/serialization/resources/db/resources/expense/types/index.js +19 -0
- package/dist/serialization/resources/db/resources/index.d.ts +2 -0
- package/dist/serialization/resources/db/resources/index.js +3 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +1048 -113
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/EorPayIn.d.ts +2 -1
- package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/EorPayIn.js +2 -1
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccount.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccount.js +1 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Transfer.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Transfer.js +1 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/bulkApproveW2Expense.d.ts +11 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/bulkApproveW2Expense.js +42 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/bulkDenyW2Expense.d.ts +11 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/bulkDenyW2Expense.js +42 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/index.d.ts +5 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/index.js +44 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/listW2Expenses.d.ts +11 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/listW2Expenses.js +42 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/listW2ExpensesByContract.d.ts +11 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/listW2ExpensesByContract.js +42 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/BulkApproveW2ExpenseRequest.d.ts +12 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/BulkApproveW2ExpenseRequest.js +43 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/BulkDenyW2ExpenseRequest.d.ts +12 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/BulkDenyW2ExpenseRequest.js +43 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/CreateExpenseRequest.d.ts +21 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/CreateExpenseRequest.js +52 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/index.d.ts +3 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/index.js +9 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/index.d.ts +2 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/index.js +18 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/UpdateExpenseRequest.d.ts +19 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/UpdateExpenseRequest.js +50 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/UpdateExpenseStatusRequest.d.ts +10 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/UpdateExpenseStatusRequest.js +41 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/index.d.ts +2 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/index.js +18 -0
- 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/timeoff/resources/timeoffApi/types/AddTimeOffPolicyRequest.d.ts +2 -0
- package/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/AddTimeOffPolicyRequest.js +2 -0
- package/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/GetHolidayDatesByUserIdResponse.d.ts +16 -0
- package/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/GetHolidayDatesByUserIdResponse.js +47 -0
- package/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/UpdateTimeOffPolicyRequest.d.ts +2 -0
- package/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/UpdateTimeOffPolicyRequest.js +2 -0
- package/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/index.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/index.js +1 -0
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/ProcessFundsTransfer.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/ProcessFundsTransfer.js +1 -0
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -4
- package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -4
- package/serialization/resources/db/resources/company/types/AssociateUsersToHolidayPolicyResponse.d.ts +11 -0
- package/serialization/resources/db/resources/company/types/AssociateUsersToHolidayPolicyResponse.js +41 -0
- package/serialization/resources/db/resources/company/types/CompanyHolidaysResponse.d.ts +14 -0
- package/serialization/resources/db/resources/company/types/CompanyHolidaysResponse.js +45 -0
- package/serialization/resources/db/resources/company/types/DeleteCustomHolidayResponse.d.ts +11 -0
- package/serialization/resources/db/resources/company/types/DeleteCustomHolidayResponse.js +41 -0
- package/serialization/resources/db/resources/company/types/Holiday.d.ts +21 -0
- package/serialization/resources/db/resources/company/types/Holiday.js +52 -0
- package/serialization/resources/db/resources/company/types/HolidayDate.d.ts +15 -0
- package/serialization/resources/db/resources/company/types/HolidayDate.js +46 -0
- package/serialization/resources/db/resources/company/types/HolidaySettings.d.ts +14 -0
- package/serialization/resources/db/resources/company/types/HolidaySettings.js +45 -0
- package/serialization/resources/db/resources/company/types/HolidayType.d.ts +10 -0
- package/serialization/resources/db/resources/company/types/HolidayType.js +41 -0
- package/serialization/resources/db/resources/company/types/TimeOffPolicy.d.ts +2 -0
- package/serialization/resources/db/resources/company/types/TimeOffPolicy.js +2 -0
- package/serialization/resources/db/resources/company/types/TimeOffType.d.ts +1 -1
- package/serialization/resources/db/resources/company/types/TimeOffType.js +1 -1
- package/serialization/resources/db/resources/company/types/UserHolidaysResponse.d.ts +17 -0
- package/serialization/resources/db/resources/company/types/UserHolidaysResponse.js +48 -0
- package/serialization/resources/db/resources/company/types/W2Payroll.d.ts +0 -1
- package/serialization/resources/db/resources/company/types/W2Payroll.js +0 -1
- package/serialization/resources/db/resources/company/types/index.d.ts +8 -0
- package/serialization/resources/db/resources/company/types/index.js +8 -0
- package/serialization/resources/db/resources/expense/index.d.ts +1 -0
- package/serialization/resources/db/resources/expense/index.js +17 -0
- package/serialization/resources/db/resources/expense/types/Expense.d.ts +28 -0
- package/serialization/resources/db/resources/expense/types/Expense.js +59 -0
- package/serialization/resources/db/resources/expense/types/ExpenseStatus.d.ts +10 -0
- package/serialization/resources/db/resources/expense/types/ExpenseStatus.js +41 -0
- package/serialization/resources/db/resources/expense/types/ExpenseType.d.ts +10 -0
- package/serialization/resources/db/resources/expense/types/ExpenseType.js +41 -0
- package/serialization/resources/db/resources/expense/types/index.d.ts +3 -0
- package/serialization/resources/db/resources/expense/types/index.js +19 -0
- package/serialization/resources/db/resources/index.d.ts +2 -0
- package/serialization/resources/db/resources/index.js +3 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/index.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requests"), exports);
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as TheraApi from "../../../../../../../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* contractId: "string",
|
|
9
|
+
* incurredDateTime: "string",
|
|
10
|
+
* type: "US_PAYROLL",
|
|
11
|
+
* categoryType: "string",
|
|
12
|
+
* description: "string",
|
|
13
|
+
* amount: 1000000,
|
|
14
|
+
* createdDateTime: "string",
|
|
15
|
+
* createdBy: "string",
|
|
16
|
+
* attachmentId: "string"
|
|
17
|
+
* }
|
|
18
|
+
*/
|
|
19
|
+
export interface CreateExpenseRequest {
|
|
20
|
+
contractId: string;
|
|
21
|
+
/** Date Time in ISO 8601 format */
|
|
22
|
+
incurredDateTime: string;
|
|
23
|
+
type: TheraApi.db.ExpenseType;
|
|
24
|
+
categoryType: string;
|
|
25
|
+
description: string;
|
|
26
|
+
amount: number;
|
|
27
|
+
/** Date Time in ISO 8601 format */
|
|
28
|
+
createdDateTime: string;
|
|
29
|
+
createdBy: string;
|
|
30
|
+
/** S3 key of the attachment */
|
|
31
|
+
attachmentId?: string;
|
|
32
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
18
|
+
__exportStar(require("./client"), exports);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as TheraApi from "../../../../../../../../../index";
|
|
5
|
+
export interface UpdateExpenseRequest {
|
|
6
|
+
id: string;
|
|
7
|
+
incurredDateTime?: string;
|
|
8
|
+
type?: TheraApi.db.ExpenseType;
|
|
9
|
+
categoryType?: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
amount?: number;
|
|
12
|
+
/** S3 key of the attachment */
|
|
13
|
+
attachmentId?: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.UpdateExpenseStatusRequest = void 0;
|
|
7
|
+
exports.UpdateExpenseStatusRequest = {
|
|
8
|
+
Approved: "APPROVED",
|
|
9
|
+
Denied: "DENIED",
|
|
10
|
+
};
|
package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/index.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./UpdateExpenseStatusRequest"), exports);
|
|
18
|
+
__exportStar(require("./UpdateExpenseRequest"), exports);
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
export * as expenseApi from "./expenseApi";
|
|
2
|
+
export * from "./expenseApi/types";
|
|
1
3
|
export * as offcycleApi from "./offcycleApi";
|
|
2
4
|
export * from "./offcycleApi/types";
|
|
3
5
|
export * as oncycleApi from "./oncycleApi";
|
|
4
6
|
export * from "./oncycleApi/types";
|
|
5
7
|
export * as payscheduleApi from "./payscheduleApi";
|
|
6
8
|
export * from "./payscheduleApi/types";
|
|
9
|
+
export * from "./expenseApi/client/requests";
|
|
7
10
|
export * from "./payscheduleApi/client/requests";
|
|
@@ -36,11 +36,14 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.payscheduleApi = exports.oncycleApi = exports.offcycleApi = void 0;
|
|
39
|
+
exports.payscheduleApi = exports.oncycleApi = exports.offcycleApi = exports.expenseApi = void 0;
|
|
40
|
+
exports.expenseApi = __importStar(require("./expenseApi"));
|
|
41
|
+
__exportStar(require("./expenseApi/types"), exports);
|
|
40
42
|
exports.offcycleApi = __importStar(require("./offcycleApi"));
|
|
41
43
|
__exportStar(require("./offcycleApi/types"), exports);
|
|
42
44
|
exports.oncycleApi = __importStar(require("./oncycleApi"));
|
|
43
45
|
__exportStar(require("./oncycleApi/types"), exports);
|
|
44
46
|
exports.payscheduleApi = __importStar(require("./payscheduleApi"));
|
|
45
47
|
__exportStar(require("./payscheduleApi/types"), exports);
|
|
48
|
+
__exportStar(require("./expenseApi/client/requests"), exports);
|
|
46
49
|
__exportStar(require("./payscheduleApi/client/requests"), exports);
|
package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js
CHANGED
|
@@ -72,7 +72,7 @@ class OffcycleApi {
|
|
|
72
72
|
const _response = yield core.fetcher({
|
|
73
73
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/w2-payroll/off-cycle-checks`),
|
|
74
74
|
method: "GET",
|
|
75
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-
|
|
75
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3182-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
76
76
|
contentType: "application/json",
|
|
77
77
|
requestType: "json",
|
|
78
78
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js
CHANGED
|
@@ -73,7 +73,7 @@ class OncycleApi {
|
|
|
73
73
|
const _response = yield core.fetcher({
|
|
74
74
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/w2-payroll/pay-schedules/${encodeURIComponent(checkPayScheduleId)}/on-cycle-checks/approve`),
|
|
75
75
|
method: "POST",
|
|
76
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-
|
|
76
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3182-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
77
77
|
contentType: "application/json",
|
|
78
78
|
requestType: "json",
|
|
79
79
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -125,7 +125,7 @@ class OncycleApi {
|
|
|
125
125
|
const _response = yield core.fetcher({
|
|
126
126
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/w2-payroll/on-cycle-checks`),
|
|
127
127
|
method: "GET",
|
|
128
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-
|
|
128
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3182-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
129
129
|
contentType: "application/json",
|
|
130
130
|
requestType: "json",
|
|
131
131
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -178,7 +178,7 @@ class OncycleApi {
|
|
|
178
178
|
const _response = yield core.fetcher({
|
|
179
179
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/w2-payroll/on-cycle-checks/${encodeURIComponent(checkPayrollId)}`),
|
|
180
180
|
method: "GET",
|
|
181
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-
|
|
181
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3182-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
182
182
|
contentType: "application/json",
|
|
183
183
|
requestType: "json",
|
|
184
184
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -231,7 +231,7 @@ class OncycleApi {
|
|
|
231
231
|
const _response = yield core.fetcher({
|
|
232
232
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/w2-payroll/pay-schedules/${encodeURIComponent(checkPayScheduleId)}/on-cycle-checks/cancel`),
|
|
233
233
|
method: "POST",
|
|
234
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-
|
|
234
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3182-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
235
235
|
contentType: "application/json",
|
|
236
236
|
requestType: "json",
|
|
237
237
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -80,7 +80,7 @@ class PayscheduleApi {
|
|
|
80
80
|
const _response = yield core.fetcher({
|
|
81
81
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/w2-payroll/pay-schedule`),
|
|
82
82
|
method: "POST",
|
|
83
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-
|
|
83
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3182-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
84
84
|
contentType: "application/json",
|
|
85
85
|
requestType: "json",
|
|
86
86
|
body: serializers.api.thera.payroll.CreatePayScheduleRequest.jsonOrThrow(request, {
|
|
@@ -136,7 +136,7 @@ class PayscheduleApi {
|
|
|
136
136
|
const _response = yield core.fetcher({
|
|
137
137
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/w2-payroll/pay-schedules/${encodeURIComponent(checkPayScheduleId)}`),
|
|
138
138
|
method: "GET",
|
|
139
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-
|
|
139
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3182-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
140
140
|
contentType: "application/json",
|
|
141
141
|
requestType: "json",
|
|
142
142
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -188,7 +188,7 @@ class PayscheduleApi {
|
|
|
188
188
|
const _response = yield core.fetcher({
|
|
189
189
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/w2-payroll/pay-schedules`),
|
|
190
190
|
method: "GET",
|
|
191
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-
|
|
191
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3182-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
192
192
|
contentType: "application/json",
|
|
193
193
|
requestType: "json",
|
|
194
194
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -241,7 +241,7 @@ class PayscheduleApi {
|
|
|
241
241
|
const _response = yield core.fetcher({
|
|
242
242
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/w2-payroll/pay-schedules/${encodeURIComponent(checkPayScheduleId)}`),
|
|
243
243
|
method: "DELETE",
|
|
244
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-
|
|
244
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3182-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
245
245
|
contentType: "application/json",
|
|
246
246
|
requestType: "json",
|
|
247
247
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -299,7 +299,7 @@ class PayscheduleApi {
|
|
|
299
299
|
const _response = yield core.fetcher({
|
|
300
300
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/w2-payroll/pay-schedules/${encodeURIComponent(checkPayScheduleId)}`),
|
|
301
301
|
method: "PUT",
|
|
302
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-
|
|
302
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3182-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
303
303
|
contentType: "application/json",
|
|
304
304
|
requestType: "json",
|
|
305
305
|
body: serializers.api.thera.payroll.UpdatePayScheduleRequest.jsonOrThrow(request, {
|
|
@@ -359,7 +359,7 @@ class PayscheduleApi {
|
|
|
359
359
|
const _response = yield core.fetcher({
|
|
360
360
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/w2-payroll/pay-schedules/assign-to-employees`),
|
|
361
361
|
method: "PUT",
|
|
362
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-
|
|
362
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3182-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
363
363
|
contentType: "application/json",
|
|
364
364
|
requestType: "json",
|
|
365
365
|
body: serializers.api.thera.payroll.AssignW2EmployeeToPayScheduleRequest.jsonOrThrow(request, {
|
|
@@ -415,7 +415,7 @@ class PayscheduleApi {
|
|
|
415
415
|
const _response = yield core.fetcher({
|
|
416
416
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/w2-payroll/pay-schedules/${encodeURIComponent(checkPayScheduleId)}/paydays`),
|
|
417
417
|
method: "GET",
|
|
418
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-
|
|
418
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3182-production", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3182-production", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
419
419
|
contentType: "application/json",
|
|
420
420
|
requestType: "json",
|
|
421
421
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.d.ts
CHANGED
|
@@ -99,7 +99,28 @@ export declare class TimeoffApi {
|
|
|
99
99
|
* autoDeductEnabled: {
|
|
100
100
|
* ["EMPLOYEE"]: true
|
|
101
101
|
* },
|
|
102
|
-
* addPolicyFor: new Set(["EMPLOYEE"])
|
|
102
|
+
* addPolicyFor: new Set(["EMPLOYEE"]),
|
|
103
|
+
* holidays: [{
|
|
104
|
+
* id: "string",
|
|
105
|
+
* name: "string",
|
|
106
|
+
* type: "FEDERAL",
|
|
107
|
+
* enabled: true,
|
|
108
|
+
* dateRule: {
|
|
109
|
+
* "key": "value"
|
|
110
|
+
* },
|
|
111
|
+
* startDate: {
|
|
112
|
+
* "key": "value"
|
|
113
|
+
* },
|
|
114
|
+
* endDate: {
|
|
115
|
+
* "key": "value"
|
|
116
|
+
* },
|
|
117
|
+
* createdBy: {
|
|
118
|
+
* "key": "value"
|
|
119
|
+
* },
|
|
120
|
+
* createdAt: {
|
|
121
|
+
* "key": "value"
|
|
122
|
+
* }
|
|
123
|
+
* }]
|
|
103
124
|
* })
|
|
104
125
|
*/
|
|
105
126
|
addTimeOffPolicy(companyId: string, request: TheraApi.api.thera.timeoff.AddTimeOffPolicyRequest, requestOptions?: TimeoffApi.RequestOptions): Promise<unknown>;
|
|
@@ -139,7 +160,28 @@ export declare class TimeoffApi {
|
|
|
139
160
|
* autoDeductEnabled: {
|
|
140
161
|
* ["EMPLOYEE"]: true
|
|
141
162
|
* },
|
|
142
|
-
* addPolicyFor: new Set(["EMPLOYEE"])
|
|
163
|
+
* addPolicyFor: new Set(["EMPLOYEE"]),
|
|
164
|
+
* holidays: [{
|
|
165
|
+
* id: "string",
|
|
166
|
+
* name: "string",
|
|
167
|
+
* type: "FEDERAL",
|
|
168
|
+
* enabled: true,
|
|
169
|
+
* dateRule: {
|
|
170
|
+
* "key": "value"
|
|
171
|
+
* },
|
|
172
|
+
* startDate: {
|
|
173
|
+
* "key": "value"
|
|
174
|
+
* },
|
|
175
|
+
* endDate: {
|
|
176
|
+
* "key": "value"
|
|
177
|
+
* },
|
|
178
|
+
* createdBy: {
|
|
179
|
+
* "key": "value"
|
|
180
|
+
* },
|
|
181
|
+
* createdAt: {
|
|
182
|
+
* "key": "value"
|
|
183
|
+
* }
|
|
184
|
+
* }]
|
|
143
185
|
* })
|
|
144
186
|
*/
|
|
145
187
|
updateTimeOffPolicy(companyId: string, policyId: string, request: TheraApi.api.thera.timeoff.UpdateTimeOffPolicyRequest, requestOptions?: TimeoffApi.RequestOptions): Promise<unknown>;
|
|
@@ -260,5 +302,18 @@ export declare class TimeoffApi {
|
|
|
260
302
|
* })
|
|
261
303
|
*/
|
|
262
304
|
updatePtoForContractor(companyId: string, userId: string, timeOffId: string, request: TheraApi.api.thera.timeoff.UpdatePtoRequest, requestOptions?: TimeoffApi.RequestOptions): Promise<unknown>;
|
|
305
|
+
/**
|
|
306
|
+
* @param {string} companyId
|
|
307
|
+
* @param {string} userId
|
|
308
|
+
* @param {TheraApi.api.thera.timeoff.GetHolidayDatesByUserIdRequest} request
|
|
309
|
+
* @param {TimeoffApi.RequestOptions} requestOptions - Request-specific configuration.
|
|
310
|
+
*
|
|
311
|
+
* @example
|
|
312
|
+
* await client.api.thera.timeoff.timeoffApi.getHolidayDatesByUserId("string", "string", {
|
|
313
|
+
* startYear: 1,
|
|
314
|
+
* endYear: 1
|
|
315
|
+
* })
|
|
316
|
+
*/
|
|
317
|
+
getHolidayDatesByUserId(companyId: string, userId: string, request: TheraApi.api.thera.timeoff.GetHolidayDatesByUserIdRequest, requestOptions?: TimeoffApi.RequestOptions): Promise<TheraApi.api.thera.timeoff.GetHolidayDatesByUserIdResponse>;
|
|
263
318
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
264
319
|
}
|