@thera-hr/api-sdk 0.0.1-prerelease3045-dev-2 → 0.0.1-prerelease3045-dev-3

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 (262) hide show
  1. package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  2. package/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  3. package/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
  4. package/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  5. package/api/resources/api/resources/thera/client/Client.d.ts +3 -0
  6. package/api/resources/api/resources/thera/client/Client.js +17 -12
  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.d.ts +1 -27
  9. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +35 -155
  10. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetPayInHistoryRequest.d.ts +1 -5
  11. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.d.ts +0 -1
  12. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.d.ts +0 -1
  13. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -1
  14. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -1
  15. package/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +24 -24
  16. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  17. package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  18. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  19. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  20. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  21. package/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  22. package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  23. package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  24. package/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
  25. package/api/resources/api/resources/thera/resources/incorporation/client/Client.d.ts +19 -0
  26. package/api/resources/api/resources/thera/resources/incorporation/client/Client.js +17 -0
  27. package/api/resources/api/resources/thera/resources/incorporation/client/index.d.ts +1 -0
  28. package/api/resources/api/resources/thera/resources/incorporation/client/index.js +2 -0
  29. package/api/resources/api/resources/thera/resources/incorporation/index.d.ts +2 -0
  30. package/api/resources/api/resources/thera/resources/incorporation/index.js +18 -0
  31. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.d.ts +87 -0
  32. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.js +261 -0
  33. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/index.d.ts +1 -0
  34. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/index.js +2 -0
  35. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/index.d.ts +2 -0
  36. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/index.js +18 -0
  37. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionRequest.d.ts +11 -0
  38. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionResponse.d.ts +7 -0
  39. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.d.ts +24 -0
  40. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.d.ts +9 -0
  41. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentStatusResponse.d.ts +13 -0
  42. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentStatusResponse.js +5 -0
  43. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.d.ts +5 -0
  44. package/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.js +21 -0
  45. package/api/resources/api/resources/thera/resources/incorporation/resources/index.d.ts +2 -0
  46. package/api/resources/api/resources/thera/resources/incorporation/resources/index.js +41 -0
  47. package/api/resources/api/resources/thera/resources/index.d.ts +1 -0
  48. package/api/resources/api/resources/thera/resources/index.js +2 -1
  49. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +7 -7
  50. package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  51. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
  52. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  53. package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  54. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.d.ts +40 -0
  55. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +89 -10
  56. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.d.ts +8 -0
  57. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.js +5 -0
  58. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.d.ts +10 -0
  59. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.js +5 -0
  60. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.d.ts +11 -0
  61. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.js +5 -0
  62. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.d.ts +11 -0
  63. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.js +5 -0
  64. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -0
  65. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -0
  66. package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  67. package/api/resources/db/resources/company/types/Company.d.ts +1 -0
  68. package/api/resources/db/resources/company/types/IncorporationDetails.d.ts +23 -0
  69. package/api/resources/db/resources/company/types/IncorporationDetails.js +5 -0
  70. package/api/resources/db/resources/company/types/IncorporationDocument.d.ts +7 -0
  71. package/api/resources/db/resources/company/types/IncorporationDocument.js +5 -0
  72. package/api/resources/db/resources/company/types/TpCompanyInformation.d.ts +1 -0
  73. package/api/resources/db/resources/company/types/WithdrawalTpBankInfo.d.ts +10 -0
  74. package/api/resources/db/resources/company/types/WithdrawalTpBankInfo.js +5 -0
  75. package/api/resources/db/resources/company/types/index.d.ts +3 -0
  76. package/api/resources/db/resources/company/types/index.js +3 -0
  77. package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  78. package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  79. package/dist/api/resources/api/resources/external/resources/externalApi/client/Client.js +1 -1
  80. package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  81. package/dist/api/resources/api/resources/thera/client/Client.d.ts +3 -0
  82. package/dist/api/resources/api/resources/thera/client/Client.js +17 -12
  83. package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  84. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +1 -27
  85. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +35 -155
  86. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetPayInHistoryRequest.d.ts +1 -5
  87. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.d.ts +0 -1
  88. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.d.ts +0 -1
  89. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -1
  90. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -1
  91. package/dist/api/resources/api/resources/thera/resources/bridge/resources/bridgeApi/client/Client.js +24 -24
  92. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  93. package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  94. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  95. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +7 -7
  96. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  97. package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  98. package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  99. package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  100. package/dist/api/resources/api/resources/thera/resources/eor/resources/eorTrackerApi/client/Client.js +3 -3
  101. package/dist/api/resources/api/resources/thera/resources/incorporation/client/Client.d.ts +19 -0
  102. package/dist/api/resources/api/resources/thera/resources/incorporation/client/Client.js +17 -0
  103. package/dist/api/resources/api/resources/thera/resources/incorporation/client/index.d.ts +1 -0
  104. package/dist/api/resources/api/resources/thera/resources/incorporation/client/index.js +2 -0
  105. package/dist/api/resources/api/resources/thera/resources/incorporation/index.d.ts +2 -0
  106. package/dist/api/resources/api/resources/thera/resources/incorporation/index.js +18 -0
  107. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.d.ts +87 -0
  108. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/Client.js +261 -0
  109. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/index.d.ts +1 -0
  110. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/client/index.js +2 -0
  111. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/index.d.ts +2 -0
  112. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/index.js +18 -0
  113. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionRequest.d.ts +11 -0
  114. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionRequest.js +5 -0
  115. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionResponse.d.ts +7 -0
  116. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionResponse.js +5 -0
  117. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.d.ts +24 -0
  118. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.js +5 -0
  119. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.d.ts +9 -0
  120. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.js +5 -0
  121. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentStatusResponse.d.ts +13 -0
  122. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentStatusResponse.js +5 -0
  123. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.d.ts +5 -0
  124. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.js +21 -0
  125. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/index.d.ts +2 -0
  126. package/dist/api/resources/api/resources/thera/resources/incorporation/resources/index.js +41 -0
  127. package/dist/api/resources/api/resources/thera/resources/index.d.ts +1 -0
  128. package/dist/api/resources/api/resources/thera/resources/index.js +2 -1
  129. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +7 -7
  130. package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  131. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
  132. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  133. package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  134. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.d.ts +40 -0
  135. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +89 -10
  136. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.d.ts +8 -0
  137. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.js +5 -0
  138. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.d.ts +10 -0
  139. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.js +5 -0
  140. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.d.ts +11 -0
  141. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.js +5 -0
  142. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.d.ts +11 -0
  143. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.js +5 -0
  144. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -0
  145. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -0
  146. package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  147. package/dist/api/resources/db/resources/company/types/Company.d.ts +1 -0
  148. package/dist/api/resources/db/resources/company/types/IncorporationDetails.d.ts +23 -0
  149. package/dist/api/resources/db/resources/company/types/IncorporationDetails.js +5 -0
  150. package/dist/api/resources/db/resources/company/types/IncorporationDocument.d.ts +7 -0
  151. package/dist/api/resources/db/resources/company/types/IncorporationDocument.js +5 -0
  152. package/dist/api/resources/db/resources/company/types/TpCompanyInformation.d.ts +1 -0
  153. package/dist/api/resources/db/resources/company/types/WithdrawalTpBankInfo.d.ts +10 -0
  154. package/dist/api/resources/db/resources/company/types/WithdrawalTpBankInfo.js +5 -0
  155. package/dist/api/resources/db/resources/company/types/index.d.ts +3 -0
  156. package/dist/api/resources/db/resources/company/types/index.js +3 -0
  157. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.d.ts +0 -1
  158. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.js +0 -1
  159. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -1
  160. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -1
  161. package/dist/serialization/resources/api/resources/thera/resources/incorporation/index.d.ts +1 -0
  162. package/dist/serialization/resources/api/resources/thera/resources/incorporation/index.js +17 -0
  163. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/index.d.ts +1 -0
  164. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/index.js +17 -0
  165. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionRequest.d.ts +17 -0
  166. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionRequest.js +48 -0
  167. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionResponse.d.ts +13 -0
  168. package/dist/serialization/resources/api/resources/thera/resources/{bank/resources/bankApi/types/GetPayInCountResponse.js → incorporation/resources/incorporationApi/types/CheckoutSessionResponse.js} +4 -3
  169. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.d.ts +30 -0
  170. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.js +61 -0
  171. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.d.ts +15 -0
  172. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.js +46 -0
  173. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentStatusResponse.d.ts +19 -0
  174. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentStatusResponse.js +50 -0
  175. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.d.ts +5 -0
  176. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.js +21 -0
  177. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/index.d.ts +2 -0
  178. package/dist/serialization/resources/api/resources/thera/resources/incorporation/resources/index.js +41 -0
  179. package/dist/serialization/resources/api/resources/thera/resources/index.d.ts +1 -0
  180. package/dist/serialization/resources/api/resources/thera/resources/index.js +2 -1
  181. package/dist/serialization/resources/api/resources/thera/resources/{bank/resources/bankApi/types/GetPayInCountResponse.d.ts → tp/resources/tpApi/types/WithdrawalAch.d.ts} +5 -3
  182. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.js +45 -0
  183. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.d.ts +17 -0
  184. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.js +48 -0
  185. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.d.ts +17 -0
  186. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.js +48 -0
  187. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.d.ts +17 -0
  188. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.js +48 -0
  189. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -0
  190. package/dist/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -0
  191. package/dist/serialization/resources/db/resources/company/types/Company.d.ts +2 -0
  192. package/dist/serialization/resources/db/resources/company/types/Company.js +2 -0
  193. package/dist/serialization/resources/db/resources/company/types/IncorporationDetails.d.ts +29 -0
  194. package/dist/serialization/resources/db/resources/company/types/IncorporationDetails.js +60 -0
  195. package/dist/serialization/resources/db/resources/company/types/IncorporationDocument.d.ts +13 -0
  196. package/dist/serialization/resources/db/resources/company/types/IncorporationDocument.js +44 -0
  197. package/dist/serialization/resources/db/resources/company/types/TpCompanyInformation.d.ts +2 -0
  198. package/dist/serialization/resources/db/resources/company/types/TpCompanyInformation.js +2 -0
  199. package/dist/serialization/resources/db/resources/company/types/WithdrawalTpBankInfo.d.ts +16 -0
  200. package/dist/serialization/resources/db/resources/company/types/WithdrawalTpBankInfo.js +47 -0
  201. package/dist/serialization/resources/db/resources/company/types/index.d.ts +3 -0
  202. package/dist/serialization/resources/db/resources/company/types/index.js +3 -0
  203. package/dist/version.d.ts +1 -1
  204. package/dist/version.js +1 -1
  205. package/package.json +1 -1
  206. package/reference.md +320 -146
  207. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.d.ts +0 -1
  208. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInHistoryResponse.js +0 -1
  209. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +0 -1
  210. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +0 -1
  211. package/serialization/resources/api/resources/thera/resources/incorporation/index.d.ts +1 -0
  212. package/serialization/resources/api/resources/thera/resources/incorporation/index.js +17 -0
  213. package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/index.d.ts +1 -0
  214. package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/index.js +17 -0
  215. package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionRequest.d.ts +17 -0
  216. package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionRequest.js +48 -0
  217. package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/CheckoutSessionResponse.d.ts +13 -0
  218. package/serialization/resources/api/resources/thera/resources/{bank/resources/bankApi/types/GetPayInCountResponse.js → incorporation/resources/incorporationApi/types/CheckoutSessionResponse.js} +4 -3
  219. package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.d.ts +30 -0
  220. package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.js +61 -0
  221. package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.d.ts +15 -0
  222. package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.js +46 -0
  223. package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentStatusResponse.d.ts +19 -0
  224. package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/PaymentStatusResponse.js +50 -0
  225. package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.d.ts +5 -0
  226. package/serialization/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/index.js +21 -0
  227. package/serialization/resources/api/resources/thera/resources/incorporation/resources/index.d.ts +2 -0
  228. package/serialization/resources/api/resources/thera/resources/incorporation/resources/index.js +41 -0
  229. package/serialization/resources/api/resources/thera/resources/index.d.ts +1 -0
  230. package/serialization/resources/api/resources/thera/resources/index.js +2 -1
  231. package/serialization/resources/api/resources/thera/resources/{bank/resources/bankApi/types/GetPayInCountResponse.d.ts → tp/resources/tpApi/types/WithdrawalAch.d.ts} +5 -3
  232. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalAch.js +45 -0
  233. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.d.ts +17 -0
  234. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalTheraCash.js +48 -0
  235. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.d.ts +17 -0
  236. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWire.js +48 -0
  237. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.d.ts +17 -0
  238. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/WithdrawalWireAddress.js +48 -0
  239. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.d.ts +4 -0
  240. package/serialization/resources/api/resources/thera/resources/tp/resources/tpApi/types/index.js +4 -0
  241. package/serialization/resources/db/resources/company/types/Company.d.ts +2 -0
  242. package/serialization/resources/db/resources/company/types/Company.js +2 -0
  243. package/serialization/resources/db/resources/company/types/IncorporationDetails.d.ts +29 -0
  244. package/serialization/resources/db/resources/company/types/IncorporationDetails.js +60 -0
  245. package/serialization/resources/db/resources/company/types/IncorporationDocument.d.ts +13 -0
  246. package/serialization/resources/db/resources/company/types/IncorporationDocument.js +44 -0
  247. package/serialization/resources/db/resources/company/types/TpCompanyInformation.d.ts +2 -0
  248. package/serialization/resources/db/resources/company/types/TpCompanyInformation.js +2 -0
  249. package/serialization/resources/db/resources/company/types/WithdrawalTpBankInfo.d.ts +16 -0
  250. package/serialization/resources/db/resources/company/types/WithdrawalTpBankInfo.js +47 -0
  251. package/serialization/resources/db/resources/company/types/index.d.ts +3 -0
  252. package/serialization/resources/db/resources/company/types/index.js +3 -0
  253. package/version.d.ts +1 -1
  254. package/version.js +1 -1
  255. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetPaymentByTypeRequest.d.ts +0 -12
  256. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInCountResponse.d.ts +0 -6
  257. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetPaymentByTypeRequest.d.ts +0 -12
  258. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInCountResponse.d.ts +0 -6
  259. /package/api/resources/api/resources/thera/resources/{bank/resources/bankApi/client/requests/GetPaymentByTypeRequest.js → incorporation/resources/incorporationApi/types/CheckoutSessionRequest.js} +0 -0
  260. /package/api/resources/api/resources/thera/resources/{bank/resources/bankApi/types/GetPayInCountResponse.js → incorporation/resources/incorporationApi/types/CheckoutSessionResponse.js} +0 -0
  261. /package/{dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/GetPaymentByTypeRequest.js → api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupRequest.js} +0 -0
  262. /package/{dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/GetPayInCountResponse.js → api/resources/api/resources/thera/resources/incorporation/resources/incorporationApi/types/IncorporationSignupResponse.js} +0 -0
@@ -78,7 +78,7 @@ class UserApi {
78
78
  const _response = yield core.fetcher({
79
79
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `company/${encodeURIComponent(companyId)}/user/${encodeURIComponent(userId)}`),
80
80
  method: "POST",
81
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3045-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3045-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
81
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3045-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3045-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
82
82
  contentType: "application/json",
83
83
  requestType: "json",
84
84
  body: serializers.api.thera.user.SetUserComplianceSettingsRequest.jsonOrThrow(request, {
@@ -139,7 +139,7 @@ class UserApi {
139
139
  const _response = yield core.fetcher({
140
140
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), `company/${encodeURIComponent(companyId)}/user`),
141
141
  method: "GET",
142
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3045-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3045-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
142
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3045-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3045-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
143
143
  contentType: "application/json",
144
144
  queryParameters: _queryParams,
145
145
  requestType: "json",
@@ -197,7 +197,7 @@ class UserApi {
197
197
  const _response = yield core.fetcher({
198
198
  url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment)), "user"),
199
199
  method: "GET",
200
- headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3045-dev-2", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3045-dev-2", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
200
+ headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@thera-hr/api-sdk", "X-Fern-SDK-Version": "0.0.1-prerelease3045-dev-3", "User-Agent": "@thera-hr/api-sdk/0.0.1-prerelease3045-dev-3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
201
201
  contentType: "application/json",
202
202
  queryParameters: _queryParams,
203
203
  requestType: "json",
@@ -50,4 +50,5 @@ export interface Company {
50
50
  mercoaCompanyDetails?: TheraApi.db.MercoaCompanyDetails;
51
51
  companyAccountingInformation?: TheraApi.db.CompanyAccountingInformation;
52
52
  companyBankingDetails?: TheraApi.db.CompanyBankingDetails;
53
+ incorporationDetails?: TheraApi.db.IncorporationDetails;
53
54
  }
@@ -0,0 +1,23 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as TheraApi from "../../../../../index";
5
+ export interface IncorporationDetails {
6
+ incorporationId: string;
7
+ state?: string;
8
+ registrationDate: string;
9
+ appointedAgent: boolean;
10
+ experience?: string;
11
+ progress?: string;
12
+ industry?: string;
13
+ agent?: string;
14
+ packageType?: string;
15
+ dbaService?: boolean;
16
+ worryFreeCompliance?: boolean;
17
+ einDocuments?: string[];
18
+ tradeMarkCompany?: boolean;
19
+ status?: string;
20
+ phone?: string;
21
+ documents?: TheraApi.db.IncorporationDocument[];
22
+ updatedAt?: string;
23
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface IncorporationDocument {
5
+ name: string;
6
+ s3Key: string;
7
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -9,4 +9,5 @@ export interface TpCompanyInformation {
9
9
  disbursementAccount?: TheraApi.db.TpDisbursementAccount;
10
10
  payrollFboOnboardingStage: TheraApi.db.TpCompanyOnboardingStage;
11
11
  lastInterestPaidMonth?: string;
12
+ withdrawalTpBankInfo?: TheraApi.db.WithdrawalTpBankInfo[];
12
13
  }
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface WithdrawalTpBankInfo {
5
+ counterPartyId: string;
6
+ accountNumber: string;
7
+ routingNumber: string;
8
+ type: string;
9
+ nameOnAccount: string;
10
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -5,6 +5,7 @@ export * from "./CompanyAccountingSyncSetting";
5
5
  export * from "./TheraBillingType";
6
6
  export * from "./TpCompanyInformation";
7
7
  export * from "./TpCompanyOnboardingStage";
8
+ export * from "./WithdrawalTpBankInfo";
8
9
  export * from "./TpDepositAccount";
9
10
  export * from "./TpDisbursementAccount";
10
11
  export * from "./TpAccountInfo";
@@ -42,3 +43,5 @@ export * from "./AddCompanyBeneficiary";
42
43
  export * from "./CompanyBeneficiary";
43
44
  export * from "./CompanyBankingDetails";
44
45
  export * from "./CompanyLegalStructure";
46
+ export * from "./IncorporationDetails";
47
+ export * from "./IncorporationDocument";
@@ -21,6 +21,7 @@ __exportStar(require("./CompanyAccountingSyncSetting"), exports);
21
21
  __exportStar(require("./TheraBillingType"), exports);
22
22
  __exportStar(require("./TpCompanyInformation"), exports);
23
23
  __exportStar(require("./TpCompanyOnboardingStage"), exports);
24
+ __exportStar(require("./WithdrawalTpBankInfo"), exports);
24
25
  __exportStar(require("./TpDepositAccount"), exports);
25
26
  __exportStar(require("./TpDisbursementAccount"), exports);
26
27
  __exportStar(require("./TpAccountInfo"), exports);
@@ -58,3 +59,5 @@ __exportStar(require("./AddCompanyBeneficiary"), exports);
58
59
  __exportStar(require("./CompanyBeneficiary"), exports);
59
60
  __exportStar(require("./CompanyBankingDetails"), exports);
60
61
  __exportStar(require("./CompanyLegalStructure"), exports);
62
+ __exportStar(require("./IncorporationDetails"), exports);
63
+ __exportStar(require("./IncorporationDocument"), exports);
@@ -11,6 +11,5 @@ export declare namespace GetPayInHistoryResponse {
11
11
  interface Raw {
12
12
  history: HistoricalPayIn.Raw[];
13
13
  payments: HistoricPayment.Raw[];
14
- nextCursor?: string | null;
15
14
  }
16
15
  }
@@ -43,5 +43,4 @@ const HistoricPayment_1 = require("./HistoricPayment");
43
43
  exports.GetPayInHistoryResponse = core.serialization.object({
44
44
  history: core.serialization.list(HistoricalPayIn_1.HistoricalPayIn),
45
45
  payments: core.serialization.list(HistoricPayment_1.HistoricPayment),
46
- nextCursor: core.serialization.string().optional(),
47
46
  });
@@ -67,4 +67,3 @@ export * from "./GetBankAccountDetailsResponse";
67
67
  export * from "./SetAutoWithdrawalResponse";
68
68
  export * from "./WorkerTransactionStatus";
69
69
  export * from "./SetBulkAutoApproveInvoiceForTeamsRequest";
70
- export * from "./GetPayInCountResponse";
@@ -83,4 +83,3 @@ __exportStar(require("./GetBankAccountDetailsResponse"), exports);
83
83
  __exportStar(require("./SetAutoWithdrawalResponse"), exports);
84
84
  __exportStar(require("./WorkerTransactionStatus"), exports);
85
85
  __exportStar(require("./SetBulkAutoApproveInvoiceForTeamsRequest"), exports);
86
- __exportStar(require("./GetPayInCountResponse"), exports);
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./resources"), exports);
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./types"), exports);
@@ -0,0 +1,17 @@
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 CheckoutSessionRequest: core.serialization.ObjectSchema<serializers.api.thera.incorporation.CheckoutSessionRequest.Raw, TheraApi.api.thera.incorporation.CheckoutSessionRequest>;
8
+ export declare namespace CheckoutSessionRequest {
9
+ interface Raw {
10
+ amount: number;
11
+ productName: string;
12
+ currency: string;
13
+ successUrl: string;
14
+ cancelUrl: string;
15
+ metadata: Record<string, string>;
16
+ }
17
+ }
@@ -0,0 +1,48 @@
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.CheckoutSessionRequest = void 0;
40
+ const core = __importStar(require("../../../../../../../../../../core"));
41
+ exports.CheckoutSessionRequest = core.serialization.object({
42
+ amount: core.serialization.number(),
43
+ productName: core.serialization.string(),
44
+ currency: core.serialization.string(),
45
+ successUrl: core.serialization.string(),
46
+ cancelUrl: core.serialization.string(),
47
+ metadata: core.serialization.record(core.serialization.string(), core.serialization.string()),
48
+ });
@@ -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 CheckoutSessionResponse: core.serialization.ObjectSchema<serializers.api.thera.incorporation.CheckoutSessionResponse.Raw, TheraApi.api.thera.incorporation.CheckoutSessionResponse>;
8
+ export declare namespace CheckoutSessionResponse {
9
+ interface Raw {
10
+ sessionId: string;
11
+ checkoutUrl: string;
12
+ }
13
+ }
@@ -36,8 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.GetPayInCountResponse = void 0;
39
+ exports.CheckoutSessionResponse = void 0;
40
40
  const core = __importStar(require("../../../../../../../../../../core"));
41
- exports.GetPayInCountResponse = core.serialization.object({
42
- totalCount: core.serialization.number(),
41
+ exports.CheckoutSessionResponse = core.serialization.object({
42
+ sessionId: core.serialization.string(),
43
+ checkoutUrl: core.serialization.string(),
43
44
  });
@@ -0,0 +1,30 @@
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 IncorporationSignupRequest: core.serialization.ObjectSchema<serializers.api.thera.incorporation.IncorporationSignupRequest.Raw, TheraApi.api.thera.incorporation.IncorporationSignupRequest>;
8
+ export declare namespace IncorporationSignupRequest {
9
+ interface Raw {
10
+ businessName?: string | null;
11
+ state?: string | null;
12
+ firstName?: string | null;
13
+ lastName?: string | null;
14
+ email: string;
15
+ phone?: string | null;
16
+ experience?: string | null;
17
+ progress?: string | null;
18
+ industry?: string | null;
19
+ agent?: string | null;
20
+ packageType?: string | null;
21
+ dbaService?: boolean | null;
22
+ worryFreeCompliance?: boolean | null;
23
+ einDocuments?: string[] | null;
24
+ tradeMarkCompany?: boolean | null;
25
+ appointedAgent?: boolean | null;
26
+ registrationDate?: string | null;
27
+ status?: string | null;
28
+ password: string;
29
+ }
30
+ }
@@ -0,0 +1,61 @@
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.IncorporationSignupRequest = void 0;
40
+ const core = __importStar(require("../../../../../../../../../../core"));
41
+ exports.IncorporationSignupRequest = core.serialization.object({
42
+ businessName: core.serialization.string().optional(),
43
+ state: core.serialization.string().optional(),
44
+ firstName: core.serialization.string().optional(),
45
+ lastName: core.serialization.string().optional(),
46
+ email: core.serialization.string(),
47
+ phone: core.serialization.string().optional(),
48
+ experience: core.serialization.string().optional(),
49
+ progress: core.serialization.string().optional(),
50
+ industry: core.serialization.string().optional(),
51
+ agent: core.serialization.string().optional(),
52
+ packageType: core.serialization.string().optional(),
53
+ dbaService: core.serialization.boolean().optional(),
54
+ worryFreeCompliance: core.serialization.boolean().optional(),
55
+ einDocuments: core.serialization.list(core.serialization.string()).optional(),
56
+ tradeMarkCompany: core.serialization.boolean().optional(),
57
+ appointedAgent: core.serialization.boolean().optional(),
58
+ registrationDate: core.serialization.string().optional(),
59
+ status: core.serialization.string().optional(),
60
+ password: core.serialization.string(),
61
+ });
@@ -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
+ export declare const IncorporationSignupResponse: core.serialization.ObjectSchema<serializers.api.thera.incorporation.IncorporationSignupResponse.Raw, TheraApi.api.thera.incorporation.IncorporationSignupResponse>;
8
+ export declare namespace IncorporationSignupResponse {
9
+ interface Raw {
10
+ success: boolean;
11
+ userId?: string | null;
12
+ companyId?: string | null;
13
+ error?: string | null;
14
+ }
15
+ }
@@ -0,0 +1,46 @@
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.IncorporationSignupResponse = void 0;
40
+ const core = __importStar(require("../../../../../../../../../../core"));
41
+ exports.IncorporationSignupResponse = core.serialization.object({
42
+ success: core.serialization.boolean(),
43
+ userId: core.serialization.string().optional(),
44
+ companyId: core.serialization.string().optional(),
45
+ error: core.serialization.string().optional(),
46
+ });
@@ -0,0 +1,19 @@
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 PaymentStatusResponse: core.serialization.ObjectSchema<serializers.api.thera.incorporation.PaymentStatusResponse.Raw, TheraApi.api.thera.incorporation.PaymentStatusResponse>;
8
+ export declare namespace PaymentStatusResponse {
9
+ interface Raw {
10
+ sessionId: string;
11
+ paymentSuccessful: boolean;
12
+ paymentStatus: string;
13
+ sessionStatus: string;
14
+ amountTotal?: number | null;
15
+ currency?: string | null;
16
+ paymentIntentId?: string | null;
17
+ customerEmail?: string | null;
18
+ }
19
+ }
@@ -0,0 +1,50 @@
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.PaymentStatusResponse = void 0;
40
+ const core = __importStar(require("../../../../../../../../../../core"));
41
+ exports.PaymentStatusResponse = core.serialization.object({
42
+ sessionId: core.serialization.string(),
43
+ paymentSuccessful: core.serialization.boolean(),
44
+ paymentStatus: core.serialization.string(),
45
+ sessionStatus: core.serialization.string(),
46
+ amountTotal: core.serialization.number().optional(),
47
+ currency: core.serialization.string().optional(),
48
+ paymentIntentId: core.serialization.string().optional(),
49
+ customerEmail: core.serialization.string().optional(),
50
+ });
@@ -0,0 +1,5 @@
1
+ export * from "./IncorporationSignupRequest";
2
+ export * from "./IncorporationSignupResponse";
3
+ export * from "./CheckoutSessionRequest";
4
+ export * from "./CheckoutSessionResponse";
5
+ export * from "./PaymentStatusResponse";
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./IncorporationSignupRequest"), exports);
18
+ __exportStar(require("./IncorporationSignupResponse"), exports);
19
+ __exportStar(require("./CheckoutSessionRequest"), exports);
20
+ __exportStar(require("./CheckoutSessionResponse"), exports);
21
+ __exportStar(require("./PaymentStatusResponse"), exports);
@@ -0,0 +1,2 @@
1
+ export * as incorporationApi from "./incorporationApi";
2
+ export * from "./incorporationApi/types";
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
+ };
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.incorporationApi = void 0;
40
+ exports.incorporationApi = __importStar(require("./incorporationApi"));
41
+ __exportStar(require("./incorporationApi/types"), exports);
@@ -9,6 +9,7 @@ export * as document from "./document";
9
9
  export * as email from "./email";
10
10
  export * as employment from "./employment";
11
11
  export * as eor from "./eor";
12
+ export * as incorporation from "./incorporation";
12
13
  export * as misc from "./misc";
13
14
  export * as payroll from "./payroll";
14
15
  export * as timeoff from "./timeoff";