@thera-hr/api-sdk 0.0.1-prerelease2663-dev-anthony → 0.0.1-prerelease2664-staging

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 (245) 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/services/resources/file/client/Client.js +5 -5
  4. package/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  5. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +18 -0
  6. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +93 -31
  7. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.d.ts +0 -1
  8. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/{client/requests → types}/SetAutoPayRequest.d.ts +0 -8
  9. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/SetBulkAutoPayForTeamsRequest.d.ts +7 -0
  10. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +2 -0
  11. package/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +2 -0
  12. package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  13. package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/Manager.d.ts +1 -1
  14. package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  15. package/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  16. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.d.ts +2 -1
  17. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +9 -8
  18. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/EditInvoiceRequest.d.ts +3 -1
  19. package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  20. package/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  21. package/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  22. package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  23. package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +5 -5
  24. package/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  25. package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
  26. package/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  27. package/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  28. package/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
  29. package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  30. package/api/resources/db/resources/company/types/Company.d.ts +1 -1
  31. package/api/resources/db/resources/company/types/CompanySettings.d.ts +1 -0
  32. package/api/resources/db/resources/company/types/EnabledApps.d.ts +2 -1
  33. package/{dist/api/resources/db/resources/company/types/MoniteCompanyDetails.d.ts → api/resources/db/resources/company/types/MercoaCompanyDetails.d.ts} +1 -1
  34. package/api/resources/db/resources/company/types/RequestedToEnableApps.d.ts +2 -1
  35. package/api/resources/db/resources/company/types/index.d.ts +1 -1
  36. package/api/resources/db/resources/company/types/index.js +1 -1
  37. package/api/resources/db/resources/index.d.ts +2 -0
  38. package/api/resources/db/resources/index.js +3 -1
  39. package/api/resources/db/resources/migrations/index.d.ts +1 -0
  40. package/api/resources/db/resources/migrations/index.js +17 -0
  41. package/api/resources/db/resources/migrations/types/LedgerMigrationErrorMetadata.d.ts +7 -0
  42. package/api/resources/db/resources/migrations/types/LedgerMigrationMetadata.d.ts +10 -0
  43. package/api/resources/db/resources/migrations/types/LedgerMigrationType.d.ts +8 -0
  44. package/api/resources/db/resources/migrations/types/LedgerMigrationType.js +10 -0
  45. package/api/resources/db/resources/migrations/types/MigrationLog.d.ts +12 -0
  46. package/api/resources/db/resources/migrations/types/MigrationMetadata.d.ts +10 -0
  47. package/api/resources/db/resources/migrations/types/MigrationMetadata.js +5 -0
  48. package/api/resources/db/resources/migrations/types/MigrationStatus.d.ts +8 -0
  49. package/api/resources/db/resources/migrations/types/MigrationStatus.js +10 -0
  50. package/api/resources/db/resources/migrations/types/MigrationType.d.ts +7 -0
  51. package/api/resources/db/resources/migrations/types/MigrationType.js +9 -0
  52. package/api/resources/db/resources/migrations/types/index.d.ts +7 -0
  53. package/api/resources/db/resources/migrations/types/index.js +23 -0
  54. package/api/resources/db/resources/user/types/{MoniteUserDetails.d.ts → MercoaUserDetails.d.ts} +1 -1
  55. package/api/resources/db/resources/user/types/MercoaUserDetails.js +5 -0
  56. package/api/resources/db/resources/user/types/MfaType.d.ts +3 -1
  57. package/api/resources/db/resources/user/types/MfaType.js +2 -0
  58. package/api/resources/db/resources/user/types/User.d.ts +1 -1
  59. package/api/resources/db/resources/user/types/UserCompanySettings.d.ts +0 -1
  60. package/api/resources/db/resources/user/types/index.d.ts +1 -1
  61. package/api/resources/db/resources/user/types/index.js +1 -1
  62. package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
  63. package/dist/api/resources/api/resources/dev/resources/dev/client/Client.js +1 -1
  64. package/dist/api/resources/api/resources/services/resources/file/client/Client.js +5 -5
  65. package/dist/api/resources/api/resources/thera/resources/accounting/resources/accountingApi/client/Client.js +4 -4
  66. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.d.ts +18 -0
  67. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +93 -31
  68. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.d.ts +0 -1
  69. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/{client/requests → types}/SetAutoPayRequest.d.ts +0 -8
  70. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/SetAutoPayRequest.js +5 -0
  71. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/SetBulkAutoPayForTeamsRequest.d.ts +7 -0
  72. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/SetBulkAutoPayForTeamsRequest.js +5 -0
  73. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +2 -0
  74. package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +2 -0
  75. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +18 -18
  76. package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/Manager.d.ts +1 -1
  77. package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +3 -3
  78. package/dist/api/resources/api/resources/thera/resources/contractor/resources/contractorApi/client/Client.js +3 -3
  79. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.d.ts +2 -1
  80. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +9 -8
  81. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/EditInvoiceRequest.d.ts +3 -1
  82. package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
  83. package/dist/api/resources/api/resources/thera/resources/document/resources/documentApi/client/Client.js +3 -3
  84. package/dist/api/resources/api/resources/thera/resources/email/resources/emailApi/client/Client.js +2 -2
  85. package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +5 -5
  86. package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +5 -5
  87. package/dist/api/resources/api/resources/thera/resources/payroll/resources/offcycleApi/client/Client.js +1 -1
  88. package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +3 -3
  89. package/dist/api/resources/api/resources/thera/resources/timeoff/resources/timeoffApi/client/Client.js +14 -14
  90. package/dist/api/resources/api/resources/thera/resources/timetracking/resources/timetrackingApi/client/Client.js +9 -9
  91. package/dist/api/resources/api/resources/thera/resources/tp/resources/tpApi/client/Client.js +10 -10
  92. package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +3 -3
  93. package/dist/api/resources/db/resources/company/types/Company.d.ts +1 -1
  94. package/dist/api/resources/db/resources/company/types/CompanySettings.d.ts +1 -0
  95. package/dist/api/resources/db/resources/company/types/EnabledApps.d.ts +2 -1
  96. package/{api/resources/db/resources/company/types/MoniteCompanyDetails.d.ts → dist/api/resources/db/resources/company/types/MercoaCompanyDetails.d.ts} +1 -1
  97. package/dist/api/resources/db/resources/company/types/MercoaCompanyDetails.js +5 -0
  98. package/dist/api/resources/db/resources/company/types/RequestedToEnableApps.d.ts +2 -1
  99. package/dist/api/resources/db/resources/company/types/index.d.ts +1 -1
  100. package/dist/api/resources/db/resources/company/types/index.js +1 -1
  101. package/dist/api/resources/db/resources/index.d.ts +2 -0
  102. package/dist/api/resources/db/resources/index.js +3 -1
  103. package/dist/api/resources/db/resources/migrations/index.d.ts +1 -0
  104. package/dist/api/resources/db/resources/migrations/index.js +17 -0
  105. package/dist/api/resources/db/resources/migrations/types/LedgerMigrationErrorMetadata.d.ts +7 -0
  106. package/dist/api/resources/db/resources/migrations/types/LedgerMigrationErrorMetadata.js +5 -0
  107. package/dist/api/resources/db/resources/migrations/types/LedgerMigrationMetadata.d.ts +10 -0
  108. package/dist/api/resources/db/resources/migrations/types/LedgerMigrationMetadata.js +5 -0
  109. package/dist/api/resources/db/resources/migrations/types/LedgerMigrationType.d.ts +8 -0
  110. package/dist/api/resources/db/resources/migrations/types/LedgerMigrationType.js +10 -0
  111. package/dist/api/resources/db/resources/migrations/types/MigrationLog.d.ts +12 -0
  112. package/dist/api/resources/db/resources/migrations/types/MigrationLog.js +5 -0
  113. package/dist/api/resources/db/resources/migrations/types/MigrationMetadata.d.ts +10 -0
  114. package/dist/api/resources/db/resources/migrations/types/MigrationMetadata.js +5 -0
  115. package/dist/api/resources/db/resources/migrations/types/MigrationStatus.d.ts +8 -0
  116. package/dist/api/resources/db/resources/migrations/types/MigrationStatus.js +10 -0
  117. package/dist/api/resources/db/resources/migrations/types/MigrationType.d.ts +7 -0
  118. package/dist/api/resources/db/resources/migrations/types/MigrationType.js +9 -0
  119. package/dist/api/resources/db/resources/migrations/types/index.d.ts +7 -0
  120. package/dist/api/resources/db/resources/migrations/types/index.js +23 -0
  121. package/dist/api/resources/db/resources/user/types/{MoniteUserDetails.d.ts → MercoaUserDetails.d.ts} +1 -1
  122. package/dist/api/resources/db/resources/user/types/MercoaUserDetails.js +5 -0
  123. package/dist/api/resources/db/resources/user/types/MfaType.d.ts +3 -1
  124. package/dist/api/resources/db/resources/user/types/MfaType.js +2 -0
  125. package/dist/api/resources/db/resources/user/types/User.d.ts +1 -1
  126. package/dist/api/resources/db/resources/user/types/UserCompanySettings.d.ts +0 -1
  127. package/dist/api/resources/db/resources/user/types/index.d.ts +1 -1
  128. package/dist/api/resources/db/resources/user/types/index.js +1 -1
  129. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.d.ts +0 -1
  130. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.js +1 -3
  131. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SetAutoPayRequest.d.ts +13 -0
  132. package/{serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests → dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types}/SetAutoPayRequest.js +1 -1
  133. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SetBulkAutoPayForTeamsRequest.d.ts +13 -0
  134. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SetBulkAutoPayForTeamsRequest.js +34 -0
  135. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +2 -0
  136. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +2 -0
  137. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/Manager.d.ts +2 -2
  138. package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/Manager.js +2 -2
  139. package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/EditInvoiceRequest.d.ts +2 -1
  140. package/dist/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/EditInvoiceRequest.js +2 -1
  141. package/dist/serialization/resources/db/resources/company/types/Company.d.ts +2 -2
  142. package/dist/serialization/resources/db/resources/company/types/Company.js +2 -2
  143. package/dist/serialization/resources/db/resources/company/types/CompanySettings.d.ts +1 -0
  144. package/dist/serialization/resources/db/resources/company/types/CompanySettings.js +1 -0
  145. package/dist/serialization/resources/db/resources/company/types/EnabledApps.d.ts +2 -1
  146. package/dist/serialization/resources/db/resources/company/types/EnabledApps.js +2 -1
  147. package/{serialization/resources/db/resources/company/types/MoniteCompanyDetails.d.ts → dist/serialization/resources/db/resources/company/types/MercoaCompanyDetails.d.ts} +2 -2
  148. package/{serialization/resources/db/resources/company/types/MoniteCompanyDetails.js → dist/serialization/resources/db/resources/company/types/MercoaCompanyDetails.js} +2 -2
  149. package/dist/serialization/resources/db/resources/company/types/RequestedToEnableApps.d.ts +2 -1
  150. package/dist/serialization/resources/db/resources/company/types/RequestedToEnableApps.js +2 -1
  151. package/dist/serialization/resources/db/resources/company/types/index.d.ts +1 -1
  152. package/dist/serialization/resources/db/resources/company/types/index.js +1 -1
  153. package/dist/serialization/resources/db/resources/index.d.ts +2 -0
  154. package/dist/serialization/resources/db/resources/index.js +3 -1
  155. package/dist/serialization/resources/db/resources/migrations/index.d.ts +1 -0
  156. package/dist/serialization/resources/db/resources/migrations/index.js +17 -0
  157. package/dist/serialization/resources/db/resources/migrations/types/LedgerMigrationErrorMetadata.d.ts +13 -0
  158. package/dist/serialization/resources/db/resources/migrations/types/LedgerMigrationErrorMetadata.js +34 -0
  159. package/dist/serialization/resources/db/resources/migrations/types/LedgerMigrationMetadata.d.ts +17 -0
  160. package/dist/serialization/resources/db/resources/migrations/types/LedgerMigrationMetadata.js +38 -0
  161. package/dist/serialization/resources/db/resources/migrations/types/LedgerMigrationType.d.ts +10 -0
  162. package/dist/serialization/resources/db/resources/migrations/types/LedgerMigrationType.js +31 -0
  163. package/dist/serialization/resources/db/resources/migrations/types/MigrationLog.d.ts +20 -0
  164. package/dist/serialization/resources/db/resources/migrations/types/MigrationLog.js +41 -0
  165. package/dist/serialization/resources/db/resources/migrations/types/MigrationMetadata.d.ts +14 -0
  166. package/dist/serialization/resources/db/resources/migrations/types/MigrationMetadata.js +39 -0
  167. package/dist/serialization/resources/db/resources/migrations/types/MigrationStatus.d.ts +10 -0
  168. package/dist/serialization/resources/db/resources/migrations/types/MigrationStatus.js +31 -0
  169. package/dist/serialization/resources/db/resources/migrations/types/MigrationType.d.ts +10 -0
  170. package/dist/serialization/resources/db/resources/migrations/types/MigrationType.js +31 -0
  171. package/dist/serialization/resources/db/resources/migrations/types/index.d.ts +7 -0
  172. package/dist/serialization/resources/db/resources/migrations/types/index.js +23 -0
  173. package/dist/serialization/resources/db/resources/user/types/{MoniteUserDetails.d.ts → MercoaUserDetails.d.ts} +2 -2
  174. package/dist/serialization/resources/db/resources/user/types/{MoniteUserDetails.js → MercoaUserDetails.js} +2 -2
  175. package/dist/serialization/resources/db/resources/user/types/MfaType.d.ts +1 -1
  176. package/dist/serialization/resources/db/resources/user/types/MfaType.js +1 -1
  177. package/dist/serialization/resources/db/resources/user/types/User.d.ts +2 -2
  178. package/dist/serialization/resources/db/resources/user/types/User.js +2 -2
  179. package/dist/serialization/resources/db/resources/user/types/UserCompanySettings.d.ts +0 -1
  180. package/dist/serialization/resources/db/resources/user/types/UserCompanySettings.js +0 -1
  181. package/dist/serialization/resources/db/resources/user/types/index.d.ts +1 -1
  182. package/dist/serialization/resources/db/resources/user/types/index.js +1 -1
  183. package/package.json +1 -1
  184. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.d.ts +0 -1
  185. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/index.js +1 -3
  186. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SetAutoPayRequest.d.ts +13 -0
  187. package/{dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests → serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types}/SetAutoPayRequest.js +1 -1
  188. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SetBulkAutoPayForTeamsRequest.d.ts +13 -0
  189. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/SetBulkAutoPayForTeamsRequest.js +34 -0
  190. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.d.ts +2 -0
  191. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/types/index.js +2 -0
  192. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/Manager.d.ts +2 -2
  193. package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/Manager.js +2 -2
  194. package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/EditInvoiceRequest.d.ts +2 -1
  195. package/serialization/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/types/EditInvoiceRequest.js +2 -1
  196. package/serialization/resources/db/resources/company/types/Company.d.ts +2 -2
  197. package/serialization/resources/db/resources/company/types/Company.js +2 -2
  198. package/serialization/resources/db/resources/company/types/CompanySettings.d.ts +1 -0
  199. package/serialization/resources/db/resources/company/types/CompanySettings.js +1 -0
  200. package/serialization/resources/db/resources/company/types/EnabledApps.d.ts +2 -1
  201. package/serialization/resources/db/resources/company/types/EnabledApps.js +2 -1
  202. package/{dist/serialization/resources/db/resources/company/types/MoniteCompanyDetails.d.ts → serialization/resources/db/resources/company/types/MercoaCompanyDetails.d.ts} +2 -2
  203. package/{dist/serialization/resources/db/resources/company/types/MoniteCompanyDetails.js → serialization/resources/db/resources/company/types/MercoaCompanyDetails.js} +2 -2
  204. package/serialization/resources/db/resources/company/types/RequestedToEnableApps.d.ts +2 -1
  205. package/serialization/resources/db/resources/company/types/RequestedToEnableApps.js +2 -1
  206. package/serialization/resources/db/resources/company/types/index.d.ts +1 -1
  207. package/serialization/resources/db/resources/company/types/index.js +1 -1
  208. package/serialization/resources/db/resources/index.d.ts +2 -0
  209. package/serialization/resources/db/resources/index.js +3 -1
  210. package/serialization/resources/db/resources/migrations/index.d.ts +1 -0
  211. package/serialization/resources/db/resources/migrations/index.js +17 -0
  212. package/serialization/resources/db/resources/migrations/types/LedgerMigrationErrorMetadata.d.ts +13 -0
  213. package/serialization/resources/db/resources/migrations/types/LedgerMigrationErrorMetadata.js +34 -0
  214. package/serialization/resources/db/resources/migrations/types/LedgerMigrationMetadata.d.ts +17 -0
  215. package/serialization/resources/db/resources/migrations/types/LedgerMigrationMetadata.js +38 -0
  216. package/serialization/resources/db/resources/migrations/types/LedgerMigrationType.d.ts +10 -0
  217. package/serialization/resources/db/resources/migrations/types/LedgerMigrationType.js +31 -0
  218. package/serialization/resources/db/resources/migrations/types/MigrationLog.d.ts +20 -0
  219. package/serialization/resources/db/resources/migrations/types/MigrationLog.js +41 -0
  220. package/serialization/resources/db/resources/migrations/types/MigrationMetadata.d.ts +14 -0
  221. package/serialization/resources/db/resources/migrations/types/MigrationMetadata.js +39 -0
  222. package/serialization/resources/db/resources/migrations/types/MigrationStatus.d.ts +10 -0
  223. package/serialization/resources/db/resources/migrations/types/MigrationStatus.js +31 -0
  224. package/serialization/resources/db/resources/migrations/types/MigrationType.d.ts +10 -0
  225. package/serialization/resources/db/resources/migrations/types/MigrationType.js +31 -0
  226. package/serialization/resources/db/resources/migrations/types/index.d.ts +7 -0
  227. package/serialization/resources/db/resources/migrations/types/index.js +23 -0
  228. package/serialization/resources/db/resources/user/types/{MoniteUserDetails.d.ts → MercoaUserDetails.d.ts} +2 -2
  229. package/serialization/resources/db/resources/user/types/{MoniteUserDetails.js → MercoaUserDetails.js} +2 -2
  230. package/serialization/resources/db/resources/user/types/MfaType.d.ts +1 -1
  231. package/serialization/resources/db/resources/user/types/MfaType.js +1 -1
  232. package/serialization/resources/db/resources/user/types/User.d.ts +2 -2
  233. package/serialization/resources/db/resources/user/types/User.js +2 -2
  234. package/serialization/resources/db/resources/user/types/UserCompanySettings.d.ts +0 -1
  235. package/serialization/resources/db/resources/user/types/UserCompanySettings.js +0 -1
  236. package/serialization/resources/db/resources/user/types/index.d.ts +1 -1
  237. package/serialization/resources/db/resources/user/types/index.js +1 -1
  238. package/dist/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/SetAutoPayRequest.d.ts +0 -13
  239. package/serialization/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/SetAutoPayRequest.d.ts +0 -13
  240. /package/api/resources/api/resources/thera/resources/bank/resources/bankApi/{client/requests → types}/SetAutoPayRequest.js +0 -0
  241. /package/api/resources/{db/resources/company/types/MoniteCompanyDetails.js → api/resources/thera/resources/bank/resources/bankApi/types/SetBulkAutoPayForTeamsRequest.js} +0 -0
  242. /package/api/resources/db/resources/{user/types/MoniteUserDetails.js → company/types/MercoaCompanyDetails.js} +0 -0
  243. /package/{dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/requests/SetAutoPayRequest.js → api/resources/db/resources/migrations/types/LedgerMigrationErrorMetadata.js} +0 -0
  244. /package/{dist/api/resources/db/resources/company/types/MoniteCompanyDetails.js → api/resources/db/resources/migrations/types/LedgerMigrationMetadata.js} +0 -0
  245. /package/{dist/api/resources/db/resources/user/types/MoniteUserDetails.js → api/resources/db/resources/migrations/types/MigrationLog.js} +0 -0
@@ -71,7 +71,7 @@ class UserApi {
71
71
  Authorization: yield this._getAuthorizationHeader(),
72
72
  "X-Fern-Language": "JavaScript",
73
73
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
74
- "X-Fern-SDK-Version": "0.0.1-prerelease2663-dev-anthony",
74
+ "X-Fern-SDK-Version": "0.0.1-prerelease2664-staging",
75
75
  "X-Fern-Runtime": core.RUNTIME.type,
76
76
  "X-Fern-Runtime-Version": core.RUNTIME.version,
77
77
  },
@@ -137,7 +137,7 @@ class UserApi {
137
137
  Authorization: yield this._getAuthorizationHeader(),
138
138
  "X-Fern-Language": "JavaScript",
139
139
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
140
- "X-Fern-SDK-Version": "0.0.1-prerelease2663-dev-anthony",
140
+ "X-Fern-SDK-Version": "0.0.1-prerelease2664-staging",
141
141
  "X-Fern-Runtime": core.RUNTIME.type,
142
142
  "X-Fern-Runtime-Version": core.RUNTIME.version,
143
143
  },
@@ -200,7 +200,7 @@ class UserApi {
200
200
  Authorization: yield this._getAuthorizationHeader(),
201
201
  "X-Fern-Language": "JavaScript",
202
202
  "X-Fern-SDK-Name": "@thera-hr/api-sdk",
203
- "X-Fern-SDK-Version": "0.0.1-prerelease2663-dev-anthony",
203
+ "X-Fern-SDK-Version": "0.0.1-prerelease2664-staging",
204
204
  "X-Fern-Runtime": core.RUNTIME.type,
205
205
  "X-Fern-Runtime-Version": core.RUNTIME.version,
206
206
  },
@@ -47,7 +47,7 @@ export interface Company {
47
47
  */
48
48
  onboarderUserId?: string;
49
49
  creationTimestamp?: Date;
50
- moniteCompanyDetails?: TheraApi.db.MoniteCompanyDetails;
50
+ mercoaCompanyDetails?: TheraApi.db.MercoaCompanyDetails;
51
51
  companyAccountingInformation?: TheraApi.db.CompanyAccountingInformation;
52
52
  companyBankingDetails?: TheraApi.db.CompanyBankingDetails;
53
53
  }
@@ -10,4 +10,5 @@ export interface CompanySettings {
10
10
  timeOffSettings?: TheraApi.db.TimeOffSettings;
11
11
  isTpOnboardingSkipped: boolean;
12
12
  autoApproveTimeOffRequests: boolean;
13
+ autoApproveFixedRateInvoices?: boolean;
13
14
  }
@@ -3,6 +3,7 @@
3
3
  */
4
4
  export interface EnabledApps {
5
5
  payroll: boolean;
6
- apAndAr: boolean;
6
+ ap: boolean;
7
+ ar: boolean;
7
8
  banking: boolean;
8
9
  }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export interface MoniteCompanyDetails {
4
+ export interface MercoaCompanyDetails {
5
5
  entityId: string;
6
6
  }
@@ -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 });
@@ -2,5 +2,6 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface RequestedToEnableApps {
5
- apAndAr: boolean;
5
+ ap: boolean;
6
+ ar: boolean;
6
7
  }
@@ -37,7 +37,7 @@ export * from "./W2ImplementationStatus";
37
37
  export * from "./CompanyPayFrequency";
38
38
  export * from "./PayrollRun";
39
39
  export * from "./PaymentMethodStatus";
40
- export * from "./MoniteCompanyDetails";
40
+ export * from "./MercoaCompanyDetails";
41
41
  export * from "./AddCompanyBeneficiary";
42
42
  export * from "./CompanyBeneficiary";
43
43
  export * from "./CompanyBankingDetails";
@@ -53,7 +53,7 @@ __exportStar(require("./W2ImplementationStatus"), exports);
53
53
  __exportStar(require("./CompanyPayFrequency"), exports);
54
54
  __exportStar(require("./PayrollRun"), exports);
55
55
  __exportStar(require("./PaymentMethodStatus"), exports);
56
- __exportStar(require("./MoniteCompanyDetails"), exports);
56
+ __exportStar(require("./MercoaCompanyDetails"), exports);
57
57
  __exportStar(require("./AddCompanyBeneficiary"), exports);
58
58
  __exportStar(require("./CompanyBeneficiary"), exports);
59
59
  __exportStar(require("./CompanyBankingDetails"), exports);
@@ -10,6 +10,8 @@ export * as generic from "./generic";
10
10
  export * from "./generic/types";
11
11
  export * as invoice from "./invoice";
12
12
  export * from "./invoice/types";
13
+ export * as migrations from "./migrations";
14
+ export * from "./migrations/types";
13
15
  export * as paymentMethod from "./paymentMethod";
14
16
  export * from "./paymentMethod/types";
15
17
  export * as user from "./user";
@@ -26,7 +26,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
26
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.user = exports.paymentMethod = exports.invoice = exports.generic = exports.employment = exports.document = exports.contract = exports.company = void 0;
29
+ exports.user = exports.paymentMethod = exports.migrations = exports.invoice = exports.generic = exports.employment = exports.document = exports.contract = exports.company = void 0;
30
30
  exports.company = __importStar(require("./company"));
31
31
  __exportStar(require("./company/types"), exports);
32
32
  exports.contract = __importStar(require("./contract"));
@@ -39,6 +39,8 @@ exports.generic = __importStar(require("./generic"));
39
39
  __exportStar(require("./generic/types"), exports);
40
40
  exports.invoice = __importStar(require("./invoice"));
41
41
  __exportStar(require("./invoice/types"), exports);
42
+ exports.migrations = __importStar(require("./migrations"));
43
+ __exportStar(require("./migrations/types"), exports);
42
44
  exports.paymentMethod = __importStar(require("./paymentMethod"));
43
45
  __exportStar(require("./paymentMethod/types"), exports);
44
46
  exports.user = __importStar(require("./user"));
@@ -0,0 +1 @@
1
+ export * from "./types";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./types"), exports);
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface LedgerMigrationErrorMetadata {
5
+ errorType: string;
6
+ errorMessage: 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 });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as TheraApi from "../../../../../index";
5
+ export interface LedgerMigrationMetadata {
6
+ ledgerMigrationType: TheraApi.db.LedgerMigrationType;
7
+ sourceLedgerTrxId: string[];
8
+ additionalData: Record<string, string>;
9
+ errorMetadata?: TheraApi.db.LedgerMigrationErrorMetadata;
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 });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type LedgerMigrationType = "STRIPE_PAY_IN_V1_V2" | "WISE_PAY_OUT_V1_V2";
5
+ export declare const LedgerMigrationType: {
6
+ readonly StripePayInV1V2: "STRIPE_PAY_IN_V1_V2";
7
+ readonly WisePayOutV1V2: "WISE_PAY_OUT_V1_V2";
8
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.LedgerMigrationType = void 0;
7
+ exports.LedgerMigrationType = {
8
+ StripePayInV1V2: "STRIPE_PAY_IN_V1_V2",
9
+ WisePayOutV1V2: "WISE_PAY_OUT_V1_V2",
10
+ };
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as TheraApi from "../../../../../index";
5
+ export interface MigrationLog {
6
+ id: string;
7
+ runId: string;
8
+ createdAt: Date;
9
+ type: TheraApi.db.MigrationType;
10
+ status: TheraApi.db.MigrationStatus;
11
+ metadata: TheraApi.db.MigrationMetadata;
12
+ }
@@ -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,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as TheraApi from "../../../../../index";
5
+ export declare type MigrationMetadata = TheraApi.db.MigrationMetadata.LedgerMigration;
6
+ export declare namespace MigrationMetadata {
7
+ interface LedgerMigration extends TheraApi.db.LedgerMigrationMetadata {
8
+ type: "ledgerMigration";
9
+ }
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 });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type MigrationStatus = "SUCCESS" | "FAILURE";
5
+ export declare const MigrationStatus: {
6
+ readonly Success: "SUCCESS";
7
+ readonly Failure: "FAILURE";
8
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.MigrationStatus = void 0;
7
+ exports.MigrationStatus = {
8
+ Success: "SUCCESS",
9
+ Failure: "FAILURE",
10
+ };
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export declare type MigrationType = "LEDGER";
5
+ export declare const MigrationType: {
6
+ readonly Ledger: "LEDGER";
7
+ };
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.MigrationType = void 0;
7
+ exports.MigrationType = {
8
+ Ledger: "LEDGER",
9
+ };
@@ -0,0 +1,7 @@
1
+ export * from "./MigrationLog";
2
+ export * from "./MigrationType";
3
+ export * from "./MigrationStatus";
4
+ export * from "./MigrationMetadata";
5
+ export * from "./LedgerMigrationMetadata";
6
+ export * from "./LedgerMigrationType";
7
+ export * from "./LedgerMigrationErrorMetadata";
@@ -0,0 +1,23 @@
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("./MigrationLog"), exports);
18
+ __exportStar(require("./MigrationType"), exports);
19
+ __exportStar(require("./MigrationStatus"), exports);
20
+ __exportStar(require("./MigrationMetadata"), exports);
21
+ __exportStar(require("./LedgerMigrationMetadata"), exports);
22
+ __exportStar(require("./LedgerMigrationType"), exports);
23
+ __exportStar(require("./LedgerMigrationErrorMetadata"), exports);
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export interface MoniteUserDetails {
4
+ export interface MercoaUserDetails {
5
5
  entityUserId: string;
6
6
  }
@@ -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 });
@@ -1,8 +1,10 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export declare type MfaType = "EMAIL" | "TOTP";
4
+ export declare type MfaType = "EMAIL" | "TOTP" | "SMS" | "WHATSAPP";
5
5
  export declare const MfaType: {
6
6
  readonly Email: "EMAIL";
7
7
  readonly Totp: "TOTP";
8
+ readonly Sms: "SMS";
9
+ readonly Whatsapp: "WHATSAPP";
8
10
  };
@@ -7,4 +7,6 @@ exports.MfaType = void 0;
7
7
  exports.MfaType = {
8
8
  Email: "EMAIL",
9
9
  Totp: "TOTP",
10
+ Sms: "SMS",
11
+ Whatsapp: "WHATSAPP",
10
12
  };
@@ -11,7 +11,7 @@ export interface User {
11
11
  employeeInformation: TheraApi.db.EmployeeInformation;
12
12
  lastPosthogEventDate: string;
13
13
  creationTimestamp?: Date;
14
- moniteUserDetails?: TheraApi.db.MoniteUserDetails;
14
+ mercoaUserDetails?: TheraApi.db.MercoaUserDetails;
15
15
  mfaUserDetails?: TheraApi.db.MfaUserDetails;
16
16
  /** Map of company IDs to their notification settings */
17
17
  notificationsByCompanyId: Record<string, TheraApi.db.NotificationAlerts>;
@@ -3,7 +3,6 @@
3
3
  */
4
4
  import * as TheraApi from "../../../../../index";
5
5
  export interface UserCompanySettings {
6
- v2AccountIdsByCurrency: Record<string, string>;
7
6
  accountIdsByCurrency: Record<string, string>;
8
7
  autoWithdrawalsOn: boolean;
9
8
  documents?: TheraApi.db.UserCompanyDocuments;
@@ -32,7 +32,7 @@ export * from "./UserCompanyDocuments";
32
32
  export * from "./UsIrs1099NecDocumentIds";
33
33
  export * from "./UserApiResponse";
34
34
  export * from "./EmployeeInformationResponse";
35
- export * from "./MoniteUserDetails";
35
+ export * from "./MercoaUserDetails";
36
36
  export * from "./MfaType";
37
37
  export * from "./MfaUserDetails";
38
38
  export * from "./NotificationAlerts";
@@ -48,7 +48,7 @@ __exportStar(require("./UserCompanyDocuments"), exports);
48
48
  __exportStar(require("./UsIrs1099NecDocumentIds"), exports);
49
49
  __exportStar(require("./UserApiResponse"), exports);
50
50
  __exportStar(require("./EmployeeInformationResponse"), exports);
51
- __exportStar(require("./MoniteUserDetails"), exports);
51
+ __exportStar(require("./MercoaUserDetails"), exports);
52
52
  __exportStar(require("./MfaType"), exports);
53
53
  __exportStar(require("./MfaUserDetails"), exports);
54
54
  __exportStar(require("./NotificationAlerts"), exports);
@@ -1,6 +1,5 @@
1
1
  export { PlaidUpdateFlowLinkTokenRequest } from "./PlaidUpdateFlowLinkTokenRequest";
2
2
  export { VerifyAccountSignupRequest } from "./VerifyAccountSignupRequest";
3
- export { SetAutoPayRequest } from "./SetAutoPayRequest";
4
3
  export { EditWithdrawalMethodRequest } from "./EditWithdrawalMethodRequest";
5
4
  export { SetAutoWithdrawalRequest } from "./SetAutoWithdrawalRequest";
6
5
  export { CreateCheckPaymentMethodFromPlaidRequest } from "./CreateCheckPaymentMethodFromPlaidRequest";
@@ -1,12 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateStripePaymentMethodFromPlaidRequest = exports.CreateCheckPaymentMethodFromPlaidRequest = exports.SetAutoWithdrawalRequest = exports.EditWithdrawalMethodRequest = exports.SetAutoPayRequest = exports.VerifyAccountSignupRequest = exports.PlaidUpdateFlowLinkTokenRequest = void 0;
3
+ exports.CreateStripePaymentMethodFromPlaidRequest = exports.CreateCheckPaymentMethodFromPlaidRequest = exports.SetAutoWithdrawalRequest = exports.EditWithdrawalMethodRequest = exports.VerifyAccountSignupRequest = exports.PlaidUpdateFlowLinkTokenRequest = void 0;
4
4
  var PlaidUpdateFlowLinkTokenRequest_1 = require("./PlaidUpdateFlowLinkTokenRequest");
5
5
  Object.defineProperty(exports, "PlaidUpdateFlowLinkTokenRequest", { enumerable: true, get: function () { return PlaidUpdateFlowLinkTokenRequest_1.PlaidUpdateFlowLinkTokenRequest; } });
6
6
  var VerifyAccountSignupRequest_1 = require("./VerifyAccountSignupRequest");
7
7
  Object.defineProperty(exports, "VerifyAccountSignupRequest", { enumerable: true, get: function () { return VerifyAccountSignupRequest_1.VerifyAccountSignupRequest; } });
8
- var SetAutoPayRequest_1 = require("./SetAutoPayRequest");
9
- Object.defineProperty(exports, "SetAutoPayRequest", { enumerable: true, get: function () { return SetAutoPayRequest_1.SetAutoPayRequest; } });
10
8
  var EditWithdrawalMethodRequest_1 = require("./EditWithdrawalMethodRequest");
11
9
  Object.defineProperty(exports, "EditWithdrawalMethodRequest", { enumerable: true, get: function () { return EditWithdrawalMethodRequest_1.EditWithdrawalMethodRequest; } });
12
10
  var SetAutoWithdrawalRequest_1 = require("./SetAutoWithdrawalRequest");
@@ -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 SetAutoPayRequest: core.serialization.ObjectSchema<serializers.api.thera.bank.SetAutoPayRequest.Raw, TheraApi.api.thera.bank.SetAutoPayRequest>;
8
+ export declare namespace SetAutoPayRequest {
9
+ interface Raw {
10
+ enabled: boolean;
11
+ paymentMethodId?: string | null;
12
+ }
13
+ }
@@ -27,7 +27,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.SetAutoPayRequest = void 0;
30
- const core = __importStar(require("../../../../../../../../../../../core"));
30
+ const core = __importStar(require("../../../../../../../../../../core"));
31
31
  exports.SetAutoPayRequest = core.serialization.object({
32
32
  enabled: core.serialization.boolean(),
33
33
  paymentMethodId: core.serialization.string().optional(),
@@ -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
+ import { SetAutoPayRequest } from "./SetAutoPayRequest";
8
+ export declare const SetBulkAutoPayForTeamsRequest: core.serialization.ObjectSchema<serializers.api.thera.bank.SetBulkAutoPayForTeamsRequest.Raw, TheraApi.api.thera.bank.SetBulkAutoPayForTeamsRequest>;
9
+ export declare namespace SetBulkAutoPayForTeamsRequest {
10
+ interface Raw {
11
+ autopayRequestByTeamId: Record<string, SetAutoPayRequest.Raw>;
12
+ }
13
+ }
@@ -0,0 +1,34 @@
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 (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.SetBulkAutoPayForTeamsRequest = void 0;
30
+ const core = __importStar(require("../../../../../../../../../../core"));
31
+ const SetAutoPayRequest_1 = require("./SetAutoPayRequest");
32
+ exports.SetBulkAutoPayForTeamsRequest = core.serialization.object({
33
+ autopayRequestByTeamId: core.serialization.record(core.serialization.string(), SetAutoPayRequest_1.SetAutoPayRequest),
34
+ });
@@ -1,3 +1,5 @@
1
+ export * from "./SetAutoPayRequest";
2
+ export * from "./SetBulkAutoPayForTeamsRequest";
1
3
  export * from "./ReattachStripeAccountMandateRequest";
2
4
  export * from "./CompleteAccountSignupRequest";
3
5
  export * from "./GetPaymentMethodsResponse";
@@ -14,6 +14,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./SetAutoPayRequest"), exports);
18
+ __exportStar(require("./SetBulkAutoPayForTeamsRequest"), exports);
17
19
  __exportStar(require("./ReattachStripeAccountMandateRequest"), exports);
18
20
  __exportStar(require("./CompleteAccountSignupRequest"), exports);
19
21
  __exportStar(require("./GetPaymentMethodsResponse"), exports);
@@ -6,12 +6,12 @@ import * as TheraApi from "../../../../../../../../../../api/index";
6
6
  import * as core from "../../../../../../../../../../core";
7
7
  import { UserApiResponse } from "../../../../../../../../db/resources/user/types/UserApiResponse";
8
8
  import { CompanyPermissions } from "./CompanyPermissions";
9
- import { MoniteUserDetails } from "../../../../../../../../db/resources/user/types/MoniteUserDetails";
9
+ import { MercoaUserDetails } from "../../../../../../../../db/resources/user/types/MercoaUserDetails";
10
10
  export declare const Manager: core.serialization.ObjectSchema<serializers.api.thera.company.Manager.Raw, TheraApi.api.thera.company.Manager>;
11
11
  export declare namespace Manager {
12
12
  interface Raw {
13
13
  user: UserApiResponse.Raw;
14
14
  companyPermissions: CompanyPermissions.Raw;
15
- moniteUserDetails?: MoniteUserDetails.Raw | null;
15
+ mercoaUserDetails?: MercoaUserDetails.Raw | null;
16
16
  }
17
17
  }
@@ -30,9 +30,9 @@ exports.Manager = void 0;
30
30
  const core = __importStar(require("../../../../../../../../../../core"));
31
31
  const UserApiResponse_1 = require("../../../../../../../../db/resources/user/types/UserApiResponse");
32
32
  const CompanyPermissions_1 = require("./CompanyPermissions");
33
- const MoniteUserDetails_1 = require("../../../../../../../../db/resources/user/types/MoniteUserDetails");
33
+ const MercoaUserDetails_1 = require("../../../../../../../../db/resources/user/types/MercoaUserDetails");
34
34
  exports.Manager = core.serialization.object({
35
35
  user: UserApiResponse_1.UserApiResponse,
36
36
  companyPermissions: CompanyPermissions_1.CompanyPermissions,
37
- moniteUserDetails: MoniteUserDetails_1.MoniteUserDetails.optional(),
37
+ mercoaUserDetails: MercoaUserDetails_1.MercoaUserDetails.optional(),
38
38
  });
@@ -7,7 +7,8 @@ import * as core from "../../../../../../../../../../core";
7
7
  export declare const EditInvoiceRequest: core.serialization.ObjectSchema<serializers.api.thera.disbursement.EditInvoiceRequest.Raw, TheraApi.api.thera.disbursement.EditInvoiceRequest>;
8
8
  export declare namespace EditInvoiceRequest {
9
9
  interface Raw {
10
- amount: number;
10
+ amount?: number | null;
11
11
  workUnitTotal?: number | null;
12
+ date?: string | null;
12
13
  }
13
14
  }
@@ -29,6 +29,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.EditInvoiceRequest = void 0;
30
30
  const core = __importStar(require("../../../../../../../../../../core"));
31
31
  exports.EditInvoiceRequest = core.serialization.object({
32
- amount: core.serialization.number(),
32
+ amount: core.serialization.number().optional(),
33
33
  workUnitTotal: core.serialization.number().optional(),
34
+ date: core.serialization.string().optional(),
34
35
  });
@@ -13,7 +13,7 @@ import { CompanySettings } from "./CompanySettings";
13
13
  import { BankAccountResponseMetadata } from "./BankAccountResponseMetadata";
14
14
  import { Team } from "./Team";
15
15
  import { TpCompanyInformation } from "./TpCompanyInformation";
16
- import { MoniteCompanyDetails } from "./MoniteCompanyDetails";
16
+ import { MercoaCompanyDetails } from "./MercoaCompanyDetails";
17
17
  import { CompanyAccountingInformation } from "./CompanyAccountingInformation";
18
18
  import { CompanyBankingDetails } from "./CompanyBankingDetails";
19
19
  export declare const Company: core.serialization.ObjectSchema<serializers.db.Company.Raw, TheraApi.db.Company>;
@@ -47,7 +47,7 @@ export declare namespace Company {
47
47
  tp?: TpCompanyInformation.Raw | null;
48
48
  onboarderUserId?: string | null;
49
49
  creationTimestamp?: string | null;
50
- moniteCompanyDetails?: MoniteCompanyDetails.Raw | null;
50
+ mercoaCompanyDetails?: MercoaCompanyDetails.Raw | null;
51
51
  companyAccountingInformation?: CompanyAccountingInformation.Raw | null;
52
52
  companyBankingDetails?: CompanyBankingDetails.Raw | null;
53
53
  }
@@ -37,7 +37,7 @@ const CompanySettings_1 = require("./CompanySettings");
37
37
  const BankAccountResponseMetadata_1 = require("./BankAccountResponseMetadata");
38
38
  const Team_1 = require("./Team");
39
39
  const TpCompanyInformation_1 = require("./TpCompanyInformation");
40
- const MoniteCompanyDetails_1 = require("./MoniteCompanyDetails");
40
+ const MercoaCompanyDetails_1 = require("./MercoaCompanyDetails");
41
41
  const CompanyAccountingInformation_1 = require("./CompanyAccountingInformation");
42
42
  const CompanyBankingDetails_1 = require("./CompanyBankingDetails");
43
43
  exports.Company = core.serialization.object({
@@ -69,7 +69,7 @@ exports.Company = core.serialization.object({
69
69
  tp: TpCompanyInformation_1.TpCompanyInformation.optional(),
70
70
  onboarderUserId: core.serialization.string().optional(),
71
71
  creationTimestamp: core.serialization.date().optional(),
72
- moniteCompanyDetails: MoniteCompanyDetails_1.MoniteCompanyDetails.optional(),
72
+ mercoaCompanyDetails: MercoaCompanyDetails_1.MercoaCompanyDetails.optional(),
73
73
  companyAccountingInformation: CompanyAccountingInformation_1.CompanyAccountingInformation.optional(),
74
74
  companyBankingDetails: CompanyBankingDetails_1.CompanyBankingDetails.optional(),
75
75
  });
@@ -18,5 +18,6 @@ export declare namespace CompanySettings {
18
18
  timeOffSettings?: TimeOffSettings.Raw | null;
19
19
  isTpOnboardingSkipped: boolean;
20
20
  autoApproveTimeOffRequests: boolean;
21
+ autoApproveFixedRateInvoices?: boolean | null;
21
22
  }
22
23
  }