@thera-hr/api-sdk 0.0.1-prerelease2885-dev-2 → 0.0.1-prerelease2885-dev

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/client/Client.d.ts +3 -0
  2. package/api/resources/api/client/Client.js +9 -4
  3. package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  4. package/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  5. package/api/resources/api/resources/external/client/Client.d.ts +19 -0
  6. package/api/resources/api/resources/external/client/Client.js +17 -0
  7. package/api/resources/api/resources/external/client/index.d.ts +1 -0
  8. package/api/resources/api/resources/external/client/index.js +2 -0
  9. package/api/resources/api/resources/external/index.d.ts +2 -0
  10. package/api/resources/api/resources/external/index.js +18 -0
  11. package/api/resources/api/resources/external/resources/externalApi/client/Client.d.ts +69 -0
  12. package/api/resources/api/resources/external/resources/externalApi/client/Client.js +156 -0
  13. package/api/resources/api/resources/external/resources/externalApi/client/index.d.ts +1 -0
  14. package/api/resources/api/resources/external/resources/externalApi/client/index.js +2 -0
  15. package/api/resources/api/resources/external/resources/externalApi/index.d.ts +2 -0
  16. package/api/resources/api/resources/external/resources/externalApi/index.js +18 -0
  17. package/api/resources/api/resources/external/resources/externalApi/types/ExternalCreateContractorRequestV2.d.ts +16 -0
  18. package/api/resources/api/resources/{thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.d.ts → external/resources/externalApi/types/ExternalSuccessResponseV2.d.ts} +2 -2
  19. package/api/resources/api/resources/external/resources/externalApi/types/index.d.ts +2 -0
  20. package/api/resources/api/resources/external/resources/externalApi/types/index.js +18 -0
  21. package/api/resources/api/resources/external/resources/index.d.ts +2 -0
  22. package/api/resources/api/resources/external/resources/index.js +41 -0
  23. package/api/resources/api/resources/index.d.ts +1 -0
  24. package/api/resources/api/resources/index.js +2 -1
  25. package/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  26. package/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  27. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +33 -33
  28. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodDetailsResponse.d.ts +1 -4
  29. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -1
  30. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -1
  31. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +23 -23
  32. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.d.ts +8 -1
  33. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +26 -19
  34. package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  35. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  36. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  37. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  38. package/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  39. package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  40. package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  41. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.d.ts +4 -4
  42. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +9 -9
  43. package/{dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByEmailResponse.d.ts → api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.d.ts} +1 -1
  44. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +1 -1
  45. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +1 -1
  46. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.d.ts +0 -25
  47. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +6 -77
  48. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/index.d.ts +0 -1
  49. package/api/resources/api/resources/thera/resources/misc/resources/misc/types/index.d.ts +0 -2
  50. package/api/resources/api/resources/thera/resources/misc/resources/misc/types/index.js +0 -2
  51. package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  52. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
  53. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  54. package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  55. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
  56. package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  57. package/api/resources/db/resources/company/types/TpCompanyInformation.d.ts +1 -0
  58. package/api/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.d.ts +1 -4
  59. package/api/resources/db/resources/paymentMethod/types/index.d.ts +0 -1
  60. package/api/resources/db/resources/paymentMethod/types/index.js +0 -1
  61. package/dist/api/resources/api/client/Client.d.ts +3 -0
  62. package/dist/api/resources/api/client/Client.js +9 -4
  63. package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  64. package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  65. package/dist/api/resources/api/resources/external/client/Client.d.ts +19 -0
  66. package/dist/api/resources/api/resources/external/client/Client.js +17 -0
  67. package/dist/api/resources/api/resources/external/client/index.d.ts +1 -0
  68. package/dist/api/resources/api/resources/external/client/index.js +2 -0
  69. package/dist/api/resources/api/resources/external/index.d.ts +2 -0
  70. package/dist/api/resources/api/resources/external/index.js +18 -0
  71. package/dist/api/resources/api/resources/external/resources/externalApi/client/Client.d.ts +69 -0
  72. package/dist/api/resources/api/resources/external/resources/externalApi/client/Client.js +156 -0
  73. package/dist/api/resources/api/resources/external/resources/externalApi/client/index.d.ts +1 -0
  74. package/dist/api/resources/api/resources/external/resources/externalApi/client/index.js +2 -0
  75. package/dist/api/resources/api/resources/external/resources/externalApi/index.d.ts +2 -0
  76. package/dist/api/resources/api/resources/external/resources/externalApi/index.js +18 -0
  77. package/dist/api/resources/api/resources/external/resources/externalApi/types/ExternalCreateContractorRequestV2.d.ts +16 -0
  78. package/dist/api/resources/api/resources/{thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.d.ts → external/resources/externalApi/types/ExternalSuccessResponseV2.d.ts} +2 -2
  79. package/dist/api/resources/api/resources/external/resources/externalApi/types/index.d.ts +2 -0
  80. package/dist/api/resources/api/resources/external/resources/externalApi/types/index.js +18 -0
  81. package/dist/api/resources/api/resources/external/resources/index.d.ts +2 -0
  82. package/dist/api/resources/api/resources/external/resources/index.js +41 -0
  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/services/resources/file/client/Client.js +5 -5
  86. package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  87. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +33 -33
  88. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodDetailsResponse.d.ts +1 -4
  89. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -1
  90. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -1
  91. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +23 -23
  92. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.d.ts +8 -1
  93. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +26 -19
  94. package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  95. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  96. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  97. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  98. package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  99. package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  100. package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  101. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.d.ts +4 -4
  102. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +9 -9
  103. package/{api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByEmailResponse.d.ts → dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.d.ts} +1 -1
  104. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +1 -1
  105. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +1 -1
  106. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.d.ts +0 -25
  107. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +6 -77
  108. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/index.d.ts +0 -1
  109. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/types/index.d.ts +0 -2
  110. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/types/index.js +0 -2
  111. package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  112. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
  113. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  114. package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  115. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
  116. package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  117. package/dist/api/resources/db/resources/company/types/TpCompanyInformation.d.ts +1 -0
  118. package/dist/api/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.d.ts +1 -4
  119. package/dist/api/resources/db/resources/paymentMethod/types/index.d.ts +0 -1
  120. package/dist/api/resources/db/resources/paymentMethod/types/index.js +0 -1
  121. package/dist/serialization/resources/api/resources/external/index.d.ts +1 -0
  122. package/dist/serialization/resources/api/resources/external/index.js +17 -0
  123. package/dist/serialization/resources/api/resources/external/resources/externalApi/index.d.ts +1 -0
  124. package/dist/serialization/resources/api/resources/external/resources/externalApi/index.js +17 -0
  125. package/dist/serialization/resources/api/resources/external/resources/externalApi/types/ExternalCreateContractorRequestV2.d.ts +23 -0
  126. package/{serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.js → dist/serialization/resources/api/resources/external/resources/externalApi/types/ExternalCreateContractorRequestV2.js} +11 -11
  127. package/dist/serialization/resources/api/resources/external/resources/externalApi/types/ExternalSuccessResponseV2.d.ts +12 -0
  128. package/dist/serialization/resources/api/resources/{thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.js → external/resources/externalApi/types/ExternalSuccessResponseV2.js} +4 -4
  129. package/dist/serialization/resources/api/resources/external/resources/externalApi/types/index.d.ts +2 -0
  130. package/dist/serialization/resources/api/resources/external/resources/externalApi/types/index.js +18 -0
  131. package/dist/serialization/resources/api/resources/external/resources/index.d.ts +2 -0
  132. package/dist/serialization/resources/api/resources/external/resources/index.js +41 -0
  133. package/dist/serialization/resources/api/resources/index.d.ts +1 -0
  134. package/dist/serialization/resources/api/resources/index.js +2 -1
  135. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodDetailsResponse.d.ts +1 -5
  136. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodDetailsResponse.js +0 -2
  137. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -1
  138. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -1
  139. package/{serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByEmailResponse.d.ts → dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.d.ts} +2 -2
  140. package/{serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByEmailResponse.js → dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.js} +2 -2
  141. package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +1 -1
  142. package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +1 -1
  143. package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/index.d.ts +0 -2
  144. package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/index.js +0 -2
  145. package/dist/serialization/resources/db/resources/company/types/TpCompanyInformation.d.ts +1 -0
  146. package/dist/serialization/resources/db/resources/company/types/TpCompanyInformation.js +1 -0
  147. package/dist/serialization/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.d.ts +1 -5
  148. package/dist/serialization/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.js +0 -2
  149. package/dist/serialization/resources/db/resources/paymentMethod/types/index.d.ts +0 -1
  150. package/dist/serialization/resources/db/resources/paymentMethod/types/index.js +0 -1
  151. package/dist/version.d.ts +1 -1
  152. package/dist/version.js +1 -1
  153. package/package.json +1 -1
  154. package/reference.md +95 -83
  155. package/serialization/resources/api/resources/external/index.d.ts +1 -0
  156. package/serialization/resources/api/resources/external/index.js +17 -0
  157. package/serialization/resources/api/resources/external/resources/externalApi/index.d.ts +1 -0
  158. package/serialization/resources/api/resources/external/resources/externalApi/index.js +17 -0
  159. package/serialization/resources/api/resources/external/resources/externalApi/types/ExternalCreateContractorRequestV2.d.ts +23 -0
  160. package/{dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.js → serialization/resources/api/resources/external/resources/externalApi/types/ExternalCreateContractorRequestV2.js} +11 -11
  161. package/serialization/resources/api/resources/external/resources/externalApi/types/ExternalSuccessResponseV2.d.ts +12 -0
  162. package/serialization/resources/api/resources/{thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.js → external/resources/externalApi/types/ExternalSuccessResponseV2.js} +4 -4
  163. package/serialization/resources/api/resources/external/resources/externalApi/types/index.d.ts +2 -0
  164. package/serialization/resources/api/resources/external/resources/externalApi/types/index.js +18 -0
  165. package/serialization/resources/api/resources/external/resources/index.d.ts +2 -0
  166. package/serialization/resources/api/resources/external/resources/index.js +41 -0
  167. package/serialization/resources/api/resources/index.d.ts +1 -0
  168. package/serialization/resources/api/resources/index.js +2 -1
  169. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodDetailsResponse.d.ts +1 -5
  170. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodDetailsResponse.js +0 -2
  171. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -1
  172. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -1
  173. package/{dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByEmailResponse.d.ts → serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.d.ts} +2 -2
  174. package/{dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByEmailResponse.js → serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.js} +2 -2
  175. package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +1 -1
  176. package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +1 -1
  177. package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/index.d.ts +0 -2
  178. package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/index.js +0 -2
  179. package/serialization/resources/db/resources/company/types/TpCompanyInformation.d.ts +1 -0
  180. package/serialization/resources/db/resources/company/types/TpCompanyInformation.js +1 -0
  181. package/serialization/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.d.ts +1 -5
  182. package/serialization/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.js +0 -2
  183. package/serialization/resources/db/resources/paymentMethod/types/index.d.ts +0 -1
  184. package/serialization/resources/db/resources/paymentMethod/types/index.js +0 -1
  185. package/version.d.ts +1 -1
  186. package/version.js +1 -1
  187. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.d.ts +0 -9
  188. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/FilloutEorEmployeeRequest.d.ts +0 -27
  189. package/api/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.d.ts +0 -17
  190. package/api/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.d.ts +0 -10
  191. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.d.ts +0 -9
  192. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.js +0 -5
  193. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByEmailResponse.js +0 -5
  194. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/FilloutEorEmployeeRequest.d.ts +0 -27
  195. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/FilloutEorEmployeeRequest.js +0 -5
  196. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.d.ts +0 -17
  197. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.js +0 -5
  198. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.js +0 -5
  199. package/dist/api/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.d.ts +0 -10
  200. package/dist/api/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.js +0 -5
  201. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.d.ts +0 -15
  202. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.js +0 -46
  203. package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.d.ts +0 -23
  204. package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.d.ts +0 -12
  205. package/dist/serialization/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.d.ts +0 -16
  206. package/dist/serialization/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.js +0 -47
  207. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.d.ts +0 -15
  208. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.js +0 -46
  209. package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.d.ts +0 -23
  210. package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.d.ts +0 -12
  211. package/serialization/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.d.ts +0 -16
  212. package/serialization/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.js +0 -47
  213. /package/api/resources/api/resources/{thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.js → external/resources/externalApi/types/ExternalCreateContractorRequestV2.js} +0 -0
  214. /package/api/resources/api/resources/{thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByEmailResponse.js → external/resources/externalApi/types/ExternalSuccessResponseV2.js} +0 -0
  215. /package/api/resources/api/resources/thera/resources/{misc/resources/misc/client/requests/FilloutEorEmployeeRequest.js → eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.js} +0 -0
  216. /package/{api/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.js → dist/api/resources/api/resources/external/resources/externalApi/types/ExternalCreateContractorRequestV2.js} +0 -0
  217. /package/{api/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.js → dist/api/resources/api/resources/external/resources/externalApi/types/ExternalSuccessResponseV2.js} +0 -0
  218. /package/{api/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.js → dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.js} +0 -0
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
+ };
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.externalApi = void 0;
40
+ exports.externalApi = __importStar(require("./externalApi"));
41
+ __exportStar(require("./externalApi/types"), exports);
@@ -1,5 +1,6 @@
1
1
  export * as aiprise from "./aiprise";
2
2
  export * as dev from "./dev";
3
+ export * as external from "./external";
3
4
  export * as oneschema from "./oneschema";
4
5
  export * as request from "./request";
5
6
  export * as response from "./response";
@@ -33,9 +33,10 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.zeal = exports.thera = exports.services = exports.response = exports.request = exports.oneschema = exports.dev = exports.aiprise = void 0;
36
+ exports.zeal = exports.thera = exports.services = exports.response = exports.request = exports.oneschema = exports.external = exports.dev = exports.aiprise = void 0;
37
37
  exports.aiprise = __importStar(require("./aiprise"));
38
38
  exports.dev = __importStar(require("./dev"));
39
+ exports.external = __importStar(require("./external"));
39
40
  exports.oneschema = __importStar(require("./oneschema"));
40
41
  exports.request = __importStar(require("./request"));
41
42
  exports.response = __importStar(require("./response"));
@@ -8,10 +8,9 @@ import { CardPaymentMethodResponse } from "./CardPaymentMethodResponse";
8
8
  import { UsBankAccountPaymentMethodResponse } from "./UsBankAccountPaymentMethodResponse";
9
9
  import { SepaPaymentMethodResponse } from "./SepaPaymentMethodResponse";
10
10
  import { AcssDebitPaymentMethodResponse } from "./AcssDebitPaymentMethodResponse";
11
- import { AuBecsDebitPaymentMethodResponse } from "./AuBecsDebitPaymentMethodResponse";
12
11
  export declare const PaymentMethodDetailsResponse: core.serialization.Schema<serializers.api.thera.bank.PaymentMethodDetailsResponse.Raw, TheraApi.api.thera.bank.PaymentMethodDetailsResponse>;
13
12
  export declare namespace PaymentMethodDetailsResponse {
14
- type Raw = PaymentMethodDetailsResponse.Card | PaymentMethodDetailsResponse.UsBankAccount | PaymentMethodDetailsResponse.SepaBankAccount | PaymentMethodDetailsResponse.AcssDebit | PaymentMethodDetailsResponse.AuBecsDebit;
13
+ type Raw = PaymentMethodDetailsResponse.Card | PaymentMethodDetailsResponse.UsBankAccount | PaymentMethodDetailsResponse.SepaBankAccount | PaymentMethodDetailsResponse.AcssDebit;
15
14
  interface Card extends CardPaymentMethodResponse.Raw {
16
15
  type: "card";
17
16
  }
@@ -24,7 +23,4 @@ export declare namespace PaymentMethodDetailsResponse {
24
23
  interface AcssDebit extends AcssDebitPaymentMethodResponse.Raw {
25
24
  type: "acssDebit";
26
25
  }
27
- interface AuBecsDebit extends AuBecsDebitPaymentMethodResponse.Raw {
28
- type: "auBecsDebit";
29
- }
30
26
  }
@@ -42,14 +42,12 @@ const CardPaymentMethodResponse_1 = require("./CardPaymentMethodResponse");
42
42
  const UsBankAccountPaymentMethodResponse_1 = require("./UsBankAccountPaymentMethodResponse");
43
43
  const SepaPaymentMethodResponse_1 = require("./SepaPaymentMethodResponse");
44
44
  const AcssDebitPaymentMethodResponse_1 = require("./AcssDebitPaymentMethodResponse");
45
- const AuBecsDebitPaymentMethodResponse_1 = require("./AuBecsDebitPaymentMethodResponse");
46
45
  exports.PaymentMethodDetailsResponse = core.serialization
47
46
  .union("type", {
48
47
  card: CardPaymentMethodResponse_1.CardPaymentMethodResponse,
49
48
  usBankAccount: UsBankAccountPaymentMethodResponse_1.UsBankAccountPaymentMethodResponse,
50
49
  sepaBankAccount: SepaPaymentMethodResponse_1.SepaPaymentMethodResponse,
51
50
  acssDebit: AcssDebitPaymentMethodResponse_1.AcssDebitPaymentMethodResponse,
52
- auBecsDebit: AuBecsDebitPaymentMethodResponse_1.AuBecsDebitPaymentMethodResponse,
53
51
  })
54
52
  .transform({
55
53
  transform: (value) => value,
@@ -8,7 +8,6 @@ export * from "./PaymentMethodProvider";
8
8
  export * from "./PaymentMethodDetailsResponse";
9
9
  export * from "./SepaPaymentMethodResponse";
10
10
  export * from "./AcssDebitPaymentMethodResponse";
11
- export * from "./AuBecsDebitPaymentMethodResponse";
12
11
  export * from "./CardPaymentMethodResponse";
13
12
  export * from "./UsBankAccountPaymentMethodResponse";
14
13
  export * from "./UsBankAccountProviderDetails";
@@ -24,7 +24,6 @@ __exportStar(require("./PaymentMethodProvider"), exports);
24
24
  __exportStar(require("./PaymentMethodDetailsResponse"), exports);
25
25
  __exportStar(require("./SepaPaymentMethodResponse"), exports);
26
26
  __exportStar(require("./AcssDebitPaymentMethodResponse"), exports);
27
- __exportStar(require("./AuBecsDebitPaymentMethodResponse"), exports);
28
27
  __exportStar(require("./CardPaymentMethodResponse"), exports);
29
28
  __exportStar(require("./UsBankAccountPaymentMethodResponse"), exports);
30
29
  __exportStar(require("./UsBankAccountProviderDetails"), exports);
@@ -4,8 +4,8 @@
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 GetEorEmployeeByEmailResponse: core.serialization.ObjectSchema<serializers.api.thera.eor.GetEorEmployeeByEmailResponse.Raw, TheraApi.api.thera.eor.GetEorEmployeeByEmailResponse>;
8
- export declare namespace GetEorEmployeeByEmailResponse {
7
+ export declare const GetEorEmployeeByUserIdResponse: core.serialization.ObjectSchema<serializers.api.thera.eor.GetEorEmployeeByUserIdResponse.Raw, TheraApi.api.thera.eor.GetEorEmployeeByUserIdResponse>;
8
+ export declare namespace GetEorEmployeeByUserIdResponse {
9
9
  interface Raw {
10
10
  employee: Record<string, unknown>;
11
11
  }
@@ -36,8 +36,8 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.GetEorEmployeeByEmailResponse = void 0;
39
+ exports.GetEorEmployeeByUserIdResponse = void 0;
40
40
  const core = __importStar(require("../../../../../../../../../../core"));
41
- exports.GetEorEmployeeByEmailResponse = core.serialization.object({
41
+ exports.GetEorEmployeeByUserIdResponse = core.serialization.object({
42
42
  employee: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
43
43
  });
@@ -1,2 +1,2 @@
1
1
  export * from "./GetEorTrackerResponse";
2
- export * from "./GetEorEmployeeByEmailResponse";
2
+ export * from "./GetEorEmployeeByUserIdResponse";
@@ -15,4 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./GetEorTrackerResponse"), exports);
18
- __exportStar(require("./GetEorEmployeeByEmailResponse"), exports);
18
+ __exportStar(require("./GetEorEmployeeByUserIdResponse"), exports);
@@ -2,5 +2,3 @@ export * from "./DailyCronResponse";
2
2
  export * from "./AutoWithdrawalResults";
3
3
  export * from "./TriggeredWithdrawal";
4
4
  export * from "./ContractRenewalCronResponse";
5
- export * from "./FilloutEorEmployeeWebhookResponse";
6
- export * from "./FilloutEorEmployeeWebhookRequest";
@@ -18,5 +18,3 @@ __exportStar(require("./DailyCronResponse"), exports);
18
18
  __exportStar(require("./AutoWithdrawalResults"), exports);
19
19
  __exportStar(require("./TriggeredWithdrawal"), exports);
20
20
  __exportStar(require("./ContractRenewalCronResponse"), exports);
21
- __exportStar(require("./FilloutEorEmployeeWebhookResponse"), exports);
22
- __exportStar(require("./FilloutEorEmployeeWebhookRequest"), exports);
@@ -15,5 +15,6 @@ export declare namespace TpCompanyInformation {
15
15
  depositAccount?: TpDepositAccount.Raw | null;
16
16
  disbursementAccount?: TpDisbursementAccount.Raw | null;
17
17
  payrollFboOnboardingStage: TpCompanyOnboardingStage.Raw;
18
+ lastInterestPaidMonth?: string | null;
18
19
  }
19
20
  }
@@ -47,4 +47,5 @@ exports.TpCompanyInformation = core.serialization.object({
47
47
  depositAccount: TpDepositAccount_1.TpDepositAccount.optional(),
48
48
  disbursementAccount: TpDisbursementAccount_1.TpDisbursementAccount.optional(),
49
49
  payrollFboOnboardingStage: TpCompanyOnboardingStage_1.TpCompanyOnboardingStage,
50
+ lastInterestPaidMonth: core.serialization.string().optional(),
50
51
  });
@@ -8,10 +8,9 @@ import { StripeUsBankAccountPaymentMethodDetails } from "./StripeUsBankAccountPa
8
8
  import { StripeCardPaymentMethodDetails } from "./StripeCardPaymentMethodDetails";
9
9
  import { StripeSepaPaymentMethodDetails } from "./StripeSepaPaymentMethodDetails";
10
10
  import { StripeAcssDebitAccountPaymentMethodDetails } from "./StripeAcssDebitAccountPaymentMethodDetails";
11
- import { StripeAuBecsDebitPaymentMethodDetails } from "./StripeAuBecsDebitPaymentMethodDetails";
12
11
  export declare const StripeFcPaymentMethod: core.serialization.Schema<serializers.db.StripeFcPaymentMethod.Raw, TheraApi.db.StripeFcPaymentMethod>;
13
12
  export declare namespace StripeFcPaymentMethod {
14
- type Raw = StripeFcPaymentMethod.UsBankAccount | StripeFcPaymentMethod.Card | StripeFcPaymentMethod.Sepa | StripeFcPaymentMethod.AcssDebit | StripeFcPaymentMethod.AuBecsDebit;
13
+ type Raw = StripeFcPaymentMethod.UsBankAccount | StripeFcPaymentMethod.Card | StripeFcPaymentMethod.Sepa | StripeFcPaymentMethod.AcssDebit;
15
14
  interface UsBankAccount extends StripeUsBankAccountPaymentMethodDetails.Raw {
16
15
  type: "usBankAccount";
17
16
  }
@@ -24,7 +23,4 @@ export declare namespace StripeFcPaymentMethod {
24
23
  interface AcssDebit extends StripeAcssDebitAccountPaymentMethodDetails.Raw {
25
24
  type: "acssDebit";
26
25
  }
27
- interface AuBecsDebit extends StripeAuBecsDebitPaymentMethodDetails.Raw {
28
- type: "auBecsDebit";
29
- }
30
26
  }
@@ -42,14 +42,12 @@ const StripeUsBankAccountPaymentMethodDetails_1 = require("./StripeUsBankAccount
42
42
  const StripeCardPaymentMethodDetails_1 = require("./StripeCardPaymentMethodDetails");
43
43
  const StripeSepaPaymentMethodDetails_1 = require("./StripeSepaPaymentMethodDetails");
44
44
  const StripeAcssDebitAccountPaymentMethodDetails_1 = require("./StripeAcssDebitAccountPaymentMethodDetails");
45
- const StripeAuBecsDebitPaymentMethodDetails_1 = require("./StripeAuBecsDebitPaymentMethodDetails");
46
45
  exports.StripeFcPaymentMethod = core.serialization
47
46
  .union("type", {
48
47
  usBankAccount: StripeUsBankAccountPaymentMethodDetails_1.StripeUsBankAccountPaymentMethodDetails,
49
48
  card: StripeCardPaymentMethodDetails_1.StripeCardPaymentMethodDetails,
50
49
  sepa: StripeSepaPaymentMethodDetails_1.StripeSepaPaymentMethodDetails,
51
50
  acssDebit: StripeAcssDebitAccountPaymentMethodDetails_1.StripeAcssDebitAccountPaymentMethodDetails,
52
- auBecsDebit: StripeAuBecsDebitPaymentMethodDetails_1.StripeAuBecsDebitPaymentMethodDetails,
53
51
  })
54
52
  .transform({
55
53
  transform: (value) => value,
@@ -8,6 +8,5 @@ export * from "./StripeFcPaymentMethod";
8
8
  export * from "./StripeSepaPaymentMethodDetails";
9
9
  export * from "./StripeUsBankAccountPaymentMethodDetails";
10
10
  export * from "./StripeAcssDebitAccountPaymentMethodDetails";
11
- export * from "./StripeAuBecsDebitPaymentMethodDetails";
12
11
  export * from "./StripeBankAccountVerificationStatus";
13
12
  export * from "./StripeCardPaymentMethodDetails";
@@ -24,6 +24,5 @@ __exportStar(require("./StripeFcPaymentMethod"), exports);
24
24
  __exportStar(require("./StripeSepaPaymentMethodDetails"), exports);
25
25
  __exportStar(require("./StripeUsBankAccountPaymentMethodDetails"), exports);
26
26
  __exportStar(require("./StripeAcssDebitAccountPaymentMethodDetails"), exports);
27
- __exportStar(require("./StripeAuBecsDebitPaymentMethodDetails"), exports);
28
27
  __exportStar(require("./StripeBankAccountVerificationStatus"), exports);
29
28
  __exportStar(require("./StripeCardPaymentMethodDetails"), exports);
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.0.1-prerelease2885-dev-2";
1
+ export declare const SDK_VERSION = "0.0.1-prerelease2885-dev";
package/dist/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-prerelease2885-dev-2";
4
+ exports.SDK_VERSION = "0.0.1-prerelease2885-dev";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thera-hr/api-sdk",
3
- "version": "0.0.1-prerelease2885-dev-2",
3
+ "version": "0.0.1-prerelease2885-dev",
4
4
  "private": false,
5
5
  "repository": "https://github.com/CarbonNYC/thera-typescript-sdk",
6
6
  "main": "./index.js",
package/reference.md CHANGED
@@ -176,6 +176,89 @@ await client.api.dev.dev.uploadEor({
176
176
  </dl>
177
177
  </details>
178
178
 
179
+ ## Api External ExternalApi
180
+
181
+ <details><summary><code>client.api.external.externalApi.<a href="/src/api/resources/api/resources/external/resources/externalApi/client/Client.ts">createContractorV2</a>({ ...params }) -> TheraApi.ExternalSuccessResponseV2</code></summary>
182
+ <dl>
183
+ <dd>
184
+
185
+ #### 🔌 Usage
186
+
187
+ <dl>
188
+ <dd>
189
+
190
+ <dl>
191
+ <dd>
192
+
193
+ ```typescript
194
+ await client.api.external.externalApi.createContractorV2({
195
+ email: "string",
196
+ firstName: "string",
197
+ lastName: "string",
198
+ country: "string",
199
+ currency: "string",
200
+ rate: 1000000,
201
+ wageType: "HOURLY",
202
+ payCycle: {
203
+ timezone: "string",
204
+ cycleStartDate: "2023-01-15",
205
+ cycleEnd: {
206
+ type: "weekly",
207
+ },
208
+ paymentDueDays: 1,
209
+ firstPayDate: "2023-01-15",
210
+ lastPayDate: "2023-01-15",
211
+ firstPayTotal: 1000000,
212
+ lastPayTotal: 1000000,
213
+ itemRecurrencesById: {
214
+ string: {
215
+ itemType: "EXPENSE",
216
+ description: "string",
217
+ amount: 1000000,
218
+ firstInvoiceDate: "2023-01-15",
219
+ paymentCurrency: "string",
220
+ deletedDateTime: {
221
+ key: "value",
222
+ },
223
+ },
224
+ },
225
+ },
226
+ contractType: "FIXED_RATE",
227
+ });
228
+ ```
229
+
230
+ </dd>
231
+ </dl>
232
+ </dd>
233
+ </dl>
234
+
235
+ #### ⚙️ Parameters
236
+
237
+ <dl>
238
+ <dd>
239
+
240
+ <dl>
241
+ <dd>
242
+
243
+ **request:** `TheraApi.ExternalCreateContractorRequestV2`
244
+
245
+ </dd>
246
+ </dl>
247
+
248
+ <dl>
249
+ <dd>
250
+
251
+ **requestOptions:** `ExternalApi.RequestOptions`
252
+
253
+ </dd>
254
+ </dl>
255
+ </dd>
256
+ </dl>
257
+
258
+ </dd>
259
+ </dl>
260
+ </details>
261
+
179
262
  ## Api Services File
180
263
 
181
264
  <details><summary><code>client.api.services.file.<a href="/src/api/resources/api/resources/services/resources/file/client/Client.ts">attachDocumentToEmployment</a>(contractId, { ...params }) -> void</code></summary>
@@ -4645,7 +4728,14 @@ await client.api.thera.company.companyApi.inviteContractor({
4645
4728
  lastPayTotal: 1000000,
4646
4729
  itemRecurrencesById: {
4647
4730
  string: {
4648
- key: "value",
4731
+ itemType: "EXPENSE",
4732
+ description: "string",
4733
+ amount: 1000000,
4734
+ firstInvoiceDate: "2023-01-15",
4735
+ paymentCurrency: "string",
4736
+ deletedDateTime: {
4737
+ key: "value",
4738
+ },
4649
4739
  },
4650
4740
  },
4651
4741
  },
@@ -7600,7 +7690,7 @@ await client.api.thera.eor.eorTrackerApi.getEorTracker("string");
7600
7690
  </dl>
7601
7691
  </details>
7602
7692
 
7603
- <details><summary><code>client.api.thera.eor.eorTrackerApi.<a href="/src/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.ts">getEorEmployeeByEmail</a>(email) -> TheraApi.GetEorEmployeeByEmailResponse</code></summary>
7693
+ <details><summary><code>client.api.thera.eor.eorTrackerApi.<a href="/src/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.ts">getEorEmployeeByUserId</a>(employeeUserId) -> TheraApi.GetEorEmployeeByUserIdResponse</code></summary>
7604
7694
  <dl>
7605
7695
  <dd>
7606
7696
 
@@ -7612,7 +7702,7 @@ await client.api.thera.eor.eorTrackerApi.getEorTracker("string");
7612
7702
  <dl>
7613
7703
  <dd>
7614
7704
 
7615
- Gets EOR employee data from Airtable for a specific employee email
7705
+ Gets EOR employee data from Airtable for a specific employee user ID
7616
7706
 
7617
7707
  </dd>
7618
7708
  </dl>
@@ -7628,7 +7718,7 @@ Gets EOR employee data from Airtable for a specific employee email
7628
7718
  <dd>
7629
7719
 
7630
7720
  ```typescript
7631
- await client.api.thera.eor.eorTrackerApi.getEorEmployeeByEmail("string");
7721
+ await client.api.thera.eor.eorTrackerApi.getEorEmployeeByUserId("string");
7632
7722
  ```
7633
7723
 
7634
7724
  </dd>
@@ -7644,7 +7734,7 @@ await client.api.thera.eor.eorTrackerApi.getEorEmployeeByEmail("string");
7644
7734
  <dl>
7645
7735
  <dd>
7646
7736
 
7647
- **email:** `string`
7737
+ **employeeUserId:** `string`
7648
7738
 
7649
7739
  </dd>
7650
7740
  </dl>
@@ -8055,84 +8145,6 @@ await client.api.thera.misc.misc.processAchTpInvoices({
8055
8145
  </dl>
8056
8146
  </details>
8057
8147
 
8058
- <details><summary><code>client.api.thera.misc.misc.<a href="/src/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.ts">filloutEorEmployeeWebhook</a>({ ...params }) -> TheraApi.FilloutEorEmployeeWebhookResponse</code></summary>
8059
- <dl>
8060
- <dd>
8061
-
8062
- #### 📝 Description
8063
-
8064
- <dl>
8065
- <dd>
8066
-
8067
- <dl>
8068
- <dd>
8069
-
8070
- Webhook endpoint that receives submissions from Fillout forms to create EOR employees. This endpoint accepts the same request structure as the AddEorEmployeeRequest.
8071
-
8072
- </dd>
8073
- </dl>
8074
- </dd>
8075
- </dl>
8076
-
8077
- #### 🔌 Usage
8078
-
8079
- <dl>
8080
- <dd>
8081
-
8082
- <dl>
8083
- <dd>
8084
-
8085
- ```typescript
8086
- await client.api.thera.misc.misc.filloutEorEmployeeWebhook({
8087
- theraWebhookSignatureHeader: "string",
8088
- body: {
8089
- firstName: "string",
8090
- lastName: "string",
8091
- email: "string",
8092
- country: "string",
8093
- companyId: "string",
8094
- teamId: "string",
8095
- jobTitle: "string",
8096
- startDate: "2023-01-15",
8097
- rate: 1.1,
8098
- wageType: "HOURLY",
8099
- currency: "string",
8100
- },
8101
- });
8102
- ```
8103
-
8104
- </dd>
8105
- </dl>
8106
- </dd>
8107
- </dl>
8108
-
8109
- #### ⚙️ Parameters
8110
-
8111
- <dl>
8112
- <dd>
8113
-
8114
- <dl>
8115
- <dd>
8116
-
8117
- **request:** `TheraApi.api.thera.misc.FilloutEorEmployeeRequest`
8118
-
8119
- </dd>
8120
- </dl>
8121
-
8122
- <dl>
8123
- <dd>
8124
-
8125
- **requestOptions:** `Misc.RequestOptions`
8126
-
8127
- </dd>
8128
- </dl>
8129
- </dd>
8130
- </dl>
8131
-
8132
- </dd>
8133
- </dl>
8134
- </details>
8135
-
8136
8148
  ## Offcycle API
8137
8149
 
8138
8150
  <details><summary><code>client.api.thera.payroll.offcycleApi.<a href="/src/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.ts">getCurrentOffCycleChecks</a>(companyId) -> TheraApi.CheckPayrollResponse | undefined</code></summary>
@@ -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,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,23 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../../index";
5
+ import * as TheraApi from "../../../../../../../../api/index";
6
+ import * as core from "../../../../../../../../core";
7
+ import { WageType } from "../../../../../../model/resources/thera/resources/contract/types/WageType";
8
+ import { PayCycle } from "../../../../../../model/resources/thera/resources/contract/types/PayCycle";
9
+ import { ContractType } from "../../../../../../model/resources/thera/resources/contract/types/ContractType";
10
+ export declare const ExternalCreateContractorRequestV2: core.serialization.ObjectSchema<serializers.api.external.ExternalCreateContractorRequestV2.Raw, TheraApi.api.external.ExternalCreateContractorRequestV2>;
11
+ export declare namespace ExternalCreateContractorRequestV2 {
12
+ interface Raw {
13
+ email: string;
14
+ firstName: string;
15
+ lastName: string;
16
+ country: string;
17
+ currency: string;
18
+ rate?: number | null;
19
+ wageType: WageType.Raw;
20
+ payCycle: PayCycle.Raw;
21
+ contractType: ContractType.Raw;
22
+ }
23
+ }
@@ -36,19 +36,19 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.FilloutEorEmployeeWebhookRequest = void 0;
40
- const core = __importStar(require("../../../../../../../../../../core"));
41
- const WageType_1 = require("../../../../../../../../model/resources/thera/resources/contract/types/WageType");
42
- exports.FilloutEorEmployeeWebhookRequest = core.serialization.object({
39
+ exports.ExternalCreateContractorRequestV2 = void 0;
40
+ const core = __importStar(require("../../../../../../../../core"));
41
+ const WageType_1 = require("../../../../../../model/resources/thera/resources/contract/types/WageType");
42
+ const PayCycle_1 = require("../../../../../../model/resources/thera/resources/contract/types/PayCycle");
43
+ const ContractType_1 = require("../../../../../../model/resources/thera/resources/contract/types/ContractType");
44
+ exports.ExternalCreateContractorRequestV2 = core.serialization.object({
45
+ email: core.serialization.string(),
43
46
  firstName: core.serialization.string(),
44
47
  lastName: core.serialization.string(),
45
- email: core.serialization.string(),
46
48
  country: core.serialization.string(),
47
- companyId: core.serialization.property("companyID", core.serialization.string()),
48
- teamId: core.serialization.string().optional(),
49
- jobTitle: core.serialization.string(),
50
- startDate: core.serialization.string(),
51
- rate: core.serialization.number(),
52
- wageType: WageType_1.WageType,
53
49
  currency: core.serialization.string(),
50
+ rate: core.serialization.number().optional(),
51
+ wageType: WageType_1.WageType,
52
+ payCycle: PayCycle_1.PayCycle,
53
+ contractType: ContractType_1.ContractType,
54
54
  });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../../index";
5
+ import * as TheraApi from "../../../../../../../../api/index";
6
+ import * as core from "../../../../../../../../core";
7
+ export declare const ExternalSuccessResponseV2: core.serialization.ObjectSchema<serializers.api.external.ExternalSuccessResponseV2.Raw, TheraApi.api.external.ExternalSuccessResponseV2>;
8
+ export declare namespace ExternalSuccessResponseV2 {
9
+ interface Raw {
10
+ success: boolean;
11
+ }
12
+ }
@@ -36,8 +36,8 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.FilloutEorEmployeeWebhookResponse = void 0;
40
- const core = __importStar(require("../../../../../../../../../../core"));
41
- exports.FilloutEorEmployeeWebhookResponse = core.serialization.object({
42
- message: core.serialization.string(),
39
+ exports.ExternalSuccessResponseV2 = void 0;
40
+ const core = __importStar(require("../../../../../../../../core"));
41
+ exports.ExternalSuccessResponseV2 = core.serialization.object({
42
+ success: core.serialization.boolean(),
43
43
  });
@@ -0,0 +1,2 @@
1
+ export * from "./ExternalCreateContractorRequestV2";
2
+ export * from "./ExternalSuccessResponseV2";
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./ExternalCreateContractorRequestV2"), exports);
18
+ __exportStar(require("./ExternalSuccessResponseV2"), exports);
@@ -0,0 +1,2 @@
1
+ export * as externalApi from "./externalApi";
2
+ export * from "./externalApi/types";