@thera-hr/api-sdk 0.0.1-prerelease2891-production → 0.0.1-prerelease2891-dev-2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (198) hide show
  1. package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  2. package/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  3. package/api/resources/api/resources/external/resources/externalApi/client/Client.d.ts +11 -1
  4. package/api/resources/api/resources/external/resources/externalApi/client/Client.js +12 -2
  5. package/api/resources/api/resources/external/resources/externalApi/types/ExternalCreateContractorRequestV2.d.ts +7 -0
  6. package/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  7. package/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  8. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +33 -33
  9. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.d.ts +9 -0
  10. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodDetailsResponse.d.ts +4 -1
  11. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +1 -0
  12. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +1 -0
  13. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.d.ts +0 -10
  14. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +23 -75
  15. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +0 -4
  16. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +0 -4
  17. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  18. package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  19. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  20. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  21. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  22. package/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  23. package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  24. package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  25. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.d.ts +14 -4
  26. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +61 -9
  27. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/{GetEorEmployeeByUserIdResponse.d.ts → GetEorEmployeeByEmailResponse.d.ts} +1 -1
  28. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetLatestEorEmployeeEmailResponse.d.ts +7 -0
  29. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +2 -1
  30. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +2 -1
  31. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.d.ts +25 -0
  32. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +77 -6
  33. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/FilloutEorEmployeeRequest.d.ts +27 -0
  34. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/index.d.ts +1 -0
  35. package/api/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.d.ts +17 -0
  36. package/api/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.d.ts +6 -0
  37. package/api/resources/api/resources/thera/resources/misc/resources/misc/types/index.d.ts +2 -0
  38. package/api/resources/api/resources/thera/resources/misc/resources/misc/types/index.js +2 -0
  39. package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  40. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
  41. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  42. package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  43. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
  44. package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  45. package/api/resources/db/resources/company/types/TpCompanyInformation.d.ts +0 -1
  46. package/api/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.d.ts +10 -0
  47. package/api/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.d.ts +4 -1
  48. package/api/resources/db/resources/paymentMethod/types/index.d.ts +1 -0
  49. package/api/resources/db/resources/paymentMethod/types/index.js +1 -0
  50. package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  51. package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  52. package/dist/api/resources/api/resources/external/resources/externalApi/client/Client.d.ts +11 -1
  53. package/dist/api/resources/api/resources/external/resources/externalApi/client/Client.js +12 -2
  54. package/dist/api/resources/api/resources/external/resources/externalApi/types/ExternalCreateContractorRequestV2.d.ts +7 -0
  55. package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  56. package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  57. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +33 -33
  58. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.d.ts +9 -0
  59. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodDetailsResponse.d.ts +4 -1
  60. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +1 -0
  61. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +1 -0
  62. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.d.ts +0 -10
  63. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +23 -75
  64. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +0 -4
  65. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +0 -4
  66. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  67. package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  68. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  69. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  70. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  71. package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  72. package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  73. package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  74. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.d.ts +14 -4
  75. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +61 -9
  76. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/{GetEorEmployeeByUserIdResponse.d.ts → GetEorEmployeeByEmailResponse.d.ts} +1 -1
  77. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetLatestEorEmployeeEmailResponse.d.ts +7 -0
  78. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +2 -1
  79. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +2 -1
  80. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.d.ts +25 -0
  81. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +77 -6
  82. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/FilloutEorEmployeeRequest.d.ts +27 -0
  83. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/FilloutEorEmployeeRequest.js +5 -0
  84. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/index.d.ts +1 -0
  85. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.d.ts +17 -0
  86. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.js +5 -0
  87. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.d.ts +6 -0
  88. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.js +5 -0
  89. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/types/index.d.ts +2 -0
  90. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/types/index.js +2 -0
  91. package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  92. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
  93. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  94. package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  95. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
  96. package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  97. package/dist/api/resources/db/resources/company/types/TpCompanyInformation.d.ts +0 -1
  98. package/dist/api/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.d.ts +10 -0
  99. package/dist/api/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.js +5 -0
  100. package/dist/api/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.d.ts +4 -1
  101. package/dist/api/resources/db/resources/paymentMethod/types/index.d.ts +1 -0
  102. package/dist/api/resources/db/resources/paymentMethod/types/index.js +1 -0
  103. package/dist/serialization/resources/api/resources/external/resources/externalApi/types/ExternalCreateContractorRequestV2.d.ts +9 -0
  104. package/dist/serialization/resources/api/resources/external/resources/externalApi/types/ExternalCreateContractorRequestV2.js +9 -0
  105. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.d.ts +15 -0
  106. package/dist/serialization/resources/api/resources/thera/resources/{bridge/resources/bridgeApi/types/WalletHistoryDestination.js → bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.js} +6 -4
  107. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodDetailsResponse.d.ts +5 -1
  108. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodDetailsResponse.js +2 -0
  109. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +1 -0
  110. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +1 -0
  111. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +0 -4
  112. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +0 -4
  113. package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/{GetEorEmployeeByUserIdResponse.d.ts → GetEorEmployeeByEmailResponse.d.ts} +2 -2
  114. package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/{GetEorEmployeeByUserIdResponse.js → GetEorEmployeeByEmailResponse.js} +2 -2
  115. package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetLatestEorEmployeeEmailResponse.d.ts +13 -0
  116. package/dist/serialization/resources/api/resources/thera/resources/{bridge/resources/bridgeApi/types/WalletHistorySource.js → eor/resources/eorTrackerApi/types/GetLatestEorEmployeeEmailResponse.js} +4 -4
  117. package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +2 -1
  118. package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +2 -1
  119. package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.d.ts +23 -0
  120. package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.js +54 -0
  121. package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.d.ts +12 -0
  122. package/{serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistorySource.js → dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.js} +3 -4
  123. package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/index.d.ts +2 -0
  124. package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/index.js +2 -0
  125. package/dist/serialization/resources/db/resources/company/types/TpCompanyInformation.d.ts +0 -1
  126. package/dist/serialization/resources/db/resources/company/types/TpCompanyInformation.js +0 -1
  127. package/dist/serialization/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.d.ts +16 -0
  128. package/dist/serialization/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.js +47 -0
  129. package/dist/serialization/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.d.ts +5 -1
  130. package/dist/serialization/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.js +2 -0
  131. package/dist/serialization/resources/db/resources/paymentMethod/types/index.d.ts +1 -0
  132. package/dist/serialization/resources/db/resources/paymentMethod/types/index.js +1 -0
  133. package/dist/version.d.ts +1 -1
  134. package/dist/version.js +1 -1
  135. package/package.json +1 -1
  136. package/reference.md +155 -67
  137. package/serialization/resources/api/resources/external/resources/externalApi/types/ExternalCreateContractorRequestV2.d.ts +9 -0
  138. package/serialization/resources/api/resources/external/resources/externalApi/types/ExternalCreateContractorRequestV2.js +9 -0
  139. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.d.ts +15 -0
  140. package/{dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryResponse.js → serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.js} +6 -5
  141. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodDetailsResponse.d.ts +5 -1
  142. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodDetailsResponse.js +2 -0
  143. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +1 -0
  144. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +1 -0
  145. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +0 -4
  146. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +0 -4
  147. package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/{GetEorEmployeeByUserIdResponse.d.ts → GetEorEmployeeByEmailResponse.d.ts} +2 -2
  148. package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/{GetEorEmployeeByUserIdResponse.js → GetEorEmployeeByEmailResponse.js} +2 -2
  149. package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetLatestEorEmployeeEmailResponse.d.ts +13 -0
  150. package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetLatestEorEmployeeEmailResponse.js +44 -0
  151. package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +2 -1
  152. package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +2 -1
  153. package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.d.ts +23 -0
  154. package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.js +54 -0
  155. package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.d.ts +12 -0
  156. package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.js +43 -0
  157. package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/index.d.ts +2 -0
  158. package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/index.js +2 -0
  159. package/serialization/resources/db/resources/company/types/TpCompanyInformation.d.ts +0 -1
  160. package/serialization/resources/db/resources/company/types/TpCompanyInformation.js +0 -1
  161. package/serialization/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.d.ts +16 -0
  162. package/serialization/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.js +47 -0
  163. package/serialization/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.d.ts +5 -1
  164. package/serialization/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.js +2 -0
  165. package/serialization/resources/db/resources/paymentMethod/types/index.d.ts +1 -0
  166. package/serialization/resources/db/resources/paymentMethod/types/index.js +1 -0
  167. package/version.d.ts +1 -1
  168. package/version.js +1 -1
  169. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistory.d.ts +0 -13
  170. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryDestination.d.ts +0 -7
  171. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryResponse.d.ts +0 -8
  172. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistorySource.d.ts +0 -7
  173. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistory.d.ts +0 -13
  174. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryDestination.d.ts +0 -7
  175. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryResponse.d.ts +0 -8
  176. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistorySource.d.ts +0 -7
  177. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistory.d.ts +0 -20
  178. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistory.js +0 -51
  179. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryDestination.d.ts +0 -13
  180. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryResponse.d.ts +0 -14
  181. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistorySource.d.ts +0 -13
  182. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistory.d.ts +0 -20
  183. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistory.js +0 -51
  184. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryDestination.d.ts +0 -13
  185. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryDestination.js +0 -44
  186. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryResponse.d.ts +0 -14
  187. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryResponse.js +0 -45
  188. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistorySource.d.ts +0 -13
  189. /package/api/resources/api/resources/thera/resources/{bridge/resources/bridgeApi/types/WalletHistory.js → bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.js} +0 -0
  190. /package/api/resources/api/resources/thera/resources/{bridge/resources/bridgeApi/types/WalletHistoryDestination.js → eor/resources/eorTrackerApi/types/GetEorEmployeeByEmailResponse.js} +0 -0
  191. /package/api/resources/api/resources/thera/resources/{bridge/resources/bridgeApi/types/WalletHistoryResponse.js → eor/resources/eorTrackerApi/types/GetLatestEorEmployeeEmailResponse.js} +0 -0
  192. /package/api/resources/api/resources/thera/resources/{bridge/resources/bridgeApi/types/WalletHistorySource.js → misc/resources/misc/client/requests/FilloutEorEmployeeRequest.js} +0 -0
  193. /package/api/resources/api/resources/thera/resources/{eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.js → misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.js} +0 -0
  194. /package/{dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistory.js → api/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.js} +0 -0
  195. /package/{dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryDestination.js → api/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.js} +0 -0
  196. /package/dist/api/resources/api/resources/thera/resources/{bridge/resources/bridgeApi/types/WalletHistoryResponse.js → bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.js} +0 -0
  197. /package/dist/api/resources/api/resources/thera/resources/{bridge/resources/bridgeApi/types/WalletHistorySource.js → eor/resources/eorTrackerApi/types/GetEorEmployeeByEmailResponse.js} +0 -0
  198. /package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/{GetEorEmployeeByUserIdResponse.js → GetLatestEorEmployeeEmailResponse.js} +0 -0
package/reference.md CHANGED
@@ -224,6 +224,16 @@ await client.api.external.externalApi.createContractorV2({
224
224
  },
225
225
  },
226
226
  contractType: "FIXED_RATE",
227
+ contractName: "string",
228
+ contractDocumentType: "NO_CONTRACT",
229
+ companySigningAuthorityUserId: "string",
230
+ verificationSetting: {
231
+ kycEnabled: true,
232
+ complianceEnabled: true,
233
+ },
234
+ clientCanSubmitWork: true,
235
+ workerCanSubmitWork: true,
236
+ scopeOfWork: "string",
227
237
  });
228
238
  ```
229
239
 
@@ -3709,69 +3719,6 @@ await client.api.thera.bridge.bridgeApi.listWallets("string");
3709
3719
  </dl>
3710
3720
  </details>
3711
3721
 
3712
- <details><summary><code>client.api.thera.bridge.bridgeApi.<a href="/src/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.ts">walletsTransactionHistory</a>(walletId) -> TheraApi.WalletHistoryResponse</code></summary>
3713
- <dl>
3714
- <dd>
3715
-
3716
- #### 📝 Description
3717
-
3718
- <dl>
3719
- <dd>
3720
-
3721
- <dl>
3722
- <dd>
3723
-
3724
- Retrieves all wallets associated with a customer.
3725
-
3726
- </dd>
3727
- </dl>
3728
- </dd>
3729
- </dl>
3730
-
3731
- #### 🔌 Usage
3732
-
3733
- <dl>
3734
- <dd>
3735
-
3736
- <dl>
3737
- <dd>
3738
-
3739
- ```typescript
3740
- await client.api.thera.bridge.bridgeApi.walletsTransactionHistory("string");
3741
- ```
3742
-
3743
- </dd>
3744
- </dl>
3745
- </dd>
3746
- </dl>
3747
-
3748
- #### ⚙️ Parameters
3749
-
3750
- <dl>
3751
- <dd>
3752
-
3753
- <dl>
3754
- <dd>
3755
-
3756
- **walletId:** `string`
3757
-
3758
- </dd>
3759
- </dl>
3760
-
3761
- <dl>
3762
- <dd>
3763
-
3764
- **requestOptions:** `BridgeApi.RequestOptions`
3765
-
3766
- </dd>
3767
- </dl>
3768
- </dd>
3769
- </dl>
3770
-
3771
- </dd>
3772
- </dl>
3773
- </details>
3774
-
3775
3722
  <details><summary><code>client.api.thera.bridge.bridgeApi.<a href="/src/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.ts">transferFunds</a>({ ...params }) -> TheraApi.TransferFundsResponse</code></summary>
3776
3723
  <dl>
3777
3724
  <dd>
@@ -7753,7 +7700,70 @@ await client.api.thera.eor.eorTrackerApi.getEorTracker("string");
7753
7700
  </dl>
7754
7701
  </details>
7755
7702
 
7756
- <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>
7703
+ <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>
7704
+ <dl>
7705
+ <dd>
7706
+
7707
+ #### 📝 Description
7708
+
7709
+ <dl>
7710
+ <dd>
7711
+
7712
+ <dl>
7713
+ <dd>
7714
+
7715
+ Gets EOR employee data from Airtable for a specific employee email
7716
+
7717
+ </dd>
7718
+ </dl>
7719
+ </dd>
7720
+ </dl>
7721
+
7722
+ #### 🔌 Usage
7723
+
7724
+ <dl>
7725
+ <dd>
7726
+
7727
+ <dl>
7728
+ <dd>
7729
+
7730
+ ```typescript
7731
+ await client.api.thera.eor.eorTrackerApi.getEorEmployeeByEmail("string");
7732
+ ```
7733
+
7734
+ </dd>
7735
+ </dl>
7736
+ </dd>
7737
+ </dl>
7738
+
7739
+ #### ⚙️ Parameters
7740
+
7741
+ <dl>
7742
+ <dd>
7743
+
7744
+ <dl>
7745
+ <dd>
7746
+
7747
+ **email:** `string`
7748
+
7749
+ </dd>
7750
+ </dl>
7751
+
7752
+ <dl>
7753
+ <dd>
7754
+
7755
+ **requestOptions:** `EorTrackerApi.RequestOptions`
7756
+
7757
+ </dd>
7758
+ </dl>
7759
+ </dd>
7760
+ </dl>
7761
+
7762
+ </dd>
7763
+ </dl>
7764
+ </details>
7765
+
7766
+ <details><summary><code>client.api.thera.eor.eorTrackerApi.<a href="/src/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.ts">getLatestEorEmployeeEmailByCompanyId</a>(companyId) -> TheraApi.GetLatestEorEmployeeEmailResponse</code></summary>
7757
7767
  <dl>
7758
7768
  <dd>
7759
7769
 
@@ -7765,7 +7775,7 @@ await client.api.thera.eor.eorTrackerApi.getEorTracker("string");
7765
7775
  <dl>
7766
7776
  <dd>
7767
7777
 
7768
- Gets EOR employee data from Airtable for a specific employee user ID
7778
+ Gets the email field of the latest EOR employee record added to Airtable for a specific company ID
7769
7779
 
7770
7780
  </dd>
7771
7781
  </dl>
@@ -7781,7 +7791,7 @@ Gets EOR employee data from Airtable for a specific employee user ID
7781
7791
  <dd>
7782
7792
 
7783
7793
  ```typescript
7784
- await client.api.thera.eor.eorTrackerApi.getEorEmployeeByUserId("string");
7794
+ await client.api.thera.eor.eorTrackerApi.getLatestEorEmployeeEmailByCompanyId("string");
7785
7795
  ```
7786
7796
 
7787
7797
  </dd>
@@ -7797,7 +7807,7 @@ await client.api.thera.eor.eorTrackerApi.getEorEmployeeByUserId("string");
7797
7807
  <dl>
7798
7808
  <dd>
7799
7809
 
7800
- **employeeUserId:** `string`
7810
+ **companyId:** `string`
7801
7811
 
7802
7812
  </dd>
7803
7813
  </dl>
@@ -8208,6 +8218,84 @@ await client.api.thera.misc.misc.processAchTpInvoices({
8208
8218
  </dl>
8209
8219
  </details>
8210
8220
 
8221
+ <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>
8222
+ <dl>
8223
+ <dd>
8224
+
8225
+ #### 📝 Description
8226
+
8227
+ <dl>
8228
+ <dd>
8229
+
8230
+ <dl>
8231
+ <dd>
8232
+
8233
+ Webhook endpoint that receives submissions from Fillout forms to create EOR employees. This endpoint accepts the same request structure as the AddEorEmployeeRequest.
8234
+
8235
+ </dd>
8236
+ </dl>
8237
+ </dd>
8238
+ </dl>
8239
+
8240
+ #### 🔌 Usage
8241
+
8242
+ <dl>
8243
+ <dd>
8244
+
8245
+ <dl>
8246
+ <dd>
8247
+
8248
+ ```typescript
8249
+ await client.api.thera.misc.misc.filloutEorEmployeeWebhook({
8250
+ theraWebhookSignatureHeader: "string",
8251
+ body: {
8252
+ firstName: "string",
8253
+ lastName: "string",
8254
+ email: "string",
8255
+ country: "string",
8256
+ companyId: "string",
8257
+ teamId: "string",
8258
+ jobTitle: "string",
8259
+ startDate: "2023-01-15",
8260
+ rate: 1.1,
8261
+ wageType: "HOURLY",
8262
+ currency: "string",
8263
+ },
8264
+ });
8265
+ ```
8266
+
8267
+ </dd>
8268
+ </dl>
8269
+ </dd>
8270
+ </dl>
8271
+
8272
+ #### ⚙️ Parameters
8273
+
8274
+ <dl>
8275
+ <dd>
8276
+
8277
+ <dl>
8278
+ <dd>
8279
+
8280
+ **request:** `TheraApi.api.thera.misc.FilloutEorEmployeeRequest`
8281
+
8282
+ </dd>
8283
+ </dl>
8284
+
8285
+ <dl>
8286
+ <dd>
8287
+
8288
+ **requestOptions:** `Misc.RequestOptions`
8289
+
8290
+ </dd>
8291
+ </dl>
8292
+ </dd>
8293
+ </dl>
8294
+
8295
+ </dd>
8296
+ </dl>
8297
+ </details>
8298
+
8211
8299
  ## Offcycle API
8212
8300
 
8213
8301
  <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>
@@ -7,6 +7,8 @@ import * as core from "../../../../../../../../core";
7
7
  import { WageType } from "../../../../../../model/resources/thera/resources/contract/types/WageType";
8
8
  import { PayCycle } from "../../../../../../model/resources/thera/resources/contract/types/PayCycle";
9
9
  import { ContractType } from "../../../../../../model/resources/thera/resources/contract/types/ContractType";
10
+ import { ContractDocumentType } from "../../../../../../model/resources/thera/resources/contract/types/ContractDocumentType";
11
+ import { VerificationSetting } from "../../../../../../model/resources/thera/resources/setting/types/VerificationSetting";
10
12
  export declare const ExternalCreateContractorRequestV2: core.serialization.ObjectSchema<serializers.api.external.ExternalCreateContractorRequestV2.Raw, TheraApi.api.external.ExternalCreateContractorRequestV2>;
11
13
  export declare namespace ExternalCreateContractorRequestV2 {
12
14
  interface Raw {
@@ -19,5 +21,12 @@ export declare namespace ExternalCreateContractorRequestV2 {
19
21
  wageType: WageType.Raw;
20
22
  payCycle: PayCycle.Raw;
21
23
  contractType: ContractType.Raw;
24
+ contractName: string;
25
+ contractDocumentType: ContractDocumentType.Raw;
26
+ companySigningAuthorityUserId?: string | null;
27
+ verificationSetting: VerificationSetting.Raw;
28
+ clientCanSubmitWork?: boolean | null;
29
+ workerCanSubmitWork?: boolean | null;
30
+ scopeOfWork?: string | null;
22
31
  }
23
32
  }
@@ -41,6 +41,8 @@ const core = __importStar(require("../../../../../../../../core"));
41
41
  const WageType_1 = require("../../../../../../model/resources/thera/resources/contract/types/WageType");
42
42
  const PayCycle_1 = require("../../../../../../model/resources/thera/resources/contract/types/PayCycle");
43
43
  const ContractType_1 = require("../../../../../../model/resources/thera/resources/contract/types/ContractType");
44
+ const ContractDocumentType_1 = require("../../../../../../model/resources/thera/resources/contract/types/ContractDocumentType");
45
+ const VerificationSetting_1 = require("../../../../../../model/resources/thera/resources/setting/types/VerificationSetting");
44
46
  exports.ExternalCreateContractorRequestV2 = core.serialization.object({
45
47
  email: core.serialization.string(),
46
48
  firstName: core.serialization.string(),
@@ -51,4 +53,11 @@ exports.ExternalCreateContractorRequestV2 = core.serialization.object({
51
53
  wageType: WageType_1.WageType,
52
54
  payCycle: PayCycle_1.PayCycle,
53
55
  contractType: ContractType_1.ContractType,
56
+ contractName: core.serialization.string(),
57
+ contractDocumentType: ContractDocumentType_1.ContractDocumentType,
58
+ companySigningAuthorityUserId: core.serialization.string().optional(),
59
+ verificationSetting: VerificationSetting_1.VerificationSetting,
60
+ clientCanSubmitWork: core.serialization.boolean().optional(),
61
+ workerCanSubmitWork: core.serialization.boolean().optional(),
62
+ scopeOfWork: core.serialization.string().optional(),
54
63
  });
@@ -0,0 +1,15 @@
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 { StripeUsBankAccountStatusResponse } from "./StripeUsBankAccountStatusResponse";
8
+ export declare const AuBecsDebitPaymentMethodResponse: core.serialization.ObjectSchema<serializers.api.thera.bank.AuBecsDebitPaymentMethodResponse.Raw, TheraApi.api.thera.bank.AuBecsDebitPaymentMethodResponse>;
9
+ export declare namespace AuBecsDebitPaymentMethodResponse {
10
+ interface Raw {
11
+ last4: string;
12
+ bsbNumber: string;
13
+ status: StripeUsBankAccountStatusResponse.Raw;
14
+ }
15
+ }
@@ -36,10 +36,11 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.WalletHistoryResponse = void 0;
39
+ exports.AuBecsDebitPaymentMethodResponse = void 0;
40
40
  const core = __importStar(require("../../../../../../../../../../core"));
41
- const WalletHistory_1 = require("./WalletHistory");
42
- exports.WalletHistoryResponse = core.serialization.object({
43
- count: core.serialization.number(),
44
- data: core.serialization.list(WalletHistory_1.WalletHistory),
41
+ const StripeUsBankAccountStatusResponse_1 = require("./StripeUsBankAccountStatusResponse");
42
+ exports.AuBecsDebitPaymentMethodResponse = core.serialization.object({
43
+ last4: core.serialization.string(),
44
+ bsbNumber: core.serialization.string(),
45
+ status: StripeUsBankAccountStatusResponse_1.StripeUsBankAccountStatusResponse,
45
46
  });
@@ -8,9 +8,10 @@ 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";
11
12
  export declare const PaymentMethodDetailsResponse: core.serialization.Schema<serializers.api.thera.bank.PaymentMethodDetailsResponse.Raw, TheraApi.api.thera.bank.PaymentMethodDetailsResponse>;
12
13
  export declare namespace PaymentMethodDetailsResponse {
13
- type Raw = PaymentMethodDetailsResponse.Card | PaymentMethodDetailsResponse.UsBankAccount | PaymentMethodDetailsResponse.SepaBankAccount | PaymentMethodDetailsResponse.AcssDebit;
14
+ type Raw = PaymentMethodDetailsResponse.Card | PaymentMethodDetailsResponse.UsBankAccount | PaymentMethodDetailsResponse.SepaBankAccount | PaymentMethodDetailsResponse.AcssDebit | PaymentMethodDetailsResponse.AuBecsDebit;
14
15
  interface Card extends CardPaymentMethodResponse.Raw {
15
16
  type: "card";
16
17
  }
@@ -23,4 +24,7 @@ export declare namespace PaymentMethodDetailsResponse {
23
24
  interface AcssDebit extends AcssDebitPaymentMethodResponse.Raw {
24
25
  type: "acssDebit";
25
26
  }
27
+ interface AuBecsDebit extends AuBecsDebitPaymentMethodResponse.Raw {
28
+ type: "auBecsDebit";
29
+ }
26
30
  }
@@ -42,12 +42,14 @@ 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");
45
46
  exports.PaymentMethodDetailsResponse = core.serialization
46
47
  .union("type", {
47
48
  card: CardPaymentMethodResponse_1.CardPaymentMethodResponse,
48
49
  usBankAccount: UsBankAccountPaymentMethodResponse_1.UsBankAccountPaymentMethodResponse,
49
50
  sepaBankAccount: SepaPaymentMethodResponse_1.SepaPaymentMethodResponse,
50
51
  acssDebit: AcssDebitPaymentMethodResponse_1.AcssDebitPaymentMethodResponse,
52
+ auBecsDebit: AuBecsDebitPaymentMethodResponse_1.AuBecsDebitPaymentMethodResponse,
51
53
  })
52
54
  .transform({
53
55
  transform: (value) => value,
@@ -8,6 +8,7 @@ export * from "./PaymentMethodProvider";
8
8
  export * from "./PaymentMethodDetailsResponse";
9
9
  export * from "./SepaPaymentMethodResponse";
10
10
  export * from "./AcssDebitPaymentMethodResponse";
11
+ export * from "./AuBecsDebitPaymentMethodResponse";
11
12
  export * from "./CardPaymentMethodResponse";
12
13
  export * from "./UsBankAccountPaymentMethodResponse";
13
14
  export * from "./UsBankAccountProviderDetails";
@@ -24,6 +24,7 @@ __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);
27
28
  __exportStar(require("./CardPaymentMethodResponse"), exports);
28
29
  __exportStar(require("./UsBankAccountPaymentMethodResponse"), exports);
29
30
  __exportStar(require("./UsBankAccountProviderDetails"), exports);
@@ -35,7 +35,3 @@ export * from "./CreateVirtualAccountDestination";
35
35
  export * from "./VirtualAccountHistoryResponse";
36
36
  export * from "./VirtualAccountHistory";
37
37
  export * from "./VirtualAccountHistorySource";
38
- export * from "./WalletHistory";
39
- export * from "./WalletHistorySource";
40
- export * from "./WalletHistoryDestination";
41
- export * from "./WalletHistoryResponse";
@@ -51,7 +51,3 @@ __exportStar(require("./CreateVirtualAccountDestination"), exports);
51
51
  __exportStar(require("./VirtualAccountHistoryResponse"), exports);
52
52
  __exportStar(require("./VirtualAccountHistory"), exports);
53
53
  __exportStar(require("./VirtualAccountHistorySource"), exports);
54
- __exportStar(require("./WalletHistory"), exports);
55
- __exportStar(require("./WalletHistorySource"), exports);
56
- __exportStar(require("./WalletHistoryDestination"), exports);
57
- __exportStar(require("./WalletHistoryResponse"), 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 GetEorEmployeeByUserIdResponse: core.serialization.ObjectSchema<serializers.api.thera.eor.GetEorEmployeeByUserIdResponse.Raw, TheraApi.api.thera.eor.GetEorEmployeeByUserIdResponse>;
8
- export declare namespace GetEorEmployeeByUserIdResponse {
7
+ export declare const GetEorEmployeeByEmailResponse: core.serialization.ObjectSchema<serializers.api.thera.eor.GetEorEmployeeByEmailResponse.Raw, TheraApi.api.thera.eor.GetEorEmployeeByEmailResponse>;
8
+ export declare namespace GetEorEmployeeByEmailResponse {
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.GetEorEmployeeByUserIdResponse = void 0;
39
+ exports.GetEorEmployeeByEmailResponse = void 0;
40
40
  const core = __importStar(require("../../../../../../../../../../core"));
41
- exports.GetEorEmployeeByUserIdResponse = core.serialization.object({
41
+ exports.GetEorEmployeeByEmailResponse = core.serialization.object({
42
42
  employee: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
43
43
  });
@@ -0,0 +1,13 @@
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 GetLatestEorEmployeeEmailResponse: core.serialization.ObjectSchema<serializers.api.thera.eor.GetLatestEorEmployeeEmailResponse.Raw, TheraApi.api.thera.eor.GetLatestEorEmployeeEmailResponse>;
8
+ export declare namespace GetLatestEorEmployeeEmailResponse {
9
+ interface Raw {
10
+ email: string;
11
+ userId: string;
12
+ }
13
+ }
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.GetLatestEorEmployeeEmailResponse = void 0;
40
+ const core = __importStar(require("../../../../../../../../../../core"));
41
+ exports.GetLatestEorEmployeeEmailResponse = core.serialization.object({
42
+ email: core.serialization.string(),
43
+ userId: core.serialization.string(),
44
+ });
@@ -1,2 +1,3 @@
1
1
  export * from "./GetEorTrackerResponse";
2
- export * from "./GetEorEmployeeByUserIdResponse";
2
+ export * from "./GetEorEmployeeByEmailResponse";
3
+ export * from "./GetLatestEorEmployeeEmailResponse";
@@ -15,4 +15,5 @@ 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("./GetEorEmployeeByUserIdResponse"), exports);
18
+ __exportStar(require("./GetEorEmployeeByEmailResponse"), exports);
19
+ __exportStar(require("./GetLatestEorEmployeeEmailResponse"), 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
+ export declare const FilloutEorEmployeeWebhookRequest: core.serialization.ObjectSchema<serializers.api.thera.misc.FilloutEorEmployeeWebhookRequest.Raw, TheraApi.api.thera.misc.FilloutEorEmployeeWebhookRequest>;
9
+ export declare namespace FilloutEorEmployeeWebhookRequest {
10
+ interface Raw {
11
+ firstName: string;
12
+ lastName: string;
13
+ email: string;
14
+ country: string;
15
+ companyID: string;
16
+ teamId?: string | null;
17
+ jobTitle: string;
18
+ startDate: string;
19
+ rate: number;
20
+ wageType: WageType.Raw;
21
+ currency: string;
22
+ }
23
+ }
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.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({
43
+ firstName: core.serialization.string(),
44
+ lastName: core.serialization.string(),
45
+ email: core.serialization.string(),
46
+ 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
+ currency: core.serialization.string(),
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 FilloutEorEmployeeWebhookResponse: core.serialization.ObjectSchema<serializers.api.thera.misc.FilloutEorEmployeeWebhookResponse.Raw, TheraApi.api.thera.misc.FilloutEorEmployeeWebhookResponse>;
8
+ export declare namespace FilloutEorEmployeeWebhookResponse {
9
+ interface Raw {
10
+ message: string;
11
+ }
12
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.FilloutEorEmployeeWebhookResponse = void 0;
40
+ const core = __importStar(require("../../../../../../../../../../core"));
41
+ exports.FilloutEorEmployeeWebhookResponse = core.serialization.object({
42
+ message: core.serialization.string(),
43
+ });