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

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 (257) 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/{serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetLatestEorEmployeeEmailResponse.js → api/resources/api/resources/external/resources/index.js} +6 -9
  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.d.ts +10 -0
  32. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +75 -23
  33. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistory.d.ts +13 -0
  34. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryDestination.d.ts +7 -0
  35. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryResponse.d.ts +8 -0
  36. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistorySource.d.ts +7 -0
  37. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +4 -0
  38. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +4 -0
  39. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.d.ts +8 -1
  40. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +26 -19
  41. package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  42. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  43. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  44. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  45. package/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  46. package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  47. package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  48. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.d.ts +4 -14
  49. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +9 -61
  50. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/{GetEorEmployeeByEmailResponse.d.ts → GetEorEmployeeByUserIdResponse.d.ts} +1 -1
  51. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +1 -2
  52. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +1 -2
  53. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.d.ts +0 -25
  54. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +6 -77
  55. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/index.d.ts +0 -1
  56. package/api/resources/api/resources/thera/resources/misc/resources/misc/types/index.d.ts +0 -2
  57. package/api/resources/api/resources/thera/resources/misc/resources/misc/types/index.js +0 -2
  58. package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  59. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
  60. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  61. package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  62. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
  63. package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  64. package/api/resources/db/resources/company/types/TpCompanyInformation.d.ts +1 -0
  65. package/api/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.d.ts +1 -4
  66. package/api/resources/db/resources/paymentMethod/types/index.d.ts +0 -1
  67. package/api/resources/db/resources/paymentMethod/types/index.js +0 -1
  68. package/dist/api/resources/api/client/Client.d.ts +3 -0
  69. package/dist/api/resources/api/client/Client.js +9 -4
  70. package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  71. package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  72. package/dist/api/resources/api/resources/external/client/Client.d.ts +19 -0
  73. package/dist/api/resources/api/resources/external/client/Client.js +17 -0
  74. package/dist/api/resources/api/resources/external/client/index.d.ts +1 -0
  75. package/dist/api/resources/api/resources/external/client/index.js +2 -0
  76. package/dist/api/resources/api/resources/external/index.d.ts +2 -0
  77. package/dist/api/resources/api/resources/external/index.js +18 -0
  78. package/dist/api/resources/api/resources/external/resources/externalApi/client/Client.d.ts +69 -0
  79. package/dist/api/resources/api/resources/external/resources/externalApi/client/Client.js +156 -0
  80. package/dist/api/resources/api/resources/external/resources/externalApi/client/index.d.ts +1 -0
  81. package/dist/api/resources/api/resources/external/resources/externalApi/client/index.js +2 -0
  82. package/dist/api/resources/api/resources/external/resources/externalApi/index.d.ts +2 -0
  83. package/dist/api/resources/api/resources/external/resources/externalApi/index.js +18 -0
  84. package/dist/api/resources/api/resources/external/resources/externalApi/types/ExternalCreateContractorRequestV2.d.ts +16 -0
  85. package/dist/api/resources/api/resources/{thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.d.ts → external/resources/externalApi/types/ExternalSuccessResponseV2.d.ts} +2 -2
  86. package/dist/api/resources/api/resources/external/resources/externalApi/types/index.d.ts +2 -0
  87. package/dist/api/resources/api/resources/external/resources/externalApi/types/index.js +18 -0
  88. package/dist/api/resources/api/resources/external/resources/index.d.ts +2 -0
  89. package/dist/api/resources/api/resources/external/resources/index.js +41 -0
  90. package/dist/api/resources/api/resources/index.d.ts +1 -0
  91. package/dist/api/resources/api/resources/index.js +2 -1
  92. package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  93. package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  94. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +33 -33
  95. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodDetailsResponse.d.ts +1 -4
  96. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -1
  97. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -1
  98. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.d.ts +10 -0
  99. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +75 -23
  100. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistory.d.ts +13 -0
  101. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryDestination.d.ts +7 -0
  102. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryResponse.d.ts +8 -0
  103. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistorySource.d.ts +7 -0
  104. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +4 -0
  105. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +4 -0
  106. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.d.ts +8 -1
  107. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +26 -19
  108. package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  109. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  110. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  111. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  112. package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  113. package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  114. package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  115. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.d.ts +4 -14
  116. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +9 -61
  117. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/{GetEorEmployeeByEmailResponse.d.ts → GetEorEmployeeByUserIdResponse.d.ts} +1 -1
  118. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +1 -2
  119. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +1 -2
  120. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.d.ts +0 -25
  121. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +6 -77
  122. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/index.d.ts +0 -1
  123. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/types/index.d.ts +0 -2
  124. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/types/index.js +0 -2
  125. package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  126. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
  127. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  128. package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  129. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
  130. package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  131. package/dist/api/resources/db/resources/company/types/TpCompanyInformation.d.ts +1 -0
  132. package/dist/api/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.d.ts +1 -4
  133. package/dist/api/resources/db/resources/paymentMethod/types/index.d.ts +0 -1
  134. package/dist/api/resources/db/resources/paymentMethod/types/index.js +0 -1
  135. package/dist/serialization/resources/api/resources/external/index.d.ts +1 -0
  136. package/dist/serialization/resources/api/resources/external/index.js +17 -0
  137. package/dist/serialization/resources/api/resources/external/resources/externalApi/index.d.ts +1 -0
  138. package/dist/serialization/resources/api/resources/external/resources/externalApi/index.js +17 -0
  139. package/dist/serialization/resources/api/resources/external/resources/externalApi/types/ExternalCreateContractorRequestV2.d.ts +23 -0
  140. 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
  141. package/dist/serialization/resources/api/resources/external/resources/externalApi/types/ExternalSuccessResponseV2.d.ts +12 -0
  142. package/{serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.js → dist/serialization/resources/api/resources/external/resources/externalApi/types/ExternalSuccessResponseV2.js} +4 -4
  143. package/dist/serialization/resources/api/resources/external/resources/externalApi/types/index.d.ts +2 -0
  144. package/dist/serialization/resources/api/resources/external/resources/externalApi/types/index.js +18 -0
  145. package/dist/serialization/resources/api/resources/external/resources/index.d.ts +2 -0
  146. package/dist/serialization/resources/api/resources/external/resources/index.js +41 -0
  147. package/dist/serialization/resources/api/resources/index.d.ts +1 -0
  148. package/dist/serialization/resources/api/resources/index.js +2 -1
  149. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodDetailsResponse.d.ts +1 -5
  150. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodDetailsResponse.js +0 -2
  151. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -1
  152. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -1
  153. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistory.d.ts +20 -0
  154. package/dist/serialization/resources/api/resources/thera/resources/{bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.js → bridge/resources/bridgeApi/types/WalletHistory.js} +11 -6
  155. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryDestination.d.ts +13 -0
  156. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryDestination.js +44 -0
  157. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryResponse.d.ts +14 -0
  158. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryResponse.js +45 -0
  159. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistorySource.d.ts +13 -0
  160. package/dist/serialization/resources/api/resources/thera/resources/{eor/resources/eorTrackerApi/types/GetLatestEorEmployeeEmailResponse.js → bridge/resources/bridgeApi/types/WalletHistorySource.js} +4 -4
  161. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +4 -0
  162. package/dist/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +4 -0
  163. 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
  164. 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
  165. package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +1 -2
  166. package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +1 -2
  167. package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/index.d.ts +0 -2
  168. package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/index.js +0 -2
  169. package/dist/serialization/resources/db/resources/company/types/TpCompanyInformation.d.ts +1 -0
  170. package/dist/serialization/resources/db/resources/company/types/TpCompanyInformation.js +1 -0
  171. package/dist/serialization/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.d.ts +1 -5
  172. package/dist/serialization/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.js +0 -2
  173. package/dist/serialization/resources/db/resources/paymentMethod/types/index.d.ts +0 -1
  174. package/dist/serialization/resources/db/resources/paymentMethod/types/index.js +0 -1
  175. package/dist/version.d.ts +1 -1
  176. package/dist/version.js +1 -1
  177. package/package.json +1 -1
  178. package/reference.md +158 -146
  179. package/serialization/resources/api/resources/external/index.d.ts +1 -0
  180. package/serialization/resources/api/resources/external/index.js +17 -0
  181. package/serialization/resources/api/resources/external/resources/externalApi/index.d.ts +1 -0
  182. package/serialization/resources/api/resources/external/resources/externalApi/index.js +17 -0
  183. package/serialization/resources/api/resources/external/resources/externalApi/types/ExternalCreateContractorRequestV2.d.ts +23 -0
  184. 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
  185. package/serialization/resources/api/resources/external/resources/externalApi/types/ExternalSuccessResponseV2.d.ts +12 -0
  186. package/{dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.js → serialization/resources/api/resources/external/resources/externalApi/types/ExternalSuccessResponseV2.js} +4 -4
  187. package/serialization/resources/api/resources/external/resources/externalApi/types/index.d.ts +2 -0
  188. package/serialization/resources/api/resources/external/resources/externalApi/types/index.js +18 -0
  189. package/serialization/resources/api/resources/external/resources/index.d.ts +2 -0
  190. package/serialization/resources/api/resources/external/resources/index.js +41 -0
  191. package/serialization/resources/api/resources/index.d.ts +1 -0
  192. package/serialization/resources/api/resources/index.js +2 -1
  193. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodDetailsResponse.d.ts +1 -5
  194. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/PaymentMethodDetailsResponse.js +0 -2
  195. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -1
  196. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -1
  197. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistory.d.ts +20 -0
  198. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistory.js +51 -0
  199. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryDestination.d.ts +13 -0
  200. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryDestination.js +44 -0
  201. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryResponse.d.ts +14 -0
  202. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistoryResponse.js +45 -0
  203. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistorySource.d.ts +13 -0
  204. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/WalletHistorySource.js +44 -0
  205. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.d.ts +4 -0
  206. package/serialization/resources/api/resources/thera/resources/bridge/resources/bridgeApi/types/index.js +4 -0
  207. 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
  208. 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
  209. package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.d.ts +1 -2
  210. package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/index.js +1 -2
  211. package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/index.d.ts +0 -2
  212. package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/index.js +0 -2
  213. package/serialization/resources/db/resources/company/types/TpCompanyInformation.d.ts +1 -0
  214. package/serialization/resources/db/resources/company/types/TpCompanyInformation.js +1 -0
  215. package/serialization/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.d.ts +1 -5
  216. package/serialization/resources/db/resources/paymentMethod/types/StripeFcPaymentMethod.js +0 -2
  217. package/serialization/resources/db/resources/paymentMethod/types/index.d.ts +0 -1
  218. package/serialization/resources/db/resources/paymentMethod/types/index.js +0 -1
  219. package/version.d.ts +1 -1
  220. package/version.js +1 -1
  221. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.d.ts +0 -9
  222. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetLatestEorEmployeeEmailResponse.d.ts +0 -7
  223. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/FilloutEorEmployeeRequest.d.ts +0 -27
  224. package/api/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.d.ts +0 -17
  225. package/api/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.d.ts +0 -10
  226. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.d.ts +0 -9
  227. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetLatestEorEmployeeEmailResponse.d.ts +0 -7
  228. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/requests/FilloutEorEmployeeRequest.d.ts +0 -27
  229. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.d.ts +0 -17
  230. package/dist/api/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.d.ts +0 -10
  231. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.d.ts +0 -15
  232. package/dist/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetLatestEorEmployeeEmailResponse.d.ts +0 -13
  233. package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.d.ts +0 -23
  234. package/dist/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.d.ts +0 -12
  235. package/dist/serialization/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.d.ts +0 -16
  236. package/dist/serialization/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.js +0 -47
  237. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.d.ts +0 -15
  238. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.js +0 -46
  239. package/serialization/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetLatestEorEmployeeEmailResponse.d.ts +0 -13
  240. package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.d.ts +0 -23
  241. package/serialization/resources/api/resources/thera/resources/misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.d.ts +0 -12
  242. package/serialization/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.d.ts +0 -16
  243. package/serialization/resources/db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.js +0 -47
  244. /package/api/resources/api/resources/{thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.js → external/resources/externalApi/types/ExternalCreateContractorRequestV2.js} +0 -0
  245. /package/api/resources/api/resources/{thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByEmailResponse.js → external/resources/externalApi/types/ExternalSuccessResponseV2.js} +0 -0
  246. /package/api/resources/api/resources/thera/resources/{eor/resources/eorTrackerApi/types/GetLatestEorEmployeeEmailResponse.js → bridge/resources/bridgeApi/types/WalletHistory.js} +0 -0
  247. /package/api/resources/api/resources/thera/resources/{misc/resources/misc/client/requests/FilloutEorEmployeeRequest.js → bridge/resources/bridgeApi/types/WalletHistoryDestination.js} +0 -0
  248. /package/api/resources/api/resources/thera/resources/{misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.js → bridge/resources/bridgeApi/types/WalletHistoryResponse.js} +0 -0
  249. /package/api/resources/api/resources/thera/resources/{misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.js → bridge/resources/bridgeApi/types/WalletHistorySource.js} +0 -0
  250. /package/api/resources/{db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.js → api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.js} +0 -0
  251. /package/dist/api/resources/api/resources/{thera/resources/bank/resources/bankApi/types/AuBecsDebitPaymentMethodResponse.js → external/resources/externalApi/types/ExternalCreateContractorRequestV2.js} +0 -0
  252. /package/dist/api/resources/api/resources/{thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByEmailResponse.js → external/resources/externalApi/types/ExternalSuccessResponseV2.js} +0 -0
  253. /package/dist/api/resources/api/resources/thera/resources/{eor/resources/eorTrackerApi/types/GetLatestEorEmployeeEmailResponse.js → bridge/resources/bridgeApi/types/WalletHistory.js} +0 -0
  254. /package/dist/api/resources/api/resources/thera/resources/{misc/resources/misc/client/requests/FilloutEorEmployeeRequest.js → bridge/resources/bridgeApi/types/WalletHistoryDestination.js} +0 -0
  255. /package/dist/api/resources/api/resources/thera/resources/{misc/resources/misc/types/FilloutEorEmployeeWebhookRequest.js → bridge/resources/bridgeApi/types/WalletHistoryResponse.js} +0 -0
  256. /package/dist/api/resources/api/resources/thera/resources/{misc/resources/misc/types/FilloutEorEmployeeWebhookResponse.js → bridge/resources/bridgeApi/types/WalletHistorySource.js} +0 -0
  257. /package/dist/api/resources/{db/resources/paymentMethod/types/StripeAuBecsDebitPaymentMethodDetails.js → api/resources/thera/resources/eor/resources/eorTrackerApi/types/GetEorEmployeeByUserIdResponse.js} +0 -0
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.WalletHistory = void 0;
40
+ const core = __importStar(require("../../../../../../../../../../core"));
41
+ const WalletHistorySource_1 = require("./WalletHistorySource");
42
+ const WalletHistoryDestination_1 = require("./WalletHistoryDestination");
43
+ exports.WalletHistory = core.serialization.object({
44
+ amount: core.serialization.string().optional(),
45
+ developerFee: core.serialization.property("developer_fee", core.serialization.string().optional()),
46
+ createdAt: core.serialization.property("created_at", core.serialization.string().optional()),
47
+ updatedAt: core.serialization.property("updated_at", core.serialization.string().optional()),
48
+ customerId: core.serialization.property("customer_id", core.serialization.string().optional()),
49
+ source: WalletHistorySource_1.WalletHistorySource,
50
+ destination: WalletHistoryDestination_1.WalletHistoryDestination,
51
+ });
@@ -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 WalletHistoryDestination: core.serialization.ObjectSchema<serializers.api.thera.bridge.WalletHistoryDestination.Raw, TheraApi.api.thera.bridge.WalletHistoryDestination>;
8
+ export declare namespace WalletHistoryDestination {
9
+ interface Raw {
10
+ currency?: string | null;
11
+ payment_rail?: string | null;
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.WalletHistoryDestination = void 0;
40
+ const core = __importStar(require("../../../../../../../../../../core"));
41
+ exports.WalletHistoryDestination = core.serialization.object({
42
+ currency: core.serialization.string().optional(),
43
+ paymentRail: core.serialization.property("payment_rail", core.serialization.string().optional()),
44
+ });
@@ -0,0 +1,14 @@
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 { WalletHistory } from "./WalletHistory";
8
+ export declare const WalletHistoryResponse: core.serialization.ObjectSchema<serializers.api.thera.bridge.WalletHistoryResponse.Raw, TheraApi.api.thera.bridge.WalletHistoryResponse>;
9
+ export declare namespace WalletHistoryResponse {
10
+ interface Raw {
11
+ count: number;
12
+ data: WalletHistory.Raw[];
13
+ }
14
+ }
@@ -0,0 +1,45 @@
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.WalletHistoryResponse = void 0;
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),
45
+ });
@@ -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 WalletHistorySource: core.serialization.ObjectSchema<serializers.api.thera.bridge.WalletHistorySource.Raw, TheraApi.api.thera.bridge.WalletHistorySource>;
8
+ export declare namespace WalletHistorySource {
9
+ interface Raw {
10
+ currency?: string | null;
11
+ payment_rail?: string | null;
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.WalletHistorySource = void 0;
40
+ const core = __importStar(require("../../../../../../../../../../core"));
41
+ exports.WalletHistorySource = core.serialization.object({
42
+ currency: core.serialization.string().optional(),
43
+ paymentRail: core.serialization.property("payment_rail", core.serialization.string().optional()),
44
+ });
@@ -35,3 +35,7 @@ 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,3 +51,7 @@ __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 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,3 +1,2 @@
1
1
  export * from "./GetEorTrackerResponse";
2
- export * from "./GetEorEmployeeByEmailResponse";
3
- export * from "./GetLatestEorEmployeeEmailResponse";
2
+ export * from "./GetEorEmployeeByUserIdResponse";
@@ -15,5 +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);
19
- __exportStar(require("./GetLatestEorEmployeeEmailResponse"), 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/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.0.1-prerelease2890-dev-2";
1
+ export declare const SDK_VERSION = "0.0.1-prerelease2890-production";
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.0.1-prerelease2890-dev-2";
4
+ exports.SDK_VERSION = "0.0.1-prerelease2890-production";
@@ -1,9 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as TheraApi from "../../../../../../../../../index";
5
- export interface AuBecsDebitPaymentMethodResponse {
6
- last4: string;
7
- bsbNumber: string;
8
- status: TheraApi.api.thera.bank.StripeUsBankAccountStatusResponse;
9
- }
@@ -1,7 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface GetLatestEorEmployeeEmailResponse {
5
- email: string;
6
- userId: string;
7
- }
@@ -1,27 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as TheraApi from "../../../../../../../../../../index";
5
- /**
6
- * @example
7
- * {
8
- * theraWebhookSignatureHeader: "string",
9
- * body: {
10
- * firstName: "string",
11
- * lastName: "string",
12
- * email: "string",
13
- * country: "string",
14
- * companyId: "string",
15
- * teamId: "string",
16
- * jobTitle: "string",
17
- * startDate: "2023-01-15",
18
- * rate: 1.1,
19
- * wageType: "HOURLY",
20
- * currency: "string"
21
- * }
22
- * }
23
- */
24
- export interface FilloutEorEmployeeRequest {
25
- theraWebhookSignatureHeader: string;
26
- body: TheraApi.api.thera.misc.FilloutEorEmployeeWebhookRequest;
27
- }
@@ -1,17 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as TheraApi from "../../../../../../../../../index";
5
- export interface FilloutEorEmployeeWebhookRequest {
6
- firstName: string;
7
- lastName: string;
8
- email: string;
9
- country: string;
10
- companyId: string;
11
- teamId?: string;
12
- jobTitle: string;
13
- startDate: string;
14
- rate: number;
15
- wageType: TheraApi.model.thera.WageType;
16
- currency: string;
17
- }
@@ -1,10 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as TheraApi from "../../../../../index";
5
- export interface StripeAuBecsDebitPaymentMethodDetails {
6
- bsbNumber: string;
7
- fingerprint: string;
8
- last4: string;
9
- verificationStatus: TheraApi.db.StripeBankAccountVerificationStatus;
10
- }
@@ -1,9 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as TheraApi from "../../../../../../../../../index";
5
- export interface AuBecsDebitPaymentMethodResponse {
6
- last4: string;
7
- bsbNumber: string;
8
- status: TheraApi.api.thera.bank.StripeUsBankAccountStatusResponse;
9
- }
@@ -1,7 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface GetLatestEorEmployeeEmailResponse {
5
- email: string;
6
- userId: string;
7
- }
@@ -1,27 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as TheraApi from "../../../../../../../../../../index";
5
- /**
6
- * @example
7
- * {
8
- * theraWebhookSignatureHeader: "string",
9
- * body: {
10
- * firstName: "string",
11
- * lastName: "string",
12
- * email: "string",
13
- * country: "string",
14
- * companyId: "string",
15
- * teamId: "string",
16
- * jobTitle: "string",
17
- * startDate: "2023-01-15",
18
- * rate: 1.1,
19
- * wageType: "HOURLY",
20
- * currency: "string"
21
- * }
22
- * }
23
- */
24
- export interface FilloutEorEmployeeRequest {
25
- theraWebhookSignatureHeader: string;
26
- body: TheraApi.api.thera.misc.FilloutEorEmployeeWebhookRequest;
27
- }
@@ -1,17 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as TheraApi from "../../../../../../../../../index";
5
- export interface FilloutEorEmployeeWebhookRequest {
6
- firstName: string;
7
- lastName: string;
8
- email: string;
9
- country: string;
10
- companyId: string;
11
- teamId?: string;
12
- jobTitle: string;
13
- startDate: string;
14
- rate: number;
15
- wageType: TheraApi.model.thera.WageType;
16
- currency: string;
17
- }
@@ -1,10 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as TheraApi from "../../../../../index";
5
- export interface StripeAuBecsDebitPaymentMethodDetails {
6
- bsbNumber: string;
7
- fingerprint: string;
8
- last4: string;
9
- verificationStatus: TheraApi.db.StripeBankAccountVerificationStatus;
10
- }
@@ -1,15 +0,0 @@
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
- }
@@ -1,13 +0,0 @@
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
- }
@@ -1,23 +0,0 @@
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
- }
@@ -1,12 +0,0 @@
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
- }
@@ -1,16 +0,0 @@
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 { StripeBankAccountVerificationStatus } from "./StripeBankAccountVerificationStatus";
8
- export declare const StripeAuBecsDebitPaymentMethodDetails: core.serialization.ObjectSchema<serializers.db.StripeAuBecsDebitPaymentMethodDetails.Raw, TheraApi.db.StripeAuBecsDebitPaymentMethodDetails>;
9
- export declare namespace StripeAuBecsDebitPaymentMethodDetails {
10
- interface Raw {
11
- bsbNumber: string;
12
- fingerprint: string;
13
- last4: string;
14
- verificationStatus: StripeBankAccountVerificationStatus.Raw;
15
- }
16
- }