@thera-hr/api-sdk 0.0.1-prerelease3032-dev-3 → 0.0.1-prerelease3032-dev-anthony

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (328) 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/client/Client.d.ts +0 -3
  6. package/api/resources/api/resources/thera/client/Client.js +12 -17
  7. package/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  8. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +33 -33
  9. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +24 -24
  10. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  11. package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  12. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  13. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  14. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  15. package/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  16. package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  17. package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  18. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
  19. package/api/resources/api/resources/thera/resources/index.d.ts +0 -1
  20. package/api/resources/api/resources/thera/resources/index.js +1 -2
  21. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +7 -7
  22. package/api/resources/api/resources/thera/resources/payroll/client/Client.d.ts +3 -0
  23. package/api/resources/api/resources/thera/resources/payroll/client/Client.js +5 -0
  24. package/api/resources/api/resources/thera/resources/payroll/resources/index.d.ts +3 -0
  25. package/api/resources/api/resources/thera/resources/payroll/resources/index.js +4 -1
  26. package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  27. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.d.ts +18 -5
  28. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +66 -11
  29. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.d.ts +1 -0
  30. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.d.ts +114 -0
  31. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +411 -0
  32. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +1 -0
  33. package/{serialization/resources/api/resources/thera/resources/incorporation → api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client}/index.js +1 -1
  34. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.d.ts +14 -0
  35. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.d.ts +22 -0
  36. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +25 -0
  37. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.d.ts +3 -0
  38. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.d.ts +6 -0
  39. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.d.ts +14 -0
  40. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.d.ts +7 -0
  41. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +14 -0
  42. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +10 -0
  43. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js +12 -0
  44. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +5 -0
  45. package/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi → payroll/resources/payscheduleApi}/types/index.js +5 -2
  46. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  47. package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  48. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.d.ts +40 -0
  49. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +89 -10
  50. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.d.ts +8 -0
  51. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.d.ts +10 -0
  52. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.js +5 -0
  53. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.d.ts +11 -0
  54. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.js +5 -0
  55. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.d.ts +11 -0
  56. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.js +5 -0
  57. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -0
  58. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -0
  59. package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  60. package/api/resources/db/resources/company/types/Company.d.ts +0 -1
  61. package/api/resources/db/resources/company/types/TpCompanyInformation.d.ts +1 -0
  62. package/api/resources/db/resources/company/types/W2Payroll.d.ts +2 -0
  63. package/api/resources/db/resources/company/types/WithdrawalTpBankInfo.d.ts +10 -0
  64. package/api/resources/db/resources/company/types/WithdrawalTpBankInfo.js +5 -0
  65. package/api/resources/db/resources/company/types/index.d.ts +1 -2
  66. package/api/resources/db/resources/company/types/index.js +1 -2
  67. package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  68. package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  69. package/dist/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
  70. package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  71. package/dist/api/resources/api/resources/thera/client/Client.d.ts +0 -3
  72. package/dist/api/resources/api/resources/thera/client/Client.js +12 -17
  73. package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  74. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +33 -33
  75. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +24 -24
  76. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  77. package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  78. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  79. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  80. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  81. package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  82. package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  83. package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  84. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
  85. package/dist/api/resources/api/resources/thera/resources/index.d.ts +0 -1
  86. package/dist/api/resources/api/resources/thera/resources/index.js +1 -2
  87. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +7 -7
  88. package/dist/api/resources/api/resources/thera/resources/payroll/client/Client.d.ts +3 -0
  89. package/dist/api/resources/api/resources/thera/resources/payroll/client/Client.js +5 -0
  90. package/dist/api/resources/api/resources/thera/resources/payroll/resources/index.d.ts +3 -0
  91. package/dist/api/resources/api/resources/thera/resources/payroll/resources/index.js +4 -1
  92. package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  93. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.d.ts +18 -5
  94. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +66 -11
  95. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.d.ts +1 -0
  96. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.d.ts +114 -0
  97. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +411 -0
  98. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +1 -0
  99. package/dist/{serialization/resources/api/resources/thera/resources/incorporation → api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client}/index.js +1 -1
  100. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.d.ts +14 -0
  101. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js +5 -0
  102. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.d.ts +22 -0
  103. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js +5 -0
  104. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +25 -0
  105. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js +5 -0
  106. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.d.ts +3 -0
  107. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.d.ts +6 -0
  108. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js +5 -0
  109. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.d.ts +14 -0
  110. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js +5 -0
  111. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.d.ts +7 -0
  112. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.js +5 -0
  113. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +14 -0
  114. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js +5 -0
  115. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +10 -0
  116. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js +12 -0
  117. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +5 -0
  118. package/dist/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi → payroll/resources/payscheduleApi}/types/index.js +5 -2
  119. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  120. package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  121. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.d.ts +40 -0
  122. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +89 -10
  123. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.d.ts +8 -0
  124. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.js +5 -0
  125. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.d.ts +10 -0
  126. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.js +5 -0
  127. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.d.ts +11 -0
  128. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.js +5 -0
  129. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.d.ts +11 -0
  130. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.js +5 -0
  131. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -0
  132. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -0
  133. package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  134. package/dist/api/resources/db/resources/company/types/Company.d.ts +0 -1
  135. package/dist/api/resources/db/resources/company/types/TpCompanyInformation.d.ts +1 -0
  136. package/dist/api/resources/db/resources/company/types/W2Payroll.d.ts +2 -0
  137. package/dist/api/resources/db/resources/company/types/WithdrawalTpBankInfo.d.ts +10 -0
  138. package/dist/api/resources/db/resources/company/types/WithdrawalTpBankInfo.js +5 -0
  139. package/dist/api/resources/db/resources/company/types/index.d.ts +1 -2
  140. package/dist/api/resources/db/resources/company/types/index.js +1 -2
  141. package/dist/serialization/resources/api/resources/thera/resources/index.d.ts +0 -1
  142. package/dist/serialization/resources/api/resources/thera/resources/index.js +1 -2
  143. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/index.d.ts +3 -0
  144. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/index.js +4 -1
  145. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.d.ts +11 -0
  146. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.js +8 -0
  147. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleChecks.d.ts +2 -2
  148. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleChecks.js +35 -1
  149. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.d.ts +1 -0
  150. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.js +2 -1
  151. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.d.ts +1 -0
  152. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.js +1 -0
  153. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +2 -0
  154. package/{api/resources/api/resources/thera/resources/incorporation/resources → dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client}/index.js +3 -3
  155. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.d.ts +11 -0
  156. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.js +42 -0
  157. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.d.ts +12 -0
  158. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js +43 -0
  159. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.d.ts +17 -0
  160. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js +48 -0
  161. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +19 -0
  162. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js +50 -0
  163. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.d.ts +3 -0
  164. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.js +9 -0
  165. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.d.ts +2 -0
  166. package/dist/serialization/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi → payroll/resources/payscheduleApi}/index.js +1 -0
  167. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.d.ts +12 -0
  168. package/dist/serialization/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi/types/IncorporationSignupResponse.js → payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js} +3 -6
  169. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.d.ts +20 -0
  170. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js +51 -0
  171. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.d.ts +12 -0
  172. package/dist/serialization/resources/{db/resources/company/types/IncorporationDocument.js → api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.js} +4 -5
  173. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +20 -0
  174. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js +51 -0
  175. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +10 -0
  176. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js +41 -0
  177. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +5 -0
  178. package/dist/serialization/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi → payroll/resources/payscheduleApi}/types/index.js +5 -2
  179. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.d.ts +14 -0
  180. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.js +45 -0
  181. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.d.ts +17 -0
  182. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.js +48 -0
  183. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.d.ts +17 -0
  184. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.js +48 -0
  185. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.d.ts +17 -0
  186. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.js +48 -0
  187. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -0
  188. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -0
  189. package/dist/serialization/resources/db/resources/company/types/Company.d.ts +0 -2
  190. package/dist/serialization/resources/db/resources/company/types/Company.js +0 -2
  191. package/dist/serialization/resources/db/resources/company/types/TpCompanyInformation.d.ts +2 -0
  192. package/dist/serialization/resources/db/resources/company/types/TpCompanyInformation.js +2 -0
  193. package/dist/serialization/resources/db/resources/company/types/W2Payroll.d.ts +1 -0
  194. package/dist/serialization/resources/db/resources/company/types/W2Payroll.js +1 -0
  195. package/dist/serialization/resources/db/resources/company/types/WithdrawalTpBankInfo.d.ts +16 -0
  196. package/dist/serialization/resources/db/resources/company/types/WithdrawalTpBankInfo.js +47 -0
  197. package/dist/serialization/resources/db/resources/company/types/index.d.ts +1 -2
  198. package/dist/serialization/resources/db/resources/company/types/index.js +1 -2
  199. package/dist/version.d.ts +1 -1
  200. package/dist/version.js +1 -1
  201. package/package.json +1 -1
  202. package/reference.md +657 -106
  203. package/serialization/resources/api/resources/thera/resources/index.d.ts +0 -1
  204. package/serialization/resources/api/resources/thera/resources/index.js +1 -2
  205. package/serialization/resources/api/resources/thera/resources/payroll/resources/index.d.ts +3 -0
  206. package/serialization/resources/api/resources/thera/resources/payroll/resources/index.js +4 -1
  207. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.d.ts +11 -0
  208. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.js +8 -0
  209. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleChecks.d.ts +2 -2
  210. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleChecks.js +35 -1
  211. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.d.ts +1 -0
  212. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.js +2 -1
  213. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.d.ts +1 -0
  214. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.js +1 -0
  215. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +2 -0
  216. package/serialization/resources/api/resources/thera/resources/{incorporation/resources → payroll/resources/payscheduleApi/client}/index.js +3 -3
  217. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.d.ts +11 -0
  218. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.js +42 -0
  219. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.d.ts +12 -0
  220. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js +43 -0
  221. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.d.ts +17 -0
  222. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js +48 -0
  223. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +19 -0
  224. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js +50 -0
  225. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.d.ts +3 -0
  226. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.js +9 -0
  227. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.d.ts +2 -0
  228. package/serialization/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi → payroll/resources/payscheduleApi}/index.js +1 -0
  229. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.d.ts +12 -0
  230. package/serialization/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi/types/IncorporationSignupResponse.js → payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js} +3 -6
  231. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.d.ts +20 -0
  232. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js +51 -0
  233. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.d.ts +12 -0
  234. package/serialization/resources/{db/resources/company/types/IncorporationDocument.js → api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.js} +4 -5
  235. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +20 -0
  236. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js +51 -0
  237. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +10 -0
  238. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js +41 -0
  239. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +5 -0
  240. package/serialization/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi → payroll/resources/payscheduleApi}/types/index.js +5 -2
  241. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.d.ts +14 -0
  242. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.js +45 -0
  243. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.d.ts +17 -0
  244. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.js +48 -0
  245. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.d.ts +17 -0
  246. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.js +48 -0
  247. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.d.ts +17 -0
  248. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.js +48 -0
  249. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -0
  250. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -0
  251. package/serialization/resources/db/resources/company/types/Company.d.ts +0 -2
  252. package/serialization/resources/db/resources/company/types/Company.js +0 -2
  253. package/serialization/resources/db/resources/company/types/TpCompanyInformation.d.ts +2 -0
  254. package/serialization/resources/db/resources/company/types/TpCompanyInformation.js +2 -0
  255. package/serialization/resources/db/resources/company/types/W2Payroll.d.ts +1 -0
  256. package/serialization/resources/db/resources/company/types/W2Payroll.js +1 -0
  257. package/serialization/resources/db/resources/company/types/WithdrawalTpBankInfo.d.ts +16 -0
  258. package/serialization/resources/db/resources/company/types/WithdrawalTpBankInfo.js +47 -0
  259. package/serialization/resources/db/resources/company/types/index.d.ts +1 -2
  260. package/serialization/resources/db/resources/company/types/index.js +1 -2
  261. package/version.d.ts +1 -1
  262. package/version.js +1 -1
  263. package/api/resources/api/resources/thera/resources/incorporation/client/Client.d.ts +0 -19
  264. package/api/resources/api/resources/thera/resources/incorporation/client/Client.js +0 -17
  265. package/api/resources/api/resources/thera/resources/incorporation/client/index.d.ts +0 -1
  266. package/api/resources/api/resources/thera/resources/incorporation/index.d.ts +0 -2
  267. package/api/resources/api/resources/thera/resources/incorporation/index.js +0 -18
  268. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.d.ts +0 -54
  269. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.js +0 -141
  270. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/index.d.ts +0 -1
  271. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.d.ts +0 -20
  272. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.d.ts +0 -9
  273. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.d.ts +0 -2
  274. package/api/resources/api/resources/thera/resources/incorporation/resources/index.d.ts +0 -2
  275. package/api/resources/db/resources/company/types/IncorporationDetails.d.ts +0 -18
  276. package/api/resources/db/resources/company/types/IncorporationDocument.d.ts +0 -7
  277. package/dist/api/resources/api/resources/thera/resources/incorporation/client/Client.d.ts +0 -19
  278. package/dist/api/resources/api/resources/thera/resources/incorporation/client/Client.js +0 -17
  279. package/dist/api/resources/api/resources/thera/resources/incorporation/client/index.d.ts +0 -1
  280. package/dist/api/resources/api/resources/thera/resources/incorporation/client/index.js +0 -2
  281. package/dist/api/resources/api/resources/thera/resources/incorporation/index.d.ts +0 -2
  282. package/dist/api/resources/api/resources/thera/resources/incorporation/index.js +0 -18
  283. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.d.ts +0 -54
  284. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.js +0 -141
  285. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/index.d.ts +0 -1
  286. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/index.js +0 -2
  287. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.d.ts +0 -20
  288. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.d.ts +0 -9
  289. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.d.ts +0 -2
  290. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/index.d.ts +0 -2
  291. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/index.js +0 -41
  292. package/dist/api/resources/db/resources/company/types/IncorporationDetails.d.ts +0 -18
  293. package/dist/api/resources/db/resources/company/types/IncorporationDocument.d.ts +0 -7
  294. package/dist/serialization/resources/api/resources/thera/resources/incorporation/index.d.ts +0 -1
  295. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/index.d.ts +0 -1
  296. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.d.ts +0 -26
  297. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.js +0 -57
  298. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.d.ts +0 -15
  299. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.d.ts +0 -2
  300. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/index.d.ts +0 -2
  301. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/index.js +0 -41
  302. package/dist/serialization/resources/db/resources/company/types/IncorporationDetails.d.ts +0 -24
  303. package/dist/serialization/resources/db/resources/company/types/IncorporationDetails.js +0 -55
  304. package/dist/serialization/resources/db/resources/company/types/IncorporationDocument.d.ts +0 -13
  305. package/serialization/resources/api/resources/thera/resources/incorporation/index.d.ts +0 -1
  306. package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/index.d.ts +0 -1
  307. package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.d.ts +0 -26
  308. package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.js +0 -57
  309. package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.d.ts +0 -15
  310. package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.d.ts +0 -2
  311. package/serialization/resources/api/resources/thera/resources/incorporation/resources/index.d.ts +0 -2
  312. package/serialization/resources/db/resources/company/types/IncorporationDetails.d.ts +0 -24
  313. package/serialization/resources/db/resources/company/types/IncorporationDetails.js +0 -55
  314. package/serialization/resources/db/resources/company/types/IncorporationDocument.d.ts +0 -13
  315. /package/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi/types/IncorporationSignupRequest.js → payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js} +0 -0
  316. /package/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi/types/IncorporationSignupResponse.js → payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js} +0 -0
  317. /package/api/resources/{db/resources/company/types/IncorporationDetails.js → api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js} +0 -0
  318. /package/api/resources/api/resources/thera/resources/{incorporation/client → payroll/resources/payscheduleApi/client/requests}/index.js +0 -0
  319. /package/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi → payroll/resources/payscheduleApi}/index.d.ts +0 -0
  320. /package/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi → payroll/resources/payscheduleApi}/index.js +0 -0
  321. /package/api/resources/{db/resources/company/types/IncorporationDocument.js → api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js} +0 -0
  322. /package/{dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.js → api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js} +0 -0
  323. /package/{dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.js → api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.js} +0 -0
  324. /package/{dist/api/resources/db/resources/company/types/IncorporationDetails.js → api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js} +0 -0
  325. /package/{dist/api/resources/db/resources/company/types/IncorporationDocument.js → api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.js} +0 -0
  326. /package/{api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client → dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests}/index.js +0 -0
  327. /package/dist/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi → payroll/resources/payscheduleApi}/index.d.ts +0 -0
  328. /package/dist/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi → payroll/resources/payscheduleApi}/index.js +0 -0
@@ -110,7 +110,7 @@ class DisbursementApi {
110
110
  const _response = yield core.fetcher({
111
111
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/invoices/csv`),
112
112
  method: "POST",
113
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
113
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-anthony", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-anthony", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
114
114
  contentType: "application/json",
115
115
  queryParameters: _queryParams,
116
116
  requestType: "json",
@@ -177,7 +177,7 @@ class DisbursementApi {
177
177
  const _response = yield core.fetcher({
178
178
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "disbursement"),
179
179
  method: "POST",
180
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
180
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-anthony", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-anthony", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
181
181
  contentType: "application/json",
182
182
  requestType: "json",
183
183
  body: serializers.api.thera.disbursement.CreateDisbursementRequest.jsonOrThrow(request, {
@@ -226,7 +226,7 @@ class DisbursementApi {
226
226
  const _response = yield core.fetcher({
227
227
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `disbursement/invoices/${encodeURIComponent(invoiceId)}/approve`),
228
228
  method: "POST",
229
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
229
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-anthony", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-anthony", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
230
230
  contentType: "application/json",
231
231
  requestType: "json",
232
232
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -277,7 +277,7 @@ class DisbursementApi {
277
277
  const _response = yield core.fetcher({
278
278
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `disbursement/invoices/${encodeURIComponent(invoiceId)}`),
279
279
  method: "PATCH",
280
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
280
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-anthony", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-anthony", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
281
281
  contentType: "application/json",
282
282
  requestType: "json",
283
283
  body: serializers.api.thera.disbursement.EditInvoiceRequest.jsonOrThrow(request, {
@@ -333,7 +333,7 @@ class DisbursementApi {
333
333
  const _response = yield core.fetcher({
334
334
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `disbursement/invoices/${encodeURIComponent(invoiceId)}/deduction`),
335
335
  method: "POST",
336
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
336
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-anthony", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-anthony", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
337
337
  contentType: "application/json",
338
338
  requestType: "json",
339
339
  body: serializers.api.thera.disbursement.CreateInvoiceDeductionRequest.jsonOrThrow(request, {
@@ -383,7 +383,7 @@ class DisbursementApi {
383
383
  const _response = yield core.fetcher({
384
384
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `disbursement/invoices/${encodeURIComponent(invoiceId)}/deduction/${encodeURIComponent(deductionId)}`),
385
385
  method: "DELETE",
386
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
386
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-anthony", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-anthony", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
387
387
  contentType: "application/json",
388
388
  requestType: "json",
389
389
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -445,7 +445,7 @@ class DisbursementApi {
445
445
  const _response = yield core.fetcher({
446
446
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/invoices/csv`),
447
447
  method: "GET",
448
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
448
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-anthony", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-anthony", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
449
449
  contentType: "application/json",
450
450
  queryParameters: _queryParams,
451
451
  requestType: "json",
@@ -78,7 +78,7 @@ class DisbursementWebhookApi {
78
78
  const _response = yield core.fetcher({
79
79
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "webhook/disbursement/invoice"),
80
80
  method: "POST",
81
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "Thera-Webhook-Signature-Header": theraWebhookSignatureHeader }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
81
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-anthony", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-anthony", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "Thera-Webhook-Signature-Header": theraWebhookSignatureHeader }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
82
82
  contentType: "application/json",
83
83
  requestType: "json",
84
84
  body: serializers.api.thera.disbursement.InvoiceWebhookEvent.jsonOrThrow(_body, {
@@ -75,7 +75,7 @@ class DocumentApi {
75
75
  const _response = yield core.fetcher({
76
76
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "w9-document"),
77
77
  method: "GET",
78
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
78
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-anthony", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-anthony", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
79
79
  contentType: "application/json",
80
80
  queryParameters: _queryParams,
81
81
  requestType: "json",
@@ -134,7 +134,7 @@ class DocumentApi {
134
134
  const _response = yield core.fetcher({
135
135
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/1099-nec-document`),
136
136
  method: "GET",
137
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
137
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-anthony", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-anthony", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
138
138
  contentType: "application/json",
139
139
  queryParameters: _queryParams,
140
140
  requestType: "json",
@@ -190,7 +190,7 @@ class DocumentApi {
190
190
  const _response = yield core.fetcher({
191
191
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "1099-nec-document/file"),
192
192
  method: "POST",
193
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
193
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-anthony", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-anthony", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
194
194
  contentType: "application/json",
195
195
  requestType: "json",
196
196
  body: serializers.api.thera.document.BulkFileUsIrs1099NecDocumentRequest.jsonOrThrow(request, {
@@ -73,7 +73,7 @@ class EmailApi {
73
73
  const _response = yield core.fetcher({
74
74
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "email/login"),
75
75
  method: "POST",
76
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
76
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-anthony", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-anthony", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
77
77
  contentType: "application/json",
78
78
  requestType: "json",
79
79
  body: serializers.api.thera.email.SendLoginEmailRequest.jsonOrThrow(request, {
@@ -125,7 +125,7 @@ class EmailApi {
125
125
  const _response = yield core.fetcher({
126
126
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `user/${encodeURIComponent(userId)}/update-email`),
127
127
  method: "PUT",
128
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
128
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-anthony", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-anthony", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
129
129
  contentType: "application/json",
130
130
  requestType: "json",
131
131
  body: serializers.api.thera.email.UpdateEmailRequest.jsonOrThrow(request, {
@@ -74,7 +74,7 @@ class EmploymentApi {
74
74
  const _response = yield core.fetcher({
75
75
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `contracts/${encodeURIComponent(contractId)}/pay-cycle/recurrences/${encodeURIComponent(recurrenceId)}`),
76
76
  method: "DELETE",
77
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
77
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-anthony", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-anthony", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
78
78
  contentType: "application/json",
79
79
  requestType: "json",
80
80
  body: serializers.api.thera.employment.DeleteContractInvoiceItemRecurrenceRequest.jsonOrThrow(request, {
@@ -140,7 +140,7 @@ class EmploymentApi {
140
140
  const _response = yield core.fetcher({
141
141
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "contracts/estimate"),
142
142
  method: "POST",
143
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
143
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-anthony", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-anthony", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
144
144
  contentType: "application/json",
145
145
  requestType: "json",
146
146
  body: serializers.api.thera.employment.CreateContractEstimateRequest.jsonOrThrow(request, {
@@ -195,7 +195,7 @@ class EmploymentApi {
195
195
  const _response = yield core.fetcher({
196
196
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `contracts/${encodeURIComponent(contractId)}`),
197
197
  method: "DELETE",
198
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
198
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-anthony", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-anthony", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
199
199
  contentType: "application/json",
200
200
  requestType: "json",
201
201
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -244,7 +244,7 @@ class EmploymentApi {
244
244
  const _response = yield core.fetcher({
245
245
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `contracts/${encodeURIComponent(contractId)}/termination-cancellation`),
246
246
  method: "POST",
247
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
247
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-anthony", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-anthony", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
248
248
  contentType: "application/json",
249
249
  requestType: "json",
250
250
  body: serializers.api.thera.employment.CancelContractTerminationRequest.jsonOrThrow(request, {
@@ -294,7 +294,7 @@ class EmploymentApi {
294
294
  const _response = yield core.fetcher({
295
295
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `contracts/${encodeURIComponent(contractId)}/payCycle/${encodeURIComponent(baseDate)}`),
296
296
  method: "GET",
297
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
297
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-anthony", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-anthony", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
298
298
  contentType: "application/json",
299
299
  requestType: "json",
300
300
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -72,7 +72,7 @@ class EorTrackerApi {
72
72
  const _response = yield core.fetcher({
73
73
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/eor-tracker`),
74
74
  method: "GET",
75
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
75
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-anthony", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-anthony", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
76
76
  contentType: "application/json",
77
77
  requestType: "json",
78
78
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -124,7 +124,7 @@ class EorTrackerApi {
124
124
  const _response = yield core.fetcher({
125
125
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `eor-tracker/employee/${encodeURIComponent(email)}`),
126
126
  method: "GET",
127
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
127
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-anthony", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-anthony", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
128
128
  contentType: "application/json",
129
129
  requestType: "json",
130
130
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -176,7 +176,7 @@ class EorTrackerApi {
176
176
  const _response = yield core.fetcher({
177
177
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/eor-tracker/latest-email`),
178
178
  method: "GET",
179
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
179
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-anthony", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-anthony", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
180
180
  contentType: "application/json",
181
181
  requestType: "json",
182
182
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -9,7 +9,6 @@ export * as document from "./document";
9
9
  export * as email from "./email";
10
10
  export * as employment from "./employment";
11
11
  export * as eor from "./eor";
12
- export * as incorporation from "./incorporation";
13
12
  export * as misc from "./misc";
14
13
  export * as payroll from "./payroll";
15
14
  export * as timeoff from "./timeoff";
@@ -33,7 +33,7 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.user = exports.tp = exports.timetracking = exports.timeoff = exports.payroll = exports.misc = exports.incorporation = exports.eor = exports.employment = exports.email = exports.document = exports.disbursement = exports.contractor = exports.company = exports.common = exports.bridge = exports.bank = exports.accounting = void 0;
36
+ exports.user = exports.tp = exports.timetracking = exports.timeoff = exports.payroll = exports.misc = exports.eor = exports.employment = exports.email = exports.document = exports.disbursement = exports.contractor = exports.company = exports.common = exports.bridge = exports.bank = exports.accounting = void 0;
37
37
  exports.accounting = __importStar(require("./accounting"));
38
38
  exports.bank = __importStar(require("./bank"));
39
39
  exports.bridge = __importStar(require("./bridge"));
@@ -45,7 +45,6 @@ exports.document = __importStar(require("./document"));
45
45
  exports.email = __importStar(require("./email"));
46
46
  exports.employment = __importStar(require("./employment"));
47
47
  exports.eor = __importStar(require("./eor"));
48
- exports.incorporation = __importStar(require("./incorporation"));
49
48
  exports.misc = __importStar(require("./misc"));
50
49
  exports.payroll = __importStar(require("./payroll"));
51
50
  exports.timeoff = __importStar(require("./timeoff"));
@@ -75,7 +75,7 @@ class Misc {
75
75
  const _response = yield core.fetcher({
76
76
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "webhook/regular-cron"),
77
77
  method: "POST",
78
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "Thera-Webhook-Signature-Header": theraWebhookSignatureHeader }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
78
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-anthony", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-anthony", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "Thera-Webhook-Signature-Header": theraWebhookSignatureHeader }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
79
79
  contentType: "application/json",
80
80
  requestType: "json",
81
81
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -130,7 +130,7 @@ class Misc {
130
130
  const _response = yield core.fetcher({
131
131
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "webhook/auto-withdrawal-cron"),
132
132
  method: "POST",
133
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "Thera-Webhook-Signature-Header": theraWebhookSignatureHeader }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
133
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-anthony", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-anthony", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "Thera-Webhook-Signature-Header": theraWebhookSignatureHeader }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
134
134
  contentType: "application/json",
135
135
  requestType: "json",
136
136
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -185,7 +185,7 @@ class Misc {
185
185
  const _response = yield core.fetcher({
186
186
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "webhook/autopay-invoices-cron"),
187
187
  method: "POST",
188
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "Thera-Webhook-Signature-Header": theraWebhookSignatureHeader }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
188
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-anthony", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-anthony", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "Thera-Webhook-Signature-Header": theraWebhookSignatureHeader }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
189
189
  contentType: "application/json",
190
190
  requestType: "json",
191
191
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -234,7 +234,7 @@ class Misc {
234
234
  const _response = yield core.fetcher({
235
235
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "webhook/autopay-email-cron"),
236
236
  method: "POST",
237
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "Thera-Webhook-Signature-Header": theraWebhookSignatureHeader }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
237
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-anthony", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-anthony", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "Thera-Webhook-Signature-Header": theraWebhookSignatureHeader }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
238
238
  contentType: "application/json",
239
239
  requestType: "json",
240
240
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -283,7 +283,7 @@ class Misc {
283
283
  const _response = yield core.fetcher({
284
284
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "webhook/contract-renewal-cron"),
285
285
  method: "POST",
286
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "Thera-Webhook-Signature-Header": theraWebhookSignatureHeader }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
286
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-anthony", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-anthony", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "Thera-Webhook-Signature-Header": theraWebhookSignatureHeader }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
287
287
  contentType: "application/json",
288
288
  requestType: "json",
289
289
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -338,7 +338,7 @@ class Misc {
338
338
  const _response = yield core.fetcher({
339
339
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "webhook/process-ach-invoices"),
340
340
  method: "POST",
341
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "Thera-Webhook-Signature-Header": theraWebhookSignatureHeader }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
341
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-anthony", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-anthony", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "Thera-Webhook-Signature-Header": theraWebhookSignatureHeader }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
342
342
  contentType: "application/json",
343
343
  requestType: "json",
344
344
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -400,7 +400,7 @@ class Misc {
400
400
  const _response = yield core.fetcher({
401
401
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "webhook/fillout-eor-employee"),
402
402
  method: "POST",
403
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "Thera-Webhook-Signature-Header": theraWebhookSignatureHeader }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
403
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-anthony", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-anthony", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, "Thera-Webhook-Signature-Header": theraWebhookSignatureHeader }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
404
404
  contentType: "application/json",
405
405
  requestType: "json",
406
406
  body: serializers.api.thera.misc.FilloutEorEmployeeWebhookRequest.jsonOrThrow(_body, {
@@ -4,6 +4,7 @@
4
4
  import * as core from "../../../../../../../../core";
5
5
  import { OffcycleApi } from "../resources/offcycleApi/client/Client";
6
6
  import { OncycleApi } from "../resources/oncycleApi/client/Client";
7
+ import { PayscheduleApi } from "../resources/payscheduleApi/client/Client";
7
8
  export declare namespace Payroll {
8
9
  interface Options {
9
10
  environment: core.Supplier<string>;
@@ -16,7 +17,9 @@ export declare class Payroll {
16
17
  protected readonly _options: Payroll.Options;
17
18
  protected _offcycleApi: OffcycleApi | undefined;
18
19
  protected _oncycleApi: OncycleApi | undefined;
20
+ protected _payscheduleApi: PayscheduleApi | undefined;
19
21
  constructor(_options: Payroll.Options);
20
22
  get offcycleApi(): OffcycleApi;
21
23
  get oncycleApi(): OncycleApi;
24
+ get payscheduleApi(): PayscheduleApi;
22
25
  }
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.Payroll = void 0;
7
7
  const Client_1 = require("../resources/offcycleApi/client/Client");
8
8
  const Client_2 = require("../resources/oncycleApi/client/Client");
9
+ const Client_3 = require("../resources/payscheduleApi/client/Client");
9
10
  class Payroll {
10
11
  constructor(_options) {
11
12
  this._options = _options;
@@ -18,5 +19,9 @@ class Payroll {
18
19
  var _a;
19
20
  return ((_a = this._oncycleApi) !== null && _a !== void 0 ? _a : (this._oncycleApi = new Client_2.OncycleApi(this._options)));
20
21
  }
22
+ get payscheduleApi() {
23
+ var _a;
24
+ return ((_a = this._payscheduleApi) !== null && _a !== void 0 ? _a : (this._payscheduleApi = new Client_3.PayscheduleApi(this._options)));
25
+ }
21
26
  }
22
27
  exports.Payroll = Payroll;
@@ -2,3 +2,6 @@ export * as offcycleApi from "./offcycleApi";
2
2
  export * from "./offcycleApi/types";
3
3
  export * as oncycleApi from "./oncycleApi";
4
4
  export * from "./oncycleApi/types";
5
+ export * as payscheduleApi from "./payscheduleApi";
6
+ export * from "./payscheduleApi/types";
7
+ export * from "./payscheduleApi/client/requests";
@@ -36,8 +36,11 @@ 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.oncycleApi = exports.offcycleApi = void 0;
39
+ exports.payscheduleApi = exports.oncycleApi = exports.offcycleApi = void 0;
40
40
  exports.offcycleApi = __importStar(require("./offcycleApi"));
41
41
  __exportStar(require("./offcycleApi/types"), exports);
42
42
  exports.oncycleApi = __importStar(require("./oncycleApi"));
43
43
  __exportStar(require("./oncycleApi/types"), exports);
44
+ exports.payscheduleApi = __importStar(require("./payscheduleApi"));
45
+ __exportStar(require("./payscheduleApi/types"), exports);
46
+ __exportStar(require("./payscheduleApi/client/requests"), exports);
@@ -72,7 +72,7 @@ class OffcycleApi {
72
72
  const _response = yield core.fetcher({
73
73
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/w2-payroll/off-cycle-checks`),
74
74
  method: "GET",
75
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
75
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-anthony", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-anthony", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
76
76
  contentType: "application/json",
77
77
  requestType: "json",
78
78
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -28,12 +28,13 @@ export declare class OncycleApi {
28
28
  *
29
29
  *
30
30
  * @param {string} companyId
31
+ * @param {string} checkPayrollId
31
32
  * @param {OncycleApi.RequestOptions} requestOptions - Request-specific configuration.
32
33
  *
33
34
  * @example
34
- * await client.api.thera.payroll.oncycleApi.approveOncycleChecks("string")
35
+ * await client.api.thera.payroll.oncycleApi.approveOncycleChecks("string", "string")
35
36
  */
36
- approveOncycleChecks(companyId: string, requestOptions?: OncycleApi.RequestOptions): Promise<TheraApi.api.thera.payroll.ApproveOnCycleChecksResponse>;
37
+ approveOncycleChecks(companyId: string, checkPayrollId: string, requestOptions?: OncycleApi.RequestOptions): Promise<TheraApi.api.thera.payroll.ApproveOnCycleChecksResponse>;
37
38
  /**
38
39
  *
39
40
  *
@@ -43,16 +44,28 @@ export declare class OncycleApi {
43
44
  * @example
44
45
  * await client.api.thera.payroll.oncycleApi.getOnCycleChecks("string")
45
46
  */
46
- getOnCycleChecks(companyId: string, requestOptions?: OncycleApi.RequestOptions): Promise<TheraApi.api.thera.payroll.OnCycleChecksResponse | undefined>;
47
+ getOnCycleChecks(companyId: string, requestOptions?: OncycleApi.RequestOptions): Promise<TheraApi.api.thera.payroll.OnCycleChecksResponse[]>;
47
48
  /**
48
49
  *
49
50
  *
50
51
  * @param {string} companyId
52
+ * @param {string} checkPayrollId
51
53
  * @param {OncycleApi.RequestOptions} requestOptions - Request-specific configuration.
52
54
  *
53
55
  * @example
54
- * await client.api.thera.payroll.oncycleApi.cancelCurrentAutopilotPayroll("string")
56
+ * await client.api.thera.payroll.oncycleApi.getOnCycleCheckDetails("string", "string")
55
57
  */
56
- cancelCurrentAutopilotPayroll(companyId: string, requestOptions?: OncycleApi.RequestOptions): Promise<void>;
58
+ getOnCycleCheckDetails(companyId: string, checkPayrollId: string, requestOptions?: OncycleApi.RequestOptions): Promise<TheraApi.api.thera.payroll.OnCycleChecksResponse | undefined>;
59
+ /**
60
+ *
61
+ *
62
+ * @param {string} companyId
63
+ * @param {string} checkPayrollId
64
+ * @param {OncycleApi.RequestOptions} requestOptions - Request-specific configuration.
65
+ *
66
+ * @example
67
+ * await client.api.thera.payroll.oncycleApi.cancelCurrentAutopilotPayroll("string", "string")
68
+ */
69
+ cancelCurrentAutopilotPayroll(companyId: string, checkPayrollId: string, requestOptions?: OncycleApi.RequestOptions): Promise<void>;
57
70
  protected _getAuthorizationHeader(): Promise<string | undefined>;
58
71
  }
@@ -61,18 +61,19 @@ class OncycleApi {
61
61
  *
62
62
  *
63
63
  * @param {string} companyId
64
+ * @param {string} checkPayrollId
64
65
  * @param {OncycleApi.RequestOptions} requestOptions - Request-specific configuration.
65
66
  *
66
67
  * @example
67
- * await client.api.thera.payroll.oncycleApi.approveOncycleChecks("string")
68
+ * await client.api.thera.payroll.oncycleApi.approveOncycleChecks("string", "string")
68
69
  */
69
- approveOncycleChecks(companyId, requestOptions) {
70
+ approveOncycleChecks(companyId, checkPayrollId, requestOptions) {
70
71
  return __awaiter(this, void 0, void 0, function* () {
71
72
  var _a;
72
73
  const _response = yield core.fetcher({
73
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/w2-payroll/on-cycle-checks/approve`),
74
+ url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/w2-payroll/on-cycle-checks/${encodeURIComponent(checkPayrollId)}/approve`),
74
75
  method: "POST",
75
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
76
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-anthony", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-anthony", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
76
77
  contentType: "application/json",
77
78
  requestType: "json",
78
79
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -101,7 +102,7 @@ class OncycleApi {
101
102
  body: _response.error.rawBody,
102
103
  });
103
104
  case "timeout":
104
- throw new errors.TheraApiTimeoutError("Timeout exceeded when calling POST /companies/{companyID}/w2-payroll/on-cycle-checks/approve.");
105
+ throw new errors.TheraApiTimeoutError("Timeout exceeded when calling POST /companies/{companyID}/w2-payroll/on-cycle-checks/{checkPayrollId}/approve.");
105
106
  case "unknown":
106
107
  throw new errors.TheraApiError({
107
108
  message: _response.error.errorMessage,
@@ -124,7 +125,7 @@ class OncycleApi {
124
125
  const _response = yield core.fetcher({
125
126
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/w2-payroll/on-cycle-checks`),
126
127
  method: "GET",
127
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
128
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-anthony", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-anthony", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
128
129
  contentType: "application/json",
129
130
  requestType: "json",
130
131
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -165,18 +166,72 @@ class OncycleApi {
165
166
  *
166
167
  *
167
168
  * @param {string} companyId
169
+ * @param {string} checkPayrollId
168
170
  * @param {OncycleApi.RequestOptions} requestOptions - Request-specific configuration.
169
171
  *
170
172
  * @example
171
- * await client.api.thera.payroll.oncycleApi.cancelCurrentAutopilotPayroll("string")
173
+ * await client.api.thera.payroll.oncycleApi.getOnCycleCheckDetails("string", "string")
172
174
  */
173
- cancelCurrentAutopilotPayroll(companyId, requestOptions) {
175
+ getOnCycleCheckDetails(companyId, checkPayrollId, requestOptions) {
174
176
  return __awaiter(this, void 0, void 0, function* () {
175
177
  var _a;
176
178
  const _response = yield core.fetcher({
177
- url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/w2-payroll/on-cycle-checks/cancel`),
179
+ url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/w2-payroll/on-cycle-checks/${encodeURIComponent(checkPayrollId)}`),
180
+ method: "GET",
181
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-anthony", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-anthony", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
182
+ contentType: "application/json",
183
+ requestType: "json",
184
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
185
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
186
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
187
+ });
188
+ if (_response.ok) {
189
+ return serializers.api.thera.payroll.oncycleApi.getOnCycleCheckDetails.Response.parseOrThrow(_response.body, {
190
+ unrecognizedObjectKeys: "passthrough",
191
+ allowUnrecognizedUnionMembers: true,
192
+ allowUnrecognizedEnumValues: true,
193
+ skipValidation: true,
194
+ breadcrumbsPrefix: ["response"],
195
+ });
196
+ }
197
+ if (_response.error.reason === "status-code") {
198
+ throw new errors.TheraApiError({
199
+ statusCode: _response.error.statusCode,
200
+ body: _response.error.body,
201
+ });
202
+ }
203
+ switch (_response.error.reason) {
204
+ case "non-json":
205
+ throw new errors.TheraApiError({
206
+ statusCode: _response.error.statusCode,
207
+ body: _response.error.rawBody,
208
+ });
209
+ case "timeout":
210
+ throw new errors.TheraApiTimeoutError("Timeout exceeded when calling GET /companies/{companyID}/w2-payroll/on-cycle-checks/{checkPayrollId}.");
211
+ case "unknown":
212
+ throw new errors.TheraApiError({
213
+ message: _response.error.errorMessage,
214
+ });
215
+ }
216
+ });
217
+ }
218
+ /**
219
+ *
220
+ *
221
+ * @param {string} companyId
222
+ * @param {string} checkPayrollId
223
+ * @param {OncycleApi.RequestOptions} requestOptions - Request-specific configuration.
224
+ *
225
+ * @example
226
+ * await client.api.thera.payroll.oncycleApi.cancelCurrentAutopilotPayroll("string", "string")
227
+ */
228
+ cancelCurrentAutopilotPayroll(companyId, checkPayrollId, requestOptions) {
229
+ return __awaiter(this, void 0, void 0, function* () {
230
+ var _a;
231
+ const _response = yield core.fetcher({
232
+ url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/w2-payroll/on-cycle-checks/${encodeURIComponent(checkPayrollId)}/cancel`),
178
233
  method: "POST",
179
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
234
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3032-dev-anthony", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3032-dev-anthony", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
180
235
  contentType: "application/json",
181
236
  requestType: "json",
182
237
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -199,7 +254,7 @@ class OncycleApi {
199
254
  body: _response.error.rawBody,
200
255
  });
201
256
  case "timeout":
202
- throw new errors.TheraApiTimeoutError("Timeout exceeded when calling POST /companies/{companyID}/w2-payroll/on-cycle-checks/cancel.");
257
+ throw new errors.TheraApiTimeoutError("Timeout exceeded when calling POST /companies/{companyID}/w2-payroll/on-cycle-checks/{checkPayrollId}/cancel.");
203
258
  case "unknown":
204
259
  throw new errors.TheraApiError({
205
260
  message: _response.error.errorMessage,
@@ -2,6 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface OnCycleChecksResponse {
5
+ checkPayrollId: string;
5
6
  checkPayrollStatus: string;
6
7
  checkItemPayDate: string;
7
8
  checkItemIdByContractId: Record<string, string>;