@thera-hr/api-sdk 0.0.1-prerelease3038-dev-anthony → 0.0.1-prerelease3044-dev-2

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 (218) 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 +27 -1
  7. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +155 -35
  8. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetPayInHistoryRequest.d.ts +5 -1
  9. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetPaymentByTypeRequest.d.ts +12 -0
  10. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.d.ts +1 -0
  11. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInCountResponse.d.ts +6 -0
  12. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.d.ts +1 -0
  13. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +1 -0
  14. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +1 -0
  15. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +24 -24
  16. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  17. package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  18. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  19. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  20. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  21. package/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  22. package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  23. package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  24. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
  25. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +7 -7
  26. package/api/resources/api/resources/thera/resources/payroll/client/Client.d.ts +0 -3
  27. package/api/resources/api/resources/thera/resources/payroll/client/Client.js +0 -5
  28. package/api/resources/api/resources/thera/resources/payroll/resources/index.d.ts +0 -3
  29. package/api/resources/api/resources/thera/resources/payroll/resources/index.js +1 -4
  30. package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  31. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.d.ts +5 -18
  32. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +11 -66
  33. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.d.ts +0 -1
  34. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  35. package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  36. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
  37. package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  38. package/api/resources/db/resources/company/types/W2Payroll.d.ts +0 -2
  39. package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  40. package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  41. package/dist/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
  42. package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  43. package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  44. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +27 -1
  45. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +155 -35
  46. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetPayInHistoryRequest.d.ts +5 -1
  47. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetPaymentByTypeRequest.d.ts +12 -0
  48. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.d.ts +1 -0
  49. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInCountResponse.d.ts +6 -0
  50. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.d.ts +1 -0
  51. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +1 -0
  52. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +1 -0
  53. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +24 -24
  54. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  55. package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  56. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  57. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  58. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  59. package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  60. package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  61. package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  62. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
  63. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +7 -7
  64. package/dist/api/resources/api/resources/thera/resources/payroll/client/Client.d.ts +0 -3
  65. package/dist/api/resources/api/resources/thera/resources/payroll/client/Client.js +0 -5
  66. package/dist/api/resources/api/resources/thera/resources/payroll/resources/index.d.ts +0 -3
  67. package/dist/api/resources/api/resources/thera/resources/payroll/resources/index.js +1 -4
  68. package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  69. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.d.ts +5 -18
  70. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +11 -66
  71. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.d.ts +0 -1
  72. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  73. package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  74. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
  75. package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  76. package/dist/api/resources/db/resources/company/types/W2Payroll.d.ts +0 -2
  77. package/{serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.d.ts → dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInCountResponse.d.ts} +3 -3
  78. package/dist/serialization/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js → bank/resources/bankApi/types/GetPayInCountResponse.js} +4 -2
  79. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.d.ts +1 -0
  80. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.js +1 -0
  81. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +1 -0
  82. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +1 -0
  83. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/index.d.ts +0 -3
  84. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/index.js +1 -4
  85. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleChecks.d.ts +2 -2
  86. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleChecks.js +1 -35
  87. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.d.ts +0 -1
  88. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.js +1 -2
  89. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.d.ts +0 -1
  90. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.js +0 -1
  91. package/dist/serialization/resources/db/resources/company/types/W2Payroll.d.ts +0 -1
  92. package/dist/serialization/resources/db/resources/company/types/W2Payroll.js +0 -1
  93. package/dist/version.d.ts +1 -1
  94. package/dist/version.js +1 -1
  95. package/package.json +1 -1
  96. package/reference.md +151 -537
  97. package/{dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.d.ts → serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInCountResponse.d.ts} +3 -3
  98. package/serialization/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js → bank/resources/bankApi/types/GetPayInCountResponse.js} +4 -2
  99. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.d.ts +1 -0
  100. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.js +1 -0
  101. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +1 -0
  102. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +1 -0
  103. package/serialization/resources/api/resources/thera/resources/payroll/resources/index.d.ts +0 -3
  104. package/serialization/resources/api/resources/thera/resources/payroll/resources/index.js +1 -4
  105. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleChecks.d.ts +2 -2
  106. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleChecks.js +1 -35
  107. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.d.ts +0 -1
  108. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/index.js +1 -2
  109. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.d.ts +0 -1
  110. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/types/OnCycleChecksResponse.js +0 -1
  111. package/serialization/resources/db/resources/company/types/W2Payroll.d.ts +0 -1
  112. package/serialization/resources/db/resources/company/types/W2Payroll.js +0 -1
  113. package/version.d.ts +1 -1
  114. package/version.js +1 -1
  115. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.d.ts +0 -114
  116. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +0 -411
  117. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +0 -1
  118. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.js +0 -17
  119. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.d.ts +0 -14
  120. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.d.ts +0 -22
  121. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +0 -25
  122. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.d.ts +0 -3
  123. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.js +0 -2
  124. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.d.ts +0 -2
  125. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.js +0 -18
  126. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.d.ts +0 -6
  127. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.d.ts +0 -14
  128. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js +0 -5
  129. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.d.ts +0 -7
  130. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.js +0 -5
  131. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +0 -14
  132. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js +0 -5
  133. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +0 -10
  134. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js +0 -12
  135. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +0 -5
  136. package/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.js +0 -21
  137. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.d.ts +0 -114
  138. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/Client.js +0 -411
  139. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +0 -1
  140. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.js +0 -17
  141. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.d.ts +0 -14
  142. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js +0 -5
  143. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.d.ts +0 -22
  144. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js +0 -5
  145. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +0 -25
  146. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js +0 -5
  147. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.d.ts +0 -3
  148. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.js +0 -2
  149. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.d.ts +0 -2
  150. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.js +0 -18
  151. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.d.ts +0 -6
  152. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js +0 -5
  153. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.d.ts +0 -14
  154. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js +0 -5
  155. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.d.ts +0 -7
  156. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.js +0 -5
  157. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +0 -14
  158. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js +0 -5
  159. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +0 -10
  160. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.js +0 -12
  161. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +0 -5
  162. package/dist/api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.js +0 -21
  163. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.d.ts +0 -11
  164. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.js +0 -8
  165. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +0 -2
  166. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.js +0 -41
  167. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.d.ts +0 -11
  168. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.js +0 -42
  169. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.d.ts +0 -12
  170. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js +0 -43
  171. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.d.ts +0 -17
  172. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js +0 -48
  173. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +0 -19
  174. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js +0 -50
  175. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.d.ts +0 -3
  176. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.js +0 -9
  177. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.d.ts +0 -2
  178. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.js +0 -18
  179. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.d.ts +0 -12
  180. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js +0 -43
  181. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.d.ts +0 -20
  182. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js +0 -51
  183. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.js +0 -43
  184. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +0 -20
  185. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js +0 -51
  186. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +0 -10
  187. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +0 -5
  188. package/dist/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.js +0 -21
  189. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.d.ts +0 -11
  190. package/serialization/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/getOnCycleCheckDetails.js +0 -8
  191. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.d.ts +0 -2
  192. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/index.js +0 -41
  193. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.d.ts +0 -11
  194. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/listW2PaySchedules.js +0 -42
  195. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.d.ts +0 -12
  196. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js +0 -43
  197. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.d.ts +0 -17
  198. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js +0 -48
  199. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.d.ts +0 -19
  200. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js +0 -50
  201. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.d.ts +0 -3
  202. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/index.js +0 -9
  203. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.d.ts +0 -2
  204. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/index.js +0 -18
  205. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.d.ts +0 -12
  206. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js +0 -43
  207. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.d.ts +0 -20
  208. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckGetPayScheduleResponse.js +0 -51
  209. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/CheckPayScheduleMetadata.js +0 -43
  210. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.d.ts +0 -20
  211. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/GetPayScheduleResponse.js +0 -51
  212. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/PaySchedulePayFrequency.d.ts +0 -10
  213. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.d.ts +0 -5
  214. package/serialization/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/index.js +0 -21
  215. /package/api/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi/client/requests/AssignW2EmployeeToPayScheduleRequest.js → bank/resources/bankApi/client/requests/GetPaymentByTypeRequest.js} +0 -0
  216. /package/api/resources/api/resources/thera/resources/{payroll/resources/payscheduleApi/client/requests/CreatePayScheduleRequest.js → bank/resources/bankApi/types/GetPayInCountResponse.js} +0 -0
  217. /package/{api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/client/requests/UpdatePayScheduleRequest.js → dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetPaymentByTypeRequest.js} +0 -0
  218. /package/{api/resources/api/resources/thera/resources/payroll/resources/payscheduleApi/types/AssignW2EmployeeToPayScheduleResponse.js → dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInCountResponse.js} +0 -0
@@ -4,9 +4,9 @@
4
4
  import * as serializers from "../../../../../../../../../index";
5
5
  import * as TheraApi from "../../../../../../../../../../api/index";
6
6
  import * as core from "../../../../../../../../../../core";
7
- export declare const CheckPayScheduleMetadata: core.serialization.ObjectSchema<serializers.api.thera.payroll.CheckPayScheduleMetadata.Raw, TheraApi.api.thera.payroll.CheckPayScheduleMetadata>;
8
- export declare namespace CheckPayScheduleMetadata {
7
+ export declare const GetPayInCountResponse: core.serialization.ObjectSchema<serializers.api.thera.bank.GetPayInCountResponse.Raw, TheraApi.api.thera.bank.GetPayInCountResponse>;
8
+ export declare namespace GetPayInCountResponse {
9
9
  interface Raw {
10
- deleted?: string | null;
10
+ totalCount: number;
11
11
  }
12
12
  }
@@ -36,6 +36,8 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.PaySchedulePayFrequency = void 0;
39
+ exports.GetPayInCountResponse = void 0;
40
40
  const core = __importStar(require("../../../../../../../../../../core"));
41
- exports.PaySchedulePayFrequency = core.serialization.enum_(["weekly", "biweekly", "semimonthly", "monthly"]);
41
+ exports.GetPayInCountResponse = core.serialization.object({
42
+ totalCount: core.serialization.number(),
43
+ });
@@ -11,5 +11,6 @@ export declare namespace GetPayInHistoryResponse {
11
11
  interface Raw {
12
12
  history: HistoricalPayIn.Raw[];
13
13
  payments: HistoricPayment.Raw[];
14
+ nextCursor?: string | null;
14
15
  }
15
16
  }
@@ -43,4 +43,5 @@ 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(),
46
47
  });
@@ -67,3 +67,4 @@ export * from "./GetBankAccountDetailsResponse";
67
67
  export * from "./SetAutoWithdrawalResponse";
68
68
  export * from "./WorkerTransactionStatus";
69
69
  export * from "./SetBulkAutoApproveInvoiceForTeamsRequest";
70
+ export * from "./GetPayInCountResponse";
@@ -83,3 +83,4 @@ __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,6 +2,3 @@ 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,11 +36,8 @@ 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.payscheduleApi = exports.oncycleApi = exports.offcycleApi = void 0;
39
+ 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);
@@ -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[]>;
8
+ export declare const Response: core.serialization.Schema<serializers.api.thera.payroll.oncycleApi.getOnCycleChecks.Response.Raw, TheraApi.api.thera.payroll.OnCycleChecksResponse | undefined>;
9
9
  export declare namespace Response {
10
- type Raw = OnCycleChecksResponse.Raw[];
10
+ type Raw = OnCycleChecksResponse.Raw | null | undefined;
11
11
  }
@@ -2,41 +2,7 @@
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
- })();
38
5
  Object.defineProperty(exports, "__esModule", { value: true });
39
6
  exports.Response = void 0;
40
- const core = __importStar(require("../../../../../../../../../../core"));
41
7
  const OnCycleChecksResponse_1 = require("../types/OnCycleChecksResponse");
42
- exports.Response = core.serialization.list(OnCycleChecksResponse_1.OnCycleChecksResponse);
8
+ exports.Response = OnCycleChecksResponse_1.OnCycleChecksResponse.optional();
@@ -1,2 +1 @@
1
1
  export * as getOnCycleChecks from "./getOnCycleChecks";
2
- export * as getOnCycleCheckDetails from "./getOnCycleCheckDetails";
@@ -33,6 +33,5 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.getOnCycleCheckDetails = exports.getOnCycleChecks = void 0;
36
+ exports.getOnCycleChecks = void 0;
37
37
  exports.getOnCycleChecks = __importStar(require("./getOnCycleChecks"));
38
- exports.getOnCycleCheckDetails = __importStar(require("./getOnCycleCheckDetails"));
@@ -7,7 +7,6 @@ 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;
11
10
  checkPayrollStatus: string;
12
11
  checkItemPayDate: string;
13
12
  checkItemIdByContractId: Record<string, string>;
@@ -39,7 +39,6 @@ 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(),
43
42
  checkPayrollStatus: core.serialization.string(),
44
43
  checkItemPayDate: core.serialization.string(),
45
44
  checkItemIdByContractId: core.serialization.record(core.serialization.string(), core.serialization.string()),
@@ -16,7 +16,6 @@ export declare namespace W2Payroll {
16
16
  migrationRequired: boolean;
17
17
  numberOfEmployeesToMigrate?: number | null;
18
18
  payFrequency: CompanyPayFrequency.Raw;
19
- checkPayScheduleIdByUserId: Record<string, string[]>;
20
19
  lastSubscriptionPayDate: string;
21
20
  autopilotOn: boolean;
22
21
  activePaymentMethodId?: string | null;
@@ -48,7 +48,6 @@ exports.W2Payroll = core.serialization.object({
48
48
  migrationRequired: core.serialization.boolean(),
49
49
  numberOfEmployeesToMigrate: core.serialization.number().optional(),
50
50
  payFrequency: CompanyPayFrequency_1.CompanyPayFrequency,
51
- checkPayScheduleIdByUserId: core.serialization.record(core.serialization.string(), core.serialization.set(core.serialization.string())),
52
51
  lastSubscriptionPayDate: core.serialization.string(),
53
52
  autopilotOn: core.serialization.boolean(),
54
53
  activePaymentMethodId: core.serialization.string().optional(),
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.0.1-prerelease3038-dev-anthony";
1
+ export declare const SDK_VERSION = "0.0.1-prerelease3044-dev-2";
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.0.1-prerelease3038-dev-anthony";
4
+ exports.SDK_VERSION = "0.0.1-prerelease3044-dev-2";
@@ -1,114 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as core from "../../../../../../../../../../core";
5
- import * as TheraApi from "../../../../../../../../../index";
6
- export declare namespace PayscheduleApi {
7
- interface Options {
8
- environment: core.Supplier<string>;
9
- /** Specify a custom URL to connect the client to. */
10
- baseUrl?: core.Supplier<string>;
11
- token?: core.Supplier<core.BearerToken | undefined>;
12
- }
13
- interface RequestOptions {
14
- /** The maximum time to wait for a response in seconds. */
15
- timeoutInSeconds?: number;
16
- /** The number of times to retry the request. Defaults to 2. */
17
- maxRetries?: number;
18
- /** A hook to abort the request. */
19
- abortSignal?: AbortSignal;
20
- /** Additional headers to include in the request. */
21
- headers?: Record<string, string>;
22
- }
23
- }
24
- export declare class PayscheduleApi {
25
- protected readonly _options: PayscheduleApi.Options;
26
- constructor(_options: PayscheduleApi.Options);
27
- /**
28
- *
29
- *
30
- * @param {string} companyId
31
- * @param {TheraApi.api.thera.payroll.CreatePayScheduleRequest} request
32
- * @param {PayscheduleApi.RequestOptions} requestOptions - Request-specific configuration.
33
- *
34
- * @example
35
- * await client.api.thera.payroll.payscheduleApi.createW2PaySchedule("string", {
36
- * name: "string",
37
- * payFrequency: "weekly",
38
- * firstPayDate: "2023-01-15",
39
- * secondPayDate: "2023-01-15",
40
- * firstPeriodEndDate: "2023-01-15"
41
- * })
42
- */
43
- createW2PaySchedule(companyId: string, request: TheraApi.api.thera.payroll.CreatePayScheduleRequest, requestOptions?: PayscheduleApi.RequestOptions): Promise<TheraApi.api.thera.payroll.GetPayScheduleResponse>;
44
- /**
45
- *
46
- *
47
- * @param {string} companyId
48
- * @param {string} checkPayScheduleId
49
- * @param {PayscheduleApi.RequestOptions} requestOptions - Request-specific configuration.
50
- *
51
- * @example
52
- * await client.api.thera.payroll.payscheduleApi.getW2PaySchedule("string", "string")
53
- */
54
- getW2PaySchedule(companyId: string, checkPayScheduleId: string, requestOptions?: PayscheduleApi.RequestOptions): Promise<TheraApi.api.thera.payroll.GetPayScheduleResponse>;
55
- /**
56
- *
57
- *
58
- * @param {string} companyId
59
- * @param {PayscheduleApi.RequestOptions} requestOptions - Request-specific configuration.
60
- *
61
- * @example
62
- * await client.api.thera.payroll.payscheduleApi.listW2PaySchedules("string")
63
- */
64
- listW2PaySchedules(companyId: string, requestOptions?: PayscheduleApi.RequestOptions): Promise<TheraApi.api.thera.payroll.GetPayScheduleResponse[]>;
65
- /**
66
- * Delete W2 Pay Schedule in Check by setting the metadata flag, as we can't delete Check W2 Pay Schedule by API. https://support.checkhq.com/hc/en-us/articles/24948436554263-Pay-Schedules
67
- *
68
- * @param {string} companyId
69
- * @param {string} checkPayScheduleId
70
- * @param {PayscheduleApi.RequestOptions} requestOptions - Request-specific configuration.
71
- *
72
- * @example
73
- * await client.api.thera.payroll.payscheduleApi.deleteW2PaySchedule("string", "string")
74
- */
75
- deleteW2PaySchedule(companyId: string, checkPayScheduleId: string, requestOptions?: PayscheduleApi.RequestOptions): Promise<void>;
76
- /**
77
- *
78
- *
79
- * @param {string} companyId
80
- * @param {string} checkPayScheduleId
81
- * @param {TheraApi.api.thera.payroll.UpdatePayScheduleRequest} request
82
- * @param {PayscheduleApi.RequestOptions} requestOptions - Request-specific configuration.
83
- *
84
- * @example
85
- * await client.api.thera.payroll.payscheduleApi.updateW2PaySchedule("string", "string", {
86
- * name: "string",
87
- * payFrequency: "weekly",
88
- * firstPeriodEndDate: "2023-01-15",
89
- * firstPayDate: "2023-01-15",
90
- * secondPayDate: "2023-01-15",
91
- * metadata: {
92
- * deleted: "string"
93
- * }
94
- * })
95
- */
96
- updateW2PaySchedule(companyId: string, checkPayScheduleId: string, request: TheraApi.api.thera.payroll.UpdatePayScheduleRequest, requestOptions?: PayscheduleApi.RequestOptions): Promise<TheraApi.api.thera.payroll.GetPayScheduleResponse>;
97
- /**
98
- * If user ID is not provided in the request, it'll use the old value in DB. The response body always return the schedules for all employees
99
- *
100
- * @param {string} companyId
101
- * @param {string} checkPayScheduleId
102
- * @param {TheraApi.api.thera.payroll.AssignW2EmployeeToPayScheduleRequest} request
103
- * @param {PayscheduleApi.RequestOptions} requestOptions - Request-specific configuration.
104
- *
105
- * @example
106
- * await client.api.thera.payroll.payscheduleApi.assignW2EmployeesPaySchedule("string", "string", {
107
- * checkPayScheduleIdByUserId: {
108
- * "string": "string"
109
- * }
110
- * })
111
- */
112
- assignW2EmployeesPaySchedule(companyId: string, checkPayScheduleId: string, request: TheraApi.api.thera.payroll.AssignW2EmployeeToPayScheduleRequest, requestOptions?: PayscheduleApi.RequestOptions): Promise<TheraApi.api.thera.payroll.AssignW2EmployeeToPayScheduleResponse>;
113
- protected _getAuthorizationHeader(): Promise<string | undefined>;
114
- }