@thera-hr/api-sdk 0.0.1-prerelease3044-dev-2 → 0.0.1-prerelease3044-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 (294) 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 +1 -27
  7. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +35 -155
  8. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetPayInHistoryRequest.d.ts +1 -5
  9. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.d.ts +0 -1
  10. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.d.ts +0 -1
  11. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -1
  12. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -1
  13. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +24 -24
  14. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  15. package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -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/misc/resources/misc/client/Client.js +7 -7
  24. package/api/resources/api/resources/thera/resources/payroll/client/Client.d.ts +3 -0
  25. package/api/resources/api/resources/thera/resources/payroll/client/Client.js +5 -0
  26. package/api/resources/api/resources/thera/resources/payroll/resources/index.d.ts +3 -0
  27. package/api/resources/api/resources/thera/resources/payroll/resources/index.js +4 -1
  28. package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  29. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.d.ts +18 -5
  30. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +66 -11
  31. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.d.ts +1 -0
  32. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.d.ts +126 -0
  33. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +465 -0
  34. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +1 -0
  35. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.js +17 -0
  36. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.d.ts +14 -0
  37. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.d.ts +24 -0
  38. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +26 -0
  39. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.d.ts +3 -0
  40. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.js +2 -0
  41. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.d.ts +2 -0
  42. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.js +18 -0
  43. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.d.ts +6 -0
  44. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.d.ts +14 -0
  45. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js +5 -0
  46. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.d.ts +9 -0
  47. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.js +5 -0
  48. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.d.ts +10 -0
  49. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.js +5 -0
  50. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +14 -0
  51. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js +5 -0
  52. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +10 -0
  53. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js +12 -0
  54. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +6 -0
  55. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.js +22 -0
  56. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  57. package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  58. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.d.ts +40 -0
  59. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +89 -10
  60. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.d.ts +8 -0
  61. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.js +5 -0
  62. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.d.ts +10 -0
  63. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.js +5 -0
  64. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.d.ts +11 -0
  65. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.js +5 -0
  66. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.d.ts +11 -0
  67. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.js +5 -0
  68. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -0
  69. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -0
  70. package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  71. package/api/resources/db/resources/company/types/TpCompanyInformation.d.ts +1 -0
  72. package/api/resources/db/resources/company/types/W2Payroll.d.ts +2 -0
  73. package/api/resources/db/resources/company/types/WithdrawalTpBankInfo.d.ts +10 -0
  74. package/api/resources/db/resources/company/types/WithdrawalTpBankInfo.js +5 -0
  75. package/api/resources/db/resources/company/types/index.d.ts +1 -0
  76. package/api/resources/db/resources/company/types/index.js +1 -0
  77. package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  78. package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  79. package/dist/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
  80. package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  81. package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  82. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +1 -27
  83. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +35 -155
  84. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetPayInHistoryRequest.d.ts +1 -5
  85. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.d.ts +0 -1
  86. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.d.ts +0 -1
  87. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -1
  88. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -1
  89. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +24 -24
  90. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  91. package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  92. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  93. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  94. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  95. package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  96. package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  97. package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  98. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
  99. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +7 -7
  100. package/dist/api/resources/api/resources/thera/resources/payroll/client/Client.d.ts +3 -0
  101. package/dist/api/resources/api/resources/thera/resources/payroll/client/Client.js +5 -0
  102. package/dist/api/resources/api/resources/thera/resources/payroll/resources/index.d.ts +3 -0
  103. package/dist/api/resources/api/resources/thera/resources/payroll/resources/index.js +4 -1
  104. package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  105. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.d.ts +18 -5
  106. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +66 -11
  107. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.d.ts +1 -0
  108. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.d.ts +126 -0
  109. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +465 -0
  110. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +1 -0
  111. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.js +17 -0
  112. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.d.ts +14 -0
  113. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js +5 -0
  114. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.d.ts +24 -0
  115. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js +5 -0
  116. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +26 -0
  117. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js +5 -0
  118. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.d.ts +3 -0
  119. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.js +2 -0
  120. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.d.ts +2 -0
  121. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.js +18 -0
  122. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.d.ts +6 -0
  123. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js +5 -0
  124. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.d.ts +14 -0
  125. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js +5 -0
  126. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.d.ts +9 -0
  127. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.js +5 -0
  128. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.d.ts +10 -0
  129. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.js +5 -0
  130. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +14 -0
  131. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js +5 -0
  132. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +10 -0
  133. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js +12 -0
  134. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +6 -0
  135. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.js +22 -0
  136. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  137. package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  138. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.d.ts +40 -0
  139. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +89 -10
  140. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.d.ts +8 -0
  141. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.js +5 -0
  142. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.d.ts +10 -0
  143. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.js +5 -0
  144. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.d.ts +11 -0
  145. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.js +5 -0
  146. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.d.ts +11 -0
  147. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.js +5 -0
  148. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -0
  149. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -0
  150. package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  151. package/dist/api/resources/db/resources/company/types/TpCompanyInformation.d.ts +1 -0
  152. package/dist/api/resources/db/resources/company/types/W2Payroll.d.ts +2 -0
  153. package/dist/api/resources/db/resources/company/types/WithdrawalTpBankInfo.d.ts +10 -0
  154. package/dist/api/resources/db/resources/company/types/WithdrawalTpBankInfo.js +5 -0
  155. package/dist/api/resources/db/resources/company/types/index.d.ts +1 -0
  156. package/dist/api/resources/db/resources/company/types/index.js +1 -0
  157. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.d.ts +0 -1
  158. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.js +0 -1
  159. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -1
  160. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -1
  161. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/index.d.ts +3 -0
  162. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/index.js +4 -1
  163. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.d.ts +11 -0
  164. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.js +8 -0
  165. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleChecks.d.ts +2 -2
  166. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleChecks.js +35 -1
  167. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.d.ts +1 -0
  168. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.js +2 -1
  169. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.d.ts +1 -0
  170. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.js +1 -0
  171. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/getSomePaySchedulePaydays.d.ts +11 -0
  172. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/getSomePaySchedulePaydays.js +42 -0
  173. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +3 -0
  174. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.js +42 -0
  175. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.d.ts +11 -0
  176. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.js +42 -0
  177. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.d.ts +12 -0
  178. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js +43 -0
  179. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.d.ts +18 -0
  180. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js +49 -0
  181. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +19 -0
  182. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js +50 -0
  183. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.d.ts +3 -0
  184. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.js +9 -0
  185. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.d.ts +2 -0
  186. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.js +18 -0
  187. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.d.ts +12 -0
  188. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js +43 -0
  189. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.d.ts +20 -0
  190. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js +51 -0
  191. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.d.ts +13 -0
  192. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.js +44 -0
  193. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.d.ts +16 -0
  194. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.js +47 -0
  195. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +20 -0
  196. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js +51 -0
  197. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +10 -0
  198. package/dist/serialization/resources/api/resources/thera/resources/{bank/resources/bankApi/types/GetPayInCountResponse.js → payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js} +2 -4
  199. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +6 -0
  200. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.js +22 -0
  201. package/dist/serialization/resources/api/resources/thera/resources/{bank/resources/bankApi/types/GetPayInCountResponse.d.ts → tp/resources/tpApi/types/WithdrawalAch.d.ts} +5 -3
  202. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.js +45 -0
  203. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.d.ts +17 -0
  204. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.js +48 -0
  205. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.d.ts +17 -0
  206. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.js +48 -0
  207. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.d.ts +17 -0
  208. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.js +48 -0
  209. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -0
  210. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -0
  211. package/dist/serialization/resources/db/resources/company/types/TpCompanyInformation.d.ts +2 -0
  212. package/dist/serialization/resources/db/resources/company/types/TpCompanyInformation.js +2 -0
  213. package/dist/serialization/resources/db/resources/company/types/W2Payroll.d.ts +1 -0
  214. package/dist/serialization/resources/db/resources/company/types/W2Payroll.js +1 -0
  215. package/dist/serialization/resources/db/resources/company/types/WithdrawalTpBankInfo.d.ts +16 -0
  216. package/dist/serialization/resources/db/resources/company/types/WithdrawalTpBankInfo.js +47 -0
  217. package/dist/serialization/resources/db/resources/company/types/index.d.ts +1 -0
  218. package/dist/serialization/resources/db/resources/company/types/index.js +1 -0
  219. package/dist/version.d.ts +1 -1
  220. package/dist/version.js +1 -1
  221. package/package.json +1 -1
  222. package/reference.md +804 -253
  223. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.d.ts +0 -1
  224. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.js +0 -1
  225. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -1
  226. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -1
  227. package/serialization/resources/api/resources/thera/resources/payroll/resources/index.d.ts +3 -0
  228. package/serialization/resources/api/resources/thera/resources/payroll/resources/index.js +4 -1
  229. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.d.ts +11 -0
  230. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.js +8 -0
  231. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleChecks.d.ts +2 -2
  232. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleChecks.js +35 -1
  233. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.d.ts +1 -0
  234. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.js +2 -1
  235. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.d.ts +1 -0
  236. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.js +1 -0
  237. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/getSomePaySchedulePaydays.d.ts +11 -0
  238. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/getSomePaySchedulePaydays.js +42 -0
  239. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +3 -0
  240. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.js +42 -0
  241. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.d.ts +11 -0
  242. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.js +42 -0
  243. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.d.ts +12 -0
  244. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js +43 -0
  245. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.d.ts +18 -0
  246. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js +49 -0
  247. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +19 -0
  248. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js +50 -0
  249. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.d.ts +3 -0
  250. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.js +9 -0
  251. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.d.ts +2 -0
  252. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.js +18 -0
  253. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.d.ts +12 -0
  254. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js +43 -0
  255. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.d.ts +20 -0
  256. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js +51 -0
  257. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.d.ts +13 -0
  258. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.js +44 -0
  259. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.d.ts +16 -0
  260. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.js +47 -0
  261. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +20 -0
  262. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js +51 -0
  263. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +10 -0
  264. package/serialization/resources/api/resources/thera/resources/{bank/resources/bankApi/types/GetPayInCountResponse.js → payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js} +2 -4
  265. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +6 -0
  266. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.js +22 -0
  267. package/serialization/resources/api/resources/thera/resources/{bank/resources/bankApi/types/GetPayInCountResponse.d.ts → tp/resources/tpApi/types/WithdrawalAch.d.ts} +5 -3
  268. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.js +45 -0
  269. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.d.ts +17 -0
  270. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.js +48 -0
  271. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.d.ts +17 -0
  272. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.js +48 -0
  273. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.d.ts +17 -0
  274. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.js +48 -0
  275. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -0
  276. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -0
  277. package/serialization/resources/db/resources/company/types/TpCompanyInformation.d.ts +2 -0
  278. package/serialization/resources/db/resources/company/types/TpCompanyInformation.js +2 -0
  279. package/serialization/resources/db/resources/company/types/W2Payroll.d.ts +1 -0
  280. package/serialization/resources/db/resources/company/types/W2Payroll.js +1 -0
  281. package/serialization/resources/db/resources/company/types/WithdrawalTpBankInfo.d.ts +16 -0
  282. package/serialization/resources/db/resources/company/types/WithdrawalTpBankInfo.js +47 -0
  283. package/serialization/resources/db/resources/company/types/index.d.ts +1 -0
  284. package/serialization/resources/db/resources/company/types/index.js +1 -0
  285. package/version.d.ts +1 -1
  286. package/version.js +1 -1
  287. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetPaymentByTypeRequest.d.ts +0 -12
  288. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInCountResponse.d.ts +0 -6
  289. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetPaymentByTypeRequest.d.ts +0 -12
  290. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInCountResponse.d.ts +0 -6
  291. /package/api/resources/api/resources/thera/resources/{bank/resources/bankApi/client/requests/GetPaymentByTypeRequest.js → payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js} +0 -0
  292. /package/api/resources/api/resources/thera/resources/{bank/resources/bankApi/types/GetPayInCountResponse.js → payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js} +0 -0
  293. /package/{dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetPaymentByTypeRequest.js → api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js} +0 -0
  294. /package/{dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInCountResponse.js → api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js} +0 -0
@@ -0,0 +1,20 @@
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 { PaySchedulePayFrequency } from "./PaySchedulePayFrequency";
8
+ export declare const CheckGetPayScheduleResponse: core.serialization.ObjectSchema<serializers.api.thera.payroll.CheckGetPayScheduleResponse.Raw, TheraApi.api.thera.payroll.CheckGetPayScheduleResponse>;
9
+ export declare namespace CheckGetPayScheduleResponse {
10
+ interface Raw {
11
+ id: string;
12
+ company: string;
13
+ name: string;
14
+ pay_frequency: PaySchedulePayFrequency.Raw;
15
+ first_payday: string;
16
+ second_payday?: string | null;
17
+ first_period_end: string;
18
+ metadata?: unknown;
19
+ }
20
+ }
@@ -0,0 +1,51 @@
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.CheckGetPayScheduleResponse = void 0;
40
+ const core = __importStar(require("../../../../../../../../../../core"));
41
+ const PaySchedulePayFrequency_1 = require("./PaySchedulePayFrequency");
42
+ exports.CheckGetPayScheduleResponse = core.serialization.object({
43
+ id: core.serialization.string(),
44
+ company: core.serialization.string(),
45
+ name: core.serialization.string(),
46
+ payFrequency: core.serialization.property("pay_frequency", PaySchedulePayFrequency_1.PaySchedulePayFrequency),
47
+ firstPayday: core.serialization.property("first_payday", core.serialization.string()),
48
+ secondPayday: core.serialization.property("second_payday", core.serialization.string().optional()),
49
+ firstPeriodEnd: core.serialization.property("first_period_end", core.serialization.string()),
50
+ metadata: core.serialization.unknown(),
51
+ });
@@ -0,0 +1,13 @@
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 CheckPayScheduleMetadata: core.serialization.ObjectSchema<serializers.api.thera.payroll.CheckPayScheduleMetadata.Raw, TheraApi.api.thera.payroll.CheckPayScheduleMetadata>;
8
+ export declare namespace CheckPayScheduleMetadata {
9
+ interface Raw {
10
+ deleted?: string | null;
11
+ autopilotEnabled?: string | null;
12
+ }
13
+ }
@@ -0,0 +1,44 @@
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.CheckPayScheduleMetadata = void 0;
40
+ const core = __importStar(require("../../../../../../../../../../core"));
41
+ exports.CheckPayScheduleMetadata = core.serialization.object({
42
+ deleted: core.serialization.string().optional(),
43
+ autopilotEnabled: core.serialization.string().optional(),
44
+ });
@@ -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
+ export declare const GetPaySchedulePaydaysResponse: core.serialization.ObjectSchema<serializers.api.thera.payroll.GetPaySchedulePaydaysResponse.Raw, TheraApi.api.thera.payroll.GetPaySchedulePaydaysResponse>;
8
+ export declare namespace GetPaySchedulePaydaysResponse {
9
+ interface Raw {
10
+ payday: string;
11
+ periodStart: string;
12
+ periodEnd: string;
13
+ approvalDeadline: string;
14
+ impactedByWeekendOrHoliday: boolean;
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.GetPaySchedulePaydaysResponse = void 0;
40
+ const core = __importStar(require("../../../../../../../../../../core"));
41
+ exports.GetPaySchedulePaydaysResponse = core.serialization.object({
42
+ payday: core.serialization.string(),
43
+ periodStart: core.serialization.string(),
44
+ periodEnd: core.serialization.string(),
45
+ approvalDeadline: core.serialization.string(),
46
+ impactedByWeekendOrHoliday: core.serialization.boolean(),
47
+ });
@@ -0,0 +1,20 @@
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 { PaySchedulePayFrequency } from "./PaySchedulePayFrequency";
8
+ export declare const GetPayScheduleResponse: core.serialization.ObjectSchema<serializers.api.thera.payroll.GetPayScheduleResponse.Raw, TheraApi.api.thera.payroll.GetPayScheduleResponse>;
9
+ export declare namespace GetPayScheduleResponse {
10
+ interface Raw {
11
+ id: string;
12
+ company: string;
13
+ name: string;
14
+ payFrequency: PaySchedulePayFrequency.Raw;
15
+ firstPayDate: string;
16
+ secondPayDate?: string | null;
17
+ firstPeriodEndDate: string;
18
+ metadata?: unknown;
19
+ }
20
+ }
@@ -0,0 +1,51 @@
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.GetPayScheduleResponse = void 0;
40
+ const core = __importStar(require("../../../../../../../../../../core"));
41
+ const PaySchedulePayFrequency_1 = require("./PaySchedulePayFrequency");
42
+ exports.GetPayScheduleResponse = core.serialization.object({
43
+ id: core.serialization.string(),
44
+ company: core.serialization.string(),
45
+ name: core.serialization.string(),
46
+ payFrequency: PaySchedulePayFrequency_1.PaySchedulePayFrequency,
47
+ firstPayDate: core.serialization.string(),
48
+ secondPayDate: core.serialization.string().optional(),
49
+ firstPeriodEndDate: core.serialization.string(),
50
+ metadata: core.serialization.unknown(),
51
+ });
@@ -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 PaySchedulePayFrequency: core.serialization.Schema<serializers.api.thera.payroll.PaySchedulePayFrequency.Raw, TheraApi.api.thera.payroll.PaySchedulePayFrequency>;
8
+ export declare namespace PaySchedulePayFrequency {
9
+ type Raw = "weekly" | "biweekly" | "semimonthly" | "monthly";
10
+ }
@@ -36,8 +36,6 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.GetPayInCountResponse = void 0;
39
+ exports.PaySchedulePayFrequency = void 0;
40
40
  const core = __importStar(require("../../../../../../../../../../core"));
41
- exports.GetPayInCountResponse = core.serialization.object({
42
- totalCount: core.serialization.number(),
43
- });
41
+ exports.PaySchedulePayFrequency = core.serialization.enum_(["weekly", "biweekly", "semimonthly", "monthly"]);
@@ -0,0 +1,6 @@
1
+ export * from "./GetPaySchedulePaydaysResponse";
2
+ export * from "./AssignW2EmployeeToPayScheduleResponse";
3
+ export * from "./CheckGetPayScheduleResponse";
4
+ export * from "./GetPayScheduleResponse";
5
+ export * from "./PaySchedulePayFrequency";
6
+ export * from "./CheckPayScheduleMetadata";
@@ -0,0 +1,22 @@
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("./GetPaySchedulePaydaysResponse"), exports);
18
+ __exportStar(require("./AssignW2EmployeeToPayScheduleResponse"), exports);
19
+ __exportStar(require("./CheckGetPayScheduleResponse"), exports);
20
+ __exportStar(require("./GetPayScheduleResponse"), exports);
21
+ __exportStar(require("./PaySchedulePayFrequency"), exports);
22
+ __exportStar(require("./CheckPayScheduleMetadata"), exports);
@@ -4,9 +4,11 @@
4
4
  import * as serializers from "../../../../../../../../../index";
5
5
  import * as TheraApi from "../../../../../../../../../../api/index";
6
6
  import * as core from "../../../../../../../../../../core";
7
- export declare const GetPayInCountResponse: core.serialization.ObjectSchema<serializers.api.thera.bank.GetPayInCountResponse.Raw, TheraApi.api.thera.bank.GetPayInCountResponse>;
8
- export declare namespace GetPayInCountResponse {
7
+ export declare const WithdrawalAch: core.serialization.ObjectSchema<serializers.api.thera.tp.WithdrawalAch.Raw, TheraApi.api.thera.tp.WithdrawalAch>;
8
+ export declare namespace WithdrawalAch {
9
9
  interface Raw {
10
- totalCount: number;
10
+ account_number: string;
11
+ account_type: string;
12
+ routing_number: string;
11
13
  }
12
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.WithdrawalAch = void 0;
40
+ const core = __importStar(require("../../../../../../../../../../core"));
41
+ exports.WithdrawalAch = core.serialization.object({
42
+ accountNumber: core.serialization.property("account_number", core.serialization.string()),
43
+ accountType: core.serialization.property("account_type", core.serialization.string()),
44
+ routingNumber: core.serialization.property("routing_number", core.serialization.string()),
45
+ });
@@ -0,0 +1,17 @@
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 { WithdrawalAch } from "./WithdrawalAch";
8
+ import { WithdrawalWire } from "./WithdrawalWire";
9
+ export declare const WithdrawalTheraCash: core.serialization.ObjectSchema<serializers.api.thera.tp.WithdrawalTheraCash.Raw, TheraApi.api.thera.tp.WithdrawalTheraCash>;
10
+ export declare namespace WithdrawalTheraCash {
11
+ interface Raw {
12
+ name_on_account: string;
13
+ amount: string;
14
+ ach?: WithdrawalAch.Raw | null;
15
+ wire?: WithdrawalWire.Raw | null;
16
+ }
17
+ }
@@ -0,0 +1,48 @@
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.WithdrawalTheraCash = void 0;
40
+ const core = __importStar(require("../../../../../../../../../../core"));
41
+ const WithdrawalAch_1 = require("./WithdrawalAch");
42
+ const WithdrawalWire_1 = require("./WithdrawalWire");
43
+ exports.WithdrawalTheraCash = core.serialization.object({
44
+ nameOnAccount: core.serialization.property("name_on_account", core.serialization.string()),
45
+ amount: core.serialization.string(),
46
+ ach: WithdrawalAch_1.WithdrawalAch.optional(),
47
+ wire: WithdrawalWire_1.WithdrawalWire.optional(),
48
+ });
@@ -0,0 +1,17 @@
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 { WithdrawalWireAddress } from "./WithdrawalWireAddress";
8
+ export declare const WithdrawalWire: core.serialization.ObjectSchema<serializers.api.thera.tp.WithdrawalWire.Raw, TheraApi.api.thera.tp.WithdrawalWire>;
9
+ export declare namespace WithdrawalWire {
10
+ interface Raw {
11
+ account_number: string;
12
+ routing_number: string;
13
+ address_on_account: WithdrawalWireAddress.Raw;
14
+ bank_name: string;
15
+ bank_address: WithdrawalWireAddress.Raw;
16
+ }
17
+ }
@@ -0,0 +1,48 @@
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.WithdrawalWire = void 0;
40
+ const core = __importStar(require("../../../../../../../../../../core"));
41
+ const WithdrawalWireAddress_1 = require("./WithdrawalWireAddress");
42
+ exports.WithdrawalWire = core.serialization.object({
43
+ accountNumber: core.serialization.property("account_number", core.serialization.string()),
44
+ routingNumber: core.serialization.property("routing_number", core.serialization.string()),
45
+ addressOnAccount: core.serialization.property("address_on_account", WithdrawalWireAddress_1.WithdrawalWireAddress),
46
+ bankName: core.serialization.property("bank_name", core.serialization.string()),
47
+ bankAddress: core.serialization.property("bank_address", WithdrawalWireAddress_1.WithdrawalWireAddress),
48
+ });
@@ -0,0 +1,17 @@
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 WithdrawalWireAddress: core.serialization.ObjectSchema<serializers.api.thera.tp.WithdrawalWireAddress.Raw, TheraApi.api.thera.tp.WithdrawalWireAddress>;
8
+ export declare namespace WithdrawalWireAddress {
9
+ interface Raw {
10
+ street_line_1: string;
11
+ street_line_2?: string | null;
12
+ city: string;
13
+ state: string;
14
+ postal_code: string;
15
+ country: string;
16
+ }
17
+ }
@@ -0,0 +1,48 @@
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.WithdrawalWireAddress = void 0;
40
+ const core = __importStar(require("../../../../../../../../../../core"));
41
+ exports.WithdrawalWireAddress = core.serialization.object({
42
+ streetLine1: core.serialization.property("street_line_1", core.serialization.string()),
43
+ streetLine2: core.serialization.property("street_line_2", core.serialization.string().optional()),
44
+ city: core.serialization.string(),
45
+ state: core.serialization.string(),
46
+ postalCode: core.serialization.property("postal_code", core.serialization.string()),
47
+ country: core.serialization.string(),
48
+ });
@@ -8,3 +8,7 @@ export * from "./TransferFundsToOmnibusAccount";
8
8
  export * from "./TpTransactionHistory";
9
9
  export * from "./ExternalTransferFund";
10
10
  export * from "./FboType";
11
+ export * from "./WithdrawalTheraCash";
12
+ export * from "./WithdrawalAch";
13
+ export * from "./WithdrawalWire";
14
+ export * from "./WithdrawalWireAddress";
@@ -24,3 +24,7 @@ __exportStar(require("./TransferFundsToOmnibusAccount"), exports);
24
24
  __exportStar(require("./TpTransactionHistory"), exports);
25
25
  __exportStar(require("./ExternalTransferFund"), exports);
26
26
  __exportStar(require("./FboType"), exports);
27
+ __exportStar(require("./WithdrawalTheraCash"), exports);
28
+ __exportStar(require("./WithdrawalAch"), exports);
29
+ __exportStar(require("./WithdrawalWire"), exports);
30
+ __exportStar(require("./WithdrawalWireAddress"), exports);
@@ -7,6 +7,7 @@ import * as core from "../../../../../../core";
7
7
  import { TpDepositAccount } from "./TpDepositAccount";
8
8
  import { TpDisbursementAccount } from "./TpDisbursementAccount";
9
9
  import { TpCompanyOnboardingStage } from "./TpCompanyOnboardingStage";
10
+ import { WithdrawalTpBankInfo } from "./WithdrawalTpBankInfo";
10
11
  export declare const TpCompanyInformation: core.serialization.ObjectSchema<serializers.db.TpCompanyInformation.Raw, TheraApi.db.TpCompanyInformation>;
11
12
  export declare namespace TpCompanyInformation {
12
13
  interface Raw {
@@ -16,5 +17,6 @@ export declare namespace TpCompanyInformation {
16
17
  disbursementAccount?: TpDisbursementAccount.Raw | null;
17
18
  payrollFboOnboardingStage: TpCompanyOnboardingStage.Raw;
18
19
  lastInterestPaidMonth?: string | null;
20
+ withdrawalTpBankInfo?: WithdrawalTpBankInfo.Raw[] | null;
19
21
  }
20
22
  }
@@ -41,6 +41,7 @@ const core = __importStar(require("../../../../../../core"));
41
41
  const TpDepositAccount_1 = require("./TpDepositAccount");
42
42
  const TpDisbursementAccount_1 = require("./TpDisbursementAccount");
43
43
  const TpCompanyOnboardingStage_1 = require("./TpCompanyOnboardingStage");
44
+ const WithdrawalTpBankInfo_1 = require("./WithdrawalTpBankInfo");
44
45
  exports.TpCompanyInformation = core.serialization.object({
45
46
  businessApplicationId: core.serialization.string().optional(),
46
47
  primaryPersonApplicationId: core.serialization.string().optional(),
@@ -48,4 +49,5 @@ exports.TpCompanyInformation = core.serialization.object({
48
49
  disbursementAccount: TpDisbursementAccount_1.TpDisbursementAccount.optional(),
49
50
  payrollFboOnboardingStage: TpCompanyOnboardingStage_1.TpCompanyOnboardingStage,
50
51
  lastInterestPaidMonth: core.serialization.string().optional(),
52
+ withdrawalTpBankInfo: core.serialization.list(WithdrawalTpBankInfo_1.WithdrawalTpBankInfo).optional(),
51
53
  });