@thera-hr/api-sdk 0.0.1-prerelease3181-dev-3 → 0.0.1-prerelease3181-dev-4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
- package/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
- package/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
- package/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
- package/api/resources/api/resources/thera/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 +4 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/index.js +5 -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 +14 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +58 -5
- package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.d.ts +1 -1
- package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.js +15 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/requests/AddEmployeeToOncycleChecksRequest.d.ts +12 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/requests/AddEmployeeToOncycleChecksRequest.js +5 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/requests/index.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/requests/index.js +2 -0
- 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 +4 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/index.js +5 -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 +14 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +58 -5
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.d.ts +1 -1
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.js +15 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/requests/AddEmployeeToOncycleChecksRequest.d.ts +12 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/requests/AddEmployeeToOncycleChecksRequest.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/requests/index.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/requests/index.js +2 -0
- 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 +4 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/index.js +5 -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 +4 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/requests/AddEmployeeToOncycleChecksRequest.d.ts +12 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/requests/AddEmployeeToOncycleChecksRequest.js +43 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/requests/index.js +5 -0
- 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 +1127 -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 +4 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/index.js +5 -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 +4 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/requests/AddEmployeeToOncycleChecksRequest.d.ts +12 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/requests/AddEmployeeToOncycleChecksRequest.js +43 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/requests/index.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/requests/index.js +5 -0
- 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
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../../../index";
|
|
5
|
+
import * as TheraApi from "../../../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
|
7
|
+
export declare const UpdateExpenseStatusRequest: core.serialization.Schema<serializers.api.thera.payroll.UpdateExpenseStatusRequest.Raw, TheraApi.api.thera.payroll.UpdateExpenseStatusRequest>;
|
|
8
|
+
export declare namespace UpdateExpenseStatusRequest {
|
|
9
|
+
type Raw = "APPROVED" | "DENIED";
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.UpdateExpenseStatusRequest = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
+
exports.UpdateExpenseStatusRequest = core.serialization.enum_(["APPROVED", "DENIED"]);
|
|
@@ -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,11 @@
|
|
|
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";
|
|
10
|
+
export * from "./oncycleApi/client/requests";
|
|
7
11
|
export * from "./payscheduleApi/client/requests";
|
|
@@ -36,11 +36,15 @@ 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);
|
|
49
|
+
__exportStar(require("./oncycleApi/client/requests"), exports);
|
|
46
50
|
__exportStar(require("./payscheduleApi/client/requests"), exports);
|
|
@@ -32,7 +32,11 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
32
32
|
return result;
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
36
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
|
+
};
|
|
35
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
39
|
exports.getOnCycleCheckDetails = exports.getOnCycleChecks = void 0;
|
|
37
40
|
exports.getOnCycleChecks = __importStar(require("./getOnCycleChecks"));
|
|
38
41
|
exports.getOnCycleCheckDetails = __importStar(require("./getOnCycleCheckDetails"));
|
|
42
|
+
__exportStar(require("./requests"), exports);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../../../../index";
|
|
5
|
+
import * as TheraApi from "../../../../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../../../../core";
|
|
7
|
+
export declare const AddEmployeeToOncycleChecksRequest: core.serialization.Schema<serializers.api.thera.payroll.AddEmployeeToOncycleChecksRequest.Raw, TheraApi.api.thera.payroll.AddEmployeeToOncycleChecksRequest>;
|
|
8
|
+
export declare namespace AddEmployeeToOncycleChecksRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
contractId: string;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.AddEmployeeToOncycleChecksRequest = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../../../../core"));
|
|
41
|
+
exports.AddEmployeeToOncycleChecksRequest = core.serialization.object({
|
|
42
|
+
contractId: core.serialization.string(),
|
|
43
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { AddEmployeeToOncycleChecksRequest } from "./AddEmployeeToOncycleChecksRequest";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AddEmployeeToOncycleChecksRequest = void 0;
|
|
4
|
+
var AddEmployeeToOncycleChecksRequest_1 = require("./AddEmployeeToOncycleChecksRequest");
|
|
5
|
+
Object.defineProperty(exports, "AddEmployeeToOncycleChecksRequest", { enumerable: true, get: function () { return AddEmployeeToOncycleChecksRequest_1.AddEmployeeToOncycleChecksRequest; } });
|
|
@@ -9,6 +9,7 @@ import { MidYearJoiningAllowanceType } from "../../../../../../../../db/resource
|
|
|
9
9
|
import { TimeOffType } from "../../../../../../../../db/resources/company/types/TimeOffType";
|
|
10
10
|
import { AccrualType } from "../../../../../../../../db/resources/company/types/AccrualType";
|
|
11
11
|
import { EmploymentType } from "../../../../../../../../model/resources/thera/resources/contract/types/EmploymentType";
|
|
12
|
+
import { Holiday } from "../../../../../../../../db/resources/company/types/Holiday";
|
|
12
13
|
export declare const AddTimeOffPolicyRequest: core.serialization.ObjectSchema<serializers.api.thera.timeoff.AddTimeOffPolicyRequest.Raw, TheraApi.api.thera.timeoff.AddTimeOffPolicyRequest>;
|
|
13
14
|
export declare namespace AddTimeOffPolicyRequest {
|
|
14
15
|
interface Raw {
|
|
@@ -22,5 +23,6 @@ export declare namespace AddTimeOffPolicyRequest {
|
|
|
22
23
|
accrualType: Record<EmploymentType.Raw, AccrualType.Raw | null | undefined>;
|
|
23
24
|
autoDeductEnabled: Record<EmploymentType.Raw, boolean | null | undefined>;
|
|
24
25
|
addPolicyFor: EmploymentType.Raw[];
|
|
26
|
+
holidays?: Holiday.Raw[] | null;
|
|
25
27
|
}
|
|
26
28
|
}
|
|
@@ -43,6 +43,7 @@ const MidYearJoiningAllowanceType_1 = require("../../../../../../../../db/resour
|
|
|
43
43
|
const TimeOffType_1 = require("../../../../../../../../db/resources/company/types/TimeOffType");
|
|
44
44
|
const AccrualType_1 = require("../../../../../../../../db/resources/company/types/AccrualType");
|
|
45
45
|
const EmploymentType_1 = require("../../../../../../../../model/resources/thera/resources/contract/types/EmploymentType");
|
|
46
|
+
const Holiday_1 = require("../../../../../../../../db/resources/company/types/Holiday");
|
|
46
47
|
exports.AddTimeOffPolicyRequest = core.serialization.object({
|
|
47
48
|
policyName: core.serialization.string(),
|
|
48
49
|
allowanceType: AllowanceType_1.AllowanceType,
|
|
@@ -54,4 +55,5 @@ exports.AddTimeOffPolicyRequest = core.serialization.object({
|
|
|
54
55
|
accrualType: core.serialization.record(EmploymentType_1.EmploymentType, AccrualType_1.AccrualType.optional()),
|
|
55
56
|
autoDeductEnabled: core.serialization.record(EmploymentType_1.EmploymentType, core.serialization.boolean().optional()),
|
|
56
57
|
addPolicyFor: core.serialization.set(EmploymentType_1.EmploymentType),
|
|
58
|
+
holidays: core.serialization.list(Holiday_1.Holiday).optional(),
|
|
57
59
|
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../../../index";
|
|
5
|
+
import * as TheraApi from "../../../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
|
7
|
+
import { HolidayDate } from "../../../../../../../../db/resources/company/types/HolidayDate";
|
|
8
|
+
export declare const GetHolidayDatesByUserIdResponse: core.serialization.ObjectSchema<serializers.api.thera.timeoff.GetHolidayDatesByUserIdResponse.Raw, TheraApi.api.thera.timeoff.GetHolidayDatesByUserIdResponse>;
|
|
9
|
+
export declare namespace GetHolidayDatesByUserIdResponse {
|
|
10
|
+
interface Raw {
|
|
11
|
+
userId: string;
|
|
12
|
+
startYear: number;
|
|
13
|
+
endYear: number;
|
|
14
|
+
holidays: HolidayDate.Raw[];
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.GetHolidayDatesByUserIdResponse = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
41
|
+
const HolidayDate_1 = require("../../../../../../../../db/resources/company/types/HolidayDate");
|
|
42
|
+
exports.GetHolidayDatesByUserIdResponse = core.serialization.object({
|
|
43
|
+
userId: core.serialization.string(),
|
|
44
|
+
startYear: core.serialization.number(),
|
|
45
|
+
endYear: core.serialization.number(),
|
|
46
|
+
holidays: core.serialization.list(HolidayDate_1.HolidayDate),
|
|
47
|
+
});
|
|
@@ -9,6 +9,7 @@ import { MidYearJoiningAllowanceType } from "../../../../../../../../db/resource
|
|
|
9
9
|
import { TimeOffType } from "../../../../../../../../db/resources/company/types/TimeOffType";
|
|
10
10
|
import { AccrualType } from "../../../../../../../../db/resources/company/types/AccrualType";
|
|
11
11
|
import { EmploymentType } from "../../../../../../../../model/resources/thera/resources/contract/types/EmploymentType";
|
|
12
|
+
import { Holiday } from "../../../../../../../../db/resources/company/types/Holiday";
|
|
12
13
|
export declare const UpdateTimeOffPolicyRequest: core.serialization.ObjectSchema<serializers.api.thera.timeoff.UpdateTimeOffPolicyRequest.Raw, TheraApi.api.thera.timeoff.UpdateTimeOffPolicyRequest>;
|
|
13
14
|
export declare namespace UpdateTimeOffPolicyRequest {
|
|
14
15
|
interface Raw {
|
|
@@ -22,5 +23,6 @@ export declare namespace UpdateTimeOffPolicyRequest {
|
|
|
22
23
|
accrualType: Record<EmploymentType.Raw, AccrualType.Raw | null | undefined>;
|
|
23
24
|
autoDeductEnabled: Record<EmploymentType.Raw, boolean | null | undefined>;
|
|
24
25
|
addPolicyFor: EmploymentType.Raw[];
|
|
26
|
+
holidays?: Holiday.Raw[] | null;
|
|
25
27
|
}
|
|
26
28
|
}
|
|
@@ -43,6 +43,7 @@ const MidYearJoiningAllowanceType_1 = require("../../../../../../../../db/resour
|
|
|
43
43
|
const TimeOffType_1 = require("../../../../../../../../db/resources/company/types/TimeOffType");
|
|
44
44
|
const AccrualType_1 = require("../../../../../../../../db/resources/company/types/AccrualType");
|
|
45
45
|
const EmploymentType_1 = require("../../../../../../../../model/resources/thera/resources/contract/types/EmploymentType");
|
|
46
|
+
const Holiday_1 = require("../../../../../../../../db/resources/company/types/Holiday");
|
|
46
47
|
exports.UpdateTimeOffPolicyRequest = core.serialization.object({
|
|
47
48
|
policyName: core.serialization.string(),
|
|
48
49
|
allowanceType: AllowanceType_1.AllowanceType,
|
|
@@ -54,4 +55,5 @@ exports.UpdateTimeOffPolicyRequest = core.serialization.object({
|
|
|
54
55
|
accrualType: core.serialization.record(EmploymentType_1.EmploymentType, AccrualType_1.AccrualType.optional()),
|
|
55
56
|
autoDeductEnabled: core.serialization.record(EmploymentType_1.EmploymentType, core.serialization.boolean().optional()),
|
|
56
57
|
addPolicyFor: core.serialization.set(EmploymentType_1.EmploymentType),
|
|
58
|
+
holidays: core.serialization.list(Holiday_1.Holiday).optional(),
|
|
57
59
|
});
|
|
@@ -13,6 +13,7 @@ export * from "./GetContractorsTimeOffsByCompany";
|
|
|
13
13
|
export * from "./ModifyTimeOffStatusRequest";
|
|
14
14
|
export * from "./BulkModifyTimeOffStatusesRequest";
|
|
15
15
|
export * from "./AccrualLimitExceeded";
|
|
16
|
+
export * from "./GetHolidayDatesByUserIdResponse";
|
|
16
17
|
export * from "./AssociateTimeOffPoliciesToContractorRequest";
|
|
17
18
|
export * from "./AddTimeOffPolicyRequest";
|
|
18
19
|
export * from "./UpdateTimeOffPolicyRequest";
|
|
@@ -29,6 +29,7 @@ __exportStar(require("./GetContractorsTimeOffsByCompany"), exports);
|
|
|
29
29
|
__exportStar(require("./ModifyTimeOffStatusRequest"), exports);
|
|
30
30
|
__exportStar(require("./BulkModifyTimeOffStatusesRequest"), exports);
|
|
31
31
|
__exportStar(require("./AccrualLimitExceeded"), exports);
|
|
32
|
+
__exportStar(require("./GetHolidayDatesByUserIdResponse"), exports);
|
|
32
33
|
__exportStar(require("./AssociateTimeOffPoliciesToContractorRequest"), exports);
|
|
33
34
|
__exportStar(require("./AddTimeOffPolicyRequest"), exports);
|
|
34
35
|
__exportStar(require("./UpdateTimeOffPolicyRequest"), exports);
|
|
@@ -46,4 +46,5 @@ exports.ProcessFundsTransfer = core.serialization.object({
|
|
|
46
46
|
secCode: core.serialization.string().optional(),
|
|
47
47
|
service: core.serialization.string(),
|
|
48
48
|
revenueAmount: core.serialization.string().optional(),
|
|
49
|
+
cashDeposit: core.serialization.boolean().optional(),
|
|
49
50
|
});
|
package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts
CHANGED
|
@@ -3,12 +3,12 @@ export * from "./GetIndustryCodesResponse";
|
|
|
3
3
|
export * from "./IndustryCodes";
|
|
4
4
|
export * from "./SubmitCompanyBeneficiariesResponse";
|
|
5
5
|
export * from "./ProcessFundsTransfer";
|
|
6
|
+
export * from "./WithdrawalTheraCash";
|
|
7
|
+
export * from "./WithdrawalAch";
|
|
8
|
+
export * from "./WithdrawalWire";
|
|
9
|
+
export * from "./WithdrawalWireAddress";
|
|
6
10
|
export * from "./CreateCounterPartyForBankingRequest";
|
|
7
11
|
export * from "./TransferFundsToOmnibusAccount";
|
|
8
12
|
export * from "./TpTransactionHistory";
|
|
9
13
|
export * from "./ExternalTransferFund";
|
|
10
14
|
export * from "./FboType";
|
|
11
|
-
export * from "./WithdrawalTheraCash";
|
|
12
|
-
export * from "./WithdrawalAch";
|
|
13
|
-
export * from "./WithdrawalWire";
|
|
14
|
-
export * from "./WithdrawalWireAddress";
|
package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js
CHANGED
|
@@ -19,12 +19,12 @@ __exportStar(require("./GetIndustryCodesResponse"), exports);
|
|
|
19
19
|
__exportStar(require("./IndustryCodes"), exports);
|
|
20
20
|
__exportStar(require("./SubmitCompanyBeneficiariesResponse"), exports);
|
|
21
21
|
__exportStar(require("./ProcessFundsTransfer"), exports);
|
|
22
|
+
__exportStar(require("./WithdrawalTheraCash"), exports);
|
|
23
|
+
__exportStar(require("./WithdrawalAch"), exports);
|
|
24
|
+
__exportStar(require("./WithdrawalWire"), exports);
|
|
25
|
+
__exportStar(require("./WithdrawalWireAddress"), exports);
|
|
22
26
|
__exportStar(require("./CreateCounterPartyForBankingRequest"), exports);
|
|
23
27
|
__exportStar(require("./TransferFundsToOmnibusAccount"), exports);
|
|
24
28
|
__exportStar(require("./TpTransactionHistory"), exports);
|
|
25
29
|
__exportStar(require("./ExternalTransferFund"), exports);
|
|
26
30
|
__exportStar(require("./FboType"), exports);
|
|
27
|
-
__exportStar(require("./WithdrawalTheraCash"), exports);
|
|
28
|
-
__exportStar(require("./WithdrawalAch"), exports);
|
|
29
|
-
__exportStar(require("./WithdrawalWire"), exports);
|
|
30
|
-
__exportStar(require("./WithdrawalWireAddress"), exports);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as TheraApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const AssociateUsersToHolidayPolicyResponse: core.serialization.ObjectSchema<serializers.db.AssociateUsersToHolidayPolicyResponse.Raw, TheraApi.db.AssociateUsersToHolidayPolicyResponse>;
|
|
8
|
+
export declare namespace AssociateUsersToHolidayPolicyResponse {
|
|
9
|
+
interface Raw {
|
|
10
|
+
}
|
|
11
|
+
}
|
package/serialization/resources/db/resources/company/types/AssociateUsersToHolidayPolicyResponse.js
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.AssociateUsersToHolidayPolicyResponse = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../core"));
|
|
41
|
+
exports.AssociateUsersToHolidayPolicyResponse = core.serialization.object({});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as TheraApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
import { HolidayDate } from "./HolidayDate";
|
|
8
|
+
export declare const CompanyHolidaysResponse: core.serialization.ObjectSchema<serializers.db.CompanyHolidaysResponse.Raw, TheraApi.db.CompanyHolidaysResponse>;
|
|
9
|
+
export declare namespace CompanyHolidaysResponse {
|
|
10
|
+
interface Raw {
|
|
11
|
+
year: number;
|
|
12
|
+
holidays: HolidayDate.Raw[];
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.CompanyHolidaysResponse = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../core"));
|
|
41
|
+
const HolidayDate_1 = require("./HolidayDate");
|
|
42
|
+
exports.CompanyHolidaysResponse = core.serialization.object({
|
|
43
|
+
year: core.serialization.number(),
|
|
44
|
+
holidays: core.serialization.list(HolidayDate_1.HolidayDate),
|
|
45
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as TheraApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
export declare const DeleteCustomHolidayResponse: core.serialization.ObjectSchema<serializers.db.DeleteCustomHolidayResponse.Raw, TheraApi.db.DeleteCustomHolidayResponse>;
|
|
8
|
+
export declare namespace DeleteCustomHolidayResponse {
|
|
9
|
+
interface Raw {
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.DeleteCustomHolidayResponse = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../core"));
|
|
41
|
+
exports.DeleteCustomHolidayResponse = core.serialization.object({});
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as TheraApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
import { HolidayType } from "./HolidayType";
|
|
8
|
+
export declare const Holiday: core.serialization.ObjectSchema<serializers.db.Holiday.Raw, TheraApi.db.Holiday>;
|
|
9
|
+
export declare namespace Holiday {
|
|
10
|
+
interface Raw {
|
|
11
|
+
id: string;
|
|
12
|
+
name: string;
|
|
13
|
+
type: HolidayType.Raw;
|
|
14
|
+
enabled: boolean;
|
|
15
|
+
dateRule?: string | null;
|
|
16
|
+
startDate?: string | null;
|
|
17
|
+
endDate?: string | null;
|
|
18
|
+
createdBy?: string | null;
|
|
19
|
+
createdAt?: number | null;
|
|
20
|
+
}
|
|
21
|
+
}
|