@thera-hr/api-sdk 0.0.1331 → 0.0.1427

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 (259) hide show
  1. package/api/resources/api/resources/index.d.ts +0 -1
  2. package/api/resources/api/resources/index.js +1 -2
  3. package/api/resources/api/resources/services/resources/file/client/Client.js +4 -4
  4. package/api/resources/api/resources/test/resources/invoices/client/Client.js +1 -1
  5. package/api/resources/api/resources/thera/client/Client.d.ts +0 -3
  6. package/api/resources/api/resources/thera/client/Client.js +6 -11
  7. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +1 -5
  8. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +5 -49
  9. package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +1 -1
  10. package/api/resources/api/resources/thera/resources/index.d.ts +0 -1
  11. package/api/resources/api/resources/thera/resources/index.js +1 -2
  12. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +1 -1
  13. package/api/resources/db/resources/employment/types/BiWeeklyPayCycleEnd.d.ts +7 -0
  14. package/api/resources/db/resources/employment/types/DayOfWeek.d.ts +13 -0
  15. package/api/resources/db/resources/employment/types/DayOfWeek.js +15 -0
  16. package/api/resources/db/resources/employment/types/Employment.d.ts +1 -0
  17. package/api/resources/db/resources/employment/types/FifteenthAndEndOfMonth.d.ts +5 -0
  18. package/api/resources/db/resources/employment/types/LastDayOfMonth.d.ts +5 -0
  19. package/api/resources/db/resources/employment/types/MonthlyPayCycleEnd.d.ts +18 -0
  20. package/api/resources/db/resources/employment/types/PayCycle.d.ts +11 -0
  21. package/api/resources/db/resources/employment/types/PayCycleEnd.d.ts +21 -0
  22. package/api/resources/db/resources/employment/types/SemiMonthlyPayCycleEnd.d.ts +14 -0
  23. package/api/resources/db/resources/employment/types/WeeklyPayCycleEnd.d.ts +7 -0
  24. package/api/resources/db/resources/employment/types/index.d.ts +9 -0
  25. package/api/resources/db/resources/employment/types/index.js +9 -0
  26. package/api/resources/db/resources/index.d.ts +0 -2
  27. package/api/resources/db/resources/index.js +1 -3
  28. package/dist/api/resources/api/resources/index.d.ts +0 -1
  29. package/dist/api/resources/api/resources/index.js +1 -2
  30. package/dist/api/resources/api/resources/services/resources/file/client/Client.js +4 -4
  31. package/dist/api/resources/api/resources/test/resources/invoices/client/Client.js +1 -1
  32. package/dist/api/resources/api/resources/thera/client/Client.d.ts +0 -3
  33. package/dist/api/resources/api/resources/thera/client/Client.js +6 -11
  34. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +1 -5
  35. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +5 -49
  36. package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +1 -1
  37. package/dist/api/resources/api/resources/thera/resources/index.d.ts +0 -1
  38. package/dist/api/resources/api/resources/thera/resources/index.js +1 -2
  39. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +1 -1
  40. package/dist/api/resources/db/resources/employment/types/BiWeeklyPayCycleEnd.d.ts +7 -0
  41. package/dist/api/resources/db/resources/employment/types/DayOfWeek.d.ts +13 -0
  42. package/dist/api/resources/db/resources/employment/types/DayOfWeek.js +15 -0
  43. package/dist/api/resources/db/resources/employment/types/Employment.d.ts +1 -0
  44. package/dist/api/resources/db/resources/employment/types/FifteenthAndEndOfMonth.d.ts +5 -0
  45. package/dist/api/resources/db/resources/employment/types/LastDayOfMonth.d.ts +5 -0
  46. package/dist/api/resources/db/resources/employment/types/MonthlyPayCycleEnd.d.ts +18 -0
  47. package/dist/api/resources/db/resources/employment/types/PayCycle.d.ts +11 -0
  48. package/dist/api/resources/db/resources/employment/types/PayCycle.js +5 -0
  49. package/dist/api/resources/db/resources/employment/types/PayCycleEnd.d.ts +21 -0
  50. package/dist/api/resources/db/resources/employment/types/PayCycleEnd.js +5 -0
  51. package/dist/api/resources/db/resources/employment/types/SemiMonthlyPayCycleEnd.d.ts +14 -0
  52. package/dist/api/resources/db/resources/employment/types/SemiMonthlyPayCycleEnd.js +5 -0
  53. package/dist/api/resources/db/resources/employment/types/WeeklyPayCycleEnd.d.ts +7 -0
  54. package/dist/api/resources/db/resources/employment/types/WeeklyPayCycleEnd.js +5 -0
  55. package/dist/api/resources/db/resources/employment/types/index.d.ts +9 -0
  56. package/dist/api/resources/db/resources/employment/types/index.js +9 -0
  57. package/dist/api/resources/db/resources/index.d.ts +0 -2
  58. package/dist/api/resources/db/resources/index.js +1 -3
  59. package/dist/serialization/resources/api/resources/index.d.ts +0 -1
  60. package/dist/serialization/resources/api/resources/index.js +1 -2
  61. package/dist/serialization/resources/api/resources/thera/resources/index.d.ts +0 -1
  62. package/dist/serialization/resources/api/resources/thera/resources/index.js +1 -2
  63. package/dist/serialization/resources/db/resources/employment/types/BiWeeklyPayCycleEnd.d.ts +12 -0
  64. package/dist/serialization/resources/db/resources/{gustoAuth/types/GustoAuth.js → employment/types/BiWeeklyPayCycleEnd.js} +3 -6
  65. package/dist/serialization/resources/db/resources/employment/types/DayOfWeek.d.ts +10 -0
  66. package/dist/serialization/resources/db/resources/employment/types/DayOfWeek.js +31 -0
  67. package/dist/serialization/resources/db/resources/employment/types/Employment.d.ts +1 -0
  68. package/dist/serialization/resources/db/resources/employment/types/Employment.js +1 -0
  69. package/dist/serialization/resources/db/resources/employment/types/FifteenthAndEndOfMonth.d.ts +11 -0
  70. package/{serialization/resources/api/resources/gusto/resources/oauthToken/types/GrantType.js → dist/serialization/resources/db/resources/employment/types/FifteenthAndEndOfMonth.js} +3 -3
  71. package/dist/serialization/resources/db/resources/employment/types/LastDayOfMonth.d.ts +11 -0
  72. package/dist/serialization/resources/{api/resources/gusto/resources/oauthToken/types/GrantType.js → db/resources/employment/types/LastDayOfMonth.js} +3 -3
  73. package/dist/serialization/resources/db/resources/employment/types/MonthlyPayCycleEnd.d.ts +21 -0
  74. package/dist/serialization/resources/{api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshTokenResponse.js → db/resources/employment/types/MonthlyPayCycleEnd.js} +15 -9
  75. package/dist/serialization/resources/db/resources/employment/types/PayCycle.d.ts +15 -0
  76. package/dist/serialization/resources/db/resources/employment/types/PayCycle.js +36 -0
  77. package/dist/serialization/resources/db/resources/employment/types/PayCycleEnd.d.ts +24 -0
  78. package/dist/serialization/resources/{api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictAccessTokenRequest.js → db/resources/employment/types/PayCycleEnd.js} +16 -8
  79. package/dist/serialization/resources/db/resources/employment/types/SemiMonthlyPayCycleEnd.d.ts +17 -0
  80. package/{serialization/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/GustoAccessTokenResponse.js → dist/serialization/resources/db/resources/employment/types/SemiMonthlyPayCycleEnd.js} +12 -6
  81. package/dist/serialization/resources/db/resources/employment/types/WeeklyPayCycleEnd.d.ts +12 -0
  82. package/{serialization/resources/db/resources/gustoAuth/types/GustoAuth.js → dist/serialization/resources/db/resources/employment/types/WeeklyPayCycleEnd.js} +3 -6
  83. package/dist/serialization/resources/db/resources/employment/types/index.d.ts +9 -0
  84. package/dist/serialization/resources/db/resources/employment/types/index.js +9 -0
  85. package/dist/serialization/resources/db/resources/index.d.ts +0 -2
  86. package/dist/serialization/resources/db/resources/index.js +1 -3
  87. package/package.json +1 -1
  88. package/serialization/resources/api/resources/index.d.ts +0 -1
  89. package/serialization/resources/api/resources/index.js +1 -2
  90. package/serialization/resources/api/resources/thera/resources/index.d.ts +0 -1
  91. package/serialization/resources/api/resources/thera/resources/index.js +1 -2
  92. package/serialization/resources/db/resources/employment/types/BiWeeklyPayCycleEnd.d.ts +12 -0
  93. package/serialization/resources/db/resources/employment/types/BiWeeklyPayCycleEnd.js +33 -0
  94. package/serialization/resources/db/resources/employment/types/DayOfWeek.d.ts +10 -0
  95. package/serialization/resources/db/resources/employment/types/DayOfWeek.js +31 -0
  96. package/serialization/resources/db/resources/employment/types/Employment.d.ts +1 -0
  97. package/serialization/resources/db/resources/employment/types/Employment.js +1 -0
  98. package/serialization/resources/db/resources/employment/types/FifteenthAndEndOfMonth.d.ts +11 -0
  99. package/serialization/resources/db/resources/employment/types/FifteenthAndEndOfMonth.js +31 -0
  100. package/serialization/resources/db/resources/employment/types/LastDayOfMonth.d.ts +11 -0
  101. package/serialization/resources/db/resources/employment/types/LastDayOfMonth.js +31 -0
  102. package/serialization/resources/db/resources/employment/types/MonthlyPayCycleEnd.d.ts +21 -0
  103. package/serialization/resources/db/resources/employment/types/MonthlyPayCycleEnd.js +44 -0
  104. package/serialization/resources/db/resources/employment/types/PayCycle.d.ts +15 -0
  105. package/serialization/resources/db/resources/employment/types/PayCycle.js +36 -0
  106. package/serialization/resources/db/resources/employment/types/PayCycleEnd.d.ts +24 -0
  107. package/serialization/resources/db/resources/employment/types/PayCycleEnd.js +45 -0
  108. package/serialization/resources/db/resources/employment/types/SemiMonthlyPayCycleEnd.d.ts +17 -0
  109. package/{dist/serialization/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/GustoAccessTokenResponse.js → serialization/resources/db/resources/employment/types/SemiMonthlyPayCycleEnd.js} +12 -6
  110. package/serialization/resources/db/resources/employment/types/WeeklyPayCycleEnd.d.ts +12 -0
  111. package/serialization/resources/db/resources/employment/types/WeeklyPayCycleEnd.js +33 -0
  112. package/serialization/resources/db/resources/employment/types/index.d.ts +9 -0
  113. package/serialization/resources/db/resources/employment/types/index.js +9 -0
  114. package/serialization/resources/db/resources/index.d.ts +0 -2
  115. package/serialization/resources/db/resources/index.js +1 -3
  116. package/api/resources/api/resources/gusto/index.d.ts +0 -1
  117. package/api/resources/api/resources/gusto/index.js +0 -17
  118. package/api/resources/api/resources/gusto/resources/index.d.ts +0 -2
  119. package/api/resources/api/resources/gusto/resources/index.js +0 -31
  120. package/api/resources/api/resources/gusto/resources/oauthToken/index.d.ts +0 -1
  121. package/api/resources/api/resources/gusto/resources/oauthToken/index.js +0 -17
  122. package/api/resources/api/resources/gusto/resources/oauthToken/types/GrantType.d.ts +0 -8
  123. package/api/resources/api/resources/gusto/resources/oauthToken/types/GrantType.js +0 -10
  124. package/api/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshAccessTokenRequest.d.ts +0 -11
  125. package/api/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshTokenResponse.d.ts +0 -11
  126. package/api/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictAccessTokenRequest.d.ts +0 -11
  127. package/api/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictTokenResponse.d.ts +0 -10
  128. package/api/resources/api/resources/gusto/resources/oauthToken/types/index.d.ts +0 -5
  129. package/api/resources/api/resources/gusto/resources/oauthToken/types/index.js +0 -21
  130. package/api/resources/api/resources/thera/resources/authentication/client/Client.d.ts +0 -17
  131. package/api/resources/api/resources/thera/resources/authentication/client/Client.js +0 -18
  132. package/api/resources/api/resources/thera/resources/authentication/client/index.d.ts +0 -1
  133. package/api/resources/api/resources/thera/resources/authentication/client/index.js +0 -2
  134. package/api/resources/api/resources/thera/resources/authentication/index.d.ts +0 -2
  135. package/api/resources/api/resources/thera/resources/authentication/index.js +0 -18
  136. package/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/client/Client.d.ts +0 -17
  137. package/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/client/Client.js +0 -91
  138. package/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/client/index.d.ts +0 -1
  139. package/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/client/index.js +0 -2
  140. package/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/index.d.ts +0 -2
  141. package/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/index.js +0 -18
  142. package/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/GustoAccessTokenResponse.d.ts +0 -9
  143. package/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/index.d.ts +0 -1
  144. package/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/index.js +0 -17
  145. package/api/resources/api/resources/thera/resources/authentication/resources/index.d.ts +0 -2
  146. package/api/resources/api/resources/thera/resources/authentication/resources/index.js +0 -31
  147. package/api/resources/db/resources/gustoAuth/index.d.ts +0 -1
  148. package/api/resources/db/resources/gustoAuth/index.js +0 -17
  149. package/api/resources/db/resources/gustoAuth/types/GustoAuth.d.ts +0 -9
  150. package/api/resources/db/resources/gustoAuth/types/index.d.ts +0 -1
  151. package/api/resources/db/resources/gustoAuth/types/index.js +0 -17
  152. package/dist/api/resources/api/resources/gusto/index.d.ts +0 -1
  153. package/dist/api/resources/api/resources/gusto/index.js +0 -17
  154. package/dist/api/resources/api/resources/gusto/resources/index.d.ts +0 -2
  155. package/dist/api/resources/api/resources/gusto/resources/index.js +0 -31
  156. package/dist/api/resources/api/resources/gusto/resources/oauthToken/index.d.ts +0 -1
  157. package/dist/api/resources/api/resources/gusto/resources/oauthToken/index.js +0 -17
  158. package/dist/api/resources/api/resources/gusto/resources/oauthToken/types/GrantType.d.ts +0 -8
  159. package/dist/api/resources/api/resources/gusto/resources/oauthToken/types/GrantType.js +0 -10
  160. package/dist/api/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshAccessTokenRequest.d.ts +0 -11
  161. package/dist/api/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshTokenResponse.d.ts +0 -11
  162. package/dist/api/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictAccessTokenRequest.d.ts +0 -11
  163. package/dist/api/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictTokenResponse.d.ts +0 -10
  164. package/dist/api/resources/api/resources/gusto/resources/oauthToken/types/index.d.ts +0 -5
  165. package/dist/api/resources/api/resources/gusto/resources/oauthToken/types/index.js +0 -21
  166. package/dist/api/resources/api/resources/thera/resources/authentication/client/Client.d.ts +0 -17
  167. package/dist/api/resources/api/resources/thera/resources/authentication/client/Client.js +0 -18
  168. package/dist/api/resources/api/resources/thera/resources/authentication/client/index.d.ts +0 -1
  169. package/dist/api/resources/api/resources/thera/resources/authentication/client/index.js +0 -2
  170. package/dist/api/resources/api/resources/thera/resources/authentication/index.d.ts +0 -2
  171. package/dist/api/resources/api/resources/thera/resources/authentication/index.js +0 -18
  172. package/dist/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/client/Client.d.ts +0 -17
  173. package/dist/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/client/Client.js +0 -91
  174. package/dist/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/client/index.d.ts +0 -1
  175. package/dist/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/client/index.js +0 -2
  176. package/dist/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/index.d.ts +0 -2
  177. package/dist/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/index.js +0 -18
  178. package/dist/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/GustoAccessTokenResponse.d.ts +0 -9
  179. package/dist/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/index.d.ts +0 -1
  180. package/dist/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/index.js +0 -17
  181. package/dist/api/resources/api/resources/thera/resources/authentication/resources/index.d.ts +0 -2
  182. package/dist/api/resources/api/resources/thera/resources/authentication/resources/index.js +0 -31
  183. package/dist/api/resources/db/resources/gustoAuth/index.d.ts +0 -1
  184. package/dist/api/resources/db/resources/gustoAuth/index.js +0 -17
  185. package/dist/api/resources/db/resources/gustoAuth/types/GustoAuth.d.ts +0 -9
  186. package/dist/api/resources/db/resources/gustoAuth/types/index.d.ts +0 -1
  187. package/dist/api/resources/db/resources/gustoAuth/types/index.js +0 -17
  188. package/dist/serialization/resources/api/resources/gusto/index.d.ts +0 -1
  189. package/dist/serialization/resources/api/resources/gusto/index.js +0 -17
  190. package/dist/serialization/resources/api/resources/gusto/resources/index.d.ts +0 -2
  191. package/dist/serialization/resources/api/resources/gusto/resources/index.js +0 -31
  192. package/dist/serialization/resources/api/resources/gusto/resources/oauthToken/index.d.ts +0 -1
  193. package/dist/serialization/resources/api/resources/gusto/resources/oauthToken/index.js +0 -17
  194. package/dist/serialization/resources/api/resources/gusto/resources/oauthToken/types/GrantType.d.ts +0 -10
  195. package/dist/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshAccessTokenRequest.d.ts +0 -16
  196. package/dist/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshAccessTokenRequest.js +0 -37
  197. package/dist/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshTokenResponse.d.ts +0 -17
  198. package/dist/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictAccessTokenRequest.d.ts +0 -16
  199. package/dist/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictTokenResponse.d.ts +0 -16
  200. package/dist/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictTokenResponse.js +0 -37
  201. package/dist/serialization/resources/api/resources/gusto/resources/oauthToken/types/index.d.ts +0 -5
  202. package/dist/serialization/resources/api/resources/gusto/resources/oauthToken/types/index.js +0 -21
  203. package/dist/serialization/resources/api/resources/thera/resources/authentication/index.d.ts +0 -1
  204. package/dist/serialization/resources/api/resources/thera/resources/authentication/index.js +0 -17
  205. package/dist/serialization/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/index.d.ts +0 -1
  206. package/dist/serialization/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/index.js +0 -17
  207. package/dist/serialization/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/GustoAccessTokenResponse.d.ts +0 -14
  208. package/dist/serialization/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/index.d.ts +0 -1
  209. package/dist/serialization/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/index.js +0 -17
  210. package/dist/serialization/resources/api/resources/thera/resources/authentication/resources/index.d.ts +0 -2
  211. package/dist/serialization/resources/api/resources/thera/resources/authentication/resources/index.js +0 -31
  212. package/dist/serialization/resources/db/resources/gustoAuth/index.d.ts +0 -1
  213. package/dist/serialization/resources/db/resources/gustoAuth/index.js +0 -17
  214. package/dist/serialization/resources/db/resources/gustoAuth/types/GustoAuth.d.ts +0 -15
  215. package/dist/serialization/resources/db/resources/gustoAuth/types/index.d.ts +0 -1
  216. package/dist/serialization/resources/db/resources/gustoAuth/types/index.js +0 -17
  217. package/serialization/resources/api/resources/gusto/index.d.ts +0 -1
  218. package/serialization/resources/api/resources/gusto/index.js +0 -17
  219. package/serialization/resources/api/resources/gusto/resources/index.d.ts +0 -2
  220. package/serialization/resources/api/resources/gusto/resources/index.js +0 -31
  221. package/serialization/resources/api/resources/gusto/resources/oauthToken/index.d.ts +0 -1
  222. package/serialization/resources/api/resources/gusto/resources/oauthToken/index.js +0 -17
  223. package/serialization/resources/api/resources/gusto/resources/oauthToken/types/GrantType.d.ts +0 -10
  224. package/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshAccessTokenRequest.d.ts +0 -16
  225. package/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshAccessTokenRequest.js +0 -37
  226. package/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshTokenResponse.d.ts +0 -17
  227. package/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshTokenResponse.js +0 -38
  228. package/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictAccessTokenRequest.d.ts +0 -16
  229. package/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictAccessTokenRequest.js +0 -37
  230. package/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictTokenResponse.d.ts +0 -16
  231. package/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictTokenResponse.js +0 -37
  232. package/serialization/resources/api/resources/gusto/resources/oauthToken/types/index.d.ts +0 -5
  233. package/serialization/resources/api/resources/gusto/resources/oauthToken/types/index.js +0 -21
  234. package/serialization/resources/api/resources/thera/resources/authentication/index.d.ts +0 -1
  235. package/serialization/resources/api/resources/thera/resources/authentication/index.js +0 -17
  236. package/serialization/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/index.d.ts +0 -1
  237. package/serialization/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/index.js +0 -17
  238. package/serialization/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/GustoAccessTokenResponse.d.ts +0 -14
  239. package/serialization/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/index.d.ts +0 -1
  240. package/serialization/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/index.js +0 -17
  241. package/serialization/resources/api/resources/thera/resources/authentication/resources/index.d.ts +0 -2
  242. package/serialization/resources/api/resources/thera/resources/authentication/resources/index.js +0 -31
  243. package/serialization/resources/db/resources/gustoAuth/index.d.ts +0 -1
  244. package/serialization/resources/db/resources/gustoAuth/index.js +0 -17
  245. package/serialization/resources/db/resources/gustoAuth/types/GustoAuth.d.ts +0 -15
  246. package/serialization/resources/db/resources/gustoAuth/types/index.d.ts +0 -1
  247. package/serialization/resources/db/resources/gustoAuth/types/index.js +0 -17
  248. /package/api/resources/{api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshAccessTokenRequest.js → db/resources/employment/types/BiWeeklyPayCycleEnd.js} +0 -0
  249. /package/api/resources/{api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshTokenResponse.js → db/resources/employment/types/FifteenthAndEndOfMonth.js} +0 -0
  250. /package/api/resources/{api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictAccessTokenRequest.js → db/resources/employment/types/LastDayOfMonth.js} +0 -0
  251. /package/api/resources/{api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictTokenResponse.js → db/resources/employment/types/MonthlyPayCycleEnd.js} +0 -0
  252. /package/api/resources/{api/resources/thera/resources/authentication/resources/gustoAuthentication/types/GustoAccessTokenResponse.js → db/resources/employment/types/PayCycle.js} +0 -0
  253. /package/api/resources/db/resources/{gustoAuth/types/GustoAuth.js → employment/types/PayCycleEnd.js} +0 -0
  254. /package/{dist/api/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshAccessTokenRequest.js → api/resources/db/resources/employment/types/SemiMonthlyPayCycleEnd.js} +0 -0
  255. /package/{dist/api/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshTokenResponse.js → api/resources/db/resources/employment/types/WeeklyPayCycleEnd.js} +0 -0
  256. /package/dist/api/resources/{api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictAccessTokenRequest.js → db/resources/employment/types/BiWeeklyPayCycleEnd.js} +0 -0
  257. /package/dist/api/resources/{api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictTokenResponse.js → db/resources/employment/types/FifteenthAndEndOfMonth.js} +0 -0
  258. /package/dist/api/resources/{api/resources/thera/resources/authentication/resources/gustoAuthentication/types/GustoAccessTokenResponse.js → db/resources/employment/types/LastDayOfMonth.js} +0 -0
  259. /package/dist/api/resources/db/resources/{gustoAuth/types/GustoAuth.js → employment/types/MonthlyPayCycleEnd.js} +0 -0
@@ -1,4 +1,3 @@
1
- export * as gusto from "./gusto";
2
1
  export * as request from "./request";
3
2
  export * as response from "./response";
4
3
  export * as services from "./services";
@@ -23,8 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.zeal = exports.thera = exports.test = exports.services = exports.response = exports.request = exports.gusto = void 0;
27
- exports.gusto = __importStar(require("./gusto"));
26
+ exports.zeal = exports.thera = exports.test = exports.services = exports.response = exports.request = void 0;
28
27
  exports.request = __importStar(require("./request"));
29
28
  exports.response = __importStar(require("./response"));
30
29
  exports.services = __importStar(require("./services"));
@@ -47,7 +47,7 @@ class File_ {
47
47
  Authorization: await this._getAuthorizationHeader(),
48
48
  "X-Fern-Language": "JavaScript",
49
49
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
50
- "X-Fern-SDK-Version": "0.0.1331",
50
+ "X-Fern-SDK-Version": "0.0.1427",
51
51
  },
52
52
  contentType: "application/json",
53
53
  body: await serializers.api.services.AttachDocumentToEmploymentRequest.jsonOrThrow(request, {
@@ -86,7 +86,7 @@ class File_ {
86
86
  Authorization: await this._getAuthorizationHeader(),
87
87
  "X-Fern-Language": "JavaScript",
88
88
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
89
- "X-Fern-SDK-Version": "0.0.1331",
89
+ "X-Fern-SDK-Version": "0.0.1427",
90
90
  },
91
91
  contentType: "application/json",
92
92
  body: await serializers.api.services.DeleteDocumentFromEmploymentRequest.jsonOrThrow(request, {
@@ -125,7 +125,7 @@ class File_ {
125
125
  Authorization: await this._getAuthorizationHeader(),
126
126
  "X-Fern-Language": "JavaScript",
127
127
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
128
- "X-Fern-SDK-Version": "0.0.1331",
128
+ "X-Fern-SDK-Version": "0.0.1427",
129
129
  },
130
130
  contentType: "application/json",
131
131
  timeoutMs: 60000,
@@ -166,7 +166,7 @@ class File_ {
166
166
  Authorization: await this._getAuthorizationHeader(),
167
167
  "X-Fern-Language": "JavaScript",
168
168
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
169
- "X-Fern-SDK-Version": "0.0.1331",
169
+ "X-Fern-SDK-Version": "0.0.1427",
170
170
  },
171
171
  contentType: "application/json",
172
172
  timeoutMs: 60000,
@@ -47,7 +47,7 @@ class Invoices {
47
47
  Authorization: await this._getAuthorizationHeader(),
48
48
  "X-Fern-Language": "JavaScript",
49
49
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
50
- "X-Fern-SDK-Version": "0.0.1331",
50
+ "X-Fern-SDK-Version": "0.0.1427",
51
51
  },
52
52
  contentType: "application/json",
53
53
  body: await serializers.api.test.VoidInvoiceRequest.jsonOrThrow(request, {
@@ -2,7 +2,6 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as core from "../../../../../../core";
5
- import { Authentication } from "../resources/authentication/client/Client";
6
5
  import { Bank } from "../resources/bank/client/Client";
7
6
  import { Company } from "../resources/company/client/Client";
8
7
  import { Payroll } from "../resources/payroll/client/Client";
@@ -15,8 +14,6 @@ export declare namespace Thera {
15
14
  export declare class Thera {
16
15
  protected readonly options: Thera.Options;
17
16
  constructor(options: Thera.Options);
18
- protected _authentication: Authentication | undefined;
19
- get authentication(): Authentication;
20
17
  protected _bank: Bank | undefined;
21
18
  get bank(): Bank;
22
19
  protected _company: Company | undefined;
@@ -4,30 +4,25 @@
4
4
  */
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.Thera = void 0;
7
- const Client_1 = require("../resources/authentication/client/Client");
8
- const Client_2 = require("../resources/bank/client/Client");
9
- const Client_3 = require("../resources/company/client/Client");
10
- const Client_4 = require("../resources/payroll/client/Client");
7
+ const Client_1 = require("../resources/bank/client/Client");
8
+ const Client_2 = require("../resources/company/client/Client");
9
+ const Client_3 = require("../resources/payroll/client/Client");
11
10
  class Thera {
12
11
  options;
13
12
  constructor(options) {
14
13
  this.options = options;
15
14
  }
16
- _authentication;
17
- get authentication() {
18
- return (this._authentication ??= new Client_1.Authentication(this.options));
19
- }
20
15
  _bank;
21
16
  get bank() {
22
- return (this._bank ??= new Client_2.Bank(this.options));
17
+ return (this._bank ??= new Client_1.Bank(this.options));
23
18
  }
24
19
  _company;
25
20
  get company() {
26
- return (this._company ??= new Client_3.Company(this.options));
21
+ return (this._company ??= new Client_2.Company(this.options));
27
22
  }
28
23
  _payroll;
29
24
  get payroll() {
30
- return (this._payroll ??= new Client_4.Payroll(this.options));
25
+ return (this._payroll ??= new Client_3.Payroll(this.options));
31
26
  }
32
27
  }
33
28
  exports.Thera = Thera;
@@ -13,13 +13,9 @@ export declare class BankApi {
13
13
  protected readonly options: BankApi.Options;
14
14
  constructor(options: BankApi.Options);
15
15
  /**
16
- * For uses in Production Env only!
16
+ * Get Plaid's link-token
17
17
  */
18
18
  generateBankSignup(request?: TheraApi.api.thera.bank.GenerateBankSignupRequest): Promise<TheraApi.api.thera.bank.GetBankAccountSignupKey>;
19
- /**
20
- * For uses in Dev/Staging Env only!
21
- */
22
- getPublicTokenSandbox(): Promise<TheraApi.api.thera.bank.GetSandboxPublicKey>;
23
19
  /**
24
20
  * Verify that company's bank account has been provided to Plaid
25
21
  */
@@ -41,7 +41,7 @@ class BankApi {
41
41
  this.options = options;
42
42
  }
43
43
  /**
44
- * For uses in Production Env only!
44
+ * Get Plaid's link-token
45
45
  */
46
46
  async generateBankSignup(request = {}) {
47
47
  const { redirectUri } = request;
@@ -56,7 +56,7 @@ class BankApi {
56
56
  Authorization: await this._getAuthorizationHeader(),
57
57
  "X-Fern-Language": "JavaScript",
58
58
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
59
- "X-Fern-SDK-Version": "0.0.1331",
59
+ "X-Fern-SDK-Version": "0.0.1427",
60
60
  },
61
61
  contentType: "application/json",
62
62
  queryParameters: _queryParams,
@@ -90,50 +90,6 @@ class BankApi {
90
90
  });
91
91
  }
92
92
  }
93
- /**
94
- * For uses in Dev/Staging Env only!
95
- */
96
- async getPublicTokenSandbox() {
97
- const _response = await core.fetcher({
98
- url: (0, url_join_1.default)(this.options.environment, "sandbox/bank/account/publicToken"),
99
- method: "GET",
100
- headers: {
101
- Authorization: await this._getAuthorizationHeader(),
102
- "X-Fern-Language": "JavaScript",
103
- "X-Fern-SDK-Name": "@thera-hr/api-sdk",
104
- "X-Fern-SDK-Version": "0.0.1331",
105
- },
106
- contentType: "application/json",
107
- timeoutMs: 60000,
108
- });
109
- if (_response.ok) {
110
- return await serializers.api.thera.bank.GetSandboxPublicKey.parseOrThrow(_response.body, {
111
- unrecognizedObjectKeys: "passthrough",
112
- allowUnrecognizedUnionMembers: true,
113
- allowUnrecognizedEnumValues: true,
114
- breadcrumbsPrefix: ["response"],
115
- });
116
- }
117
- if (_response.error.reason === "status-code") {
118
- throw new errors.TheraApiError({
119
- statusCode: _response.error.statusCode,
120
- body: _response.error.body,
121
- });
122
- }
123
- switch (_response.error.reason) {
124
- case "non-json":
125
- throw new errors.TheraApiError({
126
- statusCode: _response.error.statusCode,
127
- body: _response.error.rawBody,
128
- });
129
- case "timeout":
130
- throw new errors.TheraApiTimeoutError();
131
- case "unknown":
132
- throw new errors.TheraApiError({
133
- message: _response.error.errorMessage,
134
- });
135
- }
136
- }
137
93
  /**
138
94
  * Verify that company's bank account has been provided to Plaid
139
95
  */
@@ -145,7 +101,7 @@ class BankApi {
145
101
  Authorization: await this._getAuthorizationHeader(),
146
102
  "X-Fern-Language": "JavaScript",
147
103
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
148
- "X-Fern-SDK-Version": "0.0.1331",
104
+ "X-Fern-SDK-Version": "0.0.1427",
149
105
  },
150
106
  contentType: "application/json",
151
107
  body: await serializers.api.thera.bank.VerifyAccountSignupRequest.jsonOrThrow(request, {
@@ -187,7 +143,7 @@ class BankApi {
187
143
  Authorization: await this._getAuthorizationHeader(),
188
144
  "X-Fern-Language": "JavaScript",
189
145
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
190
- "X-Fern-SDK-Version": "0.0.1331",
146
+ "X-Fern-SDK-Version": "0.0.1427",
191
147
  },
192
148
  contentType: "application/json",
193
149
  timeoutMs: 60000,
@@ -226,7 +182,7 @@ class BankApi {
226
182
  Authorization: await this._getAuthorizationHeader(),
227
183
  "X-Fern-Language": "JavaScript",
228
184
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
229
- "X-Fern-SDK-Version": "0.0.1331",
185
+ "X-Fern-SDK-Version": "0.0.1427",
230
186
  },
231
187
  contentType: "application/json",
232
188
  body: await serializers.api.thera.bank.VerifyMicrodepositRequest.jsonOrThrow(request, {
@@ -50,7 +50,7 @@ class CompanyW2PayrollApi {
50
50
  Authorization: await this._getAuthorizationHeader(),
51
51
  "X-Fern-Language": "JavaScript",
52
52
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
53
- "X-Fern-SDK-Version": "0.0.1331",
53
+ "X-Fern-SDK-Version": "0.0.1427",
54
54
  },
55
55
  contentType: "application/json",
56
56
  body: await serializers.api.thera.company.OnboardW2PayrollRequest.jsonOrThrow(request, {
@@ -1,5 +1,4 @@
1
1
  export * as address from "./address";
2
- export * as authentication from "./authentication";
3
2
  export * as bank from "./bank";
4
3
  export * as company from "./company";
5
4
  export * as payroll from "./payroll";
@@ -23,9 +23,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.payroll = exports.company = exports.bank = exports.authentication = exports.address = void 0;
26
+ exports.payroll = exports.company = exports.bank = exports.address = void 0;
27
27
  exports.address = __importStar(require("./address"));
28
- exports.authentication = __importStar(require("./authentication"));
29
28
  exports.bank = __importStar(require("./bank"));
30
29
  exports.company = __importStar(require("./company"));
31
30
  exports.payroll = __importStar(require("./payroll"));
@@ -50,7 +50,7 @@ class OncycleApi {
50
50
  Authorization: await this._getAuthorizationHeader(),
51
51
  "X-Fern-Language": "JavaScript",
52
52
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
53
- "X-Fern-SDK-Version": "0.0.1331",
53
+ "X-Fern-SDK-Version": "0.0.1427",
54
54
  },
55
55
  contentType: "application/json",
56
56
  timeoutMs: 60000,
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as TheraApi from "../../../../..";
5
+ export interface BiWeeklyPayCycleEnd {
6
+ dayOfWeek: TheraApi.db.DayOfWeek;
7
+ }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type DayOfWeek = "MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY";
5
+ export declare const DayOfWeek: {
6
+ readonly Monday: "MONDAY";
7
+ readonly Tuesday: "TUESDAY";
8
+ readonly Wednesday: "WEDNESDAY";
9
+ readonly Thursday: "THURSDAY";
10
+ readonly Friday: "FRIDAY";
11
+ readonly Saturday: "SATURDAY";
12
+ readonly Sunday: "SUNDAY";
13
+ };
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.DayOfWeek = void 0;
7
+ exports.DayOfWeek = {
8
+ Monday: "MONDAY",
9
+ Tuesday: "TUESDAY",
10
+ Wednesday: "WEDNESDAY",
11
+ Thursday: "THURSDAY",
12
+ Friday: "FRIDAY",
13
+ Saturday: "SATURDAY",
14
+ Sunday: "SUNDAY",
15
+ };
@@ -23,4 +23,5 @@ export interface Employment {
23
23
  eor: TheraApi.db.EorDetails;
24
24
  companySigningAuthorityUserId: string;
25
25
  documents: TheraApi.db.EmploymentDocuments;
26
+ payCycle: TheraApi.db.PayCycle;
26
27
  }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface FifteenthAndEndOfMonth {
5
+ }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface LastDayOfMonth {
5
+ }
@@ -0,0 +1,18 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as TheraApi from "../../../../..";
5
+ export declare type MonthlyPayCycleEnd = TheraApi.db.MonthlyPayCycleEnd.DayOfMonth | TheraApi.db.MonthlyPayCycleEnd.LastDayOfMonth | TheraApi.db.MonthlyPayCycleEnd.LastDayOfWeekOfMonth;
6
+ export declare namespace MonthlyPayCycleEnd {
7
+ interface DayOfMonth {
8
+ type: "dayOfMonth";
9
+ value: number;
10
+ }
11
+ interface LastDayOfMonth extends TheraApi.db.LastDayOfMonth {
12
+ type: "lastDayOfMonth";
13
+ }
14
+ interface LastDayOfWeekOfMonth {
15
+ type: "lastDayOfWeekOfMonth";
16
+ value: TheraApi.db.DayOfWeek;
17
+ }
18
+ }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as TheraApi from "../../../../..";
5
+ export interface PayCycle {
6
+ /** This field is currently not used. Adheres to Timezone DB version tzdata2022g. */
7
+ timezone: string;
8
+ cycleStartDate: string;
9
+ cycleEnd: TheraApi.db.PayCycleEnd;
10
+ paymentDueDays: number;
11
+ }
@@ -0,0 +1,21 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as TheraApi from "../../../../..";
5
+ export declare type PayCycleEnd = TheraApi.db.PayCycleEnd.Weekly | TheraApi.db.PayCycleEnd.Biweekly | TheraApi.db.PayCycleEnd.Monthly | TheraApi.db.PayCycleEnd.Semimonthly;
6
+ export declare namespace PayCycleEnd {
7
+ interface Weekly extends TheraApi.db.WeeklyPayCycleEnd {
8
+ type: "weekly";
9
+ }
10
+ interface Biweekly extends TheraApi.db.BiWeeklyPayCycleEnd {
11
+ type: "biweekly";
12
+ }
13
+ interface Monthly {
14
+ type: "monthly";
15
+ value: TheraApi.db.MonthlyPayCycleEnd;
16
+ }
17
+ interface Semimonthly {
18
+ type: "semimonthly";
19
+ value: TheraApi.db.SemiMonthlyPayCycleEnd;
20
+ }
21
+ }
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as TheraApi from "../../../../..";
5
+ export declare type SemiMonthlyPayCycleEnd = TheraApi.db.SemiMonthlyPayCycleEnd.FifteenthAndEndOfMonth | TheraApi.db.SemiMonthlyPayCycleEnd.DayOfMonth;
6
+ export declare namespace SemiMonthlyPayCycleEnd {
7
+ interface FifteenthAndEndOfMonth extends TheraApi.db.FifteenthAndEndOfMonth {
8
+ type: "fifteenthAndEndOfMonth";
9
+ }
10
+ interface DayOfMonth {
11
+ type: "dayOfMonth";
12
+ value: number;
13
+ }
14
+ }
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as TheraApi from "../../../../..";
5
+ export interface WeeklyPayCycleEnd {
6
+ dayOfWeek: TheraApi.db.DayOfWeek;
7
+ }
@@ -21,3 +21,12 @@ export * from "./GenericEmploymentDocument";
21
21
  export * from "./ModifyRecurrencesRequest";
22
22
  export * from "./RecurrenceModifications";
23
23
  export * from "./ModifyRecurrencesResponse";
24
+ export * from "./PayCycle";
25
+ export * from "./PayCycleEnd";
26
+ export * from "./WeeklyPayCycleEnd";
27
+ export * from "./BiWeeklyPayCycleEnd";
28
+ export * from "./MonthlyPayCycleEnd";
29
+ export * from "./SemiMonthlyPayCycleEnd";
30
+ export * from "./FifteenthAndEndOfMonth";
31
+ export * from "./LastDayOfMonth";
32
+ export * from "./DayOfWeek";
@@ -37,3 +37,12 @@ __exportStar(require("./GenericEmploymentDocument"), exports);
37
37
  __exportStar(require("./ModifyRecurrencesRequest"), exports);
38
38
  __exportStar(require("./RecurrenceModifications"), exports);
39
39
  __exportStar(require("./ModifyRecurrencesResponse"), exports);
40
+ __exportStar(require("./PayCycle"), exports);
41
+ __exportStar(require("./PayCycleEnd"), exports);
42
+ __exportStar(require("./WeeklyPayCycleEnd"), exports);
43
+ __exportStar(require("./BiWeeklyPayCycleEnd"), exports);
44
+ __exportStar(require("./MonthlyPayCycleEnd"), exports);
45
+ __exportStar(require("./SemiMonthlyPayCycleEnd"), exports);
46
+ __exportStar(require("./FifteenthAndEndOfMonth"), exports);
47
+ __exportStar(require("./LastDayOfMonth"), exports);
48
+ __exportStar(require("./DayOfWeek"), exports);
@@ -2,8 +2,6 @@ export * as document from "./document";
2
2
  export * from "./document/types";
3
3
  export * as employment from "./employment";
4
4
  export * from "./employment/types";
5
- export * as gustoAuth from "./gustoAuth";
6
- export * from "./gustoAuth/types";
7
5
  export * as payment from "./payment";
8
6
  export * as user from "./user";
9
7
  export * from "./user/types";
@@ -26,13 +26,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
26
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.user = exports.payment = exports.gustoAuth = exports.employment = exports.document = void 0;
29
+ exports.user = exports.payment = exports.employment = exports.document = void 0;
30
30
  exports.document = __importStar(require("./document"));
31
31
  __exportStar(require("./document/types"), exports);
32
32
  exports.employment = __importStar(require("./employment"));
33
33
  __exportStar(require("./employment/types"), exports);
34
- exports.gustoAuth = __importStar(require("./gustoAuth"));
35
- __exportStar(require("./gustoAuth/types"), exports);
36
34
  exports.payment = __importStar(require("./payment"));
37
35
  exports.user = __importStar(require("./user"));
38
36
  __exportStar(require("./user/types"), exports);
@@ -1,4 +1,3 @@
1
- export * as gusto from "./gusto";
2
1
  export * as request from "./request";
3
2
  export * as response from "./response";
4
3
  export * as services from "./services";
@@ -23,8 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.zeal = exports.thera = exports.test = exports.services = exports.response = exports.request = exports.gusto = void 0;
27
- exports.gusto = __importStar(require("./gusto"));
26
+ exports.zeal = exports.thera = exports.test = exports.services = exports.response = exports.request = void 0;
28
27
  exports.request = __importStar(require("./request"));
29
28
  exports.response = __importStar(require("./response"));
30
29
  exports.services = __importStar(require("./services"));
@@ -47,7 +47,7 @@ class File_ {
47
47
  Authorization: await this._getAuthorizationHeader(),
48
48
  "X-Fern-Language": "JavaScript",
49
49
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
50
- "X-Fern-SDK-Version": "0.0.1331",
50
+ "X-Fern-SDK-Version": "0.0.1427",
51
51
  },
52
52
  contentType: "application/json",
53
53
  body: await serializers.api.services.AttachDocumentToEmploymentRequest.jsonOrThrow(request, {
@@ -86,7 +86,7 @@ class File_ {
86
86
  Authorization: await this._getAuthorizationHeader(),
87
87
  "X-Fern-Language": "JavaScript",
88
88
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
89
- "X-Fern-SDK-Version": "0.0.1331",
89
+ "X-Fern-SDK-Version": "0.0.1427",
90
90
  },
91
91
  contentType: "application/json",
92
92
  body: await serializers.api.services.DeleteDocumentFromEmploymentRequest.jsonOrThrow(request, {
@@ -125,7 +125,7 @@ class File_ {
125
125
  Authorization: await this._getAuthorizationHeader(),
126
126
  "X-Fern-Language": "JavaScript",
127
127
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
128
- "X-Fern-SDK-Version": "0.0.1331",
128
+ "X-Fern-SDK-Version": "0.0.1427",
129
129
  },
130
130
  contentType: "application/json",
131
131
  timeoutMs: 60000,
@@ -166,7 +166,7 @@ class File_ {
166
166
  Authorization: await this._getAuthorizationHeader(),
167
167
  "X-Fern-Language": "JavaScript",
168
168
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
169
- "X-Fern-SDK-Version": "0.0.1331",
169
+ "X-Fern-SDK-Version": "0.0.1427",
170
170
  },
171
171
  contentType: "application/json",
172
172
  timeoutMs: 60000,
@@ -47,7 +47,7 @@ class Invoices {
47
47
  Authorization: await this._getAuthorizationHeader(),
48
48
  "X-Fern-Language": "JavaScript",
49
49
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
50
- "X-Fern-SDK-Version": "0.0.1331",
50
+ "X-Fern-SDK-Version": "0.0.1427",
51
51
  },
52
52
  contentType: "application/json",
53
53
  body: await serializers.api.test.VoidInvoiceRequest.jsonOrThrow(request, {
@@ -2,7 +2,6 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as core from "../../../../../../core";
5
- import { Authentication } from "../resources/authentication/client/Client";
6
5
  import { Bank } from "../resources/bank/client/Client";
7
6
  import { Company } from "../resources/company/client/Client";
8
7
  import { Payroll } from "../resources/payroll/client/Client";
@@ -15,8 +14,6 @@ export declare namespace Thera {
15
14
  export declare class Thera {
16
15
  protected readonly options: Thera.Options;
17
16
  constructor(options: Thera.Options);
18
- protected _authentication: Authentication | undefined;
19
- get authentication(): Authentication;
20
17
  protected _bank: Bank | undefined;
21
18
  get bank(): Bank;
22
19
  protected _company: Company | undefined;
@@ -4,30 +4,25 @@
4
4
  */
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.Thera = void 0;
7
- const Client_1 = require("../resources/authentication/client/Client");
8
- const Client_2 = require("../resources/bank/client/Client");
9
- const Client_3 = require("../resources/company/client/Client");
10
- const Client_4 = require("../resources/payroll/client/Client");
7
+ const Client_1 = require("../resources/bank/client/Client");
8
+ const Client_2 = require("../resources/company/client/Client");
9
+ const Client_3 = require("../resources/payroll/client/Client");
11
10
  class Thera {
12
11
  options;
13
12
  constructor(options) {
14
13
  this.options = options;
15
14
  }
16
- _authentication;
17
- get authentication() {
18
- return (this._authentication ??= new Client_1.Authentication(this.options));
19
- }
20
15
  _bank;
21
16
  get bank() {
22
- return (this._bank ??= new Client_2.Bank(this.options));
17
+ return (this._bank ??= new Client_1.Bank(this.options));
23
18
  }
24
19
  _company;
25
20
  get company() {
26
- return (this._company ??= new Client_3.Company(this.options));
21
+ return (this._company ??= new Client_2.Company(this.options));
27
22
  }
28
23
  _payroll;
29
24
  get payroll() {
30
- return (this._payroll ??= new Client_4.Payroll(this.options));
25
+ return (this._payroll ??= new Client_3.Payroll(this.options));
31
26
  }
32
27
  }
33
28
  exports.Thera = Thera;
@@ -13,13 +13,9 @@ export declare class BankApi {
13
13
  protected readonly options: BankApi.Options;
14
14
  constructor(options: BankApi.Options);
15
15
  /**
16
- * For uses in Production Env only!
16
+ * Get Plaid's link-token
17
17
  */
18
18
  generateBankSignup(request?: TheraApi.api.thera.bank.GenerateBankSignupRequest): Promise<TheraApi.api.thera.bank.GetBankAccountSignupKey>;
19
- /**
20
- * For uses in Dev/Staging Env only!
21
- */
22
- getPublicTokenSandbox(): Promise<TheraApi.api.thera.bank.GetSandboxPublicKey>;
23
19
  /**
24
20
  * Verify that company's bank account has been provided to Plaid
25
21
  */