@carlonicora/nestjs-neo4jsonapi 1.39.0 → 1.40.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 (296) hide show
  1. package/dist/config/base.config.d.ts.map +1 -1
  2. package/dist/config/base.config.js +9 -0
  3. package/dist/config/base.config.js.map +1 -1
  4. package/dist/config/interfaces/base.config.interface.d.ts +2 -0
  5. package/dist/config/interfaces/base.config.interface.d.ts.map +1 -1
  6. package/dist/config/interfaces/config.two.factor.interface.d.ts +27 -0
  7. package/dist/config/interfaces/config.two.factor.interface.d.ts.map +1 -0
  8. package/dist/config/interfaces/config.two.factor.interface.js +3 -0
  9. package/dist/config/interfaces/config.two.factor.interface.js.map +1 -0
  10. package/dist/config/interfaces/index.d.ts +1 -0
  11. package/dist/config/interfaces/index.d.ts.map +1 -1
  12. package/dist/config/interfaces/index.js +1 -0
  13. package/dist/config/interfaces/index.js.map +1 -1
  14. package/dist/core/jsonapi/services/jsonapi.service.d.ts.map +1 -1
  15. package/dist/core/jsonapi/services/jsonapi.service.js +3 -1
  16. package/dist/core/jsonapi/services/jsonapi.service.js.map +1 -1
  17. package/dist/core/llm/services/vision.llm.service.d.ts.map +1 -1
  18. package/dist/core/llm/services/vision.llm.service.js +0 -1
  19. package/dist/core/llm/services/vision.llm.service.js.map +1 -1
  20. package/dist/core/security/services/security.service.d.ts +27 -0
  21. package/dist/core/security/services/security.service.d.ts.map +1 -1
  22. package/dist/core/security/services/security.service.js +37 -0
  23. package/dist/core/security/services/security.service.js.map +1 -1
  24. package/dist/foundations/auth/auth.module.d.ts.map +1 -1
  25. package/dist/foundations/auth/auth.module.js +6 -0
  26. package/dist/foundations/auth/auth.module.js.map +1 -1
  27. package/dist/foundations/auth/entities/pending-auth.entity.d.ts +16 -0
  28. package/dist/foundations/auth/entities/pending-auth.entity.d.ts.map +1 -0
  29. package/dist/foundations/auth/entities/pending-auth.entity.js +3 -0
  30. package/dist/foundations/auth/entities/pending-auth.entity.js.map +1 -0
  31. package/dist/foundations/auth/entities/pending-auth.map.d.ts +6 -0
  32. package/dist/foundations/auth/entities/pending-auth.map.d.ts.map +1 -0
  33. package/dist/foundations/auth/entities/pending-auth.map.js +20 -0
  34. package/dist/foundations/auth/entities/pending-auth.map.js.map +1 -0
  35. package/dist/foundations/auth/entities/pending-auth.meta.d.ts +3 -0
  36. package/dist/foundations/auth/entities/pending-auth.meta.d.ts.map +1 -0
  37. package/dist/foundations/auth/entities/pending-auth.meta.js +10 -0
  38. package/dist/foundations/auth/entities/pending-auth.meta.js.map +1 -0
  39. package/dist/foundations/auth/entities/pending-auth.model.d.ts +9 -0
  40. package/dist/foundations/auth/entities/pending-auth.model.d.ts.map +1 -0
  41. package/dist/foundations/auth/entities/pending-auth.model.js +19 -0
  42. package/dist/foundations/auth/entities/pending-auth.model.js.map +1 -0
  43. package/dist/foundations/auth/serialisers/pending-auth.serialiser.d.ts +18 -0
  44. package/dist/foundations/auth/serialisers/pending-auth.serialiser.d.ts.map +1 -0
  45. package/dist/foundations/auth/serialisers/pending-auth.serialiser.js +49 -0
  46. package/dist/foundations/auth/serialisers/pending-auth.serialiser.js.map +1 -0
  47. package/dist/foundations/auth/services/auth.service.d.ts +12 -1
  48. package/dist/foundations/auth/services/auth.service.d.ts.map +1 -1
  49. package/dist/foundations/auth/services/auth.service.js +60 -6
  50. package/dist/foundations/auth/services/auth.service.js.map +1 -1
  51. package/dist/foundations/foundations.modules.d.ts.map +1 -1
  52. package/dist/foundations/foundations.modules.js +2 -0
  53. package/dist/foundations/foundations.modules.js.map +1 -1
  54. package/dist/foundations/index.d.ts +1 -0
  55. package/dist/foundations/index.d.ts.map +1 -1
  56. package/dist/foundations/index.js +1 -0
  57. package/dist/foundations/index.js.map +1 -1
  58. package/dist/foundations/stripe/services/billing.service.d.ts +3 -4
  59. package/dist/foundations/stripe/services/billing.service.d.ts.map +1 -1
  60. package/dist/foundations/stripe/services/billing.service.js +1 -1
  61. package/dist/foundations/stripe/services/billing.service.js.map +1 -1
  62. package/dist/foundations/stripe-invoice/services/stripe-invoice-admin.service.d.ts +1 -1
  63. package/dist/foundations/stripe-invoice/services/stripe-invoice-admin.service.js +1 -1
  64. package/dist/foundations/stripe-invoice/services/stripe-invoice-api.service.d.ts +1 -1
  65. package/dist/foundations/stripe-invoice/services/stripe-invoice-api.service.d.ts.map +1 -1
  66. package/dist/foundations/stripe-invoice/services/stripe-invoice-api.service.js +2 -2
  67. package/dist/foundations/stripe-invoice/services/stripe-invoice-api.service.js.map +1 -1
  68. package/dist/foundations/stripe-subscription/controllers/stripe-subscription.controller.d.ts.map +1 -1
  69. package/dist/foundations/stripe-subscription/controllers/stripe-subscription.controller.js +0 -3
  70. package/dist/foundations/stripe-subscription/controllers/stripe-subscription.controller.js.map +1 -1
  71. package/dist/foundations/stripe-subscription/services/stripe-subscription-admin.service.d.ts +1 -1
  72. package/dist/foundations/stripe-subscription/services/stripe-subscription-admin.service.d.ts.map +1 -1
  73. package/dist/foundations/stripe-subscription/services/stripe-subscription-admin.service.js +1 -3
  74. package/dist/foundations/stripe-subscription/services/stripe-subscription-admin.service.js.map +1 -1
  75. package/dist/foundations/stripe-subscription/services/stripe-subscription-api.service.d.ts +1 -1
  76. package/dist/foundations/stripe-subscription/services/stripe-subscription-api.service.d.ts.map +1 -1
  77. package/dist/foundations/stripe-subscription/services/stripe-subscription-api.service.js +1 -5
  78. package/dist/foundations/stripe-subscription/services/stripe-subscription-api.service.js.map +1 -1
  79. package/dist/foundations/two-factor/controllers/passkey.controller.d.ts +52 -0
  80. package/dist/foundations/two-factor/controllers/passkey.controller.d.ts.map +1 -0
  81. package/dist/foundations/two-factor/controllers/passkey.controller.js +155 -0
  82. package/dist/foundations/two-factor/controllers/passkey.controller.js.map +1 -0
  83. package/dist/foundations/two-factor/controllers/totp.controller.d.ts +47 -0
  84. package/dist/foundations/two-factor/controllers/totp.controller.d.ts.map +1 -0
  85. package/dist/foundations/two-factor/controllers/totp.controller.js +132 -0
  86. package/dist/foundations/two-factor/controllers/totp.controller.js.map +1 -0
  87. package/dist/foundations/two-factor/controllers/two-factor.controller.d.ts +124 -0
  88. package/dist/foundations/two-factor/controllers/two-factor.controller.d.ts.map +1 -0
  89. package/dist/foundations/two-factor/controllers/two-factor.controller.js +352 -0
  90. package/dist/foundations/two-factor/controllers/two-factor.controller.js.map +1 -0
  91. package/dist/foundations/two-factor/dtos/passkey-options.dto.d.ts +42 -0
  92. package/dist/foundations/two-factor/dtos/passkey-options.dto.d.ts.map +1 -0
  93. package/dist/foundations/two-factor/dtos/passkey-options.dto.js +77 -0
  94. package/dist/foundations/two-factor/dtos/passkey-options.dto.js.map +1 -0
  95. package/dist/foundations/two-factor/dtos/passkey-verify.dto.d.ts +120 -0
  96. package/dist/foundations/two-factor/dtos/passkey-verify.dto.d.ts.map +1 -0
  97. package/dist/foundations/two-factor/dtos/passkey-verify.dto.js +226 -0
  98. package/dist/foundations/two-factor/dtos/passkey-verify.dto.js.map +1 -0
  99. package/dist/foundations/two-factor/dtos/totp-setup.dto.d.ts +32 -0
  100. package/dist/foundations/two-factor/dtos/totp-setup.dto.d.ts.map +1 -0
  101. package/dist/foundations/two-factor/dtos/totp-setup.dto.js +67 -0
  102. package/dist/foundations/two-factor/dtos/totp-setup.dto.js.map +1 -0
  103. package/dist/foundations/two-factor/dtos/totp-verify.dto.d.ts +62 -0
  104. package/dist/foundations/two-factor/dtos/totp-verify.dto.d.ts.map +1 -0
  105. package/dist/foundations/two-factor/dtos/totp-verify.dto.js +118 -0
  106. package/dist/foundations/two-factor/dtos/totp-verify.dto.js.map +1 -0
  107. package/dist/foundations/two-factor/dtos/two-factor-verify.dto.d.ts +83 -0
  108. package/dist/foundations/two-factor/dtos/two-factor-verify.dto.d.ts.map +1 -0
  109. package/dist/foundations/two-factor/dtos/two-factor-verify.dto.js +161 -0
  110. package/dist/foundations/two-factor/dtos/two-factor-verify.dto.js.map +1 -0
  111. package/dist/foundations/two-factor/entities/backup-code.d.ts +22 -0
  112. package/dist/foundations/two-factor/entities/backup-code.d.ts.map +1 -0
  113. package/dist/foundations/two-factor/entities/backup-code.js +25 -0
  114. package/dist/foundations/two-factor/entities/backup-code.js.map +1 -0
  115. package/dist/foundations/two-factor/entities/backup-code.meta.d.ts +3 -0
  116. package/dist/foundations/two-factor/entities/backup-code.meta.d.ts.map +1 -0
  117. package/dist/foundations/two-factor/entities/backup-code.meta.js +10 -0
  118. package/dist/foundations/two-factor/entities/backup-code.meta.js.map +1 -0
  119. package/dist/foundations/two-factor/entities/backup-codes-count.d.ts +18 -0
  120. package/dist/foundations/two-factor/entities/backup-codes-count.d.ts.map +1 -0
  121. package/dist/foundations/two-factor/entities/backup-codes-count.js +19 -0
  122. package/dist/foundations/two-factor/entities/backup-codes-count.js.map +1 -0
  123. package/dist/foundations/two-factor/entities/backup-codes-count.meta.d.ts +3 -0
  124. package/dist/foundations/two-factor/entities/backup-codes-count.meta.d.ts.map +1 -0
  125. package/dist/foundations/two-factor/entities/backup-codes-count.meta.js +10 -0
  126. package/dist/foundations/two-factor/entities/backup-codes-count.meta.js.map +1 -0
  127. package/dist/foundations/two-factor/entities/backup-codes-generation.d.ts +19 -0
  128. package/dist/foundations/two-factor/entities/backup-codes-generation.d.ts.map +1 -0
  129. package/dist/foundations/two-factor/entities/backup-codes-generation.js +20 -0
  130. package/dist/foundations/two-factor/entities/backup-codes-generation.js.map +1 -0
  131. package/dist/foundations/two-factor/entities/backup-codes-generation.meta.d.ts +3 -0
  132. package/dist/foundations/two-factor/entities/backup-codes-generation.meta.d.ts.map +1 -0
  133. package/dist/foundations/two-factor/entities/backup-codes-generation.meta.js +10 -0
  134. package/dist/foundations/two-factor/entities/backup-codes-generation.meta.js.map +1 -0
  135. package/dist/foundations/two-factor/entities/passkey-authentication-options.d.ts +19 -0
  136. package/dist/foundations/two-factor/entities/passkey-authentication-options.d.ts.map +1 -0
  137. package/dist/foundations/two-factor/entities/passkey-authentication-options.js +20 -0
  138. package/dist/foundations/two-factor/entities/passkey-authentication-options.js.map +1 -0
  139. package/dist/foundations/two-factor/entities/passkey-authentication-options.meta.d.ts +3 -0
  140. package/dist/foundations/two-factor/entities/passkey-authentication-options.meta.d.ts.map +1 -0
  141. package/dist/foundations/two-factor/entities/passkey-authentication-options.meta.js +10 -0
  142. package/dist/foundations/two-factor/entities/passkey-authentication-options.meta.js.map +1 -0
  143. package/dist/foundations/two-factor/entities/passkey-registration-options.d.ts +19 -0
  144. package/dist/foundations/two-factor/entities/passkey-registration-options.d.ts.map +1 -0
  145. package/dist/foundations/two-factor/entities/passkey-registration-options.js +20 -0
  146. package/dist/foundations/two-factor/entities/passkey-registration-options.js.map +1 -0
  147. package/dist/foundations/two-factor/entities/passkey-registration-options.meta.d.ts +3 -0
  148. package/dist/foundations/two-factor/entities/passkey-registration-options.meta.d.ts.map +1 -0
  149. package/dist/foundations/two-factor/entities/passkey-registration-options.meta.js +10 -0
  150. package/dist/foundations/two-factor/entities/passkey-registration-options.meta.js.map +1 -0
  151. package/dist/foundations/two-factor/entities/passkey.d.ts +27 -0
  152. package/dist/foundations/two-factor/entities/passkey.d.ts.map +1 -0
  153. package/dist/foundations/two-factor/entities/passkey.js +30 -0
  154. package/dist/foundations/two-factor/entities/passkey.js.map +1 -0
  155. package/dist/foundations/two-factor/entities/passkey.meta.d.ts +3 -0
  156. package/dist/foundations/two-factor/entities/passkey.meta.d.ts.map +1 -0
  157. package/dist/foundations/two-factor/entities/passkey.meta.js +10 -0
  158. package/dist/foundations/two-factor/entities/passkey.meta.js.map +1 -0
  159. package/dist/foundations/two-factor/entities/pending-two-factor.d.ts +24 -0
  160. package/dist/foundations/two-factor/entities/pending-two-factor.d.ts.map +1 -0
  161. package/dist/foundations/two-factor/entities/pending-two-factor.js +27 -0
  162. package/dist/foundations/two-factor/entities/pending-two-factor.js.map +1 -0
  163. package/dist/foundations/two-factor/entities/pending-two-factor.meta.d.ts +3 -0
  164. package/dist/foundations/two-factor/entities/pending-two-factor.meta.d.ts.map +1 -0
  165. package/dist/foundations/two-factor/entities/pending-two-factor.meta.js +10 -0
  166. package/dist/foundations/two-factor/entities/pending-two-factor.meta.js.map +1 -0
  167. package/dist/foundations/two-factor/entities/totp-authenticator.d.ts +24 -0
  168. package/dist/foundations/two-factor/entities/totp-authenticator.d.ts.map +1 -0
  169. package/dist/foundations/two-factor/entities/totp-authenticator.js +27 -0
  170. package/dist/foundations/two-factor/entities/totp-authenticator.js.map +1 -0
  171. package/dist/foundations/two-factor/entities/totp-authenticator.meta.d.ts +3 -0
  172. package/dist/foundations/two-factor/entities/totp-authenticator.meta.d.ts.map +1 -0
  173. package/dist/foundations/two-factor/entities/totp-authenticator.meta.js +10 -0
  174. package/dist/foundations/two-factor/entities/totp-authenticator.meta.js.map +1 -0
  175. package/dist/foundations/two-factor/entities/totp-setup.d.ts +20 -0
  176. package/dist/foundations/two-factor/entities/totp-setup.d.ts.map +1 -0
  177. package/dist/foundations/two-factor/entities/totp-setup.js +21 -0
  178. package/dist/foundations/two-factor/entities/totp-setup.js.map +1 -0
  179. package/dist/foundations/two-factor/entities/totp-setup.meta.d.ts +3 -0
  180. package/dist/foundations/two-factor/entities/totp-setup.meta.d.ts.map +1 -0
  181. package/dist/foundations/two-factor/entities/totp-setup.meta.js +10 -0
  182. package/dist/foundations/two-factor/entities/totp-setup.meta.js.map +1 -0
  183. package/dist/foundations/two-factor/entities/two-factor-challenge.d.ts +21 -0
  184. package/dist/foundations/two-factor/entities/two-factor-challenge.d.ts.map +1 -0
  185. package/dist/foundations/two-factor/entities/two-factor-challenge.js +22 -0
  186. package/dist/foundations/two-factor/entities/two-factor-challenge.js.map +1 -0
  187. package/dist/foundations/two-factor/entities/two-factor-challenge.meta.d.ts +3 -0
  188. package/dist/foundations/two-factor/entities/two-factor-challenge.meta.d.ts.map +1 -0
  189. package/dist/foundations/two-factor/entities/two-factor-challenge.meta.js +10 -0
  190. package/dist/foundations/two-factor/entities/two-factor-challenge.meta.js.map +1 -0
  191. package/dist/foundations/two-factor/entities/two-factor-config.d.ts +21 -0
  192. package/dist/foundations/two-factor/entities/two-factor-config.d.ts.map +1 -0
  193. package/dist/foundations/two-factor/entities/two-factor-config.js +23 -0
  194. package/dist/foundations/two-factor/entities/two-factor-config.js.map +1 -0
  195. package/dist/foundations/two-factor/entities/two-factor-config.meta.d.ts +3 -0
  196. package/dist/foundations/two-factor/entities/two-factor-config.meta.d.ts.map +1 -0
  197. package/dist/foundations/two-factor/entities/two-factor-config.meta.js +10 -0
  198. package/dist/foundations/two-factor/entities/two-factor-config.meta.js.map +1 -0
  199. package/dist/foundations/two-factor/entities/two-factor-status.d.ts +25 -0
  200. package/dist/foundations/two-factor/entities/two-factor-status.d.ts.map +1 -0
  201. package/dist/foundations/two-factor/entities/two-factor-status.js +22 -0
  202. package/dist/foundations/two-factor/entities/two-factor-status.js.map +1 -0
  203. package/dist/foundations/two-factor/entities/two-factor-status.meta.d.ts +3 -0
  204. package/dist/foundations/two-factor/entities/two-factor-status.meta.d.ts.map +1 -0
  205. package/dist/foundations/two-factor/entities/two-factor-status.meta.js +10 -0
  206. package/dist/foundations/two-factor/entities/two-factor-status.meta.js.map +1 -0
  207. package/dist/foundations/two-factor/entities/two-factor-verification.d.ts +19 -0
  208. package/dist/foundations/two-factor/entities/two-factor-verification.d.ts.map +1 -0
  209. package/dist/foundations/two-factor/entities/two-factor-verification.js +20 -0
  210. package/dist/foundations/two-factor/entities/two-factor-verification.js.map +1 -0
  211. package/dist/foundations/two-factor/entities/two-factor-verification.meta.d.ts +3 -0
  212. package/dist/foundations/two-factor/entities/two-factor-verification.meta.d.ts.map +1 -0
  213. package/dist/foundations/two-factor/entities/two-factor-verification.meta.js +10 -0
  214. package/dist/foundations/two-factor/entities/two-factor-verification.meta.js.map +1 -0
  215. package/dist/foundations/two-factor/guards/pending-auth.guard.d.ts +35 -0
  216. package/dist/foundations/two-factor/guards/pending-auth.guard.d.ts.map +1 -0
  217. package/dist/foundations/two-factor/guards/pending-auth.guard.js +70 -0
  218. package/dist/foundations/two-factor/guards/pending-auth.guard.js.map +1 -0
  219. package/dist/foundations/two-factor/index.d.ts +47 -0
  220. package/dist/foundations/two-factor/index.d.ts.map +1 -0
  221. package/dist/foundations/two-factor/index.js +134 -0
  222. package/dist/foundations/two-factor/index.js.map +1 -0
  223. package/dist/foundations/two-factor/repositories/backup-code.repository.d.ts +34 -0
  224. package/dist/foundations/two-factor/repositories/backup-code.repository.d.ts.map +1 -0
  225. package/dist/foundations/two-factor/repositories/backup-code.repository.js +107 -0
  226. package/dist/foundations/two-factor/repositories/backup-code.repository.js.map +1 -0
  227. package/dist/foundations/two-factor/repositories/passkey.repository.d.ts +51 -0
  228. package/dist/foundations/two-factor/repositories/passkey.repository.d.ts.map +1 -0
  229. package/dist/foundations/two-factor/repositories/passkey.repository.js +159 -0
  230. package/dist/foundations/two-factor/repositories/passkey.repository.js.map +1 -0
  231. package/dist/foundations/two-factor/repositories/pending-two-factor.repository.d.ts +47 -0
  232. package/dist/foundations/two-factor/repositories/pending-two-factor.repository.d.ts.map +1 -0
  233. package/dist/foundations/two-factor/repositories/pending-two-factor.repository.js +159 -0
  234. package/dist/foundations/two-factor/repositories/pending-two-factor.repository.js.map +1 -0
  235. package/dist/foundations/two-factor/repositories/totp-authenticator.repository.d.ts +51 -0
  236. package/dist/foundations/two-factor/repositories/totp-authenticator.repository.d.ts.map +1 -0
  237. package/dist/foundations/two-factor/repositories/totp-authenticator.repository.js +156 -0
  238. package/dist/foundations/two-factor/repositories/totp-authenticator.repository.js.map +1 -0
  239. package/dist/foundations/two-factor/repositories/two-factor-config.repository.d.ts +32 -0
  240. package/dist/foundations/two-factor/repositories/two-factor-config.repository.d.ts.map +1 -0
  241. package/dist/foundations/two-factor/repositories/two-factor-config.repository.js +105 -0
  242. package/dist/foundations/two-factor/repositories/two-factor-config.repository.js.map +1 -0
  243. package/dist/foundations/two-factor/services/backup-code.service.d.ts +95 -0
  244. package/dist/foundations/two-factor/services/backup-code.service.d.ts.map +1 -0
  245. package/dist/foundations/two-factor/services/backup-code.service.js +216 -0
  246. package/dist/foundations/two-factor/services/backup-code.service.js.map +1 -0
  247. package/dist/foundations/two-factor/services/index.d.ts +6 -0
  248. package/dist/foundations/two-factor/services/index.d.ts.map +1 -0
  249. package/dist/foundations/two-factor/services/index.js +14 -0
  250. package/dist/foundations/two-factor/services/index.js.map +1 -0
  251. package/dist/foundations/two-factor/services/passkey.service.d.ts +132 -0
  252. package/dist/foundations/two-factor/services/passkey.service.d.ts.map +1 -0
  253. package/dist/foundations/two-factor/services/passkey.service.js +400 -0
  254. package/dist/foundations/two-factor/services/passkey.service.js.map +1 -0
  255. package/dist/foundations/two-factor/services/totp-encryption.service.d.ts +42 -0
  256. package/dist/foundations/two-factor/services/totp-encryption.service.d.ts.map +1 -0
  257. package/dist/foundations/two-factor/services/totp-encryption.service.js +136 -0
  258. package/dist/foundations/two-factor/services/totp-encryption.service.js.map +1 -0
  259. package/dist/foundations/two-factor/services/totp.service.d.ts +132 -0
  260. package/dist/foundations/two-factor/services/totp.service.d.ts.map +1 -0
  261. package/dist/foundations/two-factor/services/totp.service.js +324 -0
  262. package/dist/foundations/two-factor/services/totp.service.js.map +1 -0
  263. package/dist/foundations/two-factor/services/two-factor.service.d.ts +165 -0
  264. package/dist/foundations/two-factor/services/two-factor.service.d.ts.map +1 -0
  265. package/dist/foundations/two-factor/services/two-factor.service.js +468 -0
  266. package/dist/foundations/two-factor/services/two-factor.service.js.map +1 -0
  267. package/dist/foundations/two-factor/two-factor.module.d.ts +23 -0
  268. package/dist/foundations/two-factor/two-factor.module.d.ts.map +1 -0
  269. package/dist/foundations/two-factor/two-factor.module.js +132 -0
  270. package/dist/foundations/two-factor/two-factor.module.js.map +1 -0
  271. package/dist/foundations/user/repositories/user.repository.d.ts +8 -0
  272. package/dist/foundations/user/repositories/user.repository.d.ts.map +1 -1
  273. package/dist/foundations/user/repositories/user.repository.js +28 -1
  274. package/dist/foundations/user/repositories/user.repository.js.map +1 -1
  275. package/dist/foundations/waitlist/controllers/waitlist.controller.d.ts.map +1 -1
  276. package/dist/foundations/waitlist/controllers/waitlist.controller.js +0 -4
  277. package/dist/foundations/waitlist/controllers/waitlist.controller.js.map +1 -1
  278. package/dist/foundations/waitlist/repositories/waitlist.repository.d.ts.map +1 -1
  279. package/dist/foundations/waitlist/repositories/waitlist.repository.js +0 -2
  280. package/dist/foundations/waitlist/repositories/waitlist.repository.js.map +1 -1
  281. package/dist/foundations/waitlist/services/waitlist.service.d.ts +1 -0
  282. package/dist/foundations/waitlist/services/waitlist.service.d.ts.map +1 -1
  283. package/dist/foundations/waitlist/services/waitlist.service.js +6 -7
  284. package/dist/foundations/waitlist/services/waitlist.service.js.map +1 -1
  285. package/dist/scripts/generate-module/generator.js +13 -13
  286. package/dist/scripts/generate-module/generator.js.map +1 -1
  287. package/dist/scripts/generate-module/index.js +6 -6
  288. package/dist/scripts/generate-module/index.js.map +1 -1
  289. package/dist/scripts/generate-module/utils/file-writer.js +2 -2
  290. package/dist/scripts/generate-module/utils/file-writer.js.map +1 -1
  291. package/dist/scripts/generate-module/utils/module-registrar.js +7 -7
  292. package/dist/scripts/generate-module/utils/module-registrar.js.map +1 -1
  293. package/dist/tools/migrate-entity/index.js +3 -3
  294. package/dist/tools/migrate-entity/lib/descriptor-generator.js +6 -6
  295. package/dist/tools/migrate-entity/lib/entity-migrator.js +13 -13
  296. package/package.json +5 -1
@@ -0,0 +1,27 @@
1
+ import { Entity } from "../../../common";
2
+ /**
3
+ * Passkey Entity Type
4
+ *
5
+ * Stores WebAuthn passkey data (1:N with User)
6
+ * Relationship: User -[HAS_PASSKEY]-> Passkey
7
+ */
8
+ export type Passkey = Entity & {
9
+ name: string;
10
+ credentialId: string;
11
+ publicKey: string;
12
+ counter: number;
13
+ transports: string;
14
+ backedUp: boolean;
15
+ lastUsedAt?: Date;
16
+ };
17
+ /**
18
+ * Passkey Entity Descriptor
19
+ *
20
+ * Single source of truth for the Passkey entity configuration.
21
+ * Passkey entries are NOT company-scoped - they're attached to User via relationship.
22
+ *
23
+ * Note: credentialId, publicKey, counter, transports are excluded from JSON:API responses for security.
24
+ */
25
+ export declare const PasskeyDescriptor: import("../../../common").EntityDescriptor<Passkey, {}>;
26
+ export type PasskeyDescriptorType = typeof PasskeyDescriptor;
27
+ //# sourceMappingURL=passkey.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"passkey.d.ts","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/passkey.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAgB,MAAM,iBAAiB,CAAC;AAGvD;;;;;GAKG;AACH,MAAM,MAAM,OAAO,GAAG,MAAM,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,IAAI,CAAC;CACnB,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,iBAAiB,yDAkB5B,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,OAAO,iBAAiB,CAAC"}
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PasskeyDescriptor = void 0;
4
+ const common_1 = require("../../../common");
5
+ const passkey_meta_1 = require("./passkey.meta");
6
+ /**
7
+ * Passkey Entity Descriptor
8
+ *
9
+ * Single source of truth for the Passkey entity configuration.
10
+ * Passkey entries are NOT company-scoped - they're attached to User via relationship.
11
+ *
12
+ * Note: credentialId, publicKey, counter, transports are excluded from JSON:API responses for security.
13
+ */
14
+ exports.PasskeyDescriptor = (0, common_1.defineEntity)()({
15
+ ...passkey_meta_1.passkeyMeta,
16
+ // Passkey entries are NOT company-scoped - they exist attached to User
17
+ isCompanyScoped: false,
18
+ fields: {
19
+ name: { type: "string", required: true },
20
+ // Security-sensitive fields excluded from JSON:API responses
21
+ credentialId: { type: "string", required: true, excludeFromJsonApi: true },
22
+ publicKey: { type: "string", required: true, excludeFromJsonApi: true },
23
+ counter: { type: "number", required: true, excludeFromJsonApi: true },
24
+ transports: { type: "string", required: true, excludeFromJsonApi: true },
25
+ backedUp: { type: "boolean", required: true, default: false },
26
+ lastUsedAt: { type: "datetime" },
27
+ },
28
+ relationships: {},
29
+ });
30
+ //# sourceMappingURL=passkey.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"passkey.js","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/passkey.ts"],"names":[],"mappings":";;;AAAA,4CAAuD;AACvD,iDAA6C;AAkB7C;;;;;;;GAOG;AACU,QAAA,iBAAiB,GAAG,IAAA,qBAAY,GAAW,CAAC;IACvD,GAAG,0BAAW;IAEd,uEAAuE;IACvE,eAAe,EAAE,KAAK;IAEtB,MAAM,EAAE;QACN,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;QACxC,6DAA6D;QAC7D,YAAY,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,kBAAkB,EAAE,IAAI,EAAE;QAC1E,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,kBAAkB,EAAE,IAAI,EAAE;QACvE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,kBAAkB,EAAE,IAAI,EAAE;QACrE,UAAU,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,kBAAkB,EAAE,IAAI,EAAE;QACxE,QAAQ,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE;QAC7D,UAAU,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE;KACjC;IAED,aAAa,EAAE,EAAE;CAClB,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { DataMeta } from "../../../common/interfaces/datamodel.interface";
2
+ export declare const passkeyMeta: DataMeta;
3
+ //# sourceMappingURL=passkey.meta.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"passkey.meta.d.ts","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/passkey.meta.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gDAAgD,CAAC;AAE1E,eAAO,MAAM,WAAW,EAAE,QAKzB,CAAC"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.passkeyMeta = void 0;
4
+ exports.passkeyMeta = {
5
+ type: "passkeys",
6
+ endpoint: "passkeys",
7
+ nodeName: "passkey",
8
+ labelName: "Passkey",
9
+ };
10
+ //# sourceMappingURL=passkey.meta.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"passkey.meta.js","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/passkey.meta.ts"],"names":[],"mappings":";;;AAEa,QAAA,WAAW,GAAa;IACnC,IAAI,EAAE,UAAU;IAChB,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,SAAS;IACnB,SAAS,EAAE,SAAS;CACrB,CAAC"}
@@ -0,0 +1,24 @@
1
+ import { Entity } from "../../../common";
2
+ /**
3
+ * PendingTwoFactor Entity Type
4
+ *
5
+ * Stores pending 2FA challenge data (1:1 with User, temporary)
6
+ * Relationship: User -[HAS_PENDING_TWO_FACTOR]-> PendingTwoFactor
7
+ */
8
+ export type PendingTwoFactor = Entity & {
9
+ challenge: string;
10
+ challengeType: string;
11
+ expiration: Date;
12
+ attemptCount: number;
13
+ };
14
+ /**
15
+ * PendingTwoFactor Entity Descriptor
16
+ *
17
+ * Single source of truth for the PendingTwoFactor entity configuration.
18
+ * PendingTwoFactor entries are NOT company-scoped - they're attached to User via relationship.
19
+ *
20
+ * Note: challenge is excluded from JSON:API responses - internal security data.
21
+ */
22
+ export declare const PendingTwoFactorDescriptor: import("../../../common").EntityDescriptor<PendingTwoFactor, {}>;
23
+ export type PendingTwoFactorDescriptorType = typeof PendingTwoFactorDescriptor;
24
+ //# sourceMappingURL=pending-two-factor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pending-two-factor.d.ts","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/pending-two-factor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAgB,MAAM,iBAAiB,CAAC;AAGvD;;;;;GAKG;AACH,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG;IACtC,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,IAAI,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,0BAA0B,kEAerC,CAAC;AAEH,MAAM,MAAM,8BAA8B,GAAG,OAAO,0BAA0B,CAAC"}
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PendingTwoFactorDescriptor = void 0;
4
+ const common_1 = require("../../../common");
5
+ const pending_two_factor_meta_1 = require("./pending-two-factor.meta");
6
+ /**
7
+ * PendingTwoFactor Entity Descriptor
8
+ *
9
+ * Single source of truth for the PendingTwoFactor entity configuration.
10
+ * PendingTwoFactor entries are NOT company-scoped - they're attached to User via relationship.
11
+ *
12
+ * Note: challenge is excluded from JSON:API responses - internal security data.
13
+ */
14
+ exports.PendingTwoFactorDescriptor = (0, common_1.defineEntity)()({
15
+ ...pending_two_factor_meta_1.pendingTwoFactorMeta,
16
+ // PendingTwoFactor entries are NOT company-scoped - they exist attached to User
17
+ isCompanyScoped: false,
18
+ fields: {
19
+ // challenge is excluded from JSON:API responses - internal security data
20
+ challenge: { type: "string", required: true, excludeFromJsonApi: true },
21
+ challengeType: { type: "string", required: true },
22
+ expiration: { type: "datetime", required: true },
23
+ attemptCount: { type: "number", required: true, default: 0 },
24
+ },
25
+ relationships: {},
26
+ });
27
+ //# sourceMappingURL=pending-two-factor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pending-two-factor.js","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/pending-two-factor.ts"],"names":[],"mappings":";;;AAAA,4CAAuD;AACvD,uEAAiE;AAejE;;;;;;;GAOG;AACU,QAAA,0BAA0B,GAAG,IAAA,qBAAY,GAAoB,CAAC;IACzE,GAAG,8CAAoB;IAEvB,gFAAgF;IAChF,eAAe,EAAE,KAAK;IAEtB,MAAM,EAAE;QACN,yEAAyE;QACzE,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,kBAAkB,EAAE,IAAI,EAAE;QACvE,aAAa,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;QACjD,UAAU,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE;QAChD,YAAY,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,EAAE;KAC7D;IAED,aAAa,EAAE,EAAE;CAClB,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { DataMeta } from "../../../common/interfaces/datamodel.interface";
2
+ export declare const pendingTwoFactorMeta: DataMeta;
3
+ //# sourceMappingURL=pending-two-factor.meta.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pending-two-factor.meta.d.ts","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/pending-two-factor.meta.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gDAAgD,CAAC;AAE1E,eAAO,MAAM,oBAAoB,EAAE,QAKlC,CAAC"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.pendingTwoFactorMeta = void 0;
4
+ exports.pendingTwoFactorMeta = {
5
+ type: "pending-two-factors",
6
+ endpoint: "pending-two-factors",
7
+ nodeName: "pendingtwofactor",
8
+ labelName: "PendingTwoFactor",
9
+ };
10
+ //# sourceMappingURL=pending-two-factor.meta.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pending-two-factor.meta.js","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/pending-two-factor.meta.ts"],"names":[],"mappings":";;;AAEa,QAAA,oBAAoB,GAAa;IAC5C,IAAI,EAAE,qBAAqB;IAC3B,QAAQ,EAAE,qBAAqB;IAC/B,QAAQ,EAAE,kBAAkB;IAC5B,SAAS,EAAE,kBAAkB;CAC9B,CAAC"}
@@ -0,0 +1,24 @@
1
+ import { Entity } from "../../../common";
2
+ /**
3
+ * TotpAuthenticator Entity Type
4
+ *
5
+ * Stores TOTP authenticator data (1:N with User)
6
+ * Relationship: User -[HAS_TOTP_AUTHENTICATOR]-> TotpAuthenticator
7
+ */
8
+ export type TotpAuthenticator = Entity & {
9
+ name: string;
10
+ secret: string;
11
+ verified: boolean;
12
+ lastUsedAt?: Date;
13
+ };
14
+ /**
15
+ * TotpAuthenticator Entity Descriptor
16
+ *
17
+ * Single source of truth for the TotpAuthenticator entity configuration.
18
+ * TotpAuthenticator entries are NOT company-scoped - they're attached to User via relationship.
19
+ *
20
+ * Note: The 'secret' field is excluded from JSON:API responses for security.
21
+ */
22
+ export declare const TotpAuthenticatorDescriptor: import("../../../common").EntityDescriptor<TotpAuthenticator, {}>;
23
+ export type TotpAuthenticatorDescriptorType = typeof TotpAuthenticatorDescriptor;
24
+ //# sourceMappingURL=totp-authenticator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"totp-authenticator.d.ts","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/totp-authenticator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAgB,MAAM,iBAAiB,CAAC;AAGvD;;;;;GAKG;AACH,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,IAAI,CAAC;CACnB,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,2BAA2B,mEAetC,CAAC;AAEH,MAAM,MAAM,+BAA+B,GAAG,OAAO,2BAA2B,CAAC"}
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TotpAuthenticatorDescriptor = void 0;
4
+ const common_1 = require("../../../common");
5
+ const totp_authenticator_meta_1 = require("./totp-authenticator.meta");
6
+ /**
7
+ * TotpAuthenticator Entity Descriptor
8
+ *
9
+ * Single source of truth for the TotpAuthenticator entity configuration.
10
+ * TotpAuthenticator entries are NOT company-scoped - they're attached to User via relationship.
11
+ *
12
+ * Note: The 'secret' field is excluded from JSON:API responses for security.
13
+ */
14
+ exports.TotpAuthenticatorDescriptor = (0, common_1.defineEntity)()({
15
+ ...totp_authenticator_meta_1.totpAuthenticatorMeta,
16
+ // TotpAuthenticator entries are NOT company-scoped - they exist attached to User
17
+ isCompanyScoped: false,
18
+ fields: {
19
+ name: { type: "string", required: true },
20
+ // Note: 'secret' is intentionally excluded from JSON:API responses - never expose
21
+ secret: { type: "string", required: true, excludeFromJsonApi: true },
22
+ verified: { type: "boolean", required: true, default: false },
23
+ lastUsedAt: { type: "datetime" },
24
+ },
25
+ relationships: {},
26
+ });
27
+ //# sourceMappingURL=totp-authenticator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"totp-authenticator.js","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/totp-authenticator.ts"],"names":[],"mappings":";;;AAAA,4CAAuD;AACvD,uEAAkE;AAelE;;;;;;;GAOG;AACU,QAAA,2BAA2B,GAAG,IAAA,qBAAY,GAAqB,CAAC;IAC3E,GAAG,+CAAqB;IAExB,iFAAiF;IACjF,eAAe,EAAE,KAAK;IAEtB,MAAM,EAAE;QACN,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;QACxC,kFAAkF;QAClF,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,kBAAkB,EAAE,IAAI,EAAE;QACpE,QAAQ,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE;QAC7D,UAAU,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE;KACjC;IAED,aAAa,EAAE,EAAE;CAClB,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { DataMeta } from "../../../common/interfaces/datamodel.interface";
2
+ export declare const totpAuthenticatorMeta: DataMeta;
3
+ //# sourceMappingURL=totp-authenticator.meta.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"totp-authenticator.meta.d.ts","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/totp-authenticator.meta.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gDAAgD,CAAC;AAE1E,eAAO,MAAM,qBAAqB,EAAE,QAKnC,CAAC"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.totpAuthenticatorMeta = void 0;
4
+ exports.totpAuthenticatorMeta = {
5
+ type: "totp-authenticators",
6
+ endpoint: "totp-authenticators",
7
+ nodeName: "totpauthenticator",
8
+ labelName: "TotpAuthenticator",
9
+ };
10
+ //# sourceMappingURL=totp-authenticator.meta.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"totp-authenticator.meta.js","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/totp-authenticator.meta.ts"],"names":[],"mappings":";;;AAEa,QAAA,qBAAqB,GAAa;IAC7C,IAAI,EAAE,qBAAqB;IAC3B,QAAQ,EAAE,qBAAqB;IAC/B,QAAQ,EAAE,mBAAmB;IAC7B,SAAS,EAAE,mBAAmB;CAC/B,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { Entity } from "../../../common";
2
+ /**
3
+ * TotpSetup Entity Type
4
+ *
5
+ * Transient response type for TOTP authenticator setup.
6
+ * Not stored in database - used only for JSON:API serialization.
7
+ */
8
+ export type TotpSetup = Entity & {
9
+ secret: string;
10
+ qrCodeUri: string;
11
+ qrCodeDataUrl: string;
12
+ };
13
+ /**
14
+ * TotpSetup Entity Descriptor
15
+ *
16
+ * Used for serializing TOTP setup response to JSON:API format.
17
+ */
18
+ export declare const TotpSetupDescriptor: import("../../../common").EntityDescriptor<TotpSetup, {}>;
19
+ export type TotpSetupDescriptorType = typeof TotpSetupDescriptor;
20
+ //# sourceMappingURL=totp-setup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"totp-setup.d.ts","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/totp-setup.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAgB,MAAM,iBAAiB,CAAC;AAGvD;;;;;GAKG;AACH,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,2DAY9B,CAAC;AAEH,MAAM,MAAM,uBAAuB,GAAG,OAAO,mBAAmB,CAAC"}
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TotpSetupDescriptor = void 0;
4
+ const common_1 = require("../../../common");
5
+ const totp_setup_meta_1 = require("./totp-setup.meta");
6
+ /**
7
+ * TotpSetup Entity Descriptor
8
+ *
9
+ * Used for serializing TOTP setup response to JSON:API format.
10
+ */
11
+ exports.TotpSetupDescriptor = (0, common_1.defineEntity)()({
12
+ ...totp_setup_meta_1.totpSetupMeta,
13
+ isCompanyScoped: false,
14
+ fields: {
15
+ secret: { type: "string", required: true },
16
+ qrCodeUri: { type: "string", required: true },
17
+ qrCodeDataUrl: { type: "string", required: true },
18
+ },
19
+ relationships: {},
20
+ });
21
+ //# sourceMappingURL=totp-setup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"totp-setup.js","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/totp-setup.ts"],"names":[],"mappings":";;;AAAA,4CAAuD;AACvD,uDAAkD;AAclD;;;;GAIG;AACU,QAAA,mBAAmB,GAAG,IAAA,qBAAY,GAAa,CAAC;IAC3D,GAAG,+BAAa;IAEhB,eAAe,EAAE,KAAK;IAEtB,MAAM,EAAE;QACN,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;QAC1C,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;QAC7C,aAAa,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;KAClD;IAED,aAAa,EAAE,EAAE;CAClB,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { DataMeta } from "../../../common/interfaces/datamodel.interface";
2
+ export declare const totpSetupMeta: DataMeta;
3
+ //# sourceMappingURL=totp-setup.meta.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"totp-setup.meta.d.ts","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/totp-setup.meta.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gDAAgD,CAAC;AAE1E,eAAO,MAAM,aAAa,EAAE,QAK3B,CAAC"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.totpSetupMeta = void 0;
4
+ exports.totpSetupMeta = {
5
+ type: "totp-setup",
6
+ endpoint: "totp-setup",
7
+ nodeName: "totpsetup",
8
+ labelName: "TotpSetup",
9
+ };
10
+ //# sourceMappingURL=totp-setup.meta.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"totp-setup.meta.js","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/totp-setup.meta.ts"],"names":[],"mappings":";;;AAEa,QAAA,aAAa,GAAa;IACrC,IAAI,EAAE,YAAY;IAClB,QAAQ,EAAE,YAAY;IACtB,QAAQ,EAAE,WAAW;IACrB,SAAS,EAAE,WAAW;CACvB,CAAC"}
@@ -0,0 +1,21 @@
1
+ import { Entity } from "../../../common";
2
+ /**
3
+ * TwoFactorChallenge Entity Type
4
+ *
5
+ * Transient response type for 2FA challenge requests.
6
+ * Not stored in database - used only for JSON:API serialization.
7
+ */
8
+ export type TwoFactorChallenge = Entity & {
9
+ method: string;
10
+ pendingId: string;
11
+ availableMethods?: string[];
12
+ options?: any;
13
+ };
14
+ /**
15
+ * TwoFactorChallenge Entity Descriptor
16
+ *
17
+ * Used for serializing 2FA challenge response to JSON:API format.
18
+ */
19
+ export declare const TwoFactorChallengeDescriptor: import("../../../common").EntityDescriptor<TwoFactorChallenge, {}>;
20
+ export type TwoFactorChallengeDescriptorType = typeof TwoFactorChallengeDescriptor;
21
+ //# sourceMappingURL=two-factor-challenge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"two-factor-challenge.d.ts","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/two-factor-challenge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAgB,MAAM,iBAAiB,CAAC;AAGvD;;;;;GAKG;AACH,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG;IACxC,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC5B,OAAO,CAAC,EAAE,GAAG,CAAC;CACf,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,4BAA4B,oEAavC,CAAC;AAEH,MAAM,MAAM,gCAAgC,GAAG,OAAO,4BAA4B,CAAC"}
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TwoFactorChallengeDescriptor = void 0;
4
+ const common_1 = require("../../../common");
5
+ const two_factor_challenge_meta_1 = require("./two-factor-challenge.meta");
6
+ /**
7
+ * TwoFactorChallenge Entity Descriptor
8
+ *
9
+ * Used for serializing 2FA challenge response to JSON:API format.
10
+ */
11
+ exports.TwoFactorChallengeDescriptor = (0, common_1.defineEntity)()({
12
+ ...two_factor_challenge_meta_1.twoFactorChallengeMeta,
13
+ isCompanyScoped: false,
14
+ fields: {
15
+ method: { type: "string", required: true },
16
+ pendingId: { type: "string", required: true },
17
+ availableMethods: { type: "string[]" },
18
+ options: { type: "json" },
19
+ },
20
+ relationships: {},
21
+ });
22
+ //# sourceMappingURL=two-factor-challenge.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"two-factor-challenge.js","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/two-factor-challenge.ts"],"names":[],"mappings":";;;AAAA,4CAAuD;AACvD,2EAAqE;AAerE;;;;GAIG;AACU,QAAA,4BAA4B,GAAG,IAAA,qBAAY,GAAsB,CAAC;IAC7E,GAAG,kDAAsB;IAEzB,eAAe,EAAE,KAAK;IAEtB,MAAM,EAAE;QACN,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;QAC1C,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;QAC7C,gBAAgB,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE;QACtC,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;KAC1B;IAED,aAAa,EAAE,EAAE;CAClB,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { DataMeta } from "../../../common/interfaces/datamodel.interface";
2
+ export declare const twoFactorChallengeMeta: DataMeta;
3
+ //# sourceMappingURL=two-factor-challenge.meta.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"two-factor-challenge.meta.d.ts","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/two-factor-challenge.meta.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gDAAgD,CAAC;AAE1E,eAAO,MAAM,sBAAsB,EAAE,QAKpC,CAAC"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.twoFactorChallengeMeta = void 0;
4
+ exports.twoFactorChallengeMeta = {
5
+ type: "two-factor-challenge",
6
+ endpoint: "two-factor-challenge",
7
+ nodeName: "twofactorchallenge",
8
+ labelName: "TwoFactorChallenge",
9
+ };
10
+ //# sourceMappingURL=two-factor-challenge.meta.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"two-factor-challenge.meta.js","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/two-factor-challenge.meta.ts"],"names":[],"mappings":";;;AAEa,QAAA,sBAAsB,GAAa;IAC9C,IAAI,EAAE,sBAAsB;IAC5B,QAAQ,EAAE,sBAAsB;IAChC,QAAQ,EAAE,oBAAoB;IAC9B,SAAS,EAAE,oBAAoB;CAChC,CAAC"}
@@ -0,0 +1,21 @@
1
+ import { Entity } from "../../../common";
2
+ /**
3
+ * TwoFactorConfig Entity Type
4
+ *
5
+ * Stores user's 2FA enablement status (1:1 with User)
6
+ * Relationship: User -[HAS_TWO_FACTOR_CONFIG]-> TwoFactorConfig
7
+ */
8
+ export type TwoFactorConfig = Entity & {
9
+ isEnabled: boolean;
10
+ preferredMethod: string;
11
+ backupCodesCount: number;
12
+ };
13
+ /**
14
+ * TwoFactorConfig Entity Descriptor
15
+ *
16
+ * Single source of truth for the TwoFactorConfig entity configuration.
17
+ * TwoFactorConfig entries are NOT company-scoped - they're attached to User via relationship.
18
+ */
19
+ export declare const TwoFactorConfigDescriptor: import("../../../common").EntityDescriptor<TwoFactorConfig, {}>;
20
+ export type TwoFactorConfigDescriptorType = typeof TwoFactorConfigDescriptor;
21
+ //# sourceMappingURL=two-factor-config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"two-factor-config.d.ts","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/two-factor-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAgB,MAAM,iBAAiB,CAAC;AAGvD;;;;;GAKG;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG;IACrC,SAAS,EAAE,OAAO,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;IACxB,gBAAgB,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,yBAAyB,iEAapC,CAAC;AAEH,MAAM,MAAM,6BAA6B,GAAG,OAAO,yBAAyB,CAAC"}
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TwoFactorConfigDescriptor = void 0;
4
+ const common_1 = require("../../../common");
5
+ const two_factor_config_meta_1 = require("./two-factor-config.meta");
6
+ /**
7
+ * TwoFactorConfig Entity Descriptor
8
+ *
9
+ * Single source of truth for the TwoFactorConfig entity configuration.
10
+ * TwoFactorConfig entries are NOT company-scoped - they're attached to User via relationship.
11
+ */
12
+ exports.TwoFactorConfigDescriptor = (0, common_1.defineEntity)()({
13
+ ...two_factor_config_meta_1.twoFactorConfigMeta,
14
+ // TwoFactorConfig entries are NOT company-scoped - they exist attached to User
15
+ isCompanyScoped: false,
16
+ fields: {
17
+ isEnabled: { type: "boolean", required: true, default: false },
18
+ preferredMethod: { type: "string", required: true, default: "totp" },
19
+ backupCodesCount: { type: "number", required: true, default: 0 },
20
+ },
21
+ relationships: {},
22
+ });
23
+ //# sourceMappingURL=two-factor-config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"two-factor-config.js","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/two-factor-config.ts"],"names":[],"mappings":";;;AAAA,4CAAuD;AACvD,qEAA+D;AAc/D;;;;;GAKG;AACU,QAAA,yBAAyB,GAAG,IAAA,qBAAY,GAAmB,CAAC;IACvE,GAAG,4CAAmB;IAEtB,+EAA+E;IAC/E,eAAe,EAAE,KAAK;IAEtB,MAAM,EAAE;QACN,SAAS,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE;QAC9D,eAAe,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE;QACpE,gBAAgB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,EAAE;KACjE;IAED,aAAa,EAAE,EAAE;CAClB,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { DataMeta } from "../../../common/interfaces/datamodel.interface";
2
+ export declare const twoFactorConfigMeta: DataMeta;
3
+ //# sourceMappingURL=two-factor-config.meta.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"two-factor-config.meta.d.ts","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/two-factor-config.meta.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gDAAgD,CAAC;AAE1E,eAAO,MAAM,mBAAmB,EAAE,QAKjC,CAAC"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.twoFactorConfigMeta = void 0;
4
+ exports.twoFactorConfigMeta = {
5
+ type: "two-factor-configs",
6
+ endpoint: "two-factor-configs",
7
+ nodeName: "twofactorconfig",
8
+ labelName: "TwoFactorConfig",
9
+ };
10
+ //# sourceMappingURL=two-factor-config.meta.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"two-factor-config.meta.js","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/two-factor-config.meta.ts"],"names":[],"mappings":";;;AAEa,QAAA,mBAAmB,GAAa;IAC3C,IAAI,EAAE,oBAAoB;IAC1B,QAAQ,EAAE,oBAAoB;IAC9B,QAAQ,EAAE,iBAAiB;IAC3B,SAAS,EAAE,iBAAiB;CAC7B,CAAC"}
@@ -0,0 +1,25 @@
1
+ import { Entity } from "../../../common";
2
+ /**
3
+ * TwoFactorStatus Entity Type
4
+ *
5
+ * Transient response type for 2FA status information.
6
+ * Not stored in database - used only for JSON:API serialization.
7
+ */
8
+ export type TwoFactorStatus = Entity & {
9
+ isEnabled: boolean;
10
+ preferredMethod: string;
11
+ methods: {
12
+ totp: boolean;
13
+ passkey: boolean;
14
+ backup: boolean;
15
+ };
16
+ backupCodesCount: number;
17
+ };
18
+ /**
19
+ * TwoFactorStatus Entity Descriptor
20
+ *
21
+ * Used for serializing 2FA status response to JSON:API format.
22
+ */
23
+ export declare const TwoFactorStatusDescriptor: import("../../../common").EntityDescriptor<TwoFactorStatus, {}>;
24
+ export type TwoFactorStatusDescriptorType = typeof TwoFactorStatusDescriptor;
25
+ //# sourceMappingURL=two-factor-status.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"two-factor-status.d.ts","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/two-factor-status.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAgB,MAAM,iBAAiB,CAAC;AAGvD;;;;;GAKG;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG;IACrC,SAAS,EAAE,OAAO,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;IACxB,OAAO,EAAE;QACP,IAAI,EAAE,OAAO,CAAC;QACd,OAAO,EAAE,OAAO,CAAC;QACjB,MAAM,EAAE,OAAO,CAAC;KACjB,CAAC;IACF,gBAAgB,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,yBAAyB,iEAapC,CAAC;AAEH,MAAM,MAAM,6BAA6B,GAAG,OAAO,yBAAyB,CAAC"}
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TwoFactorStatusDescriptor = void 0;
4
+ const common_1 = require("../../../common");
5
+ const two_factor_status_meta_1 = require("./two-factor-status.meta");
6
+ /**
7
+ * TwoFactorStatus Entity Descriptor
8
+ *
9
+ * Used for serializing 2FA status response to JSON:API format.
10
+ */
11
+ exports.TwoFactorStatusDescriptor = (0, common_1.defineEntity)()({
12
+ ...two_factor_status_meta_1.twoFactorStatusMeta,
13
+ isCompanyScoped: false,
14
+ fields: {
15
+ isEnabled: { type: "boolean", required: true },
16
+ preferredMethod: { type: "string", required: true },
17
+ methods: { type: "json", required: true },
18
+ backupCodesCount: { type: "number", required: true },
19
+ },
20
+ relationships: {},
21
+ });
22
+ //# sourceMappingURL=two-factor-status.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"two-factor-status.js","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/two-factor-status.ts"],"names":[],"mappings":";;;AAAA,4CAAuD;AACvD,qEAA+D;AAmB/D;;;;GAIG;AACU,QAAA,yBAAyB,GAAG,IAAA,qBAAY,GAAmB,CAAC;IACvE,GAAG,4CAAmB;IAEtB,eAAe,EAAE,KAAK;IAEtB,MAAM,EAAE;QACN,SAAS,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE;QAC9C,eAAe,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;QACnD,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;QACzC,gBAAgB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;KACrD;IAED,aAAa,EAAE,EAAE;CAClB,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { DataMeta } from "../../../common/interfaces/datamodel.interface";
2
+ export declare const twoFactorStatusMeta: DataMeta;
3
+ //# sourceMappingURL=two-factor-status.meta.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"two-factor-status.meta.d.ts","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/two-factor-status.meta.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gDAAgD,CAAC;AAE1E,eAAO,MAAM,mBAAmB,EAAE,QAKjC,CAAC"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.twoFactorStatusMeta = void 0;
4
+ exports.twoFactorStatusMeta = {
5
+ type: "two-factor-status",
6
+ endpoint: "two-factor-status",
7
+ nodeName: "twofactorstatus",
8
+ labelName: "TwoFactorStatus",
9
+ };
10
+ //# sourceMappingURL=two-factor-status.meta.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"two-factor-status.meta.js","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/two-factor-status.meta.ts"],"names":[],"mappings":";;;AAEa,QAAA,mBAAmB,GAAa;IAC3C,IAAI,EAAE,mBAAmB;IACzB,QAAQ,EAAE,mBAAmB;IAC7B,QAAQ,EAAE,iBAAiB;IAC3B,SAAS,EAAE,iBAAiB;CAC7B,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { Entity } from "../../../common";
2
+ /**
3
+ * TwoFactorVerification Entity Type
4
+ *
5
+ * Transient response type for 2FA verification results.
6
+ * Not stored in database - used only for JSON:API serialization.
7
+ */
8
+ export type TwoFactorVerification = Entity & {
9
+ success: boolean;
10
+ userId?: string;
11
+ };
12
+ /**
13
+ * TwoFactorVerification Entity Descriptor
14
+ *
15
+ * Used for serializing 2FA verification response to JSON:API format.
16
+ */
17
+ export declare const TwoFactorVerificationDescriptor: import("../../../common").EntityDescriptor<TwoFactorVerification, {}>;
18
+ export type TwoFactorVerificationDescriptorType = typeof TwoFactorVerificationDescriptor;
19
+ //# sourceMappingURL=two-factor-verification.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"two-factor-verification.d.ts","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/two-factor-verification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAgB,MAAM,iBAAiB,CAAC;AAGvD;;;;;GAKG;AACH,MAAM,MAAM,qBAAqB,GAAG,MAAM,GAAG;IAC3C,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,+BAA+B,uEAW1C,CAAC;AAEH,MAAM,MAAM,mCAAmC,GAAG,OAAO,+BAA+B,CAAC"}