@thera-hr/api-sdk 0.0.4273 → 0.0.3283728

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 (301) hide show
  1. package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  2. package/api/resources/api/resources/index.d.ts +1 -0
  3. package/api/resources/api/resources/index.js +2 -1
  4. package/api/resources/api/resources/oneschema/index.d.ts +1 -0
  5. package/api/resources/api/resources/oneschema/index.js +17 -0
  6. package/api/resources/api/resources/oneschema/resources/index.d.ts +2 -0
  7. package/api/resources/api/resources/oneschema/resources/index.js +31 -0
  8. package/api/resources/api/resources/oneschema/resources/model/index.d.ts +1 -0
  9. package/api/resources/api/resources/oneschema/resources/model/index.js +17 -0
  10. package/api/resources/api/resources/{thera/resources/disbursement/resources/disbursementApi/types/CreateInvoiceCsvColumn.d.ts → oneschema/resources/model/types/OneSchemaCsvColumn.d.ts} +1 -1
  11. package/api/resources/api/resources/oneschema/resources/model/types/index.d.ts +1 -0
  12. package/api/resources/api/resources/oneschema/resources/model/types/index.js +17 -0
  13. package/api/resources/api/resources/services/resources/file/client/Client.js +4 -4
  14. package/api/resources/api/resources/thera/client/Client.d.ts +3 -0
  15. package/api/resources/api/resources/thera/client/Client.js +17 -12
  16. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +2 -0
  17. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +107 -19
  18. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInDetailsResponse.d.ts +18 -0
  19. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.d.ts +7 -0
  20. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.js +5 -0
  21. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricalInvoice.d.ts +24 -0
  22. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricalInvoice.js +5 -0
  23. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricalPayIn.d.ts +10 -0
  24. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricalPayIn.js +5 -0
  25. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodsRequest.d.ts +1 -0
  26. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +4 -0
  27. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +4 -0
  28. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +13 -13
  29. package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +1 -1
  30. package/api/resources/api/resources/thera/resources/contractor/client/Client.d.ts +17 -0
  31. package/api/resources/api/resources/thera/resources/contractor/client/Client.js +17 -0
  32. package/api/resources/api/resources/thera/resources/contractor/client/index.d.ts +1 -0
  33. package/api/resources/api/resources/thera/resources/contractor/client/index.js +2 -0
  34. package/api/resources/api/resources/thera/resources/contractor/index.d.ts +2 -0
  35. package/api/resources/api/resources/thera/resources/contractor/index.js +18 -0
  36. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.d.ts +17 -0
  37. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +101 -0
  38. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/index.d.ts +1 -0
  39. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/index.js +17 -0
  40. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/requests/CreateContractorsCsvRequest.d.ts +8 -0
  41. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/requests/CreateContractorsCsvRequest.js +5 -0
  42. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/requests/index.d.ts +1 -0
  43. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/requests/index.js +2 -0
  44. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/index.d.ts +2 -0
  45. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/index.js +18 -0
  46. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/CreateContractorsCsvRecord.d.ts +24 -0
  47. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/CreateContractorsCsvRecord.js +5 -0
  48. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/InvoiceCycle.d.ts +10 -0
  49. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/InvoiceCycle.js +12 -0
  50. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/PaymentFrequency.d.ts +10 -0
  51. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/PaymentFrequency.js +12 -0
  52. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/index.d.ts +3 -0
  53. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/index.js +19 -0
  54. package/api/resources/api/resources/thera/resources/contractor/resources/index.d.ts +3 -0
  55. package/api/resources/api/resources/thera/resources/contractor/resources/index.js +32 -0
  56. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +3 -3
  57. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/requests/CreateInvoiceCsvRequest.d.ts +1 -1
  58. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/index.d.ts +0 -1
  59. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/index.js +0 -1
  60. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  61. package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +1 -1
  62. package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +3 -3
  63. package/api/resources/api/resources/thera/resources/index.d.ts +1 -0
  64. package/api/resources/api/resources/thera/resources/index.js +2 -1
  65. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +1 -1
  66. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +1 -1
  67. package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +1 -1
  68. package/api/resources/db/resources/company/types/PayCycleType.d.ts +10 -0
  69. package/api/resources/db/resources/company/types/PayCycleType.js +12 -0
  70. package/api/resources/db/resources/company/types/Team.d.ts +1 -1
  71. package/api/resources/db/resources/company/types/index.d.ts +1 -0
  72. package/api/resources/db/resources/company/types/index.js +1 -0
  73. package/api/resources/db/resources/generic/types/GenericType.d.ts +0 -5
  74. package/api/resources/db/resources/index.d.ts +2 -0
  75. package/api/resources/db/resources/index.js +3 -1
  76. package/api/resources/db/resources/invoice/index.d.ts +1 -0
  77. package/api/resources/db/resources/invoice/index.js +17 -0
  78. package/api/resources/db/resources/invoice/types/InvoiceType.d.ts +13 -0
  79. package/api/resources/db/resources/invoice/types/InvoiceType.js +15 -0
  80. package/api/resources/db/resources/invoice/types/index.d.ts +1 -0
  81. package/api/resources/db/resources/invoice/types/index.js +17 -0
  82. package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  83. package/dist/api/resources/api/resources/index.d.ts +1 -0
  84. package/dist/api/resources/api/resources/index.js +2 -1
  85. package/dist/api/resources/api/resources/oneschema/index.d.ts +1 -0
  86. package/dist/api/resources/api/resources/oneschema/index.js +17 -0
  87. package/dist/api/resources/api/resources/oneschema/resources/index.d.ts +2 -0
  88. package/dist/api/resources/api/resources/oneschema/resources/index.js +31 -0
  89. package/dist/api/resources/api/resources/oneschema/resources/model/index.d.ts +1 -0
  90. package/dist/api/resources/api/resources/oneschema/resources/model/index.js +17 -0
  91. package/dist/api/resources/api/resources/{thera/resources/disbursement/resources/disbursementApi/types/CreateInvoiceCsvColumn.d.ts → oneschema/resources/model/types/OneSchemaCsvColumn.d.ts} +1 -1
  92. package/dist/api/resources/api/resources/oneschema/resources/model/types/OneSchemaCsvColumn.js +5 -0
  93. package/dist/api/resources/api/resources/oneschema/resources/model/types/index.d.ts +1 -0
  94. package/dist/api/resources/api/resources/oneschema/resources/model/types/index.js +17 -0
  95. package/dist/api/resources/api/resources/services/resources/file/client/Client.js +4 -4
  96. package/dist/api/resources/api/resources/thera/client/Client.d.ts +3 -0
  97. package/dist/api/resources/api/resources/thera/client/Client.js +17 -12
  98. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +2 -0
  99. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +107 -19
  100. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInDetailsResponse.d.ts +18 -0
  101. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInDetailsResponse.js +5 -0
  102. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.d.ts +7 -0
  103. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.js +5 -0
  104. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricalInvoice.d.ts +24 -0
  105. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricalInvoice.js +5 -0
  106. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricalPayIn.d.ts +10 -0
  107. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricalPayIn.js +5 -0
  108. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodsRequest.d.ts +1 -0
  109. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +4 -0
  110. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +4 -0
  111. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +13 -13
  112. package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +1 -1
  113. package/dist/api/resources/api/resources/thera/resources/contractor/client/Client.d.ts +17 -0
  114. package/dist/api/resources/api/resources/thera/resources/contractor/client/Client.js +17 -0
  115. package/dist/api/resources/api/resources/thera/resources/contractor/client/index.d.ts +1 -0
  116. package/dist/api/resources/api/resources/thera/resources/contractor/client/index.js +2 -0
  117. package/dist/api/resources/api/resources/thera/resources/contractor/index.d.ts +2 -0
  118. package/dist/api/resources/api/resources/thera/resources/contractor/index.js +18 -0
  119. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.d.ts +17 -0
  120. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +101 -0
  121. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/index.d.ts +1 -0
  122. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/index.js +17 -0
  123. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/requests/CreateContractorsCsvRequest.d.ts +8 -0
  124. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/requests/CreateContractorsCsvRequest.js +5 -0
  125. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/requests/index.d.ts +1 -0
  126. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/requests/index.js +2 -0
  127. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/index.d.ts +2 -0
  128. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/index.js +18 -0
  129. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/CreateContractorsCsvRecord.d.ts +24 -0
  130. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/CreateContractorsCsvRecord.js +5 -0
  131. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/InvoiceCycle.d.ts +10 -0
  132. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/InvoiceCycle.js +12 -0
  133. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/PaymentFrequency.d.ts +10 -0
  134. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/PaymentFrequency.js +12 -0
  135. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/index.d.ts +3 -0
  136. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/index.js +19 -0
  137. package/dist/api/resources/api/resources/thera/resources/contractor/resources/index.d.ts +3 -0
  138. package/dist/api/resources/api/resources/thera/resources/contractor/resources/index.js +32 -0
  139. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +3 -3
  140. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/requests/CreateInvoiceCsvRequest.d.ts +1 -1
  141. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/index.d.ts +0 -1
  142. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/index.js +0 -1
  143. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  144. package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +1 -1
  145. package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +3 -3
  146. package/dist/api/resources/api/resources/thera/resources/index.d.ts +1 -0
  147. package/dist/api/resources/api/resources/thera/resources/index.js +2 -1
  148. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +1 -1
  149. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +1 -1
  150. package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +1 -1
  151. package/dist/api/resources/db/resources/company/types/PayCycleType.d.ts +10 -0
  152. package/dist/api/resources/db/resources/company/types/PayCycleType.js +12 -0
  153. package/dist/api/resources/db/resources/company/types/Team.d.ts +1 -1
  154. package/dist/api/resources/db/resources/company/types/index.d.ts +1 -0
  155. package/dist/api/resources/db/resources/company/types/index.js +1 -0
  156. package/dist/api/resources/db/resources/generic/types/GenericType.d.ts +0 -5
  157. package/dist/api/resources/db/resources/index.d.ts +2 -0
  158. package/dist/api/resources/db/resources/index.js +3 -1
  159. package/dist/api/resources/db/resources/invoice/index.d.ts +1 -0
  160. package/dist/api/resources/db/resources/invoice/index.js +17 -0
  161. package/dist/api/resources/db/resources/invoice/types/InvoiceType.d.ts +13 -0
  162. package/dist/api/resources/db/resources/invoice/types/InvoiceType.js +15 -0
  163. package/dist/api/resources/db/resources/invoice/types/index.d.ts +1 -0
  164. package/dist/api/resources/db/resources/invoice/types/index.js +17 -0
  165. package/dist/serialization/resources/api/resources/index.d.ts +1 -0
  166. package/dist/serialization/resources/api/resources/index.js +2 -1
  167. package/dist/serialization/resources/api/resources/oneschema/index.d.ts +1 -0
  168. package/dist/serialization/resources/api/resources/oneschema/index.js +17 -0
  169. package/dist/serialization/resources/api/resources/oneschema/resources/index.d.ts +2 -0
  170. package/dist/serialization/resources/api/resources/oneschema/resources/index.js +31 -0
  171. package/dist/serialization/resources/api/resources/oneschema/resources/model/index.d.ts +1 -0
  172. package/dist/serialization/resources/api/resources/oneschema/resources/model/index.js +17 -0
  173. package/dist/serialization/resources/api/resources/oneschema/resources/model/types/OneSchemaCsvColumn.d.ts +16 -0
  174. package/dist/serialization/resources/api/resources/{thera/resources/disbursement/resources/disbursementApi/types/CreateInvoiceCsvColumn.js → oneschema/resources/model/types/OneSchemaCsvColumn.js} +3 -3
  175. package/dist/serialization/resources/api/resources/oneschema/resources/model/types/index.d.ts +1 -0
  176. package/dist/serialization/resources/api/resources/oneschema/resources/model/types/index.js +17 -0
  177. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInDetailsResponse.d.ts +22 -0
  178. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInDetailsResponse.js +52 -0
  179. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.d.ts +12 -0
  180. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.js +42 -0
  181. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricalInvoice.d.ts +29 -0
  182. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricalInvoice.js +59 -0
  183. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricalPayIn.d.ts +16 -0
  184. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricalPayIn.js +37 -0
  185. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodsRequest.d.ts +1 -0
  186. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodsRequest.js +1 -0
  187. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +4 -0
  188. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +4 -0
  189. package/dist/serialization/resources/api/resources/thera/resources/contractor/index.d.ts +1 -0
  190. package/dist/serialization/resources/api/resources/thera/resources/contractor/index.js +17 -0
  191. package/dist/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/index.d.ts +1 -0
  192. package/dist/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/index.js +17 -0
  193. package/dist/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/requests/CreateContractorsCsvRequest.d.ts +13 -0
  194. package/dist/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/requests/CreateContractorsCsvRequest.js +43 -0
  195. package/dist/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/requests/index.d.ts +1 -0
  196. package/dist/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/requests/index.js +5 -0
  197. package/dist/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/index.d.ts +2 -0
  198. package/dist/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/index.js +18 -0
  199. package/dist/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/CreateContractorsCsvRecord.d.ts +29 -0
  200. package/dist/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/CreateContractorsCsvRecord.js +61 -0
  201. package/dist/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/InvoiceCycle.d.ts +10 -0
  202. package/dist/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/InvoiceCycle.js +31 -0
  203. package/dist/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/PaymentFrequency.d.ts +10 -0
  204. package/dist/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/PaymentFrequency.js +31 -0
  205. package/dist/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/index.d.ts +3 -0
  206. package/dist/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/index.js +19 -0
  207. package/dist/serialization/resources/api/resources/thera/resources/contractor/resources/index.d.ts +3 -0
  208. package/dist/serialization/resources/api/resources/thera/resources/contractor/resources/index.js +32 -0
  209. package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/requests/CreateInvoiceCsvRequest.d.ts +1 -1
  210. package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/requests/CreateInvoiceCsvRequest.js +1 -1
  211. package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/index.d.ts +0 -1
  212. package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/index.js +0 -1
  213. package/dist/serialization/resources/api/resources/thera/resources/index.d.ts +1 -0
  214. package/dist/serialization/resources/api/resources/thera/resources/index.js +2 -1
  215. package/dist/serialization/resources/db/resources/company/types/PayCycleType.d.ts +10 -0
  216. package/dist/serialization/resources/db/resources/company/types/PayCycleType.js +31 -0
  217. package/dist/serialization/resources/db/resources/company/types/Team.d.ts +1 -1
  218. package/dist/serialization/resources/db/resources/company/types/Team.js +1 -1
  219. package/dist/serialization/resources/db/resources/company/types/index.d.ts +1 -0
  220. package/dist/serialization/resources/db/resources/company/types/index.js +1 -0
  221. package/dist/serialization/resources/db/resources/generic/types/GenericType.d.ts +0 -1
  222. package/dist/serialization/resources/db/resources/generic/types/GenericType.js +0 -1
  223. package/dist/serialization/resources/db/resources/index.d.ts +2 -0
  224. package/dist/serialization/resources/db/resources/index.js +3 -1
  225. package/dist/serialization/resources/db/resources/invoice/index.d.ts +1 -0
  226. package/dist/serialization/resources/db/resources/invoice/index.js +17 -0
  227. package/dist/serialization/resources/db/resources/invoice/types/InvoiceType.d.ts +10 -0
  228. package/dist/serialization/resources/db/resources/invoice/types/InvoiceType.js +31 -0
  229. package/dist/serialization/resources/db/resources/invoice/types/index.d.ts +1 -0
  230. package/dist/serialization/resources/db/resources/invoice/types/index.js +17 -0
  231. package/package.json +1 -1
  232. package/serialization/resources/api/resources/index.d.ts +1 -0
  233. package/serialization/resources/api/resources/index.js +2 -1
  234. package/serialization/resources/api/resources/oneschema/index.d.ts +1 -0
  235. package/serialization/resources/api/resources/oneschema/index.js +17 -0
  236. package/serialization/resources/api/resources/oneschema/resources/index.d.ts +2 -0
  237. package/serialization/resources/api/resources/oneschema/resources/index.js +31 -0
  238. package/serialization/resources/api/resources/oneschema/resources/model/index.d.ts +1 -0
  239. package/serialization/resources/api/resources/oneschema/resources/model/index.js +17 -0
  240. package/serialization/resources/api/resources/oneschema/resources/model/types/OneSchemaCsvColumn.d.ts +16 -0
  241. package/serialization/resources/api/resources/{thera/resources/disbursement/resources/disbursementApi/types/CreateInvoiceCsvColumn.js → oneschema/resources/model/types/OneSchemaCsvColumn.js} +3 -3
  242. package/serialization/resources/api/resources/oneschema/resources/model/types/index.d.ts +1 -0
  243. package/serialization/resources/api/resources/oneschema/resources/model/types/index.js +17 -0
  244. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInDetailsResponse.d.ts +22 -0
  245. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInDetailsResponse.js +52 -0
  246. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.d.ts +12 -0
  247. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.js +42 -0
  248. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricalInvoice.d.ts +29 -0
  249. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricalInvoice.js +59 -0
  250. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricalPayIn.d.ts +16 -0
  251. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/HistoricalPayIn.js +37 -0
  252. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodsRequest.d.ts +1 -0
  253. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/WithdrawalMethodsRequest.js +1 -0
  254. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +4 -0
  255. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +4 -0
  256. package/serialization/resources/api/resources/thera/resources/contractor/index.d.ts +1 -0
  257. package/serialization/resources/api/resources/thera/resources/contractor/index.js +17 -0
  258. package/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/index.d.ts +1 -0
  259. package/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/index.js +17 -0
  260. package/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/requests/CreateContractorsCsvRequest.d.ts +13 -0
  261. package/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/requests/CreateContractorsCsvRequest.js +43 -0
  262. package/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/requests/index.d.ts +1 -0
  263. package/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/requests/index.js +5 -0
  264. package/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/index.d.ts +2 -0
  265. package/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/index.js +18 -0
  266. package/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/CreateContractorsCsvRecord.d.ts +29 -0
  267. package/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/CreateContractorsCsvRecord.js +61 -0
  268. package/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/InvoiceCycle.d.ts +10 -0
  269. package/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/InvoiceCycle.js +31 -0
  270. package/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/PaymentFrequency.d.ts +10 -0
  271. package/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/PaymentFrequency.js +31 -0
  272. package/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/index.d.ts +3 -0
  273. package/serialization/resources/api/resources/thera/resources/contractor/resources/contractorApi/types/index.js +19 -0
  274. package/serialization/resources/api/resources/thera/resources/contractor/resources/index.d.ts +3 -0
  275. package/serialization/resources/api/resources/thera/resources/contractor/resources/index.js +32 -0
  276. package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/requests/CreateInvoiceCsvRequest.d.ts +1 -1
  277. package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/requests/CreateInvoiceCsvRequest.js +1 -1
  278. package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/index.d.ts +0 -1
  279. package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/index.js +0 -1
  280. package/serialization/resources/api/resources/thera/resources/index.d.ts +1 -0
  281. package/serialization/resources/api/resources/thera/resources/index.js +2 -1
  282. package/serialization/resources/db/resources/company/types/PayCycleType.d.ts +10 -0
  283. package/serialization/resources/db/resources/company/types/PayCycleType.js +31 -0
  284. package/serialization/resources/db/resources/company/types/Team.d.ts +1 -1
  285. package/serialization/resources/db/resources/company/types/Team.js +1 -1
  286. package/serialization/resources/db/resources/company/types/index.d.ts +1 -0
  287. package/serialization/resources/db/resources/company/types/index.js +1 -0
  288. package/serialization/resources/db/resources/generic/types/GenericType.d.ts +0 -1
  289. package/serialization/resources/db/resources/generic/types/GenericType.js +0 -1
  290. package/serialization/resources/db/resources/index.d.ts +2 -0
  291. package/serialization/resources/db/resources/index.js +3 -1
  292. package/serialization/resources/db/resources/invoice/index.d.ts +1 -0
  293. package/serialization/resources/db/resources/invoice/index.js +17 -0
  294. package/serialization/resources/db/resources/invoice/types/InvoiceType.d.ts +10 -0
  295. package/serialization/resources/db/resources/invoice/types/InvoiceType.js +31 -0
  296. package/serialization/resources/db/resources/invoice/types/index.d.ts +1 -0
  297. package/serialization/resources/db/resources/invoice/types/index.js +17 -0
  298. package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateInvoiceCsvColumn.d.ts +0 -16
  299. package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateInvoiceCsvColumn.d.ts +0 -16
  300. /package/api/resources/api/resources/{thera/resources/disbursement/resources/disbursementApi/types/CreateInvoiceCsvColumn.js → oneschema/resources/model/types/OneSchemaCsvColumn.js} +0 -0
  301. /package/{dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/CreateInvoiceCsvColumn.js → api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInDetailsResponse.js} +0 -0
@@ -59,7 +59,7 @@ class EmploymentApi {
59
59
  Authorization: yield this._getAuthorizationHeader(),
60
60
  "X-Fern-Language": "JavaScript",
61
61
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
62
- "X-Fern-SDK-Version": "0.0.4273",
62
+ "X-Fern-SDK-Version": "0.0.3283728",
63
63
  },
64
64
  contentType: "application/json",
65
65
  body: yield serializers.api.thera.employment.CreateContractEstimateRequest.jsonOrThrow(request, {
@@ -109,7 +109,7 @@ class EmploymentApi {
109
109
  Authorization: yield this._getAuthorizationHeader(),
110
110
  "X-Fern-Language": "JavaScript",
111
111
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
112
- "X-Fern-SDK-Version": "0.0.4273",
112
+ "X-Fern-SDK-Version": "0.0.3283728",
113
113
  },
114
114
  contentType: "application/json",
115
115
  timeoutMs: 60000,
@@ -156,7 +156,7 @@ class EmploymentApi {
156
156
  Authorization: yield this._getAuthorizationHeader(),
157
157
  "X-Fern-Language": "JavaScript",
158
158
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
159
- "X-Fern-SDK-Version": "0.0.4273",
159
+ "X-Fern-SDK-Version": "0.0.3283728",
160
160
  },
161
161
  contentType: "application/json",
162
162
  timeoutMs: 60000,
@@ -1,6 +1,7 @@
1
1
  export * as bank from "./bank";
2
2
  export * as common from "./common";
3
3
  export * as company from "./company";
4
+ export * as contractor from "./contractor";
4
5
  export * as disbursement from "./disbursement";
5
6
  export * as email from "./email";
6
7
  export * as employment from "./employment";
@@ -23,10 +23,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.user = exports.payroll = exports.misc = exports.employment = exports.email = exports.disbursement = exports.company = exports.common = exports.bank = void 0;
26
+ exports.user = exports.payroll = exports.misc = exports.employment = exports.email = exports.disbursement = exports.contractor = exports.company = exports.common = exports.bank = void 0;
27
27
  exports.bank = __importStar(require("./bank"));
28
28
  exports.common = __importStar(require("./common"));
29
29
  exports.company = __importStar(require("./company"));
30
+ exports.contractor = __importStar(require("./contractor"));
30
31
  exports.disbursement = __importStar(require("./disbursement"));
31
32
  exports.email = __importStar(require("./email"));
32
33
  exports.employment = __importStar(require("./employment"));
@@ -61,7 +61,7 @@ class Misc {
61
61
  Authorization: yield this._getAuthorizationHeader(),
62
62
  "X-Fern-Language": "JavaScript",
63
63
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
64
- "X-Fern-SDK-Version": "0.0.4273",
64
+ "X-Fern-SDK-Version": "0.0.3283728",
65
65
  "Thera-Webhook-Signature-Header": theraWebhookSignatureHeader,
66
66
  },
67
67
  contentType: "application/json",
@@ -59,7 +59,7 @@ class OncycleApi {
59
59
  Authorization: yield this._getAuthorizationHeader(),
60
60
  "X-Fern-Language": "JavaScript",
61
61
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
62
- "X-Fern-SDK-Version": "0.0.4273",
62
+ "X-Fern-SDK-Version": "0.0.3283728",
63
63
  },
64
64
  contentType: "application/json",
65
65
  timeoutMs: 60000,
@@ -63,7 +63,7 @@ class UserApi {
63
63
  Authorization: yield this._getAuthorizationHeader(),
64
64
  "X-Fern-Language": "JavaScript",
65
65
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
66
- "X-Fern-SDK-Version": "0.0.4273",
66
+ "X-Fern-SDK-Version": "0.0.3283728",
67
67
  },
68
68
  contentType: "application/json",
69
69
  queryParameters: _queryParams,
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type PayCycleType = "WEEKLY" | "BIWEEKLY" | "SEMIMONTHLY" | "MONTHLY";
5
+ export declare const PayCycleType: {
6
+ readonly Weekly: "WEEKLY";
7
+ readonly Biweekly: "BIWEEKLY";
8
+ readonly Semimonthly: "SEMIMONTHLY";
9
+ readonly Monthly: "MONTHLY";
10
+ };
@@ -0,0 +1,12 @@
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.PayCycleType = void 0;
7
+ exports.PayCycleType = {
8
+ Weekly: "WEEKLY",
9
+ Biweekly: "BIWEEKLY",
10
+ Semimonthly: "SEMIMONTHLY",
11
+ Monthly: "MONTHLY",
12
+ };
@@ -5,5 +5,5 @@ import * as TheraApi from "../../../../..";
5
5
  export interface Team {
6
6
  name: string;
7
7
  /** These pay cycles should be suggested to users in the UI when creating a contract with that `WageType`. */
8
- defaultPayCycles: Record<TheraApi.model.thera.WageType, TheraApi.db.DefaultPayCycle | undefined>;
8
+ defaultPayCycles: Record<TheraApi.db.PayCycleType, TheraApi.db.DefaultPayCycle | undefined>;
9
9
  }
@@ -1,5 +1,6 @@
1
1
  export * from "./Company";
2
2
  export * from "./Team";
3
+ export * from "./PayCycleType";
3
4
  export * from "./DefaultPayCycle";
4
5
  export * from "./BankAccountResponseMetadata";
5
6
  export * from "./CompanySettings";
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./Company"), exports);
18
18
  __exportStar(require("./Team"), exports);
19
+ __exportStar(require("./PayCycleType"), exports);
19
20
  __exportStar(require("./DefaultPayCycle"), exports);
20
21
  __exportStar(require("./BankAccountResponseMetadata"), exports);
21
22
  __exportStar(require("./CompanySettings"), exports);
@@ -5,9 +5,4 @@ import * as TheraApi from "../../../../..";
5
5
  export interface GenericType {
6
6
  key: TheraApi.db.GenericTypeKey;
7
7
  fxLedgerAccountIdByCurrency: Record<string, string>;
8
- /**
9
- * In prod, this list is used to determine which users should be able to create new accounts. This prevents unknown people from coming in and snooping on our platform. If a user tries to create an account that is not on this allow list, the FE should prompt them to set up a meeting with Thera.
10
- *
11
- */
12
- createAccountEmailAllowList: Set<string>;
13
8
  }
@@ -6,5 +6,7 @@ export * as employment from "./employment";
6
6
  export * from "./employment/types";
7
7
  export * as generic from "./generic";
8
8
  export * from "./generic/types";
9
+ export * as invoice from "./invoice";
10
+ export * from "./invoice/types";
9
11
  export * as user from "./user";
10
12
  export * from "./user/types";
@@ -26,7 +26,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
26
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.user = exports.generic = exports.employment = exports.contract = exports.company = void 0;
29
+ exports.user = exports.invoice = exports.generic = exports.employment = exports.contract = exports.company = void 0;
30
30
  exports.company = __importStar(require("./company"));
31
31
  __exportStar(require("./company/types"), exports);
32
32
  exports.contract = __importStar(require("./contract"));
@@ -35,5 +35,7 @@ exports.employment = __importStar(require("./employment"));
35
35
  __exportStar(require("./employment/types"), exports);
36
36
  exports.generic = __importStar(require("./generic"));
37
37
  __exportStar(require("./generic/types"), exports);
38
+ exports.invoice = __importStar(require("./invoice"));
39
+ __exportStar(require("./invoice/types"), exports);
38
40
  exports.user = __importStar(require("./user"));
39
41
  __exportStar(require("./user/types"), exports);
@@ -0,0 +1 @@
1
+ export * from "./types";
@@ -0,0 +1,17 @@
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);
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type InvoiceType = "INVOICE" | "MILESTONE" | "EXPENSE" | "BONUS" | "COMMISSION" | "OTHER" | "OVERTIME";
5
+ export declare const InvoiceType: {
6
+ readonly Invoice: "INVOICE";
7
+ readonly Milestone: "MILESTONE";
8
+ readonly Expense: "EXPENSE";
9
+ readonly Bonus: "BONUS";
10
+ readonly Commission: "COMMISSION";
11
+ readonly Other: "OTHER";
12
+ readonly Overtime: "OVERTIME";
13
+ };
@@ -0,0 +1,15 @@
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.InvoiceType = void 0;
7
+ exports.InvoiceType = {
8
+ Invoice: "INVOICE",
9
+ Milestone: "MILESTONE",
10
+ Expense: "EXPENSE",
11
+ Bonus: "BONUS",
12
+ Commission: "COMMISSION",
13
+ Other: "OTHER",
14
+ Overtime: "OVERTIME",
15
+ };
@@ -0,0 +1 @@
1
+ export * from "./InvoiceType";
@@ -0,0 +1,17 @@
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("./InvoiceType"), exports);
@@ -59,7 +59,7 @@ class AipriseWebhookApi {
59
59
  Authorization: yield this._getAuthorizationHeader(),
60
60
  "X-Fern-Language": "JavaScript",
61
61
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
62
- "X-Fern-SDK-Version": "0.0.4273",
62
+ "X-Fern-SDK-Version": "0.0.3283728",
63
63
  },
64
64
  contentType: "application/json",
65
65
  body: yield serializers.api.aiprise.AiPriseVerificationCallback.jsonOrThrow(request, {
@@ -1,4 +1,5 @@
1
1
  export * as aiprise from "./aiprise";
2
+ export * as oneschema from "./oneschema";
2
3
  export * as request from "./request";
3
4
  export * as response from "./response";
4
5
  export * as services from "./services";
@@ -23,8 +23,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.zeal = exports.thera = exports.services = exports.response = exports.request = exports.aiprise = void 0;
26
+ exports.zeal = exports.thera = exports.services = exports.response = exports.request = exports.oneschema = exports.aiprise = void 0;
27
27
  exports.aiprise = __importStar(require("./aiprise"));
28
+ exports.oneschema = __importStar(require("./oneschema"));
28
29
  exports.request = __importStar(require("./request"));
29
30
  exports.response = __importStar(require("./response"));
30
31
  exports.services = __importStar(require("./services"));
@@ -0,0 +1 @@
1
+ export * from "./resources";
@@ -0,0 +1,17 @@
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("./resources"), exports);
@@ -0,0 +1,2 @@
1
+ export * as model from "./model";
2
+ export * from "./model/types";
@@ -0,0 +1,31 @@
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 (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.model = void 0;
30
+ exports.model = __importStar(require("./model"));
31
+ __exportStar(require("./model/types"), exports);
@@ -0,0 +1 @@
1
+ export * from "./types";
@@ -0,0 +1,17 @@
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);
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export interface CreateInvoiceCsvColumn {
4
+ export interface OneSchemaCsvColumn {
5
5
  sheetColumnName: string;
6
6
  templateColumnName: string;
7
7
  templateColumnKey: string;
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export * from "./OneSchemaCsvColumn";
@@ -0,0 +1,17 @@
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("./OneSchemaCsvColumn"), exports);
@@ -56,7 +56,7 @@ class File_ {
56
56
  Authorization: yield this._getAuthorizationHeader(),
57
57
  "X-Fern-Language": "JavaScript",
58
58
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
59
- "X-Fern-SDK-Version": "0.0.4273",
59
+ "X-Fern-SDK-Version": "0.0.3283728",
60
60
  },
61
61
  contentType: "application/json",
62
62
  body: yield serializers.api.services.AttachDocumentToEmploymentRequest.jsonOrThrow(request, {
@@ -97,7 +97,7 @@ class File_ {
97
97
  Authorization: yield this._getAuthorizationHeader(),
98
98
  "X-Fern-Language": "JavaScript",
99
99
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
100
- "X-Fern-SDK-Version": "0.0.4273",
100
+ "X-Fern-SDK-Version": "0.0.3283728",
101
101
  },
102
102
  contentType: "application/json",
103
103
  body: yield serializers.api.services.DeleteDocumentFromEmploymentRequest.jsonOrThrow(request, {
@@ -138,7 +138,7 @@ class File_ {
138
138
  Authorization: yield this._getAuthorizationHeader(),
139
139
  "X-Fern-Language": "JavaScript",
140
140
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
141
- "X-Fern-SDK-Version": "0.0.4273",
141
+ "X-Fern-SDK-Version": "0.0.3283728",
142
142
  },
143
143
  contentType: "application/json",
144
144
  timeoutMs: 60000,
@@ -182,7 +182,7 @@ class File_ {
182
182
  Authorization: yield this._getAuthorizationHeader(),
183
183
  "X-Fern-Language": "JavaScript",
184
184
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
185
- "X-Fern-SDK-Version": "0.0.4273",
185
+ "X-Fern-SDK-Version": "0.0.3283728",
186
186
  },
187
187
  contentType: "application/json",
188
188
  timeoutMs: 60000,
@@ -4,6 +4,7 @@
4
4
  import * as core from "../../../../../../core";
5
5
  import { Bank } from "../resources/bank/client/Client";
6
6
  import { Company } from "../resources/company/client/Client";
7
+ import { Contractor } from "../resources/contractor/client/Client";
7
8
  import { Disbursement } from "../resources/disbursement/client/Client";
8
9
  import { Email } from "../resources/email/client/Client";
9
10
  import { Employment } from "../resources/employment/client/Client";
@@ -23,6 +24,8 @@ export declare class Thera {
23
24
  get bank(): Bank;
24
25
  protected _company: Company | undefined;
25
26
  get company(): Company;
27
+ protected _contractor: Contractor | undefined;
28
+ get contractor(): Contractor;
26
29
  protected _disbursement: Disbursement | undefined;
27
30
  get disbursement(): Disbursement;
28
31
  protected _email: Email | undefined;
@@ -6,12 +6,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.Thera = void 0;
7
7
  const Client_1 = require("../resources/bank/client/Client");
8
8
  const Client_2 = require("../resources/company/client/Client");
9
- const Client_3 = require("../resources/disbursement/client/Client");
10
- const Client_4 = require("../resources/email/client/Client");
11
- const Client_5 = require("../resources/employment/client/Client");
12
- const Client_6 = require("../resources/misc/client/Client");
13
- const Client_7 = require("../resources/payroll/client/Client");
14
- const Client_8 = require("../resources/user/client/Client");
9
+ const Client_3 = require("../resources/contractor/client/Client");
10
+ const Client_4 = require("../resources/disbursement/client/Client");
11
+ const Client_5 = require("../resources/email/client/Client");
12
+ const Client_6 = require("../resources/employment/client/Client");
13
+ const Client_7 = require("../resources/misc/client/Client");
14
+ const Client_8 = require("../resources/payroll/client/Client");
15
+ const Client_9 = require("../resources/user/client/Client");
15
16
  class Thera {
16
17
  constructor(_options) {
17
18
  this._options = _options;
@@ -24,29 +25,33 @@ class Thera {
24
25
  var _a;
25
26
  return ((_a = this._company) !== null && _a !== void 0 ? _a : (this._company = new Client_2.Company(this._options)));
26
27
  }
28
+ get contractor() {
29
+ var _a;
30
+ return ((_a = this._contractor) !== null && _a !== void 0 ? _a : (this._contractor = new Client_3.Contractor(this._options)));
31
+ }
27
32
  get disbursement() {
28
33
  var _a;
29
- return ((_a = this._disbursement) !== null && _a !== void 0 ? _a : (this._disbursement = new Client_3.Disbursement(this._options)));
34
+ return ((_a = this._disbursement) !== null && _a !== void 0 ? _a : (this._disbursement = new Client_4.Disbursement(this._options)));
30
35
  }
31
36
  get email() {
32
37
  var _a;
33
- return ((_a = this._email) !== null && _a !== void 0 ? _a : (this._email = new Client_4.Email(this._options)));
38
+ return ((_a = this._email) !== null && _a !== void 0 ? _a : (this._email = new Client_5.Email(this._options)));
34
39
  }
35
40
  get employment() {
36
41
  var _a;
37
- return ((_a = this._employment) !== null && _a !== void 0 ? _a : (this._employment = new Client_5.Employment(this._options)));
42
+ return ((_a = this._employment) !== null && _a !== void 0 ? _a : (this._employment = new Client_6.Employment(this._options)));
38
43
  }
39
44
  get misc() {
40
45
  var _a;
41
- return ((_a = this._misc) !== null && _a !== void 0 ? _a : (this._misc = new Client_6.Misc(this._options)));
46
+ return ((_a = this._misc) !== null && _a !== void 0 ? _a : (this._misc = new Client_7.Misc(this._options)));
42
47
  }
43
48
  get payroll() {
44
49
  var _a;
45
- return ((_a = this._payroll) !== null && _a !== void 0 ? _a : (this._payroll = new Client_7.Payroll(this._options)));
50
+ return ((_a = this._payroll) !== null && _a !== void 0 ? _a : (this._payroll = new Client_8.Payroll(this._options)));
46
51
  }
47
52
  get user() {
48
53
  var _a;
49
- return ((_a = this._user) !== null && _a !== void 0 ? _a : (this._user = new Client_8.User(this._options)));
54
+ return ((_a = this._user) !== null && _a !== void 0 ? _a : (this._user = new Client_9.User(this._options)));
50
55
  }
51
56
  }
52
57
  exports.Thera = Thera;
@@ -58,6 +58,8 @@ export declare class BankApi {
58
58
  initiateWorkerWithdrawal(userId: string, companyId: string, request: TheraApi.api.thera.bank.InitiateWorkerWithdrawalRequest): Promise<TheraApi.api.thera.bank.InitiateWorkerWithdrawalResponse>;
59
59
  getWorkerBalance(userId: string, companyId: string): Promise<TheraApi.api.thera.bank.GetWorkerBalancesResponse>;
60
60
  getWorkerTransactions(userId: string, companyId: string): Promise<TheraApi.api.thera.bank.GetWorkerTransactionsResponse>;
61
+ getPayInHistory(companyId: string): Promise<TheraApi.api.thera.bank.GetPayInHistoryResponse>;
62
+ getPayInDetails(companyId: string, payInId: string): Promise<TheraApi.api.thera.bank.GetPayInDetailsResponse>;
61
63
  getCurrencyConversion(request: TheraApi.api.thera.bank.GetCurrencyConversionRequest): Promise<TheraApi.api.thera.bank.GetCurrencyConversionResponse>;
62
64
  setAutoWithdrawals(userId: string, companyId: string, request: TheraApi.api.thera.bank.SetAutoWithdrawalRequest): Promise<TheraApi.api.thera.bank.SetAutoWithdrawalResponse>;
63
65
  createStripePaymentMethodFromPlaid(request?: TheraApi.api.thera.bank.CreateStripePaymentMethodFromPlaidRequest): Promise<void>;