@tinyrack/issuary-server 0.21.0 → 0.22.0

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 (306) hide show
  1. package/dist/entities/oauth-client.entity.d.ts +18 -0
  2. package/dist/entities/oauth-client.entity.d.ts.map +1 -1
  3. package/dist/entities/oauth-code.entity.d.ts +18 -0
  4. package/dist/entities/oauth-code.entity.d.ts.map +1 -1
  5. package/dist/entities/oauth-device-code.entity.d.ts +18 -0
  6. package/dist/entities/oauth-device-code.entity.d.ts.map +1 -1
  7. package/dist/entities/revoked-token.entity.d.ts +18 -0
  8. package/dist/entities/revoked-token.entity.d.ts.map +1 -1
  9. package/dist/entities/terms-content.entity.d.ts +9 -0
  10. package/dist/entities/terms-content.entity.d.ts.map +1 -1
  11. package/dist/entities/terms.entity.d.ts +9 -0
  12. package/dist/entities/terms.entity.d.ts.map +1 -1
  13. package/dist/entities/user-consent.entity.d.ts +18 -0
  14. package/dist/entities/user-consent.entity.d.ts.map +1 -1
  15. package/dist/entities/user-terms-consent.entity.d.ts +9 -0
  16. package/dist/entities/user-terms-consent.entity.d.ts.map +1 -1
  17. package/dist/entities/user-totp-recovery-code.entity.d.ts +9 -0
  18. package/dist/entities/user-totp-recovery-code.entity.d.ts.map +1 -1
  19. package/dist/entities/user-totp.entity.d.ts +9 -0
  20. package/dist/entities/user-totp.entity.d.ts.map +1 -1
  21. package/dist/entities/user.entity.d.ts +9 -0
  22. package/dist/entities/user.entity.d.ts.map +1 -1
  23. package/dist/entities/user.entity.js +4 -0
  24. package/dist/entities/user.entity.js.map +1 -1
  25. package/dist/entrypoints/app.d.ts +53 -0
  26. package/dist/entrypoints/app.d.ts.map +1 -1
  27. package/dist/entrypoints/database/postgres/compiled-functions.d.ts +23 -20
  28. package/dist/entrypoints/database/postgres/compiled-functions.d.ts.map +1 -1
  29. package/dist/entrypoints/database/postgres/compiled-functions.js +134 -104
  30. package/dist/entrypoints/database/postgres/compiled-functions.js.map +1 -1
  31. package/dist/entrypoints/database/sqlite/compiled-functions.d.ts +23 -20
  32. package/dist/entrypoints/database/sqlite/compiled-functions.d.ts.map +1 -1
  33. package/dist/entrypoints/database/sqlite/compiled-functions.js +134 -104
  34. package/dist/entrypoints/database/sqlite/compiled-functions.js.map +1 -1
  35. package/dist/lib/config/resolved.d.ts +1 -0
  36. package/dist/lib/config/resolved.d.ts.map +1 -1
  37. package/dist/lib/config/security.d.ts +2 -0
  38. package/dist/lib/config/security.d.ts.map +1 -1
  39. package/dist/lib/config/security.js +5 -0
  40. package/dist/lib/config/security.js.map +1 -1
  41. package/dist/middleware/auth.d.ts +8 -0
  42. package/dist/middleware/auth.d.ts.map +1 -1
  43. package/dist/middleware/auth.js +64 -0
  44. package/dist/middleware/auth.js.map +1 -1
  45. package/dist/middleware/session.d.ts +9 -0
  46. package/dist/middleware/session.d.ts.map +1 -1
  47. package/dist/middleware/session.js +18 -0
  48. package/dist/middleware/session.js.map +1 -1
  49. package/dist/migrations/postgres/Migration20260825110000_add_password_reset_required.d.ts +6 -0
  50. package/dist/migrations/postgres/Migration20260825110000_add_password_reset_required.d.ts.map +1 -0
  51. package/dist/migrations/postgres/Migration20260825110000_add_password_reset_required.js +11 -0
  52. package/dist/migrations/postgres/Migration20260825110000_add_password_reset_required.js.map +1 -0
  53. package/dist/migrations/postgres/index.d.ts.map +1 -1
  54. package/dist/migrations/postgres/index.js +2 -0
  55. package/dist/migrations/postgres/index.js.map +1 -1
  56. package/dist/migrations/sqlite/Migration20260825110000_add_password_reset_required.d.ts +6 -0
  57. package/dist/migrations/sqlite/Migration20260825110000_add_password_reset_required.d.ts.map +1 -0
  58. package/dist/migrations/sqlite/Migration20260825110000_add_password_reset_required.js +10 -0
  59. package/dist/migrations/sqlite/Migration20260825110000_add_password_reset_required.js.map +1 -0
  60. package/dist/migrations/sqlite/index.d.ts.map +1 -1
  61. package/dist/migrations/sqlite/index.js +2 -0
  62. package/dist/migrations/sqlite/index.js.map +1 -1
  63. package/dist/repositories/oauth-code.repository.d.ts +2 -2
  64. package/dist/repositories/oauth-code.repository.d.ts.map +1 -1
  65. package/dist/repositories/oauth-code.repository.js +7 -3
  66. package/dist/repositories/oauth-code.repository.js.map +1 -1
  67. package/dist/repositories/oauth-device-code.repository.d.ts +4 -4
  68. package/dist/repositories/oauth-device-code.repository.d.ts.map +1 -1
  69. package/dist/repositories/oauth-device-code.repository.js +18 -6
  70. package/dist/repositories/oauth-device-code.repository.js.map +1 -1
  71. package/dist/repositories/user-totp-recovery-code.repository.d.ts +7 -1
  72. package/dist/repositories/user-totp-recovery-code.repository.d.ts.map +1 -1
  73. package/dist/repositories/user-totp-recovery-code.repository.js +2 -1
  74. package/dist/repositories/user-totp-recovery-code.repository.js.map +1 -1
  75. package/dist/repositories/user-totp.repository.d.ts +9 -0
  76. package/dist/repositories/user-totp.repository.d.ts.map +1 -1
  77. package/dist/routes/api/auth/index.d.ts +52 -0
  78. package/dist/routes/api/auth/index.d.ts.map +1 -1
  79. package/dist/routes/api/auth/index.js +2 -0
  80. package/dist/routes/api/auth/index.js.map +1 -1
  81. package/dist/routes/api/auth/passkey/verify/post.d.ts +37 -0
  82. package/dist/routes/api/auth/passkey/verify/post.d.ts.map +1 -1
  83. package/dist/routes/api/auth/passkey/verify/post.js +8 -2
  84. package/dist/routes/api/auth/passkey/verify/post.js.map +1 -1
  85. package/dist/routes/api/auth/password/reset-required/post.d.ts +18 -0
  86. package/dist/routes/api/auth/password/reset-required/post.d.ts.map +1 -0
  87. package/dist/routes/api/auth/password/reset-required/post.js +39 -0
  88. package/dist/routes/api/auth/password/reset-required/post.js.map +1 -0
  89. package/dist/routes/api/index.d.ts +52 -0
  90. package/dist/routes/api/index.d.ts.map +1 -1
  91. package/dist/routes/index.d.ts +52 -0
  92. package/dist/routes/index.d.ts.map +1 -1
  93. package/dist/routes/oauth/device/get-post.js +5 -5
  94. package/dist/routes/oauth/device/get-post.js.map +1 -1
  95. package/dist/schemas/error.d.ts +25 -0
  96. package/dist/schemas/error.d.ts.map +1 -1
  97. package/dist/schemas/error.js +1 -0
  98. package/dist/schemas/error.js.map +1 -1
  99. package/dist/schemas/response.d.ts +22 -0
  100. package/dist/schemas/response.d.ts.map +1 -1
  101. package/dist/schemas/response.js +8 -0
  102. package/dist/schemas/response.js.map +1 -1
  103. package/dist/seeders/config.seeder.js +2 -1
  104. package/dist/seeders/config.seeder.js.map +1 -1
  105. package/dist/services/container.d.ts +1 -0
  106. package/dist/services/container.d.ts.map +1 -1
  107. package/dist/services/container.js +15 -0
  108. package/dist/services/container.js.map +1 -1
  109. package/dist/services/legacy-credential-retirement.service.d.ts +20 -0
  110. package/dist/services/legacy-credential-retirement.service.d.ts.map +1 -0
  111. package/dist/services/legacy-credential-retirement.service.js +90 -0
  112. package/dist/services/legacy-credential-retirement.service.js.map +1 -0
  113. package/dist/services/oauth-client.service.d.ts +1 -0
  114. package/dist/services/oauth-client.service.d.ts.map +1 -1
  115. package/dist/services/oauth-client.service.js +17 -2
  116. package/dist/services/oauth-client.service.js.map +1 -1
  117. package/dist/services/oauth-connect.service.d.ts.map +1 -1
  118. package/dist/services/oauth-connect.service.js +4 -0
  119. package/dist/services/oauth-connect.service.js.map +1 -1
  120. package/dist/services/oauth-token.service.d.ts.map +1 -1
  121. package/dist/services/oauth-token.service.js +4 -4
  122. package/dist/services/oauth-token.service.js.map +1 -1
  123. package/dist/services/password-auth.service.d.ts.map +1 -1
  124. package/dist/services/password-auth.service.js +12 -3
  125. package/dist/services/password-auth.service.js.map +1 -1
  126. package/dist/services/security.service.d.ts +8 -0
  127. package/dist/services/security.service.d.ts.map +1 -1
  128. package/dist/services/security.service.js +85 -22
  129. package/dist/services/security.service.js.map +1 -1
  130. package/dist/services/totp.service.js +2 -2
  131. package/dist/services/totp.service.js.map +1 -1
  132. package/package.json +1 -1
  133. package/public/assets/2fa-BgveHSB_.js +2 -0
  134. package/public/assets/{2fa-B5vLgDXQ.js.map → 2fa-BgveHSB_.js.map} +1 -1
  135. package/public/assets/2fa-C37MUkye.js +2 -0
  136. package/public/assets/{2fa-CCOTIHDZ.js.map → 2fa-C37MUkye.js.map} +1 -1
  137. package/public/assets/2fa-UL_cNRnQ.js +2 -0
  138. package/public/assets/{2fa-C5vUVgr_.js.map → 2fa-UL_cNRnQ.js.map} +1 -1
  139. package/public/assets/2fa-kiqzGSz2.js +2 -0
  140. package/public/assets/{2fa-BqsM_D-X.js.map → 2fa-kiqzGSz2.js.map} +1 -1
  141. package/public/assets/{DialogHandle-BmtK2pRn.js → DialogHandle-Zvz8SgS0.js} +2 -2
  142. package/public/assets/{DialogHandle-BmtK2pRn.js.map → DialogHandle-Zvz8SgS0.js.map} +1 -1
  143. package/public/assets/admin-DbDuu6AI.js +2 -0
  144. package/public/assets/{admin-BPijkLw-.js.map → admin-DbDuu6AI.js.map} +1 -1
  145. package/public/assets/admin-users-CwTJdiih.js +2 -0
  146. package/public/assets/{admin-users-DvPbw1Vq.js.map → admin-users-CwTJdiih.js.map} +1 -1
  147. package/public/assets/{auth-choice-row-BCGjuedo.js → auth-choice-row-BlSsUI7d.js} +2 -2
  148. package/public/assets/{auth-choice-row-BCGjuedo.js.map → auth-choice-row-BlSsUI7d.js.map} +1 -1
  149. package/public/assets/{auth-field-DD8kvl--.js → auth-field-HwxENJnB.js} +2 -2
  150. package/public/assets/{auth-field-DD8kvl--.js.map → auth-field-HwxENJnB.js.map} +1 -1
  151. package/public/assets/{auth-layout-VtpryDof.js → auth-layout-CoeqNhTT.js} +2 -2
  152. package/public/assets/{auth-layout-VtpryDof.js.map → auth-layout-CoeqNhTT.js.map} +1 -1
  153. package/public/assets/{auth-page-header-CIn2E4zI.js → auth-page-header-CIs08f5Y.js} +2 -2
  154. package/public/assets/{auth-page-header-CIn2E4zI.js.map → auth-page-header-CIs08f5Y.js.map} +1 -1
  155. package/public/assets/{authorization-context-banner-SOuBHWIb.js → authorization-context-banner-BbtQmMYH.js} +2 -2
  156. package/public/assets/{authorization-context-banner-SOuBHWIb.js.map → authorization-context-banner-BbtQmMYH.js.map} +1 -1
  157. package/public/assets/{avatar-BEQjf2x6.js → avatar-CttWiIv3.js} +2 -2
  158. package/public/assets/{avatar-BEQjf2x6.js.map → avatar-CttWiIv3.js.map} +1 -1
  159. package/public/assets/{checkbox-gdHnSFQ-.js → checkbox-CJrRV8S1.js} +2 -2
  160. package/public/assets/{checkbox-gdHnSFQ-.js.map → checkbox-CJrRV8S1.js.map} +1 -1
  161. package/public/assets/config-v3-oy_ef.js +2 -0
  162. package/public/assets/config-v3-oy_ef.js.map +1 -0
  163. package/public/assets/{consent-BqqFDdsr.js → consent-BIhxtXHx.js} +2 -2
  164. package/public/assets/{consent-BqqFDdsr.js.map → consent-BIhxtXHx.js.map} +1 -1
  165. package/public/assets/{consent-CfRbz2R7.js → consent-DRmENn26.js} +2 -2
  166. package/public/assets/{consent-CfRbz2R7.js.map → consent-DRmENn26.js.map} +1 -1
  167. package/public/assets/{email-CKKakxPJ.js → email-CVRDeJ78.js} +2 -2
  168. package/public/assets/{email-CKKakxPJ.js.map → email-CVRDeJ78.js.map} +1 -1
  169. package/public/assets/email-UL_cNRnQ.js +2 -0
  170. package/public/assets/{email-C5vUVgr_.js.map → email-UL_cNRnQ.js.map} +1 -1
  171. package/public/assets/error-2VPY5w8V.js +2 -0
  172. package/public/assets/{error-BMXxpgfR.js.map → error-2VPY5w8V.js.map} +1 -1
  173. package/public/assets/{field-Cn4H1CUj.js → field-DDt6F9TZ.js} +2 -2
  174. package/public/assets/{field-Cn4H1CUj.js.map → field-DDt6F9TZ.js.map} +1 -1
  175. package/public/assets/forgot-DzDcduho.js +2 -0
  176. package/public/assets/{forgot-rO9sByfV.js.map → forgot-DzDcduho.js.map} +1 -1
  177. package/public/assets/forgot-UL_cNRnQ.js +2 -0
  178. package/public/assets/{forgot-C5vUVgr_.js.map → forgot-UL_cNRnQ.js.map} +1 -1
  179. package/public/assets/index-gliHKncz.js +11 -0
  180. package/public/assets/index-gliHKncz.js.map +1 -0
  181. package/public/assets/{initial-avatar-CtuDUz_W.js → initial-avatar-CZzHAPm3.js} +2 -2
  182. package/public/assets/{initial-avatar-CtuDUz_W.js.map → initial-avatar-CZzHAPm3.js.map} +1 -1
  183. package/public/assets/{input-CzQki7k6.js → input-CNRpSR08.js} +2 -2
  184. package/public/assets/{input-CzQki7k6.js.map → input-CNRpSR08.js.map} +1 -1
  185. package/public/assets/{labeled-separator-CV7nb0XW.js → labeled-separator-fnKySKv2.js} +2 -2
  186. package/public/assets/{labeled-separator-CV7nb0XW.js.map → labeled-separator-fnKySKv2.js.map} +1 -1
  187. package/public/assets/link-BN90emXr.js +2 -0
  188. package/public/assets/link-BN90emXr.js.map +1 -0
  189. package/public/assets/lock-keyhole-Cz72xkCn.js +2 -0
  190. package/public/assets/lock-keyhole-Cz72xkCn.js.map +1 -0
  191. package/public/assets/login-C6m2qSUt.js +2 -0
  192. package/public/assets/login-C6m2qSUt.js.map +1 -0
  193. package/public/assets/login-UL_cNRnQ.js +2 -0
  194. package/public/assets/login-UL_cNRnQ.js.map +1 -0
  195. package/public/assets/{logout-B5T52P8u.js → logout-CHdmF_16.js} +2 -2
  196. package/public/assets/{logout-B5T52P8u.js.map → logout-CHdmF_16.js.map} +1 -1
  197. package/public/assets/{modal-BDQFucjz.js → modal-sCM_zT82.js} +2 -2
  198. package/public/assets/{modal-BDQFucjz.js.map → modal-sCM_zT82.js.map} +1 -1
  199. package/public/assets/{mutationOptions-DyYFUbyn.js → mutationOptions-CrswitPs.js} +2 -2
  200. package/public/assets/{mutationOptions-DyYFUbyn.js.map → mutationOptions-CrswitPs.js.map} +1 -1
  201. package/public/assets/passkey-B2Blw47e.js +2 -0
  202. package/public/assets/{passkey-J1qnYp9A.js.map → passkey-B2Blw47e.js.map} +1 -1
  203. package/public/assets/passkey-CEx1VZ5R.js +2 -0
  204. package/public/assets/{passkey-CynCz1Dt.js.map → passkey-CEx1VZ5R.js.map} +1 -1
  205. package/public/assets/passkey-CU8x9J2w.js +2 -0
  206. package/public/assets/{passkey-BE9JvJOP.js.map → passkey-CU8x9J2w.js.map} +1 -1
  207. package/public/assets/passkey-UL_cNRnQ.js +2 -0
  208. package/public/assets/{passkey-C5vUVgr_.js.map → passkey-UL_cNRnQ.js.map} +1 -1
  209. package/public/assets/password-BhU_a0cR.js +2 -0
  210. package/public/assets/password-BhU_a0cR.js.map +1 -0
  211. package/public/assets/password-UL_cNRnQ.js +2 -0
  212. package/public/assets/password-UL_cNRnQ.js.map +1 -0
  213. package/public/assets/password-reset-CIacHnvA.js +2 -0
  214. package/public/assets/{password-reset-sU5KkBKi.js.map → password-reset-CIacHnvA.js.map} +1 -1
  215. package/public/assets/{password-strength-BeSOu_Ga.js → password-strength-C0Zkrrct.js} +2 -2
  216. package/public/assets/{password-strength-BeSOu_Ga.js.map → password-strength-C0Zkrrct.js.map} +1 -1
  217. package/public/assets/{pin-input-Cc-VkrQ3.js → pin-input-BlD4tPZJ.js} +2 -2
  218. package/public/assets/{pin-input-Cc-VkrQ3.js.map → pin-input-BlD4tPZJ.js.map} +1 -1
  219. package/public/assets/{profile-BcjsVYOx.js → profile-D1cEjfs8.js} +2 -2
  220. package/public/assets/{profile-BcjsVYOx.js.map → profile-D1cEjfs8.js.map} +1 -1
  221. package/public/assets/{profile-B5NaJfeS.js → profile-D43Yq-6S.js} +2 -2
  222. package/public/assets/{profile-B5NaJfeS.js.map → profile-D43Yq-6S.js.map} +1 -1
  223. package/public/assets/recovery-CLExnfYX.js +2 -0
  224. package/public/assets/{recovery-PnUATiUi.js.map → recovery-CLExnfYX.js.map} +1 -1
  225. package/public/assets/register-CZUyWXRO.js +2 -0
  226. package/public/assets/{register-DQXhru0_.js.map → register-CZUyWXRO.js.map} +1 -1
  227. package/public/assets/register-UL_cNRnQ.js +2 -0
  228. package/public/assets/{register-C5vUVgr_.js.map → register-UL_cNRnQ.js.map} +1 -1
  229. package/public/assets/reset-N3RQTYEB.js +2 -0
  230. package/public/assets/reset-N3RQTYEB.js.map +1 -0
  231. package/public/assets/reset-UL_cNRnQ.js +2 -0
  232. package/public/assets/{reset-C5vUVgr_.js.map → reset-UL_cNRnQ.js.map} +1 -1
  233. package/public/assets/reset-required-Cv5edDS6.js +2 -0
  234. package/public/assets/reset-required-Cv5edDS6.js.map +1 -0
  235. package/public/assets/reset-required-UL_cNRnQ.js +2 -0
  236. package/public/assets/reset-required-UL_cNRnQ.js.map +1 -0
  237. package/public/assets/{select-DqZynXSt.js → select-CWdSzsVo.js} +2 -2
  238. package/public/assets/{select-DqZynXSt.js.map → select-CWdSzsVo.js.map} +1 -1
  239. package/public/assets/select-UL_cNRnQ.js +2 -0
  240. package/public/assets/{select-C5vUVgr_.js.map → select-UL_cNRnQ.js.map} +1 -1
  241. package/public/assets/{separator-B0Bvh1he.js → separator-BWGym8uM.js} +2 -2
  242. package/public/assets/{separator-B0Bvh1he.js.map → separator-BWGym8uM.js.map} +1 -1
  243. package/public/assets/shell-header-bar-C9AB5lT-.js +2 -0
  244. package/public/assets/{shell-header-bar-CjG5qvPg.js.map → shell-header-bar-C9AB5lT-.js.map} +1 -1
  245. package/public/assets/{terms-BHDAgn-H.js → terms-COVFmzyl.js} +2 -2
  246. package/public/assets/{terms-BHDAgn-H.js.map → terms-COVFmzyl.js.map} +1 -1
  247. package/public/assets/{terms-B5NaJfeS.js → terms-D43Yq-6S.js} +2 -2
  248. package/public/assets/{terms-B5NaJfeS.js.map → terms-D43Yq-6S.js.map} +1 -1
  249. package/public/assets/{terms-checkbox-list-6jteUTIZ.js → terms-checkbox-list-Cw0zB-lO.js} +2 -2
  250. package/public/assets/{terms-checkbox-list-6jteUTIZ.js.map → terms-checkbox-list-Cw0zB-lO.js.map} +1 -1
  251. package/public/assets/totp-BFJEXxk0.js +2 -0
  252. package/public/assets/{totp-CJtfVNEq.js.map → totp-BFJEXxk0.js.map} +1 -1
  253. package/public/assets/{totp-BNZ904Zm.js → totp-BfCm6IWl.js} +2 -2
  254. package/public/assets/{totp-BNZ904Zm.js.map → totp-BfCm6IWl.js.map} +1 -1
  255. package/public/assets/totp-MINhsVxT.js +2 -0
  256. package/public/assets/{totp-ECvOUcFx.js.map → totp-MINhsVxT.js.map} +1 -1
  257. package/public/assets/use-totp-setup-C7Zk_2IY.js +3 -0
  258. package/public/assets/{use-totp-setup-BbS3XcZA.js.map → use-totp-setup-C7Zk_2IY.js.map} +1 -1
  259. package/public/assets/{useAriaLabelledBy-ByuMi3Ry.js → useAriaLabelledBy-CiOCg6X5.js} +2 -2
  260. package/public/assets/{useAriaLabelledBy-ByuMi3Ry.js.map → useAriaLabelledBy-CiOCg6X5.js.map} +1 -1
  261. package/public/assets/{useMutation-BWZ0G4Td.js → useMutation-ZLFeJg75.js} +2 -2
  262. package/public/assets/{useMutation-BWZ0G4Td.js.map → useMutation-ZLFeJg75.js.map} +1 -1
  263. package/public/assets/useQuery-BvMz34BW.js +2 -0
  264. package/public/assets/{useQuery-Ckxjmvtl.js.map → useQuery-BvMz34BW.js.map} +1 -1
  265. package/public/assets/{users-CmFxrCQT.js → users-COM7u3A-.js} +2 -2
  266. package/public/assets/{users-CmFxrCQT.js.map → users-COM7u3A-.js.map} +1 -1
  267. package/public/index.html +4 -3
  268. package/public/assets/2fa-B5vLgDXQ.js +0 -2
  269. package/public/assets/2fa-BqsM_D-X.js +0 -2
  270. package/public/assets/2fa-C5vUVgr_.js +0 -2
  271. package/public/assets/2fa-CCOTIHDZ.js +0 -2
  272. package/public/assets/admin-BPijkLw-.js +0 -2
  273. package/public/assets/admin-users-DvPbw1Vq.js +0 -2
  274. package/public/assets/config-DTQCUlfZ.js +0 -2
  275. package/public/assets/config-DTQCUlfZ.js.map +0 -1
  276. package/public/assets/email-C5vUVgr_.js +0 -2
  277. package/public/assets/error-BMXxpgfR.js +0 -2
  278. package/public/assets/forgot-C5vUVgr_.js +0 -2
  279. package/public/assets/forgot-rO9sByfV.js +0 -2
  280. package/public/assets/index-CS23Ozt6.js +0 -11
  281. package/public/assets/index-CS23Ozt6.js.map +0 -1
  282. package/public/assets/login-C5vUVgr_.js +0 -2
  283. package/public/assets/login-C5vUVgr_.js.map +0 -1
  284. package/public/assets/login-nukebli4.js +0 -2
  285. package/public/assets/login-nukebli4.js.map +0 -1
  286. package/public/assets/passkey-BE9JvJOP.js +0 -2
  287. package/public/assets/passkey-C5vUVgr_.js +0 -2
  288. package/public/assets/passkey-CynCz1Dt.js +0 -2
  289. package/public/assets/passkey-J1qnYp9A.js +0 -2
  290. package/public/assets/password-C5vUVgr_.js +0 -2
  291. package/public/assets/password-C5vUVgr_.js.map +0 -1
  292. package/public/assets/password-RkUttbhD.js +0 -2
  293. package/public/assets/password-RkUttbhD.js.map +0 -1
  294. package/public/assets/password-reset-sU5KkBKi.js +0 -2
  295. package/public/assets/recovery-PnUATiUi.js +0 -2
  296. package/public/assets/register-C5vUVgr_.js +0 -2
  297. package/public/assets/register-DQXhru0_.js +0 -2
  298. package/public/assets/reset-C5vUVgr_.js +0 -2
  299. package/public/assets/reset-CQgIa3yf.js +0 -2
  300. package/public/assets/reset-CQgIa3yf.js.map +0 -1
  301. package/public/assets/select-C5vUVgr_.js +0 -2
  302. package/public/assets/shell-header-bar-CjG5qvPg.js +0 -2
  303. package/public/assets/totp-CJtfVNEq.js +0 -2
  304. package/public/assets/totp-ECvOUcFx.js +0 -2
  305. package/public/assets/use-totp-setup-BbS3XcZA.js +0 -3
  306. package/public/assets/useQuery-Ckxjmvtl.js +0 -2
@@ -2307,7 +2307,7 @@ export default {
2307
2307
  return getPrimaryKeyHash(val_5);
2308
2308
  };
2309
2309
  },
2310
- 'hydrator-user_7000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, user_oauth_119, user_passkey_120, user_totp_121, user_totp_recovery_code_122) {
2310
+ 'hydrator-user_7000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, user_oauth_120, user_passkey_121, user_totp_122, user_totp_recovery_code_123) {
2311
2311
  // compiled hydrator for entity UserEntity ( normalized)
2312
2312
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
2313
2313
  if (data.sub === null) {
@@ -2362,6 +2362,12 @@ export default {
2362
2362
  else if (typeof data.password_hash !== 'undefined') {
2363
2363
  entity.password_hash = data.password_hash;
2364
2364
  }
2365
+ if (data.password_reset_required === null) {
2366
+ entity.password_reset_required = null;
2367
+ }
2368
+ else if (typeof data.password_reset_required !== 'undefined') {
2369
+ entity.password_reset_required = !!data.password_reset_required;
2370
+ }
2365
2371
  if (data.managed_by === null) {
2366
2372
  entity.managed_by = null;
2367
2373
  }
@@ -2390,10 +2396,10 @@ export default {
2390
2396
  }
2391
2397
  const createCollectionItem_oauthAccounts = (value, entity) => {
2392
2398
  if (isPrimaryKey(value, false))
2393
- return factory.createReference(user_oauth_119, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
2399
+ return factory.createReference(user_oauth_120, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
2394
2400
  if (value && isEntity(value))
2395
2401
  return value;
2396
- return factory.create(user_oauth_119, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
2402
+ return factory.create(user_oauth_120, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
2397
2403
  };
2398
2404
  if (data.oauthAccounts && !Array.isArray(data.oauthAccounts) && typeof data.oauthAccounts === 'object') {
2399
2405
  data.oauthAccounts = [data.oauthAccounts];
@@ -2417,10 +2423,10 @@ export default {
2417
2423
  }
2418
2424
  const createCollectionItem_passkeys = (value, entity) => {
2419
2425
  if (isPrimaryKey(value, false))
2420
- return factory.createReference(user_passkey_120, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
2426
+ return factory.createReference(user_passkey_121, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
2421
2427
  if (value && isEntity(value))
2422
2428
  return value;
2423
- return factory.create(user_passkey_120, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
2429
+ return factory.create(user_passkey_121, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
2424
2430
  };
2425
2431
  if (data.passkeys && !Array.isArray(data.passkeys) && typeof data.passkeys === 'object') {
2426
2432
  data.passkeys = [data.passkeys];
@@ -2444,10 +2450,10 @@ export default {
2444
2450
  }
2445
2451
  const createCollectionItem_totps = (value, entity) => {
2446
2452
  if (isPrimaryKey(value, false))
2447
- return factory.createReference(user_totp_121, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
2453
+ return factory.createReference(user_totp_122, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
2448
2454
  if (value && isEntity(value))
2449
2455
  return value;
2450
- return factory.create(user_totp_121, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
2456
+ return factory.create(user_totp_122, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
2451
2457
  };
2452
2458
  if (data.totps && !Array.isArray(data.totps) && typeof data.totps === 'object') {
2453
2459
  data.totps = [data.totps];
@@ -2471,10 +2477,10 @@ export default {
2471
2477
  }
2472
2478
  const createCollectionItem_totpRecoveryCodes = (value, entity) => {
2473
2479
  if (isPrimaryKey(value, false))
2474
- return factory.createReference(user_totp_recovery_code_122, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
2480
+ return factory.createReference(user_totp_recovery_code_123, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
2475
2481
  if (value && isEntity(value))
2476
2482
  return value;
2477
- return factory.create(user_totp_recovery_code_122, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
2483
+ return factory.create(user_totp_recovery_code_123, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
2478
2484
  };
2479
2485
  if (data.totpRecoveryCodes && !Array.isArray(data.totpRecoveryCodes) && typeof data.totpRecoveryCodes === 'object') {
2480
2486
  data.totpRecoveryCodes = [data.totpRecoveryCodes];
@@ -2498,7 +2504,7 @@ export default {
2498
2504
  }
2499
2505
  };
2500
2506
  },
2501
- 'hydrator-user_7000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, user_oauth_132, user_passkey_133, user_totp_134, user_totp_recovery_code_135) {
2507
+ 'hydrator-user_7000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, user_oauth_134, user_passkey_135, user_totp_136, user_totp_recovery_code_137) {
2502
2508
  // compiled hydrator for entity UserEntity ( normalized)
2503
2509
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
2504
2510
  if (data.sub === null) {
@@ -2553,6 +2559,12 @@ export default {
2553
2559
  else if (typeof data.password_hash !== 'undefined') {
2554
2560
  entity.password_hash = data.password_hash;
2555
2561
  }
2562
+ if (data.password_reset_required === null) {
2563
+ entity.password_reset_required = null;
2564
+ }
2565
+ else if (typeof data.password_reset_required !== 'undefined') {
2566
+ entity.password_reset_required = !!data.password_reset_required;
2567
+ }
2556
2568
  if (data.managed_by === null) {
2557
2569
  entity.managed_by = null;
2558
2570
  }
@@ -2581,10 +2593,10 @@ export default {
2581
2593
  }
2582
2594
  const createCollectionItem_oauthAccounts = (value, entity) => {
2583
2595
  if (isPrimaryKey(value, false))
2584
- return factory.createReference(user_oauth_132, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
2596
+ return factory.createReference(user_oauth_134, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
2585
2597
  if (value && isEntity(value))
2586
2598
  return value;
2587
- return factory.create(user_oauth_132, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
2599
+ return factory.create(user_oauth_134, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
2588
2600
  };
2589
2601
  if (data.oauthAccounts && !Array.isArray(data.oauthAccounts) && typeof data.oauthAccounts === 'object') {
2590
2602
  data.oauthAccounts = [data.oauthAccounts];
@@ -2608,10 +2620,10 @@ export default {
2608
2620
  }
2609
2621
  const createCollectionItem_passkeys = (value, entity) => {
2610
2622
  if (isPrimaryKey(value, false))
2611
- return factory.createReference(user_passkey_133, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
2623
+ return factory.createReference(user_passkey_135, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
2612
2624
  if (value && isEntity(value))
2613
2625
  return value;
2614
- return factory.create(user_passkey_133, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
2626
+ return factory.create(user_passkey_135, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
2615
2627
  };
2616
2628
  if (data.passkeys && !Array.isArray(data.passkeys) && typeof data.passkeys === 'object') {
2617
2629
  data.passkeys = [data.passkeys];
@@ -2635,10 +2647,10 @@ export default {
2635
2647
  }
2636
2648
  const createCollectionItem_totps = (value, entity) => {
2637
2649
  if (isPrimaryKey(value, false))
2638
- return factory.createReference(user_totp_134, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
2650
+ return factory.createReference(user_totp_136, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
2639
2651
  if (value && isEntity(value))
2640
2652
  return value;
2641
- return factory.create(user_totp_134, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
2653
+ return factory.create(user_totp_136, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
2642
2654
  };
2643
2655
  if (data.totps && !Array.isArray(data.totps) && typeof data.totps === 'object') {
2644
2656
  data.totps = [data.totps];
@@ -2662,10 +2674,10 @@ export default {
2662
2674
  }
2663
2675
  const createCollectionItem_totpRecoveryCodes = (value, entity) => {
2664
2676
  if (isPrimaryKey(value, false))
2665
- return factory.createReference(user_totp_recovery_code_135, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
2677
+ return factory.createReference(user_totp_recovery_code_137, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
2666
2678
  if (value && isEntity(value))
2667
2679
  return value;
2668
- return factory.create(user_totp_recovery_code_135, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
2680
+ return factory.create(user_totp_recovery_code_137, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
2669
2681
  };
2670
2682
  if (data.totpRecoveryCodes && !Array.isArray(data.totpRecoveryCodes) && typeof data.totpRecoveryCodes === 'object') {
2671
2683
  data.totpRecoveryCodes = [data.totpRecoveryCodes];
@@ -2759,6 +2771,17 @@ export default {
2759
2771
  else if (last.password_hash !== current.password_hash) {
2760
2772
  diff.password_hash = current.password_hash;
2761
2773
  }
2774
+ if (current.password_reset_required === null && last.password_reset_required === undefined) {
2775
+ diff.password_reset_required = current.password_reset_required;
2776
+ }
2777
+ else if (current.password_reset_required == null && last.password_reset_required == null) {
2778
+ }
2779
+ else if ((current.password_reset_required != null && last.password_reset_required == null) || (current.password_reset_required == null && last.password_reset_required != null)) {
2780
+ diff.password_reset_required = current.password_reset_required;
2781
+ }
2782
+ else if (!compareBooleans(last.password_reset_required, current.password_reset_required)) {
2783
+ diff.password_reset_required = current.password_reset_required;
2784
+ }
2762
2785
  if (current.managed_by === null && last.managed_by === undefined) {
2763
2786
  diff.managed_by = current.managed_by;
2764
2787
  }
@@ -2818,6 +2841,9 @@ export default {
2818
2841
  if (typeof entity.password_hash !== 'undefined') {
2819
2842
  ret.password_hash = entity.password_hash;
2820
2843
  }
2844
+ if (typeof entity.password_reset_required !== 'undefined') {
2845
+ ret.password_reset_required = entity.password_reset_required;
2846
+ }
2821
2847
  if (typeof entity.managed_by !== 'undefined') {
2822
2848
  ret.managed_by = entity.managed_by;
2823
2849
  }
@@ -2881,6 +2907,10 @@ export default {
2881
2907
  ret.password_hash = result.password_hash;
2882
2908
  mapped.password_hash = true;
2883
2909
  }
2910
+ if (typeof result.password_reset_required !== 'undefined') {
2911
+ ret.password_reset_required = result.password_reset_required == null ? result.password_reset_required : !!result.password_reset_required;
2912
+ mapped.password_reset_required = true;
2913
+ }
2884
2914
  if (typeof result.managed_by !== 'undefined') {
2885
2915
  ret.managed_by = result.managed_by;
2886
2916
  mapped.managed_by = true;
@@ -2951,7 +2981,7 @@ export default {
2951
2981
  return '' + entity.sub;
2952
2982
  };
2953
2983
  },
2954
- 'hydrator-user_consent_13000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, user_141, user_142, oauth_client_143, oauth_client_144, convertToJSValue_scopes, convertToDatabaseValue_scopes) {
2984
+ 'hydrator-user_consent_13000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, user_143, user_144, oauth_client_145, oauth_client_146, convertToJSValue_scopes, convertToDatabaseValue_scopes) {
2955
2985
  // compiled hydrator for entity UserConsentEntity ( normalized)
2956
2986
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
2957
2987
  if (data.id === null) {
@@ -2999,10 +3029,10 @@ export default {
2999
3029
  }
3000
3030
  else if (typeof data.user !== 'undefined') {
3001
3031
  if (isPrimaryKey(data.user, true)) {
3002
- entity.user = factory.createReference(user_141, data.user, { merge: true, convertCustomTypes, normalizeAccessors, schema });
3032
+ entity.user = factory.createReference(user_143, data.user, { merge: true, convertCustomTypes, normalizeAccessors, schema });
3003
3033
  }
3004
3034
  else if (data.user && typeof data.user === 'object') {
3005
- entity.user = factory.create(user_142, data.user, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema });
3035
+ entity.user = factory.create(user_144, data.user, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema });
3006
3036
  }
3007
3037
  }
3008
3038
  if (data.client === null) {
@@ -3010,10 +3040,10 @@ export default {
3010
3040
  }
3011
3041
  else if (typeof data.client !== 'undefined') {
3012
3042
  if (isPrimaryKey(data.client, true)) {
3013
- entity.client = factory.createReference(oauth_client_143, data.client, { merge: true, convertCustomTypes, normalizeAccessors, schema });
3043
+ entity.client = factory.createReference(oauth_client_145, data.client, { merge: true, convertCustomTypes, normalizeAccessors, schema });
3014
3044
  }
3015
3045
  else if (data.client && typeof data.client === 'object') {
3016
- entity.client = factory.create(oauth_client_144, data.client, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema });
3046
+ entity.client = factory.create(oauth_client_146, data.client, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema });
3017
3047
  }
3018
3048
  }
3019
3049
  if (data.scopes === null) {
@@ -3059,7 +3089,7 @@ export default {
3059
3089
  }
3060
3090
  };
3061
3091
  },
3062
- 'hydrator-user_consent_13000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, user_151, user_152, oauth_client_153, oauth_client_154, convertToJSValue_scopes, convertToDatabaseValue_scopes) {
3092
+ 'hydrator-user_consent_13000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, user_153, user_154, oauth_client_155, oauth_client_156, convertToJSValue_scopes, convertToDatabaseValue_scopes) {
3063
3093
  // compiled hydrator for entity UserConsentEntity ( normalized)
3064
3094
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
3065
3095
  if (data.id === null) {
@@ -3107,10 +3137,10 @@ export default {
3107
3137
  }
3108
3138
  else if (typeof data.user !== 'undefined') {
3109
3139
  if (isPrimaryKey(data.user, true)) {
3110
- entity.user = factory.createReference(user_151, data.user, { merge: true, convertCustomTypes, normalizeAccessors, schema });
3140
+ entity.user = factory.createReference(user_153, data.user, { merge: true, convertCustomTypes, normalizeAccessors, schema });
3111
3141
  }
3112
3142
  else if (data.user && typeof data.user === 'object') {
3113
- entity.user = factory.create(user_152, data.user, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema });
3143
+ entity.user = factory.create(user_154, data.user, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema });
3114
3144
  }
3115
3145
  }
3116
3146
  if (data.client === null) {
@@ -3118,10 +3148,10 @@ export default {
3118
3148
  }
3119
3149
  else if (typeof data.client !== 'undefined') {
3120
3150
  if (isPrimaryKey(data.client, true)) {
3121
- entity.client = factory.createReference(oauth_client_153, data.client, { merge: true, convertCustomTypes, normalizeAccessors, schema });
3151
+ entity.client = factory.createReference(oauth_client_155, data.client, { merge: true, convertCustomTypes, normalizeAccessors, schema });
3122
3152
  }
3123
3153
  else if (data.client && typeof data.client === 'object') {
3124
- entity.client = factory.create(oauth_client_154, data.client, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema });
3154
+ entity.client = factory.create(oauth_client_156, data.client, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema });
3125
3155
  }
3126
3156
  }
3127
3157
  if (data.scopes === null) {
@@ -3451,7 +3481,7 @@ export default {
3451
3481
  return getPrimaryKeyHash(val_6);
3452
3482
  };
3453
3483
  },
3454
- 'hydrator-terms_20000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, terms_content_167, user_terms_consent_168) {
3484
+ 'hydrator-terms_20000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, terms_content_169, user_terms_consent_170) {
3455
3485
  // compiled hydrator for entity TermsEntity ( normalized)
3456
3486
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
3457
3487
  if (data.id === null) {
@@ -3514,10 +3544,10 @@ export default {
3514
3544
  }
3515
3545
  const createCollectionItem_contents = (value, entity) => {
3516
3546
  if (isPrimaryKey(value, false))
3517
- return factory.createReference(terms_content_167, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
3547
+ return factory.createReference(terms_content_169, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
3518
3548
  if (value && isEntity(value))
3519
3549
  return value;
3520
- return factory.create(terms_content_167, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
3550
+ return factory.create(terms_content_169, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
3521
3551
  };
3522
3552
  if (data.contents && !Array.isArray(data.contents) && typeof data.contents === 'object') {
3523
3553
  data.contents = [data.contents];
@@ -3541,10 +3571,10 @@ export default {
3541
3571
  }
3542
3572
  const createCollectionItem_consents = (value, entity) => {
3543
3573
  if (isPrimaryKey(value, false))
3544
- return factory.createReference(user_terms_consent_168, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
3574
+ return factory.createReference(user_terms_consent_170, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
3545
3575
  if (value && isEntity(value))
3546
3576
  return value;
3547
- return factory.create(user_terms_consent_168, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
3577
+ return factory.create(user_terms_consent_170, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
3548
3578
  };
3549
3579
  if (data.consents && !Array.isArray(data.consents) && typeof data.consents === 'object') {
3550
3580
  data.consents = [data.consents];
@@ -3568,7 +3598,7 @@ export default {
3568
3598
  }
3569
3599
  };
3570
3600
  },
3571
- 'hydrator-terms_20000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, terms_content_176, user_terms_consent_177) {
3601
+ 'hydrator-terms_20000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, terms_content_178, user_terms_consent_179) {
3572
3602
  // compiled hydrator for entity TermsEntity ( normalized)
3573
3603
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
3574
3604
  if (data.id === null) {
@@ -3631,10 +3661,10 @@ export default {
3631
3661
  }
3632
3662
  const createCollectionItem_contents = (value, entity) => {
3633
3663
  if (isPrimaryKey(value, false))
3634
- return factory.createReference(terms_content_176, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
3664
+ return factory.createReference(terms_content_178, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
3635
3665
  if (value && isEntity(value))
3636
3666
  return value;
3637
- return factory.create(terms_content_176, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
3667
+ return factory.create(terms_content_178, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
3638
3668
  };
3639
3669
  if (data.contents && !Array.isArray(data.contents) && typeof data.contents === 'object') {
3640
3670
  data.contents = [data.contents];
@@ -3658,10 +3688,10 @@ export default {
3658
3688
  }
3659
3689
  const createCollectionItem_consents = (value, entity) => {
3660
3690
  if (isPrimaryKey(value, false))
3661
- return factory.createReference(user_terms_consent_177, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
3691
+ return factory.createReference(user_terms_consent_179, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
3662
3692
  if (value && isEntity(value))
3663
3693
  return value;
3664
- return factory.create(user_terms_consent_177, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
3694
+ return factory.create(user_terms_consent_179, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
3665
3695
  };
3666
3696
  if (data.consents && !Array.isArray(data.consents) && typeof data.consents === 'object') {
3667
3697
  data.consents = [data.consents];
@@ -3900,7 +3930,7 @@ export default {
3900
3930
  return '' + entity.id;
3901
3931
  };
3902
3932
  },
3903
- 'hydrator-terms_content_18000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, terms_183, terms_184) {
3933
+ 'hydrator-terms_content_18000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, terms_185, terms_186) {
3904
3934
  // compiled hydrator for entity TermsContentEntity ( normalized)
3905
3935
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
3906
3936
  if (data.id === null) {
@@ -3948,10 +3978,10 @@ export default {
3948
3978
  }
3949
3979
  else if (typeof data.terms !== 'undefined') {
3950
3980
  if (isPrimaryKey(data.terms, true)) {
3951
- entity.terms = factory.createReference(terms_183, data.terms, { merge: true, convertCustomTypes, normalizeAccessors, schema });
3981
+ entity.terms = factory.createReference(terms_185, data.terms, { merge: true, convertCustomTypes, normalizeAccessors, schema });
3952
3982
  }
3953
3983
  else if (data.terms && typeof data.terms === 'object') {
3954
- entity.terms = factory.create(terms_184, data.terms, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema });
3984
+ entity.terms = factory.create(terms_186, data.terms, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema });
3955
3985
  }
3956
3986
  }
3957
3987
  if (data.lang === null) {
@@ -3980,7 +4010,7 @@ export default {
3980
4010
  }
3981
4011
  };
3982
4012
  },
3983
- 'hydrator-terms_content_18000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, terms_192, terms_193) {
4013
+ 'hydrator-terms_content_18000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, terms_194, terms_195) {
3984
4014
  // compiled hydrator for entity TermsContentEntity ( normalized)
3985
4015
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
3986
4016
  if (data.id === null) {
@@ -4028,10 +4058,10 @@ export default {
4028
4058
  }
4029
4059
  else if (typeof data.terms !== 'undefined') {
4030
4060
  if (isPrimaryKey(data.terms, true)) {
4031
- entity.terms = factory.createReference(terms_192, data.terms, { merge: true, convertCustomTypes, normalizeAccessors, schema });
4061
+ entity.terms = factory.createReference(terms_194, data.terms, { merge: true, convertCustomTypes, normalizeAccessors, schema });
4032
4062
  }
4033
4063
  else if (data.terms && typeof data.terms === 'object') {
4034
- entity.terms = factory.create(terms_193, data.terms, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema });
4064
+ entity.terms = factory.create(terms_195, data.terms, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema });
4035
4065
  }
4036
4066
  }
4037
4067
  if (data.lang === null) {
@@ -5030,7 +5060,7 @@ export default {
5030
5060
  return '' + entity.id;
5031
5061
  };
5032
5062
  },
5033
- 'hydrator-revoked_tokens_12000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, oauth_client_237, oauth_client_238, user_239, user_240) {
5063
+ 'hydrator-revoked_tokens_12000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, oauth_client_239, oauth_client_240, user_241, user_242) {
5034
5064
  // compiled hydrator for entity RevokedTokenEntity ( normalized)
5035
5065
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
5036
5066
  if (data.id === null) {
@@ -5090,10 +5120,10 @@ export default {
5090
5120
  }
5091
5121
  else if (typeof data.client !== 'undefined') {
5092
5122
  if (isPrimaryKey(data.client, true)) {
5093
- entity.client = factory.createReference(oauth_client_237, data.client, { merge: true, convertCustomTypes, normalizeAccessors, schema });
5123
+ entity.client = factory.createReference(oauth_client_239, data.client, { merge: true, convertCustomTypes, normalizeAccessors, schema });
5094
5124
  }
5095
5125
  else if (data.client && typeof data.client === 'object') {
5096
- entity.client = factory.create(oauth_client_238, data.client, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema });
5126
+ entity.client = factory.create(oauth_client_240, data.client, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema });
5097
5127
  }
5098
5128
  }
5099
5129
  if (data.user === null) {
@@ -5101,10 +5131,10 @@ export default {
5101
5131
  }
5102
5132
  else if (typeof data.user !== 'undefined') {
5103
5133
  if (isPrimaryKey(data.user, true)) {
5104
- entity.user = factory.createReference(user_239, data.user, { merge: true, convertCustomTypes, normalizeAccessors, schema });
5134
+ entity.user = factory.createReference(user_241, data.user, { merge: true, convertCustomTypes, normalizeAccessors, schema });
5105
5135
  }
5106
5136
  else if (data.user && typeof data.user === 'object') {
5107
- entity.user = factory.create(user_240, data.user, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema });
5137
+ entity.user = factory.create(user_242, data.user, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema });
5108
5138
  }
5109
5139
  }
5110
5140
  if (data.expires_at === null) {
@@ -5137,7 +5167,7 @@ export default {
5137
5167
  }
5138
5168
  };
5139
5169
  },
5140
- 'hydrator-revoked_tokens_12000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, oauth_client_248, oauth_client_249, user_250, user_251) {
5170
+ 'hydrator-revoked_tokens_12000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, oauth_client_250, oauth_client_251, user_252, user_253) {
5141
5171
  // compiled hydrator for entity RevokedTokenEntity ( normalized)
5142
5172
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
5143
5173
  if (data.id === null) {
@@ -5197,10 +5227,10 @@ export default {
5197
5227
  }
5198
5228
  else if (typeof data.client !== 'undefined') {
5199
5229
  if (isPrimaryKey(data.client, true)) {
5200
- entity.client = factory.createReference(oauth_client_248, data.client, { merge: true, convertCustomTypes, normalizeAccessors, schema });
5230
+ entity.client = factory.createReference(oauth_client_250, data.client, { merge: true, convertCustomTypes, normalizeAccessors, schema });
5201
5231
  }
5202
5232
  else if (data.client && typeof data.client === 'object') {
5203
- entity.client = factory.create(oauth_client_249, data.client, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema });
5233
+ entity.client = factory.create(oauth_client_251, data.client, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema });
5204
5234
  }
5205
5235
  }
5206
5236
  if (data.user === null) {
@@ -5208,10 +5238,10 @@ export default {
5208
5238
  }
5209
5239
  else if (typeof data.user !== 'undefined') {
5210
5240
  if (isPrimaryKey(data.user, true)) {
5211
- entity.user = factory.createReference(user_250, data.user, { merge: true, convertCustomTypes, normalizeAccessors, schema });
5241
+ entity.user = factory.createReference(user_252, data.user, { merge: true, convertCustomTypes, normalizeAccessors, schema });
5212
5242
  }
5213
5243
  else if (data.user && typeof data.user === 'object') {
5214
- entity.user = factory.create(user_251, data.user, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema });
5244
+ entity.user = factory.create(user_253, data.user, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema });
5215
5245
  }
5216
5246
  }
5217
5247
  if (data.expires_at === null) {
@@ -6103,7 +6133,7 @@ export default {
6103
6133
  return getPrimaryKeyHash(val_9);
6104
6134
  };
6105
6135
  },
6106
- 'hydrator-password_reset_15000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, user_285, user_286) {
6136
+ 'hydrator-password_reset_15000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, user_287, user_288) {
6107
6137
  // compiled hydrator for entity PasswordResetEntity ( normalized)
6108
6138
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
6109
6139
  if (data.id === null) {
@@ -6151,10 +6181,10 @@ export default {
6151
6181
  }
6152
6182
  else if (typeof data.user !== 'undefined') {
6153
6183
  if (isPrimaryKey(data.user, true)) {
6154
- entity.user = Reference.create(factory.createReference(user_285, data.user, { merge: true, convertCustomTypes, normalizeAccessors, schema }));
6184
+ entity.user = Reference.create(factory.createReference(user_287, data.user, { merge: true, convertCustomTypes, normalizeAccessors, schema }));
6155
6185
  }
6156
6186
  else if (data.user && typeof data.user === 'object') {
6157
- entity.user = Reference.create(factory.create(user_286, data.user, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema }));
6187
+ entity.user = Reference.create(factory.create(user_288, data.user, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema }));
6158
6188
  }
6159
6189
  }
6160
6190
  if (data.token === null) {
@@ -6199,7 +6229,7 @@ export default {
6199
6229
  }
6200
6230
  };
6201
6231
  },
6202
- 'hydrator-password_reset_15000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, user_294, user_295) {
6232
+ 'hydrator-password_reset_15000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, user_296, user_297) {
6203
6233
  // compiled hydrator for entity PasswordResetEntity ( normalized)
6204
6234
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
6205
6235
  if (data.id === null) {
@@ -6247,10 +6277,10 @@ export default {
6247
6277
  }
6248
6278
  else if (typeof data.user !== 'undefined') {
6249
6279
  if (isPrimaryKey(data.user, true)) {
6250
- entity.user = Reference.create(factory.createReference(user_294, data.user, { merge: true, convertCustomTypes, normalizeAccessors, schema }));
6280
+ entity.user = Reference.create(factory.createReference(user_296, data.user, { merge: true, convertCustomTypes, normalizeAccessors, schema }));
6251
6281
  }
6252
6282
  else if (data.user && typeof data.user === 'object') {
6253
- entity.user = Reference.create(factory.create(user_295, data.user, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema }));
6283
+ entity.user = Reference.create(factory.create(user_297, data.user, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema }));
6254
6284
  }
6255
6285
  }
6256
6286
  if (data.token === null) {
@@ -6571,7 +6601,7 @@ export default {
6571
6601
  return getPrimaryKeyHash(val_10);
6572
6602
  };
6573
6603
  },
6574
- 'hydrator-oauth_device_code_11000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, oauth_client_307, oauth_client_308, convertToJSValue_scope, convertToDatabaseValue_scope, user_311, user_312) {
6604
+ 'hydrator-oauth_device_code_11000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, oauth_client_309, oauth_client_310, convertToJSValue_scope, convertToDatabaseValue_scope, user_313, user_314) {
6575
6605
  // compiled hydrator for entity OAuthDeviceCodeEntity ( normalized)
6576
6606
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
6577
6607
  if (data.id === null) {
@@ -6631,10 +6661,10 @@ export default {
6631
6661
  }
6632
6662
  else if (typeof data.client !== 'undefined') {
6633
6663
  if (isPrimaryKey(data.client, true)) {
6634
- entity.client = factory.createReference(oauth_client_307, data.client, { merge: true, convertCustomTypes, normalizeAccessors, schema });
6664
+ entity.client = factory.createReference(oauth_client_309, data.client, { merge: true, convertCustomTypes, normalizeAccessors, schema });
6635
6665
  }
6636
6666
  else if (data.client && typeof data.client === 'object') {
6637
- entity.client = factory.create(oauth_client_308, data.client, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema });
6667
+ entity.client = factory.create(oauth_client_310, data.client, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema });
6638
6668
  }
6639
6669
  }
6640
6670
  if (data.scope === null) {
@@ -6669,10 +6699,10 @@ export default {
6669
6699
  }
6670
6700
  else if (typeof data.authorizedUser !== 'undefined') {
6671
6701
  if (isPrimaryKey(data.authorizedUser, true)) {
6672
- entity.authorizedUser = factory.createReference(user_311, data.authorizedUser, { merge: true, convertCustomTypes, normalizeAccessors, schema });
6702
+ entity.authorizedUser = factory.createReference(user_313, data.authorizedUser, { merge: true, convertCustomTypes, normalizeAccessors, schema });
6673
6703
  }
6674
6704
  else if (data.authorizedUser && typeof data.authorizedUser === 'object') {
6675
- entity.authorizedUser = factory.create(user_312, data.authorizedUser, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema });
6705
+ entity.authorizedUser = factory.create(user_314, data.authorizedUser, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema });
6676
6706
  }
6677
6707
  }
6678
6708
  if (data.authorizedAt === null) {
@@ -6739,7 +6769,7 @@ export default {
6739
6769
  }
6740
6770
  };
6741
6771
  },
6742
- 'hydrator-oauth_device_code_11000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, oauth_client_323, oauth_client_324, convertToJSValue_scope, convertToDatabaseValue_scope, user_327, user_328) {
6772
+ 'hydrator-oauth_device_code_11000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, oauth_client_325, oauth_client_326, convertToJSValue_scope, convertToDatabaseValue_scope, user_329, user_330) {
6743
6773
  // compiled hydrator for entity OAuthDeviceCodeEntity ( normalized)
6744
6774
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
6745
6775
  if (data.id === null) {
@@ -6799,10 +6829,10 @@ export default {
6799
6829
  }
6800
6830
  else if (typeof data.client !== 'undefined') {
6801
6831
  if (isPrimaryKey(data.client, true)) {
6802
- entity.client = factory.createReference(oauth_client_323, data.client, { merge: true, convertCustomTypes, normalizeAccessors, schema });
6832
+ entity.client = factory.createReference(oauth_client_325, data.client, { merge: true, convertCustomTypes, normalizeAccessors, schema });
6803
6833
  }
6804
6834
  else if (data.client && typeof data.client === 'object') {
6805
- entity.client = factory.create(oauth_client_324, data.client, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema });
6835
+ entity.client = factory.create(oauth_client_326, data.client, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema });
6806
6836
  }
6807
6837
  }
6808
6838
  if (data.scope === null) {
@@ -6837,10 +6867,10 @@ export default {
6837
6867
  }
6838
6868
  else if (typeof data.authorizedUser !== 'undefined') {
6839
6869
  if (isPrimaryKey(data.authorizedUser, true)) {
6840
- entity.authorizedUser = factory.createReference(user_327, data.authorizedUser, { merge: true, convertCustomTypes, normalizeAccessors, schema });
6870
+ entity.authorizedUser = factory.createReference(user_329, data.authorizedUser, { merge: true, convertCustomTypes, normalizeAccessors, schema });
6841
6871
  }
6842
6872
  else if (data.authorizedUser && typeof data.authorizedUser === 'object') {
6843
- entity.authorizedUser = factory.create(user_328, data.authorizedUser, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema });
6873
+ entity.authorizedUser = factory.create(user_330, data.authorizedUser, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema });
6844
6874
  }
6845
6875
  }
6846
6876
  if (data.authorizedAt === null) {
@@ -7332,7 +7362,7 @@ export default {
7332
7362
  return getPrimaryKeyHash(val_11);
7333
7363
  };
7334
7364
  },
7335
- 'hydrator-oauth_code_10000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, oauth_client_340, oauth_client_341, user_342, user_343, convertToJSValue_scope, convertToDatabaseValue_scope) {
7365
+ 'hydrator-oauth_code_10000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, oauth_client_342, oauth_client_343, user_344, user_345, convertToJSValue_scope, convertToDatabaseValue_scope) {
7336
7366
  // compiled hydrator for entity OAuthCodeEntity ( normalized)
7337
7367
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
7338
7368
  if (data.id === null) {
@@ -7386,10 +7416,10 @@ export default {
7386
7416
  }
7387
7417
  else if (typeof data.client !== 'undefined') {
7388
7418
  if (isPrimaryKey(data.client, true)) {
7389
- entity.client = factory.createReference(oauth_client_340, data.client, { merge: true, convertCustomTypes, normalizeAccessors, schema });
7419
+ entity.client = factory.createReference(oauth_client_342, data.client, { merge: true, convertCustomTypes, normalizeAccessors, schema });
7390
7420
  }
7391
7421
  else if (data.client && typeof data.client === 'object') {
7392
- entity.client = factory.create(oauth_client_341, data.client, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema });
7422
+ entity.client = factory.create(oauth_client_343, data.client, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema });
7393
7423
  }
7394
7424
  }
7395
7425
  if (data.user === null) {
@@ -7397,10 +7427,10 @@ export default {
7397
7427
  }
7398
7428
  else if (typeof data.user !== 'undefined') {
7399
7429
  if (isPrimaryKey(data.user, true)) {
7400
- entity.user = Reference.create(factory.createReference(user_342, data.user, { merge: true, convertCustomTypes, normalizeAccessors, schema }));
7430
+ entity.user = Reference.create(factory.createReference(user_344, data.user, { merge: true, convertCustomTypes, normalizeAccessors, schema }));
7401
7431
  }
7402
7432
  else if (data.user && typeof data.user === 'object') {
7403
- entity.user = Reference.create(factory.create(user_343, data.user, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema }));
7433
+ entity.user = Reference.create(factory.create(user_345, data.user, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema }));
7404
7434
  }
7405
7435
  }
7406
7436
  if (data.redirectUri === null) {
@@ -7476,7 +7506,7 @@ export default {
7476
7506
  }
7477
7507
  };
7478
7508
  },
7479
- 'hydrator-oauth_code_10000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, oauth_client_356, oauth_client_357, user_358, user_359, convertToJSValue_scope, convertToDatabaseValue_scope) {
7509
+ 'hydrator-oauth_code_10000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, oauth_client_358, oauth_client_359, user_360, user_361, convertToJSValue_scope, convertToDatabaseValue_scope) {
7480
7510
  // compiled hydrator for entity OAuthCodeEntity ( normalized)
7481
7511
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
7482
7512
  if (data.id === null) {
@@ -7530,10 +7560,10 @@ export default {
7530
7560
  }
7531
7561
  else if (typeof data.client !== 'undefined') {
7532
7562
  if (isPrimaryKey(data.client, true)) {
7533
- entity.client = factory.createReference(oauth_client_356, data.client, { merge: true, convertCustomTypes, normalizeAccessors, schema });
7563
+ entity.client = factory.createReference(oauth_client_358, data.client, { merge: true, convertCustomTypes, normalizeAccessors, schema });
7534
7564
  }
7535
7565
  else if (data.client && typeof data.client === 'object') {
7536
- entity.client = factory.create(oauth_client_357, data.client, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema });
7566
+ entity.client = factory.create(oauth_client_359, data.client, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema });
7537
7567
  }
7538
7568
  }
7539
7569
  if (data.user === null) {
@@ -7541,10 +7571,10 @@ export default {
7541
7571
  }
7542
7572
  else if (typeof data.user !== 'undefined') {
7543
7573
  if (isPrimaryKey(data.user, true)) {
7544
- entity.user = Reference.create(factory.createReference(user_358, data.user, { merge: true, convertCustomTypes, normalizeAccessors, schema }));
7574
+ entity.user = Reference.create(factory.createReference(user_360, data.user, { merge: true, convertCustomTypes, normalizeAccessors, schema }));
7545
7575
  }
7546
7576
  else if (data.user && typeof data.user === 'object') {
7547
- entity.user = Reference.create(factory.create(user_359, data.user, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema }));
7577
+ entity.user = Reference.create(factory.create(user_361, data.user, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema }));
7548
7578
  }
7549
7579
  }
7550
7580
  if (data.redirectUri === null) {
@@ -8012,7 +8042,7 @@ export default {
8012
8042
  return getPrimaryKeyHash(val_12);
8013
8043
  };
8014
8044
  },
8015
- 'hydrator-oauth_client_14000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_grantTypes, convertToDatabaseValue_grantTypes, convertToJSValue_responseTypes, convertToDatabaseValue_responseTypes, convertToJSValue_scopes, convertToDatabaseValue_scopes, convertToJSValue_redirectUris, convertToDatabaseValue_redirectUris, convertToJSValue_postLogoutRedirectUris, convertToDatabaseValue_postLogoutRedirectUris, convertToJSValue_webOrigins, convertToDatabaseValue_webOrigins, oauth_code_386, oauth_device_code_387, user_consent_388, revoked_tokens_389) {
8045
+ 'hydrator-oauth_client_14000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_grantTypes, convertToDatabaseValue_grantTypes, convertToJSValue_responseTypes, convertToDatabaseValue_responseTypes, convertToJSValue_scopes, convertToDatabaseValue_scopes, convertToJSValue_redirectUris, convertToDatabaseValue_redirectUris, convertToJSValue_postLogoutRedirectUris, convertToDatabaseValue_postLogoutRedirectUris, convertToJSValue_webOrigins, convertToDatabaseValue_webOrigins, oauth_code_388, oauth_device_code_389, user_consent_390, revoked_tokens_391) {
8016
8046
  // compiled hydrator for entity OAuthClientEntity ( normalized)
8017
8047
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
8018
8048
  if (data.id === null) {
@@ -8171,10 +8201,10 @@ export default {
8171
8201
  }
8172
8202
  const createCollectionItem_codes = (value, entity) => {
8173
8203
  if (isPrimaryKey(value, false))
8174
- return factory.createReference(oauth_code_386, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
8204
+ return factory.createReference(oauth_code_388, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
8175
8205
  if (value && isEntity(value))
8176
8206
  return value;
8177
- return factory.create(oauth_code_386, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
8207
+ return factory.create(oauth_code_388, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
8178
8208
  };
8179
8209
  if (data.codes && !Array.isArray(data.codes) && typeof data.codes === 'object') {
8180
8210
  data.codes = [data.codes];
@@ -8198,10 +8228,10 @@ export default {
8198
8228
  }
8199
8229
  const createCollectionItem_deviceCodes = (value, entity) => {
8200
8230
  if (isPrimaryKey(value, false))
8201
- return factory.createReference(oauth_device_code_387, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
8231
+ return factory.createReference(oauth_device_code_389, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
8202
8232
  if (value && isEntity(value))
8203
8233
  return value;
8204
- return factory.create(oauth_device_code_387, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
8234
+ return factory.create(oauth_device_code_389, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
8205
8235
  };
8206
8236
  if (data.deviceCodes && !Array.isArray(data.deviceCodes) && typeof data.deviceCodes === 'object') {
8207
8237
  data.deviceCodes = [data.deviceCodes];
@@ -8225,10 +8255,10 @@ export default {
8225
8255
  }
8226
8256
  const createCollectionItem_consents = (value, entity) => {
8227
8257
  if (isPrimaryKey(value, false))
8228
- return factory.createReference(user_consent_388, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
8258
+ return factory.createReference(user_consent_390, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
8229
8259
  if (value && isEntity(value))
8230
8260
  return value;
8231
- return factory.create(user_consent_388, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
8261
+ return factory.create(user_consent_390, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
8232
8262
  };
8233
8263
  if (data.consents && !Array.isArray(data.consents) && typeof data.consents === 'object') {
8234
8264
  data.consents = [data.consents];
@@ -8252,10 +8282,10 @@ export default {
8252
8282
  }
8253
8283
  const createCollectionItem_revokedTokens = (value, entity) => {
8254
8284
  if (isPrimaryKey(value, false))
8255
- return factory.createReference(revoked_tokens_389, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
8285
+ return factory.createReference(revoked_tokens_391, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
8256
8286
  if (value && isEntity(value))
8257
8287
  return value;
8258
- return factory.create(revoked_tokens_389, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
8288
+ return factory.create(revoked_tokens_391, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
8259
8289
  };
8260
8290
  if (data.revokedTokens && !Array.isArray(data.revokedTokens) && typeof data.revokedTokens === 'object') {
8261
8291
  data.revokedTokens = [data.revokedTokens];
@@ -8279,7 +8309,7 @@ export default {
8279
8309
  }
8280
8310
  };
8281
8311
  },
8282
- 'hydrator-oauth_client_14000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_grantTypes, convertToDatabaseValue_grantTypes, convertToJSValue_responseTypes, convertToDatabaseValue_responseTypes, convertToJSValue_scopes, convertToDatabaseValue_scopes, convertToJSValue_redirectUris, convertToDatabaseValue_redirectUris, convertToJSValue_postLogoutRedirectUris, convertToDatabaseValue_postLogoutRedirectUris, convertToJSValue_webOrigins, convertToDatabaseValue_webOrigins, oauth_code_406, oauth_device_code_407, user_consent_408, revoked_tokens_409) {
8312
+ 'hydrator-oauth_client_14000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_grantTypes, convertToDatabaseValue_grantTypes, convertToJSValue_responseTypes, convertToDatabaseValue_responseTypes, convertToJSValue_scopes, convertToDatabaseValue_scopes, convertToJSValue_redirectUris, convertToDatabaseValue_redirectUris, convertToJSValue_postLogoutRedirectUris, convertToDatabaseValue_postLogoutRedirectUris, convertToJSValue_webOrigins, convertToDatabaseValue_webOrigins, oauth_code_408, oauth_device_code_409, user_consent_410, revoked_tokens_411) {
8283
8313
  // compiled hydrator for entity OAuthClientEntity ( normalized)
8284
8314
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
8285
8315
  if (data.id === null) {
@@ -8438,10 +8468,10 @@ export default {
8438
8468
  }
8439
8469
  const createCollectionItem_codes = (value, entity) => {
8440
8470
  if (isPrimaryKey(value, false))
8441
- return factory.createReference(oauth_code_406, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
8471
+ return factory.createReference(oauth_code_408, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
8442
8472
  if (value && isEntity(value))
8443
8473
  return value;
8444
- return factory.create(oauth_code_406, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
8474
+ return factory.create(oauth_code_408, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
8445
8475
  };
8446
8476
  if (data.codes && !Array.isArray(data.codes) && typeof data.codes === 'object') {
8447
8477
  data.codes = [data.codes];
@@ -8465,10 +8495,10 @@ export default {
8465
8495
  }
8466
8496
  const createCollectionItem_deviceCodes = (value, entity) => {
8467
8497
  if (isPrimaryKey(value, false))
8468
- return factory.createReference(oauth_device_code_407, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
8498
+ return factory.createReference(oauth_device_code_409, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
8469
8499
  if (value && isEntity(value))
8470
8500
  return value;
8471
- return factory.create(oauth_device_code_407, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
8501
+ return factory.create(oauth_device_code_409, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
8472
8502
  };
8473
8503
  if (data.deviceCodes && !Array.isArray(data.deviceCodes) && typeof data.deviceCodes === 'object') {
8474
8504
  data.deviceCodes = [data.deviceCodes];
@@ -8492,10 +8522,10 @@ export default {
8492
8522
  }
8493
8523
  const createCollectionItem_consents = (value, entity) => {
8494
8524
  if (isPrimaryKey(value, false))
8495
- return factory.createReference(user_consent_408, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
8525
+ return factory.createReference(user_consent_410, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
8496
8526
  if (value && isEntity(value))
8497
8527
  return value;
8498
- return factory.create(user_consent_408, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
8528
+ return factory.create(user_consent_410, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
8499
8529
  };
8500
8530
  if (data.consents && !Array.isArray(data.consents) && typeof data.consents === 'object') {
8501
8531
  data.consents = [data.consents];
@@ -8519,10 +8549,10 @@ export default {
8519
8549
  }
8520
8550
  const createCollectionItem_revokedTokens = (value, entity) => {
8521
8551
  if (isPrimaryKey(value, false))
8522
- return factory.createReference(revoked_tokens_409, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
8552
+ return factory.createReference(revoked_tokens_411, value, { convertCustomTypes, schema, normalizeAccessors, merge: true });
8523
8553
  if (value && isEntity(value))
8524
8554
  return value;
8525
- return factory.create(revoked_tokens_409, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
8555
+ return factory.create(revoked_tokens_411, value, { newEntity, convertCustomTypes, schema, normalizeAccessors, merge: true });
8526
8556
  };
8527
8557
  if (data.revokedTokens && !Array.isArray(data.revokedTokens) && typeof data.revokedTokens === 'object') {
8528
8558
  data.revokedTokens = [data.revokedTokens];
@@ -9492,7 +9522,7 @@ export default {
9492
9522
  return '' + entity.kid;
9493
9523
  };
9494
9524
  },
9495
- 'hydrator-email_verification_8000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, user_439, user_440) {
9525
+ 'hydrator-email_verification_8000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, user_441, user_442) {
9496
9526
  // compiled hydrator for entity EmailVerificationEntity ( normalized)
9497
9527
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
9498
9528
  if (data.id === null) {
@@ -9540,10 +9570,10 @@ export default {
9540
9570
  }
9541
9571
  else if (typeof data.user !== 'undefined') {
9542
9572
  if (isPrimaryKey(data.user, true)) {
9543
- entity.user = Reference.create(factory.createReference(user_439, data.user, { merge: true, convertCustomTypes, normalizeAccessors, schema }));
9573
+ entity.user = Reference.create(factory.createReference(user_441, data.user, { merge: true, convertCustomTypes, normalizeAccessors, schema }));
9544
9574
  }
9545
9575
  else if (data.user && typeof data.user === 'object') {
9546
- entity.user = Reference.create(factory.create(user_440, data.user, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema }));
9576
+ entity.user = Reference.create(factory.create(user_442, data.user, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema }));
9547
9577
  }
9548
9578
  }
9549
9579
  if (data.token === null) {
@@ -9588,7 +9618,7 @@ export default {
9588
9618
  }
9589
9619
  };
9590
9620
  },
9591
- 'hydrator-email_verification_8000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, user_448, user_449) {
9621
+ 'hydrator-email_verification_8000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, user_450, user_451) {
9592
9622
  // compiled hydrator for entity EmailVerificationEntity ( normalized)
9593
9623
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
9594
9624
  if (data.id === null) {
@@ -9636,10 +9666,10 @@ export default {
9636
9666
  }
9637
9667
  else if (typeof data.user !== 'undefined') {
9638
9668
  if (isPrimaryKey(data.user, true)) {
9639
- entity.user = Reference.create(factory.createReference(user_448, data.user, { merge: true, convertCustomTypes, normalizeAccessors, schema }));
9669
+ entity.user = Reference.create(factory.createReference(user_450, data.user, { merge: true, convertCustomTypes, normalizeAccessors, schema }));
9640
9670
  }
9641
9671
  else if (data.user && typeof data.user === 'object') {
9642
- entity.user = Reference.create(factory.create(user_449, data.user, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema }));
9672
+ entity.user = Reference.create(factory.create(user_451, data.user, { initialized: true, merge: true, newEntity, convertCustomTypes, normalizeAccessors, schema }));
9643
9673
  }
9644
9674
  }
9645
9675
  if (data.token === null) {