@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,83 @@
1
+ /**
2
+ * Attributes for backup code verification request.
3
+ */
4
+ export declare class BackupCodeVerifyAttributesDTO {
5
+ /**
6
+ * The 8-character backup code (hex format).
7
+ */
8
+ code: string;
9
+ }
10
+ /**
11
+ * Data wrapper for backup code verification request.
12
+ */
13
+ export declare class BackupCodeVerifyDataDTO {
14
+ type: string;
15
+ attributes: BackupCodeVerifyAttributesDTO;
16
+ }
17
+ /**
18
+ * DTO for backup code verification during 2FA login flow.
19
+ *
20
+ * Used when a user provides a backup code to complete two-factor authentication.
21
+ * Backup codes are single-use and marked as used after successful verification.
22
+ *
23
+ * Endpoint: POST /auth/two-factor/verify/backup
24
+ */
25
+ export declare class BackupCodeVerifyDTO {
26
+ data: BackupCodeVerifyDataDTO;
27
+ }
28
+ /**
29
+ * Attributes for getting 2FA challenge.
30
+ */
31
+ export declare class TwoFactorChallengeAttributesDTO {
32
+ /**
33
+ * The preferred 2FA method to use.
34
+ */
35
+ method: "totp" | "passkey" | "backup";
36
+ }
37
+ /**
38
+ * Data wrapper for 2FA challenge request.
39
+ */
40
+ export declare class TwoFactorChallengeDataDTO {
41
+ type: string;
42
+ attributes: TwoFactorChallengeAttributesDTO;
43
+ }
44
+ /**
45
+ * DTO for requesting a 2FA challenge.
46
+ *
47
+ * Used to initiate the 2FA verification process for a specific method.
48
+ * For passkeys, this returns WebAuthn authentication options.
49
+ * For TOTP and backup codes, no challenge is needed (user provides code directly).
50
+ *
51
+ * Endpoint: POST /auth/two-factor/challenge
52
+ */
53
+ export declare class TwoFactorChallengeDTO {
54
+ data: TwoFactorChallengeDataDTO;
55
+ }
56
+ /**
57
+ * Attributes for enabling 2FA.
58
+ */
59
+ export declare class TwoFactorEnableAttributesDTO {
60
+ /**
61
+ * The preferred method for 2FA.
62
+ */
63
+ preferredMethod: "totp" | "passkey";
64
+ }
65
+ /**
66
+ * Data wrapper for enabling 2FA.
67
+ */
68
+ export declare class TwoFactorEnableDataDTO {
69
+ type: string;
70
+ attributes: TwoFactorEnableAttributesDTO;
71
+ }
72
+ /**
73
+ * DTO for enabling 2FA.
74
+ *
75
+ * Used to enable two-factor authentication for the user.
76
+ * Requires at least one 2FA method (TOTP or passkey) to be set up first.
77
+ *
78
+ * Endpoint: POST /auth/two-factor/enable
79
+ */
80
+ export declare class TwoFactorEnableDTO {
81
+ data: TwoFactorEnableDataDTO;
82
+ }
83
+ //# sourceMappingURL=two-factor-verify.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"two-factor-verify.dto.d.ts","sourceRoot":"","sources":["../../../../src/foundations/two-factor/dtos/two-factor-verify.dto.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,qBAAa,6BAA6B;IACxC;;OAEG;IAMH,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,qBAAa,uBAAuB;IAElC,IAAI,EAAE,MAAM,CAAC;IAKb,UAAU,EAAE,6BAA6B,CAAC;CAC3C;AAED;;;;;;;GAOG;AACH,qBAAa,mBAAmB;IAI9B,IAAI,EAAE,uBAAuB,CAAC;CAC/B;AAED;;GAEG;AACH,qBAAa,+BAA+B;IAC1C;;OAEG;IAOH,MAAM,EAAE,MAAM,GAAG,SAAS,GAAG,QAAQ,CAAC;CACvC;AAED;;GAEG;AACH,qBAAa,yBAAyB;IAEpC,IAAI,EAAE,MAAM,CAAC;IAKb,UAAU,EAAE,+BAA+B,CAAC;CAC7C;AAED;;;;;;;;GAQG;AACH,qBAAa,qBAAqB;IAIhC,IAAI,EAAE,yBAAyB,CAAC;CACjC;AAED;;GAEG;AACH,qBAAa,4BAA4B;IACvC;;OAEG;IAOH,eAAe,EAAE,MAAM,GAAG,SAAS,CAAC;CACrC;AAED;;GAEG;AACH,qBAAa,sBAAsB;IAEjC,IAAI,EAAE,MAAM,CAAC;IAKb,UAAU,EAAE,4BAA4B,CAAC;CAC1C;AAED;;;;;;;GAOG;AACH,qBAAa,kBAAkB;IAI7B,IAAI,EAAE,sBAAsB,CAAC;CAC9B"}
@@ -0,0 +1,161 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.TwoFactorEnableDTO = exports.TwoFactorEnableDataDTO = exports.TwoFactorEnableAttributesDTO = exports.TwoFactorChallengeDTO = exports.TwoFactorChallengeDataDTO = exports.TwoFactorChallengeAttributesDTO = exports.BackupCodeVerifyDTO = exports.BackupCodeVerifyDataDTO = exports.BackupCodeVerifyAttributesDTO = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const class_validator_1 = require("class-validator");
15
+ const backup_code_meta_1 = require("../entities/backup-code.meta");
16
+ const two_factor_config_meta_1 = require("../entities/two-factor-config.meta");
17
+ /**
18
+ * Attributes for backup code verification request.
19
+ */
20
+ class BackupCodeVerifyAttributesDTO {
21
+ }
22
+ exports.BackupCodeVerifyAttributesDTO = BackupCodeVerifyAttributesDTO;
23
+ __decorate([
24
+ (0, class_validator_1.IsDefined)(),
25
+ (0, class_validator_1.IsNotEmpty)(),
26
+ (0, class_validator_1.IsString)(),
27
+ (0, class_validator_1.Length)(8, 8, { message: "Backup code must be exactly 8 characters" }),
28
+ (0, class_validator_1.Matches)(/^[a-fA-F0-9]{8}$/, { message: "Backup code must be a valid 8-character hex string" }),
29
+ __metadata("design:type", String)
30
+ ], BackupCodeVerifyAttributesDTO.prototype, "code", void 0);
31
+ /**
32
+ * Data wrapper for backup code verification request.
33
+ */
34
+ class BackupCodeVerifyDataDTO {
35
+ }
36
+ exports.BackupCodeVerifyDataDTO = BackupCodeVerifyDataDTO;
37
+ __decorate([
38
+ (0, class_validator_1.Equals)(backup_code_meta_1.backupCodeMeta.endpoint),
39
+ __metadata("design:type", String)
40
+ ], BackupCodeVerifyDataDTO.prototype, "type", void 0);
41
+ __decorate([
42
+ (0, class_validator_1.ValidateNested)(),
43
+ (0, class_validator_1.IsNotEmpty)(),
44
+ (0, class_transformer_1.Type)(() => BackupCodeVerifyAttributesDTO),
45
+ __metadata("design:type", BackupCodeVerifyAttributesDTO)
46
+ ], BackupCodeVerifyDataDTO.prototype, "attributes", void 0);
47
+ /**
48
+ * DTO for backup code verification during 2FA login flow.
49
+ *
50
+ * Used when a user provides a backup code to complete two-factor authentication.
51
+ * Backup codes are single-use and marked as used after successful verification.
52
+ *
53
+ * Endpoint: POST /auth/two-factor/verify/backup
54
+ */
55
+ class BackupCodeVerifyDTO {
56
+ }
57
+ exports.BackupCodeVerifyDTO = BackupCodeVerifyDTO;
58
+ __decorate([
59
+ (0, class_validator_1.ValidateNested)(),
60
+ (0, class_validator_1.IsNotEmpty)(),
61
+ (0, class_transformer_1.Type)(() => BackupCodeVerifyDataDTO),
62
+ __metadata("design:type", BackupCodeVerifyDataDTO)
63
+ ], BackupCodeVerifyDTO.prototype, "data", void 0);
64
+ /**
65
+ * Attributes for getting 2FA challenge.
66
+ */
67
+ class TwoFactorChallengeAttributesDTO {
68
+ }
69
+ exports.TwoFactorChallengeAttributesDTO = TwoFactorChallengeAttributesDTO;
70
+ __decorate([
71
+ (0, class_validator_1.IsDefined)(),
72
+ (0, class_validator_1.IsNotEmpty)(),
73
+ (0, class_validator_1.IsString)(),
74
+ (0, class_validator_1.Matches)(/^(totp|passkey|backup)$/, {
75
+ message: "Method must be one of: totp, passkey, backup",
76
+ }),
77
+ __metadata("design:type", String)
78
+ ], TwoFactorChallengeAttributesDTO.prototype, "method", void 0);
79
+ /**
80
+ * Data wrapper for 2FA challenge request.
81
+ */
82
+ class TwoFactorChallengeDataDTO {
83
+ }
84
+ exports.TwoFactorChallengeDataDTO = TwoFactorChallengeDataDTO;
85
+ __decorate([
86
+ (0, class_validator_1.Equals)(two_factor_config_meta_1.twoFactorConfigMeta.endpoint),
87
+ __metadata("design:type", String)
88
+ ], TwoFactorChallengeDataDTO.prototype, "type", void 0);
89
+ __decorate([
90
+ (0, class_validator_1.ValidateNested)(),
91
+ (0, class_validator_1.IsNotEmpty)(),
92
+ (0, class_transformer_1.Type)(() => TwoFactorChallengeAttributesDTO),
93
+ __metadata("design:type", TwoFactorChallengeAttributesDTO)
94
+ ], TwoFactorChallengeDataDTO.prototype, "attributes", void 0);
95
+ /**
96
+ * DTO for requesting a 2FA challenge.
97
+ *
98
+ * Used to initiate the 2FA verification process for a specific method.
99
+ * For passkeys, this returns WebAuthn authentication options.
100
+ * For TOTP and backup codes, no challenge is needed (user provides code directly).
101
+ *
102
+ * Endpoint: POST /auth/two-factor/challenge
103
+ */
104
+ class TwoFactorChallengeDTO {
105
+ }
106
+ exports.TwoFactorChallengeDTO = TwoFactorChallengeDTO;
107
+ __decorate([
108
+ (0, class_validator_1.ValidateNested)(),
109
+ (0, class_validator_1.IsNotEmpty)(),
110
+ (0, class_transformer_1.Type)(() => TwoFactorChallengeDataDTO),
111
+ __metadata("design:type", TwoFactorChallengeDataDTO)
112
+ ], TwoFactorChallengeDTO.prototype, "data", void 0);
113
+ /**
114
+ * Attributes for enabling 2FA.
115
+ */
116
+ class TwoFactorEnableAttributesDTO {
117
+ }
118
+ exports.TwoFactorEnableAttributesDTO = TwoFactorEnableAttributesDTO;
119
+ __decorate([
120
+ (0, class_validator_1.IsDefined)(),
121
+ (0, class_validator_1.IsNotEmpty)(),
122
+ (0, class_validator_1.IsString)(),
123
+ (0, class_validator_1.Matches)(/^(totp|passkey)$/, {
124
+ message: "Preferred method must be one of: totp, passkey",
125
+ }),
126
+ __metadata("design:type", String)
127
+ ], TwoFactorEnableAttributesDTO.prototype, "preferredMethod", void 0);
128
+ /**
129
+ * Data wrapper for enabling 2FA.
130
+ */
131
+ class TwoFactorEnableDataDTO {
132
+ }
133
+ exports.TwoFactorEnableDataDTO = TwoFactorEnableDataDTO;
134
+ __decorate([
135
+ (0, class_validator_1.Equals)(two_factor_config_meta_1.twoFactorConfigMeta.endpoint),
136
+ __metadata("design:type", String)
137
+ ], TwoFactorEnableDataDTO.prototype, "type", void 0);
138
+ __decorate([
139
+ (0, class_validator_1.ValidateNested)(),
140
+ (0, class_validator_1.IsNotEmpty)(),
141
+ (0, class_transformer_1.Type)(() => TwoFactorEnableAttributesDTO),
142
+ __metadata("design:type", TwoFactorEnableAttributesDTO)
143
+ ], TwoFactorEnableDataDTO.prototype, "attributes", void 0);
144
+ /**
145
+ * DTO for enabling 2FA.
146
+ *
147
+ * Used to enable two-factor authentication for the user.
148
+ * Requires at least one 2FA method (TOTP or passkey) to be set up first.
149
+ *
150
+ * Endpoint: POST /auth/two-factor/enable
151
+ */
152
+ class TwoFactorEnableDTO {
153
+ }
154
+ exports.TwoFactorEnableDTO = TwoFactorEnableDTO;
155
+ __decorate([
156
+ (0, class_validator_1.ValidateNested)(),
157
+ (0, class_validator_1.IsNotEmpty)(),
158
+ (0, class_transformer_1.Type)(() => TwoFactorEnableDataDTO),
159
+ __metadata("design:type", TwoFactorEnableDataDTO)
160
+ ], TwoFactorEnableDTO.prototype, "data", void 0);
161
+ //# sourceMappingURL=two-factor-verify.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"two-factor-verify.dto.js","sourceRoot":"","sources":["../../../../src/foundations/two-factor/dtos/two-factor-verify.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAyC;AACzC,qDAA2G;AAC3G,mEAA8D;AAC9D,+EAAyE;AAEzE;;GAEG;AACH,MAAa,6BAA6B;CAUzC;AAVD,sEAUC;AADC;IALC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,wBAAM,EAAC,CAAC,EAAE,CAAC,EAAE,EAAE,OAAO,EAAE,0CAA0C,EAAE,CAAC;IACrE,IAAA,yBAAO,EAAC,kBAAkB,EAAE,EAAE,OAAO,EAAE,oDAAoD,EAAE,CAAC;;2DAClF;AAGf;;GAEG;AACH,MAAa,uBAAuB;CAQnC;AARD,0DAQC;AANC;IADC,IAAA,wBAAM,EAAC,iCAAc,CAAC,QAAQ,CAAC;;qDACnB;AAKb;IAHC,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,6BAA6B,CAAC;8BAC9B,6BAA6B;2DAAC;AAG5C;;;;;;;GAOG;AACH,MAAa,mBAAmB;CAK/B;AALD,kDAKC;AADC;IAHC,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,uBAAuB,CAAC;8BAC9B,uBAAuB;iDAAC;AAGhC;;GAEG;AACH,MAAa,+BAA+B;CAW3C;AAXD,0EAWC;AADC;IANC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,yBAAO,EAAC,yBAAyB,EAAE;QAClC,OAAO,EAAE,8CAA8C;KACxD,CAAC;;+DACoC;AAGxC;;GAEG;AACH,MAAa,yBAAyB;CAQrC;AARD,8DAQC;AANC;IADC,IAAA,wBAAM,EAAC,4CAAmB,CAAC,QAAQ,CAAC;;uDACxB;AAKb;IAHC,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,+BAA+B,CAAC;8BAChC,+BAA+B;6DAAC;AAG9C;;;;;;;;GAQG;AACH,MAAa,qBAAqB;CAKjC;AALD,sDAKC;AADC;IAHC,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,yBAAyB,CAAC;8BAChC,yBAAyB;mDAAC;AAGlC;;GAEG;AACH,MAAa,4BAA4B;CAWxC;AAXD,oEAWC;AADC;IANC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,yBAAO,EAAC,kBAAkB,EAAE;QAC3B,OAAO,EAAE,gDAAgD;KAC1D,CAAC;;qEACkC;AAGtC;;GAEG;AACH,MAAa,sBAAsB;CAQlC;AARD,wDAQC;AANC;IADC,IAAA,wBAAM,EAAC,4CAAmB,CAAC,QAAQ,CAAC;;oDACxB;AAKb;IAHC,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,4BAA4B,CAAC;8BAC7B,4BAA4B;0DAAC;AAG3C;;;;;;;GAOG;AACH,MAAa,kBAAkB;CAK9B;AALD,gDAKC;AADC;IAHC,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,sBAAsB,CAAC;8BAC7B,sBAAsB;gDAAC"}
@@ -0,0 +1,22 @@
1
+ import { Entity } from "../../../common";
2
+ /**
3
+ * BackupCode Entity Type
4
+ *
5
+ * Stores backup code data (1:N with User, max 10)
6
+ * Relationship: User -[HAS_BACKUP_CODE]-> BackupCode
7
+ */
8
+ export type BackupCode = Entity & {
9
+ codeHash: string;
10
+ usedAt?: Date;
11
+ };
12
+ /**
13
+ * BackupCode Entity Descriptor
14
+ *
15
+ * Single source of truth for the BackupCode entity configuration.
16
+ * BackupCode entries are NOT company-scoped - they're attached to User via relationship.
17
+ *
18
+ * Note: codeHash is excluded from JSON:API responses - never expose.
19
+ */
20
+ export declare const BackupCodeDescriptor: import("../../../common").EntityDescriptor<BackupCode, {}>;
21
+ export type BackupCodeDescriptorType = typeof BackupCodeDescriptor;
22
+ //# sourceMappingURL=backup-code.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"backup-code.d.ts","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/backup-code.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAgB,MAAM,iBAAiB,CAAC;AAGvD;;;;;GAKG;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG;IAChC,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,IAAI,CAAC;CACf,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,oBAAoB,4DAa/B,CAAC;AAEH,MAAM,MAAM,wBAAwB,GAAG,OAAO,oBAAoB,CAAC"}
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BackupCodeDescriptor = void 0;
4
+ const common_1 = require("../../../common");
5
+ const backup_code_meta_1 = require("./backup-code.meta");
6
+ /**
7
+ * BackupCode Entity Descriptor
8
+ *
9
+ * Single source of truth for the BackupCode entity configuration.
10
+ * BackupCode entries are NOT company-scoped - they're attached to User via relationship.
11
+ *
12
+ * Note: codeHash is excluded from JSON:API responses - never expose.
13
+ */
14
+ exports.BackupCodeDescriptor = (0, common_1.defineEntity)()({
15
+ ...backup_code_meta_1.backupCodeMeta,
16
+ // BackupCode entries are NOT company-scoped - they exist attached to User
17
+ isCompanyScoped: false,
18
+ fields: {
19
+ // codeHash is excluded from JSON:API responses - never expose
20
+ codeHash: { type: "string", required: true, excludeFromJsonApi: true },
21
+ usedAt: { type: "datetime" },
22
+ },
23
+ relationships: {},
24
+ });
25
+ //# sourceMappingURL=backup-code.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"backup-code.js","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/backup-code.ts"],"names":[],"mappings":";;;AAAA,4CAAuD;AACvD,yDAAoD;AAapD;;;;;;;GAOG;AACU,QAAA,oBAAoB,GAAG,IAAA,qBAAY,GAAc,CAAC;IAC7D,GAAG,iCAAc;IAEjB,0EAA0E;IAC1E,eAAe,EAAE,KAAK;IAEtB,MAAM,EAAE;QACN,8DAA8D;QAC9D,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,kBAAkB,EAAE,IAAI,EAAE;QACtE,MAAM,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE;KAC7B;IAED,aAAa,EAAE,EAAE;CAClB,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { DataMeta } from "../../../common/interfaces/datamodel.interface";
2
+ export declare const backupCodeMeta: DataMeta;
3
+ //# sourceMappingURL=backup-code.meta.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"backup-code.meta.d.ts","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/backup-code.meta.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gDAAgD,CAAC;AAE1E,eAAO,MAAM,cAAc,EAAE,QAK5B,CAAC"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.backupCodeMeta = void 0;
4
+ exports.backupCodeMeta = {
5
+ type: "backup-codes",
6
+ endpoint: "backup-codes",
7
+ nodeName: "backupcode",
8
+ labelName: "BackupCode",
9
+ };
10
+ //# sourceMappingURL=backup-code.meta.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"backup-code.meta.js","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/backup-code.meta.ts"],"names":[],"mappings":";;;AAEa,QAAA,cAAc,GAAa;IACtC,IAAI,EAAE,cAAc;IACpB,QAAQ,EAAE,cAAc;IACxB,QAAQ,EAAE,YAAY;IACtB,SAAS,EAAE,YAAY;CACxB,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { Entity } from "../../../common";
2
+ /**
3
+ * BackupCodesCount Entity Type
4
+ *
5
+ * Transient response type for backup codes count.
6
+ * Not stored in database - used only for JSON:API serialization.
7
+ */
8
+ export type BackupCodesCount = Entity & {
9
+ count: number;
10
+ };
11
+ /**
12
+ * BackupCodesCount Entity Descriptor
13
+ *
14
+ * Used for serializing backup codes count response to JSON:API format.
15
+ */
16
+ export declare const BackupCodesCountDescriptor: import("../../../common").EntityDescriptor<BackupCodesCount, {}>;
17
+ export type BackupCodesCountDescriptorType = typeof BackupCodesCountDescriptor;
18
+ //# sourceMappingURL=backup-codes-count.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"backup-codes-count.d.ts","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/backup-codes-count.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAgB,MAAM,iBAAiB,CAAC;AAGvD;;;;;GAKG;AACH,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG;IACtC,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,kEAUrC,CAAC;AAEH,MAAM,MAAM,8BAA8B,GAAG,OAAO,0BAA0B,CAAC"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BackupCodesCountDescriptor = void 0;
4
+ const common_1 = require("../../../common");
5
+ const backup_codes_count_meta_1 = require("./backup-codes-count.meta");
6
+ /**
7
+ * BackupCodesCount Entity Descriptor
8
+ *
9
+ * Used for serializing backup codes count response to JSON:API format.
10
+ */
11
+ exports.BackupCodesCountDescriptor = (0, common_1.defineEntity)()({
12
+ ...backup_codes_count_meta_1.backupCodesCountMeta,
13
+ isCompanyScoped: false,
14
+ fields: {
15
+ count: { type: "number", required: true },
16
+ },
17
+ relationships: {},
18
+ });
19
+ //# sourceMappingURL=backup-codes-count.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"backup-codes-count.js","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/backup-codes-count.ts"],"names":[],"mappings":";;;AAAA,4CAAuD;AACvD,uEAAiE;AAYjE;;;;GAIG;AACU,QAAA,0BAA0B,GAAG,IAAA,qBAAY,GAAoB,CAAC;IACzE,GAAG,8CAAoB;IAEvB,eAAe,EAAE,KAAK;IAEtB,MAAM,EAAE;QACN,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;KAC1C;IAED,aAAa,EAAE,EAAE;CAClB,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { DataMeta } from "../../../common/interfaces/datamodel.interface";
2
+ export declare const backupCodesCountMeta: DataMeta;
3
+ //# sourceMappingURL=backup-codes-count.meta.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"backup-codes-count.meta.d.ts","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/backup-codes-count.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.backupCodesCountMeta = void 0;
4
+ exports.backupCodesCountMeta = {
5
+ type: "backup-codes-count",
6
+ endpoint: "backup-codes-count",
7
+ nodeName: "backupcodescount",
8
+ labelName: "BackupCodesCount",
9
+ };
10
+ //# sourceMappingURL=backup-codes-count.meta.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"backup-codes-count.meta.js","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/backup-codes-count.meta.ts"],"names":[],"mappings":";;;AAEa,QAAA,oBAAoB,GAAa;IAC5C,IAAI,EAAE,oBAAoB;IAC1B,QAAQ,EAAE,oBAAoB;IAC9B,QAAQ,EAAE,kBAAkB;IAC5B,SAAS,EAAE,kBAAkB;CAC9B,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { Entity } from "../../../common";
2
+ /**
3
+ * BackupCodesGeneration Entity Type
4
+ *
5
+ * Transient response type for backup codes generation/regeneration.
6
+ * Not stored in database - used only for JSON:API serialization.
7
+ */
8
+ export type BackupCodesGeneration = Entity & {
9
+ codes: string[];
10
+ count: number;
11
+ };
12
+ /**
13
+ * BackupCodesGeneration Entity Descriptor
14
+ *
15
+ * Used for serializing backup codes generation response to JSON:API format.
16
+ */
17
+ export declare const BackupCodesGenerationDescriptor: import("../../../common").EntityDescriptor<BackupCodesGeneration, {}>;
18
+ export type BackupCodesGenerationDescriptorType = typeof BackupCodesGenerationDescriptor;
19
+ //# sourceMappingURL=backup-codes-generation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"backup-codes-generation.d.ts","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/backup-codes-generation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAgB,MAAM,iBAAiB,CAAC;AAGvD;;;;;GAKG;AACH,MAAM,MAAM,qBAAqB,GAAG,MAAM,GAAG;IAC3C,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,+BAA+B,uEAW1C,CAAC;AAEH,MAAM,MAAM,mCAAmC,GAAG,OAAO,+BAA+B,CAAC"}
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BackupCodesGenerationDescriptor = void 0;
4
+ const common_1 = require("../../../common");
5
+ const backup_codes_generation_meta_1 = require("./backup-codes-generation.meta");
6
+ /**
7
+ * BackupCodesGeneration Entity Descriptor
8
+ *
9
+ * Used for serializing backup codes generation response to JSON:API format.
10
+ */
11
+ exports.BackupCodesGenerationDescriptor = (0, common_1.defineEntity)()({
12
+ ...backup_codes_generation_meta_1.backupCodesGenerationMeta,
13
+ isCompanyScoped: false,
14
+ fields: {
15
+ codes: { type: "string[]", required: true },
16
+ count: { type: "number", required: true },
17
+ },
18
+ relationships: {},
19
+ });
20
+ //# sourceMappingURL=backup-codes-generation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"backup-codes-generation.js","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/backup-codes-generation.ts"],"names":[],"mappings":";;;AAAA,4CAAuD;AACvD,iFAA2E;AAa3E;;;;GAIG;AACU,QAAA,+BAA+B,GAAG,IAAA,qBAAY,GAAyB,CAAC;IACnF,GAAG,wDAAyB;IAE5B,eAAe,EAAE,KAAK;IAEtB,MAAM,EAAE;QACN,KAAK,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE;QAC3C,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;KAC1C;IAED,aAAa,EAAE,EAAE;CAClB,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { DataMeta } from "../../../common/interfaces/datamodel.interface";
2
+ export declare const backupCodesGenerationMeta: DataMeta;
3
+ //# sourceMappingURL=backup-codes-generation.meta.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"backup-codes-generation.meta.d.ts","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/backup-codes-generation.meta.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gDAAgD,CAAC;AAE1E,eAAO,MAAM,yBAAyB,EAAE,QAKvC,CAAC"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.backupCodesGenerationMeta = void 0;
4
+ exports.backupCodesGenerationMeta = {
5
+ type: "backup-codes-generation",
6
+ endpoint: "backup-codes-generation",
7
+ nodeName: "backupcodegeneration",
8
+ labelName: "BackupCodesGeneration",
9
+ };
10
+ //# sourceMappingURL=backup-codes-generation.meta.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"backup-codes-generation.meta.js","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/backup-codes-generation.meta.ts"],"names":[],"mappings":";;;AAEa,QAAA,yBAAyB,GAAa;IACjD,IAAI,EAAE,yBAAyB;IAC/B,QAAQ,EAAE,yBAAyB;IACnC,QAAQ,EAAE,sBAAsB;IAChC,SAAS,EAAE,uBAAuB;CACnC,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { Entity } from "../../../common";
2
+ /**
3
+ * PasskeyAuthenticationOptions Entity Type
4
+ *
5
+ * Transient response type for WebAuthn authentication options.
6
+ * Not stored in database - used only for JSON:API serialization.
7
+ */
8
+ export type PasskeyAuthenticationOptions = Entity & {
9
+ pendingId: string;
10
+ options: any;
11
+ };
12
+ /**
13
+ * PasskeyAuthenticationOptions Entity Descriptor
14
+ *
15
+ * Used for serializing WebAuthn authentication options to JSON:API format.
16
+ */
17
+ export declare const PasskeyAuthenticationOptionsDescriptor: import("../../../common").EntityDescriptor<PasskeyAuthenticationOptions, {}>;
18
+ export type PasskeyAuthenticationOptionsDescriptorType = typeof PasskeyAuthenticationOptionsDescriptor;
19
+ //# sourceMappingURL=passkey-authentication-options.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"passkey-authentication-options.d.ts","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/passkey-authentication-options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAgB,MAAM,iBAAiB,CAAC;AAGvD;;;;;GAKG;AACH,MAAM,MAAM,4BAA4B,GAAG,MAAM,GAAG;IAClD,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,GAAG,CAAC;CACd,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,sCAAsC,8EAWjD,CAAC;AAEH,MAAM,MAAM,0CAA0C,GAAG,OAAO,sCAAsC,CAAC"}
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PasskeyAuthenticationOptionsDescriptor = void 0;
4
+ const common_1 = require("../../../common");
5
+ const passkey_authentication_options_meta_1 = require("./passkey-authentication-options.meta");
6
+ /**
7
+ * PasskeyAuthenticationOptions Entity Descriptor
8
+ *
9
+ * Used for serializing WebAuthn authentication options to JSON:API format.
10
+ */
11
+ exports.PasskeyAuthenticationOptionsDescriptor = (0, common_1.defineEntity)()({
12
+ ...passkey_authentication_options_meta_1.passkeyAuthenticationOptionsMeta,
13
+ isCompanyScoped: false,
14
+ fields: {
15
+ pendingId: { type: "string", required: true },
16
+ options: { type: "json", required: true },
17
+ },
18
+ relationships: {},
19
+ });
20
+ //# sourceMappingURL=passkey-authentication-options.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"passkey-authentication-options.js","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/passkey-authentication-options.ts"],"names":[],"mappings":";;;AAAA,4CAAuD;AACvD,+FAAyF;AAazF;;;;GAIG;AACU,QAAA,sCAAsC,GAAG,IAAA,qBAAY,GAAgC,CAAC;IACjG,GAAG,sEAAgC;IAEnC,eAAe,EAAE,KAAK;IAEtB,MAAM,EAAE;QACN,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;QAC7C,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;KAC1C;IAED,aAAa,EAAE,EAAE;CAClB,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { DataMeta } from "../../../common/interfaces/datamodel.interface";
2
+ export declare const passkeyAuthenticationOptionsMeta: DataMeta;
3
+ //# sourceMappingURL=passkey-authentication-options.meta.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"passkey-authentication-options.meta.d.ts","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/passkey-authentication-options.meta.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gDAAgD,CAAC;AAE1E,eAAO,MAAM,gCAAgC,EAAE,QAK9C,CAAC"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.passkeyAuthenticationOptionsMeta = void 0;
4
+ exports.passkeyAuthenticationOptionsMeta = {
5
+ type: "passkey-authentication-options",
6
+ endpoint: "passkey-authentication-options",
7
+ nodeName: "passkeyauthenticationoptions",
8
+ labelName: "PasskeyAuthenticationOptions",
9
+ };
10
+ //# sourceMappingURL=passkey-authentication-options.meta.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"passkey-authentication-options.meta.js","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/passkey-authentication-options.meta.ts"],"names":[],"mappings":";;;AAEa,QAAA,gCAAgC,GAAa;IACxD,IAAI,EAAE,gCAAgC;IACtC,QAAQ,EAAE,gCAAgC;IAC1C,QAAQ,EAAE,8BAA8B;IACxC,SAAS,EAAE,8BAA8B;CAC1C,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { Entity } from "../../../common";
2
+ /**
3
+ * PasskeyRegistrationOptions Entity Type
4
+ *
5
+ * Transient response type for WebAuthn registration options.
6
+ * Not stored in database - used only for JSON:API serialization.
7
+ */
8
+ export type PasskeyRegistrationOptions = Entity & {
9
+ pendingId: string;
10
+ options: any;
11
+ };
12
+ /**
13
+ * PasskeyRegistrationOptions Entity Descriptor
14
+ *
15
+ * Used for serializing WebAuthn registration options to JSON:API format.
16
+ */
17
+ export declare const PasskeyRegistrationOptionsDescriptor: import("../../../common").EntityDescriptor<PasskeyRegistrationOptions, {}>;
18
+ export type PasskeyRegistrationOptionsDescriptorType = typeof PasskeyRegistrationOptionsDescriptor;
19
+ //# sourceMappingURL=passkey-registration-options.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"passkey-registration-options.d.ts","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/passkey-registration-options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAgB,MAAM,iBAAiB,CAAC;AAGvD;;;;;GAKG;AACH,MAAM,MAAM,0BAA0B,GAAG,MAAM,GAAG;IAChD,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,GAAG,CAAC;CACd,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,oCAAoC,4EAW/C,CAAC;AAEH,MAAM,MAAM,wCAAwC,GAAG,OAAO,oCAAoC,CAAC"}
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PasskeyRegistrationOptionsDescriptor = void 0;
4
+ const common_1 = require("../../../common");
5
+ const passkey_registration_options_meta_1 = require("./passkey-registration-options.meta");
6
+ /**
7
+ * PasskeyRegistrationOptions Entity Descriptor
8
+ *
9
+ * Used for serializing WebAuthn registration options to JSON:API format.
10
+ */
11
+ exports.PasskeyRegistrationOptionsDescriptor = (0, common_1.defineEntity)()({
12
+ ...passkey_registration_options_meta_1.passkeyRegistrationOptionsMeta,
13
+ isCompanyScoped: false,
14
+ fields: {
15
+ pendingId: { type: "string", required: true },
16
+ options: { type: "json", required: true },
17
+ },
18
+ relationships: {},
19
+ });
20
+ //# sourceMappingURL=passkey-registration-options.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"passkey-registration-options.js","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/passkey-registration-options.ts"],"names":[],"mappings":";;;AAAA,4CAAuD;AACvD,2FAAqF;AAarF;;;;GAIG;AACU,QAAA,oCAAoC,GAAG,IAAA,qBAAY,GAA8B,CAAC;IAC7F,GAAG,kEAA8B;IAEjC,eAAe,EAAE,KAAK;IAEtB,MAAM,EAAE;QACN,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;QAC7C,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;KAC1C;IAED,aAAa,EAAE,EAAE;CAClB,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { DataMeta } from "../../../common/interfaces/datamodel.interface";
2
+ export declare const passkeyRegistrationOptionsMeta: DataMeta;
3
+ //# sourceMappingURL=passkey-registration-options.meta.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"passkey-registration-options.meta.d.ts","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/passkey-registration-options.meta.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gDAAgD,CAAC;AAE1E,eAAO,MAAM,8BAA8B,EAAE,QAK5C,CAAC"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.passkeyRegistrationOptionsMeta = void 0;
4
+ exports.passkeyRegistrationOptionsMeta = {
5
+ type: "passkey-registration-options",
6
+ endpoint: "passkey-registration-options",
7
+ nodeName: "passkeyregistrationoptions",
8
+ labelName: "PasskeyRegistrationOptions",
9
+ };
10
+ //# sourceMappingURL=passkey-registration-options.meta.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"passkey-registration-options.meta.js","sourceRoot":"","sources":["../../../../src/foundations/two-factor/entities/passkey-registration-options.meta.ts"],"names":[],"mappings":";;;AAEa,QAAA,8BAA8B,GAAa;IACtD,IAAI,EAAE,8BAA8B;IACpC,QAAQ,EAAE,8BAA8B;IACxC,QAAQ,EAAE,4BAA4B;IACtC,SAAS,EAAE,4BAA4B;CACxC,CAAC"}