@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
@@ -40,4 +40,5 @@ exports.CompanySettings = core.serialization.object({
40
40
  timeOffSettings: TimeOffSettings_1.TimeOffSettings.optional(),
41
41
  isTpOnboardingSkipped: core.serialization.boolean(),
42
42
  autoApproveTimeOffRequests: core.serialization.boolean(),
43
+ autoApproveFixedRateInvoices: core.serialization.boolean().optional(),
43
44
  });
@@ -8,7 +8,8 @@ export declare const EnabledApps: core.serialization.ObjectSchema<serializers.db
8
8
  export declare namespace EnabledApps {
9
9
  interface Raw {
10
10
  payroll: boolean;
11
- apAndAr: boolean;
11
+ ap: boolean;
12
+ ar: boolean;
12
13
  banking: boolean;
13
14
  }
14
15
  }
@@ -30,6 +30,7 @@ exports.EnabledApps = void 0;
30
30
  const core = __importStar(require("../../../../../../core"));
31
31
  exports.EnabledApps = core.serialization.object({
32
32
  payroll: core.serialization.boolean(),
33
- apAndAr: core.serialization.boolean(),
33
+ ap: core.serialization.boolean(),
34
+ ar: core.serialization.boolean(),
34
35
  banking: core.serialization.boolean(),
35
36
  });
@@ -4,8 +4,8 @@
4
4
  import * as serializers from "../../../../../index";
5
5
  import * as TheraApi from "../../../../../../api/index";
6
6
  import * as core from "../../../../../../core";
7
- export declare const MoniteCompanyDetails: core.serialization.ObjectSchema<serializers.db.MoniteCompanyDetails.Raw, TheraApi.db.MoniteCompanyDetails>;
8
- export declare namespace MoniteCompanyDetails {
7
+ export declare const MercoaCompanyDetails: core.serialization.ObjectSchema<serializers.db.MercoaCompanyDetails.Raw, TheraApi.db.MercoaCompanyDetails>;
8
+ export declare namespace MercoaCompanyDetails {
9
9
  interface Raw {
10
10
  entityId: string;
11
11
  }
@@ -26,8 +26,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.MoniteCompanyDetails = void 0;
29
+ exports.MercoaCompanyDetails = void 0;
30
30
  const core = __importStar(require("../../../../../../core"));
31
- exports.MoniteCompanyDetails = core.serialization.object({
31
+ exports.MercoaCompanyDetails = core.serialization.object({
32
32
  entityId: core.serialization.string(),
33
33
  });
@@ -7,6 +7,7 @@ import * as core from "../../../../../../core";
7
7
  export declare const RequestedToEnableApps: core.serialization.ObjectSchema<serializers.db.RequestedToEnableApps.Raw, TheraApi.db.RequestedToEnableApps>;
8
8
  export declare namespace RequestedToEnableApps {
9
9
  interface Raw {
10
- apAndAr: boolean;
10
+ ap: boolean;
11
+ ar: boolean;
11
12
  }
12
13
  }
@@ -29,5 +29,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.RequestedToEnableApps = void 0;
30
30
  const core = __importStar(require("../../../../../../core"));
31
31
  exports.RequestedToEnableApps = core.serialization.object({
32
- apAndAr: core.serialization.boolean(),
32
+ ap: core.serialization.boolean(),
33
+ ar: core.serialization.boolean(),
33
34
  });
@@ -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,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 LedgerMigrationErrorMetadata: core.serialization.ObjectSchema<serializers.db.LedgerMigrationErrorMetadata.Raw, TheraApi.db.LedgerMigrationErrorMetadata>;
8
+ export declare namespace LedgerMigrationErrorMetadata {
9
+ interface Raw {
10
+ errorType: string;
11
+ errorMessage: string;
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.LedgerMigrationErrorMetadata = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.LedgerMigrationErrorMetadata = core.serialization.object({
32
+ errorType: core.serialization.string(),
33
+ errorMessage: core.serialization.string(),
34
+ });
@@ -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
+ import { LedgerMigrationType } from "./LedgerMigrationType";
8
+ import { LedgerMigrationErrorMetadata } from "./LedgerMigrationErrorMetadata";
9
+ export declare const LedgerMigrationMetadata: core.serialization.ObjectSchema<serializers.db.LedgerMigrationMetadata.Raw, TheraApi.db.LedgerMigrationMetadata>;
10
+ export declare namespace LedgerMigrationMetadata {
11
+ interface Raw {
12
+ ledgerMigrationType: LedgerMigrationType.Raw;
13
+ sourceLedgerTrxId: string[];
14
+ additionalData: Record<string, string>;
15
+ errorMetadata?: LedgerMigrationErrorMetadata.Raw | null;
16
+ }
17
+ }
@@ -0,0 +1,38 @@
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.LedgerMigrationMetadata = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ const LedgerMigrationType_1 = require("./LedgerMigrationType");
32
+ const LedgerMigrationErrorMetadata_1 = require("./LedgerMigrationErrorMetadata");
33
+ exports.LedgerMigrationMetadata = core.serialization.object({
34
+ ledgerMigrationType: LedgerMigrationType_1.LedgerMigrationType,
35
+ sourceLedgerTrxId: core.serialization.list(core.serialization.string()),
36
+ additionalData: core.serialization.record(core.serialization.string(), core.serialization.string()),
37
+ errorMetadata: LedgerMigrationErrorMetadata_1.LedgerMigrationErrorMetadata.optional(),
38
+ });
@@ -0,0 +1,10 @@
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 LedgerMigrationType: core.serialization.Schema<serializers.db.LedgerMigrationType.Raw, TheraApi.db.LedgerMigrationType>;
8
+ export declare namespace LedgerMigrationType {
9
+ type Raw = "STRIPE_PAY_IN_V1_V2" | "WISE_PAY_OUT_V1_V2";
10
+ }
@@ -0,0 +1,31 @@
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.LedgerMigrationType = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.LedgerMigrationType = core.serialization.enum_(["STRIPE_PAY_IN_V1_V2", "WISE_PAY_OUT_V1_V2"]);
@@ -0,0 +1,20 @@
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 { MigrationType } from "./MigrationType";
8
+ import { MigrationStatus } from "./MigrationStatus";
9
+ import { MigrationMetadata } from "./MigrationMetadata";
10
+ export declare const MigrationLog: core.serialization.ObjectSchema<serializers.db.MigrationLog.Raw, TheraApi.db.MigrationLog>;
11
+ export declare namespace MigrationLog {
12
+ interface Raw {
13
+ id: string;
14
+ runId: string;
15
+ createdAt: string;
16
+ type: MigrationType.Raw;
17
+ status: MigrationStatus.Raw;
18
+ metadata: MigrationMetadata.Raw;
19
+ }
20
+ }
@@ -0,0 +1,41 @@
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.MigrationLog = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ const MigrationType_1 = require("./MigrationType");
32
+ const MigrationStatus_1 = require("./MigrationStatus");
33
+ const MigrationMetadata_1 = require("./MigrationMetadata");
34
+ exports.MigrationLog = core.serialization.object({
35
+ id: core.serialization.string(),
36
+ runId: core.serialization.string(),
37
+ createdAt: core.serialization.date(),
38
+ type: MigrationType_1.MigrationType,
39
+ status: MigrationStatus_1.MigrationStatus,
40
+ metadata: MigrationMetadata_1.MigrationMetadata,
41
+ });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as TheraApi from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ import { LedgerMigrationMetadata } from "./LedgerMigrationMetadata";
8
+ export declare const MigrationMetadata: core.serialization.Schema<serializers.db.MigrationMetadata.Raw, TheraApi.db.MigrationMetadata>;
9
+ export declare namespace MigrationMetadata {
10
+ type Raw = MigrationMetadata.LedgerMigration;
11
+ interface LedgerMigration extends LedgerMigrationMetadata.Raw {
12
+ type: "ledgerMigration";
13
+ }
14
+ }
@@ -0,0 +1,39 @@
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.MigrationMetadata = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ const LedgerMigrationMetadata_1 = require("./LedgerMigrationMetadata");
32
+ exports.MigrationMetadata = core.serialization
33
+ .union("type", {
34
+ ledgerMigration: LedgerMigrationMetadata_1.LedgerMigrationMetadata,
35
+ })
36
+ .transform({
37
+ transform: (value) => value,
38
+ untransform: (value) => value,
39
+ });
@@ -0,0 +1,10 @@
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 MigrationStatus: core.serialization.Schema<serializers.db.MigrationStatus.Raw, TheraApi.db.MigrationStatus>;
8
+ export declare namespace MigrationStatus {
9
+ type Raw = "SUCCESS" | "FAILURE";
10
+ }
@@ -0,0 +1,31 @@
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.MigrationStatus = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.MigrationStatus = core.serialization.enum_(["SUCCESS", "FAILURE"]);
@@ -0,0 +1,10 @@
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 MigrationType: core.serialization.Schema<serializers.db.MigrationType.Raw, TheraApi.db.MigrationType>;
8
+ export declare namespace MigrationType {
9
+ type Raw = "LEDGER";
10
+ }
@@ -0,0 +1,31 @@
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.MigrationType = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.MigrationType = core.serialization.enum_(["LEDGER"]);
@@ -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);
@@ -4,8 +4,8 @@
4
4
  import * as serializers from "../../../../../index";
5
5
  import * as TheraApi from "../../../../../../api/index";
6
6
  import * as core from "../../../../../../core";
7
- export declare const MoniteUserDetails: core.serialization.ObjectSchema<serializers.db.MoniteUserDetails.Raw, TheraApi.db.MoniteUserDetails>;
8
- export declare namespace MoniteUserDetails {
7
+ export declare const MercoaUserDetails: core.serialization.ObjectSchema<serializers.db.MercoaUserDetails.Raw, TheraApi.db.MercoaUserDetails>;
8
+ export declare namespace MercoaUserDetails {
9
9
  interface Raw {
10
10
  entityUserId: string;
11
11
  }
@@ -26,8 +26,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.MoniteUserDetails = void 0;
29
+ exports.MercoaUserDetails = void 0;
30
30
  const core = __importStar(require("../../../../../../core"));
31
- exports.MoniteUserDetails = core.serialization.object({
31
+ exports.MercoaUserDetails = core.serialization.object({
32
32
  entityUserId: core.serialization.string(),
33
33
  });
@@ -6,5 +6,5 @@ import * as TheraApi from "../../../../../../api/index";
6
6
  import * as core from "../../../../../../core";
7
7
  export declare const MfaType: core.serialization.Schema<serializers.db.MfaType.Raw, TheraApi.db.MfaType>;
8
8
  export declare namespace MfaType {
9
- type Raw = "EMAIL" | "TOTP";
9
+ type Raw = "EMAIL" | "TOTP" | "SMS" | "WHATSAPP";
10
10
  }
@@ -28,4 +28,4 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.MfaType = void 0;
30
30
  const core = __importStar(require("../../../../../../core"));
31
- exports.MfaType = core.serialization.enum_(["EMAIL", "TOTP"]);
31
+ exports.MfaType = core.serialization.enum_(["EMAIL", "TOTP", "SMS", "WHATSAPP"]);
@@ -5,7 +5,7 @@ import * as serializers from "../../../../../index";
5
5
  import * as TheraApi from "../../../../../../api/index";
6
6
  import * as core from "../../../../../../core";
7
7
  import { EmployeeInformation } from "./EmployeeInformation";
8
- import { MoniteUserDetails } from "./MoniteUserDetails";
8
+ import { MercoaUserDetails } from "./MercoaUserDetails";
9
9
  import { MfaUserDetails } from "./MfaUserDetails";
10
10
  import { NotificationAlerts } from "./NotificationAlerts";
11
11
  export declare const User: core.serialization.ObjectSchema<serializers.db.User.Raw, TheraApi.db.User>;
@@ -19,7 +19,7 @@ export declare namespace User {
19
19
  employeeInformation: EmployeeInformation.Raw;
20
20
  lastPosthogEventDate: string;
21
21
  creationTimestamp?: string | null;
22
- moniteUserDetails?: MoniteUserDetails.Raw | null;
22
+ mercoaUserDetails?: MercoaUserDetails.Raw | null;
23
23
  mfaUserDetails?: MfaUserDetails.Raw | null;
24
24
  notificationsByCompanyId: Record<string, NotificationAlerts.Raw>;
25
25
  }
@@ -29,7 +29,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.User = void 0;
30
30
  const core = __importStar(require("../../../../../../core"));
31
31
  const EmployeeInformation_1 = require("./EmployeeInformation");
32
- const MoniteUserDetails_1 = require("./MoniteUserDetails");
32
+ const MercoaUserDetails_1 = require("./MercoaUserDetails");
33
33
  const MfaUserDetails_1 = require("./MfaUserDetails");
34
34
  const NotificationAlerts_1 = require("./NotificationAlerts");
35
35
  exports.User = core.serialization.object({
@@ -41,7 +41,7 @@ exports.User = core.serialization.object({
41
41
  employeeInformation: EmployeeInformation_1.EmployeeInformation,
42
42
  lastPosthogEventDate: core.serialization.string(),
43
43
  creationTimestamp: core.serialization.date().optional(),
44
- moniteUserDetails: MoniteUserDetails_1.MoniteUserDetails.optional(),
44
+ mercoaUserDetails: MercoaUserDetails_1.MercoaUserDetails.optional(),
45
45
  mfaUserDetails: MfaUserDetails_1.MfaUserDetails.optional(),
46
46
  notificationsByCompanyId: core.serialization.record(core.serialization.string(), NotificationAlerts_1.NotificationAlerts),
47
47
  });
@@ -10,7 +10,6 @@ import { TimeOffHistory } from "./TimeOffHistory";
10
10
  export declare const UserCompanySettings: core.serialization.ObjectSchema<serializers.db.UserCompanySettings.Raw, TheraApi.db.UserCompanySettings>;
11
11
  export declare namespace UserCompanySettings {
12
12
  interface Raw {
13
- v2AccountIdsByCurrency: Record<string, string>;
14
13
  accountIdsByCurrency: Record<string, string>;
15
14
  autoWithdrawalsOn: boolean;
16
15
  documents?: UserCompanyDocuments.Raw | null;
@@ -32,7 +32,6 @@ const UserCompanyDocuments_1 = require("./UserCompanyDocuments");
32
32
  const WorkerTaxData_1 = require("./WorkerTaxData");
33
33
  const TimeOffHistory_1 = require("./TimeOffHistory");
34
34
  exports.UserCompanySettings = core.serialization.object({
35
- v2AccountIdsByCurrency: core.serialization.record(core.serialization.string(), core.serialization.string()),
36
35
  accountIdsByCurrency: core.serialization.record(core.serialization.string(), core.serialization.string()),
37
36
  autoWithdrawalsOn: core.serialization.boolean(),
38
37
  documents: UserCompanyDocuments_1.UserCompanyDocuments.optional(),