@thera-hr/api-sdk 0.0.769 → 0.0.1002

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 (473) hide show
  1. package/Client.d.ts +17 -0
  2. package/Client.js +18 -0
  3. package/api/resources/api/client/Client.d.ts +20 -0
  4. package/api/resources/api/client/Client.js +23 -0
  5. package/api/resources/api/client/index.d.ts +1 -0
  6. package/api/resources/api/client/index.js +2 -0
  7. package/api/resources/api/index.d.ts +1 -0
  8. package/api/resources/api/index.js +1 -0
  9. package/api/resources/api/resources/index.d.ts +2 -0
  10. package/api/resources/api/resources/index.js +3 -1
  11. package/api/resources/api/resources/request/resources/zeal/resources/employee/resources/employee/types/Autopilot.d.ts +1 -1
  12. package/api/resources/api/resources/services/client/Client.d.ts +17 -0
  13. package/api/resources/api/resources/services/client/Client.js +18 -0
  14. package/api/resources/api/resources/services/client/index.d.ts +1 -0
  15. package/api/resources/api/resources/services/client/index.js +2 -0
  16. package/api/resources/api/resources/services/index.d.ts +2 -0
  17. package/api/resources/api/resources/services/index.js +18 -0
  18. package/api/resources/api/resources/services/resources/file/client/Client.d.ts +18 -0
  19. package/api/resources/api/resources/services/resources/file/client/Client.js +128 -0
  20. package/api/resources/api/resources/services/resources/file/client/index.d.ts +1 -0
  21. package/api/resources/api/resources/services/resources/file/client/index.js +17 -0
  22. package/api/resources/api/resources/services/resources/file/client/requests/AttachDocumentToEmploymentRequest.d.ts +9 -0
  23. package/api/resources/api/resources/services/resources/file/client/requests/AttachDocumentToEmploymentRequest.js +5 -0
  24. package/api/resources/api/resources/services/resources/file/client/requests/DeleteDocumentFromEmploymentRequest.d.ts +6 -0
  25. package/api/resources/api/resources/services/resources/file/client/requests/DeleteDocumentFromEmploymentRequest.js +5 -0
  26. package/api/resources/api/resources/services/resources/file/client/requests/index.d.ts +2 -0
  27. package/api/resources/api/resources/services/resources/file/client/requests/index.js +2 -0
  28. package/api/resources/api/resources/services/resources/file/index.d.ts +1 -0
  29. package/api/resources/api/resources/services/resources/file/index.js +17 -0
  30. package/api/resources/api/resources/services/resources/index.d.ts +2 -0
  31. package/api/resources/api/resources/services/resources/index.js +31 -0
  32. package/api/resources/api/resources/test/client/Client.d.ts +17 -0
  33. package/api/resources/api/resources/test/client/Client.js +18 -0
  34. package/api/resources/api/resources/test/client/index.d.ts +1 -0
  35. package/api/resources/api/resources/test/client/index.js +2 -0
  36. package/api/resources/api/resources/test/index.d.ts +2 -0
  37. package/api/resources/api/resources/test/index.js +18 -0
  38. package/api/resources/api/resources/test/resources/commons/index.d.ts +1 -0
  39. package/api/resources/api/resources/test/resources/commons/index.js +17 -0
  40. package/api/resources/api/resources/test/resources/commons/types/DemoFernContractId.d.ts +4 -0
  41. package/api/resources/api/resources/test/resources/commons/types/DemoFernContractId.js +5 -0
  42. package/api/resources/api/resources/test/resources/commons/types/DemoFernInvoiceId.d.ts +4 -0
  43. package/api/resources/api/resources/test/resources/commons/types/DemoFernInvoiceId.js +5 -0
  44. package/api/resources/api/resources/test/resources/commons/types/index.d.ts +2 -0
  45. package/api/resources/api/resources/test/resources/commons/types/index.js +18 -0
  46. package/api/resources/api/resources/test/resources/index.d.ts +5 -0
  47. package/api/resources/api/resources/test/resources/index.js +34 -0
  48. package/api/resources/api/resources/test/resources/invoices/client/Client.d.ts +17 -0
  49. package/api/resources/api/resources/test/resources/invoices/client/Client.js +94 -0
  50. package/api/resources/api/resources/test/resources/invoices/client/index.d.ts +1 -0
  51. package/api/resources/api/resources/test/resources/invoices/client/index.js +17 -0
  52. package/api/resources/api/resources/test/resources/invoices/client/requests/VoidInvoiceRequest.d.ts +6 -0
  53. package/api/resources/api/resources/test/resources/invoices/client/requests/VoidInvoiceRequest.js +5 -0
  54. package/api/resources/api/resources/test/resources/invoices/client/requests/index.d.ts +1 -0
  55. package/api/resources/api/resources/test/resources/invoices/client/requests/index.js +2 -0
  56. package/api/resources/api/resources/test/resources/invoices/index.d.ts +2 -0
  57. package/api/resources/api/resources/test/resources/invoices/index.js +18 -0
  58. package/api/resources/api/resources/test/resources/invoices/types/DemoFernInvoice.d.ts +14 -0
  59. package/api/resources/api/resources/test/resources/invoices/types/DemoFernInvoice.js +5 -0
  60. package/api/resources/api/resources/test/resources/invoices/types/index.d.ts +1 -0
  61. package/api/resources/api/resources/test/resources/invoices/types/index.js +17 -0
  62. package/api/resources/db/resources/employment/types/Employment.d.ts +2 -0
  63. package/api/resources/db/resources/employment/types/EmploymentDocuments.d.ts +7 -0
  64. package/api/resources/db/resources/employment/types/EmploymentDocuments.js +5 -0
  65. package/api/resources/db/resources/employment/types/index.d.ts +1 -0
  66. package/api/resources/db/resources/employment/types/index.js +1 -0
  67. package/api/resources/db/resources/index.d.ts +1 -0
  68. package/api/resources/db/resources/index.js +2 -1
  69. package/api/resources/db/resources/payment/resources/index.d.ts +2 -0
  70. package/api/resources/db/resources/payment/resources/index.js +3 -1
  71. package/api/resources/db/resources/payment/resources/invoice/types/index.d.ts +0 -1
  72. package/api/resources/db/resources/payment/resources/invoice/types/index.js +0 -1
  73. package/api/resources/db/resources/payment/resources/invoiceType/index.d.ts +1 -0
  74. package/api/resources/db/resources/payment/resources/invoiceType/index.js +17 -0
  75. package/api/resources/db/resources/payment/resources/invoiceType/types/index.d.ts +1 -0
  76. package/api/resources/db/resources/payment/resources/invoiceType/types/index.js +17 -0
  77. package/api/resources/db/resources/test/index.d.ts +1 -0
  78. package/api/resources/db/resources/test/index.js +17 -0
  79. package/api/resources/db/resources/test/resources/employment/index.d.ts +1 -0
  80. package/api/resources/db/resources/test/resources/employment/index.js +17 -0
  81. package/api/resources/db/resources/test/resources/employment/types/FernContractDocumentType.d.ts +9 -0
  82. package/api/resources/db/resources/test/resources/employment/types/FernContractDocumentType.js +11 -0
  83. package/api/resources/db/resources/test/resources/employment/types/FernDeduction.d.ts +6 -0
  84. package/api/resources/db/resources/test/resources/employment/types/FernDeduction.js +5 -0
  85. package/api/resources/db/resources/test/resources/employment/types/FernEarning.d.ts +10 -0
  86. package/api/resources/db/resources/test/resources/employment/types/FernEarning.js +5 -0
  87. package/api/resources/db/resources/test/resources/employment/types/FernEmployment.d.ts +26 -0
  88. package/api/resources/db/resources/test/resources/employment/types/FernEmployment.js +5 -0
  89. package/api/resources/db/resources/test/resources/employment/types/FernEmploymentStatus.d.ts +8 -0
  90. package/api/resources/db/resources/test/resources/employment/types/FernEmploymentStatus.js +10 -0
  91. package/api/resources/db/resources/test/resources/employment/types/FernEmploymentType.d.ts +8 -0
  92. package/api/resources/db/resources/test/resources/employment/types/FernEmploymentType.js +10 -0
  93. package/api/resources/db/resources/test/resources/employment/types/FernEmploymentW2PayrollDetails.d.ts +7 -0
  94. package/api/resources/db/resources/test/resources/employment/types/FernEmploymentW2PayrollDetails.js +5 -0
  95. package/api/resources/db/resources/test/resources/employment/types/FernFrequency.d.ts +10 -0
  96. package/api/resources/db/resources/test/resources/employment/types/FernFrequency.js +5 -0
  97. package/api/resources/db/resources/test/resources/employment/types/FernMilestone.d.ts +11 -0
  98. package/api/resources/db/resources/test/resources/employment/types/FernMilestone.js +5 -0
  99. package/api/resources/db/resources/test/resources/employment/types/FernMilestoneDetails.d.ts +7 -0
  100. package/api/resources/db/resources/test/resources/employment/types/FernMilestoneDetails.js +5 -0
  101. package/api/resources/db/resources/test/resources/employment/types/FernMilestoneStatus.d.ts +8 -0
  102. package/api/resources/db/resources/test/resources/employment/types/FernMilestoneStatus.js +10 -0
  103. package/api/resources/db/resources/test/resources/employment/types/FernPerPaycheckFrequency.d.ts +6 -0
  104. package/api/resources/db/resources/test/resources/employment/types/FernPerPaycheckFrequency.js +5 -0
  105. package/api/resources/db/resources/test/resources/employment/types/FernRecurrence.d.ts +8 -0
  106. package/api/resources/db/resources/test/resources/employment/types/FernRecurrence.js +5 -0
  107. package/api/resources/db/resources/test/resources/employment/types/FernRecurrenceDetails.d.ts +14 -0
  108. package/api/resources/db/resources/test/resources/employment/types/FernRecurrenceDetails.js +5 -0
  109. package/api/resources/db/resources/test/resources/employment/types/FernReimbursement.d.ts +7 -0
  110. package/api/resources/db/resources/test/resources/employment/types/FernReimbursement.js +5 -0
  111. package/api/resources/db/resources/test/resources/employment/types/FernWageType.d.ts +9 -0
  112. package/api/resources/db/resources/test/resources/employment/types/FernWageType.js +11 -0
  113. package/api/resources/db/resources/test/resources/employment/types/index.d.ts +16 -0
  114. package/api/resources/db/resources/test/resources/employment/types/index.js +32 -0
  115. package/api/resources/db/resources/test/resources/index.d.ts +2 -0
  116. package/api/resources/db/resources/test/resources/index.js +31 -0
  117. package/core/auth/BasicAuth.d.ts +8 -0
  118. package/core/auth/BasicAuth.js +26 -0
  119. package/core/auth/BearerToken.d.ts +5 -0
  120. package/core/auth/BearerToken.js +15 -0
  121. package/core/auth/index.d.ts +2 -0
  122. package/core/auth/index.js +7 -0
  123. package/core/fetcher/APIResponse.d.ts +9 -0
  124. package/core/fetcher/APIResponse.js +2 -0
  125. package/core/fetcher/Fetcher.d.ts +37 -0
  126. package/core/fetcher/Fetcher.js +90 -0
  127. package/core/fetcher/Supplier.d.ts +4 -0
  128. package/core/fetcher/Supplier.js +13 -0
  129. package/core/fetcher/index.d.ts +3 -0
  130. package/core/fetcher/index.js +7 -0
  131. package/core/index.d.ts +2 -0
  132. package/core/index.js +5 -0
  133. package/dist/Client.d.ts +17 -0
  134. package/dist/Client.js +18 -0
  135. package/dist/api/resources/api/client/Client.d.ts +20 -0
  136. package/dist/api/resources/api/client/Client.js +23 -0
  137. package/dist/api/resources/api/client/index.d.ts +1 -0
  138. package/dist/api/resources/api/client/index.js +2 -0
  139. package/dist/api/resources/api/index.d.ts +1 -0
  140. package/dist/api/resources/api/index.js +1 -0
  141. package/dist/api/resources/api/resources/index.d.ts +2 -0
  142. package/dist/api/resources/api/resources/index.js +3 -1
  143. package/dist/api/resources/api/resources/request/resources/zeal/resources/employee/resources/employee/types/Autopilot.d.ts +1 -1
  144. package/dist/api/resources/api/resources/services/client/Client.d.ts +17 -0
  145. package/dist/api/resources/api/resources/services/client/Client.js +18 -0
  146. package/dist/api/resources/api/resources/services/client/index.d.ts +1 -0
  147. package/dist/api/resources/api/resources/services/client/index.js +2 -0
  148. package/dist/api/resources/api/resources/services/index.d.ts +2 -0
  149. package/dist/api/resources/api/resources/services/index.js +18 -0
  150. package/dist/api/resources/api/resources/services/resources/file/client/Client.d.ts +18 -0
  151. package/dist/api/resources/api/resources/services/resources/file/client/Client.js +128 -0
  152. package/dist/api/resources/api/resources/services/resources/file/client/index.d.ts +1 -0
  153. package/dist/api/resources/api/resources/services/resources/file/client/index.js +17 -0
  154. package/dist/api/resources/api/resources/services/resources/file/client/requests/AttachDocumentToEmploymentRequest.d.ts +9 -0
  155. package/dist/api/resources/api/resources/services/resources/file/client/requests/AttachDocumentToEmploymentRequest.js +5 -0
  156. package/dist/api/resources/api/resources/services/resources/file/client/requests/DeleteDocumentFromEmploymentRequest.d.ts +6 -0
  157. package/dist/api/resources/api/resources/services/resources/file/client/requests/DeleteDocumentFromEmploymentRequest.js +5 -0
  158. package/dist/api/resources/api/resources/services/resources/file/client/requests/index.d.ts +2 -0
  159. package/dist/api/resources/api/resources/services/resources/file/client/requests/index.js +2 -0
  160. package/dist/api/resources/api/resources/services/resources/file/index.d.ts +1 -0
  161. package/dist/api/resources/api/resources/services/resources/file/index.js +17 -0
  162. package/dist/api/resources/api/resources/services/resources/index.d.ts +2 -0
  163. package/dist/api/resources/api/resources/services/resources/index.js +31 -0
  164. package/dist/api/resources/api/resources/test/client/Client.d.ts +17 -0
  165. package/dist/api/resources/api/resources/test/client/Client.js +18 -0
  166. package/dist/api/resources/api/resources/test/client/index.d.ts +1 -0
  167. package/dist/api/resources/api/resources/test/client/index.js +2 -0
  168. package/dist/api/resources/api/resources/test/index.d.ts +2 -0
  169. package/dist/api/resources/api/resources/test/index.js +18 -0
  170. package/dist/api/resources/api/resources/test/resources/commons/index.d.ts +1 -0
  171. package/dist/api/resources/api/resources/test/resources/commons/index.js +17 -0
  172. package/dist/api/resources/api/resources/test/resources/commons/types/DemoFernContractId.d.ts +4 -0
  173. package/dist/api/resources/api/resources/test/resources/commons/types/DemoFernContractId.js +5 -0
  174. package/dist/api/resources/api/resources/test/resources/commons/types/DemoFernInvoiceId.d.ts +4 -0
  175. package/dist/api/resources/api/resources/test/resources/commons/types/DemoFernInvoiceId.js +5 -0
  176. package/dist/api/resources/api/resources/test/resources/commons/types/index.d.ts +2 -0
  177. package/dist/api/resources/api/resources/test/resources/commons/types/index.js +18 -0
  178. package/dist/api/resources/api/resources/test/resources/index.d.ts +5 -0
  179. package/dist/api/resources/api/resources/test/resources/index.js +34 -0
  180. package/dist/api/resources/api/resources/test/resources/invoices/client/Client.d.ts +17 -0
  181. package/dist/api/resources/api/resources/test/resources/invoices/client/Client.js +94 -0
  182. package/dist/api/resources/api/resources/test/resources/invoices/client/index.d.ts +1 -0
  183. package/dist/api/resources/api/resources/test/resources/invoices/client/index.js +17 -0
  184. package/dist/api/resources/api/resources/test/resources/invoices/client/requests/VoidInvoiceRequest.d.ts +6 -0
  185. package/dist/api/resources/api/resources/test/resources/invoices/client/requests/VoidInvoiceRequest.js +5 -0
  186. package/dist/api/resources/api/resources/test/resources/invoices/client/requests/index.d.ts +1 -0
  187. package/dist/api/resources/api/resources/test/resources/invoices/client/requests/index.js +2 -0
  188. package/dist/api/resources/api/resources/test/resources/invoices/index.d.ts +2 -0
  189. package/dist/api/resources/api/resources/test/resources/invoices/index.js +18 -0
  190. package/dist/api/resources/api/resources/test/resources/invoices/types/DemoFernInvoice.d.ts +14 -0
  191. package/dist/api/resources/api/resources/test/resources/invoices/types/DemoFernInvoice.js +5 -0
  192. package/dist/api/resources/api/resources/test/resources/invoices/types/index.d.ts +1 -0
  193. package/dist/api/resources/api/resources/test/resources/invoices/types/index.js +17 -0
  194. package/dist/api/resources/db/resources/employment/types/Employment.d.ts +2 -0
  195. package/dist/api/resources/db/resources/employment/types/EmploymentDocuments.d.ts +7 -0
  196. package/dist/api/resources/db/resources/employment/types/EmploymentDocuments.js +5 -0
  197. package/dist/api/resources/db/resources/employment/types/index.d.ts +1 -0
  198. package/dist/api/resources/db/resources/employment/types/index.js +1 -0
  199. package/dist/api/resources/db/resources/index.d.ts +1 -0
  200. package/dist/api/resources/db/resources/index.js +2 -1
  201. package/dist/api/resources/db/resources/payment/resources/index.d.ts +2 -0
  202. package/dist/api/resources/db/resources/payment/resources/index.js +3 -1
  203. package/dist/api/resources/db/resources/payment/resources/invoice/types/index.d.ts +0 -1
  204. package/dist/api/resources/db/resources/payment/resources/invoice/types/index.js +0 -1
  205. package/dist/api/resources/db/resources/payment/resources/invoiceType/index.d.ts +1 -0
  206. package/dist/api/resources/db/resources/payment/resources/invoiceType/index.js +17 -0
  207. package/dist/api/resources/db/resources/payment/resources/invoiceType/types/index.d.ts +1 -0
  208. package/dist/api/resources/db/resources/payment/resources/invoiceType/types/index.js +17 -0
  209. package/dist/api/resources/db/resources/test/index.d.ts +1 -0
  210. package/dist/api/resources/db/resources/test/index.js +17 -0
  211. package/dist/api/resources/db/resources/test/resources/employment/index.d.ts +1 -0
  212. package/dist/api/resources/db/resources/test/resources/employment/index.js +17 -0
  213. package/dist/api/resources/db/resources/test/resources/employment/types/FernContractDocumentType.d.ts +9 -0
  214. package/dist/api/resources/db/resources/test/resources/employment/types/FernContractDocumentType.js +11 -0
  215. package/dist/api/resources/db/resources/test/resources/employment/types/FernDeduction.d.ts +6 -0
  216. package/dist/api/resources/db/resources/test/resources/employment/types/FernDeduction.js +5 -0
  217. package/dist/api/resources/db/resources/test/resources/employment/types/FernEarning.d.ts +10 -0
  218. package/dist/api/resources/db/resources/test/resources/employment/types/FernEarning.js +5 -0
  219. package/dist/api/resources/db/resources/test/resources/employment/types/FernEmployment.d.ts +26 -0
  220. package/dist/api/resources/db/resources/test/resources/employment/types/FernEmployment.js +5 -0
  221. package/dist/api/resources/db/resources/test/resources/employment/types/FernEmploymentStatus.d.ts +8 -0
  222. package/dist/api/resources/db/resources/test/resources/employment/types/FernEmploymentStatus.js +10 -0
  223. package/dist/api/resources/db/resources/test/resources/employment/types/FernEmploymentType.d.ts +8 -0
  224. package/dist/api/resources/db/resources/test/resources/employment/types/FernEmploymentType.js +10 -0
  225. package/dist/api/resources/db/resources/test/resources/employment/types/FernEmploymentW2PayrollDetails.d.ts +7 -0
  226. package/dist/api/resources/db/resources/test/resources/employment/types/FernEmploymentW2PayrollDetails.js +5 -0
  227. package/dist/api/resources/db/resources/test/resources/employment/types/FernFrequency.d.ts +10 -0
  228. package/dist/api/resources/db/resources/test/resources/employment/types/FernFrequency.js +5 -0
  229. package/dist/api/resources/db/resources/test/resources/employment/types/FernMilestone.d.ts +11 -0
  230. package/dist/api/resources/db/resources/test/resources/employment/types/FernMilestone.js +5 -0
  231. package/dist/api/resources/db/resources/test/resources/employment/types/FernMilestoneDetails.d.ts +7 -0
  232. package/dist/api/resources/db/resources/test/resources/employment/types/FernMilestoneDetails.js +5 -0
  233. package/dist/api/resources/db/resources/test/resources/employment/types/FernMilestoneStatus.d.ts +8 -0
  234. package/dist/api/resources/db/resources/test/resources/employment/types/FernMilestoneStatus.js +10 -0
  235. package/dist/api/resources/db/resources/test/resources/employment/types/FernPerPaycheckFrequency.d.ts +6 -0
  236. package/dist/api/resources/db/resources/test/resources/employment/types/FernPerPaycheckFrequency.js +5 -0
  237. package/dist/api/resources/db/resources/test/resources/employment/types/FernRecurrence.d.ts +8 -0
  238. package/dist/api/resources/db/resources/test/resources/employment/types/FernRecurrence.js +5 -0
  239. package/dist/api/resources/db/resources/test/resources/employment/types/FernRecurrenceDetails.d.ts +14 -0
  240. package/dist/api/resources/db/resources/test/resources/employment/types/FernRecurrenceDetails.js +5 -0
  241. package/dist/api/resources/db/resources/test/resources/employment/types/FernReimbursement.d.ts +7 -0
  242. package/dist/api/resources/db/resources/test/resources/employment/types/FernReimbursement.js +5 -0
  243. package/dist/api/resources/db/resources/test/resources/employment/types/FernWageType.d.ts +9 -0
  244. package/dist/api/resources/db/resources/test/resources/employment/types/FernWageType.js +11 -0
  245. package/dist/api/resources/db/resources/test/resources/employment/types/index.d.ts +16 -0
  246. package/dist/api/resources/db/resources/test/resources/employment/types/index.js +32 -0
  247. package/dist/api/resources/db/resources/test/resources/index.d.ts +2 -0
  248. package/dist/api/resources/db/resources/test/resources/index.js +31 -0
  249. package/dist/core/auth/BasicAuth.d.ts +8 -0
  250. package/dist/core/auth/BasicAuth.js +26 -0
  251. package/dist/core/auth/BearerToken.d.ts +5 -0
  252. package/dist/core/auth/BearerToken.js +15 -0
  253. package/dist/core/auth/index.d.ts +2 -0
  254. package/dist/core/auth/index.js +7 -0
  255. package/dist/core/fetcher/APIResponse.d.ts +9 -0
  256. package/dist/core/fetcher/APIResponse.js +2 -0
  257. package/dist/core/fetcher/Fetcher.d.ts +37 -0
  258. package/dist/core/fetcher/Fetcher.js +90 -0
  259. package/dist/core/fetcher/Supplier.d.ts +4 -0
  260. package/dist/core/fetcher/Supplier.js +13 -0
  261. package/dist/core/fetcher/index.d.ts +3 -0
  262. package/dist/core/fetcher/index.js +7 -0
  263. package/dist/core/index.d.ts +2 -0
  264. package/dist/core/index.js +5 -0
  265. package/dist/index.d.ts +1 -0
  266. package/dist/index.js +3 -1
  267. package/dist/serialization/resources/api/resources/index.d.ts +2 -0
  268. package/dist/serialization/resources/api/resources/index.js +3 -1
  269. package/dist/serialization/resources/api/resources/request/resources/zeal/resources/employee/resources/employee/types/Autopilot.d.ts +1 -1
  270. package/dist/serialization/resources/api/resources/request/resources/zeal/resources/employee/resources/employee/types/Autopilot.js +1 -1
  271. package/dist/serialization/resources/api/resources/services/index.d.ts +1 -0
  272. package/dist/serialization/resources/api/resources/services/index.js +17 -0
  273. package/dist/serialization/resources/api/resources/services/resources/file/client/index.d.ts +1 -0
  274. package/dist/serialization/resources/api/resources/services/resources/file/client/index.js +17 -0
  275. package/dist/serialization/resources/api/resources/services/resources/file/client/requests/AttachDocumentToEmploymentRequest.d.ts +13 -0
  276. package/dist/serialization/resources/api/resources/services/resources/file/client/requests/AttachDocumentToEmploymentRequest.js +34 -0
  277. package/dist/serialization/resources/api/resources/services/resources/file/client/requests/DeleteDocumentFromEmploymentRequest.d.ts +12 -0
  278. package/dist/serialization/resources/api/resources/services/resources/file/client/requests/DeleteDocumentFromEmploymentRequest.js +33 -0
  279. package/dist/serialization/resources/api/resources/services/resources/file/client/requests/index.d.ts +2 -0
  280. package/dist/serialization/resources/api/resources/services/resources/file/client/requests/index.js +7 -0
  281. package/dist/serialization/resources/api/resources/services/resources/file/index.d.ts +1 -0
  282. package/dist/serialization/resources/api/resources/services/resources/file/index.js +17 -0
  283. package/dist/serialization/resources/api/resources/services/resources/index.d.ts +2 -0
  284. package/dist/serialization/resources/api/resources/services/resources/index.js +31 -0
  285. package/dist/serialization/resources/api/resources/test/index.d.ts +1 -0
  286. package/dist/serialization/resources/api/resources/test/index.js +17 -0
  287. package/dist/serialization/resources/api/resources/test/resources/commons/index.d.ts +1 -0
  288. package/dist/serialization/resources/api/resources/test/resources/commons/index.js +17 -0
  289. package/dist/serialization/resources/api/resources/test/resources/commons/types/DemoFernContractId.d.ts +10 -0
  290. package/dist/serialization/resources/api/resources/test/resources/commons/types/DemoFernContractId.js +31 -0
  291. package/dist/serialization/resources/api/resources/test/resources/commons/types/DemoFernInvoiceId.d.ts +10 -0
  292. package/dist/serialization/resources/api/resources/test/resources/commons/types/DemoFernInvoiceId.js +31 -0
  293. package/dist/serialization/resources/api/resources/test/resources/commons/types/index.d.ts +2 -0
  294. package/dist/serialization/resources/api/resources/test/resources/commons/types/index.js +18 -0
  295. package/dist/serialization/resources/api/resources/test/resources/index.d.ts +5 -0
  296. package/dist/serialization/resources/api/resources/test/resources/index.js +34 -0
  297. package/dist/serialization/resources/api/resources/test/resources/invoices/client/index.d.ts +1 -0
  298. package/dist/serialization/resources/api/resources/test/resources/invoices/client/index.js +17 -0
  299. package/dist/serialization/resources/api/resources/test/resources/invoices/client/requests/VoidInvoiceRequest.d.ts +12 -0
  300. package/dist/serialization/resources/api/resources/test/resources/invoices/client/requests/VoidInvoiceRequest.js +33 -0
  301. package/dist/serialization/resources/api/resources/test/resources/invoices/client/requests/index.d.ts +1 -0
  302. package/dist/serialization/resources/api/resources/test/resources/invoices/client/requests/index.js +5 -0
  303. package/dist/serialization/resources/api/resources/test/resources/invoices/index.d.ts +2 -0
  304. package/dist/serialization/resources/api/resources/test/resources/invoices/index.js +18 -0
  305. package/dist/serialization/resources/api/resources/test/resources/invoices/types/DemoFernInvoice.d.ts +16 -0
  306. package/dist/serialization/resources/api/resources/test/resources/invoices/types/DemoFernInvoice.js +37 -0
  307. package/dist/serialization/resources/api/resources/test/resources/invoices/types/index.d.ts +1 -0
  308. package/dist/serialization/resources/api/resources/test/resources/invoices/types/index.js +17 -0
  309. package/dist/serialization/resources/db/resources/employment/types/Employment.d.ts +2 -0
  310. package/dist/serialization/resources/db/resources/employment/types/Employment.js +2 -0
  311. package/dist/serialization/resources/db/resources/employment/types/EmploymentDocuments.d.ts +12 -0
  312. package/dist/serialization/resources/db/resources/employment/types/EmploymentDocuments.js +33 -0
  313. package/dist/serialization/resources/db/resources/employment/types/index.d.ts +1 -0
  314. package/dist/serialization/resources/db/resources/employment/types/index.js +1 -0
  315. package/dist/serialization/resources/db/resources/index.d.ts +1 -0
  316. package/dist/serialization/resources/db/resources/index.js +2 -1
  317. package/dist/serialization/resources/db/resources/payment/resources/index.d.ts +2 -0
  318. package/dist/serialization/resources/db/resources/payment/resources/index.js +3 -1
  319. package/dist/serialization/resources/db/resources/payment/resources/invoice/types/index.d.ts +0 -1
  320. package/dist/serialization/resources/db/resources/payment/resources/invoice/types/index.js +0 -1
  321. package/dist/serialization/resources/db/resources/payment/resources/invoiceType/index.d.ts +1 -0
  322. package/dist/serialization/resources/db/resources/payment/resources/invoiceType/index.js +17 -0
  323. package/dist/serialization/resources/db/resources/payment/resources/invoiceType/types/index.d.ts +1 -0
  324. package/dist/serialization/resources/db/resources/payment/resources/invoiceType/types/index.js +17 -0
  325. package/dist/serialization/resources/db/resources/test/index.d.ts +1 -0
  326. package/dist/serialization/resources/db/resources/test/index.js +17 -0
  327. package/dist/serialization/resources/db/resources/test/resources/employment/index.d.ts +1 -0
  328. package/dist/serialization/resources/db/resources/test/resources/employment/index.js +17 -0
  329. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernContractDocumentType.d.ts +10 -0
  330. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernContractDocumentType.js +31 -0
  331. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernDeduction.d.ts +12 -0
  332. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernDeduction.js +33 -0
  333. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernEarning.d.ts +13 -0
  334. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernEarning.js +38 -0
  335. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernEmployment.d.ts +31 -0
  336. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernEmployment.js +52 -0
  337. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernEmploymentStatus.d.ts +10 -0
  338. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernEmploymentStatus.js +31 -0
  339. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernEmploymentType.d.ts +10 -0
  340. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernEmploymentType.js +31 -0
  341. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernEmploymentW2PayrollDetails.d.ts +12 -0
  342. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernEmploymentW2PayrollDetails.js +33 -0
  343. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernFrequency.d.ts +13 -0
  344. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernFrequency.js +38 -0
  345. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernMilestone.d.ts +16 -0
  346. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernMilestone.js +37 -0
  347. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernMilestoneDetails.d.ts +12 -0
  348. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernMilestoneDetails.js +33 -0
  349. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernMilestoneStatus.d.ts +10 -0
  350. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernMilestoneStatus.js +31 -0
  351. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernPerPaycheckFrequency.d.ts +12 -0
  352. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernPerPaycheckFrequency.js +33 -0
  353. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernRecurrence.d.ts +13 -0
  354. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernRecurrence.js +34 -0
  355. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernRecurrenceDetails.d.ts +17 -0
  356. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernRecurrenceDetails.js +41 -0
  357. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernReimbursement.d.ts +13 -0
  358. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernReimbursement.js +34 -0
  359. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernWageType.d.ts +10 -0
  360. package/dist/serialization/resources/db/resources/test/resources/employment/types/FernWageType.js +31 -0
  361. package/dist/serialization/resources/db/resources/test/resources/employment/types/index.d.ts +16 -0
  362. package/dist/serialization/resources/db/resources/test/resources/employment/types/index.js +32 -0
  363. package/dist/serialization/resources/db/resources/test/resources/index.d.ts +2 -0
  364. package/dist/serialization/resources/db/resources/test/resources/index.js +31 -0
  365. package/index.d.ts +1 -0
  366. package/index.js +3 -1
  367. package/package.json +8 -1
  368. package/serialization/resources/api/resources/index.d.ts +2 -0
  369. package/serialization/resources/api/resources/index.js +3 -1
  370. package/serialization/resources/api/resources/request/resources/zeal/resources/employee/resources/employee/types/Autopilot.d.ts +1 -1
  371. package/serialization/resources/api/resources/request/resources/zeal/resources/employee/resources/employee/types/Autopilot.js +1 -1
  372. package/serialization/resources/api/resources/services/index.d.ts +1 -0
  373. package/serialization/resources/api/resources/services/index.js +17 -0
  374. package/serialization/resources/api/resources/services/resources/file/client/index.d.ts +1 -0
  375. package/serialization/resources/api/resources/services/resources/file/client/index.js +17 -0
  376. package/serialization/resources/api/resources/services/resources/file/client/requests/AttachDocumentToEmploymentRequest.d.ts +13 -0
  377. package/serialization/resources/api/resources/services/resources/file/client/requests/AttachDocumentToEmploymentRequest.js +34 -0
  378. package/serialization/resources/api/resources/services/resources/file/client/requests/DeleteDocumentFromEmploymentRequest.d.ts +12 -0
  379. package/serialization/resources/api/resources/services/resources/file/client/requests/DeleteDocumentFromEmploymentRequest.js +33 -0
  380. package/serialization/resources/api/resources/services/resources/file/client/requests/index.d.ts +2 -0
  381. package/serialization/resources/api/resources/services/resources/file/client/requests/index.js +7 -0
  382. package/serialization/resources/api/resources/services/resources/file/index.d.ts +1 -0
  383. package/serialization/resources/api/resources/services/resources/file/index.js +17 -0
  384. package/serialization/resources/api/resources/services/resources/index.d.ts +2 -0
  385. package/serialization/resources/api/resources/services/resources/index.js +31 -0
  386. package/serialization/resources/api/resources/test/index.d.ts +1 -0
  387. package/serialization/resources/api/resources/test/index.js +17 -0
  388. package/serialization/resources/api/resources/test/resources/commons/index.d.ts +1 -0
  389. package/serialization/resources/api/resources/test/resources/commons/index.js +17 -0
  390. package/serialization/resources/api/resources/test/resources/commons/types/DemoFernContractId.d.ts +10 -0
  391. package/serialization/resources/api/resources/test/resources/commons/types/DemoFernContractId.js +31 -0
  392. package/serialization/resources/api/resources/test/resources/commons/types/DemoFernInvoiceId.d.ts +10 -0
  393. package/serialization/resources/api/resources/test/resources/commons/types/DemoFernInvoiceId.js +31 -0
  394. package/serialization/resources/api/resources/test/resources/commons/types/index.d.ts +2 -0
  395. package/serialization/resources/api/resources/test/resources/commons/types/index.js +18 -0
  396. package/serialization/resources/api/resources/test/resources/index.d.ts +5 -0
  397. package/serialization/resources/api/resources/test/resources/index.js +34 -0
  398. package/serialization/resources/api/resources/test/resources/invoices/client/index.d.ts +1 -0
  399. package/serialization/resources/api/resources/test/resources/invoices/client/index.js +17 -0
  400. package/serialization/resources/api/resources/test/resources/invoices/client/requests/VoidInvoiceRequest.d.ts +12 -0
  401. package/serialization/resources/api/resources/test/resources/invoices/client/requests/VoidInvoiceRequest.js +33 -0
  402. package/serialization/resources/api/resources/test/resources/invoices/client/requests/index.d.ts +1 -0
  403. package/serialization/resources/api/resources/test/resources/invoices/client/requests/index.js +5 -0
  404. package/serialization/resources/api/resources/test/resources/invoices/index.d.ts +2 -0
  405. package/serialization/resources/api/resources/test/resources/invoices/index.js +18 -0
  406. package/serialization/resources/api/resources/test/resources/invoices/types/DemoFernInvoice.d.ts +16 -0
  407. package/serialization/resources/api/resources/test/resources/invoices/types/DemoFernInvoice.js +37 -0
  408. package/serialization/resources/api/resources/test/resources/invoices/types/index.d.ts +1 -0
  409. package/serialization/resources/api/resources/test/resources/invoices/types/index.js +17 -0
  410. package/serialization/resources/db/resources/employment/types/Employment.d.ts +2 -0
  411. package/serialization/resources/db/resources/employment/types/Employment.js +2 -0
  412. package/serialization/resources/db/resources/employment/types/EmploymentDocuments.d.ts +12 -0
  413. package/serialization/resources/db/resources/employment/types/EmploymentDocuments.js +33 -0
  414. package/serialization/resources/db/resources/employment/types/index.d.ts +1 -0
  415. package/serialization/resources/db/resources/employment/types/index.js +1 -0
  416. package/serialization/resources/db/resources/index.d.ts +1 -0
  417. package/serialization/resources/db/resources/index.js +2 -1
  418. package/serialization/resources/db/resources/payment/resources/index.d.ts +2 -0
  419. package/serialization/resources/db/resources/payment/resources/index.js +3 -1
  420. package/serialization/resources/db/resources/payment/resources/invoice/types/index.d.ts +0 -1
  421. package/serialization/resources/db/resources/payment/resources/invoice/types/index.js +0 -1
  422. package/serialization/resources/db/resources/payment/resources/invoiceType/index.d.ts +1 -0
  423. package/serialization/resources/db/resources/payment/resources/invoiceType/index.js +17 -0
  424. package/serialization/resources/db/resources/payment/resources/invoiceType/types/index.d.ts +1 -0
  425. package/serialization/resources/db/resources/payment/resources/invoiceType/types/index.js +17 -0
  426. package/serialization/resources/db/resources/test/index.d.ts +1 -0
  427. package/serialization/resources/db/resources/test/index.js +17 -0
  428. package/serialization/resources/db/resources/test/resources/employment/index.d.ts +1 -0
  429. package/serialization/resources/db/resources/test/resources/employment/index.js +17 -0
  430. package/serialization/resources/db/resources/test/resources/employment/types/FernContractDocumentType.d.ts +10 -0
  431. package/serialization/resources/db/resources/test/resources/employment/types/FernContractDocumentType.js +31 -0
  432. package/serialization/resources/db/resources/test/resources/employment/types/FernDeduction.d.ts +12 -0
  433. package/serialization/resources/db/resources/test/resources/employment/types/FernDeduction.js +33 -0
  434. package/serialization/resources/db/resources/test/resources/employment/types/FernEarning.d.ts +13 -0
  435. package/serialization/resources/db/resources/test/resources/employment/types/FernEarning.js +38 -0
  436. package/serialization/resources/db/resources/test/resources/employment/types/FernEmployment.d.ts +31 -0
  437. package/serialization/resources/db/resources/test/resources/employment/types/FernEmployment.js +52 -0
  438. package/serialization/resources/db/resources/test/resources/employment/types/FernEmploymentStatus.d.ts +10 -0
  439. package/serialization/resources/db/resources/test/resources/employment/types/FernEmploymentStatus.js +31 -0
  440. package/serialization/resources/db/resources/test/resources/employment/types/FernEmploymentType.d.ts +10 -0
  441. package/serialization/resources/db/resources/test/resources/employment/types/FernEmploymentType.js +31 -0
  442. package/serialization/resources/db/resources/test/resources/employment/types/FernEmploymentW2PayrollDetails.d.ts +12 -0
  443. package/serialization/resources/db/resources/test/resources/employment/types/FernEmploymentW2PayrollDetails.js +33 -0
  444. package/serialization/resources/db/resources/test/resources/employment/types/FernFrequency.d.ts +13 -0
  445. package/serialization/resources/db/resources/test/resources/employment/types/FernFrequency.js +38 -0
  446. package/serialization/resources/db/resources/test/resources/employment/types/FernMilestone.d.ts +16 -0
  447. package/serialization/resources/db/resources/test/resources/employment/types/FernMilestone.js +37 -0
  448. package/serialization/resources/db/resources/test/resources/employment/types/FernMilestoneDetails.d.ts +12 -0
  449. package/serialization/resources/db/resources/test/resources/employment/types/FernMilestoneDetails.js +33 -0
  450. package/serialization/resources/db/resources/test/resources/employment/types/FernMilestoneStatus.d.ts +10 -0
  451. package/serialization/resources/db/resources/test/resources/employment/types/FernMilestoneStatus.js +31 -0
  452. package/serialization/resources/db/resources/test/resources/employment/types/FernPerPaycheckFrequency.d.ts +12 -0
  453. package/serialization/resources/db/resources/test/resources/employment/types/FernPerPaycheckFrequency.js +33 -0
  454. package/serialization/resources/db/resources/test/resources/employment/types/FernRecurrence.d.ts +13 -0
  455. package/serialization/resources/db/resources/test/resources/employment/types/FernRecurrence.js +34 -0
  456. package/serialization/resources/db/resources/test/resources/employment/types/FernRecurrenceDetails.d.ts +17 -0
  457. package/serialization/resources/db/resources/test/resources/employment/types/FernRecurrenceDetails.js +41 -0
  458. package/serialization/resources/db/resources/test/resources/employment/types/FernReimbursement.d.ts +13 -0
  459. package/serialization/resources/db/resources/test/resources/employment/types/FernReimbursement.js +34 -0
  460. package/serialization/resources/db/resources/test/resources/employment/types/FernWageType.d.ts +10 -0
  461. package/serialization/resources/db/resources/test/resources/employment/types/FernWageType.js +31 -0
  462. package/serialization/resources/db/resources/test/resources/employment/types/index.d.ts +16 -0
  463. package/serialization/resources/db/resources/test/resources/employment/types/index.js +32 -0
  464. package/serialization/resources/db/resources/test/resources/index.d.ts +2 -0
  465. package/serialization/resources/db/resources/test/resources/index.js +31 -0
  466. /package/api/resources/db/resources/payment/resources/{invoice → invoiceType}/types/FernInvoiceType.d.ts +0 -0
  467. /package/api/resources/db/resources/payment/resources/{invoice → invoiceType}/types/FernInvoiceType.js +0 -0
  468. /package/dist/api/resources/db/resources/payment/resources/{invoice → invoiceType}/types/FernInvoiceType.d.ts +0 -0
  469. /package/dist/api/resources/db/resources/payment/resources/{invoice → invoiceType}/types/FernInvoiceType.js +0 -0
  470. /package/dist/serialization/resources/db/resources/payment/resources/{invoice → invoiceType}/types/FernInvoiceType.d.ts +0 -0
  471. /package/dist/serialization/resources/db/resources/payment/resources/{invoice → invoiceType}/types/FernInvoiceType.js +0 -0
  472. /package/serialization/resources/db/resources/payment/resources/{invoice → invoiceType}/types/FernInvoiceType.d.ts +0 -0
  473. /package/serialization/resources/db/resources/payment/resources/{invoice → invoiceType}/types/FernInvoiceType.js +0 -0
@@ -0,0 +1,12 @@
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
+ }
@@ -0,0 +1,33 @@
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.FernDeduction = void 0;
30
+ const core = __importStar(require("../../../../../../../../core"));
31
+ exports.FernDeduction = core.serialization.object({
32
+ deductionTemplateId: core.serialization.string(),
33
+ });
@@ -0,0 +1,13 @@
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
+ }
@@ -0,0 +1,38 @@
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
+ });
@@ -0,0 +1,31 @@
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
+ }
@@ -0,0 +1,52 @@
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
+ });
@@ -0,0 +1,10 @@
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
+ }
@@ -0,0 +1,31 @@
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"]);
@@ -0,0 +1,10 @@
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
+ }
@@ -0,0 +1,31 @@
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"]);
@@ -0,0 +1,12 @@
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
+ }
@@ -0,0 +1,33 @@
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.FernEmploymentW2PayrollDetails = void 0;
30
+ const core = __importStar(require("../../../../../../../../core"));
31
+ exports.FernEmploymentW2PayrollDetails = core.serialization.object({
32
+ recurrences: core.serialization.record(core.serialization.string(), core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../../../..")))).db.test.FernRecurrence)),
33
+ });
@@ -0,0 +1,13 @@
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
+ }
@@ -0,0 +1,38 @@
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
+ });
@@ -0,0 +1,16 @@
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
+ }
@@ -0,0 +1,37 @@
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
+ });
@@ -0,0 +1,12 @@
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
+ }
@@ -0,0 +1,33 @@
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
+ });
@@ -0,0 +1,10 @@
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
+ }
@@ -0,0 +1,31 @@
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.FernMilestoneStatus = void 0;
30
+ const core = __importStar(require("../../../../../../../../core"));
31
+ exports.FernMilestoneStatus = core.serialization.enum_(["CREATED", "COMPLETE"]);
@@ -0,0 +1,12 @@
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
+ }
@@ -0,0 +1,33 @@
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
+ });
@@ -0,0 +1,13 @@
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
+ }
@@ -0,0 +1,34 @@
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
+ });
@@ -0,0 +1,17 @@
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
+ }