@thera-hr/api-sdk 0.0.1002 → 0.0.1061

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 (366) hide show
  1. package/api/resources/api/client/Client.d.ts +3 -0
  2. package/api/resources/api/client/Client.js +5 -0
  3. package/api/resources/api/resources/gusto/resources/index.d.ts +2 -0
  4. package/{dist/api/resources/db/resources/test → api/resources/api/resources/gusto}/resources/index.js +3 -3
  5. package/api/resources/api/resources/gusto/resources/oauthToken/types/GrantType.d.ts +8 -0
  6. package/{dist/api/resources/db/resources/test/resources/employment/types/FernMilestoneStatus.js → api/resources/api/resources/gusto/resources/oauthToken/types/GrantType.js} +4 -4
  7. package/api/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshAccessTokenRequest.d.ts +11 -0
  8. package/api/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshTokenResponse.d.ts +11 -0
  9. package/api/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictAccessTokenRequest.d.ts +11 -0
  10. package/api/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictTokenResponse.d.ts +10 -0
  11. package/api/resources/api/resources/gusto/resources/oauthToken/types/index.d.ts +5 -0
  12. package/api/resources/api/resources/gusto/resources/oauthToken/types/index.js +21 -0
  13. package/api/resources/api/resources/index.d.ts +3 -1
  14. package/api/resources/api/resources/index.js +4 -2
  15. package/api/resources/api/resources/services/index.d.ts +1 -1
  16. package/api/resources/api/resources/services/index.js +1 -1
  17. package/api/resources/api/resources/services/resources/file/client/Client.d.ts +1 -0
  18. package/api/resources/api/resources/services/resources/file/client/Client.js +43 -2
  19. package/api/resources/api/resources/services/resources/file/index.d.ts +1 -0
  20. package/api/resources/api/resources/services/resources/file/index.js +1 -0
  21. package/api/resources/api/resources/services/resources/file/types/LoadGenericDocumentFromEmploymentResponse.d.ts +6 -0
  22. package/api/resources/api/resources/services/resources/file/types/index.d.ts +1 -0
  23. package/api/resources/api/resources/services/resources/file/types/index.js +17 -0
  24. package/api/resources/api/resources/services/resources/index.d.ts +1 -0
  25. package/api/resources/api/resources/services/resources/index.js +1 -0
  26. package/api/resources/api/resources/test/resources/invoices/client/Client.js +1 -1
  27. package/api/resources/api/resources/thera/client/Client.d.ts +17 -0
  28. package/api/resources/api/resources/thera/client/Client.js +18 -0
  29. package/api/resources/api/resources/thera/client/index.d.ts +1 -0
  30. package/api/resources/api/resources/thera/client/index.js +2 -0
  31. package/api/resources/api/resources/thera/index.d.ts +2 -0
  32. package/api/resources/api/resources/thera/index.js +18 -0
  33. package/api/resources/api/resources/thera/resources/authentication/client/Client.d.ts +17 -0
  34. package/api/resources/api/resources/thera/resources/authentication/client/Client.js +18 -0
  35. package/api/resources/api/resources/thera/resources/authentication/client/index.d.ts +1 -0
  36. package/api/resources/api/resources/thera/resources/authentication/client/index.js +2 -0
  37. package/api/resources/api/resources/thera/resources/authentication/index.d.ts +2 -0
  38. package/api/resources/api/resources/thera/resources/authentication/index.js +18 -0
  39. package/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/client/Client.d.ts +17 -0
  40. package/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/client/Client.js +91 -0
  41. package/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/client/index.d.ts +1 -0
  42. package/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/client/index.js +2 -0
  43. package/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/index.d.ts +2 -0
  44. package/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/index.js +18 -0
  45. package/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/GustoAccessTokenResponse.d.ts +9 -0
  46. package/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/index.d.ts +1 -0
  47. package/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/index.js +17 -0
  48. package/api/resources/api/resources/thera/resources/authentication/resources/index.d.ts +2 -0
  49. package/api/resources/api/resources/thera/resources/authentication/resources/index.js +31 -0
  50. package/api/resources/api/resources/thera/resources/index.d.ts +1 -0
  51. package/{serialization/resources/db/resources/test/resources/employment/types/FernMilestoneStatus.js → api/resources/api/resources/thera/resources/index.js} +2 -6
  52. package/api/resources/db/resources/employment/types/EmploymentDocuments.d.ts +2 -1
  53. package/{dist/api/resources/db/resources/test/resources/employment/types/FernReimbursement.d.ts → api/resources/db/resources/employment/types/GenericEmploymentDocument.d.ts} +2 -2
  54. package/api/resources/db/resources/employment/types/index.d.ts +1 -0
  55. package/api/resources/db/resources/employment/types/index.js +1 -0
  56. package/api/resources/db/resources/gustoAuth/types/GustoAuth.d.ts +9 -0
  57. package/api/resources/db/resources/gustoAuth/types/index.d.ts +1 -0
  58. package/api/resources/db/resources/gustoAuth/types/index.js +17 -0
  59. package/api/resources/db/resources/index.d.ts +2 -1
  60. package/api/resources/db/resources/index.js +3 -2
  61. package/dist/api/resources/api/client/Client.d.ts +3 -0
  62. package/dist/api/resources/api/client/Client.js +5 -0
  63. package/dist/api/resources/api/resources/gusto/resources/index.d.ts +2 -0
  64. package/dist/{serialization/resources/db/resources/test → api/resources/api/resources/gusto}/resources/index.js +3 -3
  65. package/dist/api/resources/api/resources/gusto/resources/oauthToken/types/GrantType.d.ts +8 -0
  66. package/{api/resources/db/resources/test/resources/employment/types/FernEmploymentStatus.js → dist/api/resources/api/resources/gusto/resources/oauthToken/types/GrantType.js} +4 -4
  67. package/dist/api/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshAccessTokenRequest.d.ts +11 -0
  68. package/dist/api/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshTokenResponse.d.ts +11 -0
  69. package/dist/api/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictAccessTokenRequest.d.ts +11 -0
  70. package/dist/api/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictTokenResponse.d.ts +10 -0
  71. package/dist/api/resources/api/resources/gusto/resources/oauthToken/types/index.d.ts +5 -0
  72. package/dist/api/resources/api/resources/gusto/resources/oauthToken/types/index.js +21 -0
  73. package/dist/api/resources/api/resources/index.d.ts +3 -1
  74. package/dist/api/resources/api/resources/index.js +4 -2
  75. package/dist/api/resources/api/resources/services/index.d.ts +1 -1
  76. package/dist/api/resources/api/resources/services/index.js +1 -1
  77. package/dist/api/resources/api/resources/services/resources/file/client/Client.d.ts +1 -0
  78. package/dist/api/resources/api/resources/services/resources/file/client/Client.js +43 -2
  79. package/dist/api/resources/api/resources/services/resources/file/index.d.ts +1 -0
  80. package/dist/api/resources/api/resources/services/resources/file/index.js +1 -0
  81. package/dist/api/resources/api/resources/services/resources/file/types/LoadGenericDocumentFromEmploymentResponse.d.ts +6 -0
  82. package/dist/api/resources/api/resources/services/resources/file/types/index.d.ts +1 -0
  83. package/dist/api/resources/api/resources/services/resources/file/types/index.js +17 -0
  84. package/dist/api/resources/api/resources/services/resources/index.d.ts +1 -0
  85. package/dist/api/resources/api/resources/services/resources/index.js +1 -0
  86. package/dist/api/resources/api/resources/test/resources/invoices/client/Client.js +1 -1
  87. package/dist/api/resources/api/resources/thera/client/Client.d.ts +17 -0
  88. package/dist/api/resources/api/resources/thera/client/Client.js +18 -0
  89. package/dist/api/resources/api/resources/thera/client/index.d.ts +1 -0
  90. package/dist/api/resources/api/resources/thera/client/index.js +2 -0
  91. package/dist/api/resources/api/resources/thera/index.d.ts +2 -0
  92. package/dist/api/resources/api/resources/thera/index.js +18 -0
  93. package/dist/api/resources/api/resources/thera/resources/authentication/client/Client.d.ts +17 -0
  94. package/dist/api/resources/api/resources/thera/resources/authentication/client/Client.js +18 -0
  95. package/dist/api/resources/api/resources/thera/resources/authentication/client/index.d.ts +1 -0
  96. package/dist/api/resources/api/resources/thera/resources/authentication/client/index.js +2 -0
  97. package/dist/api/resources/api/resources/thera/resources/authentication/index.d.ts +2 -0
  98. package/dist/api/resources/api/resources/thera/resources/authentication/index.js +18 -0
  99. package/dist/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/client/Client.d.ts +17 -0
  100. package/dist/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/client/Client.js +91 -0
  101. package/dist/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/client/index.d.ts +1 -0
  102. package/dist/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/client/index.js +2 -0
  103. package/dist/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/index.d.ts +2 -0
  104. package/dist/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/index.js +18 -0
  105. package/dist/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/GustoAccessTokenResponse.d.ts +9 -0
  106. package/dist/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/index.d.ts +1 -0
  107. package/dist/api/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/index.js +17 -0
  108. package/dist/api/resources/api/resources/thera/resources/authentication/resources/index.d.ts +2 -0
  109. package/dist/api/resources/api/resources/thera/resources/authentication/resources/index.js +31 -0
  110. package/dist/api/resources/api/resources/thera/resources/index.d.ts +1 -0
  111. package/dist/{serialization/resources/db/resources/test/resources/employment/types/FernMilestoneStatus.js → api/resources/api/resources/thera/resources/index.js} +2 -6
  112. package/dist/api/resources/db/resources/employment/types/EmploymentDocuments.d.ts +2 -1
  113. package/{api/resources/db/resources/test/resources/employment/types/FernReimbursement.d.ts → dist/api/resources/db/resources/employment/types/GenericEmploymentDocument.d.ts} +2 -2
  114. package/dist/api/resources/db/resources/employment/types/index.d.ts +1 -0
  115. package/dist/api/resources/db/resources/employment/types/index.js +1 -0
  116. package/dist/api/resources/db/resources/gustoAuth/types/GustoAuth.d.ts +9 -0
  117. package/dist/api/resources/db/resources/gustoAuth/types/index.d.ts +1 -0
  118. package/dist/api/resources/db/resources/gustoAuth/types/index.js +17 -0
  119. package/dist/api/resources/db/resources/index.d.ts +2 -1
  120. package/dist/api/resources/db/resources/index.js +3 -2
  121. package/dist/serialization/resources/api/resources/gusto/resources/index.d.ts +2 -0
  122. package/{api/resources/db/resources/test → dist/serialization/resources/api/resources/gusto}/resources/index.js +3 -3
  123. package/dist/serialization/resources/api/resources/gusto/resources/oauthToken/index.d.ts +1 -0
  124. package/dist/serialization/resources/api/resources/gusto/resources/oauthToken/index.js +17 -0
  125. package/{serialization/resources/db/resources/test/resources/employment/types/FernWageType.d.ts → dist/serialization/resources/api/resources/gusto/resources/oauthToken/types/GrantType.d.ts} +3 -3
  126. package/{serialization/resources/db/resources/test/resources/employment/types/FernWageType.js → dist/serialization/resources/api/resources/gusto/resources/oauthToken/types/GrantType.js} +2 -2
  127. package/dist/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshAccessTokenRequest.d.ts +16 -0
  128. package/dist/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshAccessTokenRequest.js +37 -0
  129. package/dist/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshTokenResponse.d.ts +17 -0
  130. package/{serialization/resources/db/resources/test/resources/employment/types/FernEmploymentW2PayrollDetails.js → dist/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshTokenResponse.js} +8 -3
  131. package/dist/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictAccessTokenRequest.d.ts +16 -0
  132. package/dist/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictAccessTokenRequest.js +37 -0
  133. package/dist/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictTokenResponse.d.ts +16 -0
  134. package/dist/serialization/resources/{db/resources/test/resources/employment/types/FernFrequency.js → api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictTokenResponse.js} +7 -8
  135. package/dist/serialization/resources/api/resources/gusto/resources/oauthToken/types/index.d.ts +5 -0
  136. package/dist/serialization/resources/api/resources/gusto/resources/oauthToken/types/index.js +21 -0
  137. package/dist/serialization/resources/api/resources/index.d.ts +3 -1
  138. package/dist/serialization/resources/api/resources/index.js +4 -2
  139. package/dist/serialization/resources/api/resources/services/resources/file/index.d.ts +1 -0
  140. package/dist/serialization/resources/api/resources/services/resources/file/index.js +1 -0
  141. package/dist/serialization/resources/api/resources/services/resources/file/types/LoadGenericDocumentFromEmploymentResponse.d.ts +12 -0
  142. package/dist/serialization/resources/{db/resources/test/resources/employment/types/FernPerPaycheckFrequency.js → api/resources/services/resources/file/types/LoadGenericDocumentFromEmploymentResponse.js} +3 -3
  143. package/dist/serialization/resources/api/resources/services/resources/file/types/index.d.ts +1 -0
  144. package/dist/serialization/resources/api/resources/services/resources/file/types/index.js +17 -0
  145. package/dist/serialization/resources/api/resources/services/resources/index.d.ts +1 -0
  146. package/dist/serialization/resources/api/resources/services/resources/index.js +1 -0
  147. package/dist/serialization/resources/api/resources/thera/resources/authentication/index.d.ts +1 -0
  148. package/dist/serialization/resources/api/resources/thera/resources/authentication/index.js +17 -0
  149. package/dist/serialization/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/index.d.ts +1 -0
  150. package/dist/serialization/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/index.js +17 -0
  151. package/dist/serialization/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/GustoAccessTokenResponse.d.ts +14 -0
  152. package/dist/serialization/resources/{db/resources/test/resources/employment/types/FernEmploymentW2PayrollDetails.js → api/resources/thera/resources/authentication/resources/gustoAuthentication/types/GustoAccessTokenResponse.js} +6 -4
  153. package/dist/serialization/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/index.d.ts +1 -0
  154. package/dist/serialization/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/index.js +17 -0
  155. package/dist/serialization/resources/api/resources/thera/resources/authentication/resources/index.d.ts +2 -0
  156. package/dist/serialization/resources/api/resources/thera/resources/authentication/resources/index.js +31 -0
  157. package/dist/serialization/resources/api/resources/thera/resources/index.d.ts +1 -0
  158. package/dist/serialization/resources/api/resources/thera/resources/index.js +27 -0
  159. package/dist/serialization/resources/db/resources/employment/types/EmploymentDocuments.d.ts +1 -1
  160. package/dist/serialization/resources/db/resources/employment/types/EmploymentDocuments.js +1 -1
  161. package/dist/serialization/resources/db/resources/employment/types/GenericEmploymentDocument.d.ts +13 -0
  162. package/{serialization/resources/db/resources/test/resources/employment/types/FernReimbursement.js → dist/serialization/resources/db/resources/employment/types/GenericEmploymentDocument.js} +4 -4
  163. package/dist/serialization/resources/db/resources/employment/types/index.d.ts +1 -0
  164. package/dist/serialization/resources/db/resources/employment/types/index.js +1 -0
  165. package/dist/serialization/resources/db/resources/gustoAuth/index.d.ts +1 -0
  166. package/dist/serialization/resources/db/resources/gustoAuth/index.js +17 -0
  167. package/dist/serialization/resources/db/resources/gustoAuth/types/GustoAuth.d.ts +15 -0
  168. package/dist/serialization/resources/db/resources/{test/resources/employment/types/FernDeduction.js → gustoAuth/types/GustoAuth.js} +7 -4
  169. package/dist/serialization/resources/db/resources/gustoAuth/types/index.d.ts +1 -0
  170. package/dist/serialization/resources/db/resources/gustoAuth/types/index.js +17 -0
  171. package/dist/serialization/resources/db/resources/index.d.ts +2 -1
  172. package/dist/serialization/resources/db/resources/index.js +3 -2
  173. package/package.json +1 -1
  174. package/serialization/resources/api/resources/gusto/index.d.ts +1 -0
  175. package/serialization/resources/api/resources/gusto/index.js +17 -0
  176. package/serialization/resources/api/resources/gusto/resources/index.d.ts +2 -0
  177. package/serialization/resources/{db/resources/test → api/resources/gusto}/resources/index.js +3 -3
  178. package/serialization/resources/api/resources/gusto/resources/oauthToken/index.d.ts +1 -0
  179. package/serialization/resources/api/resources/gusto/resources/oauthToken/index.js +17 -0
  180. package/{dist/serialization/resources/db/resources/test/resources/employment/types/FernWageType.d.ts → serialization/resources/api/resources/gusto/resources/oauthToken/types/GrantType.d.ts} +3 -3
  181. package/{dist/serialization/resources/db/resources/test/resources/employment/types/FernWageType.js → serialization/resources/api/resources/gusto/resources/oauthToken/types/GrantType.js} +2 -2
  182. package/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshAccessTokenRequest.d.ts +16 -0
  183. package/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshAccessTokenRequest.js +37 -0
  184. package/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshTokenResponse.d.ts +17 -0
  185. package/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshTokenResponse.js +38 -0
  186. package/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictAccessTokenRequest.d.ts +16 -0
  187. package/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictAccessTokenRequest.js +37 -0
  188. package/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictTokenResponse.d.ts +16 -0
  189. package/serialization/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictTokenResponse.js +37 -0
  190. package/serialization/resources/api/resources/gusto/resources/oauthToken/types/index.d.ts +5 -0
  191. package/serialization/resources/api/resources/gusto/resources/oauthToken/types/index.js +21 -0
  192. package/serialization/resources/api/resources/index.d.ts +3 -1
  193. package/serialization/resources/api/resources/index.js +4 -2
  194. package/serialization/resources/api/resources/services/resources/file/index.d.ts +1 -0
  195. package/serialization/resources/api/resources/services/resources/file/index.js +1 -0
  196. package/serialization/resources/api/resources/services/resources/file/types/LoadGenericDocumentFromEmploymentResponse.d.ts +12 -0
  197. package/{dist/serialization/resources/db/resources/test/resources/employment/types/FernReimbursement.js → serialization/resources/api/resources/services/resources/file/types/LoadGenericDocumentFromEmploymentResponse.js} +3 -4
  198. package/serialization/resources/api/resources/services/resources/file/types/index.d.ts +1 -0
  199. package/serialization/resources/api/resources/services/resources/file/types/index.js +17 -0
  200. package/serialization/resources/api/resources/services/resources/index.d.ts +1 -0
  201. package/serialization/resources/api/resources/services/resources/index.js +1 -0
  202. package/serialization/resources/api/resources/thera/index.d.ts +1 -0
  203. package/serialization/resources/api/resources/thera/index.js +17 -0
  204. package/serialization/resources/api/resources/thera/resources/authentication/index.d.ts +1 -0
  205. package/serialization/resources/api/resources/thera/resources/authentication/index.js +17 -0
  206. package/serialization/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/index.d.ts +1 -0
  207. package/serialization/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/index.js +17 -0
  208. package/serialization/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/GustoAccessTokenResponse.d.ts +14 -0
  209. package/{dist/serialization/resources/db/resources/test/resources/employment/types/FernEarning.js → serialization/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/GustoAccessTokenResponse.js} +6 -9
  210. package/serialization/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/index.d.ts +1 -0
  211. package/serialization/resources/api/resources/thera/resources/authentication/resources/gustoAuthentication/types/index.js +17 -0
  212. package/serialization/resources/api/resources/thera/resources/authentication/resources/index.d.ts +2 -0
  213. package/serialization/resources/api/resources/thera/resources/authentication/resources/index.js +31 -0
  214. package/serialization/resources/api/resources/thera/resources/index.d.ts +1 -0
  215. package/serialization/resources/api/resources/thera/resources/index.js +27 -0
  216. package/serialization/resources/db/resources/employment/types/EmploymentDocuments.d.ts +1 -1
  217. package/serialization/resources/db/resources/employment/types/EmploymentDocuments.js +1 -1
  218. package/serialization/resources/db/resources/employment/types/GenericEmploymentDocument.d.ts +13 -0
  219. package/serialization/resources/db/resources/{test/resources/employment/types/FernDeduction.js → employment/types/GenericEmploymentDocument.js} +5 -4
  220. package/serialization/resources/db/resources/employment/types/index.d.ts +1 -0
  221. package/serialization/resources/db/resources/employment/types/index.js +1 -0
  222. package/serialization/resources/db/resources/gustoAuth/index.d.ts +1 -0
  223. package/serialization/resources/db/resources/gustoAuth/index.js +17 -0
  224. package/serialization/resources/db/resources/gustoAuth/types/GustoAuth.d.ts +15 -0
  225. package/serialization/resources/db/resources/gustoAuth/types/GustoAuth.js +36 -0
  226. package/serialization/resources/db/resources/gustoAuth/types/index.d.ts +1 -0
  227. package/serialization/resources/db/resources/gustoAuth/types/index.js +17 -0
  228. package/serialization/resources/db/resources/index.d.ts +2 -1
  229. package/serialization/resources/db/resources/index.js +3 -2
  230. package/api/resources/db/resources/test/resources/employment/types/FernContractDocumentType.d.ts +0 -9
  231. package/api/resources/db/resources/test/resources/employment/types/FernContractDocumentType.js +0 -11
  232. package/api/resources/db/resources/test/resources/employment/types/FernDeduction.d.ts +0 -6
  233. package/api/resources/db/resources/test/resources/employment/types/FernEarning.d.ts +0 -10
  234. package/api/resources/db/resources/test/resources/employment/types/FernEmployment.d.ts +0 -26
  235. package/api/resources/db/resources/test/resources/employment/types/FernEmploymentStatus.d.ts +0 -8
  236. package/api/resources/db/resources/test/resources/employment/types/FernEmploymentType.d.ts +0 -8
  237. package/api/resources/db/resources/test/resources/employment/types/FernEmploymentType.js +0 -10
  238. package/api/resources/db/resources/test/resources/employment/types/FernEmploymentW2PayrollDetails.d.ts +0 -7
  239. package/api/resources/db/resources/test/resources/employment/types/FernFrequency.d.ts +0 -10
  240. package/api/resources/db/resources/test/resources/employment/types/FernMilestone.d.ts +0 -11
  241. package/api/resources/db/resources/test/resources/employment/types/FernMilestoneDetails.d.ts +0 -7
  242. package/api/resources/db/resources/test/resources/employment/types/FernMilestoneStatus.d.ts +0 -8
  243. package/api/resources/db/resources/test/resources/employment/types/FernMilestoneStatus.js +0 -10
  244. package/api/resources/db/resources/test/resources/employment/types/FernPerPaycheckFrequency.d.ts +0 -6
  245. package/api/resources/db/resources/test/resources/employment/types/FernRecurrence.d.ts +0 -8
  246. package/api/resources/db/resources/test/resources/employment/types/FernRecurrenceDetails.d.ts +0 -14
  247. package/api/resources/db/resources/test/resources/employment/types/FernWageType.d.ts +0 -9
  248. package/api/resources/db/resources/test/resources/employment/types/FernWageType.js +0 -11
  249. package/api/resources/db/resources/test/resources/employment/types/index.d.ts +0 -16
  250. package/api/resources/db/resources/test/resources/employment/types/index.js +0 -32
  251. package/api/resources/db/resources/test/resources/index.d.ts +0 -2
  252. package/dist/api/resources/db/resources/test/resources/employment/types/FernContractDocumentType.d.ts +0 -9
  253. package/dist/api/resources/db/resources/test/resources/employment/types/FernContractDocumentType.js +0 -11
  254. package/dist/api/resources/db/resources/test/resources/employment/types/FernDeduction.d.ts +0 -6
  255. package/dist/api/resources/db/resources/test/resources/employment/types/FernEarning.d.ts +0 -10
  256. package/dist/api/resources/db/resources/test/resources/employment/types/FernEmployment.d.ts +0 -26
  257. package/dist/api/resources/db/resources/test/resources/employment/types/FernEmploymentStatus.d.ts +0 -8
  258. package/dist/api/resources/db/resources/test/resources/employment/types/FernEmploymentStatus.js +0 -10
  259. package/dist/api/resources/db/resources/test/resources/employment/types/FernEmploymentType.d.ts +0 -8
  260. package/dist/api/resources/db/resources/test/resources/employment/types/FernEmploymentType.js +0 -10
  261. package/dist/api/resources/db/resources/test/resources/employment/types/FernEmploymentW2PayrollDetails.d.ts +0 -7
  262. package/dist/api/resources/db/resources/test/resources/employment/types/FernFrequency.d.ts +0 -10
  263. package/dist/api/resources/db/resources/test/resources/employment/types/FernMilestone.d.ts +0 -11
  264. package/dist/api/resources/db/resources/test/resources/employment/types/FernMilestone.js +0 -5
  265. package/dist/api/resources/db/resources/test/resources/employment/types/FernMilestoneDetails.d.ts +0 -7
  266. package/dist/api/resources/db/resources/test/resources/employment/types/FernMilestoneDetails.js +0 -5
  267. package/dist/api/resources/db/resources/test/resources/employment/types/FernMilestoneStatus.d.ts +0 -8
  268. package/dist/api/resources/db/resources/test/resources/employment/types/FernPerPaycheckFrequency.d.ts +0 -6
  269. package/dist/api/resources/db/resources/test/resources/employment/types/FernPerPaycheckFrequency.js +0 -5
  270. package/dist/api/resources/db/resources/test/resources/employment/types/FernRecurrence.d.ts +0 -8
  271. package/dist/api/resources/db/resources/test/resources/employment/types/FernRecurrence.js +0 -5
  272. package/dist/api/resources/db/resources/test/resources/employment/types/FernRecurrenceDetails.d.ts +0 -14
  273. package/dist/api/resources/db/resources/test/resources/employment/types/FernRecurrenceDetails.js +0 -5
  274. package/dist/api/resources/db/resources/test/resources/employment/types/FernReimbursement.js +0 -5
  275. package/dist/api/resources/db/resources/test/resources/employment/types/FernWageType.d.ts +0 -9
  276. package/dist/api/resources/db/resources/test/resources/employment/types/FernWageType.js +0 -11
  277. package/dist/api/resources/db/resources/test/resources/employment/types/index.d.ts +0 -16
  278. package/dist/api/resources/db/resources/test/resources/employment/types/index.js +0 -32
  279. package/dist/api/resources/db/resources/test/resources/index.d.ts +0 -2
  280. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernContractDocumentType.d.ts +0 -10
  281. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernContractDocumentType.js +0 -31
  282. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernDeduction.d.ts +0 -12
  283. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernEarning.d.ts +0 -13
  284. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernEmployment.d.ts +0 -31
  285. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernEmployment.js +0 -52
  286. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernEmploymentStatus.d.ts +0 -10
  287. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernEmploymentStatus.js +0 -31
  288. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernEmploymentType.d.ts +0 -10
  289. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernEmploymentType.js +0 -31
  290. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernEmploymentW2PayrollDetails.d.ts +0 -12
  291. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernFrequency.d.ts +0 -13
  292. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernMilestone.d.ts +0 -16
  293. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernMilestone.js +0 -37
  294. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernMilestoneDetails.d.ts +0 -12
  295. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernMilestoneDetails.js +0 -33
  296. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernMilestoneStatus.d.ts +0 -10
  297. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernPerPaycheckFrequency.d.ts +0 -12
  298. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernRecurrence.d.ts +0 -13
  299. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernRecurrence.js +0 -34
  300. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernRecurrenceDetails.d.ts +0 -17
  301. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernRecurrenceDetails.js +0 -41
  302. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernReimbursement.d.ts +0 -13
  303. package/dist/serialization/resources/db/resources/test/resources/employment/types/index.d.ts +0 -16
  304. package/dist/serialization/resources/db/resources/test/resources/employment/types/index.js +0 -32
  305. package/dist/serialization/resources/db/resources/test/resources/index.d.ts +0 -2
  306. package/serialization/resources/db/resources/test/resources/employment/types/FernContractDocumentType.d.ts +0 -10
  307. package/serialization/resources/db/resources/test/resources/employment/types/FernContractDocumentType.js +0 -31
  308. package/serialization/resources/db/resources/test/resources/employment/types/FernDeduction.d.ts +0 -12
  309. package/serialization/resources/db/resources/test/resources/employment/types/FernEarning.d.ts +0 -13
  310. package/serialization/resources/db/resources/test/resources/employment/types/FernEarning.js +0 -38
  311. package/serialization/resources/db/resources/test/resources/employment/types/FernEmployment.d.ts +0 -31
  312. package/serialization/resources/db/resources/test/resources/employment/types/FernEmployment.js +0 -52
  313. package/serialization/resources/db/resources/test/resources/employment/types/FernEmploymentStatus.d.ts +0 -10
  314. package/serialization/resources/db/resources/test/resources/employment/types/FernEmploymentStatus.js +0 -31
  315. package/serialization/resources/db/resources/test/resources/employment/types/FernEmploymentType.d.ts +0 -10
  316. package/serialization/resources/db/resources/test/resources/employment/types/FernEmploymentType.js +0 -31
  317. package/serialization/resources/db/resources/test/resources/employment/types/FernEmploymentW2PayrollDetails.d.ts +0 -12
  318. package/serialization/resources/db/resources/test/resources/employment/types/FernFrequency.d.ts +0 -13
  319. package/serialization/resources/db/resources/test/resources/employment/types/FernFrequency.js +0 -38
  320. package/serialization/resources/db/resources/test/resources/employment/types/FernMilestone.d.ts +0 -16
  321. package/serialization/resources/db/resources/test/resources/employment/types/FernMilestone.js +0 -37
  322. package/serialization/resources/db/resources/test/resources/employment/types/FernMilestoneDetails.d.ts +0 -12
  323. package/serialization/resources/db/resources/test/resources/employment/types/FernMilestoneDetails.js +0 -33
  324. package/serialization/resources/db/resources/test/resources/employment/types/FernMilestoneStatus.d.ts +0 -10
  325. package/serialization/resources/db/resources/test/resources/employment/types/FernPerPaycheckFrequency.d.ts +0 -12
  326. package/serialization/resources/db/resources/test/resources/employment/types/FernPerPaycheckFrequency.js +0 -33
  327. package/serialization/resources/db/resources/test/resources/employment/types/FernRecurrence.d.ts +0 -13
  328. package/serialization/resources/db/resources/test/resources/employment/types/FernRecurrence.js +0 -34
  329. package/serialization/resources/db/resources/test/resources/employment/types/FernRecurrenceDetails.d.ts +0 -17
  330. package/serialization/resources/db/resources/test/resources/employment/types/FernRecurrenceDetails.js +0 -41
  331. package/serialization/resources/db/resources/test/resources/employment/types/FernReimbursement.d.ts +0 -13
  332. package/serialization/resources/db/resources/test/resources/employment/types/index.d.ts +0 -16
  333. package/serialization/resources/db/resources/test/resources/employment/types/index.js +0 -32
  334. package/serialization/resources/db/resources/test/resources/index.d.ts +0 -2
  335. /package/api/resources/{db/resources/test → api/resources/gusto}/index.d.ts +0 -0
  336. /package/api/resources/{db/resources/test → api/resources/gusto}/index.js +0 -0
  337. /package/api/resources/{db/resources/test/resources/employment → api/resources/gusto/resources/oauthToken}/index.d.ts +0 -0
  338. /package/api/resources/{db/resources/test/resources/employment → api/resources/gusto/resources/oauthToken}/index.js +0 -0
  339. /package/api/resources/{db/resources/test/resources/employment/types/FernDeduction.js → api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshAccessTokenRequest.js} +0 -0
  340. /package/api/resources/{db/resources/test/resources/employment/types/FernEarning.js → api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshTokenResponse.js} +0 -0
  341. /package/api/resources/{db/resources/test/resources/employment/types/FernEmployment.js → api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictAccessTokenRequest.js} +0 -0
  342. /package/api/resources/{db/resources/test/resources/employment/types/FernEmploymentW2PayrollDetails.js → api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictTokenResponse.js} +0 -0
  343. /package/api/resources/{db/resources/test/resources/employment/types/FernFrequency.js → api/resources/services/resources/file/types/LoadGenericDocumentFromEmploymentResponse.js} +0 -0
  344. /package/api/resources/{db/resources/test/resources/employment/types/FernMilestone.js → api/resources/thera/resources/authentication/resources/gustoAuthentication/types/GustoAccessTokenResponse.js} +0 -0
  345. /package/api/resources/db/resources/{test/resources/employment/types/FernMilestoneDetails.js → employment/types/GenericEmploymentDocument.js} +0 -0
  346. /package/{dist/api/resources/db/resources/test/resources/employment → api/resources/db/resources/gustoAuth}/index.d.ts +0 -0
  347. /package/{dist/api/resources/db/resources/test/resources/employment → api/resources/db/resources/gustoAuth}/index.js +0 -0
  348. /package/api/resources/db/resources/{test/resources/employment/types/FernPerPaycheckFrequency.js → gustoAuth/types/GustoAuth.js} +0 -0
  349. /package/dist/api/resources/{db/resources/test → api/resources/gusto}/index.d.ts +0 -0
  350. /package/dist/api/resources/{db/resources/test → api/resources/gusto}/index.js +0 -0
  351. /package/dist/{serialization/resources/db/resources/test/resources/employment → api/resources/api/resources/gusto/resources/oauthToken}/index.d.ts +0 -0
  352. /package/dist/{serialization/resources/db/resources/test/resources/employment → api/resources/api/resources/gusto/resources/oauthToken}/index.js +0 -0
  353. /package/{api/resources/db/resources/test/resources/employment/types/FernRecurrence.js → dist/api/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshAccessTokenRequest.js} +0 -0
  354. /package/{api/resources/db/resources/test/resources/employment/types/FernRecurrenceDetails.js → dist/api/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthRefreshTokenResponse.js} +0 -0
  355. /package/{api/resources/db/resources/test/resources/employment/types/FernReimbursement.js → dist/api/resources/api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictAccessTokenRequest.js} +0 -0
  356. /package/dist/api/resources/{db/resources/test/resources/employment/types/FernDeduction.js → api/resources/gusto/resources/oauthToken/types/GustoOAuthStrictTokenResponse.js} +0 -0
  357. /package/dist/api/resources/{db/resources/test/resources/employment/types/FernEarning.js → api/resources/services/resources/file/types/LoadGenericDocumentFromEmploymentResponse.js} +0 -0
  358. /package/dist/api/resources/{db/resources/test/resources/employment/types/FernEmployment.js → api/resources/thera/resources/authentication/resources/gustoAuthentication/types/GustoAccessTokenResponse.js} +0 -0
  359. /package/dist/api/resources/db/resources/{test/resources/employment/types/FernEmploymentW2PayrollDetails.js → employment/types/GenericEmploymentDocument.js} +0 -0
  360. /package/{serialization/resources/db/resources/test/resources/employment → dist/api/resources/db/resources/gustoAuth}/index.d.ts +0 -0
  361. /package/{serialization/resources/db/resources/test/resources/employment → dist/api/resources/db/resources/gustoAuth}/index.js +0 -0
  362. /package/dist/api/resources/db/resources/{test/resources/employment/types/FernFrequency.js → gustoAuth/types/GustoAuth.js} +0 -0
  363. /package/dist/serialization/resources/{db/resources/test → api/resources/gusto}/index.d.ts +0 -0
  364. /package/dist/serialization/resources/{db/resources/test → api/resources/gusto}/index.js +0 -0
  365. /package/{serialization/resources/db/resources/test → dist/serialization/resources/api/resources/thera}/index.d.ts +0 -0
  366. /package/{serialization/resources/db/resources/test → dist/serialization/resources/api/resources/thera}/index.js +0 -0
@@ -1,2 +0,0 @@
1
- export * as employment from "./employment";
2
- export * from "./employment/types";
@@ -1,10 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../../../../..";
5
- import * as TheraApi from "../../../../../../../../api";
6
- import * as core from "../../../../../../../../core";
7
- export declare const FernContractDocumentType: core.serialization.Schema<serializers.db.test.FernContractDocumentType.Raw, TheraApi.db.test.FernContractDocumentType>;
8
- export declare namespace FernContractDocumentType {
9
- type Raw = "NO_CONTRACT" | "USER_PROVIDED" | "CONTRACT_WIZARD";
10
- }
@@ -1,31 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.FernContractDocumentType = void 0;
30
- const core = __importStar(require("../../../../../../../../core"));
31
- exports.FernContractDocumentType = core.serialization.enum_(["NO_CONTRACT", "USER_PROVIDED", "CONTRACT_WIZARD"]);
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../../../../..";
5
- import * as TheraApi from "../../../../../../../../api";
6
- import * as core from "../../../../../../../../core";
7
- export declare const FernDeduction: core.serialization.ObjectSchema<serializers.db.test.FernDeduction.Raw, TheraApi.db.test.FernDeduction>;
8
- export declare namespace FernDeduction {
9
- interface Raw {
10
- deductionTemplateId: string;
11
- }
12
- }
@@ -1,13 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../../../../..";
5
- import * as TheraApi from "../../../../../../../../api";
6
- import * as core from "../../../../../../../../core";
7
- export declare const FernEarning: core.serialization.Schema<serializers.db.test.FernEarning.Raw, TheraApi.db.test.FernEarning>;
8
- export declare namespace FernEarning {
9
- type Raw = FernEarning.Reimbursement;
10
- interface Reimbursement extends serializers.db.test.FernReimbursement.Raw {
11
- type: "reimbursement";
12
- }
13
- }
@@ -1,38 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.FernEarning = void 0;
30
- const core = __importStar(require("../../../../../../../../core"));
31
- exports.FernEarning = core.serialization
32
- .union("type", {
33
- reimbursement: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../..")))).db.test.FernReimbursement),
34
- })
35
- .transform({
36
- transform: (value) => value,
37
- untransform: (value) => value,
38
- });
@@ -1,31 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../../../../..";
5
- import * as TheraApi from "../../../../../../../../api";
6
- import * as core from "../../../../../../../../core";
7
- export declare const FernEmployment: core.serialization.ObjectSchema<serializers.db.test.FernEmployment.Raw, TheraApi.db.test.FernEmployment>;
8
- export declare namespace FernEmployment {
9
- interface Raw {
10
- companyID: string;
11
- employeeUserID: string;
12
- id: string;
13
- zealEmployeeID: string;
14
- zealCompanyID: string;
15
- jobTitle: string;
16
- employmentStatus: serializers.db.test.FernEmploymentStatus.Raw;
17
- startDate: string;
18
- wageType: serializers.db.test.FernWageType.Raw;
19
- rate: number;
20
- contractCurrency: string;
21
- milestoneDetails: serializers.db.test.FernMilestoneDetails.Raw;
22
- contractFileID: string;
23
- lastPayDate: string;
24
- scopeOfWork: string;
25
- type: serializers.db.test.FernEmploymentType.Raw;
26
- contractDocumentType: serializers.db.test.FernContractDocumentType.Raw;
27
- contractDocumentID: string;
28
- contractDocumentsRequired: boolean;
29
- w2Payroll: serializers.db.test.FernEmploymentW2PayrollDetails.Raw;
30
- }
31
- }
@@ -1,52 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.FernEmployment = void 0;
30
- const core = __importStar(require("../../../../../../../../core"));
31
- exports.FernEmployment = core.serialization.object({
32
- companyId: core.serialization.property("companyID", core.serialization.string()),
33
- employeeUserId: core.serialization.property("employeeUserID", core.serialization.string()),
34
- id: core.serialization.string(),
35
- zealEmployeeId: core.serialization.property("zealEmployeeID", core.serialization.string()),
36
- zealCompanyId: core.serialization.property("zealCompanyID", core.serialization.string()),
37
- jobTitle: core.serialization.string(),
38
- employmentStatus: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../..")))).db.test.FernEmploymentStatus),
39
- startDate: core.serialization.string(),
40
- wageType: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../..")))).db.test.FernWageType),
41
- rate: core.serialization.number(),
42
- contractCurrency: core.serialization.string(),
43
- milestoneDetails: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../..")))).db.test.FernMilestoneDetails),
44
- contractFileId: core.serialization.property("contractFileID", core.serialization.string()),
45
- lastPayDate: core.serialization.string(),
46
- scopeOfWork: core.serialization.string(),
47
- type: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../..")))).db.test.FernEmploymentType),
48
- contractDocumentType: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../..")))).db.test.FernContractDocumentType),
49
- contractDocumentId: core.serialization.property("contractDocumentID", core.serialization.string()),
50
- contractDocumentsRequired: core.serialization.boolean(),
51
- w2Payroll: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../..")))).db.test.FernEmploymentW2PayrollDetails),
52
- });
@@ -1,10 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../../../../..";
5
- import * as TheraApi from "../../../../../../../../api";
6
- import * as core from "../../../../../../../../core";
7
- export declare const FernEmploymentStatus: core.serialization.Schema<serializers.db.test.FernEmploymentStatus.Raw, TheraApi.db.test.FernEmploymentStatus>;
8
- export declare namespace FernEmploymentStatus {
9
- type Raw = "ACTIVE" | "INACTIVE";
10
- }
@@ -1,31 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.FernEmploymentStatus = void 0;
30
- const core = __importStar(require("../../../../../../../../core"));
31
- exports.FernEmploymentStatus = core.serialization.enum_(["ACTIVE", "INACTIVE"]);
@@ -1,10 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../../../../..";
5
- import * as TheraApi from "../../../../../../../../api";
6
- import * as core from "../../../../../../../../core";
7
- export declare const FernEmploymentType: core.serialization.Schema<serializers.db.test.FernEmploymentType.Raw, TheraApi.db.test.FernEmploymentType>;
8
- export declare namespace FernEmploymentType {
9
- type Raw = "EMPLOYEE" | "CONTRACTOR";
10
- }
@@ -1,31 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.FernEmploymentType = void 0;
30
- const core = __importStar(require("../../../../../../../../core"));
31
- exports.FernEmploymentType = core.serialization.enum_(["EMPLOYEE", "CONTRACTOR"]);
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../../../../..";
5
- import * as TheraApi from "../../../../../../../../api";
6
- import * as core from "../../../../../../../../core";
7
- export declare const FernEmploymentW2PayrollDetails: core.serialization.ObjectSchema<serializers.db.test.FernEmploymentW2PayrollDetails.Raw, TheraApi.db.test.FernEmploymentW2PayrollDetails>;
8
- export declare namespace FernEmploymentW2PayrollDetails {
9
- interface Raw {
10
- recurrences: Record<string, serializers.db.test.FernRecurrence.Raw>;
11
- }
12
- }
@@ -1,13 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../../../../..";
5
- import * as TheraApi from "../../../../../../../../api";
6
- import * as core from "../../../../../../../../core";
7
- export declare const FernFrequency: core.serialization.Schema<serializers.db.test.FernFrequency.Raw, TheraApi.db.test.FernFrequency>;
8
- export declare namespace FernFrequency {
9
- type Raw = FernFrequency.PerPaycheck;
10
- interface PerPaycheck extends serializers.db.test.FernPerPaycheckFrequency.Raw {
11
- type: "perPaycheck";
12
- }
13
- }
@@ -1,38 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.FernFrequency = void 0;
30
- const core = __importStar(require("../../../../../../../../core"));
31
- exports.FernFrequency = core.serialization
32
- .union("type", {
33
- perPaycheck: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../..")))).db.test.FernPerPaycheckFrequency),
34
- })
35
- .transform({
36
- transform: (value) => value,
37
- untransform: (value) => value,
38
- });
@@ -1,16 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../../../../..";
5
- import * as TheraApi from "../../../../../../../../api";
6
- import * as core from "../../../../../../../../core";
7
- export declare const FernMilestone: core.serialization.ObjectSchema<serializers.db.test.FernMilestone.Raw, TheraApi.db.test.FernMilestone>;
8
- export declare namespace FernMilestone {
9
- interface Raw {
10
- name: string;
11
- description: string;
12
- amount: number;
13
- fileID: string;
14
- status: serializers.db.test.FernMilestoneStatus.Raw;
15
- }
16
- }
@@ -1,37 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.FernMilestone = void 0;
30
- const core = __importStar(require("../../../../../../../../core"));
31
- exports.FernMilestone = core.serialization.object({
32
- name: core.serialization.string(),
33
- description: core.serialization.string(),
34
- amount: core.serialization.number(),
35
- fileId: core.serialization.property("fileID", core.serialization.string()),
36
- status: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../..")))).db.test.FernMilestoneStatus),
37
- });
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../../../../..";
5
- import * as TheraApi from "../../../../../../../../api";
6
- import * as core from "../../../../../../../../core";
7
- export declare const FernMilestoneDetails: core.serialization.ObjectSchema<serializers.db.test.FernMilestoneDetails.Raw, TheraApi.db.test.FernMilestoneDetails>;
8
- export declare namespace FernMilestoneDetails {
9
- interface Raw {
10
- milestones: Record<string, serializers.db.test.FernMilestone.Raw>;
11
- }
12
- }
@@ -1,33 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.FernMilestoneDetails = void 0;
30
- const core = __importStar(require("../../../../../../../../core"));
31
- exports.FernMilestoneDetails = core.serialization.object({
32
- milestones: core.serialization.record(core.serialization.string(), core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../..")))).db.test.FernMilestone)),
33
- });
@@ -1,10 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../../../../..";
5
- import * as TheraApi from "../../../../../../../../api";
6
- import * as core from "../../../../../../../../core";
7
- export declare const FernMilestoneStatus: core.serialization.Schema<serializers.db.test.FernMilestoneStatus.Raw, TheraApi.db.test.FernMilestoneStatus>;
8
- export declare namespace FernMilestoneStatus {
9
- type Raw = "CREATED" | "COMPLETE";
10
- }
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../../../../..";
5
- import * as TheraApi from "../../../../../../../../api";
6
- import * as core from "../../../../../../../../core";
7
- export declare const FernPerPaycheckFrequency: core.serialization.ObjectSchema<serializers.db.test.FernPerPaycheckFrequency.Raw, TheraApi.db.test.FernPerPaycheckFrequency>;
8
- export declare namespace FernPerPaycheckFrequency {
9
- interface Raw {
10
- metadata: string;
11
- }
12
- }
@@ -1,33 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.FernPerPaycheckFrequency = void 0;
30
- const core = __importStar(require("../../../../../../../../core"));
31
- exports.FernPerPaycheckFrequency = core.serialization.object({
32
- metadata: core.serialization.string(),
33
- });
@@ -1,13 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../../../../..";
5
- import * as TheraApi from "../../../../../../../../api";
6
- import * as core from "../../../../../../../../core";
7
- export declare const FernRecurrence: core.serialization.ObjectSchema<serializers.db.test.FernRecurrence.Raw, TheraApi.db.test.FernRecurrence>;
8
- export declare namespace FernRecurrence {
9
- interface Raw {
10
- frequency: serializers.db.test.FernFrequency.Raw;
11
- details: serializers.db.test.FernRecurrenceDetails.Raw;
12
- }
13
- }
@@ -1,34 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.FernRecurrence = void 0;
30
- const core = __importStar(require("../../../../../../../../core"));
31
- exports.FernRecurrence = core.serialization.object({
32
- frequency: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../..")))).db.test.FernFrequency),
33
- details: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../..")))).db.test.FernRecurrenceDetails),
34
- });
@@ -1,17 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../../../../..";
5
- import * as TheraApi from "../../../../../../../../api";
6
- import * as core from "../../../../../../../../core";
7
- export declare const FernRecurrenceDetails: core.serialization.Schema<serializers.db.test.FernRecurrenceDetails.Raw, TheraApi.db.test.FernRecurrenceDetails>;
8
- export declare namespace FernRecurrenceDetails {
9
- type Raw = FernRecurrenceDetails.Deduction | FernRecurrenceDetails.Earning;
10
- interface Deduction extends serializers.db.test.FernDeduction.Raw {
11
- type: "deduction";
12
- }
13
- interface Earning {
14
- type: "earning";
15
- value: serializers.db.test.FernEarning.Raw;
16
- }
17
- }
@@ -1,41 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.FernRecurrenceDetails = void 0;
30
- const core = __importStar(require("../../../../../../../../core"));
31
- exports.FernRecurrenceDetails = core.serialization
32
- .union("type", {
33
- deduction: core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../..")))).db.test.FernDeduction),
34
- earning: core.serialization.object({
35
- value: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../..")))).db.test.FernEarning),
36
- }),
37
- })
38
- .transform({
39
- transform: (value) => value,
40
- untransform: (value) => value,
41
- });