@thera-hr/api-sdk 0.0.1-prerelease3067-dev-3 → 0.0.1-prerelease3067-dev-4

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 (208) hide show
  1. package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  2. package/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  3. package/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
  4. package/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  5. package/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  6. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +33 -33
  7. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +24 -24
  8. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  9. package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  10. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  11. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  12. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  13. package/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  14. package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  15. package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  16. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
  17. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.js +3 -3
  18. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +7 -7
  19. package/api/resources/api/resources/thera/resources/payroll/client/Client.d.ts +3 -0
  20. package/api/resources/api/resources/thera/resources/payroll/client/Client.js +5 -0
  21. package/api/resources/api/resources/thera/resources/payroll/resources/index.d.ts +3 -0
  22. package/api/resources/api/resources/thera/resources/payroll/resources/index.js +4 -1
  23. package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  24. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.d.ts +18 -5
  25. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +66 -11
  26. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.d.ts +1 -0
  27. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.d.ts +126 -0
  28. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +465 -0
  29. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +1 -0
  30. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.js +17 -0
  31. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.d.ts +14 -0
  32. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js +5 -0
  33. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.d.ts +24 -0
  34. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js +5 -0
  35. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +26 -0
  36. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js +5 -0
  37. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.d.ts +3 -0
  38. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.js +2 -0
  39. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.d.ts +2 -0
  40. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.js +18 -0
  41. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.d.ts +6 -0
  42. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js +5 -0
  43. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.d.ts +14 -0
  44. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js +5 -0
  45. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.d.ts +9 -0
  46. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.js +5 -0
  47. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.d.ts +10 -0
  48. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.js +5 -0
  49. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +15 -0
  50. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js +5 -0
  51. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +10 -0
  52. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js +12 -0
  53. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +6 -0
  54. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.js +22 -0
  55. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  56. package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  57. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +11 -11
  58. package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  59. package/api/resources/db/resources/company/types/W2Payroll.d.ts +2 -0
  60. package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  61. package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  62. package/dist/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
  63. package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  64. package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  65. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +33 -33
  66. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +24 -24
  67. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  68. package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  69. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  70. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  71. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  72. package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  73. package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  74. package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  75. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
  76. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.js +3 -3
  77. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +7 -7
  78. package/dist/api/resources/api/resources/thera/resources/payroll/client/Client.d.ts +3 -0
  79. package/dist/api/resources/api/resources/thera/resources/payroll/client/Client.js +5 -0
  80. package/dist/api/resources/api/resources/thera/resources/payroll/resources/index.d.ts +3 -0
  81. package/dist/api/resources/api/resources/thera/resources/payroll/resources/index.js +4 -1
  82. package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  83. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.d.ts +18 -5
  84. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +66 -11
  85. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.d.ts +1 -0
  86. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.d.ts +126 -0
  87. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +465 -0
  88. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +1 -0
  89. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.js +17 -0
  90. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.d.ts +14 -0
  91. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js +5 -0
  92. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.d.ts +24 -0
  93. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js +5 -0
  94. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +26 -0
  95. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js +5 -0
  96. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.d.ts +3 -0
  97. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.js +2 -0
  98. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.d.ts +2 -0
  99. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.js +18 -0
  100. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.d.ts +6 -0
  101. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js +5 -0
  102. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.d.ts +14 -0
  103. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js +5 -0
  104. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.d.ts +9 -0
  105. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.js +5 -0
  106. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.d.ts +10 -0
  107. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.js +5 -0
  108. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +15 -0
  109. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js +5 -0
  110. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +10 -0
  111. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js +12 -0
  112. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +6 -0
  113. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.js +22 -0
  114. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  115. package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  116. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +11 -11
  117. package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  118. package/dist/api/resources/db/resources/company/types/W2Payroll.d.ts +2 -0
  119. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/index.d.ts +3 -0
  120. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/index.js +4 -1
  121. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.d.ts +11 -0
  122. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.js +8 -0
  123. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleChecks.d.ts +2 -2
  124. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleChecks.js +35 -1
  125. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.d.ts +1 -0
  126. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.js +2 -1
  127. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.d.ts +1 -0
  128. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.js +1 -0
  129. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/getSomePaySchedulePaydays.d.ts +11 -0
  130. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/getSomePaySchedulePaydays.js +42 -0
  131. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +3 -0
  132. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.js +42 -0
  133. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.d.ts +11 -0
  134. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.js +42 -0
  135. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.d.ts +12 -0
  136. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js +43 -0
  137. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.d.ts +18 -0
  138. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js +49 -0
  139. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +19 -0
  140. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js +50 -0
  141. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.d.ts +3 -0
  142. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.js +9 -0
  143. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.d.ts +2 -0
  144. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.js +18 -0
  145. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.d.ts +12 -0
  146. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js +43 -0
  147. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.d.ts +20 -0
  148. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js +51 -0
  149. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.d.ts +13 -0
  150. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.js +44 -0
  151. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.d.ts +16 -0
  152. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.js +47 -0
  153. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +21 -0
  154. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js +52 -0
  155. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +10 -0
  156. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js +41 -0
  157. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +6 -0
  158. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.js +22 -0
  159. package/dist/serialization/resources/db/resources/company/types/W2Payroll.d.ts +1 -0
  160. package/dist/serialization/resources/db/resources/company/types/W2Payroll.js +1 -0
  161. package/dist/version.d.ts +1 -1
  162. package/dist/version.js +1 -1
  163. package/package.json +1 -1
  164. package/reference.md +602 -5
  165. package/serialization/resources/api/resources/thera/resources/payroll/resources/index.d.ts +3 -0
  166. package/serialization/resources/api/resources/thera/resources/payroll/resources/index.js +4 -1
  167. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.d.ts +11 -0
  168. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.js +8 -0
  169. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleChecks.d.ts +2 -2
  170. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleChecks.js +35 -1
  171. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.d.ts +1 -0
  172. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.js +2 -1
  173. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.d.ts +1 -0
  174. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.js +1 -0
  175. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/getSomePaySchedulePaydays.d.ts +11 -0
  176. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/getSomePaySchedulePaydays.js +42 -0
  177. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +3 -0
  178. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.js +42 -0
  179. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.d.ts +11 -0
  180. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.js +42 -0
  181. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.d.ts +12 -0
  182. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js +43 -0
  183. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.d.ts +18 -0
  184. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js +49 -0
  185. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +19 -0
  186. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js +50 -0
  187. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.d.ts +3 -0
  188. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.js +9 -0
  189. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.d.ts +2 -0
  190. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.js +18 -0
  191. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.d.ts +12 -0
  192. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js +43 -0
  193. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.d.ts +20 -0
  194. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js +51 -0
  195. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.d.ts +13 -0
  196. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.js +44 -0
  197. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.d.ts +16 -0
  198. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPaySchedulePaydaysResponse.js +47 -0
  199. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +21 -0
  200. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js +52 -0
  201. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +10 -0
  202. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js +41 -0
  203. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +6 -0
  204. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.js +22 -0
  205. package/serialization/resources/db/resources/company/types/W2Payroll.d.ts +1 -0
  206. package/serialization/resources/db/resources/company/types/W2Payroll.js +1 -0
  207. package/version.d.ts +1 -1
  208. package/version.js +1 -1
@@ -113,7 +113,7 @@ class TpApi {
113
113
  const _response = yield core.fetcher({
114
114
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/banking-details`),
115
115
  method: "POST",
116
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3067-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3067-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
116
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3067-dev-4", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3067-dev-4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
117
117
  contentType: "application/json",
118
118
  requestType: "json",
119
119
  body: serializers.api.thera.tp.AddCompanyBankingDetailsRequest.jsonOrThrow(request, {
@@ -167,7 +167,7 @@ class TpApi {
167
167
  const _response = yield core.fetcher({
168
168
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "naics-codes"),
169
169
  method: "GET",
170
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3067-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3067-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
170
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3067-dev-4", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3067-dev-4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
171
171
  contentType: "application/json",
172
172
  requestType: "json",
173
173
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -228,7 +228,7 @@ class TpApi {
228
228
  const _response = yield core.fetcher({
229
229
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/process-funds`),
230
230
  method: "POST",
231
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3067-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3067-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
231
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3067-dev-4", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3067-dev-4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
232
232
  contentType: "application/json",
233
233
  requestType: "json",
234
234
  body: serializers.api.thera.tp.ProcessFundsTransfer.jsonOrThrow(request, {
@@ -280,7 +280,7 @@ class TpApi {
280
280
  const _response = yield core.fetcher({
281
281
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/create-counterparty`),
282
282
  method: "POST",
283
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3067-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3067-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
283
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3067-dev-4", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3067-dev-4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
284
284
  contentType: "application/json",
285
285
  requestType: "json",
286
286
  body: serializers.api.thera.tp.CreateCounterPartyForBankingRequest.jsonOrThrow(request, {
@@ -329,7 +329,7 @@ class TpApi {
329
329
  const _response = yield core.fetcher({
330
330
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/fetch-accounts`),
331
331
  method: "GET",
332
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3067-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3067-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
332
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3067-dev-4", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3067-dev-4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
333
333
  contentType: "application/json",
334
334
  requestType: "json",
335
335
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -384,7 +384,7 @@ class TpApi {
384
384
  const _response = yield core.fetcher({
385
385
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/fetch-accounts/${encodeURIComponent(accountId)}`),
386
386
  method: "GET",
387
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3067-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3067-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
387
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3067-dev-4", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3067-dev-4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
388
388
  contentType: "application/json",
389
389
  queryParameters: _queryParams,
390
390
  requestType: "json",
@@ -435,7 +435,7 @@ class TpApi {
435
435
  const _response = yield core.fetcher({
436
436
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/transfer-fbo-omnibus`),
437
437
  method: "POST",
438
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3067-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3067-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
438
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3067-dev-4", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3067-dev-4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
439
439
  contentType: "application/json",
440
440
  requestType: "json",
441
441
  body: serializers.api.thera.tp.TransferFundsToOmnibusAccount.jsonOrThrow(request, {
@@ -485,7 +485,7 @@ class TpApi {
485
485
  const _response = yield core.fetcher({
486
486
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/fetch-transactions/${encodeURIComponent(accountId)}`),
487
487
  method: "GET",
488
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3067-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3067-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
488
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3067-dev-4", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3067-dev-4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
489
489
  contentType: "application/json",
490
490
  requestType: "json",
491
491
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -538,7 +538,7 @@ class TpApi {
538
538
  const _response = yield core.fetcher({
539
539
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/tp-transaction/${encodeURIComponent(transactionId)}`),
540
540
  method: "GET",
541
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3067-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3067-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
541
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3067-dev-4", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3067-dev-4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
542
542
  contentType: "application/json",
543
543
  requestType: "json",
544
544
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -602,7 +602,7 @@ class TpApi {
602
602
  const _response = yield core.fetcher({
603
603
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "webhook/tp/external-transfer-funds"),
604
604
  method: "POST",
605
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3067-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3067-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
605
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3067-dev-4", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3067-dev-4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
606
606
  contentType: "application/json",
607
607
  queryParameters: _queryParams,
608
608
  requestType: "json",
@@ -680,7 +680,7 @@ class TpApi {
680
680
  const _response = yield core.fetcher({
681
681
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `companies/${encodeURIComponent(companyId)}/withdraw-funds`),
682
682
  method: "POST",
683
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3067-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3067-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
683
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3067-dev-4", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3067-dev-4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
684
684
  contentType: "application/json",
685
685
  requestType: "json",
686
686
  body: serializers.api.thera.tp.WithdrawalTheraCash.jsonOrThrow(request, {
@@ -78,7 +78,7 @@ class UserApi {
78
78
  const _response = yield core.fetcher({
79
79
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `company/${encodeURIComponent(companyId)}/user/${encodeURIComponent(userId)}`),
80
80
  method: "POST",
81
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3067-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3067-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
81
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3067-dev-4", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3067-dev-4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
82
82
  contentType: "application/json",
83
83
  requestType: "json",
84
84
  body: serializers.api.thera.user.SetUserComplianceSettingsRequest.jsonOrThrow(request, {
@@ -139,7 +139,7 @@ class UserApi {
139
139
  const _response = yield core.fetcher({
140
140
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `company/${encodeURIComponent(companyId)}/user`),
141
141
  method: "GET",
142
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3067-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3067-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
142
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3067-dev-4", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3067-dev-4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
143
143
  contentType: "application/json",
144
144
  queryParameters: _queryParams,
145
145
  requestType: "json",
@@ -197,7 +197,7 @@ class UserApi {
197
197
  const _response = yield core.fetcher({
198
198
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "user"),
199
199
  method: "GET",
200
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3067-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3067-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
200
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3067-dev-4", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3067-dev-4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
201
201
  contentType: "application/json",
202
202
  queryParameters: _queryParams,
203
203
  requestType: "json",
@@ -16,6 +16,8 @@ export interface W2Payroll {
16
16
  numberOfEmployeesToMigrate?: number;
17
17
  /** double check if this is still needed */
18
18
  payFrequency: TheraApi.db.CompanyPayFrequency;
19
+ /** Check Pay Schedule IDs by Thera User ID */
20
+ checkPayScheduleIdByUserId: Record<string, Set<string>>;
19
21
  lastSubscriptionPayDate: string;
20
22
  autopilotOn: boolean;
21
23
  activePaymentMethodId?: string;
@@ -2,3 +2,6 @@ export * as offcycleApi from "./offcycleApi";
2
2
  export * from "./offcycleApi/types";
3
3
  export * as oncycleApi from "./oncycleApi";
4
4
  export * from "./oncycleApi/types";
5
+ export * as payscheduleApi from "./payscheduleApi";
6
+ export * from "./payscheduleApi/types";
7
+ export * from "./payscheduleApi/client/requests";
@@ -36,8 +36,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.oncycleApi = exports.offcycleApi = void 0;
39
+ exports.payscheduleApi = exports.oncycleApi = exports.offcycleApi = void 0;
40
40
  exports.offcycleApi = __importStar(require("./offcycleApi"));
41
41
  __exportStar(require("./offcycleApi/types"), exports);
42
42
  exports.oncycleApi = __importStar(require("./oncycleApi"));
43
43
  __exportStar(require("./oncycleApi/types"), exports);
44
+ exports.payscheduleApi = __importStar(require("./payscheduleApi"));
45
+ __exportStar(require("./payscheduleApi/types"), exports);
46
+ __exportStar(require("./payscheduleApi/client/requests"), exports);
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../../../../index";
5
+ import * as TheraApi from "../../../../../../../../../../api/index";
6
+ import * as core from "../../../../../../../../../../core";
7
+ import { OnCycleChecksResponse } from "../types/OnCycleChecksResponse";
8
+ export declare const Response: core.serialization.Schema<serializers.api.thera.payroll.oncycleApi.getOnCycleCheckDetails.Response.Raw, TheraApi.api.thera.payroll.OnCycleChecksResponse | undefined>;
9
+ export declare namespace Response {
10
+ type Raw = OnCycleChecksResponse.Raw | null | undefined;
11
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.Response = void 0;
7
+ const OnCycleChecksResponse_1 = require("../types/OnCycleChecksResponse");
8
+ exports.Response = OnCycleChecksResponse_1.OnCycleChecksResponse.optional();
@@ -5,7 +5,7 @@ import * as serializers from "../../../../../../../../../index";
5
5
  import * as TheraApi from "../../../../../../../../../../api/index";
6
6
  import * as core from "../../../../../../../../../../core";
7
7
  import { OnCycleChecksResponse } from "../types/OnCycleChecksResponse";
8
- export declare const Response: core.serialization.Schema<serializers.api.thera.payroll.oncycleApi.getOnCycleChecks.Response.Raw, TheraApi.api.thera.payroll.OnCycleChecksResponse | undefined>;
8
+ export declare const Response: core.serialization.Schema<serializers.api.thera.payroll.oncycleApi.getOnCycleChecks.Response.Raw, TheraApi.api.thera.payroll.OnCycleChecksResponse[]>;
9
9
  export declare namespace Response {
10
- type Raw = OnCycleChecksResponse.Raw | null | undefined;
10
+ type Raw = OnCycleChecksResponse.Raw[];
11
11
  }
@@ -2,7 +2,41 @@
2
2
  /**
3
3
  * This file was auto-generated by Fern from our API Definition.
4
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 () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
5
38
  Object.defineProperty(exports, "__esModule", { value: true });
6
39
  exports.Response = void 0;
40
+ const core = __importStar(require("../../../../../../../../../../core"));
7
41
  const OnCycleChecksResponse_1 = require("../types/OnCycleChecksResponse");
8
- exports.Response = OnCycleChecksResponse_1.OnCycleChecksResponse.optional();
42
+ exports.Response = core.serialization.list(OnCycleChecksResponse_1.OnCycleChecksResponse);
@@ -1 +1,2 @@
1
1
  export * as getOnCycleChecks from "./getOnCycleChecks";
2
+ export * as getOnCycleCheckDetails from "./getOnCycleCheckDetails";
@@ -33,5 +33,6 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.getOnCycleChecks = void 0;
36
+ exports.getOnCycleCheckDetails = exports.getOnCycleChecks = void 0;
37
37
  exports.getOnCycleChecks = __importStar(require("./getOnCycleChecks"));
38
+ exports.getOnCycleCheckDetails = __importStar(require("./getOnCycleCheckDetails"));
@@ -7,6 +7,7 @@ import * as core from "../../../../../../../../../../core";
7
7
  export declare const OnCycleChecksResponse: core.serialization.ObjectSchema<serializers.api.thera.payroll.OnCycleChecksResponse.Raw, TheraApi.api.thera.payroll.OnCycleChecksResponse>;
8
8
  export declare namespace OnCycleChecksResponse {
9
9
  interface Raw {
10
+ checkPayrollId: string;
10
11
  checkPayrollStatus: string;
11
12
  checkItemPayDate: string;
12
13
  checkItemIdByContractId: Record<string, string>;
@@ -39,6 +39,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.OnCycleChecksResponse = void 0;
40
40
  const core = __importStar(require("../../../../../../../../../../core"));
41
41
  exports.OnCycleChecksResponse = core.serialization.object({
42
+ checkPayrollId: core.serialization.string(),
42
43
  checkPayrollStatus: core.serialization.string(),
43
44
  checkItemPayDate: core.serialization.string(),
44
45
  checkItemIdByContractId: core.serialization.record(core.serialization.string(), core.serialization.string()),
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../../../../index";
5
+ import * as TheraApi from "../../../../../../../../../../api/index";
6
+ import * as core from "../../../../../../../../../../core";
7
+ import { GetPaySchedulePaydaysResponse } from "../types/GetPaySchedulePaydaysResponse";
8
+ export declare const Response: core.serialization.Schema<serializers.api.thera.payroll.payscheduleApi.getSomePaySchedulePaydays.Response.Raw, TheraApi.api.thera.payroll.GetPaySchedulePaydaysResponse[]>;
9
+ export declare namespace Response {
10
+ type Raw = GetPaySchedulePaydaysResponse.Raw[];
11
+ }
@@ -0,0 +1,42 @@
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 () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.Response = void 0;
40
+ const core = __importStar(require("../../../../../../../../../../core"));
41
+ const GetPaySchedulePaydaysResponse_1 = require("../types/GetPaySchedulePaydaysResponse");
42
+ exports.Response = core.serialization.list(GetPaySchedulePaydaysResponse_1.GetPaySchedulePaydaysResponse);
@@ -0,0 +1,3 @@
1
+ export * as listW2PaySchedules from "./listW2PaySchedules";
2
+ export * as getSomePaySchedulePaydays from "./getSomePaySchedulePaydays";
3
+ export * from "./requests";
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
+ };
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.getSomePaySchedulePaydays = exports.listW2PaySchedules = void 0;
40
+ exports.listW2PaySchedules = __importStar(require("./listW2PaySchedules"));
41
+ exports.getSomePaySchedulePaydays = __importStar(require("./getSomePaySchedulePaydays"));
42
+ __exportStar(require("./requests"), exports);
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../../../../index";
5
+ import * as TheraApi from "../../../../../../../../../../api/index";
6
+ import * as core from "../../../../../../../../../../core";
7
+ import { GetPayScheduleResponse } from "../types/GetPayScheduleResponse";
8
+ export declare const Response: core.serialization.Schema<serializers.api.thera.payroll.payscheduleApi.listW2PaySchedules.Response.Raw, TheraApi.api.thera.payroll.GetPayScheduleResponse[]>;
9
+ export declare namespace Response {
10
+ type Raw = GetPayScheduleResponse.Raw[];
11
+ }
@@ -0,0 +1,42 @@
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 () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.Response = void 0;
40
+ const core = __importStar(require("../../../../../../../../../../core"));
41
+ const GetPayScheduleResponse_1 = require("../types/GetPayScheduleResponse");
42
+ exports.Response = core.serialization.list(GetPayScheduleResponse_1.GetPayScheduleResponse);
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../../../../../index";
5
+ import * as TheraApi from "../../../../../../../../../../../api/index";
6
+ import * as core from "../../../../../../../../../../../core";
7
+ export declare const AssignW2EmployeeToPayScheduleRequest: core.serialization.Schema<serializers.api.thera.payroll.AssignW2EmployeeToPayScheduleRequest.Raw, TheraApi.api.thera.payroll.AssignW2EmployeeToPayScheduleRequest>;
8
+ export declare namespace AssignW2EmployeeToPayScheduleRequest {
9
+ interface Raw {
10
+ checkPayScheduleIdByUserId: Record<string, string>;
11
+ }
12
+ }
@@ -0,0 +1,43 @@
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 () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.AssignW2EmployeeToPayScheduleRequest = void 0;
40
+ const core = __importStar(require("../../../../../../../../../../../core"));
41
+ exports.AssignW2EmployeeToPayScheduleRequest = core.serialization.object({
42
+ checkPayScheduleIdByUserId: core.serialization.record(core.serialization.string(), core.serialization.string()),
43
+ });
@@ -0,0 +1,18 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../../../../../index";
5
+ import * as TheraApi from "../../../../../../../../../../../api/index";
6
+ import * as core from "../../../../../../../../../../../core";
7
+ import { PaySchedulePayFrequency } from "../../types/PaySchedulePayFrequency";
8
+ export declare const CreatePayScheduleRequest: core.serialization.Schema<serializers.api.thera.payroll.CreatePayScheduleRequest.Raw, TheraApi.api.thera.payroll.CreatePayScheduleRequest>;
9
+ export declare namespace CreatePayScheduleRequest {
10
+ interface Raw {
11
+ name: string;
12
+ payFrequency: PaySchedulePayFrequency.Raw;
13
+ firstPayDate: string;
14
+ secondPayDate?: string | null;
15
+ firstPeriodEndDate: string;
16
+ autopilotEnabled: boolean;
17
+ }
18
+ }
@@ -0,0 +1,49 @@
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 () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.CreatePayScheduleRequest = void 0;
40
+ const core = __importStar(require("../../../../../../../../../../../core"));
41
+ const PaySchedulePayFrequency_1 = require("../../types/PaySchedulePayFrequency");
42
+ exports.CreatePayScheduleRequest = core.serialization.object({
43
+ name: core.serialization.string(),
44
+ payFrequency: PaySchedulePayFrequency_1.PaySchedulePayFrequency,
45
+ firstPayDate: core.serialization.string(),
46
+ secondPayDate: core.serialization.string().optional(),
47
+ firstPeriodEndDate: core.serialization.string(),
48
+ autopilotEnabled: core.serialization.boolean(),
49
+ });
@@ -0,0 +1,19 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../../../../../index";
5
+ import * as TheraApi from "../../../../../../../../../../../api/index";
6
+ import * as core from "../../../../../../../../../../../core";
7
+ import { PaySchedulePayFrequency } from "../../types/PaySchedulePayFrequency";
8
+ import { CheckPayScheduleMetadata } from "../../types/CheckPayScheduleMetadata";
9
+ export declare const UpdatePayScheduleRequest: core.serialization.Schema<serializers.api.thera.payroll.UpdatePayScheduleRequest.Raw, TheraApi.api.thera.payroll.UpdatePayScheduleRequest>;
10
+ export declare namespace UpdatePayScheduleRequest {
11
+ interface Raw {
12
+ name?: string | null;
13
+ payFrequency?: PaySchedulePayFrequency.Raw | null;
14
+ firstPeriodEndDate?: string | null;
15
+ firstPayDate?: string | null;
16
+ secondPayDate?: string | null;
17
+ metadata?: CheckPayScheduleMetadata.Raw | null;
18
+ }
19
+ }