@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.
Files changed (402) hide show
  1. package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  2. package/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  3. package/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
  4. package/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  5. package/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  6. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +7 -7
  7. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +44 -44
  8. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/EorPayIn.d.ts +2 -1
  9. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.d.ts +2 -0
  10. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +26 -24
  11. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccount.d.ts +1 -0
  12. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Transfer.d.ts +1 -0
  13. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  14. package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.d.ts +21 -0
  15. package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +97 -3
  16. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  17. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  18. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  19. package/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  20. package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  21. package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  22. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
  23. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.js +3 -3
  24. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +7 -7
  25. package/api/resources/api/resources/thera/resources/payroll/client/Client.d.ts +3 -0
  26. package/api/resources/api/resources/thera/resources/payroll/client/Client.js +11 -6
  27. package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/Client.d.ts +158 -0
  28. package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/Client.js +662 -0
  29. package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/index.d.ts +1 -0
  30. package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/index.js +17 -0
  31. package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/BulkApproveW2ExpenseRequest.d.ts +12 -0
  32. package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/BulkApproveW2ExpenseRequest.js +5 -0
  33. package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/BulkDenyW2ExpenseRequest.d.ts +12 -0
  34. package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/BulkDenyW2ExpenseRequest.js +5 -0
  35. package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/CreateExpenseRequest.d.ts +32 -0
  36. package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/CreateExpenseRequest.js +5 -0
  37. package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/index.d.ts +3 -0
  38. package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/index.js +2 -0
  39. package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/index.d.ts +2 -0
  40. package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/index.js +18 -0
  41. package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/UpdateExpenseRequest.d.ts +14 -0
  42. package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/UpdateExpenseRequest.js +5 -0
  43. package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/UpdateExpenseStatusRequest.d.ts +8 -0
  44. package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/UpdateExpenseStatusRequest.js +10 -0
  45. package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/index.d.ts +2 -0
  46. package/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/index.js +18 -0
  47. package/api/resources/api/resources/thera/resources/payroll/resources/index.d.ts +4 -0
  48. package/api/resources/api/resources/thera/resources/payroll/resources/index.js +5 -1
  49. package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  50. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.d.ts +14 -0
  51. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +58 -5
  52. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.d.ts +1 -1
  53. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.js +15 -0
  54. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/requests/AddEmployeeToOncycleChecksRequest.d.ts +12 -0
  55. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/requests/AddEmployeeToOncycleChecksRequest.js +5 -0
  56. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/requests/index.d.ts +1 -0
  57. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/requests/index.js +2 -0
  58. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +7 -7
  59. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.d.ts +57 -2
  60. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +118 -16
  61. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/requests/GetHolidayDatesByUserIdRequest.d.ts +14 -0
  62. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/requests/GetHolidayDatesByUserIdRequest.js +5 -0
  63. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/requests/index.d.ts +1 -0
  64. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/AddTimeOffPolicyRequest.d.ts +1 -0
  65. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/GetHolidayDatesByUserIdResponse.d.ts +10 -0
  66. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/GetHolidayDatesByUserIdResponse.js +5 -0
  67. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/UpdateTimeOffPolicyRequest.d.ts +1 -0
  68. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/index.d.ts +1 -0
  69. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/index.js +1 -0
  70. package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  71. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.d.ts +2 -1
  72. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +13 -12
  73. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/ProcessFundsTransfer.d.ts +1 -0
  74. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -4
  75. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -4
  76. package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  77. package/api/resources/db/resources/company/types/AssociateUsersToHolidayPolicyResponse.d.ts +5 -0
  78. package/api/resources/db/resources/company/types/AssociateUsersToHolidayPolicyResponse.js +5 -0
  79. package/api/resources/db/resources/company/types/CompanyHolidaysResponse.d.ts +8 -0
  80. package/api/resources/db/resources/company/types/CompanyHolidaysResponse.js +5 -0
  81. package/api/resources/db/resources/company/types/DeleteCustomHolidayResponse.d.ts +5 -0
  82. package/api/resources/db/resources/company/types/DeleteCustomHolidayResponse.js +5 -0
  83. package/api/resources/db/resources/company/types/Holiday.d.ts +15 -0
  84. package/api/resources/db/resources/company/types/Holiday.js +5 -0
  85. package/api/resources/db/resources/company/types/HolidayDate.d.ts +9 -0
  86. package/api/resources/db/resources/company/types/HolidayDate.js +5 -0
  87. package/api/resources/db/resources/company/types/HolidaySettings.d.ts +8 -0
  88. package/api/resources/db/resources/company/types/HolidaySettings.js +5 -0
  89. package/api/resources/db/resources/company/types/HolidayType.d.ts +8 -0
  90. package/api/resources/db/resources/company/types/HolidayType.js +10 -0
  91. package/api/resources/db/resources/company/types/TimeOffPolicy.d.ts +1 -0
  92. package/api/resources/db/resources/company/types/TimeOffType.d.ts +2 -1
  93. package/api/resources/db/resources/company/types/TimeOffType.js +1 -0
  94. package/api/resources/db/resources/company/types/UserHolidaysResponse.d.ts +11 -0
  95. package/api/resources/db/resources/company/types/UserHolidaysResponse.js +5 -0
  96. package/api/resources/db/resources/company/types/W2Payroll.d.ts +0 -1
  97. package/api/resources/db/resources/company/types/index.d.ts +8 -0
  98. package/api/resources/db/resources/company/types/index.js +8 -0
  99. package/api/resources/db/resources/expense/index.d.ts +1 -0
  100. package/api/resources/db/resources/expense/index.js +17 -0
  101. package/api/resources/db/resources/expense/types/Expense.d.ts +24 -0
  102. package/api/resources/db/resources/expense/types/Expense.js +5 -0
  103. package/api/resources/db/resources/expense/types/ExpenseStatus.d.ts +13 -0
  104. package/api/resources/db/resources/expense/types/ExpenseStatus.js +15 -0
  105. package/api/resources/db/resources/expense/types/ExpenseType.d.ts +7 -0
  106. package/api/resources/db/resources/expense/types/ExpenseType.js +9 -0
  107. package/api/resources/db/resources/expense/types/index.d.ts +3 -0
  108. package/api/resources/db/resources/expense/types/index.js +19 -0
  109. package/api/resources/db/resources/index.d.ts +2 -0
  110. package/api/resources/db/resources/index.js +3 -1
  111. package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  112. package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  113. package/dist/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
  114. package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  115. package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  116. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +7 -7
  117. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +44 -44
  118. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/EorPayIn.d.ts +2 -1
  119. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.d.ts +2 -0
  120. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +26 -24
  121. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccount.d.ts +1 -0
  122. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Transfer.d.ts +1 -0
  123. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  124. package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.d.ts +21 -0
  125. package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +97 -3
  126. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  127. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  128. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  129. package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  130. package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  131. package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  132. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
  133. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.js +3 -3
  134. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +7 -7
  135. package/dist/api/resources/api/resources/thera/resources/payroll/client/Client.d.ts +3 -0
  136. package/dist/api/resources/api/resources/thera/resources/payroll/client/Client.js +11 -6
  137. package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/Client.d.ts +158 -0
  138. package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/Client.js +662 -0
  139. package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/index.d.ts +1 -0
  140. package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/index.js +17 -0
  141. package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/BulkApproveW2ExpenseRequest.d.ts +12 -0
  142. package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/BulkApproveW2ExpenseRequest.js +5 -0
  143. package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/BulkDenyW2ExpenseRequest.d.ts +12 -0
  144. package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/BulkDenyW2ExpenseRequest.js +5 -0
  145. package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/CreateExpenseRequest.d.ts +32 -0
  146. package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/CreateExpenseRequest.js +5 -0
  147. package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/index.d.ts +3 -0
  148. package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/index.js +2 -0
  149. package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/index.d.ts +2 -0
  150. package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/index.js +18 -0
  151. package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/UpdateExpenseRequest.d.ts +14 -0
  152. package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/UpdateExpenseRequest.js +5 -0
  153. package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/UpdateExpenseStatusRequest.d.ts +8 -0
  154. package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/UpdateExpenseStatusRequest.js +10 -0
  155. package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/index.d.ts +2 -0
  156. package/dist/api/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/index.js +18 -0
  157. package/dist/api/resources/api/resources/thera/resources/payroll/resources/index.d.ts +4 -0
  158. package/dist/api/resources/api/resources/thera/resources/payroll/resources/index.js +5 -1
  159. package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  160. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.d.ts +14 -0
  161. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +58 -5
  162. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.d.ts +1 -1
  163. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.js +15 -0
  164. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/requests/AddEmployeeToOncycleChecksRequest.d.ts +12 -0
  165. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/requests/AddEmployeeToOncycleChecksRequest.js +5 -0
  166. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/requests/index.d.ts +1 -0
  167. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/requests/index.js +2 -0
  168. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +7 -7
  169. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.d.ts +57 -2
  170. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +118 -16
  171. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/requests/GetHolidayDatesByUserIdRequest.d.ts +14 -0
  172. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/requests/GetHolidayDatesByUserIdRequest.js +5 -0
  173. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/requests/index.d.ts +1 -0
  174. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/AddTimeOffPolicyRequest.d.ts +1 -0
  175. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/GetHolidayDatesByUserIdResponse.d.ts +10 -0
  176. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/GetHolidayDatesByUserIdResponse.js +5 -0
  177. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/UpdateTimeOffPolicyRequest.d.ts +1 -0
  178. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/index.d.ts +1 -0
  179. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/index.js +1 -0
  180. package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  181. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.d.ts +2 -1
  182. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +13 -12
  183. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/ProcessFundsTransfer.d.ts +1 -0
  184. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -4
  185. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -4
  186. package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  187. package/dist/api/resources/db/resources/company/types/AssociateUsersToHolidayPolicyResponse.d.ts +5 -0
  188. package/dist/api/resources/db/resources/company/types/AssociateUsersToHolidayPolicyResponse.js +5 -0
  189. package/dist/api/resources/db/resources/company/types/CompanyHolidaysResponse.d.ts +8 -0
  190. package/dist/api/resources/db/resources/company/types/CompanyHolidaysResponse.js +5 -0
  191. package/dist/api/resources/db/resources/company/types/DeleteCustomHolidayResponse.d.ts +5 -0
  192. package/dist/api/resources/db/resources/company/types/DeleteCustomHolidayResponse.js +5 -0
  193. package/dist/api/resources/db/resources/company/types/Holiday.d.ts +15 -0
  194. package/dist/api/resources/db/resources/company/types/Holiday.js +5 -0
  195. package/dist/api/resources/db/resources/company/types/HolidayDate.d.ts +9 -0
  196. package/dist/api/resources/db/resources/company/types/HolidayDate.js +5 -0
  197. package/dist/api/resources/db/resources/company/types/HolidaySettings.d.ts +8 -0
  198. package/dist/api/resources/db/resources/company/types/HolidaySettings.js +5 -0
  199. package/dist/api/resources/db/resources/company/types/HolidayType.d.ts +8 -0
  200. package/dist/api/resources/db/resources/company/types/HolidayType.js +10 -0
  201. package/dist/api/resources/db/resources/company/types/TimeOffPolicy.d.ts +1 -0
  202. package/dist/api/resources/db/resources/company/types/TimeOffType.d.ts +2 -1
  203. package/dist/api/resources/db/resources/company/types/TimeOffType.js +1 -0
  204. package/dist/api/resources/db/resources/company/types/UserHolidaysResponse.d.ts +11 -0
  205. package/dist/api/resources/db/resources/company/types/UserHolidaysResponse.js +5 -0
  206. package/dist/api/resources/db/resources/company/types/W2Payroll.d.ts +0 -1
  207. package/dist/api/resources/db/resources/company/types/index.d.ts +8 -0
  208. package/dist/api/resources/db/resources/company/types/index.js +8 -0
  209. package/dist/api/resources/db/resources/expense/index.d.ts +1 -0
  210. package/dist/api/resources/db/resources/expense/index.js +17 -0
  211. package/dist/api/resources/db/resources/expense/types/Expense.d.ts +24 -0
  212. package/dist/api/resources/db/resources/expense/types/Expense.js +5 -0
  213. package/dist/api/resources/db/resources/expense/types/ExpenseStatus.d.ts +13 -0
  214. package/dist/api/resources/db/resources/expense/types/ExpenseStatus.js +15 -0
  215. package/dist/api/resources/db/resources/expense/types/ExpenseType.d.ts +7 -0
  216. package/dist/api/resources/db/resources/expense/types/ExpenseType.js +9 -0
  217. package/dist/api/resources/db/resources/expense/types/index.d.ts +3 -0
  218. package/dist/api/resources/db/resources/expense/types/index.js +19 -0
  219. package/dist/api/resources/db/resources/index.d.ts +2 -0
  220. package/dist/api/resources/db/resources/index.js +3 -1
  221. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/EorPayIn.d.ts +2 -1
  222. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/EorPayIn.js +2 -1
  223. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccount.d.ts +1 -0
  224. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccount.js +1 -0
  225. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Transfer.d.ts +1 -0
  226. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Transfer.js +1 -0
  227. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/bulkApproveW2Expense.d.ts +11 -0
  228. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/bulkApproveW2Expense.js +42 -0
  229. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/bulkDenyW2Expense.d.ts +11 -0
  230. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/bulkDenyW2Expense.js +42 -0
  231. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/index.d.ts +5 -0
  232. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/index.js +44 -0
  233. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/listW2Expenses.d.ts +11 -0
  234. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/listW2Expenses.js +42 -0
  235. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/listW2ExpensesByContract.d.ts +11 -0
  236. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/listW2ExpensesByContract.js +42 -0
  237. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/BulkApproveW2ExpenseRequest.d.ts +12 -0
  238. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/BulkApproveW2ExpenseRequest.js +43 -0
  239. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/BulkDenyW2ExpenseRequest.d.ts +12 -0
  240. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/BulkDenyW2ExpenseRequest.js +43 -0
  241. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/CreateExpenseRequest.d.ts +21 -0
  242. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/CreateExpenseRequest.js +52 -0
  243. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/index.d.ts +3 -0
  244. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/index.js +9 -0
  245. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/index.d.ts +2 -0
  246. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/index.js +18 -0
  247. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/UpdateExpenseRequest.d.ts +19 -0
  248. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/UpdateExpenseRequest.js +50 -0
  249. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/UpdateExpenseStatusRequest.d.ts +10 -0
  250. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/UpdateExpenseStatusRequest.js +41 -0
  251. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/index.d.ts +2 -0
  252. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/index.js +18 -0
  253. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/index.d.ts +4 -0
  254. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/index.js +5 -1
  255. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.d.ts +1 -0
  256. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.js +4 -0
  257. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/requests/AddEmployeeToOncycleChecksRequest.d.ts +12 -0
  258. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/requests/AddEmployeeToOncycleChecksRequest.js +43 -0
  259. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/requests/index.d.ts +1 -0
  260. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/requests/index.js +5 -0
  261. package/dist/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/AddTimeOffPolicyRequest.d.ts +2 -0
  262. package/dist/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/AddTimeOffPolicyRequest.js +2 -0
  263. package/dist/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/GetHolidayDatesByUserIdResponse.d.ts +16 -0
  264. package/dist/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/GetHolidayDatesByUserIdResponse.js +47 -0
  265. package/dist/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/UpdateTimeOffPolicyRequest.d.ts +2 -0
  266. package/dist/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/UpdateTimeOffPolicyRequest.js +2 -0
  267. package/dist/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/index.d.ts +1 -0
  268. package/dist/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/index.js +1 -0
  269. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/ProcessFundsTransfer.d.ts +1 -0
  270. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/ProcessFundsTransfer.js +1 -0
  271. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -4
  272. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -4
  273. package/dist/serialization/resources/db/resources/company/types/AssociateUsersToHolidayPolicyResponse.d.ts +11 -0
  274. package/dist/serialization/resources/db/resources/company/types/AssociateUsersToHolidayPolicyResponse.js +41 -0
  275. package/dist/serialization/resources/db/resources/company/types/CompanyHolidaysResponse.d.ts +14 -0
  276. package/dist/serialization/resources/db/resources/company/types/CompanyHolidaysResponse.js +45 -0
  277. package/dist/serialization/resources/db/resources/company/types/DeleteCustomHolidayResponse.d.ts +11 -0
  278. package/dist/serialization/resources/db/resources/company/types/DeleteCustomHolidayResponse.js +41 -0
  279. package/dist/serialization/resources/db/resources/company/types/Holiday.d.ts +21 -0
  280. package/dist/serialization/resources/db/resources/company/types/Holiday.js +52 -0
  281. package/dist/serialization/resources/db/resources/company/types/HolidayDate.d.ts +15 -0
  282. package/dist/serialization/resources/db/resources/company/types/HolidayDate.js +46 -0
  283. package/dist/serialization/resources/db/resources/company/types/HolidaySettings.d.ts +14 -0
  284. package/dist/serialization/resources/db/resources/company/types/HolidaySettings.js +45 -0
  285. package/dist/serialization/resources/db/resources/company/types/HolidayType.d.ts +10 -0
  286. package/dist/serialization/resources/db/resources/company/types/HolidayType.js +41 -0
  287. package/dist/serialization/resources/db/resources/company/types/TimeOffPolicy.d.ts +2 -0
  288. package/dist/serialization/resources/db/resources/company/types/TimeOffPolicy.js +2 -0
  289. package/dist/serialization/resources/db/resources/company/types/TimeOffType.d.ts +1 -1
  290. package/dist/serialization/resources/db/resources/company/types/TimeOffType.js +1 -1
  291. package/dist/serialization/resources/db/resources/company/types/UserHolidaysResponse.d.ts +17 -0
  292. package/dist/serialization/resources/db/resources/company/types/UserHolidaysResponse.js +48 -0
  293. package/dist/serialization/resources/db/resources/company/types/W2Payroll.d.ts +0 -1
  294. package/dist/serialization/resources/db/resources/company/types/W2Payroll.js +0 -1
  295. package/dist/serialization/resources/db/resources/company/types/index.d.ts +8 -0
  296. package/dist/serialization/resources/db/resources/company/types/index.js +8 -0
  297. package/dist/serialization/resources/db/resources/expense/index.d.ts +1 -0
  298. package/dist/serialization/resources/db/resources/expense/index.js +17 -0
  299. package/dist/serialization/resources/db/resources/expense/types/Expense.d.ts +28 -0
  300. package/dist/serialization/resources/db/resources/expense/types/Expense.js +59 -0
  301. package/dist/serialization/resources/db/resources/expense/types/ExpenseStatus.d.ts +10 -0
  302. package/dist/serialization/resources/db/resources/expense/types/ExpenseStatus.js +41 -0
  303. package/dist/serialization/resources/db/resources/expense/types/ExpenseType.d.ts +10 -0
  304. package/dist/serialization/resources/db/resources/expense/types/ExpenseType.js +41 -0
  305. package/dist/serialization/resources/db/resources/expense/types/index.d.ts +3 -0
  306. package/dist/serialization/resources/db/resources/expense/types/index.js +19 -0
  307. package/dist/serialization/resources/db/resources/index.d.ts +2 -0
  308. package/dist/serialization/resources/db/resources/index.js +3 -1
  309. package/dist/version.d.ts +1 -1
  310. package/dist/version.js +1 -1
  311. package/package.json +1 -1
  312. package/reference.md +1127 -113
  313. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/EorPayIn.d.ts +2 -1
  314. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/EorPayIn.js +2 -1
  315. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccount.d.ts +1 -0
  316. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/ExternalAccount.js +1 -0
  317. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Transfer.d.ts +1 -0
  318. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/Transfer.js +1 -0
  319. package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/bulkApproveW2Expense.d.ts +11 -0
  320. package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/bulkApproveW2Expense.js +42 -0
  321. package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/bulkDenyW2Expense.d.ts +11 -0
  322. package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/bulkDenyW2Expense.js +42 -0
  323. package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/index.d.ts +5 -0
  324. package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/index.js +44 -0
  325. package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/listW2Expenses.d.ts +11 -0
  326. package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/listW2Expenses.js +42 -0
  327. package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/listW2ExpensesByContract.d.ts +11 -0
  328. package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/listW2ExpensesByContract.js +42 -0
  329. package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/BulkApproveW2ExpenseRequest.d.ts +12 -0
  330. package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/BulkApproveW2ExpenseRequest.js +43 -0
  331. package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/BulkDenyW2ExpenseRequest.d.ts +12 -0
  332. package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/BulkDenyW2ExpenseRequest.js +43 -0
  333. package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/CreateExpenseRequest.d.ts +21 -0
  334. package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/CreateExpenseRequest.js +52 -0
  335. package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/index.d.ts +3 -0
  336. package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/client/requests/index.js +9 -0
  337. package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/index.d.ts +2 -0
  338. package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/index.js +18 -0
  339. package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/UpdateExpenseRequest.d.ts +19 -0
  340. package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/UpdateExpenseRequest.js +50 -0
  341. package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/UpdateExpenseStatusRequest.d.ts +10 -0
  342. package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/UpdateExpenseStatusRequest.js +41 -0
  343. package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/index.d.ts +2 -0
  344. package/serialization/resources/api/resources/thera/resources/payroll/resources/expenseApi/types/index.js +18 -0
  345. package/serialization/resources/api/resources/thera/resources/payroll/resources/index.d.ts +4 -0
  346. package/serialization/resources/api/resources/thera/resources/payroll/resources/index.js +5 -1
  347. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.d.ts +1 -0
  348. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.js +4 -0
  349. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/requests/AddEmployeeToOncycleChecksRequest.d.ts +12 -0
  350. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/requests/AddEmployeeToOncycleChecksRequest.js +43 -0
  351. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/requests/index.d.ts +1 -0
  352. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/requests/index.js +5 -0
  353. package/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/AddTimeOffPolicyRequest.d.ts +2 -0
  354. package/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/AddTimeOffPolicyRequest.js +2 -0
  355. package/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/GetHolidayDatesByUserIdResponse.d.ts +16 -0
  356. package/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/GetHolidayDatesByUserIdResponse.js +47 -0
  357. package/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/UpdateTimeOffPolicyRequest.d.ts +2 -0
  358. package/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/UpdateTimeOffPolicyRequest.js +2 -0
  359. package/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/index.d.ts +1 -0
  360. package/serialization/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/types/index.js +1 -0
  361. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/ProcessFundsTransfer.d.ts +1 -0
  362. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/ProcessFundsTransfer.js +1 -0
  363. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -4
  364. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -4
  365. package/serialization/resources/db/resources/company/types/AssociateUsersToHolidayPolicyResponse.d.ts +11 -0
  366. package/serialization/resources/db/resources/company/types/AssociateUsersToHolidayPolicyResponse.js +41 -0
  367. package/serialization/resources/db/resources/company/types/CompanyHolidaysResponse.d.ts +14 -0
  368. package/serialization/resources/db/resources/company/types/CompanyHolidaysResponse.js +45 -0
  369. package/serialization/resources/db/resources/company/types/DeleteCustomHolidayResponse.d.ts +11 -0
  370. package/serialization/resources/db/resources/company/types/DeleteCustomHolidayResponse.js +41 -0
  371. package/serialization/resources/db/resources/company/types/Holiday.d.ts +21 -0
  372. package/serialization/resources/db/resources/company/types/Holiday.js +52 -0
  373. package/serialization/resources/db/resources/company/types/HolidayDate.d.ts +15 -0
  374. package/serialization/resources/db/resources/company/types/HolidayDate.js +46 -0
  375. package/serialization/resources/db/resources/company/types/HolidaySettings.d.ts +14 -0
  376. package/serialization/resources/db/resources/company/types/HolidaySettings.js +45 -0
  377. package/serialization/resources/db/resources/company/types/HolidayType.d.ts +10 -0
  378. package/serialization/resources/db/resources/company/types/HolidayType.js +41 -0
  379. package/serialization/resources/db/resources/company/types/TimeOffPolicy.d.ts +2 -0
  380. package/serialization/resources/db/resources/company/types/TimeOffPolicy.js +2 -0
  381. package/serialization/resources/db/resources/company/types/TimeOffType.d.ts +1 -1
  382. package/serialization/resources/db/resources/company/types/TimeOffType.js +1 -1
  383. package/serialization/resources/db/resources/company/types/UserHolidaysResponse.d.ts +17 -0
  384. package/serialization/resources/db/resources/company/types/UserHolidaysResponse.js +48 -0
  385. package/serialization/resources/db/resources/company/types/W2Payroll.d.ts +0 -1
  386. package/serialization/resources/db/resources/company/types/W2Payroll.js +0 -1
  387. package/serialization/resources/db/resources/company/types/index.d.ts +8 -0
  388. package/serialization/resources/db/resources/company/types/index.js +8 -0
  389. package/serialization/resources/db/resources/expense/index.d.ts +1 -0
  390. package/serialization/resources/db/resources/expense/index.js +17 -0
  391. package/serialization/resources/db/resources/expense/types/Expense.d.ts +28 -0
  392. package/serialization/resources/db/resources/expense/types/Expense.js +59 -0
  393. package/serialization/resources/db/resources/expense/types/ExpenseStatus.d.ts +10 -0
  394. package/serialization/resources/db/resources/expense/types/ExpenseStatus.js +41 -0
  395. package/serialization/resources/db/resources/expense/types/ExpenseType.d.ts +10 -0
  396. package/serialization/resources/db/resources/expense/types/ExpenseType.js +41 -0
  397. package/serialization/resources/db/resources/expense/types/index.d.ts +3 -0
  398. package/serialization/resources/db/resources/expense/types/index.js +19 -0
  399. package/serialization/resources/db/resources/index.d.ts +2 -0
  400. package/serialization/resources/db/resources/index.js +3 -1
  401. package/version.d.ts +1 -1
  402. 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,2 @@
1
+ export * from "./UpdateExpenseStatusRequest";
2
+ export * from "./UpdateExpenseRequest";
@@ -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);
@@ -1,2 +1,3 @@
1
1
  export * as getOnCycleChecks from "./getOnCycleChecks";
2
2
  export * as getOnCycleCheckDetails from "./getOnCycleCheckDetails";
3
+ export * from "./requests";
@@ -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);
@@ -14,5 +14,6 @@ export declare namespace ProcessFundsTransfer {
14
14
  secCode?: string | null;
15
15
  service: string;
16
16
  revenueAmount?: string | null;
17
+ cashDeposit?: boolean | null;
17
18
  }
18
19
  }
@@ -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
  });
@@ -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";
@@ -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
+ }
@@ -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
+ }