@tinyrack/tinyauth-server 0.0.7

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 (782) hide show
  1. package/LICENSE +661 -0
  2. package/dist/emails/components/email-layout.d.ts +8 -0
  3. package/dist/emails/components/email-layout.d.ts.map +1 -0
  4. package/dist/emails/components/email-layout.js +6 -0
  5. package/dist/emails/components/email-layout.js.map +1 -0
  6. package/dist/emails/i18n/en.json +26 -0
  7. package/dist/emails/i18n/index.d.ts +3 -0
  8. package/dist/emails/i18n/index.d.ts.map +1 -0
  9. package/dist/emails/i18n/index.js +12 -0
  10. package/dist/emails/i18n/index.js.map +1 -0
  11. package/dist/emails/i18n/ja.json +26 -0
  12. package/dist/emails/i18n/ko.json +26 -0
  13. package/dist/emails/render.d.ts +12 -0
  14. package/dist/emails/render.d.ts.map +1 -0
  15. package/dist/emails/render.js +22 -0
  16. package/dist/emails/render.js.map +1 -0
  17. package/dist/emails/templates/password-reset.d.ts +10 -0
  18. package/dist/emails/templates/password-reset.d.ts.map +1 -0
  19. package/dist/emails/templates/password-reset.js +10 -0
  20. package/dist/emails/templates/password-reset.js.map +1 -0
  21. package/dist/emails/templates/verification.d.ts +10 -0
  22. package/dist/emails/templates/verification.d.ts.map +1 -0
  23. package/dist/emails/templates/verification.js +10 -0
  24. package/dist/emails/templates/verification.js.map +1 -0
  25. package/dist/entities/base.entity.d.ts +23 -0
  26. package/dist/entities/base.entity.d.ts.map +1 -0
  27. package/dist/entities/base.entity.js +17 -0
  28. package/dist/entities/base.entity.js.map +1 -0
  29. package/dist/entities/email-verification.entity.d.ts +90 -0
  30. package/dist/entities/email-verification.entity.d.ts.map +1 -0
  31. package/dist/entities/email-verification.entity.js +42 -0
  32. package/dist/entities/email-verification.entity.js.map +1 -0
  33. package/dist/entities/jwt-key.entity.d.ts +256 -0
  34. package/dist/entities/jwt-key.entity.d.ts.map +1 -0
  35. package/dist/entities/jwt-key.entity.js +125 -0
  36. package/dist/entities/jwt-key.entity.js.map +1 -0
  37. package/dist/entities/oauth-client.entity.d.ts +1541 -0
  38. package/dist/entities/oauth-client.entity.d.ts.map +1 -0
  39. package/dist/entities/oauth-client.entity.js +68 -0
  40. package/dist/entities/oauth-client.entity.js.map +1 -0
  41. package/dist/entities/oauth-code.entity.d.ts +1562 -0
  42. package/dist/entities/oauth-code.entity.d.ts.map +1 -0
  43. package/dist/entities/oauth-code.entity.js +79 -0
  44. package/dist/entities/oauth-code.entity.js.map +1 -0
  45. package/dist/entities/password-reset.entity.d.ts +90 -0
  46. package/dist/entities/password-reset.entity.d.ts.map +1 -0
  47. package/dist/entities/password-reset.entity.js +39 -0
  48. package/dist/entities/password-reset.entity.js.map +1 -0
  49. package/dist/entities/pending-oauth-registration.entity.d.ts +116 -0
  50. package/dist/entities/pending-oauth-registration.entity.d.ts.map +1 -0
  51. package/dist/entities/pending-oauth-registration.entity.js +67 -0
  52. package/dist/entities/pending-oauth-registration.entity.js.map +1 -0
  53. package/dist/entities/revoked-token.entity.d.ts +1559 -0
  54. package/dist/entities/revoked-token.entity.d.ts.map +1 -0
  55. package/dist/entities/revoked-token.entity.js +68 -0
  56. package/dist/entities/revoked-token.entity.js.map +1 -0
  57. package/dist/entities/terms-content.entity.d.ts +804 -0
  58. package/dist/entities/terms-content.entity.d.ts.map +1 -0
  59. package/dist/entities/terms-content.entity.js +46 -0
  60. package/dist/entities/terms-content.entity.js.map +1 -0
  61. package/dist/entities/terms.entity.d.ts +797 -0
  62. package/dist/entities/terms.entity.d.ts.map +1 -0
  63. package/dist/entities/terms.entity.js +42 -0
  64. package/dist/entities/terms.entity.js.map +1 -0
  65. package/dist/entities/user-consent.entity.d.ts +1555 -0
  66. package/dist/entities/user-consent.entity.d.ts.map +1 -0
  67. package/dist/entities/user-consent.entity.js +66 -0
  68. package/dist/entities/user-consent.entity.js.map +1 -0
  69. package/dist/entities/user-oauth.entity.d.ts +75 -0
  70. package/dist/entities/user-oauth.entity.d.ts.map +1 -0
  71. package/dist/entities/user-oauth.entity.js +45 -0
  72. package/dist/entities/user-oauth.entity.js.map +1 -0
  73. package/dist/entities/user-passkey.entity.d.ts +145 -0
  74. package/dist/entities/user-passkey.entity.d.ts.map +1 -0
  75. package/dist/entities/user-passkey.entity.js +64 -0
  76. package/dist/entities/user-passkey.entity.js.map +1 -0
  77. package/dist/entities/user-terms-consent.entity.d.ts +804 -0
  78. package/dist/entities/user-terms-consent.entity.d.ts.map +1 -0
  79. package/dist/entities/user-terms-consent.entity.js +62 -0
  80. package/dist/entities/user-terms-consent.entity.js.map +1 -0
  81. package/dist/entities/user-totp-recovery-code.entity.d.ts +527 -0
  82. package/dist/entities/user-totp-recovery-code.entity.d.ts.map +1 -0
  83. package/dist/entities/user-totp-recovery-code.entity.js +34 -0
  84. package/dist/entities/user-totp-recovery-code.entity.js.map +1 -0
  85. package/dist/entities/user-totp.entity.d.ts +527 -0
  86. package/dist/entities/user-totp.entity.d.ts.map +1 -0
  87. package/dist/entities/user-totp.entity.js +38 -0
  88. package/dist/entities/user-totp.entity.js.map +1 -0
  89. package/dist/entities/user.entity.d.ts +533 -0
  90. package/dist/entities/user.entity.d.ts.map +1 -0
  91. package/dist/entities/user.entity.js +70 -0
  92. package/dist/entities/user.entity.js.map +1 -0
  93. package/dist/entrypoints/app.d.ts +1300 -0
  94. package/dist/entrypoints/app.d.ts.map +1 -0
  95. package/dist/entrypoints/app.js +64 -0
  96. package/dist/entrypoints/app.js.map +1 -0
  97. package/dist/entrypoints/config/index.d.ts +2 -0
  98. package/dist/entrypoints/config/index.d.ts.map +1 -0
  99. package/dist/entrypoints/config/index.js +2 -0
  100. package/dist/entrypoints/config/index.js.map +1 -0
  101. package/dist/entrypoints/database/d1/cli.d.ts +3 -0
  102. package/dist/entrypoints/database/d1/cli.d.ts.map +1 -0
  103. package/dist/entrypoints/database/d1/cli.js +12 -0
  104. package/dist/entrypoints/database/d1/cli.js.map +1 -0
  105. package/dist/entrypoints/database/d1/compiled-functions.d.ts +666 -0
  106. package/dist/entrypoints/database/d1/compiled-functions.d.ts.map +1 -0
  107. package/dist/entrypoints/database/d1/compiled-functions.js +8365 -0
  108. package/dist/entrypoints/database/d1/compiled-functions.js.map +1 -0
  109. package/dist/entrypoints/database/d1/d1.d.ts +5 -0
  110. package/dist/entrypoints/database/d1/d1.d.ts.map +1 -0
  111. package/dist/entrypoints/database/d1/d1.js +39 -0
  112. package/dist/entrypoints/database/d1/d1.js.map +1 -0
  113. package/dist/entrypoints/database/postgres/cli.d.ts +3 -0
  114. package/dist/entrypoints/database/postgres/cli.d.ts.map +1 -0
  115. package/dist/entrypoints/database/postgres/cli.js +9 -0
  116. package/dist/entrypoints/database/postgres/cli.js.map +1 -0
  117. package/dist/entrypoints/database/postgres/compiled-functions.d.ts +666 -0
  118. package/dist/entrypoints/database/postgres/compiled-functions.d.ts.map +1 -0
  119. package/dist/entrypoints/database/postgres/compiled-functions.js +8365 -0
  120. package/dist/entrypoints/database/postgres/compiled-functions.js.map +1 -0
  121. package/dist/entrypoints/database/postgres/postgres.d.ts +9 -0
  122. package/dist/entrypoints/database/postgres/postgres.d.ts.map +1 -0
  123. package/dist/entrypoints/database/postgres/postgres.js +34 -0
  124. package/dist/entrypoints/database/postgres/postgres.js.map +1 -0
  125. package/dist/entrypoints/database/sqlite/cli.d.ts +3 -0
  126. package/dist/entrypoints/database/sqlite/cli.d.ts.map +1 -0
  127. package/dist/entrypoints/database/sqlite/cli.js +6 -0
  128. package/dist/entrypoints/database/sqlite/cli.js.map +1 -0
  129. package/dist/entrypoints/database/sqlite/compiled-functions.d.ts +666 -0
  130. package/dist/entrypoints/database/sqlite/compiled-functions.d.ts.map +1 -0
  131. package/dist/entrypoints/database/sqlite/compiled-functions.js +8365 -0
  132. package/dist/entrypoints/database/sqlite/compiled-functions.js.map +1 -0
  133. package/dist/entrypoints/database/sqlite/sqlite.d.ts +6 -0
  134. package/dist/entrypoints/database/sqlite/sqlite.d.ts.map +1 -0
  135. package/dist/entrypoints/database/sqlite/sqlite.js +32 -0
  136. package/dist/entrypoints/database/sqlite/sqlite.js.map +1 -0
  137. package/dist/entrypoints/frontend/cloudflare.d.ts +2 -0
  138. package/dist/entrypoints/frontend/cloudflare.d.ts.map +1 -0
  139. package/dist/entrypoints/frontend/cloudflare.js +2 -0
  140. package/dist/entrypoints/frontend/cloudflare.js.map +1 -0
  141. package/dist/entrypoints/frontend/index.d.ts +6 -0
  142. package/dist/entrypoints/frontend/index.d.ts.map +1 -0
  143. package/dist/entrypoints/frontend/index.js +3 -0
  144. package/dist/entrypoints/frontend/index.js.map +1 -0
  145. package/dist/entrypoints/frontend/proxy.d.ts +2 -0
  146. package/dist/entrypoints/frontend/proxy.d.ts.map +1 -0
  147. package/dist/entrypoints/frontend/proxy.js +2 -0
  148. package/dist/entrypoints/frontend/proxy.js.map +1 -0
  149. package/dist/entrypoints/frontend/static.d.ts +2 -0
  150. package/dist/entrypoints/frontend/static.d.ts.map +1 -0
  151. package/dist/entrypoints/frontend/static.js +2 -0
  152. package/dist/entrypoints/frontend/static.js.map +1 -0
  153. package/dist/entrypoints/identity-providers/apple.d.ts +14 -0
  154. package/dist/entrypoints/identity-providers/apple.d.ts.map +1 -0
  155. package/dist/entrypoints/identity-providers/apple.js +23 -0
  156. package/dist/entrypoints/identity-providers/apple.js.map +1 -0
  157. package/dist/entrypoints/identity-providers/generic-oauth.d.ts +25 -0
  158. package/dist/entrypoints/identity-providers/generic-oauth.d.ts.map +1 -0
  159. package/dist/entrypoints/identity-providers/generic-oauth.js +20 -0
  160. package/dist/entrypoints/identity-providers/generic-oauth.js.map +1 -0
  161. package/dist/entrypoints/identity-providers/github.d.ts +13 -0
  162. package/dist/entrypoints/identity-providers/github.d.ts.map +1 -0
  163. package/dist/entrypoints/identity-providers/github.js +24 -0
  164. package/dist/entrypoints/identity-providers/github.js.map +1 -0
  165. package/dist/entrypoints/identity-providers/google.d.ts +13 -0
  166. package/dist/entrypoints/identity-providers/google.d.ts.map +1 -0
  167. package/dist/entrypoints/identity-providers/google.js +24 -0
  168. package/dist/entrypoints/identity-providers/google.js.map +1 -0
  169. package/dist/entrypoints/index.d.ts +3 -0
  170. package/dist/entrypoints/index.d.ts.map +1 -0
  171. package/dist/entrypoints/index.js +3 -0
  172. package/dist/entrypoints/index.js.map +1 -0
  173. package/dist/entrypoints/mail/nodemailer.d.ts +11 -0
  174. package/dist/entrypoints/mail/nodemailer.d.ts.map +1 -0
  175. package/dist/entrypoints/mail/nodemailer.js +30 -0
  176. package/dist/entrypoints/mail/nodemailer.js.map +1 -0
  177. package/dist/entrypoints/scheduler/croner.d.ts +6 -0
  178. package/dist/entrypoints/scheduler/croner.d.ts.map +1 -0
  179. package/dist/entrypoints/scheduler/croner.js +22 -0
  180. package/dist/entrypoints/scheduler/croner.js.map +1 -0
  181. package/dist/entrypoints/services.d.ts +3 -0
  182. package/dist/entrypoints/services.d.ts.map +1 -0
  183. package/dist/entrypoints/services.js +2 -0
  184. package/dist/entrypoints/services.js.map +1 -0
  185. package/dist/lib/app-env.d.ts +17 -0
  186. package/dist/lib/app-env.d.ts.map +1 -0
  187. package/dist/lib/app-env.js +2 -0
  188. package/dist/lib/app-env.js.map +1 -0
  189. package/dist/lib/base64url.d.ts +33 -0
  190. package/dist/lib/base64url.d.ts.map +1 -0
  191. package/dist/lib/base64url.js +93 -0
  192. package/dist/lib/base64url.js.map +1 -0
  193. package/dist/lib/config/account-deletion.d.ts +11 -0
  194. package/dist/lib/config/account-deletion.d.ts.map +1 -0
  195. package/dist/lib/config/account-deletion.js +16 -0
  196. package/dist/lib/config/account-deletion.js.map +1 -0
  197. package/dist/lib/config/auth.d.ts +109 -0
  198. package/dist/lib/config/auth.d.ts.map +1 -0
  199. package/dist/lib/config/auth.js +155 -0
  200. package/dist/lib/config/auth.js.map +1 -0
  201. package/dist/lib/config/branding.d.ts +134 -0
  202. package/dist/lib/config/branding.d.ts.map +1 -0
  203. package/dist/lib/config/branding.js +83 -0
  204. package/dist/lib/config/branding.js.map +1 -0
  205. package/dist/lib/config/cleanup.d.ts +59 -0
  206. package/dist/lib/config/cleanup.d.ts.map +1 -0
  207. package/dist/lib/config/cleanup.js +119 -0
  208. package/dist/lib/config/cleanup.js.map +1 -0
  209. package/dist/lib/config/client.d.ts +30 -0
  210. package/dist/lib/config/client.d.ts.map +1 -0
  211. package/dist/lib/config/client.js +43 -0
  212. package/dist/lib/config/client.js.map +1 -0
  213. package/dist/lib/config/database.d.ts +8 -0
  214. package/dist/lib/config/database.d.ts.map +1 -0
  215. package/dist/lib/config/database.js +8 -0
  216. package/dist/lib/config/database.js.map +1 -0
  217. package/dist/lib/config/email.d.ts +17 -0
  218. package/dist/lib/config/email.d.ts.map +1 -0
  219. package/dist/lib/config/email.js +7 -0
  220. package/dist/lib/config/email.js.map +1 -0
  221. package/dist/lib/config/frontend.d.ts +12 -0
  222. package/dist/lib/config/frontend.d.ts.map +1 -0
  223. package/dist/lib/config/frontend.js +7 -0
  224. package/dist/lib/config/frontend.js.map +1 -0
  225. package/dist/lib/config/i18n.d.ts +31 -0
  226. package/dist/lib/config/i18n.d.ts.map +1 -0
  227. package/dist/lib/config/i18n.js +23 -0
  228. package/dist/lib/config/i18n.js.map +1 -0
  229. package/dist/lib/config/identity-providers.d.ts +66 -0
  230. package/dist/lib/config/identity-providers.d.ts.map +1 -0
  231. package/dist/lib/config/identity-providers.js +71 -0
  232. package/dist/lib/config/identity-providers.js.map +1 -0
  233. package/dist/lib/config/index.d.ts +41 -0
  234. package/dist/lib/config/index.d.ts.map +1 -0
  235. package/dist/lib/config/index.js +21 -0
  236. package/dist/lib/config/index.js.map +1 -0
  237. package/dist/lib/config/logging.d.ts +52 -0
  238. package/dist/lib/config/logging.d.ts.map +1 -0
  239. package/dist/lib/config/logging.js +41 -0
  240. package/dist/lib/config/logging.js.map +1 -0
  241. package/dist/lib/config/openapi.d.ts +15 -0
  242. package/dist/lib/config/openapi.d.ts.map +1 -0
  243. package/dist/lib/config/openapi.js +28 -0
  244. package/dist/lib/config/openapi.js.map +1 -0
  245. package/dist/lib/config/registration.d.ts +15 -0
  246. package/dist/lib/config/registration.d.ts.map +1 -0
  247. package/dist/lib/config/registration.js +24 -0
  248. package/dist/lib/config/registration.js.map +1 -0
  249. package/dist/lib/config/resolved.d.ts +274 -0
  250. package/dist/lib/config/resolved.d.ts.map +1 -0
  251. package/dist/lib/config/resolved.js +45 -0
  252. package/dist/lib/config/resolved.js.map +1 -0
  253. package/dist/lib/config/scheduler.d.ts +13 -0
  254. package/dist/lib/config/scheduler.d.ts.map +1 -0
  255. package/dist/lib/config/scheduler.js +14 -0
  256. package/dist/lib/config/scheduler.js.map +1 -0
  257. package/dist/lib/config/security.d.ts +11 -0
  258. package/dist/lib/config/security.d.ts.map +1 -0
  259. package/dist/lib/config/security.js +42 -0
  260. package/dist/lib/config/security.js.map +1 -0
  261. package/dist/lib/config/server.d.ts +13 -0
  262. package/dist/lib/config/server.d.ts.map +1 -0
  263. package/dist/lib/config/server.js +45 -0
  264. package/dist/lib/config/server.js.map +1 -0
  265. package/dist/lib/config/terms.d.ts +47 -0
  266. package/dist/lib/config/terms.d.ts.map +1 -0
  267. package/dist/lib/config/terms.js +71 -0
  268. package/dist/lib/config/terms.js.map +1 -0
  269. package/dist/lib/config/tokens.d.ts +32 -0
  270. package/dist/lib/config/tokens.d.ts.map +1 -0
  271. package/dist/lib/config/tokens.js +47 -0
  272. package/dist/lib/config/tokens.js.map +1 -0
  273. package/dist/lib/config/user.d.ts +22 -0
  274. package/dist/lib/config/user.d.ts.map +1 -0
  275. package/dist/lib/config/user.js +18 -0
  276. package/dist/lib/config/user.js.map +1 -0
  277. package/dist/lib/crypto.d.ts +106 -0
  278. package/dist/lib/crypto.d.ts.map +1 -0
  279. package/dist/lib/crypto.js +253 -0
  280. package/dist/lib/crypto.js.map +1 -0
  281. package/dist/lib/database/compiled-functions.d.ts +16 -0
  282. package/dist/lib/database/compiled-functions.d.ts.map +1 -0
  283. package/dist/lib/database/compiled-functions.js +66 -0
  284. package/dist/lib/database/compiled-functions.js.map +1 -0
  285. package/dist/lib/database/entities.d.ts +10 -0
  286. package/dist/lib/database/entities.d.ts.map +1 -0
  287. package/dist/lib/database/entities.js +43 -0
  288. package/dist/lib/database/entities.js.map +1 -0
  289. package/dist/lib/duration.d.ts +44 -0
  290. package/dist/lib/duration.d.ts.map +1 -0
  291. package/dist/lib/duration.js +103 -0
  292. package/dist/lib/duration.js.map +1 -0
  293. package/dist/lib/email-pattern.d.ts +16 -0
  294. package/dist/lib/email-pattern.d.ts.map +1 -0
  295. package/dist/lib/email-pattern.js +41 -0
  296. package/dist/lib/email-pattern.js.map +1 -0
  297. package/dist/lib/frontend/cloudflare.d.ts +12 -0
  298. package/dist/lib/frontend/cloudflare.d.ts.map +1 -0
  299. package/dist/lib/frontend/cloudflare.js +34 -0
  300. package/dist/lib/frontend/cloudflare.js.map +1 -0
  301. package/dist/lib/frontend/proxy.d.ts +24 -0
  302. package/dist/lib/frontend/proxy.d.ts.map +1 -0
  303. package/dist/lib/frontend/proxy.js +38 -0
  304. package/dist/lib/frontend/proxy.js.map +1 -0
  305. package/dist/lib/frontend/static.d.ts +21 -0
  306. package/dist/lib/frontend/static.d.ts.map +1 -0
  307. package/dist/lib/frontend/static.js +108 -0
  308. package/dist/lib/frontend/static.js.map +1 -0
  309. package/dist/lib/interpolate-html.d.ts +34 -0
  310. package/dist/lib/interpolate-html.d.ts.map +1 -0
  311. package/dist/lib/interpolate-html.js +63 -0
  312. package/dist/lib/interpolate-html.js.map +1 -0
  313. package/dist/lib/ip-utils.d.ts +61 -0
  314. package/dist/lib/ip-utils.d.ts.map +1 -0
  315. package/dist/lib/ip-utils.js +213 -0
  316. package/dist/lib/ip-utils.js.map +1 -0
  317. package/dist/lib/locale.d.ts +57 -0
  318. package/dist/lib/locale.d.ts.map +1 -0
  319. package/dist/lib/locale.js +25 -0
  320. package/dist/lib/locale.js.map +1 -0
  321. package/dist/lib/logger.d.ts +14 -0
  322. package/dist/lib/logger.d.ts.map +1 -0
  323. package/dist/lib/logger.js +41 -0
  324. package/dist/lib/logger.js.map +1 -0
  325. package/dist/lib/openapi.d.ts +35 -0
  326. package/dist/lib/openapi.d.ts.map +1 -0
  327. package/dist/lib/openapi.js +33 -0
  328. package/dist/lib/openapi.js.map +1 -0
  329. package/dist/lib/password-policy.d.ts +39 -0
  330. package/dist/lib/password-policy.d.ts.map +1 -0
  331. package/dist/lib/password-policy.js +51 -0
  332. package/dist/lib/password-policy.js.map +1 -0
  333. package/dist/lib/pkce.d.ts +26 -0
  334. package/dist/lib/pkce.d.ts.map +1 -0
  335. package/dist/lib/pkce.js +52 -0
  336. package/dist/lib/pkce.js.map +1 -0
  337. package/dist/lib/scopes.d.ts +10 -0
  338. package/dist/lib/scopes.d.ts.map +1 -0
  339. package/dist/lib/scopes.js +35 -0
  340. package/dist/lib/scopes.js.map +1 -0
  341. package/dist/lib/swagger-tags.d.ts +15 -0
  342. package/dist/lib/swagger-tags.d.ts.map +1 -0
  343. package/dist/lib/swagger-tags.js +15 -0
  344. package/dist/lib/swagger-tags.js.map +1 -0
  345. package/dist/middleware/auth.d.ts +64 -0
  346. package/dist/middleware/auth.d.ts.map +1 -0
  347. package/dist/middleware/auth.js +123 -0
  348. package/dist/middleware/auth.js.map +1 -0
  349. package/dist/middleware/logger.d.ts +18 -0
  350. package/dist/middleware/logger.d.ts.map +1 -0
  351. package/dist/middleware/logger.js +38 -0
  352. package/dist/middleware/logger.js.map +1 -0
  353. package/dist/middleware/mikro-orm.d.ts +3 -0
  354. package/dist/middleware/mikro-orm.d.ts.map +1 -0
  355. package/dist/middleware/mikro-orm.js +11 -0
  356. package/dist/middleware/mikro-orm.js.map +1 -0
  357. package/dist/middleware/services.d.ts +8 -0
  358. package/dist/middleware/services.d.ts.map +1 -0
  359. package/dist/middleware/services.js +8 -0
  360. package/dist/middleware/services.js.map +1 -0
  361. package/dist/middleware/session.d.ts +63 -0
  362. package/dist/middleware/session.d.ts.map +1 -0
  363. package/dist/middleware/session.js +89 -0
  364. package/dist/middleware/session.js.map +1 -0
  365. package/dist/middleware/trusted-proxy-guard.d.ts +7 -0
  366. package/dist/middleware/trusted-proxy-guard.d.ts.map +1 -0
  367. package/dist/middleware/trusted-proxy-guard.js +34 -0
  368. package/dist/middleware/trusted-proxy-guard.js.map +1 -0
  369. package/dist/repositories/email-verification.repository.d.ts +18 -0
  370. package/dist/repositories/email-verification.repository.d.ts.map +1 -0
  371. package/dist/repositories/email-verification.repository.js +47 -0
  372. package/dist/repositories/email-verification.repository.js.map +1 -0
  373. package/dist/repositories/jwt-key.repository.d.ts +49 -0
  374. package/dist/repositories/jwt-key.repository.d.ts.map +1 -0
  375. package/dist/repositories/jwt-key.repository.js +72 -0
  376. package/dist/repositories/jwt-key.repository.js.map +1 -0
  377. package/dist/repositories/oauth-client.repository.d.ts +5 -0
  378. package/dist/repositories/oauth-client.repository.d.ts.map +1 -0
  379. package/dist/repositories/oauth-client.repository.js +4 -0
  380. package/dist/repositories/oauth-client.repository.js.map +1 -0
  381. package/dist/repositories/oauth-code.repository.d.ts +19 -0
  382. package/dist/repositories/oauth-code.repository.d.ts.map +1 -0
  383. package/dist/repositories/oauth-code.repository.js +32 -0
  384. package/dist/repositories/oauth-code.repository.js.map +1 -0
  385. package/dist/repositories/password-reset.repository.d.ts +19 -0
  386. package/dist/repositories/password-reset.repository.d.ts.map +1 -0
  387. package/dist/repositories/password-reset.repository.js +53 -0
  388. package/dist/repositories/password-reset.repository.js.map +1 -0
  389. package/dist/repositories/pending-oauth-registration.repository.d.ts +38 -0
  390. package/dist/repositories/pending-oauth-registration.repository.d.ts.map +1 -0
  391. package/dist/repositories/pending-oauth-registration.repository.js +50 -0
  392. package/dist/repositories/pending-oauth-registration.repository.js.map +1 -0
  393. package/dist/repositories/revoked-token.repository.d.ts +32 -0
  394. package/dist/repositories/revoked-token.repository.d.ts.map +1 -0
  395. package/dist/repositories/revoked-token.repository.js +43 -0
  396. package/dist/repositories/revoked-token.repository.js.map +1 -0
  397. package/dist/repositories/terms-content.repository.d.ts +5 -0
  398. package/dist/repositories/terms-content.repository.d.ts.map +1 -0
  399. package/dist/repositories/terms-content.repository.js +4 -0
  400. package/dist/repositories/terms-content.repository.js.map +1 -0
  401. package/dist/repositories/terms.repository.d.ts +9 -0
  402. package/dist/repositories/terms.repository.d.ts.map +1 -0
  403. package/dist/repositories/terms.repository.js +12 -0
  404. package/dist/repositories/terms.repository.js.map +1 -0
  405. package/dist/repositories/user-consent.repository.d.ts +22 -0
  406. package/dist/repositories/user-consent.repository.d.ts.map +1 -0
  407. package/dist/repositories/user-consent.repository.js +51 -0
  408. package/dist/repositories/user-consent.repository.js.map +1 -0
  409. package/dist/repositories/user-oauth.repository.d.ts +68 -0
  410. package/dist/repositories/user-oauth.repository.d.ts.map +1 -0
  411. package/dist/repositories/user-oauth.repository.js +94 -0
  412. package/dist/repositories/user-oauth.repository.js.map +1 -0
  413. package/dist/repositories/user-passkey.repository.d.ts +187 -0
  414. package/dist/repositories/user-passkey.repository.d.ts.map +1 -0
  415. package/dist/repositories/user-passkey.repository.js +61 -0
  416. package/dist/repositories/user-passkey.repository.js.map +1 -0
  417. package/dist/repositories/user-terms-consent.repository.d.ts +38 -0
  418. package/dist/repositories/user-terms-consent.repository.d.ts.map +1 -0
  419. package/dist/repositories/user-terms-consent.repository.js +71 -0
  420. package/dist/repositories/user-terms-consent.repository.js.map +1 -0
  421. package/dist/repositories/user-totp-recovery-code.repository.d.ts +376 -0
  422. package/dist/repositories/user-totp-recovery-code.repository.d.ts.map +1 -0
  423. package/dist/repositories/user-totp-recovery-code.repository.js +41 -0
  424. package/dist/repositories/user-totp-recovery-code.repository.js.map +1 -0
  425. package/dist/repositories/user-totp.repository.d.ts +564 -0
  426. package/dist/repositories/user-totp.repository.d.ts.map +1 -0
  427. package/dist/repositories/user-totp.repository.js +56 -0
  428. package/dist/repositories/user-totp.repository.js.map +1 -0
  429. package/dist/repositories/user.repository.d.ts +32 -0
  430. package/dist/repositories/user.repository.d.ts.map +1 -0
  431. package/dist/repositories/user.repository.js +70 -0
  432. package/dist/repositories/user.repository.js.map +1 -0
  433. package/dist/routes/.well-known/index.d.ts +12 -0
  434. package/dist/routes/.well-known/index.d.ts.map +1 -0
  435. package/dist/routes/.well-known/index.js +4 -0
  436. package/dist/routes/.well-known/index.js.map +1 -0
  437. package/dist/routes/.well-known/openid-configuration/get.d.ts +19 -0
  438. package/dist/routes/.well-known/openid-configuration/get.d.ts.map +1 -0
  439. package/dist/routes/.well-known/openid-configuration/get.js +12 -0
  440. package/dist/routes/.well-known/openid-configuration/get.js.map +1 -0
  441. package/dist/routes/api/auth/email/resend/post.d.ts +22 -0
  442. package/dist/routes/api/auth/email/resend/post.d.ts.map +1 -0
  443. package/dist/routes/api/auth/email/resend/post.js +64 -0
  444. package/dist/routes/api/auth/email/resend/post.js.map +1 -0
  445. package/dist/routes/api/auth/email/verify/post.d.ts +29 -0
  446. package/dist/routes/api/auth/email/verify/post.d.ts.map +1 -0
  447. package/dist/routes/api/auth/email/verify/post.js +55 -0
  448. package/dist/routes/api/auth/email/verify/post.js.map +1 -0
  449. package/dist/routes/api/auth/index.d.ts +275 -0
  450. package/dist/routes/api/auth/index.d.ts.map +1 -0
  451. package/dist/routes/api/auth/index.js +25 -0
  452. package/dist/routes/api/auth/index.js.map +1 -0
  453. package/dist/routes/api/auth/login/post.d.ts +30 -0
  454. package/dist/routes/api/auth/login/post.d.ts.map +1 -0
  455. package/dist/routes/api/auth/login/post.js +76 -0
  456. package/dist/routes/api/auth/login/post.js.map +1 -0
  457. package/dist/routes/api/auth/logout/post.d.ts +14 -0
  458. package/dist/routes/api/auth/logout/post.d.ts.map +1 -0
  459. package/dist/routes/api/auth/logout/post.js +21 -0
  460. package/dist/routes/api/auth/logout/post.js.map +1 -0
  461. package/dist/routes/api/auth/passkey/options/post.d.ts +31 -0
  462. package/dist/routes/api/auth/passkey/options/post.d.ts.map +1 -0
  463. package/dist/routes/api/auth/passkey/options/post.js +43 -0
  464. package/dist/routes/api/auth/passkey/options/post.js.map +1 -0
  465. package/dist/routes/api/auth/passkey/verify/post.d.ts +41 -0
  466. package/dist/routes/api/auth/passkey/verify/post.d.ts.map +1 -0
  467. package/dist/routes/api/auth/passkey/verify/post.js +75 -0
  468. package/dist/routes/api/auth/passkey/verify/post.js.map +1 -0
  469. package/dist/routes/api/auth/password/forgot/post.d.ts +22 -0
  470. package/dist/routes/api/auth/password/forgot/post.d.ts.map +1 -0
  471. package/dist/routes/api/auth/password/forgot/post.js +72 -0
  472. package/dist/routes/api/auth/password/forgot/post.js.map +1 -0
  473. package/dist/routes/api/auth/password/reset/post.d.ts +19 -0
  474. package/dist/routes/api/auth/password/reset/post.d.ts.map +1 -0
  475. package/dist/routes/api/auth/password/reset/post.js +62 -0
  476. package/dist/routes/api/auth/password/reset/post.js.map +1 -0
  477. package/dist/routes/api/auth/register/post.d.ts +39 -0
  478. package/dist/routes/api/auth/register/post.d.ts.map +1 -0
  479. package/dist/routes/api/auth/register/post.js +95 -0
  480. package/dist/routes/api/auth/register/post.js.map +1 -0
  481. package/dist/routes/api/auth/totp/recovery/verify/post.d.ts +36 -0
  482. package/dist/routes/api/auth/totp/recovery/verify/post.d.ts.map +1 -0
  483. package/dist/routes/api/auth/totp/recovery/verify/post.js +68 -0
  484. package/dist/routes/api/auth/totp/recovery/verify/post.js.map +1 -0
  485. package/dist/routes/api/auth/totp/verify/post.d.ts +29 -0
  486. package/dist/routes/api/auth/totp/verify/post.d.ts.map +1 -0
  487. package/dist/routes/api/auth/totp/verify/post.js +59 -0
  488. package/dist/routes/api/auth/totp/verify/post.js.map +1 -0
  489. package/dist/routes/api/config/get.d.ts +76 -0
  490. package/dist/routes/api/config/get.d.ts.map +1 -0
  491. package/dist/routes/api/config/get.js +70 -0
  492. package/dist/routes/api/config/get.js.map +1 -0
  493. package/dist/routes/api/config/index.d.ts +76 -0
  494. package/dist/routes/api/config/index.d.ts.map +1 -0
  495. package/dist/routes/api/config/index.js +4 -0
  496. package/dist/routes/api/config/index.js.map +1 -0
  497. package/dist/routes/api/consent/get.d.ts +37 -0
  498. package/dist/routes/api/consent/get.d.ts.map +1 -0
  499. package/dist/routes/api/consent/get.js +73 -0
  500. package/dist/routes/api/consent/get.js.map +1 -0
  501. package/dist/routes/api/consent/index.d.ts +54 -0
  502. package/dist/routes/api/consent/index.d.ts.map +1 -0
  503. package/dist/routes/api/consent/index.js +7 -0
  504. package/dist/routes/api/consent/index.js.map +1 -0
  505. package/dist/routes/api/consent/post.d.ts +33 -0
  506. package/dist/routes/api/consent/post.d.ts.map +1 -0
  507. package/dist/routes/api/consent/post.js +105 -0
  508. package/dist/routes/api/consent/post.js.map +1 -0
  509. package/dist/routes/api/docs/get.d.ts +17 -0
  510. package/dist/routes/api/docs/get.d.ts.map +1 -0
  511. package/dist/routes/api/docs/get.js +19 -0
  512. package/dist/routes/api/docs/get.js.map +1 -0
  513. package/dist/routes/api/docs/index.d.ts +12 -0
  514. package/dist/routes/api/docs/index.d.ts.map +1 -0
  515. package/dist/routes/api/docs/index.js +4 -0
  516. package/dist/routes/api/docs/index.js.map +1 -0
  517. package/dist/routes/api/health/get.d.ts +36 -0
  518. package/dist/routes/api/health/get.d.ts.map +1 -0
  519. package/dist/routes/api/health/get.js +64 -0
  520. package/dist/routes/api/health/get.js.map +1 -0
  521. package/dist/routes/api/health/index.d.ts +66 -0
  522. package/dist/routes/api/health/index.d.ts.map +1 -0
  523. package/dist/routes/api/health/index.js +9 -0
  524. package/dist/routes/api/health/index.js.map +1 -0
  525. package/dist/routes/api/health/live/get.d.ts +20 -0
  526. package/dist/routes/api/health/live/get.d.ts.map +1 -0
  527. package/dist/routes/api/health/live/get.js +28 -0
  528. package/dist/routes/api/health/live/get.js.map +1 -0
  529. package/dist/routes/api/health/ready/get.d.ts +35 -0
  530. package/dist/routes/api/health/ready/get.d.ts.map +1 -0
  531. package/dist/routes/api/health/ready/get.js +60 -0
  532. package/dist/routes/api/health/ready/get.js.map +1 -0
  533. package/dist/routes/api/index.d.ts +927 -0
  534. package/dist/routes/api/index.d.ts.map +1 -0
  535. package/dist/routes/api/index.js +19 -0
  536. package/dist/routes/api/index.js.map +1 -0
  537. package/dist/routes/api/oauth/_provider/authorize/get.d.ts +21 -0
  538. package/dist/routes/api/oauth/_provider/authorize/get.d.ts.map +1 -0
  539. package/dist/routes/api/oauth/_provider/authorize/get.js +60 -0
  540. package/dist/routes/api/oauth/_provider/authorize/get.js.map +1 -0
  541. package/dist/routes/api/oauth/_provider/callback/get.d.ts +23 -0
  542. package/dist/routes/api/oauth/_provider/callback/get.d.ts.map +1 -0
  543. package/dist/routes/api/oauth/_provider/callback/get.js +137 -0
  544. package/dist/routes/api/oauth/_provider/callback/get.js.map +1 -0
  545. package/dist/routes/api/oauth/_provider/callback/post.d.ts +23 -0
  546. package/dist/routes/api/oauth/_provider/callback/post.d.ts.map +1 -0
  547. package/dist/routes/api/oauth/_provider/callback/post.js +140 -0
  548. package/dist/routes/api/oauth/_provider/callback/post.js.map +1 -0
  549. package/dist/routes/api/oauth/_provider/delete.d.ts +18 -0
  550. package/dist/routes/api/oauth/_provider/delete.d.ts.map +1 -0
  551. package/dist/routes/api/oauth/_provider/delete.js +62 -0
  552. package/dist/routes/api/oauth/_provider/delete.js.map +1 -0
  553. package/dist/routes/api/oauth/index.d.ts +76 -0
  554. package/dist/routes/api/oauth/index.d.ts.map +1 -0
  555. package/dist/routes/api/oauth/index.js +11 -0
  556. package/dist/routes/api/oauth/index.js.map +1 -0
  557. package/dist/routes/api/terms/consent/post.d.ts +29 -0
  558. package/dist/routes/api/terms/consent/post.d.ts.map +1 -0
  559. package/dist/routes/api/terms/consent/post.js +111 -0
  560. package/dist/routes/api/terms/consent/post.js.map +1 -0
  561. package/dist/routes/api/terms/get.d.ts +40 -0
  562. package/dist/routes/api/terms/get.d.ts.map +1 -0
  563. package/dist/routes/api/terms/get.js +53 -0
  564. package/dist/routes/api/terms/get.js.map +1 -0
  565. package/dist/routes/api/terms/index.d.ts +55 -0
  566. package/dist/routes/api/terms/index.d.ts.map +1 -0
  567. package/dist/routes/api/terms/index.js +7 -0
  568. package/dist/routes/api/terms/index.js.map +1 -0
  569. package/dist/routes/api/user/delete.d.ts +21 -0
  570. package/dist/routes/api/user/delete.d.ts.map +1 -0
  571. package/dist/routes/api/user/delete.js +89 -0
  572. package/dist/routes/api/user/delete.js.map +1 -0
  573. package/dist/routes/api/user/index.d.ts +334 -0
  574. package/dist/routes/api/user/index.d.ts.map +1 -0
  575. package/dist/routes/api/user/index.js +35 -0
  576. package/dist/routes/api/user/index.js.map +1 -0
  577. package/dist/routes/api/user/oauth-accounts/get.d.ts +23 -0
  578. package/dist/routes/api/user/oauth-accounts/get.d.ts.map +1 -0
  579. package/dist/routes/api/user/oauth-accounts/get.js +58 -0
  580. package/dist/routes/api/user/oauth-accounts/get.js.map +1 -0
  581. package/dist/routes/api/user/passkeys/_id/delete.d.ts +18 -0
  582. package/dist/routes/api/user/passkeys/_id/delete.d.ts.map +1 -0
  583. package/dist/routes/api/user/passkeys/_id/delete.js +87 -0
  584. package/dist/routes/api/user/passkeys/_id/delete.js.map +1 -0
  585. package/dist/routes/api/user/passkeys/_id/patch.d.ts +22 -0
  586. package/dist/routes/api/user/passkeys/_id/patch.d.ts.map +1 -0
  587. package/dist/routes/api/user/passkeys/_id/patch.js +64 -0
  588. package/dist/routes/api/user/passkeys/_id/patch.js.map +1 -0
  589. package/dist/routes/api/user/passkeys/get.d.ts +21 -0
  590. package/dist/routes/api/user/passkeys/get.d.ts.map +1 -0
  591. package/dist/routes/api/user/passkeys/get.js +52 -0
  592. package/dist/routes/api/user/passkeys/get.js.map +1 -0
  593. package/dist/routes/api/user/passkeys/register/options/post.d.ts +55 -0
  594. package/dist/routes/api/user/passkeys/register/options/post.d.ts.map +1 -0
  595. package/dist/routes/api/user/passkeys/register/options/post.js +74 -0
  596. package/dist/routes/api/user/passkeys/register/options/post.js.map +1 -0
  597. package/dist/routes/api/user/passkeys/register/verify/post.d.ts +50 -0
  598. package/dist/routes/api/user/passkeys/register/verify/post.d.ts.map +1 -0
  599. package/dist/routes/api/user/passkeys/register/verify/post.js +95 -0
  600. package/dist/routes/api/user/passkeys/register/verify/post.js.map +1 -0
  601. package/dist/routes/api/user/password/delete.d.ts +23 -0
  602. package/dist/routes/api/user/password/delete.d.ts.map +1 -0
  603. package/dist/routes/api/user/password/delete.js +78 -0
  604. package/dist/routes/api/user/password/delete.js.map +1 -0
  605. package/dist/routes/api/user/password/post.d.ts +23 -0
  606. package/dist/routes/api/user/password/post.d.ts.map +1 -0
  607. package/dist/routes/api/user/password/post.js +81 -0
  608. package/dist/routes/api/user/password/post.js.map +1 -0
  609. package/dist/routes/api/user/password/put.d.ts +24 -0
  610. package/dist/routes/api/user/password/put.d.ts.map +1 -0
  611. package/dist/routes/api/user/password/put.js +74 -0
  612. package/dist/routes/api/user/password/put.js.map +1 -0
  613. package/dist/routes/api/user/session/get.d.ts +32 -0
  614. package/dist/routes/api/user/session/get.d.ts.map +1 -0
  615. package/dist/routes/api/user/session/get.js +36 -0
  616. package/dist/routes/api/user/session/get.js.map +1 -0
  617. package/dist/routes/api/user/totp/confirm/post.d.ts +32 -0
  618. package/dist/routes/api/user/totp/confirm/post.d.ts.map +1 -0
  619. package/dist/routes/api/user/totp/confirm/post.js +73 -0
  620. package/dist/routes/api/user/totp/confirm/post.js.map +1 -0
  621. package/dist/routes/api/user/totp/delete.d.ts +23 -0
  622. package/dist/routes/api/user/totp/delete.d.ts.map +1 -0
  623. package/dist/routes/api/user/totp/delete.js +74 -0
  624. package/dist/routes/api/user/totp/delete.js.map +1 -0
  625. package/dist/routes/api/user/totp/recovery/regenerate/post.d.ts +18 -0
  626. package/dist/routes/api/user/totp/recovery/regenerate/post.d.ts.map +1 -0
  627. package/dist/routes/api/user/totp/recovery/regenerate/post.js +54 -0
  628. package/dist/routes/api/user/totp/recovery/regenerate/post.js.map +1 -0
  629. package/dist/routes/api/user/totp/setup/post.d.ts +22 -0
  630. package/dist/routes/api/user/totp/setup/post.d.ts.map +1 -0
  631. package/dist/routes/api/user/totp/setup/post.js +82 -0
  632. package/dist/routes/api/user/totp/setup/post.js.map +1 -0
  633. package/dist/routes/api/user/totp/verify/post.d.ts +23 -0
  634. package/dist/routes/api/user/totp/verify/post.d.ts.map +1 -0
  635. package/dist/routes/api/user/totp/verify/post.js +71 -0
  636. package/dist/routes/api/user/totp/verify/post.js.map +1 -0
  637. package/dist/routes/index.d.ts +1115 -0
  638. package/dist/routes/index.d.ts.map +1 -0
  639. package/dist/routes/index.js +9 -0
  640. package/dist/routes/index.js.map +1 -0
  641. package/dist/routes/oauth/.well-known/jwks/get.d.ts +24 -0
  642. package/dist/routes/oauth/.well-known/jwks/get.d.ts.map +1 -0
  643. package/dist/routes/oauth/.well-known/jwks/get.js +41 -0
  644. package/dist/routes/oauth/.well-known/jwks/get.js.map +1 -0
  645. package/dist/routes/oauth/.well-known/openid-configuration/get.d.ts +29 -0
  646. package/dist/routes/oauth/.well-known/openid-configuration/get.d.ts.map +1 -0
  647. package/dist/routes/oauth/.well-known/openid-configuration/get.js +119 -0
  648. package/dist/routes/oauth/.well-known/openid-configuration/get.js.map +1 -0
  649. package/dist/routes/oauth/authorize/get.d.ts +48 -0
  650. package/dist/routes/oauth/authorize/get.d.ts.map +1 -0
  651. package/dist/routes/oauth/authorize/get.js +102 -0
  652. package/dist/routes/oauth/authorize/get.js.map +1 -0
  653. package/dist/routes/oauth/index.d.ts +182 -0
  654. package/dist/routes/oauth/index.d.ts.map +1 -0
  655. package/dist/routes/oauth/index.js +17 -0
  656. package/dist/routes/oauth/index.js.map +1 -0
  657. package/dist/routes/oauth/introspect/post.d.ts +28 -0
  658. package/dist/routes/oauth/introspect/post.d.ts.map +1 -0
  659. package/dist/routes/oauth/introspect/post.js +69 -0
  660. package/dist/routes/oauth/introspect/post.js.map +1 -0
  661. package/dist/routes/oauth/revoke/post.d.ts +22 -0
  662. package/dist/routes/oauth/revoke/post.d.ts.map +1 -0
  663. package/dist/routes/oauth/revoke/post.js +73 -0
  664. package/dist/routes/oauth/revoke/post.js.map +1 -0
  665. package/dist/routes/oauth/token/post.d.ts +29 -0
  666. package/dist/routes/oauth/token/post.d.ts.map +1 -0
  667. package/dist/routes/oauth/token/post.js +98 -0
  668. package/dist/routes/oauth/token/post.js.map +1 -0
  669. package/dist/routes/oauth/userinfo/get.d.ts +23 -0
  670. package/dist/routes/oauth/userinfo/get.d.ts.map +1 -0
  671. package/dist/routes/oauth/userinfo/get.js +65 -0
  672. package/dist/routes/oauth/userinfo/get.js.map +1 -0
  673. package/dist/schemas/error.d.ts +2104 -0
  674. package/dist/schemas/error.d.ts.map +1 -0
  675. package/dist/schemas/error.js +164 -0
  676. package/dist/schemas/error.js.map +1 -0
  677. package/dist/schemas/field.d.ts +97 -0
  678. package/dist/schemas/field.d.ts.map +1 -0
  679. package/dist/schemas/field.js +168 -0
  680. package/dist/schemas/field.js.map +1 -0
  681. package/dist/schemas/header.d.ts +7 -0
  682. package/dist/schemas/header.d.ts.map +1 -0
  683. package/dist/schemas/header.js +11 -0
  684. package/dist/schemas/header.js.map +1 -0
  685. package/dist/schemas/oauth.d.ts +26 -0
  686. package/dist/schemas/oauth.d.ts.map +1 -0
  687. package/dist/schemas/oauth.js +51 -0
  688. package/dist/schemas/oauth.js.map +1 -0
  689. package/dist/schemas/provider.d.ts +7 -0
  690. package/dist/schemas/provider.d.ts.map +1 -0
  691. package/dist/schemas/provider.js +31 -0
  692. package/dist/schemas/provider.js.map +1 -0
  693. package/dist/schemas/response.d.ts +645 -0
  694. package/dist/schemas/response.d.ts.map +1 -0
  695. package/dist/schemas/response.js +598 -0
  696. package/dist/schemas/response.js.map +1 -0
  697. package/dist/schemas/terms.d.ts +93 -0
  698. package/dist/schemas/terms.d.ts.map +1 -0
  699. package/dist/schemas/terms.js +109 -0
  700. package/dist/schemas/terms.js.map +1 -0
  701. package/dist/seeders/config.seeder.d.ts +21 -0
  702. package/dist/seeders/config.seeder.d.ts.map +1 -0
  703. package/dist/seeders/config.seeder.js +168 -0
  704. package/dist/seeders/config.seeder.js.map +1 -0
  705. package/dist/services/cleanup.service.d.ts +166 -0
  706. package/dist/services/cleanup.service.d.ts.map +1 -0
  707. package/dist/services/cleanup.service.js +605 -0
  708. package/dist/services/cleanup.service.js.map +1 -0
  709. package/dist/services/container.d.ts +201 -0
  710. package/dist/services/container.d.ts.map +1 -0
  711. package/dist/services/container.js +75 -0
  712. package/dist/services/container.js.map +1 -0
  713. package/dist/services/email.service.d.ts +69 -0
  714. package/dist/services/email.service.d.ts.map +1 -0
  715. package/dist/services/email.service.js +164 -0
  716. package/dist/services/email.service.js.map +1 -0
  717. package/dist/services/jwt.service.d.ts +321 -0
  718. package/dist/services/jwt.service.d.ts.map +1 -0
  719. package/dist/services/jwt.service.js +524 -0
  720. package/dist/services/jwt.service.js.map +1 -0
  721. package/dist/services/mikro.service.d.ts +43 -0
  722. package/dist/services/mikro.service.d.ts.map +1 -0
  723. package/dist/services/mikro.service.js +68 -0
  724. package/dist/services/mikro.service.js.map +1 -0
  725. package/dist/services/oauth-authorize.service.d.ts +91 -0
  726. package/dist/services/oauth-authorize.service.d.ts.map +1 -0
  727. package/dist/services/oauth-authorize.service.js +237 -0
  728. package/dist/services/oauth-authorize.service.js.map +1 -0
  729. package/dist/services/oauth-client.service.d.ts +38 -0
  730. package/dist/services/oauth-client.service.d.ts.map +1 -0
  731. package/dist/services/oauth-client.service.js +80 -0
  732. package/dist/services/oauth-client.service.js.map +1 -0
  733. package/dist/services/oauth-connect.service.d.ts +182 -0
  734. package/dist/services/oauth-connect.service.d.ts.map +1 -0
  735. package/dist/services/oauth-connect.service.js +592 -0
  736. package/dist/services/oauth-connect.service.js.map +1 -0
  737. package/dist/services/oauth-token.service.d.ts +162 -0
  738. package/dist/services/oauth-token.service.d.ts.map +1 -0
  739. package/dist/services/oauth-token.service.js +374 -0
  740. package/dist/services/oauth-token.service.js.map +1 -0
  741. package/dist/services/passkey.service.d.ts +73 -0
  742. package/dist/services/passkey.service.d.ts.map +1 -0
  743. package/dist/services/passkey.service.js +199 -0
  744. package/dist/services/passkey.service.js.map +1 -0
  745. package/dist/services/password-auth.service.d.ts +24 -0
  746. package/dist/services/password-auth.service.d.ts.map +1 -0
  747. package/dist/services/password-auth.service.js +87 -0
  748. package/dist/services/password-auth.service.js.map +1 -0
  749. package/dist/services/password-reset.service.d.ts +31 -0
  750. package/dist/services/password-reset.service.d.ts.map +1 -0
  751. package/dist/services/password-reset.service.js +54 -0
  752. package/dist/services/password-reset.service.js.map +1 -0
  753. package/dist/services/scheduler.service.d.ts +15 -0
  754. package/dist/services/scheduler.service.d.ts.map +1 -0
  755. package/dist/services/scheduler.service.js +52 -0
  756. package/dist/services/scheduler.service.js.map +1 -0
  757. package/dist/services/security.service.d.ts +17 -0
  758. package/dist/services/security.service.d.ts.map +1 -0
  759. package/dist/services/security.service.js +82 -0
  760. package/dist/services/security.service.js.map +1 -0
  761. package/dist/services/terms.service.d.ts +131 -0
  762. package/dist/services/terms.service.d.ts.map +1 -0
  763. package/dist/services/terms.service.js +210 -0
  764. package/dist/services/terms.service.js.map +1 -0
  765. package/dist/services/totp.service.d.ts +86 -0
  766. package/dist/services/totp.service.d.ts.map +1 -0
  767. package/dist/services/totp.service.js +244 -0
  768. package/dist/services/totp.service.js.map +1 -0
  769. package/dist/services/user-consent.service.d.ts +34 -0
  770. package/dist/services/user-consent.service.d.ts.map +1 -0
  771. package/dist/services/user-consent.service.js +42 -0
  772. package/dist/services/user-consent.service.js.map +1 -0
  773. package/dist/services/user.service.d.ts +60 -0
  774. package/dist/services/user.service.d.ts.map +1 -0
  775. package/dist/services/user.service.js +176 -0
  776. package/dist/services/user.service.js.map +1 -0
  777. package/package.json +155 -0
  778. package/public/assets/index-CrY7bb7j.css +2 -0
  779. package/public/assets/index-jYk5DHP_.js +75 -0
  780. package/public/assets/index-jYk5DHP_.js.map +1 -0
  781. package/public/index.html +27 -0
  782. package/public/vite.svg +1 -0
@@ -0,0 +1,804 @@
1
+ import { type InferEntity } from '@mikro-orm/core';
2
+ import { UserTermsConsentRepository } from '../repositories/user-terms-consent.repository.ts';
3
+ /**
4
+ * UserTermsConsentEntity stores user consent records for terms of service.
5
+ *
6
+ * Each record represents a user's agreement (or disagreement for optional terms)
7
+ * to a specific version of a term. When terms are updated to a new version,
8
+ * users need to consent to the new version.
9
+ */
10
+ export declare const UserTermsConsentEntitySchema: import("@mikro-orm/core").EntitySchemaWithMeta<"UserTermsConsentEntity", "user_terms_consent", import("@mikro-orm/core").InferEntityFromProperties<{
11
+ readonly id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "primary"> & {
12
+ primary: true;
13
+ } & {
14
+ onCreate: (...args: any[]) => any;
15
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
16
+ readonly user: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
17
+ readonly sub: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "primary"> & {
18
+ primary: true;
19
+ } & {
20
+ onCreate: (...args: any[]) => any;
21
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
22
+ readonly email: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
23
+ readonly email_verified: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
24
+ default: false;
25
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
26
+ readonly password_hash: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
27
+ nullable: true;
28
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
29
+ readonly managed_by: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<"database" | "config", Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
30
+ default: "database";
31
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
32
+ readonly role: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<"user" | "admin", Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
33
+ default: "user";
34
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
35
+ readonly deleted_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
36
+ nullable: true;
37
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
38
+ readonly oauthAccounts: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
39
+ readonly id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<bigint, Omit<import("@mikro-orm/core").EmptyOptions, "primary"> & {
40
+ primary: true;
41
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
42
+ readonly user: () => import("@mikro-orm/core").PropertyChain<import("./user.entity.ts").UserEntity, Omit<import("@mikro-orm/core").EmptyOptions & {
43
+ kind: "m:1";
44
+ }, "ref"> & {
45
+ ref: true;
46
+ }>;
47
+ readonly provider_name: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
48
+ readonly provider_user_id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
49
+ readonly access_token: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
50
+ readonly refresh_token: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
51
+ readonly expires_at: import("@mikro-orm/core").UniversalPropertyOptionsBuilder<import("@mikro-orm/core").RequiredNullable<Date>, Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
52
+ nullable: true;
53
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
54
+ }, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
55
+ readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
56
+ onCreate: (...args: any[]) => any;
57
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
58
+ readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
59
+ onCreate: (...args: any[]) => any;
60
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
61
+ }, undefined, never, never, false>, typeof import("../repositories/user-oauth.repository.ts").UserOAuthRepository, false>, import("@mikro-orm/core").EmptyOptions & {
62
+ kind: "1:m";
63
+ }>;
64
+ readonly passkeys: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
65
+ readonly id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "primary"> & {
66
+ primary: true;
67
+ } & {
68
+ onCreate: (...args: any[]) => any;
69
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
70
+ readonly user: () => import("@mikro-orm/core").PropertyChain<import("./user.entity.ts").UserEntity, Omit<import("@mikro-orm/core").EmptyOptions & {
71
+ kind: "m:1";
72
+ }, "ref"> & {
73
+ ref: true;
74
+ }>;
75
+ readonly credential_id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
76
+ readonly public_key: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "hidden"> & {
77
+ hidden: true;
78
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
79
+ readonly counter: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<number, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
80
+ default: 0;
81
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
82
+ readonly device_type: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<"singleDevice" | "multiDevice", Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
83
+ default: "singleDevice";
84
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
85
+ readonly backed_up: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
86
+ default: false;
87
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
88
+ readonly transports: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<import("@simplewebauthn/server").AuthenticatorTransportFuture[] | null, Omit<Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
89
+ nullable: true;
90
+ }, "default"> & {
91
+ default: null;
92
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
93
+ readonly name: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
94
+ nullable: true;
95
+ }, "default"> & {
96
+ default: null;
97
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
98
+ readonly aaguid: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
99
+ nullable: true;
100
+ }, "default"> & {
101
+ default: null;
102
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
103
+ }, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
104
+ readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
105
+ onCreate: (...args: any[]) => any;
106
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
107
+ readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
108
+ onCreate: (...args: any[]) => any;
109
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
110
+ }, undefined, never, never, false>, typeof import("../repositories/user-passkey.repository.ts").UserPasskeyRepository, false>, import("@mikro-orm/core").EmptyOptions & {
111
+ kind: "1:m";
112
+ }>;
113
+ readonly totps: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
114
+ readonly id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "primary"> & {
115
+ primary: true;
116
+ } & {
117
+ onCreate: (...args: any[]) => any;
118
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
119
+ readonly user: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties</*elided*/ any, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
120
+ readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
121
+ onCreate: (...args: any[]) => any;
122
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
123
+ readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
124
+ onCreate: (...args: any[]) => any;
125
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
126
+ }, undefined, never, never, false>, typeof import("../repositories/user.repository.ts").UserRepository, false>, import("@mikro-orm/core").EmptyOptions & {
127
+ kind: "m:1";
128
+ }>;
129
+ readonly secret: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "hidden"> & {
130
+ hidden: true;
131
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
132
+ readonly verified: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
133
+ default: false;
134
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
135
+ readonly recovery_confirmed: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
136
+ default: false;
137
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
138
+ }, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
139
+ readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
140
+ onCreate: (...args: any[]) => any;
141
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
142
+ readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
143
+ onCreate: (...args: any[]) => any;
144
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
145
+ }, undefined, never, never, false>, typeof import("../repositories/user-totp.repository.ts").UserTotpRepository, false>, import("@mikro-orm/core").EmptyOptions & {
146
+ kind: "1:m";
147
+ }>;
148
+ readonly totpRecoveryCodes: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
149
+ readonly id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "primary"> & {
150
+ primary: true;
151
+ } & {
152
+ onCreate: (...args: any[]) => any;
153
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
154
+ readonly user: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties</*elided*/ any, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
155
+ readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
156
+ onCreate: (...args: any[]) => any;
157
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
158
+ readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
159
+ onCreate: (...args: any[]) => any;
160
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
161
+ }, undefined, never, never, false>, typeof import("../repositories/user.repository.ts").UserRepository, false>, import("@mikro-orm/core").EmptyOptions & {
162
+ kind: "m:1";
163
+ }>;
164
+ readonly code_hash: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
165
+ readonly used: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
166
+ default: false;
167
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
168
+ readonly used_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, Omit<Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
169
+ nullable: true;
170
+ }, "default"> & {
171
+ default: null;
172
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
173
+ }, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
174
+ readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
175
+ onCreate: (...args: any[]) => any;
176
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
177
+ readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
178
+ onCreate: (...args: any[]) => any;
179
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
180
+ }, undefined, never, never, false>, typeof import("../repositories/user-totp-recovery-code.repository.ts").UserTotpRecoveryCodeRepository, false>, import("@mikro-orm/core").EmptyOptions & {
181
+ kind: "1:m";
182
+ }>;
183
+ }, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
184
+ readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
185
+ onCreate: (...args: any[]) => any;
186
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
187
+ readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
188
+ onCreate: (...args: any[]) => any;
189
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
190
+ }, undefined, never, never, false>, typeof import("../repositories/user.repository.ts").UserRepository, false>, import("@mikro-orm/core").EmptyOptions & {
191
+ kind: "m:1";
192
+ }>;
193
+ readonly terms: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
194
+ readonly id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "primary"> & {
195
+ primary: true;
196
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
197
+ readonly required: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
198
+ default: true;
199
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
200
+ readonly consentMode: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<"explicit" | "implicit", Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
201
+ default: "explicit";
202
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
203
+ readonly version: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
204
+ readonly managed_by: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<"database" | "config", Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
205
+ default: "database";
206
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
207
+ readonly contents: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
208
+ readonly id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "primary"> & {
209
+ primary: true;
210
+ } & {
211
+ onCreate: (...args: any[]) => any;
212
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
213
+ readonly terms: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties</*elided*/ any, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
214
+ readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
215
+ onCreate: (...args: any[]) => any;
216
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
217
+ readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
218
+ onCreate: (...args: any[]) => any;
219
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
220
+ }, undefined, never, never, false>, typeof import("../repositories/terms.repository.ts").TermsRepository, false>, import("@mikro-orm/core").EmptyOptions & {
221
+ kind: "m:1";
222
+ }>;
223
+ readonly lang: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
224
+ readonly title: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
225
+ readonly type: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<import("./terms-content.entity.ts").TermsContentType, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
226
+ default: "link";
227
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
228
+ readonly content: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
229
+ }, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
230
+ readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
231
+ onCreate: (...args: any[]) => any;
232
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
233
+ readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
234
+ onCreate: (...args: any[]) => any;
235
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
236
+ }, undefined, never, never, false>, typeof import("../repositories/terms-content.repository.ts").TermsContentRepository, false>, import("@mikro-orm/core").EmptyOptions & {
237
+ kind: "1:m";
238
+ }>;
239
+ readonly consents: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties</*elided*/ any, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
240
+ readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
241
+ onCreate: (...args: any[]) => any;
242
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
243
+ readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
244
+ onCreate: (...args: any[]) => any;
245
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
246
+ }, undefined, never, never, false>, typeof UserTermsConsentRepository, false>, import("@mikro-orm/core").EmptyOptions & {
247
+ kind: "1:m";
248
+ }>;
249
+ }, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
250
+ readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
251
+ onCreate: (...args: any[]) => any;
252
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
253
+ readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
254
+ onCreate: (...args: any[]) => any;
255
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
256
+ }, undefined, never, never, false>, typeof import("../repositories/terms.repository.ts").TermsRepository, false>, import("@mikro-orm/core").EmptyOptions & {
257
+ kind: "m:1";
258
+ }>;
259
+ readonly termsVersion: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
260
+ readonly agreed: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
261
+ readonly consentType: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<"explicit" | "implicit", import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
262
+ readonly agreedAt: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
263
+ onCreate: (...args: any[]) => any;
264
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
265
+ }, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
266
+ readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
267
+ onCreate: (...args: any[]) => any;
268
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
269
+ readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
270
+ onCreate: (...args: any[]) => any;
271
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
272
+ }, undefined, never, never, false>, typeof UserTermsConsentRepository, false>, import("@mikro-orm/core").InferEntityFromProperties<{
273
+ readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
274
+ onCreate: (...args: any[]) => any;
275
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
276
+ readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
277
+ onCreate: (...args: any[]) => any;
278
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
279
+ }, undefined, never, never, false>, {
280
+ readonly id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "primary"> & {
281
+ primary: true;
282
+ } & {
283
+ onCreate: (...args: any[]) => any;
284
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
285
+ readonly user: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
286
+ readonly sub: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "primary"> & {
287
+ primary: true;
288
+ } & {
289
+ onCreate: (...args: any[]) => any;
290
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
291
+ readonly email: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
292
+ readonly email_verified: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
293
+ default: false;
294
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
295
+ readonly password_hash: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
296
+ nullable: true;
297
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
298
+ readonly managed_by: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<"database" | "config", Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
299
+ default: "database";
300
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
301
+ readonly role: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<"user" | "admin", Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
302
+ default: "user";
303
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
304
+ readonly deleted_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
305
+ nullable: true;
306
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
307
+ readonly oauthAccounts: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
308
+ readonly id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<bigint, Omit<import("@mikro-orm/core").EmptyOptions, "primary"> & {
309
+ primary: true;
310
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
311
+ readonly user: () => import("@mikro-orm/core").PropertyChain<import("./user.entity.ts").UserEntity, Omit<import("@mikro-orm/core").EmptyOptions & {
312
+ kind: "m:1";
313
+ }, "ref"> & {
314
+ ref: true;
315
+ }>;
316
+ readonly provider_name: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
317
+ readonly provider_user_id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
318
+ readonly access_token: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
319
+ readonly refresh_token: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
320
+ readonly expires_at: import("@mikro-orm/core").UniversalPropertyOptionsBuilder<import("@mikro-orm/core").RequiredNullable<Date>, Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
321
+ nullable: true;
322
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
323
+ }, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
324
+ readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
325
+ onCreate: (...args: any[]) => any;
326
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
327
+ readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
328
+ onCreate: (...args: any[]) => any;
329
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
330
+ }, undefined, never, never, false>, typeof import("../repositories/user-oauth.repository.ts").UserOAuthRepository, false>, import("@mikro-orm/core").EmptyOptions & {
331
+ kind: "1:m";
332
+ }>;
333
+ readonly passkeys: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
334
+ readonly id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "primary"> & {
335
+ primary: true;
336
+ } & {
337
+ onCreate: (...args: any[]) => any;
338
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
339
+ readonly user: () => import("@mikro-orm/core").PropertyChain<import("./user.entity.ts").UserEntity, Omit<import("@mikro-orm/core").EmptyOptions & {
340
+ kind: "m:1";
341
+ }, "ref"> & {
342
+ ref: true;
343
+ }>;
344
+ readonly credential_id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
345
+ readonly public_key: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "hidden"> & {
346
+ hidden: true;
347
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
348
+ readonly counter: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<number, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
349
+ default: 0;
350
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
351
+ readonly device_type: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<"singleDevice" | "multiDevice", Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
352
+ default: "singleDevice";
353
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
354
+ readonly backed_up: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
355
+ default: false;
356
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
357
+ readonly transports: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<import("@simplewebauthn/server").AuthenticatorTransportFuture[] | null, Omit<Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
358
+ nullable: true;
359
+ }, "default"> & {
360
+ default: null;
361
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
362
+ readonly name: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
363
+ nullable: true;
364
+ }, "default"> & {
365
+ default: null;
366
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
367
+ readonly aaguid: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
368
+ nullable: true;
369
+ }, "default"> & {
370
+ default: null;
371
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
372
+ }, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
373
+ readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
374
+ onCreate: (...args: any[]) => any;
375
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
376
+ readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
377
+ onCreate: (...args: any[]) => any;
378
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
379
+ }, undefined, never, never, false>, typeof import("../repositories/user-passkey.repository.ts").UserPasskeyRepository, false>, import("@mikro-orm/core").EmptyOptions & {
380
+ kind: "1:m";
381
+ }>;
382
+ readonly totps: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
383
+ readonly id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "primary"> & {
384
+ primary: true;
385
+ } & {
386
+ onCreate: (...args: any[]) => any;
387
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
388
+ readonly user: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties</*elided*/ any, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
389
+ readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
390
+ onCreate: (...args: any[]) => any;
391
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
392
+ readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
393
+ onCreate: (...args: any[]) => any;
394
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
395
+ }, undefined, never, never, false>, typeof import("../repositories/user.repository.ts").UserRepository, false>, import("@mikro-orm/core").EmptyOptions & {
396
+ kind: "m:1";
397
+ }>;
398
+ readonly secret: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "hidden"> & {
399
+ hidden: true;
400
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
401
+ readonly verified: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
402
+ default: false;
403
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
404
+ readonly recovery_confirmed: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
405
+ default: false;
406
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
407
+ }, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
408
+ readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
409
+ onCreate: (...args: any[]) => any;
410
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
411
+ readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
412
+ onCreate: (...args: any[]) => any;
413
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
414
+ }, undefined, never, never, false>, typeof import("../repositories/user-totp.repository.ts").UserTotpRepository, false>, import("@mikro-orm/core").EmptyOptions & {
415
+ kind: "1:m";
416
+ }>;
417
+ readonly totpRecoveryCodes: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
418
+ readonly id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "primary"> & {
419
+ primary: true;
420
+ } & {
421
+ onCreate: (...args: any[]) => any;
422
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
423
+ readonly user: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties</*elided*/ any, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
424
+ readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
425
+ onCreate: (...args: any[]) => any;
426
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
427
+ readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
428
+ onCreate: (...args: any[]) => any;
429
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
430
+ }, undefined, never, never, false>, typeof import("../repositories/user.repository.ts").UserRepository, false>, import("@mikro-orm/core").EmptyOptions & {
431
+ kind: "m:1";
432
+ }>;
433
+ readonly code_hash: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
434
+ readonly used: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
435
+ default: false;
436
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
437
+ readonly used_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, Omit<Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
438
+ nullable: true;
439
+ }, "default"> & {
440
+ default: null;
441
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
442
+ }, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
443
+ readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
444
+ onCreate: (...args: any[]) => any;
445
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
446
+ readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
447
+ onCreate: (...args: any[]) => any;
448
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
449
+ }, undefined, never, never, false>, typeof import("../repositories/user-totp-recovery-code.repository.ts").UserTotpRecoveryCodeRepository, false>, import("@mikro-orm/core").EmptyOptions & {
450
+ kind: "1:m";
451
+ }>;
452
+ }, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
453
+ readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
454
+ onCreate: (...args: any[]) => any;
455
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
456
+ readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
457
+ onCreate: (...args: any[]) => any;
458
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
459
+ }, undefined, never, never, false>, typeof import("../repositories/user.repository.ts").UserRepository, false>, import("@mikro-orm/core").EmptyOptions & {
460
+ kind: "m:1";
461
+ }>;
462
+ readonly terms: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
463
+ readonly id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "primary"> & {
464
+ primary: true;
465
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
466
+ readonly required: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
467
+ default: true;
468
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
469
+ readonly consentMode: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<"explicit" | "implicit", Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
470
+ default: "explicit";
471
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
472
+ readonly version: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
473
+ readonly managed_by: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<"database" | "config", Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
474
+ default: "database";
475
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
476
+ readonly contents: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
477
+ readonly id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "primary"> & {
478
+ primary: true;
479
+ } & {
480
+ onCreate: (...args: any[]) => any;
481
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
482
+ readonly terms: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties</*elided*/ any, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
483
+ readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
484
+ onCreate: (...args: any[]) => any;
485
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
486
+ readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
487
+ onCreate: (...args: any[]) => any;
488
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
489
+ }, undefined, never, never, false>, typeof import("../repositories/terms.repository.ts").TermsRepository, false>, import("@mikro-orm/core").EmptyOptions & {
490
+ kind: "m:1";
491
+ }>;
492
+ readonly lang: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
493
+ readonly title: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
494
+ readonly type: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<import("./terms-content.entity.ts").TermsContentType, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
495
+ default: "link";
496
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
497
+ readonly content: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
498
+ }, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
499
+ readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
500
+ onCreate: (...args: any[]) => any;
501
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
502
+ readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
503
+ onCreate: (...args: any[]) => any;
504
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
505
+ }, undefined, never, never, false>, typeof import("../repositories/terms-content.repository.ts").TermsContentRepository, false>, import("@mikro-orm/core").EmptyOptions & {
506
+ kind: "1:m";
507
+ }>;
508
+ readonly consents: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties</*elided*/ any, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
509
+ readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
510
+ onCreate: (...args: any[]) => any;
511
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
512
+ readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
513
+ onCreate: (...args: any[]) => any;
514
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
515
+ }, undefined, never, never, false>, typeof UserTermsConsentRepository, false>, import("@mikro-orm/core").EmptyOptions & {
516
+ kind: "1:m";
517
+ }>;
518
+ }, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
519
+ readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
520
+ onCreate: (...args: any[]) => any;
521
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
522
+ readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
523
+ onCreate: (...args: any[]) => any;
524
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
525
+ }, undefined, never, never, false>, typeof import("../repositories/terms.repository.ts").TermsRepository, false>, import("@mikro-orm/core").EmptyOptions & {
526
+ kind: "m:1";
527
+ }>;
528
+ readonly termsVersion: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
529
+ readonly agreed: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
530
+ readonly consentType: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<"explicit" | "implicit", import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
531
+ readonly agreedAt: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
532
+ onCreate: (...args: any[]) => any;
533
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
534
+ }, import("@mikro-orm/core").EntityCtor<import("@mikro-orm/core").InferEntityFromProperties<{
535
+ readonly id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "primary"> & {
536
+ primary: true;
537
+ } & {
538
+ onCreate: (...args: any[]) => any;
539
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
540
+ readonly user: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
541
+ readonly sub: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "primary"> & {
542
+ primary: true;
543
+ } & {
544
+ onCreate: (...args: any[]) => any;
545
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
546
+ readonly email: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
547
+ readonly email_verified: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
548
+ default: false;
549
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
550
+ readonly password_hash: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
551
+ nullable: true;
552
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
553
+ readonly managed_by: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<"database" | "config", Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
554
+ default: "database";
555
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
556
+ readonly role: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<"user" | "admin", Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
557
+ default: "user";
558
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
559
+ readonly deleted_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
560
+ nullable: true;
561
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
562
+ readonly oauthAccounts: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
563
+ readonly id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<bigint, Omit<import("@mikro-orm/core").EmptyOptions, "primary"> & {
564
+ primary: true;
565
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
566
+ readonly user: () => import("@mikro-orm/core").PropertyChain<import("./user.entity.ts").UserEntity, Omit<import("@mikro-orm/core").EmptyOptions & {
567
+ kind: "m:1";
568
+ }, "ref"> & {
569
+ ref: true;
570
+ }>;
571
+ readonly provider_name: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
572
+ readonly provider_user_id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
573
+ readonly access_token: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
574
+ readonly refresh_token: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
575
+ readonly expires_at: import("@mikro-orm/core").UniversalPropertyOptionsBuilder<import("@mikro-orm/core").RequiredNullable<Date>, Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
576
+ nullable: true;
577
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
578
+ }, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
579
+ readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
580
+ onCreate: (...args: any[]) => any;
581
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
582
+ readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
583
+ onCreate: (...args: any[]) => any;
584
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
585
+ }, undefined, never, never, false>, typeof import("../repositories/user-oauth.repository.ts").UserOAuthRepository, false>, import("@mikro-orm/core").EmptyOptions & {
586
+ kind: "1:m";
587
+ }>;
588
+ readonly passkeys: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
589
+ readonly id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "primary"> & {
590
+ primary: true;
591
+ } & {
592
+ onCreate: (...args: any[]) => any;
593
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
594
+ readonly user: () => import("@mikro-orm/core").PropertyChain<import("./user.entity.ts").UserEntity, Omit<import("@mikro-orm/core").EmptyOptions & {
595
+ kind: "m:1";
596
+ }, "ref"> & {
597
+ ref: true;
598
+ }>;
599
+ readonly credential_id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
600
+ readonly public_key: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "hidden"> & {
601
+ hidden: true;
602
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
603
+ readonly counter: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<number, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
604
+ default: 0;
605
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
606
+ readonly device_type: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<"singleDevice" | "multiDevice", Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
607
+ default: "singleDevice";
608
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
609
+ readonly backed_up: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
610
+ default: false;
611
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
612
+ readonly transports: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<import("@simplewebauthn/server").AuthenticatorTransportFuture[] | null, Omit<Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
613
+ nullable: true;
614
+ }, "default"> & {
615
+ default: null;
616
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
617
+ readonly name: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
618
+ nullable: true;
619
+ }, "default"> & {
620
+ default: null;
621
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
622
+ readonly aaguid: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
623
+ nullable: true;
624
+ }, "default"> & {
625
+ default: null;
626
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
627
+ }, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
628
+ readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
629
+ onCreate: (...args: any[]) => any;
630
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
631
+ readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
632
+ onCreate: (...args: any[]) => any;
633
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
634
+ }, undefined, never, never, false>, typeof import("../repositories/user-passkey.repository.ts").UserPasskeyRepository, false>, import("@mikro-orm/core").EmptyOptions & {
635
+ kind: "1:m";
636
+ }>;
637
+ readonly totps: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
638
+ readonly id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "primary"> & {
639
+ primary: true;
640
+ } & {
641
+ onCreate: (...args: any[]) => any;
642
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
643
+ readonly user: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties</*elided*/ any, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
644
+ readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
645
+ onCreate: (...args: any[]) => any;
646
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
647
+ readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
648
+ onCreate: (...args: any[]) => any;
649
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
650
+ }, undefined, never, never, false>, typeof import("../repositories/user.repository.ts").UserRepository, false>, import("@mikro-orm/core").EmptyOptions & {
651
+ kind: "m:1";
652
+ }>;
653
+ readonly secret: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "hidden"> & {
654
+ hidden: true;
655
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
656
+ readonly verified: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
657
+ default: false;
658
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
659
+ readonly recovery_confirmed: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
660
+ default: false;
661
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
662
+ }, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
663
+ readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
664
+ onCreate: (...args: any[]) => any;
665
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
666
+ readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
667
+ onCreate: (...args: any[]) => any;
668
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
669
+ }, undefined, never, never, false>, typeof import("../repositories/user-totp.repository.ts").UserTotpRepository, false>, import("@mikro-orm/core").EmptyOptions & {
670
+ kind: "1:m";
671
+ }>;
672
+ readonly totpRecoveryCodes: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
673
+ readonly id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "primary"> & {
674
+ primary: true;
675
+ } & {
676
+ onCreate: (...args: any[]) => any;
677
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
678
+ readonly user: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties</*elided*/ any, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
679
+ readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
680
+ onCreate: (...args: any[]) => any;
681
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
682
+ readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
683
+ onCreate: (...args: any[]) => any;
684
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
685
+ }, undefined, never, never, false>, typeof import("../repositories/user.repository.ts").UserRepository, false>, import("@mikro-orm/core").EmptyOptions & {
686
+ kind: "m:1";
687
+ }>;
688
+ readonly code_hash: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
689
+ readonly used: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
690
+ default: false;
691
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
692
+ readonly used_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, Omit<Omit<import("@mikro-orm/core").EmptyOptions, "nullable"> & {
693
+ nullable: true;
694
+ }, "default"> & {
695
+ default: null;
696
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
697
+ }, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
698
+ readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
699
+ onCreate: (...args: any[]) => any;
700
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
701
+ readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
702
+ onCreate: (...args: any[]) => any;
703
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
704
+ }, undefined, never, never, false>, typeof import("../repositories/user-totp-recovery-code.repository.ts").UserTotpRecoveryCodeRepository, false>, import("@mikro-orm/core").EmptyOptions & {
705
+ kind: "1:m";
706
+ }>;
707
+ }, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
708
+ readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
709
+ onCreate: (...args: any[]) => any;
710
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
711
+ readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
712
+ onCreate: (...args: any[]) => any;
713
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
714
+ }, undefined, never, never, false>, typeof import("../repositories/user.repository.ts").UserRepository, false>, import("@mikro-orm/core").EmptyOptions & {
715
+ kind: "m:1";
716
+ }>;
717
+ readonly terms: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
718
+ readonly id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "primary"> & {
719
+ primary: true;
720
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
721
+ readonly required: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
722
+ default: true;
723
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
724
+ readonly consentMode: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<"explicit" | "implicit", Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
725
+ default: "explicit";
726
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
727
+ readonly version: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
728
+ readonly managed_by: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<"database" | "config", Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
729
+ default: "database";
730
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
731
+ readonly contents: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties<{
732
+ readonly id: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, Omit<import("@mikro-orm/core").EmptyOptions, "primary"> & {
733
+ primary: true;
734
+ } & {
735
+ onCreate: (...args: any[]) => any;
736
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
737
+ readonly terms: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties</*elided*/ any, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
738
+ readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
739
+ onCreate: (...args: any[]) => any;
740
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
741
+ readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
742
+ onCreate: (...args: any[]) => any;
743
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
744
+ }, undefined, never, never, false>, typeof import("../repositories/terms.repository.ts").TermsRepository, false>, import("@mikro-orm/core").EmptyOptions & {
745
+ kind: "m:1";
746
+ }>;
747
+ readonly lang: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
748
+ readonly title: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
749
+ readonly type: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<import("./terms-content.entity.ts").TermsContentType, Omit<import("@mikro-orm/core").EmptyOptions, "default"> & {
750
+ default: "link";
751
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
752
+ readonly content: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
753
+ }, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
754
+ readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
755
+ onCreate: (...args: any[]) => any;
756
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
757
+ readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
758
+ onCreate: (...args: any[]) => any;
759
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
760
+ }, undefined, never, never, false>, typeof import("../repositories/terms-content.repository.ts").TermsContentRepository, false>, import("@mikro-orm/core").EmptyOptions & {
761
+ kind: "1:m";
762
+ }>;
763
+ readonly consents: () => import("@mikro-orm/core").PropertyChain<import("@mikro-orm/core").InferEntityFromProperties</*elided*/ any, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
764
+ readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
765
+ onCreate: (...args: any[]) => any;
766
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
767
+ readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
768
+ onCreate: (...args: any[]) => any;
769
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
770
+ }, undefined, never, never, false>, typeof UserTermsConsentRepository, false>, import("@mikro-orm/core").EmptyOptions & {
771
+ kind: "1:m";
772
+ }>;
773
+ }, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
774
+ readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
775
+ onCreate: (...args: any[]) => any;
776
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
777
+ readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
778
+ onCreate: (...args: any[]) => any;
779
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
780
+ }, undefined, never, never, false>, typeof import("../repositories/terms.repository.ts").TermsRepository, false>, import("@mikro-orm/core").EmptyOptions & {
781
+ kind: "m:1";
782
+ }>;
783
+ readonly termsVersion: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<string, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
784
+ readonly agreed: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<NonNullable<boolean | null | undefined>, import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
785
+ readonly consentType: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<"explicit" | "implicit", import("@mikro-orm/core").EmptyOptions, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
786
+ readonly agreedAt: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
787
+ onCreate: (...args: any[]) => any;
788
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
789
+ }, undefined, import("@mikro-orm/core").InferEntityFromProperties<{
790
+ readonly created_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
791
+ onCreate: (...args: any[]) => any;
792
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
793
+ readonly updated_at: Pick<import("@mikro-orm/core").UniversalPropertyOptionsBuilder<Date, import("@mikro-orm/core").EmptyOptions & {
794
+ onCreate: (...args: any[]) => any;
795
+ }, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>, keyof import("@mikro-orm/core").PropertyOptions<any> | ("~options" | "~type" | "$type" | "strictNullable")>;
796
+ }, undefined, never, never, false>, typeof UserTermsConsentRepository, false>>>;
797
+ export type IUserTermsConsentEntity = InferEntity<typeof UserTermsConsentEntitySchema>;
798
+ export declare class UserTermsConsentEntity extends UserTermsConsentEntitySchema.class {
799
+ /**
800
+ * Get the terms ID (for backward compatibility)
801
+ */
802
+ get termsId(): string;
803
+ }
804
+ //# sourceMappingURL=user-terms-consent.entity.d.ts.map