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

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 (212) 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.d.ts +1 -27
  7. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +35 -155
  8. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetPayInHistoryRequest.d.ts +1 -5
  9. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.d.ts +0 -1
  10. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.d.ts +0 -1
  11. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -1
  12. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -1
  13. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +24 -24
  14. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  15. package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  16. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  17. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  18. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  19. package/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  20. package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  21. package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  22. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
  23. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +7 -7
  24. package/api/resources/api/resources/thera/resources/payroll/client/Client.d.ts +3 -0
  25. package/api/resources/api/resources/thera/resources/payroll/client/Client.js +5 -0
  26. package/api/resources/api/resources/thera/resources/payroll/resources/index.d.ts +3 -0
  27. package/api/resources/api/resources/thera/resources/payroll/resources/index.js +4 -1
  28. package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  29. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.d.ts +18 -5
  30. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +66 -11
  31. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.d.ts +1 -0
  32. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.d.ts +114 -0
  33. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +411 -0
  34. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +1 -0
  35. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.js +17 -0
  36. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.d.ts +14 -0
  37. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.d.ts +22 -0
  38. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +25 -0
  39. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.d.ts +3 -0
  40. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.js +2 -0
  41. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.d.ts +2 -0
  42. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.js +18 -0
  43. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.d.ts +6 -0
  44. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.d.ts +14 -0
  45. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js +5 -0
  46. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +14 -0
  47. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js +5 -0
  48. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +10 -0
  49. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js +12 -0
  50. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +4 -0
  51. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.js +20 -0
  52. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  53. package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  54. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
  55. package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  56. package/api/resources/db/resources/company/types/W2Payroll.d.ts +2 -0
  57. package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  58. package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  59. package/dist/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
  60. package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  61. package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  62. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +1 -27
  63. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +35 -155
  64. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetPayInHistoryRequest.d.ts +1 -5
  65. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.d.ts +0 -1
  66. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.d.ts +0 -1
  67. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -1
  68. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -1
  69. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +24 -24
  70. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  71. package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  72. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  73. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  74. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  75. package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  76. package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  77. package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  78. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
  79. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +7 -7
  80. package/dist/api/resources/api/resources/thera/resources/payroll/client/Client.d.ts +3 -0
  81. package/dist/api/resources/api/resources/thera/resources/payroll/client/Client.js +5 -0
  82. package/dist/api/resources/api/resources/thera/resources/payroll/resources/index.d.ts +3 -0
  83. package/dist/api/resources/api/resources/thera/resources/payroll/resources/index.js +4 -1
  84. package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  85. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.d.ts +18 -5
  86. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +66 -11
  87. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.d.ts +1 -0
  88. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.d.ts +114 -0
  89. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +411 -0
  90. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +1 -0
  91. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.js +17 -0
  92. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.d.ts +14 -0
  93. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js +5 -0
  94. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.d.ts +22 -0
  95. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js +5 -0
  96. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +25 -0
  97. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js +5 -0
  98. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.d.ts +3 -0
  99. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.js +2 -0
  100. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.d.ts +2 -0
  101. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.js +18 -0
  102. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.d.ts +6 -0
  103. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js +5 -0
  104. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.d.ts +14 -0
  105. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js +5 -0
  106. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +14 -0
  107. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js +5 -0
  108. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +10 -0
  109. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js +12 -0
  110. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +4 -0
  111. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.js +20 -0
  112. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  113. package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  114. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
  115. package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  116. package/dist/api/resources/db/resources/company/types/W2Payroll.d.ts +2 -0
  117. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.d.ts +0 -1
  118. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.js +0 -1
  119. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -1
  120. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -1
  121. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/index.d.ts +3 -0
  122. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/index.js +4 -1
  123. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.d.ts +11 -0
  124. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.js +8 -0
  125. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleChecks.d.ts +2 -2
  126. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleChecks.js +35 -1
  127. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.d.ts +1 -0
  128. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.js +2 -1
  129. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.d.ts +1 -0
  130. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.js +1 -0
  131. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +2 -0
  132. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.js +41 -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 +17 -0
  138. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js +48 -0
  139. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +18 -0
  140. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js +49 -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/GetPayScheduleResponse.d.ts +20 -0
  150. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js +51 -0
  151. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +10 -0
  152. package/dist/serialization/resources/api/resources/thera/resources/{bank/resources/bankApi/types/GetPayInCountResponse.js → payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js} +2 -4
  153. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +4 -0
  154. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.js +20 -0
  155. package/dist/serialization/resources/db/resources/company/types/W2Payroll.d.ts +1 -0
  156. package/dist/serialization/resources/db/resources/company/types/W2Payroll.js +1 -0
  157. package/dist/version.d.ts +1 -1
  158. package/dist/version.js +1 -1
  159. package/package.json +1 -1
  160. package/reference.md +537 -151
  161. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.d.ts +0 -1
  162. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.js +0 -1
  163. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -1
  164. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -1
  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/index.d.ts +2 -0
  176. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.js +41 -0
  177. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.d.ts +11 -0
  178. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.js +42 -0
  179. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.d.ts +12 -0
  180. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js +43 -0
  181. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.d.ts +17 -0
  182. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js +48 -0
  183. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +18 -0
  184. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js +49 -0
  185. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.d.ts +3 -0
  186. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.js +9 -0
  187. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.d.ts +2 -0
  188. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.js +18 -0
  189. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.d.ts +12 -0
  190. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js +43 -0
  191. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.d.ts +20 -0
  192. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js +51 -0
  193. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +20 -0
  194. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js +51 -0
  195. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +10 -0
  196. package/serialization/resources/api/resources/thera/resources/{bank/resources/bankApi/types/GetPayInCountResponse.js → payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js} +2 -4
  197. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +4 -0
  198. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.js +20 -0
  199. package/serialization/resources/db/resources/company/types/W2Payroll.d.ts +1 -0
  200. package/serialization/resources/db/resources/company/types/W2Payroll.js +1 -0
  201. package/version.d.ts +1 -1
  202. package/version.js +1 -1
  203. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetPaymentByTypeRequest.d.ts +0 -12
  204. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInCountResponse.d.ts +0 -6
  205. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetPaymentByTypeRequest.d.ts +0 -12
  206. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInCountResponse.d.ts +0 -6
  207. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInCountResponse.d.ts +0 -12
  208. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInCountResponse.d.ts +0 -12
  209. /package/api/resources/api/resources/thera/resources/{bank/resources/bankApi/client/requests/GetPaymentByTypeRequest.js → payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js} +0 -0
  210. /package/api/resources/api/resources/thera/resources/{bank/resources/bankApi/types/GetPayInCountResponse.js → payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js} +0 -0
  211. /package/{dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetPaymentByTypeRequest.js → api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js} +0 -0
  212. /package/{dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInCountResponse.js → api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js} +0 -0
@@ -11,6 +11,5 @@ export declare namespace GetPayInHistoryResponse {
11
11
  interface Raw {
12
12
  history: HistoricalPayIn.Raw[];
13
13
  payments: HistoricPayment.Raw[];
14
- nextCursor?: string | null;
15
14
  }
16
15
  }
@@ -43,5 +43,4 @@ const HistoricPayment_1 = require("./HistoricPayment");
43
43
  exports.GetPayInHistoryResponse = core.serialization.object({
44
44
  history: core.serialization.list(HistoricalPayIn_1.HistoricalPayIn),
45
45
  payments: core.serialization.list(HistoricPayment_1.HistoricPayment),
46
- nextCursor: core.serialization.string().optional(),
47
46
  });
@@ -67,4 +67,3 @@ export * from "./GetBankAccountDetailsResponse";
67
67
  export * from "./SetAutoWithdrawalResponse";
68
68
  export * from "./WorkerTransactionStatus";
69
69
  export * from "./SetBulkAutoApproveInvoiceForTeamsRequest";
70
- export * from "./GetPayInCountResponse";
@@ -83,4 +83,3 @@ __exportStar(require("./GetBankAccountDetailsResponse"), exports);
83
83
  __exportStar(require("./SetAutoWithdrawalResponse"), exports);
84
84
  __exportStar(require("./WorkerTransactionStatus"), exports);
85
85
  __exportStar(require("./SetBulkAutoApproveInvoiceForTeamsRequest"), exports);
86
- __exportStar(require("./GetPayInCountResponse"), exports);
@@ -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,2 @@
1
+ export * as listW2PaySchedules from "./listW2PaySchedules";
2
+ export * from "./requests";
@@ -0,0 +1,41 @@
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.listW2PaySchedules = void 0;
40
+ exports.listW2PaySchedules = __importStar(require("./listW2PaySchedules"));
41
+ __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,17 @@
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
+ }
17
+ }
@@ -0,0 +1,48 @@
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
+ });
@@ -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 UpdatePayScheduleRequest: core.serialization.Schema<serializers.api.thera.payroll.UpdatePayScheduleRequest.Raw, TheraApi.api.thera.payroll.UpdatePayScheduleRequest>;
9
+ export declare namespace UpdatePayScheduleRequest {
10
+ interface Raw {
11
+ name: string;
12
+ payFrequency: PaySchedulePayFrequency.Raw;
13
+ firstPeriodEndDate: string;
14
+ firstPayDate: string;
15
+ secondPayDate?: string | null;
16
+ metadata?: unknown;
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.UpdatePayScheduleRequest = void 0;
40
+ const core = __importStar(require("../../../../../../../../../../../core"));
41
+ const PaySchedulePayFrequency_1 = require("../../types/PaySchedulePayFrequency");
42
+ exports.UpdatePayScheduleRequest = core.serialization.object({
43
+ name: core.serialization.string(),
44
+ payFrequency: PaySchedulePayFrequency_1.PaySchedulePayFrequency,
45
+ firstPeriodEndDate: core.serialization.string(),
46
+ firstPayDate: core.serialization.string(),
47
+ secondPayDate: core.serialization.string().optional(),
48
+ metadata: core.serialization.unknown(),
49
+ });
@@ -0,0 +1,3 @@
1
+ export { CreatePayScheduleRequest } from "./CreatePayScheduleRequest";
2
+ export { UpdatePayScheduleRequest } from "./UpdatePayScheduleRequest";
3
+ export { AssignW2EmployeeToPayScheduleRequest } from "./AssignW2EmployeeToPayScheduleRequest";
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AssignW2EmployeeToPayScheduleRequest = exports.UpdatePayScheduleRequest = exports.CreatePayScheduleRequest = void 0;
4
+ var CreatePayScheduleRequest_1 = require("./CreatePayScheduleRequest");
5
+ Object.defineProperty(exports, "CreatePayScheduleRequest", { enumerable: true, get: function () { return CreatePayScheduleRequest_1.CreatePayScheduleRequest; } });
6
+ var UpdatePayScheduleRequest_1 = require("./UpdatePayScheduleRequest");
7
+ Object.defineProperty(exports, "UpdatePayScheduleRequest", { enumerable: true, get: function () { return UpdatePayScheduleRequest_1.UpdatePayScheduleRequest; } });
8
+ var AssignW2EmployeeToPayScheduleRequest_1 = require("./AssignW2EmployeeToPayScheduleRequest");
9
+ Object.defineProperty(exports, "AssignW2EmployeeToPayScheduleRequest", { enumerable: true, get: function () { return AssignW2EmployeeToPayScheduleRequest_1.AssignW2EmployeeToPayScheduleRequest; } });
@@ -0,0 +1,2 @@
1
+ export * from "./types";
2
+ export * from "./client";
@@ -0,0 +1,18 @@
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./types"), exports);
18
+ __exportStar(require("./client"), exports);
@@ -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 AssignW2EmployeeToPayScheduleResponse: core.serialization.ObjectSchema<serializers.api.thera.payroll.AssignW2EmployeeToPayScheduleResponse.Raw, TheraApi.api.thera.payroll.AssignW2EmployeeToPayScheduleResponse>;
8
+ export declare namespace AssignW2EmployeeToPayScheduleResponse {
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.AssignW2EmployeeToPayScheduleResponse = void 0;
40
+ const core = __importStar(require("../../../../../../../../../../core"));
41
+ exports.AssignW2EmployeeToPayScheduleResponse = core.serialization.object({
42
+ checkPayScheduleIdByUserId: core.serialization.record(core.serialization.string(), core.serialization.string()),
43
+ });
@@ -0,0 +1,20 @@
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 "./PaySchedulePayFrequency";
8
+ export declare const CheckGetPayScheduleResponse: core.serialization.ObjectSchema<serializers.api.thera.payroll.CheckGetPayScheduleResponse.Raw, TheraApi.api.thera.payroll.CheckGetPayScheduleResponse>;
9
+ export declare namespace CheckGetPayScheduleResponse {
10
+ interface Raw {
11
+ id: string;
12
+ company: string;
13
+ name: string;
14
+ pay_frequency: PaySchedulePayFrequency.Raw;
15
+ first_payday: string;
16
+ second_payday?: string | null;
17
+ first_period_end: string;
18
+ metadata?: unknown;
19
+ }
20
+ }
@@ -0,0 +1,51 @@
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.CheckGetPayScheduleResponse = void 0;
40
+ const core = __importStar(require("../../../../../../../../../../core"));
41
+ const PaySchedulePayFrequency_1 = require("./PaySchedulePayFrequency");
42
+ exports.CheckGetPayScheduleResponse = core.serialization.object({
43
+ id: core.serialization.string(),
44
+ company: core.serialization.string(),
45
+ name: core.serialization.string(),
46
+ payFrequency: core.serialization.property("pay_frequency", PaySchedulePayFrequency_1.PaySchedulePayFrequency),
47
+ firstPayday: core.serialization.property("first_payday", core.serialization.string()),
48
+ secondPayday: core.serialization.property("second_payday", core.serialization.string().optional()),
49
+ firstPeriodEnd: core.serialization.property("first_period_end", core.serialization.string()),
50
+ metadata: core.serialization.unknown(),
51
+ });