@thera-hr/api-sdk 0.0.1-prerelease3034-dev-3 → 0.0.1-prerelease3034-dev-2

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 (336) 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/CompanyLegalStructure.d.ts +2 -1
  62. package/api/resources/db/resources/company/types/CompanyLegalStructure.js +1 -0
  63. package/api/resources/db/resources/company/types/TpCompanyInformation.d.ts +1 -0
  64. package/api/resources/db/resources/company/types/W2Payroll.d.ts +2 -0
  65. package/api/resources/db/resources/company/types/WithdrawalTpBankInfo.d.ts +10 -0
  66. package/api/resources/db/resources/company/types/WithdrawalTpBankInfo.js +5 -0
  67. package/api/resources/db/resources/company/types/index.d.ts +1 -2
  68. package/api/resources/db/resources/company/types/index.js +1 -2
  69. package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  70. package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  71. package/dist/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
  72. package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  73. package/dist/api/resources/api/resources/thera/client/Client.d.ts +0 -3
  74. package/dist/api/resources/api/resources/thera/client/Client.js +12 -17
  75. package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  76. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +33 -33
  77. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +24 -24
  78. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  79. package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  80. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  81. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  82. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  83. package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  84. package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  85. package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  86. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
  87. package/dist/api/resources/api/resources/thera/resources/index.d.ts +0 -1
  88. package/dist/api/resources/api/resources/thera/resources/index.js +1 -2
  89. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +7 -7
  90. package/dist/api/resources/api/resources/thera/resources/payroll/client/Client.d.ts +3 -0
  91. package/dist/api/resources/api/resources/thera/resources/payroll/client/Client.js +5 -0
  92. package/dist/api/resources/api/resources/thera/resources/payroll/resources/index.d.ts +3 -0
  93. package/dist/api/resources/api/resources/thera/resources/payroll/resources/index.js +4 -1
  94. package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  95. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.d.ts +18 -5
  96. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +66 -11
  97. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.d.ts +1 -0
  98. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.d.ts +114 -0
  99. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +411 -0
  100. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +1 -0
  101. package/dist/{serialization/resources/api/resources/thera/resources/incorporation → api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client}/index.js +1 -1
  102. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.d.ts +14 -0
  103. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js +5 -0
  104. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.d.ts +22 -0
  105. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js +5 -0
  106. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +25 -0
  107. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js +5 -0
  108. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.d.ts +3 -0
  109. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.d.ts +6 -0
  110. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js +5 -0
  111. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.d.ts +14 -0
  112. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js +5 -0
  113. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.d.ts +7 -0
  114. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.js +5 -0
  115. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +14 -0
  116. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js +5 -0
  117. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +10 -0
  118. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js +12 -0
  119. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +5 -0
  120. package/dist/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi → payroll/resources/payscheduleApi}/types/index.js +5 -2
  121. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  122. package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  123. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.d.ts +40 -0
  124. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +89 -10
  125. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.d.ts +8 -0
  126. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.js +5 -0
  127. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.d.ts +10 -0
  128. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.js +5 -0
  129. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.d.ts +11 -0
  130. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.js +5 -0
  131. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.d.ts +11 -0
  132. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.js +5 -0
  133. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -0
  134. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -0
  135. package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  136. package/dist/api/resources/db/resources/company/types/Company.d.ts +0 -1
  137. package/dist/api/resources/db/resources/company/types/CompanyLegalStructure.d.ts +2 -1
  138. package/dist/api/resources/db/resources/company/types/CompanyLegalStructure.js +1 -0
  139. package/dist/api/resources/db/resources/company/types/TpCompanyInformation.d.ts +1 -0
  140. package/dist/api/resources/db/resources/company/types/W2Payroll.d.ts +2 -0
  141. package/dist/api/resources/db/resources/company/types/WithdrawalTpBankInfo.d.ts +10 -0
  142. package/dist/api/resources/db/resources/company/types/WithdrawalTpBankInfo.js +5 -0
  143. package/dist/api/resources/db/resources/company/types/index.d.ts +1 -2
  144. package/dist/api/resources/db/resources/company/types/index.js +1 -2
  145. package/dist/serialization/resources/api/resources/thera/resources/index.d.ts +0 -1
  146. package/dist/serialization/resources/api/resources/thera/resources/index.js +1 -2
  147. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/index.d.ts +3 -0
  148. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/index.js +4 -1
  149. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.d.ts +11 -0
  150. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.js +8 -0
  151. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleChecks.d.ts +2 -2
  152. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleChecks.js +35 -1
  153. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.d.ts +1 -0
  154. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.js +2 -1
  155. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.d.ts +1 -0
  156. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.js +1 -0
  157. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +2 -0
  158. package/{api/resources/api/resources/thera/resources/incorporation/resources → dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client}/index.js +3 -3
  159. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.d.ts +11 -0
  160. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.js +42 -0
  161. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.d.ts +12 -0
  162. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js +43 -0
  163. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.d.ts +17 -0
  164. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js +48 -0
  165. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +19 -0
  166. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js +50 -0
  167. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.d.ts +3 -0
  168. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.js +9 -0
  169. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.d.ts +2 -0
  170. package/dist/serialization/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi → payroll/resources/payscheduleApi}/index.js +1 -0
  171. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.d.ts +12 -0
  172. package/dist/serialization/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi/types/IncorporationSignupResponse.js → payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js} +3 -6
  173. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.d.ts +20 -0
  174. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js +51 -0
  175. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.d.ts +12 -0
  176. package/dist/serialization/resources/{db/resources/company/types/IncorporationDocument.js → api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.js} +4 -5
  177. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +20 -0
  178. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js +51 -0
  179. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +10 -0
  180. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js +41 -0
  181. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +5 -0
  182. package/dist/serialization/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi → payroll/resources/payscheduleApi}/types/index.js +5 -2
  183. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.d.ts +14 -0
  184. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.js +45 -0
  185. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.d.ts +17 -0
  186. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.js +48 -0
  187. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.d.ts +17 -0
  188. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.js +48 -0
  189. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.d.ts +17 -0
  190. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.js +48 -0
  191. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -0
  192. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -0
  193. package/dist/serialization/resources/db/resources/company/types/Company.d.ts +0 -2
  194. package/dist/serialization/resources/db/resources/company/types/Company.js +0 -2
  195. package/dist/serialization/resources/db/resources/company/types/CompanyLegalStructure.d.ts +1 -1
  196. package/dist/serialization/resources/db/resources/company/types/CompanyLegalStructure.js +1 -0
  197. package/dist/serialization/resources/db/resources/company/types/TpCompanyInformation.d.ts +2 -0
  198. package/dist/serialization/resources/db/resources/company/types/TpCompanyInformation.js +2 -0
  199. package/dist/serialization/resources/db/resources/company/types/W2Payroll.d.ts +1 -0
  200. package/dist/serialization/resources/db/resources/company/types/W2Payroll.js +1 -0
  201. package/dist/serialization/resources/db/resources/company/types/WithdrawalTpBankInfo.d.ts +16 -0
  202. package/dist/serialization/resources/db/resources/company/types/WithdrawalTpBankInfo.js +47 -0
  203. package/dist/serialization/resources/db/resources/company/types/index.d.ts +1 -2
  204. package/dist/serialization/resources/db/resources/company/types/index.js +1 -2
  205. package/dist/version.d.ts +1 -1
  206. package/dist/version.js +1 -1
  207. package/package.json +1 -1
  208. package/reference.md +657 -106
  209. package/serialization/resources/api/resources/thera/resources/index.d.ts +0 -1
  210. package/serialization/resources/api/resources/thera/resources/index.js +1 -2
  211. package/serialization/resources/api/resources/thera/resources/payroll/resources/index.d.ts +3 -0
  212. package/serialization/resources/api/resources/thera/resources/payroll/resources/index.js +4 -1
  213. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.d.ts +11 -0
  214. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.js +8 -0
  215. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleChecks.d.ts +2 -2
  216. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleChecks.js +35 -1
  217. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.d.ts +1 -0
  218. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.js +2 -1
  219. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.d.ts +1 -0
  220. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.js +1 -0
  221. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +2 -0
  222. package/serialization/resources/api/resources/thera/resources/{incorporation/resources → payroll/resources/payscheduleApi/client}/index.js +3 -3
  223. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.d.ts +11 -0
  224. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.js +42 -0
  225. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.d.ts +12 -0
  226. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js +43 -0
  227. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.d.ts +17 -0
  228. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js +48 -0
  229. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +19 -0
  230. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js +50 -0
  231. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.d.ts +3 -0
  232. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.js +9 -0
  233. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.d.ts +2 -0
  234. package/serialization/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi → payroll/resources/payscheduleApi}/index.js +1 -0
  235. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.d.ts +12 -0
  236. package/serialization/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi/types/IncorporationSignupResponse.js → payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js} +3 -6
  237. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.d.ts +20 -0
  238. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js +51 -0
  239. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.d.ts +12 -0
  240. package/serialization/resources/{db/resources/company/types/IncorporationDocument.js → api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.js} +4 -5
  241. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +20 -0
  242. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js +51 -0
  243. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +10 -0
  244. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js +41 -0
  245. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +5 -0
  246. package/serialization/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi → payroll/resources/payscheduleApi}/types/index.js +5 -2
  247. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.d.ts +14 -0
  248. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.js +45 -0
  249. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.d.ts +17 -0
  250. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.js +48 -0
  251. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.d.ts +17 -0
  252. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.js +48 -0
  253. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.d.ts +17 -0
  254. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.js +48 -0
  255. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -0
  256. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -0
  257. package/serialization/resources/db/resources/company/types/Company.d.ts +0 -2
  258. package/serialization/resources/db/resources/company/types/Company.js +0 -2
  259. package/serialization/resources/db/resources/company/types/CompanyLegalStructure.d.ts +1 -1
  260. package/serialization/resources/db/resources/company/types/CompanyLegalStructure.js +1 -0
  261. package/serialization/resources/db/resources/company/types/TpCompanyInformation.d.ts +2 -0
  262. package/serialization/resources/db/resources/company/types/TpCompanyInformation.js +2 -0
  263. package/serialization/resources/db/resources/company/types/W2Payroll.d.ts +1 -0
  264. package/serialization/resources/db/resources/company/types/W2Payroll.js +1 -0
  265. package/serialization/resources/db/resources/company/types/WithdrawalTpBankInfo.d.ts +16 -0
  266. package/serialization/resources/db/resources/company/types/WithdrawalTpBankInfo.js +47 -0
  267. package/serialization/resources/db/resources/company/types/index.d.ts +1 -2
  268. package/serialization/resources/db/resources/company/types/index.js +1 -2
  269. package/version.d.ts +1 -1
  270. package/version.js +1 -1
  271. package/api/resources/api/resources/thera/resources/incorporation/client/Client.d.ts +0 -19
  272. package/api/resources/api/resources/thera/resources/incorporation/client/Client.js +0 -17
  273. package/api/resources/api/resources/thera/resources/incorporation/client/index.d.ts +0 -1
  274. package/api/resources/api/resources/thera/resources/incorporation/index.d.ts +0 -2
  275. package/api/resources/api/resources/thera/resources/incorporation/index.js +0 -18
  276. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.d.ts +0 -54
  277. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.js +0 -141
  278. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/index.d.ts +0 -1
  279. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.d.ts +0 -20
  280. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.d.ts +0 -9
  281. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.d.ts +0 -2
  282. package/api/resources/api/resources/thera/resources/incorporation/resources/index.d.ts +0 -2
  283. package/api/resources/db/resources/company/types/IncorporationDetails.d.ts +0 -18
  284. package/api/resources/db/resources/company/types/IncorporationDocument.d.ts +0 -7
  285. package/dist/api/resources/api/resources/thera/resources/incorporation/client/Client.d.ts +0 -19
  286. package/dist/api/resources/api/resources/thera/resources/incorporation/client/Client.js +0 -17
  287. package/dist/api/resources/api/resources/thera/resources/incorporation/client/index.d.ts +0 -1
  288. package/dist/api/resources/api/resources/thera/resources/incorporation/client/index.js +0 -2
  289. package/dist/api/resources/api/resources/thera/resources/incorporation/index.d.ts +0 -2
  290. package/dist/api/resources/api/resources/thera/resources/incorporation/index.js +0 -18
  291. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.d.ts +0 -54
  292. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.js +0 -141
  293. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/index.d.ts +0 -1
  294. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/index.js +0 -2
  295. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.d.ts +0 -20
  296. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.d.ts +0 -9
  297. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.d.ts +0 -2
  298. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/index.d.ts +0 -2
  299. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/index.js +0 -41
  300. package/dist/api/resources/db/resources/company/types/IncorporationDetails.d.ts +0 -18
  301. package/dist/api/resources/db/resources/company/types/IncorporationDocument.d.ts +0 -7
  302. package/dist/serialization/resources/api/resources/thera/resources/incorporation/index.d.ts +0 -1
  303. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/index.d.ts +0 -1
  304. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.d.ts +0 -26
  305. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.js +0 -57
  306. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.d.ts +0 -15
  307. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.d.ts +0 -2
  308. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/index.d.ts +0 -2
  309. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/index.js +0 -41
  310. package/dist/serialization/resources/db/resources/company/types/IncorporationDetails.d.ts +0 -24
  311. package/dist/serialization/resources/db/resources/company/types/IncorporationDetails.js +0 -55
  312. package/dist/serialization/resources/db/resources/company/types/IncorporationDocument.d.ts +0 -13
  313. package/serialization/resources/api/resources/thera/resources/incorporation/index.d.ts +0 -1
  314. package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/index.d.ts +0 -1
  315. package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.d.ts +0 -26
  316. package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.js +0 -57
  317. package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.d.ts +0 -15
  318. package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.d.ts +0 -2
  319. package/serialization/resources/api/resources/thera/resources/incorporation/resources/index.d.ts +0 -2
  320. package/serialization/resources/db/resources/company/types/IncorporationDetails.d.ts +0 -24
  321. package/serialization/resources/db/resources/company/types/IncorporationDetails.js +0 -55
  322. package/serialization/resources/db/resources/company/types/IncorporationDocument.d.ts +0 -13
  323. /package/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi/types/IncorporationSignupRequest.js → payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js} +0 -0
  324. /package/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi/types/IncorporationSignupResponse.js → payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js} +0 -0
  325. /package/api/resources/{db/resources/company/types/IncorporationDetails.js → api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js} +0 -0
  326. /package/api/resources/api/resources/thera/resources/{incorporation/client → payroll/resources/payscheduleApi/client/requests}/index.js +0 -0
  327. /package/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi → payroll/resources/payscheduleApi}/index.d.ts +0 -0
  328. /package/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi → payroll/resources/payscheduleApi}/index.js +0 -0
  329. /package/api/resources/{db/resources/company/types/IncorporationDocument.js → api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js} +0 -0
  330. /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
  331. /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
  332. /package/{dist/api/resources/db/resources/company/types/IncorporationDetails.js → api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js} +0 -0
  333. /package/{dist/api/resources/db/resources/company/types/IncorporationDocument.js → api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.js} +0 -0
  334. /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
  335. /package/dist/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi → payroll/resources/payscheduleApi}/index.d.ts +0 -0
  336. /package/dist/api/resources/api/resources/thera/resources/{incorporation/resources/incorporationApi → payroll/resources/payscheduleApi}/index.js +0 -0
@@ -24,3 +24,7 @@ __exportStar(require("./TransferFundsToOmnibusAccount"), exports);
24
24
  __exportStar(require("./TpTransactionHistory"), exports);
25
25
  __exportStar(require("./ExternalTransferFund"), exports);
26
26
  __exportStar(require("./FboType"), exports);
27
+ __exportStar(require("./WithdrawalTheraCash"), exports);
28
+ __exportStar(require("./WithdrawalAch"), exports);
29
+ __exportStar(require("./WithdrawalWire"), exports);
30
+ __exportStar(require("./WithdrawalWireAddress"), exports);
@@ -78,7 +78,7 @@ class UserApi {
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)), `company/${encodeURIComponent(companyId)}/user/${encodeURIComponent(userId)}`),
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-prerelease3034-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3034-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, 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-prerelease3034-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3034-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
82
82
  contentType: "application/json",
83
83
  requestType: "json",
84
84
  body: serializers.api.thera.user.SetUserComplianceSettingsRequest.jsonOrThrow(request, {
@@ -139,7 +139,7 @@ class UserApi {
139
139
  const _response = yield core.fetcher({
140
140
  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)), `company/${encodeURIComponent(companyId)}/user`),
141
141
  method: "GET",
142
- 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-prerelease3034-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3034-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
142
+ 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-prerelease3034-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3034-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
143
143
  contentType: "application/json",
144
144
  queryParameters: _queryParams,
145
145
  requestType: "json",
@@ -197,7 +197,7 @@ class UserApi {
197
197
  const _response = yield core.fetcher({
198
198
  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"),
199
199
  method: "GET",
200
- 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-prerelease3034-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3034-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
200
+ 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-prerelease3034-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3034-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
201
201
  contentType: "application/json",
202
202
  queryParameters: _queryParams,
203
203
  requestType: "json",
@@ -50,5 +50,4 @@ export interface Company {
50
50
  mercoaCompanyDetails?: TheraApi.db.MercoaCompanyDetails;
51
51
  companyAccountingInformation?: TheraApi.db.CompanyAccountingInformation;
52
52
  companyBankingDetails?: TheraApi.db.CompanyBankingDetails;
53
- incorporationDetails?: TheraApi.db.IncorporationDetails;
54
53
  }
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export type CompanyLegalStructure = "ccorp" | "corp" | "estate" | "foreign_entity" | "llc" | "llp" | "lp" | "nonprofit" | "partnership" | "scheme" | "scorp" | "soleprop" | "trust";
4
+ export type CompanyLegalStructure = "ccorp" | "corp" | "estate" | "foreign_entity" | "llc" | "llp" | "lp" | "nonprofit" | "partnership" | "scheme" | "scorp" | "soleprop" | "trust" | "test";
5
5
  export declare const CompanyLegalStructure: {
6
6
  readonly Ccorp: "ccorp";
7
7
  readonly Corp: "corp";
@@ -16,4 +16,5 @@ export declare const CompanyLegalStructure: {
16
16
  readonly Scorp: "scorp";
17
17
  readonly Soleprop: "soleprop";
18
18
  readonly Trust: "trust";
19
+ readonly Test: "test";
19
20
  };
@@ -18,4 +18,5 @@ exports.CompanyLegalStructure = {
18
18
  Scorp: "scorp",
19
19
  Soleprop: "soleprop",
20
20
  Trust: "trust",
21
+ Test: "test",
21
22
  };
@@ -9,4 +9,5 @@ export interface TpCompanyInformation {
9
9
  disbursementAccount?: TheraApi.db.TpDisbursementAccount;
10
10
  payrollFboOnboardingStage: TheraApi.db.TpCompanyOnboardingStage;
11
11
  lastInterestPaidMonth?: string;
12
+ withdrawalTpBankInfo?: TheraApi.db.WithdrawalTpBankInfo[];
12
13
  }
@@ -16,6 +16,8 @@ export interface W2Payroll {
16
16
  numberOfEmployeesToMigrate?: number;
17
17
  /** double check if this is still needed */
18
18
  payFrequency: TheraApi.db.CompanyPayFrequency;
19
+ /** Check Pay Schedule IDs by Thera User ID */
20
+ checkPayScheduleIdByUserId: Record<string, Set<string>>;
19
21
  lastSubscriptionPayDate: string;
20
22
  autopilotOn: boolean;
21
23
  activePaymentMethodId?: string;
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface WithdrawalTpBankInfo {
5
+ counterPartyId: string;
6
+ accountNumber: string;
7
+ routingNumber: string;
8
+ type: string;
9
+ nameOnAccount: string;
10
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -5,6 +5,7 @@ export * from "./CompanyAccountingSyncSetting";
5
5
  export * from "./TheraBillingType";
6
6
  export * from "./TpCompanyInformation";
7
7
  export * from "./TpCompanyOnboardingStage";
8
+ export * from "./WithdrawalTpBankInfo";
8
9
  export * from "./TpDepositAccount";
9
10
  export * from "./TpDisbursementAccount";
10
11
  export * from "./TpAccountInfo";
@@ -42,5 +43,3 @@ export * from "./AddCompanyBeneficiary";
42
43
  export * from "./CompanyBeneficiary";
43
44
  export * from "./CompanyBankingDetails";
44
45
  export * from "./CompanyLegalStructure";
45
- export * from "./IncorporationDetails";
46
- export * from "./IncorporationDocument";
@@ -21,6 +21,7 @@ __exportStar(require("./CompanyAccountingSyncSetting"), exports);
21
21
  __exportStar(require("./TheraBillingType"), exports);
22
22
  __exportStar(require("./TpCompanyInformation"), exports);
23
23
  __exportStar(require("./TpCompanyOnboardingStage"), exports);
24
+ __exportStar(require("./WithdrawalTpBankInfo"), exports);
24
25
  __exportStar(require("./TpDepositAccount"), exports);
25
26
  __exportStar(require("./TpDisbursementAccount"), exports);
26
27
  __exportStar(require("./TpAccountInfo"), exports);
@@ -58,5 +59,3 @@ __exportStar(require("./AddCompanyBeneficiary"), exports);
58
59
  __exportStar(require("./CompanyBeneficiary"), exports);
59
60
  __exportStar(require("./CompanyBankingDetails"), exports);
60
61
  __exportStar(require("./CompanyLegalStructure"), exports);
61
- __exportStar(require("./IncorporationDetails"), exports);
62
- __exportStar(require("./IncorporationDocument"), exports);
@@ -108,7 +108,7 @@ class AipriseWebhookApi {
108
108
  const _response = yield core.fetcher({
109
109
  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)), "/aiprise/webhook/verification/callback"),
110
110
  method: "POST",
111
- 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-prerelease3034-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3034-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
111
+ 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-prerelease3034-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3034-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
112
112
  contentType: "application/json",
113
113
  requestType: "json",
114
114
  body: serializers.api.aiprise.AiPriseVerificationCallback.jsonOrThrow(request, {
@@ -87,7 +87,7 @@ class Dev {
87
87
  const _response = yield core.fetcher({
88
88
  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)), "/dev/eor"),
89
89
  method: "POST",
90
- 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-prerelease3034-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3034-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
90
+ 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-prerelease3034-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3034-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
91
91
  contentType: "application/json",
92
92
  requestType: "json",
93
93
  body: serializers.api.dev.AddEorEmployeeRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
@@ -113,7 +113,7 @@ class ExternalApi {
113
113
  const _response = yield core.fetcher({
114
114
  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)), "/external/v2/contractor"),
115
115
  method: "POST",
116
- 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-prerelease3034-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3034-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
116
+ 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-prerelease3034-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3034-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
117
117
  contentType: "application/json",
118
118
  requestType: "json",
119
119
  body: serializers.api.external.ExternalCreateContractorRequestV2.jsonOrThrow(request, {
@@ -74,7 +74,7 @@ class File_ {
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)}/generic-document`),
76
76
  method: "POST",
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-prerelease3034-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3034-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-prerelease3034-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3034-dev-2", "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.services.AttachDocumentToEmploymentRequest.jsonOrThrow(request, {
@@ -125,7 +125,7 @@ class File_ {
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)), `/contracts/${encodeURIComponent(contractId)}/generic-document/${encodeURIComponent(s3Key)}`),
127
127
  method: "DELETE",
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-prerelease3034-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3034-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-prerelease3034-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3034-dev-2", "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.services.DeleteDocumentFromEmploymentRequest.jsonOrThrow(request, {
@@ -173,7 +173,7 @@ class File_ {
173
173
  const _response = yield core.fetcher({
174
174
  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)}/generic-document/${encodeURIComponent(s3Key)}/file-url`),
175
175
  method: "GET",
176
- 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-prerelease3034-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3034-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
176
+ 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-prerelease3034-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3034-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
177
177
  contentType: "application/json",
178
178
  requestType: "json",
179
179
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -224,7 +224,7 @@ class File_ {
224
224
  const _response = yield core.fetcher({
225
225
  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/eor/${encodeURIComponent(contractId)}/payslips/${encodeURIComponent(s3Key)}/fileUrl`),
226
226
  method: "GET",
227
- 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-prerelease3034-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3034-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
227
+ 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-prerelease3034-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3034-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
228
228
  contentType: "application/json",
229
229
  requestType: "json",
230
230
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -275,7 +275,7 @@ class File_ {
275
275
  const _response = yield core.fetcher({
276
276
  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)}/contracts/eor/pay-in/${encodeURIComponent(s3Key)}/file-url`),
277
277
  method: "GET",
278
- 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-prerelease3034-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3034-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
278
+ 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-prerelease3034-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3034-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
279
279
  contentType: "application/json",
280
280
  requestType: "json",
281
281
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -12,7 +12,6 @@ import { Document } from "../resources/document/client/Client";
12
12
  import { Email } from "../resources/email/client/Client";
13
13
  import { Employment } from "../resources/employment/client/Client";
14
14
  import { Eor } from "../resources/eor/client/Client";
15
- import { Incorporation } from "../resources/incorporation/client/Client";
16
15
  import { Misc } from "../resources/misc/client/Client";
17
16
  import { Payroll } from "../resources/payroll/client/Client";
18
17
  import { Timeoff } from "../resources/timeoff/client/Client";
@@ -39,7 +38,6 @@ export declare class Thera {
39
38
  protected _email: Email | undefined;
40
39
  protected _employment: Employment | undefined;
41
40
  protected _eor: Eor | undefined;
42
- protected _incorporation: Incorporation | undefined;
43
41
  protected _misc: Misc | undefined;
44
42
  protected _payroll: Payroll | undefined;
45
43
  protected _timeoff: Timeoff | undefined;
@@ -57,7 +55,6 @@ export declare class Thera {
57
55
  get email(): Email;
58
56
  get employment(): Employment;
59
57
  get eor(): Eor;
60
- get incorporation(): Incorporation;
61
58
  get misc(): Misc;
62
59
  get payroll(): Payroll;
63
60
  get timeoff(): Timeoff;
@@ -14,13 +14,12 @@ const Client_7 = require("../resources/document/client/Client");
14
14
  const Client_8 = require("../resources/email/client/Client");
15
15
  const Client_9 = require("../resources/employment/client/Client");
16
16
  const Client_10 = require("../resources/eor/client/Client");
17
- const Client_11 = require("../resources/incorporation/client/Client");
18
- const Client_12 = require("../resources/misc/client/Client");
19
- const Client_13 = require("../resources/payroll/client/Client");
20
- const Client_14 = require("../resources/timeoff/client/Client");
21
- const Client_15 = require("../resources/timetracking/client/Client");
22
- const Client_16 = require("../resources/tp/client/Client");
23
- const Client_17 = require("../resources/user/client/Client");
17
+ const Client_11 = require("../resources/misc/client/Client");
18
+ const Client_12 = require("../resources/payroll/client/Client");
19
+ const Client_13 = require("../resources/timeoff/client/Client");
20
+ const Client_14 = require("../resources/timetracking/client/Client");
21
+ const Client_15 = require("../resources/tp/client/Client");
22
+ const Client_16 = require("../resources/user/client/Client");
24
23
  class Thera {
25
24
  constructor(_options) {
26
25
  this._options = _options;
@@ -65,33 +64,29 @@ class Thera {
65
64
  var _a;
66
65
  return ((_a = this._eor) !== null && _a !== void 0 ? _a : (this._eor = new Client_10.Eor(this._options)));
67
66
  }
68
- get incorporation() {
69
- var _a;
70
- return ((_a = this._incorporation) !== null && _a !== void 0 ? _a : (this._incorporation = new Client_11.Incorporation(this._options)));
71
- }
72
67
  get misc() {
73
68
  var _a;
74
- return ((_a = this._misc) !== null && _a !== void 0 ? _a : (this._misc = new Client_12.Misc(this._options)));
69
+ return ((_a = this._misc) !== null && _a !== void 0 ? _a : (this._misc = new Client_11.Misc(this._options)));
75
70
  }
76
71
  get payroll() {
77
72
  var _a;
78
- return ((_a = this._payroll) !== null && _a !== void 0 ? _a : (this._payroll = new Client_13.Payroll(this._options)));
73
+ return ((_a = this._payroll) !== null && _a !== void 0 ? _a : (this._payroll = new Client_12.Payroll(this._options)));
79
74
  }
80
75
  get timeoff() {
81
76
  var _a;
82
- return ((_a = this._timeoff) !== null && _a !== void 0 ? _a : (this._timeoff = new Client_14.Timeoff(this._options)));
77
+ return ((_a = this._timeoff) !== null && _a !== void 0 ? _a : (this._timeoff = new Client_13.Timeoff(this._options)));
83
78
  }
84
79
  get timetracking() {
85
80
  var _a;
86
- return ((_a = this._timetracking) !== null && _a !== void 0 ? _a : (this._timetracking = new Client_15.Timetracking(this._options)));
81
+ return ((_a = this._timetracking) !== null && _a !== void 0 ? _a : (this._timetracking = new Client_14.Timetracking(this._options)));
87
82
  }
88
83
  get tp() {
89
84
  var _a;
90
- return ((_a = this._tp) !== null && _a !== void 0 ? _a : (this._tp = new Client_16.Tp(this._options)));
85
+ return ((_a = this._tp) !== null && _a !== void 0 ? _a : (this._tp = new Client_15.Tp(this._options)));
91
86
  }
92
87
  get user() {
93
88
  var _a;
94
- return ((_a = this._user) !== null && _a !== void 0 ? _a : (this._user = new Client_17.User(this._options)));
89
+ return ((_a = this._user) !== null && _a !== void 0 ? _a : (this._user = new Client_16.User(this._options)));
95
90
  }
96
91
  }
97
92
  exports.Thera = Thera;
@@ -77,7 +77,7 @@ class AccountingApi {
77
77
  const _response = yield core.fetcher({
78
78
  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)}/accounting/settings`),
79
79
  method: "PUT",
80
- 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-prerelease3034-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3034-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
80
+ 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-prerelease3034-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3034-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
81
81
  contentType: "application/json",
82
82
  requestType: "json",
83
83
  body: serializers.api.thera.accounting.ModifyAccountingIntegrationSetting.jsonOrThrow(request, {
@@ -124,7 +124,7 @@ class AccountingApi {
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)), `companies/${encodeURIComponent(companyId)}/accounting/info`),
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-prerelease3034-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3034-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-prerelease3034-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3034-dev-2", "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,
@@ -174,7 +174,7 @@ class AccountingApi {
174
174
  const _response = yield core.fetcher({
175
175
  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)}/accounting/account-mapping`),
176
176
  method: "GET",
177
- 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-prerelease3034-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3034-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
177
+ 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-prerelease3034-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3034-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
178
178
  contentType: "application/json",
179
179
  requestType: "json",
180
180
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -227,7 +227,7 @@ class AccountingApi {
227
227
  const _response = yield core.fetcher({
228
228
  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)}/accounting/authorize`),
229
229
  method: "POST",
230
- 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-prerelease3034-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3034-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
230
+ 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-prerelease3034-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3034-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
231
231
  contentType: "application/json",
232
232
  requestType: "json",
233
233
  body: serializers.api.thera.accounting.CompleteAccountingIntegrationAuth.jsonOrThrow(request, {