@contember/engine-tenant-api 2.1.0-alpha.30 → 2.1.0-alpha.35

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 (2752) hide show
  1. package/graphql.codegen.yml +1 -1
  2. package/package.json +33 -28
  3. package/src/TenantContainer.ts +154 -160
  4. package/src/bin/runMigrations.ts +0 -2
  5. package/src/migrations/2018-08-02-174310-init.ts +1 -1
  6. package/src/migrations/2018-09-03-140621-identity-project.ts +1 -1
  7. package/src/migrations/2018-10-26-165450-setup-api-key.ts +1 -1
  8. package/src/migrations/2018-10-26-175155-variables.ts +1 -1
  9. package/src/migrations/2019-02-18-110949-project-slug.ts +1 -1
  10. package/src/migrations/2019-02-18-160155-session-expiration.ts +1 -1
  11. package/src/migrations/2019-05-03-163729-api-key-disabled-at.ts +1 -1
  12. package/src/migrations/2019-08-14-153300-project-slug-unique.ts +1 -1
  13. package/src/migrations/2019-09-06-111000-membership.ts +1 -1
  14. package/src/migrations/2019-09-06-111001-drop-old-member.ts +1 -1
  15. package/src/migrations/2020-01-29-idenity-note.ts +1 -2
  16. package/src/migrations/2020-04-17-fix-person-index.ts +1 -2
  17. package/src/migrations/2020-05-01-170000-api-key-index.ts +1 -2
  18. package/src/migrations/2020-06-08-134000-tenant-credentials.ts +1 -1
  19. package/src/migrations/2020-08-07-110000-person-otp.ts +1 -2
  20. package/src/migrations/2020-08-17-162200-mail-templates.ts +1 -1
  21. package/src/migrations/2020-08-21-143400-person-password-reset.ts +1 -2
  22. package/src/migrations/2020-09-07-094200-identity-provider.ts +1 -1
  23. package/src/migrations/2021-03-28-134000-timestamp.ts +1 -3
  24. package/src/migrations/2021-07-26-105000-project-config.ts +1 -2
  25. package/src/migrations/2021-07-26-132000-project-secrets.ts +1 -1
  26. package/src/migrations/2021-07-27-174000-project-alias-index.ts +1 -2
  27. package/src/migrations/2021-11-24-130000-person-password-null.ts +1 -2
  28. package/src/migrations/2021-11-24-161500-mail-template-project-null.ts +1 -1
  29. package/src/migrations/2022-01-04-144000-person-unique-identity.ts +1 -1
  30. package/src/migrations/2022-02-09-111800-fix-crypted.ts +1 -1
  31. package/src/migrations/2022-02-11-153000-idp-auto-sign-up.ts +1 -1
  32. package/src/migrations/2022-06-29-105000-person-idp.ts +1 -1
  33. package/src/migrations/2022-07-07-135000-person-email-opt-uniq.ts +1 -1
  34. package/src/migrations/2022-07-07-141000-person-display-name.ts +1 -2
  35. package/src/migrations/2022-07-14-145000-person-login-options.ts +1 -2
  36. package/src/migrations/2022-11-08-project-update-notification.ts +1 -2
  37. package/src/migrations/2023-01-20-135500-person-email-normalize.ts +1 -2
  38. package/src/migrations/2023-06-03-104000-person-disabled.ts +1 -1
  39. package/src/migrations/2023-09-01-165000-idp-return-config.ts +1 -1
  40. package/src/migrations/2024-06-20-140000-mail-reply.ts +1 -1
  41. package/src/migrations/2024-08-26-120000-passwordless.ts +1 -1
  42. package/src/migrations/2025-04-16-180000-config-up.ts +1 -1
  43. package/src/migrations/2025-04-17-160000-auth-log.ts +1 -1
  44. package/src/migrations/snapshot-factory.ts +0 -1
  45. package/src/migrations/snapshot.ts +1 -1
  46. package/src/migrations/types.ts +1 -1
  47. package/src/model/authorization/AclSchemaAccessNodeFactory.ts +0 -1
  48. package/src/model/authorization/IdentityScope.ts +1 -1
  49. package/src/model/authorization/PermissionActions.ts +12 -8
  50. package/src/model/commands/Command.ts +1 -1
  51. package/src/model/commands/CommandBus.ts +1 -3
  52. package/src/model/commands/apiKey/CreateApiKeyCommand.ts +1 -1
  53. package/src/model/commands/authLog/CreateAuthLogEntryCommand.ts +0 -2
  54. package/src/model/commands/configuration/UpdateConfigurationCommand.ts +22 -22
  55. package/src/model/commands/identity/PatchIdentityGlobalRoles.ts +7 -2
  56. package/src/model/commands/mailTemplate/AddMailTemplateCommand.ts +18 -12
  57. package/src/model/commands/membership/types.ts +2 -2
  58. package/src/model/commands/membership/variables/PatchProjectMembershipVariableValuesCommand.ts +2 -4
  59. package/src/model/commands/person/ChangeProfileCommand.ts +1 -1
  60. package/src/model/commands/person/CreatePersonCommand.ts +11 -9
  61. package/src/model/commands/person/TogglePersonPasswordlessCommand.ts +1 -1
  62. package/src/model/commands/personToken/CreatePersonTokenCommand.ts +8 -6
  63. package/src/model/commands/personToken/ResetPasswordCommand.ts +1 -2
  64. package/src/model/dtos/AuthLogBag.ts +0 -1
  65. package/src/model/dtos/Password.ts +0 -1
  66. package/src/model/mailing/UserMailer.ts +15 -7
  67. package/src/model/queries/apiKey/ApiKeyQuery.ts +9 -6
  68. package/src/model/queries/authLog/NextLoginAttemptQuery.ts +36 -33
  69. package/src/model/queries/configuration/ConfigurationQuery.ts +0 -2
  70. package/src/model/queries/mailTemplate/helpers.ts +11 -10
  71. package/src/model/queries/membership/ProjectMembersQuery.ts +9 -8
  72. package/src/model/queries/membership/ProjectMembershipByIdentityQuery.ts +5 -9
  73. package/src/model/queries/membership/ProjectRolesByIdentityQuery.ts +5 -6
  74. package/src/model/queries/membership/ProjectSlugSpecification.ts +9 -12
  75. package/src/model/queries/person/PersonQuery.ts +0 -1
  76. package/src/model/queries/personToken/PersonTokenQuery.ts +0 -1
  77. package/src/model/queries/project/ProjectSecretsQuery.ts +1 -2
  78. package/src/model/queries/project/ProjectsByIdentityQuery.ts +3 -3
  79. package/src/model/service/AuthLogService.ts +16 -14
  80. package/src/model/service/ConfigurationManager.ts +0 -3
  81. package/src/model/service/EmailValidator.ts +0 -1
  82. package/src/model/service/IDPSignInManager.ts +10 -8
  83. package/src/model/service/InviteManager.ts +18 -12
  84. package/src/model/service/MembershipValidator.ts +1 -1
  85. package/src/model/service/OtpAuthenticator.ts +1 -1
  86. package/src/model/service/OtpManager.ts +0 -3
  87. package/src/model/service/PasswordChangeManager.ts +11 -2
  88. package/src/model/service/PasswordResetManager.ts +12 -8
  89. package/src/model/service/PasswordStrengthValidator.ts +20 -9
  90. package/src/model/service/PasswordlessSignInManager.ts +29 -17
  91. package/src/model/service/PersonAccessManager.ts +0 -1
  92. package/src/model/service/PersonManager.ts +0 -1
  93. package/src/model/service/ProjectManager.ts +1 -7
  94. package/src/model/service/ProjectMemberManager.ts +6 -2
  95. package/src/model/service/RolesManager.ts +6 -2
  96. package/src/model/service/SecretsManager.ts +1 -1
  97. package/src/model/service/SignInManager.ts +0 -1
  98. package/src/model/service/apiKey/ApiKeyManager.ts +4 -4
  99. package/src/model/service/apiKey/ApiKeyService.ts +1 -2
  100. package/src/model/service/idp/IDPManager.ts +6 -5
  101. package/src/model/service/idp/IDPResponseError.ts +0 -3
  102. package/src/model/service/idp/IDPValidationError.ts +0 -3
  103. package/src/model/service/idp/IdentityProviderHandler.ts +1 -2
  104. package/src/model/service/idp/IdentityProviderNotFoundError.ts +0 -3
  105. package/src/model/service/idp/InvalidIDPConfigurationError.ts +0 -3
  106. package/src/model/service/idp/providers/FacebookProvider.ts +0 -3
  107. package/src/model/service/idp/providers/OIDCHelpers.ts +10 -2
  108. package/src/model/service/idp/providers/OIDCProvider.ts +0 -1
  109. package/src/model/service/idp/providers/OIDCTypes.ts +0 -1
  110. package/src/model/service/idp/providers/helpers.ts +9 -8
  111. package/src/model/type/ApiKey.ts +1 -1
  112. package/src/model/type/Config.ts +8 -6
  113. package/src/model/type/Project.ts +0 -1
  114. package/src/model/utils/DatabaseContext.ts +0 -1
  115. package/src/model/utils/Response.ts +0 -1
  116. package/src/model/utils/blacklist.ts +1 -0
  117. package/src/model/utils/interval.ts +8 -8
  118. package/src/model/utils/token.ts +0 -1
  119. package/src/resolvers/ResolverFactory.ts +22 -9
  120. package/src/resolvers/errorUtils.ts +5 -4
  121. package/src/resolvers/membershipUtils.ts +3 -5
  122. package/src/resolvers/mutation/apiKey/CreateApiKeyMutationResolver.ts +2 -1
  123. package/src/resolvers/mutation/apiKey/DisableApiKeyMutationResolver.ts +2 -7
  124. package/src/resolvers/mutation/person/ChangePasswordMutationResolver.ts +7 -1
  125. package/src/resolvers/mutation/person/ChangeProfileMutationResolver.ts +1 -2
  126. package/src/resolvers/mutation/person/DisablePersonMutationResolver.ts +3 -2
  127. package/src/resolvers/mutation/person/IDPMutationResolver.ts +8 -10
  128. package/src/resolvers/mutation/person/InviteMutationResolver.ts +1 -9
  129. package/src/resolvers/mutation/person/PasswordlessMutationResolver.ts +10 -3
  130. package/src/resolvers/mutation/person/SignInMutationResolver.ts +14 -9
  131. package/src/resolvers/mutation/person/SignOutMutationResolver.ts +2 -1
  132. package/src/resolvers/mutation/person/SignUpMutationResolver.ts +1 -8
  133. package/src/resolvers/mutation/person/TogglePasswordlessMutationResolver.ts +0 -1
  134. package/src/resolvers/mutation/projectMember/AddProjectMemberMutationResolver.ts +1 -6
  135. package/src/resolvers/mutation/projectMember/RemoveProjectMemberMutationResolver.ts +1 -6
  136. package/src/resolvers/mutation/projectMember/UpdateProjectMemberMutationResolver.ts +2 -13
  137. package/src/resolvers/query/ConfigurationQueryResolver.ts +0 -1
  138. package/src/resolvers/query/IDPQueryResolver.ts +0 -1
  139. package/src/resolvers/query/PersonQueryResolver.ts +1 -6
  140. package/src/resolvers/query/ProjectMembersQueryResolver.ts +2 -2
  141. package/src/resolvers/query/ProjectQueryResolver.ts +2 -2
  142. package/src/resolvers/types/IdentityTypeResolver.ts +1 -8
  143. package/src/resolvers/types/ProjectTypeResolver.ts +6 -1
  144. package/src/schema/index.ts +785 -365
  145. package/src/utils/Mailer.ts +1 -5
  146. package/src/utils/batchQuery.ts +4 -1
  147. package/tests/cases/integration/mocked/addProjectMemberMutation.test.ts +0 -1
  148. package/tests/cases/integration/mocked/changeMyPasswordMutation.test.ts +20 -11
  149. package/tests/cases/integration/mocked/changeMyProfileMutation.test.ts +1 -2
  150. package/tests/cases/integration/mocked/changePasswordMutation.test.ts +0 -1
  151. package/tests/cases/integration/mocked/changeProfileMutation.test.ts +0 -2
  152. package/tests/cases/integration/mocked/confirmOtpMutation.test.ts +0 -1
  153. package/tests/cases/integration/mocked/createApiKeyMutation.test.ts +0 -1
  154. package/tests/cases/integration/mocked/createSessionKeyMutation.test.ts +0 -1
  155. package/tests/cases/integration/mocked/gql/createSessionToken.ts +5 -2
  156. package/tests/cases/integration/mocked/gql/signIn.ts +5 -2
  157. package/tests/cases/integration/mocked/inviteMutations.test.ts +6 -4
  158. package/tests/cases/integration/mocked/listProjectMembersQuery.test.ts +1 -1
  159. package/tests/cases/integration/mocked/prepareOtpMutation.test.ts +1 -2
  160. package/tests/cases/integration/mocked/removeProjectMemberMutation.test.ts +0 -1
  161. package/tests/cases/integration/mocked/signInIdpMutation.test.ts +0 -1
  162. package/tests/cases/integration/mocked/signInMutation.test.ts +11 -3
  163. package/tests/cases/integration/mocked/signOutMutation.test.ts +0 -1
  164. package/tests/cases/integration/mocked/signUpMutation.test.ts +0 -1
  165. package/tests/cases/integration/mocked/sql/createPersonSql.ts +8 -1
  166. package/tests/cases/integration/mocked/sql/createSessionKeySql.ts +1 -1
  167. package/tests/cases/integration/mocked/sql/getApiKeySql.ts +2 -2
  168. package/tests/cases/integration/mocked/sql/getConfigSql.ts +1 -1
  169. package/tests/cases/integration/mocked/sql/getIdentityProjectsSql.ts +1 -1
  170. package/tests/cases/integration/mocked/sql/getIdpBySlugSql.ts +2 -1
  171. package/tests/cases/integration/mocked/sql/getMailTemplateSql.ts +18 -14
  172. package/tests/cases/integration/mocked/sql/getNextLoginAttemptSql.ts +3 -3
  173. package/tests/cases/integration/mocked/sql/getPersonByEmailSql.ts +3 -2
  174. package/tests/cases/integration/mocked/sql/getPersonByIdSql.ts +2 -1
  175. package/tests/cases/integration/mocked/sql/getPersonByIdentity.ts +2 -1
  176. package/tests/cases/integration/mocked/sql/getPersonByIdpSql.ts +3 -2
  177. package/tests/cases/integration/mocked/updateProjectMemberMutation.test.ts +0 -1
  178. package/tests/cases/migrations/2020-06-08-134000-tenant-credentials.test.ts +1 -1
  179. package/tests/cases/unit/authorization/membershipAwareAccessNode.test.ts +1 -5
  180. package/dist/development/index.cjs +0 -304
  181. package/dist/development/index.cjs.map +0 -1
  182. package/dist/development/index.js +0 -292
  183. package/dist/development/index.js.map +0 -1
  184. package/dist/development/src/TenantContainer.cjs +0 -122
  185. package/dist/development/src/TenantContainer.cjs.map +0 -1
  186. package/dist/development/src/TenantContainer.js +0 -122
  187. package/dist/development/src/TenantContainer.js.map +0 -1
  188. package/dist/development/src/bridges/system/IdentityFetcher.cjs +0 -64
  189. package/dist/development/src/bridges/system/IdentityFetcher.cjs.map +0 -1
  190. package/dist/development/src/bridges/system/IdentityFetcher.js +0 -64
  191. package/dist/development/src/bridges/system/IdentityFetcher.js.map +0 -1
  192. package/dist/development/src/exceptions.cjs +0 -9
  193. package/dist/development/src/exceptions.cjs.map +0 -1
  194. package/dist/development/src/exceptions.js +0 -9
  195. package/dist/development/src/exceptions.js.map +0 -1
  196. package/dist/development/src/migrations/2018-08-02-174310-init.cjs +0 -63
  197. package/dist/development/src/migrations/2018-08-02-174310-init.cjs.map +0 -1
  198. package/dist/development/src/migrations/2018-08-02-174310-init.js +0 -64
  199. package/dist/development/src/migrations/2018-08-02-174310-init.js.map +0 -1
  200. package/dist/development/src/migrations/2018-09-03-140621-identity-project.cjs +0 -32
  201. package/dist/development/src/migrations/2018-09-03-140621-identity-project.cjs.map +0 -1
  202. package/dist/development/src/migrations/2018-09-03-140621-identity-project.js +0 -33
  203. package/dist/development/src/migrations/2018-09-03-140621-identity-project.js.map +0 -1
  204. package/dist/development/src/migrations/2018-10-26-165450-setup-api-key.cjs +0 -26
  205. package/dist/development/src/migrations/2018-10-26-165450-setup-api-key.cjs.map +0 -1
  206. package/dist/development/src/migrations/2018-10-26-165450-setup-api-key.js +0 -27
  207. package/dist/development/src/migrations/2018-10-26-165450-setup-api-key.js.map +0 -1
  208. package/dist/development/src/migrations/2018-10-26-175155-variables.cjs +0 -22
  209. package/dist/development/src/migrations/2018-10-26-175155-variables.cjs.map +0 -1
  210. package/dist/development/src/migrations/2018-10-26-175155-variables.js +0 -23
  211. package/dist/development/src/migrations/2018-10-26-175155-variables.js.map +0 -1
  212. package/dist/development/src/migrations/2019-02-18-110949-project-slug.cjs +0 -17
  213. package/dist/development/src/migrations/2019-02-18-110949-project-slug.cjs.map +0 -1
  214. package/dist/development/src/migrations/2019-02-18-110949-project-slug.js +0 -18
  215. package/dist/development/src/migrations/2019-02-18-110949-project-slug.js.map +0 -1
  216. package/dist/development/src/migrations/2019-02-18-160155-session-expiration.cjs +0 -10
  217. package/dist/development/src/migrations/2019-02-18-160155-session-expiration.cjs.map +0 -1
  218. package/dist/development/src/migrations/2019-02-18-160155-session-expiration.js +0 -11
  219. package/dist/development/src/migrations/2019-02-18-160155-session-expiration.js.map +0 -1
  220. package/dist/development/src/migrations/2019-05-03-163729-api-key-disabled-at.cjs +0 -17
  221. package/dist/development/src/migrations/2019-05-03-163729-api-key-disabled-at.cjs.map +0 -1
  222. package/dist/development/src/migrations/2019-05-03-163729-api-key-disabled-at.js +0 -18
  223. package/dist/development/src/migrations/2019-05-03-163729-api-key-disabled-at.js.map +0 -1
  224. package/dist/development/src/migrations/2019-08-14-153300-project-slug-unique.cjs +0 -10
  225. package/dist/development/src/migrations/2019-08-14-153300-project-slug-unique.cjs.map +0 -1
  226. package/dist/development/src/migrations/2019-08-14-153300-project-slug-unique.js +0 -11
  227. package/dist/development/src/migrations/2019-08-14-153300-project-slug-unique.js.map +0 -1
  228. package/dist/development/src/migrations/2019-09-06-111000-membership.cjs +0 -50
  229. package/dist/development/src/migrations/2019-09-06-111000-membership.cjs.map +0 -1
  230. package/dist/development/src/migrations/2019-09-06-111000-membership.js +0 -51
  231. package/dist/development/src/migrations/2019-09-06-111000-membership.js.map +0 -1
  232. package/dist/development/src/migrations/2019-09-06-111001-drop-old-member.cjs +0 -10
  233. package/dist/development/src/migrations/2019-09-06-111001-drop-old-member.cjs.map +0 -1
  234. package/dist/development/src/migrations/2019-09-06-111001-drop-old-member.js +0 -11
  235. package/dist/development/src/migrations/2019-09-06-111001-drop-old-member.js.map +0 -1
  236. package/dist/development/src/migrations/2020-01-29-idenity-note.cjs +0 -17
  237. package/dist/development/src/migrations/2020-01-29-idenity-note.cjs.map +0 -1
  238. package/dist/development/src/migrations/2020-01-29-idenity-note.js +0 -18
  239. package/dist/development/src/migrations/2020-01-29-idenity-note.js.map +0 -1
  240. package/dist/development/src/migrations/2020-04-17-fix-person-index.cjs +0 -11
  241. package/dist/development/src/migrations/2020-04-17-fix-person-index.cjs.map +0 -1
  242. package/dist/development/src/migrations/2020-04-17-fix-person-index.js +0 -12
  243. package/dist/development/src/migrations/2020-04-17-fix-person-index.js.map +0 -1
  244. package/dist/development/src/migrations/2020-05-01-170000-api-key-index.cjs +0 -9
  245. package/dist/development/src/migrations/2020-05-01-170000-api-key-index.cjs.map +0 -1
  246. package/dist/development/src/migrations/2020-05-01-170000-api-key-index.js +0 -10
  247. package/dist/development/src/migrations/2020-05-01-170000-api-key-index.js.map +0 -1
  248. package/dist/development/src/migrations/2020-06-08-134000-tenant-credentials.cjs +0 -7
  249. package/dist/development/src/migrations/2020-06-08-134000-tenant-credentials.cjs.map +0 -1
  250. package/dist/development/src/migrations/2020-06-08-134000-tenant-credentials.js +0 -8
  251. package/dist/development/src/migrations/2020-06-08-134000-tenant-credentials.js.map +0 -1
  252. package/dist/development/src/migrations/2020-08-07-110000-person-otp.cjs +0 -11
  253. package/dist/development/src/migrations/2020-08-07-110000-person-otp.cjs.map +0 -1
  254. package/dist/development/src/migrations/2020-08-07-110000-person-otp.js +0 -12
  255. package/dist/development/src/migrations/2020-08-07-110000-person-otp.js.map +0 -1
  256. package/dist/development/src/migrations/2020-08-17-162200-mail-templates.cjs +0 -22
  257. package/dist/development/src/migrations/2020-08-17-162200-mail-templates.cjs.map +0 -1
  258. package/dist/development/src/migrations/2020-08-17-162200-mail-templates.js +0 -23
  259. package/dist/development/src/migrations/2020-08-17-162200-mail-templates.js.map +0 -1
  260. package/dist/development/src/migrations/2020-08-21-143400-person-password-reset.cjs +0 -22
  261. package/dist/development/src/migrations/2020-08-21-143400-person-password-reset.cjs.map +0 -1
  262. package/dist/development/src/migrations/2020-08-21-143400-person-password-reset.js +0 -23
  263. package/dist/development/src/migrations/2020-08-21-143400-person-password-reset.js.map +0 -1
  264. package/dist/development/src/migrations/2020-09-07-094200-identity-provider.cjs +0 -16
  265. package/dist/development/src/migrations/2020-09-07-094200-identity-provider.cjs.map +0 -1
  266. package/dist/development/src/migrations/2020-09-07-094200-identity-provider.js +0 -17
  267. package/dist/development/src/migrations/2020-09-07-094200-identity-provider.js.map +0 -1
  268. package/dist/development/src/migrations/2021-03-28-134000-timestamp.cjs +0 -26
  269. package/dist/development/src/migrations/2021-03-28-134000-timestamp.cjs.map +0 -1
  270. package/dist/development/src/migrations/2021-03-28-134000-timestamp.js +0 -27
  271. package/dist/development/src/migrations/2021-03-28-134000-timestamp.js.map +0 -1
  272. package/dist/development/src/migrations/2021-07-26-105000-project-config.cjs +0 -11
  273. package/dist/development/src/migrations/2021-07-26-105000-project-config.cjs.map +0 -1
  274. package/dist/development/src/migrations/2021-07-26-105000-project-config.js +0 -12
  275. package/dist/development/src/migrations/2021-07-26-105000-project-config.js.map +0 -1
  276. package/dist/development/src/migrations/2021-07-26-132000-project-secrets.cjs +0 -23
  277. package/dist/development/src/migrations/2021-07-26-132000-project-secrets.cjs.map +0 -1
  278. package/dist/development/src/migrations/2021-07-26-132000-project-secrets.js +0 -24
  279. package/dist/development/src/migrations/2021-07-26-132000-project-secrets.js.map +0 -1
  280. package/dist/development/src/migrations/2021-07-27-174000-project-alias-index.cjs +0 -9
  281. package/dist/development/src/migrations/2021-07-27-174000-project-alias-index.cjs.map +0 -1
  282. package/dist/development/src/migrations/2021-07-27-174000-project-alias-index.js +0 -10
  283. package/dist/development/src/migrations/2021-07-27-174000-project-alias-index.js.map +0 -1
  284. package/dist/development/src/migrations/2021-11-24-130000-person-password-null.cjs +0 -9
  285. package/dist/development/src/migrations/2021-11-24-130000-person-password-null.cjs.map +0 -1
  286. package/dist/development/src/migrations/2021-11-24-130000-person-password-null.js +0 -10
  287. package/dist/development/src/migrations/2021-11-24-130000-person-password-null.js.map +0 -1
  288. package/dist/development/src/migrations/2021-11-24-161500-mail-template-project-null.cjs +0 -17
  289. package/dist/development/src/migrations/2021-11-24-161500-mail-template-project-null.cjs.map +0 -1
  290. package/dist/development/src/migrations/2021-11-24-161500-mail-template-project-null.js +0 -18
  291. package/dist/development/src/migrations/2021-11-24-161500-mail-template-project-null.js.map +0 -1
  292. package/dist/development/src/migrations/2022-01-04-144000-person-unique-identity.cjs +0 -10
  293. package/dist/development/src/migrations/2022-01-04-144000-person-unique-identity.cjs.map +0 -1
  294. package/dist/development/src/migrations/2022-01-04-144000-person-unique-identity.js +0 -11
  295. package/dist/development/src/migrations/2022-01-04-144000-person-unique-identity.js.map +0 -1
  296. package/dist/development/src/migrations/2022-02-09-111800-fix-crypted.cjs +0 -21
  297. package/dist/development/src/migrations/2022-02-09-111800-fix-crypted.cjs.map +0 -1
  298. package/dist/development/src/migrations/2022-02-09-111800-fix-crypted.js +0 -22
  299. package/dist/development/src/migrations/2022-02-09-111800-fix-crypted.js.map +0 -1
  300. package/dist/development/src/migrations/2022-02-11-153000-idp-auto-sign-up.cjs +0 -10
  301. package/dist/development/src/migrations/2022-02-11-153000-idp-auto-sign-up.cjs.map +0 -1
  302. package/dist/development/src/migrations/2022-02-11-153000-idp-auto-sign-up.js +0 -11
  303. package/dist/development/src/migrations/2022-02-11-153000-idp-auto-sign-up.js.map +0 -1
  304. package/dist/development/src/migrations/2022-06-29-105000-person-idp.cjs +0 -22
  305. package/dist/development/src/migrations/2022-06-29-105000-person-idp.cjs.map +0 -1
  306. package/dist/development/src/migrations/2022-06-29-105000-person-idp.js +0 -23
  307. package/dist/development/src/migrations/2022-06-29-105000-person-idp.js.map +0 -1
  308. package/dist/development/src/migrations/2022-07-07-135000-person-email-opt-uniq.cjs +0 -11
  309. package/dist/development/src/migrations/2022-07-07-135000-person-email-opt-uniq.cjs.map +0 -1
  310. package/dist/development/src/migrations/2022-07-07-135000-person-email-opt-uniq.js +0 -12
  311. package/dist/development/src/migrations/2022-07-07-135000-person-email-opt-uniq.js.map +0 -1
  312. package/dist/development/src/migrations/2022-07-07-141000-person-display-name.cjs +0 -12
  313. package/dist/development/src/migrations/2022-07-07-141000-person-display-name.cjs.map +0 -1
  314. package/dist/development/src/migrations/2022-07-07-141000-person-display-name.js +0 -13
  315. package/dist/development/src/migrations/2022-07-07-141000-person-display-name.js.map +0 -1
  316. package/dist/development/src/migrations/2022-07-14-145000-person-login-options.cjs +0 -14
  317. package/dist/development/src/migrations/2022-07-14-145000-person-login-options.cjs.map +0 -1
  318. package/dist/development/src/migrations/2022-07-14-145000-person-login-options.js +0 -15
  319. package/dist/development/src/migrations/2022-07-14-145000-person-login-options.js.map +0 -1
  320. package/dist/development/src/migrations/2022-11-08-project-update-notification.cjs +0 -63
  321. package/dist/development/src/migrations/2022-11-08-project-update-notification.cjs.map +0 -1
  322. package/dist/development/src/migrations/2022-11-08-project-update-notification.js +0 -64
  323. package/dist/development/src/migrations/2022-11-08-project-update-notification.js.map +0 -1
  324. package/dist/development/src/migrations/2023-01-20-135500-person-email-normalize.cjs +0 -27
  325. package/dist/development/src/migrations/2023-01-20-135500-person-email-normalize.cjs.map +0 -1
  326. package/dist/development/src/migrations/2023-01-20-135500-person-email-normalize.js +0 -28
  327. package/dist/development/src/migrations/2023-01-20-135500-person-email-normalize.js.map +0 -1
  328. package/dist/development/src/migrations/2023-06-03-104000-person-disabled.cjs +0 -10
  329. package/dist/development/src/migrations/2023-06-03-104000-person-disabled.cjs.map +0 -1
  330. package/dist/development/src/migrations/2023-06-03-104000-person-disabled.js +0 -11
  331. package/dist/development/src/migrations/2023-06-03-104000-person-disabled.js.map +0 -1
  332. package/dist/development/src/migrations/2023-09-01-165000-idp-return-config.cjs +0 -10
  333. package/dist/development/src/migrations/2023-09-01-165000-idp-return-config.cjs.map +0 -1
  334. package/dist/development/src/migrations/2023-09-01-165000-idp-return-config.js +0 -11
  335. package/dist/development/src/migrations/2023-09-01-165000-idp-return-config.js.map +0 -1
  336. package/dist/development/src/migrations/2024-06-20-140000-mail-reply.cjs +0 -10
  337. package/dist/development/src/migrations/2024-06-20-140000-mail-reply.cjs.map +0 -1
  338. package/dist/development/src/migrations/2024-06-20-140000-mail-reply.js +0 -11
  339. package/dist/development/src/migrations/2024-06-20-140000-mail-reply.js.map +0 -1
  340. package/dist/development/src/migrations/2024-08-26-120000-passwordless.cjs +0 -31
  341. package/dist/development/src/migrations/2024-08-26-120000-passwordless.cjs.map +0 -1
  342. package/dist/development/src/migrations/2024-08-26-120000-passwordless.js +0 -32
  343. package/dist/development/src/migrations/2024-08-26-120000-passwordless.js.map +0 -1
  344. package/dist/development/src/migrations/2025-04-16-180000-config-up.cjs +0 -39
  345. package/dist/development/src/migrations/2025-04-16-180000-config-up.cjs.map +0 -1
  346. package/dist/development/src/migrations/2025-04-16-180000-config-up.js +0 -40
  347. package/dist/development/src/migrations/2025-04-16-180000-config-up.js.map +0 -1
  348. package/dist/development/src/migrations/2025-04-17-160000-auth-log.cjs +0 -45
  349. package/dist/development/src/migrations/2025-04-17-160000-auth-log.cjs.map +0 -1
  350. package/dist/development/src/migrations/2025-04-17-160000-auth-log.js +0 -46
  351. package/dist/development/src/migrations/2025-04-17-160000-auth-log.js.map +0 -1
  352. package/dist/development/src/migrations/runner.cjs +0 -131
  353. package/dist/development/src/migrations/runner.cjs.map +0 -1
  354. package/dist/development/src/migrations/runner.js +0 -131
  355. package/dist/development/src/migrations/runner.js.map +0 -1
  356. package/dist/development/src/migrations/snapshot.cjs +0 -287
  357. package/dist/development/src/migrations/snapshot.cjs.map +0 -1
  358. package/dist/development/src/migrations/snapshot.js +0 -288
  359. package/dist/development/src/migrations/snapshot.js.map +0 -1
  360. package/dist/development/src/migrations/tenantCredentials.cjs +0 -56
  361. package/dist/development/src/migrations/tenantCredentials.cjs.map +0 -1
  362. package/dist/development/src/migrations/tenantCredentials.js +0 -56
  363. package/dist/development/src/migrations/tenantCredentials.js.map +0 -1
  364. package/dist/development/src/model/authorization/AclSchemaAccessNodeFactory.cjs +0 -42
  365. package/dist/development/src/model/authorization/AclSchemaAccessNodeFactory.cjs.map +0 -1
  366. package/dist/development/src/model/authorization/AclSchemaAccessNodeFactory.js +0 -42
  367. package/dist/development/src/model/authorization/AclSchemaAccessNodeFactory.js.map +0 -1
  368. package/dist/development/src/model/authorization/DirectPermissionsAccessNode.cjs +0 -20
  369. package/dist/development/src/model/authorization/DirectPermissionsAccessNode.cjs.map +0 -1
  370. package/dist/development/src/model/authorization/DirectPermissionsAccessNode.js +0 -20
  371. package/dist/development/src/model/authorization/DirectPermissionsAccessNode.js.map +0 -1
  372. package/dist/development/src/model/authorization/Identity.cjs +0 -32
  373. package/dist/development/src/model/authorization/Identity.cjs.map +0 -1
  374. package/dist/development/src/model/authorization/Identity.js +0 -32
  375. package/dist/development/src/model/authorization/Identity.js.map +0 -1
  376. package/dist/development/src/model/authorization/IdentityFactory.cjs +0 -13
  377. package/dist/development/src/model/authorization/IdentityFactory.cjs.map +0 -1
  378. package/dist/development/src/model/authorization/IdentityFactory.js +0 -13
  379. package/dist/development/src/model/authorization/IdentityFactory.js.map +0 -1
  380. package/dist/development/src/model/authorization/IdentityScope.cjs +0 -14
  381. package/dist/development/src/model/authorization/IdentityScope.cjs.map +0 -1
  382. package/dist/development/src/model/authorization/IdentityScope.js +0 -14
  383. package/dist/development/src/model/authorization/IdentityScope.js.map +0 -1
  384. package/dist/development/src/model/authorization/MembershipMatcher.cjs +0 -45
  385. package/dist/development/src/model/authorization/MembershipMatcher.cjs.map +0 -1
  386. package/dist/development/src/model/authorization/MembershipMatcher.js +0 -45
  387. package/dist/development/src/model/authorization/MembershipMatcher.js.map +0 -1
  388. package/dist/development/src/model/authorization/PermissionActions.cjs +0 -61
  389. package/dist/development/src/model/authorization/PermissionActions.cjs.map +0 -1
  390. package/dist/development/src/model/authorization/PermissionActions.js +0 -62
  391. package/dist/development/src/model/authorization/PermissionActions.js.map +0 -1
  392. package/dist/development/src/model/authorization/PermissionContext.cjs +0 -46
  393. package/dist/development/src/model/authorization/PermissionContext.cjs.map +0 -1
  394. package/dist/development/src/model/authorization/PermissionContext.js +0 -46
  395. package/dist/development/src/model/authorization/PermissionContext.js.map +0 -1
  396. package/dist/development/src/model/authorization/PermissionContextFactory.cjs +0 -17
  397. package/dist/development/src/model/authorization/PermissionContextFactory.cjs.map +0 -1
  398. package/dist/development/src/model/authorization/PermissionContextFactory.js +0 -17
  399. package/dist/development/src/model/authorization/PermissionContextFactory.js.map +0 -1
  400. package/dist/development/src/model/authorization/PermissionsFactory.cjs +0 -67
  401. package/dist/development/src/model/authorization/PermissionsFactory.cjs.map +0 -1
  402. package/dist/development/src/model/authorization/PermissionsFactory.js +0 -67
  403. package/dist/development/src/model/authorization/PermissionsFactory.js.map +0 -1
  404. package/dist/development/src/model/authorization/ProjectScope.cjs +0 -30
  405. package/dist/development/src/model/authorization/ProjectScope.cjs.map +0 -1
  406. package/dist/development/src/model/authorization/ProjectScope.js +0 -30
  407. package/dist/development/src/model/authorization/ProjectScope.js.map +0 -1
  408. package/dist/development/src/model/authorization/ProjectScopeFactory.cjs +0 -17
  409. package/dist/development/src/model/authorization/ProjectScopeFactory.cjs.map +0 -1
  410. package/dist/development/src/model/authorization/ProjectScopeFactory.js +0 -17
  411. package/dist/development/src/model/authorization/ProjectScopeFactory.js.map +0 -1
  412. package/dist/development/src/model/authorization/Roles.cjs +0 -15
  413. package/dist/development/src/model/authorization/Roles.cjs.map +0 -1
  414. package/dist/development/src/model/authorization/Roles.js +0 -15
  415. package/dist/development/src/model/authorization/Roles.js.map +0 -1
  416. package/dist/development/src/model/commands/CommandBus.cjs +0 -18
  417. package/dist/development/src/model/commands/CommandBus.cjs.map +0 -1
  418. package/dist/development/src/model/commands/CommandBus.js +0 -18
  419. package/dist/development/src/model/commands/CommandBus.js.map +0 -1
  420. package/dist/development/src/model/commands/apiKey/ApiKeyHelper.cjs +0 -19
  421. package/dist/development/src/model/commands/apiKey/ApiKeyHelper.cjs.map +0 -1
  422. package/dist/development/src/model/commands/apiKey/ApiKeyHelper.js +0 -19
  423. package/dist/development/src/model/commands/apiKey/ApiKeyHelper.js.map +0 -1
  424. package/dist/development/src/model/commands/apiKey/CreateApiKeyCommand.cjs +0 -40
  425. package/dist/development/src/model/commands/apiKey/CreateApiKeyCommand.cjs.map +0 -1
  426. package/dist/development/src/model/commands/apiKey/CreateApiKeyCommand.js +0 -40
  427. package/dist/development/src/model/commands/apiKey/CreateApiKeyCommand.js.map +0 -1
  428. package/dist/development/src/model/commands/apiKey/DisableApiKeyCommand.cjs +0 -16
  429. package/dist/development/src/model/commands/apiKey/DisableApiKeyCommand.cjs.map +0 -1
  430. package/dist/development/src/model/commands/apiKey/DisableApiKeyCommand.js +0 -16
  431. package/dist/development/src/model/commands/apiKey/DisableApiKeyCommand.js.map +0 -1
  432. package/dist/development/src/model/commands/apiKey/DisableIdentityApiKeysCommand.cjs +0 -16
  433. package/dist/development/src/model/commands/apiKey/DisableIdentityApiKeysCommand.cjs.map +0 -1
  434. package/dist/development/src/model/commands/apiKey/DisableIdentityApiKeysCommand.js +0 -16
  435. package/dist/development/src/model/commands/apiKey/DisableIdentityApiKeysCommand.js.map +0 -1
  436. package/dist/development/src/model/commands/apiKey/DisableOneOffApiKeyCommand.cjs +0 -18
  437. package/dist/development/src/model/commands/apiKey/DisableOneOffApiKeyCommand.cjs.map +0 -1
  438. package/dist/development/src/model/commands/apiKey/DisableOneOffApiKeyCommand.js +0 -18
  439. package/dist/development/src/model/commands/apiKey/DisableOneOffApiKeyCommand.js.map +0 -1
  440. package/dist/development/src/model/commands/apiKey/ProlongApiKeyCommand.cjs +0 -31
  441. package/dist/development/src/model/commands/apiKey/ProlongApiKeyCommand.cjs.map +0 -1
  442. package/dist/development/src/model/commands/apiKey/ProlongApiKeyCommand.js +0 -31
  443. package/dist/development/src/model/commands/apiKey/ProlongApiKeyCommand.js.map +0 -1
  444. package/dist/development/src/model/commands/authLog/CreateAuthLogEntryCommand.cjs +0 -27
  445. package/dist/development/src/model/commands/authLog/CreateAuthLogEntryCommand.cjs.map +0 -1
  446. package/dist/development/src/model/commands/authLog/CreateAuthLogEntryCommand.js +0 -27
  447. package/dist/development/src/model/commands/authLog/CreateAuthLogEntryCommand.js.map +0 -1
  448. package/dist/development/src/model/commands/configuration/UpdateConfigurationCommand.cjs +0 -33
  449. package/dist/development/src/model/commands/configuration/UpdateConfigurationCommand.cjs.map +0 -1
  450. package/dist/development/src/model/commands/configuration/UpdateConfigurationCommand.js +0 -33
  451. package/dist/development/src/model/commands/configuration/UpdateConfigurationCommand.js.map +0 -1
  452. package/dist/development/src/model/commands/identity/CreateIdentityCommand.cjs +0 -22
  453. package/dist/development/src/model/commands/identity/CreateIdentityCommand.cjs.map +0 -1
  454. package/dist/development/src/model/commands/identity/CreateIdentityCommand.js +0 -22
  455. package/dist/development/src/model/commands/identity/CreateIdentityCommand.js.map +0 -1
  456. package/dist/development/src/model/commands/identity/PatchIdentityGlobalRoles.cjs +0 -24
  457. package/dist/development/src/model/commands/identity/PatchIdentityGlobalRoles.cjs.map +0 -1
  458. package/dist/development/src/model/commands/identity/PatchIdentityGlobalRoles.js +0 -24
  459. package/dist/development/src/model/commands/identity/PatchIdentityGlobalRoles.js.map +0 -1
  460. package/dist/development/src/model/commands/idp/CreateIdpCommand.cjs +0 -22
  461. package/dist/development/src/model/commands/idp/CreateIdpCommand.cjs.map +0 -1
  462. package/dist/development/src/model/commands/idp/CreateIdpCommand.js +0 -22
  463. package/dist/development/src/model/commands/idp/CreateIdpCommand.js.map +0 -1
  464. package/dist/development/src/model/commands/idp/DisableIdpCommand.cjs +0 -17
  465. package/dist/development/src/model/commands/idp/DisableIdpCommand.cjs.map +0 -1
  466. package/dist/development/src/model/commands/idp/DisableIdpCommand.js +0 -17
  467. package/dist/development/src/model/commands/idp/DisableIdpCommand.js.map +0 -1
  468. package/dist/development/src/model/commands/idp/EnableIdpCommand.cjs +0 -17
  469. package/dist/development/src/model/commands/idp/EnableIdpCommand.cjs.map +0 -1
  470. package/dist/development/src/model/commands/idp/EnableIdpCommand.js +0 -17
  471. package/dist/development/src/model/commands/idp/EnableIdpCommand.js.map +0 -1
  472. package/dist/development/src/model/commands/idp/UpdateIdpCommand.cjs +0 -22
  473. package/dist/development/src/model/commands/idp/UpdateIdpCommand.cjs.map +0 -1
  474. package/dist/development/src/model/commands/idp/UpdateIdpCommand.js +0 -22
  475. package/dist/development/src/model/commands/idp/UpdateIdpCommand.js.map +0 -1
  476. package/dist/development/src/model/commands/mailTemplate/AddMailTemplateCommand.cjs +0 -33
  477. package/dist/development/src/model/commands/mailTemplate/AddMailTemplateCommand.cjs.map +0 -1
  478. package/dist/development/src/model/commands/mailTemplate/AddMailTemplateCommand.js +0 -33
  479. package/dist/development/src/model/commands/mailTemplate/AddMailTemplateCommand.js.map +0 -1
  480. package/dist/development/src/model/commands/mailTemplate/RemoveMailTemplateCommand.cjs +0 -17
  481. package/dist/development/src/model/commands/mailTemplate/RemoveMailTemplateCommand.cjs.map +0 -1
  482. package/dist/development/src/model/commands/mailTemplate/RemoveMailTemplateCommand.js +0 -17
  483. package/dist/development/src/model/commands/mailTemplate/RemoveMailTemplateCommand.js.map +0 -1
  484. package/dist/development/src/model/commands/membership/AddProjectMemberCommand.cjs +0 -44
  485. package/dist/development/src/model/commands/membership/AddProjectMemberCommand.cjs.map +0 -1
  486. package/dist/development/src/model/commands/membership/AddProjectMemberCommand.js +0 -44
  487. package/dist/development/src/model/commands/membership/AddProjectMemberCommand.js.map +0 -1
  488. package/dist/development/src/model/commands/membership/CreateOrUpdateProjectMembershipCommand.cjs +0 -36
  489. package/dist/development/src/model/commands/membership/CreateOrUpdateProjectMembershipCommand.cjs.map +0 -1
  490. package/dist/development/src/model/commands/membership/CreateOrUpdateProjectMembershipCommand.js +0 -36
  491. package/dist/development/src/model/commands/membership/CreateOrUpdateProjectMembershipCommand.js.map +0 -1
  492. package/dist/development/src/model/commands/membership/RemoveProjectMemberCommand.cjs +0 -23
  493. package/dist/development/src/model/commands/membership/RemoveProjectMemberCommand.cjs.map +0 -1
  494. package/dist/development/src/model/commands/membership/RemoveProjectMemberCommand.js +0 -23
  495. package/dist/development/src/model/commands/membership/RemoveProjectMemberCommand.js.map +0 -1
  496. package/dist/development/src/model/commands/membership/RemoveProjectMembershipsCommand.cjs +0 -19
  497. package/dist/development/src/model/commands/membership/RemoveProjectMembershipsCommand.cjs.map +0 -1
  498. package/dist/development/src/model/commands/membership/RemoveProjectMembershipsCommand.js +0 -19
  499. package/dist/development/src/model/commands/membership/RemoveProjectMembershipsCommand.js.map +0 -1
  500. package/dist/development/src/model/commands/membership/UpdateProjectMemberCommand.cjs +0 -46
  501. package/dist/development/src/model/commands/membership/UpdateProjectMemberCommand.cjs.map +0 -1
  502. package/dist/development/src/model/commands/membership/UpdateProjectMemberCommand.js +0 -46
  503. package/dist/development/src/model/commands/membership/UpdateProjectMemberCommand.js.map +0 -1
  504. package/dist/development/src/model/commands/membership/variables/PatchProjectMembershipVariableValuesCommand.cjs +0 -33
  505. package/dist/development/src/model/commands/membership/variables/PatchProjectMembershipVariableValuesCommand.cjs.map +0 -1
  506. package/dist/development/src/model/commands/membership/variables/PatchProjectMembershipVariableValuesCommand.js +0 -33
  507. package/dist/development/src/model/commands/membership/variables/PatchProjectMembershipVariableValuesCommand.js.map +0 -1
  508. package/dist/development/src/model/commands/membership/variables/PatchProjectMembershipVariablesCommand.cjs +0 -30
  509. package/dist/development/src/model/commands/membership/variables/PatchProjectMembershipVariablesCommand.cjs.map +0 -1
  510. package/dist/development/src/model/commands/membership/variables/PatchProjectMembershipVariablesCommand.js +0 -30
  511. package/dist/development/src/model/commands/membership/variables/PatchProjectMembershipVariablesCommand.js.map +0 -1
  512. package/dist/development/src/model/commands/membership/variables/SetProjectMembershipVariableValuesCommand.cjs +0 -22
  513. package/dist/development/src/model/commands/membership/variables/SetProjectMembershipVariableValuesCommand.cjs.map +0 -1
  514. package/dist/development/src/model/commands/membership/variables/SetProjectMembershipVariableValuesCommand.js +0 -22
  515. package/dist/development/src/model/commands/membership/variables/SetProjectMembershipVariableValuesCommand.js.map +0 -1
  516. package/dist/development/src/model/commands/otp/ConfirmOtpCommand.cjs +0 -17
  517. package/dist/development/src/model/commands/otp/ConfirmOtpCommand.cjs.map +0 -1
  518. package/dist/development/src/model/commands/otp/ConfirmOtpCommand.js +0 -17
  519. package/dist/development/src/model/commands/otp/ConfirmOtpCommand.js.map +0 -1
  520. package/dist/development/src/model/commands/otp/DisableOtpCommand.cjs +0 -18
  521. package/dist/development/src/model/commands/otp/DisableOtpCommand.cjs.map +0 -1
  522. package/dist/development/src/model/commands/otp/DisableOtpCommand.js +0 -18
  523. package/dist/development/src/model/commands/otp/DisableOtpCommand.js.map +0 -1
  524. package/dist/development/src/model/commands/otp/PrepareOtpCommand.cjs +0 -19
  525. package/dist/development/src/model/commands/otp/PrepareOtpCommand.cjs.map +0 -1
  526. package/dist/development/src/model/commands/otp/PrepareOtpCommand.js +0 -19
  527. package/dist/development/src/model/commands/otp/PrepareOtpCommand.js.map +0 -1
  528. package/dist/development/src/model/commands/person/ChangePasswordCommand.cjs +0 -18
  529. package/dist/development/src/model/commands/person/ChangePasswordCommand.cjs.map +0 -1
  530. package/dist/development/src/model/commands/person/ChangePasswordCommand.js +0 -18
  531. package/dist/development/src/model/commands/person/ChangePasswordCommand.js.map +0 -1
  532. package/dist/development/src/model/commands/person/ChangeProfileCommand.cjs +0 -16
  533. package/dist/development/src/model/commands/person/ChangeProfileCommand.cjs.map +0 -1
  534. package/dist/development/src/model/commands/person/ChangeProfileCommand.js +0 -16
  535. package/dist/development/src/model/commands/person/ChangeProfileCommand.js.map +0 -1
  536. package/dist/development/src/model/commands/person/CreatePersonCommand.cjs +0 -36
  537. package/dist/development/src/model/commands/person/CreatePersonCommand.cjs.map +0 -1
  538. package/dist/development/src/model/commands/person/CreatePersonCommand.js +0 -36
  539. package/dist/development/src/model/commands/person/CreatePersonCommand.js.map +0 -1
  540. package/dist/development/src/model/commands/person/CreatePersonIdentityProviderIdentifierCommand.cjs +0 -21
  541. package/dist/development/src/model/commands/person/CreatePersonIdentityProviderIdentifierCommand.cjs.map +0 -1
  542. package/dist/development/src/model/commands/person/CreatePersonIdentityProviderIdentifierCommand.js +0 -21
  543. package/dist/development/src/model/commands/person/CreatePersonIdentityProviderIdentifierCommand.js.map +0 -1
  544. package/dist/development/src/model/commands/person/DisablePersonCommand.cjs +0 -17
  545. package/dist/development/src/model/commands/person/DisablePersonCommand.cjs.map +0 -1
  546. package/dist/development/src/model/commands/person/DisablePersonCommand.js +0 -17
  547. package/dist/development/src/model/commands/person/DisablePersonCommand.js.map +0 -1
  548. package/dist/development/src/model/commands/person/TogglePersonPasswordlessCommand.cjs +0 -18
  549. package/dist/development/src/model/commands/person/TogglePersonPasswordlessCommand.cjs.map +0 -1
  550. package/dist/development/src/model/commands/person/TogglePersonPasswordlessCommand.js +0 -18
  551. package/dist/development/src/model/commands/person/TogglePersonPasswordlessCommand.js.map +0 -1
  552. package/dist/development/src/model/commands/personToken/ActivateOtpCommand.cjs +0 -20
  553. package/dist/development/src/model/commands/personToken/ActivateOtpCommand.cjs.map +0 -1
  554. package/dist/development/src/model/commands/personToken/ActivateOtpCommand.js +0 -20
  555. package/dist/development/src/model/commands/personToken/ActivateOtpCommand.js.map +0 -1
  556. package/dist/development/src/model/commands/personToken/CreatePersonTokenCommand.cjs +0 -33
  557. package/dist/development/src/model/commands/personToken/CreatePersonTokenCommand.cjs.map +0 -1
  558. package/dist/development/src/model/commands/personToken/CreatePersonTokenCommand.js +0 -33
  559. package/dist/development/src/model/commands/personToken/CreatePersonTokenCommand.js.map +0 -1
  560. package/dist/development/src/model/commands/personToken/IncreaseOtpAttemptCommand.cjs +0 -19
  561. package/dist/development/src/model/commands/personToken/IncreaseOtpAttemptCommand.cjs.map +0 -1
  562. package/dist/development/src/model/commands/personToken/IncreaseOtpAttemptCommand.js +0 -19
  563. package/dist/development/src/model/commands/personToken/IncreaseOtpAttemptCommand.js.map +0 -1
  564. package/dist/development/src/model/commands/personToken/InvalidateTokenCommand.cjs +0 -19
  565. package/dist/development/src/model/commands/personToken/InvalidateTokenCommand.cjs.map +0 -1
  566. package/dist/development/src/model/commands/personToken/InvalidateTokenCommand.js +0 -19
  567. package/dist/development/src/model/commands/personToken/InvalidateTokenCommand.js.map +0 -1
  568. package/dist/development/src/model/commands/personToken/ResetPasswordCommand.cjs +0 -28
  569. package/dist/development/src/model/commands/personToken/ResetPasswordCommand.cjs.map +0 -1
  570. package/dist/development/src/model/commands/personToken/ResetPasswordCommand.js +0 -28
  571. package/dist/development/src/model/commands/personToken/ResetPasswordCommand.js.map +0 -1
  572. package/dist/development/src/model/commands/personToken/SavePersonTokenCommand.cjs +0 -28
  573. package/dist/development/src/model/commands/personToken/SavePersonTokenCommand.cjs.map +0 -1
  574. package/dist/development/src/model/commands/personToken/SavePersonTokenCommand.js +0 -28
  575. package/dist/development/src/model/commands/personToken/SavePersonTokenCommand.js.map +0 -1
  576. package/dist/development/src/model/commands/project/CreateProjectCommand.cjs +0 -22
  577. package/dist/development/src/model/commands/project/CreateProjectCommand.cjs.map +0 -1
  578. package/dist/development/src/model/commands/project/CreateProjectCommand.js +0 -22
  579. package/dist/development/src/model/commands/project/CreateProjectCommand.js.map +0 -1
  580. package/dist/development/src/model/commands/project/SetProjectSecretCommand.cjs +0 -30
  581. package/dist/development/src/model/commands/project/SetProjectSecretCommand.cjs.map +0 -1
  582. package/dist/development/src/model/commands/project/SetProjectSecretCommand.js +0 -30
  583. package/dist/development/src/model/commands/project/SetProjectSecretCommand.js.map +0 -1
  584. package/dist/development/src/model/commands/project/UpdateProjectCommand.cjs +0 -25
  585. package/dist/development/src/model/commands/project/UpdateProjectCommand.cjs.map +0 -1
  586. package/dist/development/src/model/commands/project/UpdateProjectCommand.js +0 -25
  587. package/dist/development/src/model/commands/project/UpdateProjectCommand.js.map +0 -1
  588. package/dist/development/src/model/consts/expirations.cjs +0 -7
  589. package/dist/development/src/model/consts/expirations.cjs.map +0 -1
  590. package/dist/development/src/model/consts/expirations.js +0 -7
  591. package/dist/development/src/model/consts/expirations.js.map +0 -1
  592. package/dist/development/src/model/dtos/Password.cjs +0 -32
  593. package/dist/development/src/model/dtos/Password.cjs.map +0 -1
  594. package/dist/development/src/model/dtos/Password.js +0 -32
  595. package/dist/development/src/model/dtos/Password.js.map +0 -1
  596. package/dist/development/src/model/mailing/UserMailer.cjs +0 -81
  597. package/dist/development/src/model/mailing/UserMailer.cjs.map +0 -1
  598. package/dist/development/src/model/mailing/UserMailer.js +0 -81
  599. package/dist/development/src/model/mailing/UserMailer.js.map +0 -1
  600. package/dist/development/src/model/mailing/templates/ExistingUserInvited.mustache.cjs +0 -8
  601. package/dist/development/src/model/mailing/templates/ExistingUserInvited.mustache.cjs.map +0 -1
  602. package/dist/development/src/model/mailing/templates/ExistingUserInvited.mustache.js +0 -9
  603. package/dist/development/src/model/mailing/templates/ExistingUserInvited.mustache.js.map +0 -1
  604. package/dist/development/src/model/mailing/templates/Layout.mustache.cjs +0 -10
  605. package/dist/development/src/model/mailing/templates/Layout.mustache.cjs.map +0 -1
  606. package/dist/development/src/model/mailing/templates/Layout.mustache.js +0 -11
  607. package/dist/development/src/model/mailing/templates/Layout.mustache.js.map +0 -1
  608. package/dist/development/src/model/mailing/templates/NewUserInvited.mustache.cjs +0 -19
  609. package/dist/development/src/model/mailing/templates/NewUserInvited.mustache.cjs.map +0 -1
  610. package/dist/development/src/model/mailing/templates/NewUserInvited.mustache.js +0 -20
  611. package/dist/development/src/model/mailing/templates/NewUserInvited.mustache.js.map +0 -1
  612. package/dist/development/src/model/mailing/templates/PasswordReset.mustache.cjs +0 -12
  613. package/dist/development/src/model/mailing/templates/PasswordReset.mustache.cjs.map +0 -1
  614. package/dist/development/src/model/mailing/templates/PasswordReset.mustache.js +0 -13
  615. package/dist/development/src/model/mailing/templates/PasswordReset.mustache.js.map +0 -1
  616. package/dist/development/src/model/mailing/templates/PasswordlessSignIn.mustache.cjs +0 -17
  617. package/dist/development/src/model/mailing/templates/PasswordlessSignIn.mustache.cjs.map +0 -1
  618. package/dist/development/src/model/mailing/templates/PasswordlessSignIn.mustache.js +0 -18
  619. package/dist/development/src/model/mailing/templates/PasswordlessSignIn.mustache.js.map +0 -1
  620. package/dist/development/src/model/mailing/type.cjs +0 -42
  621. package/dist/development/src/model/mailing/type.cjs.map +0 -1
  622. package/dist/development/src/model/mailing/type.js +0 -42
  623. package/dist/development/src/model/mailing/type.js.map +0 -1
  624. package/dist/development/src/model/queries/apiKey/ApiKeyQuery.cjs +0 -44
  625. package/dist/development/src/model/queries/apiKey/ApiKeyQuery.cjs.map +0 -1
  626. package/dist/development/src/model/queries/apiKey/ApiKeyQuery.js +0 -44
  627. package/dist/development/src/model/queries/apiKey/ApiKeyQuery.js.map +0 -1
  628. package/dist/development/src/model/queries/authLog/NextLoginAttemptQuery.cjs +0 -46
  629. package/dist/development/src/model/queries/authLog/NextLoginAttemptQuery.cjs.map +0 -1
  630. package/dist/development/src/model/queries/authLog/NextLoginAttemptQuery.js +0 -46
  631. package/dist/development/src/model/queries/authLog/NextLoginAttemptQuery.js.map +0 -1
  632. package/dist/development/src/model/queries/configuration/ConfigurationQuery.cjs +0 -38
  633. package/dist/development/src/model/queries/configuration/ConfigurationQuery.cjs.map +0 -1
  634. package/dist/development/src/model/queries/configuration/ConfigurationQuery.js +0 -38
  635. package/dist/development/src/model/queries/configuration/ConfigurationQuery.js.map +0 -1
  636. package/dist/development/src/model/queries/identity/IdentityQuery.cjs +0 -15
  637. package/dist/development/src/model/queries/identity/IdentityQuery.cjs.map +0 -1
  638. package/dist/development/src/model/queries/identity/IdentityQuery.js +0 -15
  639. package/dist/development/src/model/queries/identity/IdentityQuery.js.map +0 -1
  640. package/dist/development/src/model/queries/idp/IdentityProviderBySlugQuery.cjs +0 -18
  641. package/dist/development/src/model/queries/idp/IdentityProviderBySlugQuery.cjs.map +0 -1
  642. package/dist/development/src/model/queries/idp/IdentityProviderBySlugQuery.js +0 -18
  643. package/dist/development/src/model/queries/idp/IdentityProviderBySlugQuery.js.map +0 -1
  644. package/dist/development/src/model/queries/idp/IdentityProvidersQuery.cjs +0 -11
  645. package/dist/development/src/model/queries/idp/IdentityProvidersQuery.cjs.map +0 -1
  646. package/dist/development/src/model/queries/idp/IdentityProvidersQuery.js +0 -11
  647. package/dist/development/src/model/queries/idp/IdentityProvidersQuery.js.map +0 -1
  648. package/dist/development/src/model/queries/idp/helpers.cjs +0 -13
  649. package/dist/development/src/model/queries/idp/helpers.cjs.map +0 -1
  650. package/dist/development/src/model/queries/idp/helpers.js +0 -13
  651. package/dist/development/src/model/queries/idp/helpers.js.map +0 -1
  652. package/dist/development/src/model/queries/mailTemplate/MailTemplateListQuery.cjs +0 -11
  653. package/dist/development/src/model/queries/mailTemplate/MailTemplateListQuery.cjs.map +0 -1
  654. package/dist/development/src/model/queries/mailTemplate/MailTemplateListQuery.js +0 -11
  655. package/dist/development/src/model/queries/mailTemplate/MailTemplateListQuery.js.map +0 -1
  656. package/dist/development/src/model/queries/mailTemplate/MailTemplateQuery.cjs +0 -20
  657. package/dist/development/src/model/queries/mailTemplate/MailTemplateQuery.cjs.map +0 -1
  658. package/dist/development/src/model/queries/mailTemplate/MailTemplateQuery.js +0 -20
  659. package/dist/development/src/model/queries/mailTemplate/MailTemplateQuery.js.map +0 -1
  660. package/dist/development/src/model/queries/mailTemplate/helpers.cjs +0 -6
  661. package/dist/development/src/model/queries/mailTemplate/helpers.cjs.map +0 -1
  662. package/dist/development/src/model/queries/mailTemplate/helpers.js +0 -6
  663. package/dist/development/src/model/queries/mailTemplate/helpers.js.map +0 -1
  664. package/dist/development/src/model/queries/membership/ProjectMembersQuery.cjs +0 -34
  665. package/dist/development/src/model/queries/membership/ProjectMembersQuery.cjs.map +0 -1
  666. package/dist/development/src/model/queries/membership/ProjectMembersQuery.js +0 -34
  667. package/dist/development/src/model/queries/membership/ProjectMembersQuery.js.map +0 -1
  668. package/dist/development/src/model/queries/membership/ProjectMembershipByIdentityQuery.cjs +0 -32
  669. package/dist/development/src/model/queries/membership/ProjectMembershipByIdentityQuery.cjs.map +0 -1
  670. package/dist/development/src/model/queries/membership/ProjectMembershipByIdentityQuery.js +0 -32
  671. package/dist/development/src/model/queries/membership/ProjectMembershipByIdentityQuery.js.map +0 -1
  672. package/dist/development/src/model/queries/membership/ProjectRolesByIdentityQuery.cjs +0 -23
  673. package/dist/development/src/model/queries/membership/ProjectRolesByIdentityQuery.cjs.map +0 -1
  674. package/dist/development/src/model/queries/membership/ProjectRolesByIdentityQuery.js +0 -23
  675. package/dist/development/src/model/queries/membership/ProjectRolesByIdentityQuery.js.map +0 -1
  676. package/dist/development/src/model/queries/membership/ProjectSlugSpecification.cjs +0 -8
  677. package/dist/development/src/model/queries/membership/ProjectSlugSpecification.cjs.map +0 -1
  678. package/dist/development/src/model/queries/membership/ProjectSlugSpecification.js +0 -8
  679. package/dist/development/src/model/queries/membership/ProjectSlugSpecification.js.map +0 -1
  680. package/dist/development/src/model/queries/person/PersonByIdPQuery.cjs +0 -20
  681. package/dist/development/src/model/queries/person/PersonByIdPQuery.cjs.map +0 -1
  682. package/dist/development/src/model/queries/person/PersonByIdPQuery.js +0 -20
  683. package/dist/development/src/model/queries/person/PersonByIdPQuery.js.map +0 -1
  684. package/dist/development/src/model/queries/person/PersonByIdentityBatchQuery.cjs +0 -16
  685. package/dist/development/src/model/queries/person/PersonByIdentityBatchQuery.cjs.map +0 -1
  686. package/dist/development/src/model/queries/person/PersonByIdentityBatchQuery.js +0 -16
  687. package/dist/development/src/model/queries/person/PersonByIdentityBatchQuery.js.map +0 -1
  688. package/dist/development/src/model/queries/person/PersonQuery.cjs +0 -57
  689. package/dist/development/src/model/queries/person/PersonQuery.cjs.map +0 -1
  690. package/dist/development/src/model/queries/person/PersonQuery.js +0 -57
  691. package/dist/development/src/model/queries/person/PersonQuery.js.map +0 -1
  692. package/dist/development/src/model/queries/person/PersonQueryBuilderFactory.cjs +0 -10
  693. package/dist/development/src/model/queries/person/PersonQueryBuilderFactory.cjs.map +0 -1
  694. package/dist/development/src/model/queries/person/PersonQueryBuilderFactory.js +0 -10
  695. package/dist/development/src/model/queries/person/PersonQueryBuilderFactory.js.map +0 -1
  696. package/dist/development/src/model/queries/personToken/PersonTokenQuery.cjs +0 -29
  697. package/dist/development/src/model/queries/personToken/PersonTokenQuery.cjs.map +0 -1
  698. package/dist/development/src/model/queries/personToken/PersonTokenQuery.js +0 -29
  699. package/dist/development/src/model/queries/personToken/PersonTokenQuery.js.map +0 -1
  700. package/dist/development/src/model/queries/project/ProjectBySlugQuery.cjs +0 -24
  701. package/dist/development/src/model/queries/project/ProjectBySlugQuery.cjs.map +0 -1
  702. package/dist/development/src/model/queries/project/ProjectBySlugQuery.js +0 -24
  703. package/dist/development/src/model/queries/project/ProjectBySlugQuery.js.map +0 -1
  704. package/dist/development/src/model/queries/project/ProjectSecretsQuery.cjs +0 -28
  705. package/dist/development/src/model/queries/project/ProjectSecretsQuery.cjs.map +0 -1
  706. package/dist/development/src/model/queries/project/ProjectSecretsQuery.js +0 -28
  707. package/dist/development/src/model/queries/project/ProjectSecretsQuery.js.map +0 -1
  708. package/dist/development/src/model/queries/project/ProjectUpdateTimestampQuery.cjs +0 -17
  709. package/dist/development/src/model/queries/project/ProjectUpdateTimestampQuery.cjs.map +0 -1
  710. package/dist/development/src/model/queries/project/ProjectUpdateTimestampQuery.js +0 -17
  711. package/dist/development/src/model/queries/project/ProjectUpdateTimestampQuery.js.map +0 -1
  712. package/dist/development/src/model/queries/project/ProjectsByIdentityQuery.cjs +0 -43
  713. package/dist/development/src/model/queries/project/ProjectsByIdentityQuery.cjs.map +0 -1
  714. package/dist/development/src/model/queries/project/ProjectsByIdentityQuery.js +0 -43
  715. package/dist/development/src/model/queries/project/ProjectsByIdentityQuery.js.map +0 -1
  716. package/dist/development/src/model/queries/project/ProjectsQuery.cjs +0 -10
  717. package/dist/development/src/model/queries/project/ProjectsQuery.cjs.map +0 -1
  718. package/dist/development/src/model/queries/project/ProjectsQuery.js +0 -10
  719. package/dist/development/src/model/queries/project/ProjectsQuery.js.map +0 -1
  720. package/dist/development/src/model/service/AuthLogService.cjs +0 -34
  721. package/dist/development/src/model/service/AuthLogService.cjs.map +0 -1
  722. package/dist/development/src/model/service/AuthLogService.js +0 -34
  723. package/dist/development/src/model/service/AuthLogService.js.map +0 -1
  724. package/dist/development/src/model/service/ConfigurationManager.cjs +0 -17
  725. package/dist/development/src/model/service/ConfigurationManager.cjs.map +0 -1
  726. package/dist/development/src/model/service/ConfigurationManager.js +0 -17
  727. package/dist/development/src/model/service/ConfigurationManager.js.map +0 -1
  728. package/dist/development/src/model/service/EmailValidator.cjs +0 -29
  729. package/dist/development/src/model/service/EmailValidator.cjs.map +0 -1
  730. package/dist/development/src/model/service/EmailValidator.js +0 -29
  731. package/dist/development/src/model/service/EmailValidator.js.map +0 -1
  732. package/dist/development/src/model/service/IDPSignInManager.cjs +0 -160
  733. package/dist/development/src/model/service/IDPSignInManager.cjs.map +0 -1
  734. package/dist/development/src/model/service/IDPSignInManager.js +0 -160
  735. package/dist/development/src/model/service/IDPSignInManager.js.map +0 -1
  736. package/dist/development/src/model/service/InviteManager.cjs +0 -101
  737. package/dist/development/src/model/service/InviteManager.cjs.map +0 -1
  738. package/dist/development/src/model/service/InviteManager.js +0 -101
  739. package/dist/development/src/model/service/InviteManager.js.map +0 -1
  740. package/dist/development/src/model/service/MailTemplateManager.cjs +0 -17
  741. package/dist/development/src/model/service/MailTemplateManager.cjs.map +0 -1
  742. package/dist/development/src/model/service/MailTemplateManager.js +0 -17
  743. package/dist/development/src/model/service/MailTemplateManager.js.map +0 -1
  744. package/dist/development/src/model/service/MembershipValidator.cjs +0 -26
  745. package/dist/development/src/model/service/MembershipValidator.cjs.map +0 -1
  746. package/dist/development/src/model/service/MembershipValidator.js +0 -21
  747. package/dist/development/src/model/service/MembershipValidator.js.map +0 -1
  748. package/dist/development/src/model/service/OtpAuthenticator.cjs +0 -42
  749. package/dist/development/src/model/service/OtpAuthenticator.cjs.map +0 -1
  750. package/dist/development/src/model/service/OtpAuthenticator.js +0 -42
  751. package/dist/development/src/model/service/OtpAuthenticator.js.map +0 -1
  752. package/dist/development/src/model/service/OtpManager.cjs +0 -38
  753. package/dist/development/src/model/service/OtpManager.cjs.map +0 -1
  754. package/dist/development/src/model/service/OtpManager.js +0 -38
  755. package/dist/development/src/model/service/OtpManager.js.map +0 -1
  756. package/dist/development/src/model/service/PasswordChangeManager.cjs +0 -46
  757. package/dist/development/src/model/service/PasswordChangeManager.cjs.map +0 -1
  758. package/dist/development/src/model/service/PasswordChangeManager.js +0 -46
  759. package/dist/development/src/model/service/PasswordChangeManager.js.map +0 -1
  760. package/dist/development/src/model/service/PasswordResetManager.cjs +0 -77
  761. package/dist/development/src/model/service/PasswordResetManager.cjs.map +0 -1
  762. package/dist/development/src/model/service/PasswordResetManager.js +0 -77
  763. package/dist/development/src/model/service/PasswordResetManager.js.map +0 -1
  764. package/dist/development/src/model/service/PasswordStrengthValidator.cjs +0 -63
  765. package/dist/development/src/model/service/PasswordStrengthValidator.cjs.map +0 -1
  766. package/dist/development/src/model/service/PasswordStrengthValidator.js +0 -63
  767. package/dist/development/src/model/service/PasswordStrengthValidator.js.map +0 -1
  768. package/dist/development/src/model/service/PasswordlessSignInManager.cjs +0 -201
  769. package/dist/development/src/model/service/PasswordlessSignInManager.cjs.map +0 -1
  770. package/dist/development/src/model/service/PasswordlessSignInManager.js +0 -201
  771. package/dist/development/src/model/service/PasswordlessSignInManager.js.map +0 -1
  772. package/dist/development/src/model/service/PersonAccessManager.cjs +0 -27
  773. package/dist/development/src/model/service/PersonAccessManager.cjs.map +0 -1
  774. package/dist/development/src/model/service/PersonAccessManager.js +0 -27
  775. package/dist/development/src/model/service/PersonAccessManager.js.map +0 -1
  776. package/dist/development/src/model/service/PersonManager.cjs +0 -41
  777. package/dist/development/src/model/service/PersonManager.cjs.map +0 -1
  778. package/dist/development/src/model/service/PersonManager.js +0 -41
  779. package/dist/development/src/model/service/PersonManager.js.map +0 -1
  780. package/dist/development/src/model/service/ProjectManager.cjs +0 -102
  781. package/dist/development/src/model/service/ProjectManager.cjs.map +0 -1
  782. package/dist/development/src/model/service/ProjectManager.js +0 -102
  783. package/dist/development/src/model/service/ProjectManager.js.map +0 -1
  784. package/dist/development/src/model/service/ProjectMemberManager.cjs +0 -120
  785. package/dist/development/src/model/service/ProjectMemberManager.cjs.map +0 -1
  786. package/dist/development/src/model/service/ProjectMemberManager.js +0 -120
  787. package/dist/development/src/model/service/ProjectMemberManager.js.map +0 -1
  788. package/dist/development/src/model/service/RolesManager.cjs +0 -42
  789. package/dist/development/src/model/service/RolesManager.cjs.map +0 -1
  790. package/dist/development/src/model/service/RolesManager.js +0 -42
  791. package/dist/development/src/model/service/RolesManager.js.map +0 -1
  792. package/dist/development/src/model/service/SecretsManager.cjs +0 -41
  793. package/dist/development/src/model/service/SecretsManager.cjs.map +0 -1
  794. package/dist/development/src/model/service/SecretsManager.js +0 -41
  795. package/dist/development/src/model/service/SecretsManager.js.map +0 -1
  796. package/dist/development/src/model/service/SignInManager.cjs +0 -96
  797. package/dist/development/src/model/service/SignInManager.cjs.map +0 -1
  798. package/dist/development/src/model/service/SignInManager.js +0 -96
  799. package/dist/development/src/model/service/SignInManager.js.map +0 -1
  800. package/dist/development/src/model/service/SignUpManager.cjs +0 -49
  801. package/dist/development/src/model/service/SignUpManager.cjs.map +0 -1
  802. package/dist/development/src/model/service/SignUpManager.js +0 -49
  803. package/dist/development/src/model/service/SignUpManager.js.map +0 -1
  804. package/dist/development/src/model/service/apiKey/ApiKeyManager.cjs +0 -109
  805. package/dist/development/src/model/service/apiKey/ApiKeyManager.cjs.map +0 -1
  806. package/dist/development/src/model/service/apiKey/ApiKeyManager.js +0 -109
  807. package/dist/development/src/model/service/apiKey/ApiKeyManager.js.map +0 -1
  808. package/dist/development/src/model/service/apiKey/ApiKeyService.cjs +0 -47
  809. package/dist/development/src/model/service/apiKey/ApiKeyService.cjs.map +0 -1
  810. package/dist/development/src/model/service/apiKey/ApiKeyService.js +0 -47
  811. package/dist/development/src/model/service/apiKey/ApiKeyService.js.map +0 -1
  812. package/dist/development/src/model/service/helpers/getPreferredProject.cjs +0 -13
  813. package/dist/development/src/model/service/helpers/getPreferredProject.cjs.map +0 -1
  814. package/dist/development/src/model/service/helpers/getPreferredProject.js +0 -13
  815. package/dist/development/src/model/service/helpers/getPreferredProject.js.map +0 -1
  816. package/dist/development/src/model/service/idp/IDPHandlerRegistry.cjs +0 -26
  817. package/dist/development/src/model/service/idp/IDPHandlerRegistry.cjs.map +0 -1
  818. package/dist/development/src/model/service/idp/IDPHandlerRegistry.js +0 -26
  819. package/dist/development/src/model/service/idp/IDPHandlerRegistry.js.map +0 -1
  820. package/dist/development/src/model/service/idp/IDPManager.cjs +0 -121
  821. package/dist/development/src/model/service/idp/IDPManager.cjs.map +0 -1
  822. package/dist/development/src/model/service/idp/IDPManager.js +0 -121
  823. package/dist/development/src/model/service/idp/IDPManager.js.map +0 -1
  824. package/dist/development/src/model/service/idp/IDPResponseError.cjs +0 -9
  825. package/dist/development/src/model/service/idp/IDPResponseError.cjs.map +0 -1
  826. package/dist/development/src/model/service/idp/IDPResponseError.js +0 -9
  827. package/dist/development/src/model/service/idp/IDPResponseError.js.map +0 -1
  828. package/dist/development/src/model/service/idp/IDPValidationError.cjs +0 -9
  829. package/dist/development/src/model/service/idp/IDPValidationError.cjs.map +0 -1
  830. package/dist/development/src/model/service/idp/IDPValidationError.js +0 -9
  831. package/dist/development/src/model/service/idp/IDPValidationError.js.map +0 -1
  832. package/dist/development/src/model/service/idp/IdentityProviderNotFoundError.cjs +0 -9
  833. package/dist/development/src/model/service/idp/IdentityProviderNotFoundError.cjs.map +0 -1
  834. package/dist/development/src/model/service/idp/IdentityProviderNotFoundError.js +0 -9
  835. package/dist/development/src/model/service/idp/IdentityProviderNotFoundError.js.map +0 -1
  836. package/dist/development/src/model/service/idp/InvalidIDPConfigurationError.cjs +0 -9
  837. package/dist/development/src/model/service/idp/InvalidIDPConfigurationError.cjs.map +0 -1
  838. package/dist/development/src/model/service/idp/InvalidIDPConfigurationError.js +0 -9
  839. package/dist/development/src/model/service/idp/InvalidIDPConfigurationError.js.map +0 -1
  840. package/dist/development/src/model/service/idp/providers/AppleProvider.cjs +0 -81
  841. package/dist/development/src/model/service/idp/providers/AppleProvider.cjs.map +0 -1
  842. package/dist/development/src/model/service/idp/providers/AppleProvider.js +0 -64
  843. package/dist/development/src/model/service/idp/providers/AppleProvider.js.map +0 -1
  844. package/dist/development/src/model/service/idp/providers/FacebookProvider.cjs +0 -142
  845. package/dist/development/src/model/service/idp/providers/FacebookProvider.cjs.map +0 -1
  846. package/dist/development/src/model/service/idp/providers/FacebookProvider.js +0 -125
  847. package/dist/development/src/model/service/idp/providers/FacebookProvider.js.map +0 -1
  848. package/dist/development/src/model/service/idp/providers/OIDCHelpers.cjs +0 -54
  849. package/dist/development/src/model/service/idp/providers/OIDCHelpers.cjs.map +0 -1
  850. package/dist/development/src/model/service/idp/providers/OIDCHelpers.js +0 -54
  851. package/dist/development/src/model/service/idp/providers/OIDCHelpers.js.map +0 -1
  852. package/dist/development/src/model/service/idp/providers/OIDCProvider.cjs +0 -59
  853. package/dist/development/src/model/service/idp/providers/OIDCProvider.cjs.map +0 -1
  854. package/dist/development/src/model/service/idp/providers/OIDCProvider.js +0 -59
  855. package/dist/development/src/model/service/idp/providers/OIDCProvider.js.map +0 -1
  856. package/dist/development/src/model/service/idp/providers/OIDCTypes.cjs +0 -76
  857. package/dist/development/src/model/service/idp/providers/OIDCTypes.cjs.map +0 -1
  858. package/dist/development/src/model/service/idp/providers/OIDCTypes.js +0 -59
  859. package/dist/development/src/model/service/idp/providers/OIDCTypes.js.map +0 -1
  860. package/dist/development/src/model/service/idp/providers/helpers.cjs +0 -32
  861. package/dist/development/src/model/service/idp/providers/helpers.cjs.map +0 -1
  862. package/dist/development/src/model/service/idp/providers/helpers.js +0 -15
  863. package/dist/development/src/model/service/idp/providers/helpers.js.map +0 -1
  864. package/dist/development/src/model/service/membershipUtils.cjs +0 -75
  865. package/dist/development/src/model/service/membershipUtils.cjs.map +0 -1
  866. package/dist/development/src/model/service/membershipUtils.js +0 -75
  867. package/dist/development/src/model/service/membershipUtils.js.map +0 -1
  868. package/dist/development/src/model/type/ApiKey.cjs +0 -11
  869. package/dist/development/src/model/type/ApiKey.cjs.map +0 -1
  870. package/dist/development/src/model/type/ApiKey.js +0 -12
  871. package/dist/development/src/model/type/ApiKey.js.map +0 -1
  872. package/dist/development/src/model/utils/DatabaseContext.cjs +0 -45
  873. package/dist/development/src/model/utils/DatabaseContext.cjs.map +0 -1
  874. package/dist/development/src/model/utils/DatabaseContext.js +0 -45
  875. package/dist/development/src/model/utils/DatabaseContext.js.map +0 -1
  876. package/dist/development/src/model/utils/Response.cjs +0 -22
  877. package/dist/development/src/model/utils/Response.cjs.map +0 -1
  878. package/dist/development/src/model/utils/Response.js +0 -22
  879. package/dist/development/src/model/utils/Response.js.map +0 -1
  880. package/dist/development/src/model/utils/blacklist.cjs +0 -10006
  881. package/dist/development/src/model/utils/blacklist.cjs.map +0 -1
  882. package/dist/development/src/model/utils/blacklist.js +0 -10006
  883. package/dist/development/src/model/utils/blacklist.js.map +0 -1
  884. package/dist/development/src/model/utils/email.cjs +0 -11
  885. package/dist/development/src/model/utils/email.cjs.map +0 -1
  886. package/dist/development/src/model/utils/email.js +0 -11
  887. package/dist/development/src/model/utils/email.js.map +0 -1
  888. package/dist/development/src/model/utils/hex.cjs +0 -6
  889. package/dist/development/src/model/utils/hex.cjs.map +0 -1
  890. package/dist/development/src/model/utils/hex.js +0 -6
  891. package/dist/development/src/model/utils/hex.js.map +0 -1
  892. package/dist/development/src/model/utils/interval.cjs +0 -8
  893. package/dist/development/src/model/utils/interval.cjs.map +0 -1
  894. package/dist/development/src/model/utils/interval.js +0 -8
  895. package/dist/development/src/model/utils/interval.js.map +0 -1
  896. package/dist/development/src/model/utils/time.cjs +0 -7
  897. package/dist/development/src/model/utils/time.cjs.map +0 -1
  898. package/dist/development/src/model/utils/time.js +0 -7
  899. package/dist/development/src/model/utils/time.js.map +0 -1
  900. package/dist/development/src/model/utils/token.cjs +0 -54
  901. package/dist/development/src/model/utils/token.cjs.map +0 -1
  902. package/dist/development/src/model/utils/token.js +0 -54
  903. package/dist/development/src/model/utils/token.js.map +0 -1
  904. package/dist/development/src/resolvers/ResolverFactory.cjs +0 -85
  905. package/dist/development/src/resolvers/ResolverFactory.cjs.map +0 -1
  906. package/dist/development/src/resolvers/ResolverFactory.js +0 -85
  907. package/dist/development/src/resolvers/ResolverFactory.js.map +0 -1
  908. package/dist/development/src/resolvers/TenantResolverContextFactory.cjs +0 -38
  909. package/dist/development/src/resolvers/TenantResolverContextFactory.cjs.map +0 -1
  910. package/dist/development/src/resolvers/TenantResolverContextFactory.js +0 -38
  911. package/dist/development/src/resolvers/TenantResolverContextFactory.js.map +0 -1
  912. package/dist/development/src/resolvers/errorUtils.cjs +0 -21
  913. package/dist/development/src/resolvers/errorUtils.cjs.map +0 -1
  914. package/dist/development/src/resolvers/errorUtils.js +0 -21
  915. package/dist/development/src/resolvers/errorUtils.js.map +0 -1
  916. package/dist/development/src/resolvers/membershipUtils.cjs +0 -75
  917. package/dist/development/src/resolvers/membershipUtils.cjs.map +0 -1
  918. package/dist/development/src/resolvers/membershipUtils.js +0 -75
  919. package/dist/development/src/resolvers/membershipUtils.js.map +0 -1
  920. package/dist/development/src/resolvers/mutation/apiKey/CreateApiKeyMutationResolver.cjs +0 -81
  921. package/dist/development/src/resolvers/mutation/apiKey/CreateApiKeyMutationResolver.cjs.map +0 -1
  922. package/dist/development/src/resolvers/mutation/apiKey/CreateApiKeyMutationResolver.js +0 -81
  923. package/dist/development/src/resolvers/mutation/apiKey/CreateApiKeyMutationResolver.js.map +0 -1
  924. package/dist/development/src/resolvers/mutation/apiKey/DisableApiKeyMutationResolver.cjs +0 -42
  925. package/dist/development/src/resolvers/mutation/apiKey/DisableApiKeyMutationResolver.cjs.map +0 -1
  926. package/dist/development/src/resolvers/mutation/apiKey/DisableApiKeyMutationResolver.js +0 -42
  927. package/dist/development/src/resolvers/mutation/apiKey/DisableApiKeyMutationResolver.js.map +0 -1
  928. package/dist/development/src/resolvers/mutation/configuration/ConfigurationMutationResolver.cjs +0 -41
  929. package/dist/development/src/resolvers/mutation/configuration/ConfigurationMutationResolver.cjs.map +0 -1
  930. package/dist/development/src/resolvers/mutation/configuration/ConfigurationMutationResolver.js +0 -41
  931. package/dist/development/src/resolvers/mutation/configuration/ConfigurationMutationResolver.js.map +0 -1
  932. package/dist/development/src/resolvers/mutation/identity/GlobalRolesMutationResolver.cjs +0 -60
  933. package/dist/development/src/resolvers/mutation/identity/GlobalRolesMutationResolver.cjs.map +0 -1
  934. package/dist/development/src/resolvers/mutation/identity/GlobalRolesMutationResolver.js +0 -60
  935. package/dist/development/src/resolvers/mutation/identity/GlobalRolesMutationResolver.js.map +0 -1
  936. package/dist/development/src/resolvers/mutation/idp/AddIDPMutationResolver.cjs +0 -48
  937. package/dist/development/src/resolvers/mutation/idp/AddIDPMutationResolver.cjs.map +0 -1
  938. package/dist/development/src/resolvers/mutation/idp/AddIDPMutationResolver.js +0 -48
  939. package/dist/development/src/resolvers/mutation/idp/AddIDPMutationResolver.js.map +0 -1
  940. package/dist/development/src/resolvers/mutation/idp/DisableIDPMutationResolver.cjs +0 -39
  941. package/dist/development/src/resolvers/mutation/idp/DisableIDPMutationResolver.cjs.map +0 -1
  942. package/dist/development/src/resolvers/mutation/idp/DisableIDPMutationResolver.js +0 -39
  943. package/dist/development/src/resolvers/mutation/idp/DisableIDPMutationResolver.js.map +0 -1
  944. package/dist/development/src/resolvers/mutation/idp/EnableIDPMutationResolver.cjs +0 -39
  945. package/dist/development/src/resolvers/mutation/idp/EnableIDPMutationResolver.cjs.map +0 -1
  946. package/dist/development/src/resolvers/mutation/idp/EnableIDPMutationResolver.js +0 -39
  947. package/dist/development/src/resolvers/mutation/idp/EnableIDPMutationResolver.js.map +0 -1
  948. package/dist/development/src/resolvers/mutation/idp/UpdateIDPMutationResolver.cjs +0 -47
  949. package/dist/development/src/resolvers/mutation/idp/UpdateIDPMutationResolver.cjs.map +0 -1
  950. package/dist/development/src/resolvers/mutation/idp/UpdateIDPMutationResolver.js +0 -47
  951. package/dist/development/src/resolvers/mutation/idp/UpdateIDPMutationResolver.js.map +0 -1
  952. package/dist/development/src/resolvers/mutation/mailTemplates/MailTemplateMutationResolver.cjs +0 -81
  953. package/dist/development/src/resolvers/mutation/mailTemplates/MailTemplateMutationResolver.cjs.map +0 -1
  954. package/dist/development/src/resolvers/mutation/mailTemplates/MailTemplateMutationResolver.js +0 -81
  955. package/dist/development/src/resolvers/mutation/mailTemplates/MailTemplateMutationResolver.js.map +0 -1
  956. package/dist/development/src/resolvers/mutation/person/ChangePasswordMutationResolver.cjs +0 -71
  957. package/dist/development/src/resolvers/mutation/person/ChangePasswordMutationResolver.cjs.map +0 -1
  958. package/dist/development/src/resolvers/mutation/person/ChangePasswordMutationResolver.js +0 -71
  959. package/dist/development/src/resolvers/mutation/person/ChangePasswordMutationResolver.js.map +0 -1
  960. package/dist/development/src/resolvers/mutation/person/ChangeProfileMutationResolver.cjs +0 -86
  961. package/dist/development/src/resolvers/mutation/person/ChangeProfileMutationResolver.cjs.map +0 -1
  962. package/dist/development/src/resolvers/mutation/person/ChangeProfileMutationResolver.js +0 -86
  963. package/dist/development/src/resolvers/mutation/person/ChangeProfileMutationResolver.js.map +0 -1
  964. package/dist/development/src/resolvers/mutation/person/DisablePersonMutationResolver.cjs +0 -57
  965. package/dist/development/src/resolvers/mutation/person/DisablePersonMutationResolver.cjs.map +0 -1
  966. package/dist/development/src/resolvers/mutation/person/DisablePersonMutationResolver.js +0 -57
  967. package/dist/development/src/resolvers/mutation/person/DisablePersonMutationResolver.js.map +0 -1
  968. package/dist/development/src/resolvers/mutation/person/IDPMutationResolver.cjs +0 -73
  969. package/dist/development/src/resolvers/mutation/person/IDPMutationResolver.cjs.map +0 -1
  970. package/dist/development/src/resolvers/mutation/person/IDPMutationResolver.js +0 -73
  971. package/dist/development/src/resolvers/mutation/person/IDPMutationResolver.js.map +0 -1
  972. package/dist/development/src/resolvers/mutation/person/InviteMutationResolver.cjs +0 -98
  973. package/dist/development/src/resolvers/mutation/person/InviteMutationResolver.cjs.map +0 -1
  974. package/dist/development/src/resolvers/mutation/person/InviteMutationResolver.js +0 -98
  975. package/dist/development/src/resolvers/mutation/person/InviteMutationResolver.js.map +0 -1
  976. package/dist/development/src/resolvers/mutation/person/OtpMutationResolver.cjs +0 -104
  977. package/dist/development/src/resolvers/mutation/person/OtpMutationResolver.cjs.map +0 -1
  978. package/dist/development/src/resolvers/mutation/person/OtpMutationResolver.js +0 -104
  979. package/dist/development/src/resolvers/mutation/person/OtpMutationResolver.js.map +0 -1
  980. package/dist/development/src/resolvers/mutation/person/PasswordlessMutationResolver.cjs +0 -102
  981. package/dist/development/src/resolvers/mutation/person/PasswordlessMutationResolver.cjs.map +0 -1
  982. package/dist/development/src/resolvers/mutation/person/PasswordlessMutationResolver.js +0 -102
  983. package/dist/development/src/resolvers/mutation/person/PasswordlessMutationResolver.js.map +0 -1
  984. package/dist/development/src/resolvers/mutation/person/ResetPasswordMutationResolver.cjs +0 -82
  985. package/dist/development/src/resolvers/mutation/person/ResetPasswordMutationResolver.cjs.map +0 -1
  986. package/dist/development/src/resolvers/mutation/person/ResetPasswordMutationResolver.js +0 -82
  987. package/dist/development/src/resolvers/mutation/person/ResetPasswordMutationResolver.js.map +0 -1
  988. package/dist/development/src/resolvers/mutation/person/SignInMutationResolver.cjs +0 -102
  989. package/dist/development/src/resolvers/mutation/person/SignInMutationResolver.cjs.map +0 -1
  990. package/dist/development/src/resolvers/mutation/person/SignInMutationResolver.js +0 -102
  991. package/dist/development/src/resolvers/mutation/person/SignInMutationResolver.js.map +0 -1
  992. package/dist/development/src/resolvers/mutation/person/SignOutMutationResolver.cjs +0 -52
  993. package/dist/development/src/resolvers/mutation/person/SignOutMutationResolver.cjs.map +0 -1
  994. package/dist/development/src/resolvers/mutation/person/SignOutMutationResolver.js +0 -52
  995. package/dist/development/src/resolvers/mutation/person/SignOutMutationResolver.js.map +0 -1
  996. package/dist/development/src/resolvers/mutation/person/SignUpMutationResolver.cjs +0 -69
  997. package/dist/development/src/resolvers/mutation/person/SignUpMutationResolver.cjs.map +0 -1
  998. package/dist/development/src/resolvers/mutation/person/SignUpMutationResolver.js +0 -69
  999. package/dist/development/src/resolvers/mutation/person/SignUpMutationResolver.js.map +0 -1
  1000. package/dist/development/src/resolvers/mutation/person/TogglePasswordlessMutationResolver.cjs +0 -53
  1001. package/dist/development/src/resolvers/mutation/person/TogglePasswordlessMutationResolver.cjs.map +0 -1
  1002. package/dist/development/src/resolvers/mutation/person/TogglePasswordlessMutationResolver.js +0 -53
  1003. package/dist/development/src/resolvers/mutation/person/TogglePasswordlessMutationResolver.js.map +0 -1
  1004. package/dist/development/src/resolvers/mutation/project/CreateProjectMutationResolver.cjs +0 -70
  1005. package/dist/development/src/resolvers/mutation/project/CreateProjectMutationResolver.cjs.map +0 -1
  1006. package/dist/development/src/resolvers/mutation/project/CreateProjectMutationResolver.js +0 -70
  1007. package/dist/development/src/resolvers/mutation/project/CreateProjectMutationResolver.js.map +0 -1
  1008. package/dist/development/src/resolvers/mutation/project/SetProjectSecretMutationResolver.cjs +0 -42
  1009. package/dist/development/src/resolvers/mutation/project/SetProjectSecretMutationResolver.cjs.map +0 -1
  1010. package/dist/development/src/resolvers/mutation/project/SetProjectSecretMutationResolver.js +0 -42
  1011. package/dist/development/src/resolvers/mutation/project/SetProjectSecretMutationResolver.js.map +0 -1
  1012. package/dist/development/src/resolvers/mutation/project/UpdateProjectMutationResolver.cjs +0 -45
  1013. package/dist/development/src/resolvers/mutation/project/UpdateProjectMutationResolver.cjs.map +0 -1
  1014. package/dist/development/src/resolvers/mutation/project/UpdateProjectMutationResolver.js +0 -45
  1015. package/dist/development/src/resolvers/mutation/project/UpdateProjectMutationResolver.js.map +0 -1
  1016. package/dist/development/src/resolvers/mutation/projectMember/AddProjectMemberMutationResolver.cjs +0 -59
  1017. package/dist/development/src/resolvers/mutation/projectMember/AddProjectMemberMutationResolver.cjs.map +0 -1
  1018. package/dist/development/src/resolvers/mutation/projectMember/AddProjectMemberMutationResolver.js +0 -59
  1019. package/dist/development/src/resolvers/mutation/projectMember/AddProjectMemberMutationResolver.js.map +0 -1
  1020. package/dist/development/src/resolvers/mutation/projectMember/RemoveProjectMemberMutationResolver.cjs +0 -60
  1021. package/dist/development/src/resolvers/mutation/projectMember/RemoveProjectMemberMutationResolver.cjs.map +0 -1
  1022. package/dist/development/src/resolvers/mutation/projectMember/RemoveProjectMemberMutationResolver.js +0 -60
  1023. package/dist/development/src/resolvers/mutation/projectMember/RemoveProjectMemberMutationResolver.js.map +0 -1
  1024. package/dist/development/src/resolvers/mutation/projectMember/UpdateProjectMemberMutationResolver.cjs +0 -82
  1025. package/dist/development/src/resolvers/mutation/projectMember/UpdateProjectMemberMutationResolver.cjs.map +0 -1
  1026. package/dist/development/src/resolvers/mutation/projectMember/UpdateProjectMemberMutationResolver.js +0 -82
  1027. package/dist/development/src/resolvers/mutation/projectMember/UpdateProjectMemberMutationResolver.js.map +0 -1
  1028. package/dist/development/src/resolvers/query/ConfigurationQueryResolver.cjs +0 -35
  1029. package/dist/development/src/resolvers/query/ConfigurationQueryResolver.cjs.map +0 -1
  1030. package/dist/development/src/resolvers/query/ConfigurationQueryResolver.js +0 -35
  1031. package/dist/development/src/resolvers/query/ConfigurationQueryResolver.js.map +0 -1
  1032. package/dist/development/src/resolvers/query/IDPQueryResolver.cjs +0 -34
  1033. package/dist/development/src/resolvers/query/IDPQueryResolver.cjs.map +0 -1
  1034. package/dist/development/src/resolvers/query/IDPQueryResolver.js +0 -34
  1035. package/dist/development/src/resolvers/query/IDPQueryResolver.js.map +0 -1
  1036. package/dist/development/src/resolvers/query/MailTemplateQueryResolver.cjs +0 -37
  1037. package/dist/development/src/resolvers/query/MailTemplateQueryResolver.cjs.map +0 -1
  1038. package/dist/development/src/resolvers/query/MailTemplateQueryResolver.js +0 -37
  1039. package/dist/development/src/resolvers/query/MailTemplateQueryResolver.js.map +0 -1
  1040. package/dist/development/src/resolvers/query/MeQueryResolver.cjs +0 -13
  1041. package/dist/development/src/resolvers/query/MeQueryResolver.cjs.map +0 -1
  1042. package/dist/development/src/resolvers/query/MeQueryResolver.js +0 -13
  1043. package/dist/development/src/resolvers/query/MeQueryResolver.js.map +0 -1
  1044. package/dist/development/src/resolvers/query/PersonQueryResolver.cjs +0 -35
  1045. package/dist/development/src/resolvers/query/PersonQueryResolver.cjs.map +0 -1
  1046. package/dist/development/src/resolvers/query/PersonQueryResolver.js +0 -35
  1047. package/dist/development/src/resolvers/query/PersonQueryResolver.js.map +0 -1
  1048. package/dist/development/src/resolvers/query/ProjectMembersQueryResolver.cjs +0 -40
  1049. package/dist/development/src/resolvers/query/ProjectMembersQueryResolver.cjs.map +0 -1
  1050. package/dist/development/src/resolvers/query/ProjectMembersQueryResolver.js +0 -40
  1051. package/dist/development/src/resolvers/query/ProjectMembersQueryResolver.js.map +0 -1
  1052. package/dist/development/src/resolvers/query/ProjectQueryResolver.cjs +0 -42
  1053. package/dist/development/src/resolvers/query/ProjectQueryResolver.cjs.map +0 -1
  1054. package/dist/development/src/resolvers/query/ProjectQueryResolver.js +0 -42
  1055. package/dist/development/src/resolvers/query/ProjectQueryResolver.js.map +0 -1
  1056. package/dist/development/src/resolvers/responseHelpers/PersonResponseFactory.cjs +0 -19
  1057. package/dist/development/src/resolvers/responseHelpers/PersonResponseFactory.cjs.map +0 -1
  1058. package/dist/development/src/resolvers/responseHelpers/PersonResponseFactory.js +0 -19
  1059. package/dist/development/src/resolvers/responseHelpers/PersonResponseFactory.js.map +0 -1
  1060. package/dist/development/src/resolvers/responseHelpers/SignInResponseFactory.cjs +0 -51
  1061. package/dist/development/src/resolvers/responseHelpers/SignInResponseFactory.cjs.map +0 -1
  1062. package/dist/development/src/resolvers/responseHelpers/SignInResponseFactory.js +0 -51
  1063. package/dist/development/src/resolvers/responseHelpers/SignInResponseFactory.js.map +0 -1
  1064. package/dist/development/src/resolvers/types/IdentityTypeResolver.cjs +0 -125
  1065. package/dist/development/src/resolvers/types/IdentityTypeResolver.cjs.map +0 -1
  1066. package/dist/development/src/resolvers/types/IdentityTypeResolver.js +0 -125
  1067. package/dist/development/src/resolvers/types/IdentityTypeResolver.js.map +0 -1
  1068. package/dist/development/src/resolvers/types/ProjectTypeResolver.cjs +0 -69
  1069. package/dist/development/src/resolvers/types/ProjectTypeResolver.cjs.map +0 -1
  1070. package/dist/development/src/resolvers/types/ProjectTypeResolver.js +0 -69
  1071. package/dist/development/src/resolvers/types/ProjectTypeResolver.js.map +0 -1
  1072. package/dist/development/src/schema/index.cjs +0 -2
  1073. package/dist/development/src/schema/index.cjs.map +0 -1
  1074. package/dist/development/src/schema/index.js +0 -2
  1075. package/dist/development/src/schema/index.js.map +0 -1
  1076. package/dist/development/src/schema/tenant.graphql.cjs +0 -1229
  1077. package/dist/development/src/schema/tenant.graphql.cjs.map +0 -1
  1078. package/dist/development/src/schema/tenant.graphql.js +0 -1230
  1079. package/dist/development/src/schema/tenant.graphql.js.map +0 -1
  1080. package/dist/development/src/utils/Mailer.cjs +0 -53
  1081. package/dist/development/src/utils/Mailer.cjs.map +0 -1
  1082. package/dist/development/src/utils/Mailer.js +0 -53
  1083. package/dist/development/src/utils/Mailer.js.map +0 -1
  1084. package/dist/development/src/utils/TemplateRenderer.cjs +0 -10
  1085. package/dist/development/src/utils/TemplateRenderer.cjs.map +0 -1
  1086. package/dist/development/src/utils/TemplateRenderer.js +0 -10
  1087. package/dist/development/src/utils/TemplateRenderer.js.map +0 -1
  1088. package/dist/development/src/utils/array.cjs +0 -17
  1089. package/dist/development/src/utils/array.cjs.map +0 -1
  1090. package/dist/development/src/utils/array.js +0 -17
  1091. package/dist/development/src/utils/array.js.map +0 -1
  1092. package/dist/development/src/utils/batchQuery.cjs +0 -24
  1093. package/dist/development/src/utils/batchQuery.cjs.map +0 -1
  1094. package/dist/development/src/utils/batchQuery.js +0 -24
  1095. package/dist/development/src/utils/batchQuery.js.map +0 -1
  1096. package/dist/development/src/utils/tick.cjs +0 -5
  1097. package/dist/development/src/utils/tick.cjs.map +0 -1
  1098. package/dist/development/src/utils/tick.js +0 -5
  1099. package/dist/development/src/utils/tick.js.map +0 -1
  1100. package/dist/production/index.cjs +0 -304
  1101. package/dist/production/index.cjs.map +0 -1
  1102. package/dist/production/index.js +0 -292
  1103. package/dist/production/index.js.map +0 -1
  1104. package/dist/production/src/TenantContainer.cjs +0 -122
  1105. package/dist/production/src/TenantContainer.cjs.map +0 -1
  1106. package/dist/production/src/TenantContainer.js +0 -122
  1107. package/dist/production/src/TenantContainer.js.map +0 -1
  1108. package/dist/production/src/bridges/system/IdentityFetcher.cjs +0 -64
  1109. package/dist/production/src/bridges/system/IdentityFetcher.cjs.map +0 -1
  1110. package/dist/production/src/bridges/system/IdentityFetcher.js +0 -64
  1111. package/dist/production/src/bridges/system/IdentityFetcher.js.map +0 -1
  1112. package/dist/production/src/exceptions.cjs +0 -9
  1113. package/dist/production/src/exceptions.cjs.map +0 -1
  1114. package/dist/production/src/exceptions.js +0 -9
  1115. package/dist/production/src/exceptions.js.map +0 -1
  1116. package/dist/production/src/migrations/2018-08-02-174310-init.cjs +0 -63
  1117. package/dist/production/src/migrations/2018-08-02-174310-init.cjs.map +0 -1
  1118. package/dist/production/src/migrations/2018-08-02-174310-init.js +0 -64
  1119. package/dist/production/src/migrations/2018-08-02-174310-init.js.map +0 -1
  1120. package/dist/production/src/migrations/2018-09-03-140621-identity-project.cjs +0 -32
  1121. package/dist/production/src/migrations/2018-09-03-140621-identity-project.cjs.map +0 -1
  1122. package/dist/production/src/migrations/2018-09-03-140621-identity-project.js +0 -33
  1123. package/dist/production/src/migrations/2018-09-03-140621-identity-project.js.map +0 -1
  1124. package/dist/production/src/migrations/2018-10-26-165450-setup-api-key.cjs +0 -26
  1125. package/dist/production/src/migrations/2018-10-26-165450-setup-api-key.cjs.map +0 -1
  1126. package/dist/production/src/migrations/2018-10-26-165450-setup-api-key.js +0 -27
  1127. package/dist/production/src/migrations/2018-10-26-165450-setup-api-key.js.map +0 -1
  1128. package/dist/production/src/migrations/2018-10-26-175155-variables.cjs +0 -22
  1129. package/dist/production/src/migrations/2018-10-26-175155-variables.cjs.map +0 -1
  1130. package/dist/production/src/migrations/2018-10-26-175155-variables.js +0 -23
  1131. package/dist/production/src/migrations/2018-10-26-175155-variables.js.map +0 -1
  1132. package/dist/production/src/migrations/2019-02-18-110949-project-slug.cjs +0 -17
  1133. package/dist/production/src/migrations/2019-02-18-110949-project-slug.cjs.map +0 -1
  1134. package/dist/production/src/migrations/2019-02-18-110949-project-slug.js +0 -18
  1135. package/dist/production/src/migrations/2019-02-18-110949-project-slug.js.map +0 -1
  1136. package/dist/production/src/migrations/2019-02-18-160155-session-expiration.cjs +0 -10
  1137. package/dist/production/src/migrations/2019-02-18-160155-session-expiration.cjs.map +0 -1
  1138. package/dist/production/src/migrations/2019-02-18-160155-session-expiration.js +0 -11
  1139. package/dist/production/src/migrations/2019-02-18-160155-session-expiration.js.map +0 -1
  1140. package/dist/production/src/migrations/2019-05-03-163729-api-key-disabled-at.cjs +0 -17
  1141. package/dist/production/src/migrations/2019-05-03-163729-api-key-disabled-at.cjs.map +0 -1
  1142. package/dist/production/src/migrations/2019-05-03-163729-api-key-disabled-at.js +0 -18
  1143. package/dist/production/src/migrations/2019-05-03-163729-api-key-disabled-at.js.map +0 -1
  1144. package/dist/production/src/migrations/2019-08-14-153300-project-slug-unique.cjs +0 -10
  1145. package/dist/production/src/migrations/2019-08-14-153300-project-slug-unique.cjs.map +0 -1
  1146. package/dist/production/src/migrations/2019-08-14-153300-project-slug-unique.js +0 -11
  1147. package/dist/production/src/migrations/2019-08-14-153300-project-slug-unique.js.map +0 -1
  1148. package/dist/production/src/migrations/2019-09-06-111000-membership.cjs +0 -50
  1149. package/dist/production/src/migrations/2019-09-06-111000-membership.cjs.map +0 -1
  1150. package/dist/production/src/migrations/2019-09-06-111000-membership.js +0 -51
  1151. package/dist/production/src/migrations/2019-09-06-111000-membership.js.map +0 -1
  1152. package/dist/production/src/migrations/2019-09-06-111001-drop-old-member.cjs +0 -10
  1153. package/dist/production/src/migrations/2019-09-06-111001-drop-old-member.cjs.map +0 -1
  1154. package/dist/production/src/migrations/2019-09-06-111001-drop-old-member.js +0 -11
  1155. package/dist/production/src/migrations/2019-09-06-111001-drop-old-member.js.map +0 -1
  1156. package/dist/production/src/migrations/2020-01-29-idenity-note.cjs +0 -17
  1157. package/dist/production/src/migrations/2020-01-29-idenity-note.cjs.map +0 -1
  1158. package/dist/production/src/migrations/2020-01-29-idenity-note.js +0 -18
  1159. package/dist/production/src/migrations/2020-01-29-idenity-note.js.map +0 -1
  1160. package/dist/production/src/migrations/2020-04-17-fix-person-index.cjs +0 -11
  1161. package/dist/production/src/migrations/2020-04-17-fix-person-index.cjs.map +0 -1
  1162. package/dist/production/src/migrations/2020-04-17-fix-person-index.js +0 -12
  1163. package/dist/production/src/migrations/2020-04-17-fix-person-index.js.map +0 -1
  1164. package/dist/production/src/migrations/2020-05-01-170000-api-key-index.cjs +0 -9
  1165. package/dist/production/src/migrations/2020-05-01-170000-api-key-index.cjs.map +0 -1
  1166. package/dist/production/src/migrations/2020-05-01-170000-api-key-index.js +0 -10
  1167. package/dist/production/src/migrations/2020-05-01-170000-api-key-index.js.map +0 -1
  1168. package/dist/production/src/migrations/2020-06-08-134000-tenant-credentials.cjs +0 -7
  1169. package/dist/production/src/migrations/2020-06-08-134000-tenant-credentials.cjs.map +0 -1
  1170. package/dist/production/src/migrations/2020-06-08-134000-tenant-credentials.js +0 -8
  1171. package/dist/production/src/migrations/2020-06-08-134000-tenant-credentials.js.map +0 -1
  1172. package/dist/production/src/migrations/2020-08-07-110000-person-otp.cjs +0 -11
  1173. package/dist/production/src/migrations/2020-08-07-110000-person-otp.cjs.map +0 -1
  1174. package/dist/production/src/migrations/2020-08-07-110000-person-otp.js +0 -12
  1175. package/dist/production/src/migrations/2020-08-07-110000-person-otp.js.map +0 -1
  1176. package/dist/production/src/migrations/2020-08-17-162200-mail-templates.cjs +0 -22
  1177. package/dist/production/src/migrations/2020-08-17-162200-mail-templates.cjs.map +0 -1
  1178. package/dist/production/src/migrations/2020-08-17-162200-mail-templates.js +0 -23
  1179. package/dist/production/src/migrations/2020-08-17-162200-mail-templates.js.map +0 -1
  1180. package/dist/production/src/migrations/2020-08-21-143400-person-password-reset.cjs +0 -22
  1181. package/dist/production/src/migrations/2020-08-21-143400-person-password-reset.cjs.map +0 -1
  1182. package/dist/production/src/migrations/2020-08-21-143400-person-password-reset.js +0 -23
  1183. package/dist/production/src/migrations/2020-08-21-143400-person-password-reset.js.map +0 -1
  1184. package/dist/production/src/migrations/2020-09-07-094200-identity-provider.cjs +0 -16
  1185. package/dist/production/src/migrations/2020-09-07-094200-identity-provider.cjs.map +0 -1
  1186. package/dist/production/src/migrations/2020-09-07-094200-identity-provider.js +0 -17
  1187. package/dist/production/src/migrations/2020-09-07-094200-identity-provider.js.map +0 -1
  1188. package/dist/production/src/migrations/2021-03-28-134000-timestamp.cjs +0 -26
  1189. package/dist/production/src/migrations/2021-03-28-134000-timestamp.cjs.map +0 -1
  1190. package/dist/production/src/migrations/2021-03-28-134000-timestamp.js +0 -27
  1191. package/dist/production/src/migrations/2021-03-28-134000-timestamp.js.map +0 -1
  1192. package/dist/production/src/migrations/2021-07-26-105000-project-config.cjs +0 -11
  1193. package/dist/production/src/migrations/2021-07-26-105000-project-config.cjs.map +0 -1
  1194. package/dist/production/src/migrations/2021-07-26-105000-project-config.js +0 -12
  1195. package/dist/production/src/migrations/2021-07-26-105000-project-config.js.map +0 -1
  1196. package/dist/production/src/migrations/2021-07-26-132000-project-secrets.cjs +0 -23
  1197. package/dist/production/src/migrations/2021-07-26-132000-project-secrets.cjs.map +0 -1
  1198. package/dist/production/src/migrations/2021-07-26-132000-project-secrets.js +0 -24
  1199. package/dist/production/src/migrations/2021-07-26-132000-project-secrets.js.map +0 -1
  1200. package/dist/production/src/migrations/2021-07-27-174000-project-alias-index.cjs +0 -9
  1201. package/dist/production/src/migrations/2021-07-27-174000-project-alias-index.cjs.map +0 -1
  1202. package/dist/production/src/migrations/2021-07-27-174000-project-alias-index.js +0 -10
  1203. package/dist/production/src/migrations/2021-07-27-174000-project-alias-index.js.map +0 -1
  1204. package/dist/production/src/migrations/2021-11-24-130000-person-password-null.cjs +0 -9
  1205. package/dist/production/src/migrations/2021-11-24-130000-person-password-null.cjs.map +0 -1
  1206. package/dist/production/src/migrations/2021-11-24-130000-person-password-null.js +0 -10
  1207. package/dist/production/src/migrations/2021-11-24-130000-person-password-null.js.map +0 -1
  1208. package/dist/production/src/migrations/2021-11-24-161500-mail-template-project-null.cjs +0 -17
  1209. package/dist/production/src/migrations/2021-11-24-161500-mail-template-project-null.cjs.map +0 -1
  1210. package/dist/production/src/migrations/2021-11-24-161500-mail-template-project-null.js +0 -18
  1211. package/dist/production/src/migrations/2021-11-24-161500-mail-template-project-null.js.map +0 -1
  1212. package/dist/production/src/migrations/2022-01-04-144000-person-unique-identity.cjs +0 -10
  1213. package/dist/production/src/migrations/2022-01-04-144000-person-unique-identity.cjs.map +0 -1
  1214. package/dist/production/src/migrations/2022-01-04-144000-person-unique-identity.js +0 -11
  1215. package/dist/production/src/migrations/2022-01-04-144000-person-unique-identity.js.map +0 -1
  1216. package/dist/production/src/migrations/2022-02-09-111800-fix-crypted.cjs +0 -21
  1217. package/dist/production/src/migrations/2022-02-09-111800-fix-crypted.cjs.map +0 -1
  1218. package/dist/production/src/migrations/2022-02-09-111800-fix-crypted.js +0 -22
  1219. package/dist/production/src/migrations/2022-02-09-111800-fix-crypted.js.map +0 -1
  1220. package/dist/production/src/migrations/2022-02-11-153000-idp-auto-sign-up.cjs +0 -10
  1221. package/dist/production/src/migrations/2022-02-11-153000-idp-auto-sign-up.cjs.map +0 -1
  1222. package/dist/production/src/migrations/2022-02-11-153000-idp-auto-sign-up.js +0 -11
  1223. package/dist/production/src/migrations/2022-02-11-153000-idp-auto-sign-up.js.map +0 -1
  1224. package/dist/production/src/migrations/2022-06-29-105000-person-idp.cjs +0 -22
  1225. package/dist/production/src/migrations/2022-06-29-105000-person-idp.cjs.map +0 -1
  1226. package/dist/production/src/migrations/2022-06-29-105000-person-idp.js +0 -23
  1227. package/dist/production/src/migrations/2022-06-29-105000-person-idp.js.map +0 -1
  1228. package/dist/production/src/migrations/2022-07-07-135000-person-email-opt-uniq.cjs +0 -11
  1229. package/dist/production/src/migrations/2022-07-07-135000-person-email-opt-uniq.cjs.map +0 -1
  1230. package/dist/production/src/migrations/2022-07-07-135000-person-email-opt-uniq.js +0 -12
  1231. package/dist/production/src/migrations/2022-07-07-135000-person-email-opt-uniq.js.map +0 -1
  1232. package/dist/production/src/migrations/2022-07-07-141000-person-display-name.cjs +0 -12
  1233. package/dist/production/src/migrations/2022-07-07-141000-person-display-name.cjs.map +0 -1
  1234. package/dist/production/src/migrations/2022-07-07-141000-person-display-name.js +0 -13
  1235. package/dist/production/src/migrations/2022-07-07-141000-person-display-name.js.map +0 -1
  1236. package/dist/production/src/migrations/2022-07-14-145000-person-login-options.cjs +0 -14
  1237. package/dist/production/src/migrations/2022-07-14-145000-person-login-options.cjs.map +0 -1
  1238. package/dist/production/src/migrations/2022-07-14-145000-person-login-options.js +0 -15
  1239. package/dist/production/src/migrations/2022-07-14-145000-person-login-options.js.map +0 -1
  1240. package/dist/production/src/migrations/2022-11-08-project-update-notification.cjs +0 -63
  1241. package/dist/production/src/migrations/2022-11-08-project-update-notification.cjs.map +0 -1
  1242. package/dist/production/src/migrations/2022-11-08-project-update-notification.js +0 -64
  1243. package/dist/production/src/migrations/2022-11-08-project-update-notification.js.map +0 -1
  1244. package/dist/production/src/migrations/2023-01-20-135500-person-email-normalize.cjs +0 -27
  1245. package/dist/production/src/migrations/2023-01-20-135500-person-email-normalize.cjs.map +0 -1
  1246. package/dist/production/src/migrations/2023-01-20-135500-person-email-normalize.js +0 -28
  1247. package/dist/production/src/migrations/2023-01-20-135500-person-email-normalize.js.map +0 -1
  1248. package/dist/production/src/migrations/2023-06-03-104000-person-disabled.cjs +0 -10
  1249. package/dist/production/src/migrations/2023-06-03-104000-person-disabled.cjs.map +0 -1
  1250. package/dist/production/src/migrations/2023-06-03-104000-person-disabled.js +0 -11
  1251. package/dist/production/src/migrations/2023-06-03-104000-person-disabled.js.map +0 -1
  1252. package/dist/production/src/migrations/2023-09-01-165000-idp-return-config.cjs +0 -10
  1253. package/dist/production/src/migrations/2023-09-01-165000-idp-return-config.cjs.map +0 -1
  1254. package/dist/production/src/migrations/2023-09-01-165000-idp-return-config.js +0 -11
  1255. package/dist/production/src/migrations/2023-09-01-165000-idp-return-config.js.map +0 -1
  1256. package/dist/production/src/migrations/2024-06-20-140000-mail-reply.cjs +0 -10
  1257. package/dist/production/src/migrations/2024-06-20-140000-mail-reply.cjs.map +0 -1
  1258. package/dist/production/src/migrations/2024-06-20-140000-mail-reply.js +0 -11
  1259. package/dist/production/src/migrations/2024-06-20-140000-mail-reply.js.map +0 -1
  1260. package/dist/production/src/migrations/2024-08-26-120000-passwordless.cjs +0 -31
  1261. package/dist/production/src/migrations/2024-08-26-120000-passwordless.cjs.map +0 -1
  1262. package/dist/production/src/migrations/2024-08-26-120000-passwordless.js +0 -32
  1263. package/dist/production/src/migrations/2024-08-26-120000-passwordless.js.map +0 -1
  1264. package/dist/production/src/migrations/2025-04-16-180000-config-up.cjs +0 -39
  1265. package/dist/production/src/migrations/2025-04-16-180000-config-up.cjs.map +0 -1
  1266. package/dist/production/src/migrations/2025-04-16-180000-config-up.js +0 -40
  1267. package/dist/production/src/migrations/2025-04-16-180000-config-up.js.map +0 -1
  1268. package/dist/production/src/migrations/2025-04-17-160000-auth-log.cjs +0 -45
  1269. package/dist/production/src/migrations/2025-04-17-160000-auth-log.cjs.map +0 -1
  1270. package/dist/production/src/migrations/2025-04-17-160000-auth-log.js +0 -46
  1271. package/dist/production/src/migrations/2025-04-17-160000-auth-log.js.map +0 -1
  1272. package/dist/production/src/migrations/runner.cjs +0 -131
  1273. package/dist/production/src/migrations/runner.cjs.map +0 -1
  1274. package/dist/production/src/migrations/runner.js +0 -131
  1275. package/dist/production/src/migrations/runner.js.map +0 -1
  1276. package/dist/production/src/migrations/snapshot.cjs +0 -287
  1277. package/dist/production/src/migrations/snapshot.cjs.map +0 -1
  1278. package/dist/production/src/migrations/snapshot.js +0 -288
  1279. package/dist/production/src/migrations/snapshot.js.map +0 -1
  1280. package/dist/production/src/migrations/tenantCredentials.cjs +0 -56
  1281. package/dist/production/src/migrations/tenantCredentials.cjs.map +0 -1
  1282. package/dist/production/src/migrations/tenantCredentials.js +0 -56
  1283. package/dist/production/src/migrations/tenantCredentials.js.map +0 -1
  1284. package/dist/production/src/model/authorization/AclSchemaAccessNodeFactory.cjs +0 -42
  1285. package/dist/production/src/model/authorization/AclSchemaAccessNodeFactory.cjs.map +0 -1
  1286. package/dist/production/src/model/authorization/AclSchemaAccessNodeFactory.js +0 -42
  1287. package/dist/production/src/model/authorization/AclSchemaAccessNodeFactory.js.map +0 -1
  1288. package/dist/production/src/model/authorization/DirectPermissionsAccessNode.cjs +0 -20
  1289. package/dist/production/src/model/authorization/DirectPermissionsAccessNode.cjs.map +0 -1
  1290. package/dist/production/src/model/authorization/DirectPermissionsAccessNode.js +0 -20
  1291. package/dist/production/src/model/authorization/DirectPermissionsAccessNode.js.map +0 -1
  1292. package/dist/production/src/model/authorization/Identity.cjs +0 -32
  1293. package/dist/production/src/model/authorization/Identity.cjs.map +0 -1
  1294. package/dist/production/src/model/authorization/Identity.js +0 -32
  1295. package/dist/production/src/model/authorization/Identity.js.map +0 -1
  1296. package/dist/production/src/model/authorization/IdentityFactory.cjs +0 -13
  1297. package/dist/production/src/model/authorization/IdentityFactory.cjs.map +0 -1
  1298. package/dist/production/src/model/authorization/IdentityFactory.js +0 -13
  1299. package/dist/production/src/model/authorization/IdentityFactory.js.map +0 -1
  1300. package/dist/production/src/model/authorization/IdentityScope.cjs +0 -14
  1301. package/dist/production/src/model/authorization/IdentityScope.cjs.map +0 -1
  1302. package/dist/production/src/model/authorization/IdentityScope.js +0 -14
  1303. package/dist/production/src/model/authorization/IdentityScope.js.map +0 -1
  1304. package/dist/production/src/model/authorization/MembershipMatcher.cjs +0 -45
  1305. package/dist/production/src/model/authorization/MembershipMatcher.cjs.map +0 -1
  1306. package/dist/production/src/model/authorization/MembershipMatcher.js +0 -45
  1307. package/dist/production/src/model/authorization/MembershipMatcher.js.map +0 -1
  1308. package/dist/production/src/model/authorization/PermissionActions.cjs +0 -61
  1309. package/dist/production/src/model/authorization/PermissionActions.cjs.map +0 -1
  1310. package/dist/production/src/model/authorization/PermissionActions.js +0 -62
  1311. package/dist/production/src/model/authorization/PermissionActions.js.map +0 -1
  1312. package/dist/production/src/model/authorization/PermissionContext.cjs +0 -46
  1313. package/dist/production/src/model/authorization/PermissionContext.cjs.map +0 -1
  1314. package/dist/production/src/model/authorization/PermissionContext.js +0 -46
  1315. package/dist/production/src/model/authorization/PermissionContext.js.map +0 -1
  1316. package/dist/production/src/model/authorization/PermissionContextFactory.cjs +0 -17
  1317. package/dist/production/src/model/authorization/PermissionContextFactory.cjs.map +0 -1
  1318. package/dist/production/src/model/authorization/PermissionContextFactory.js +0 -17
  1319. package/dist/production/src/model/authorization/PermissionContextFactory.js.map +0 -1
  1320. package/dist/production/src/model/authorization/PermissionsFactory.cjs +0 -67
  1321. package/dist/production/src/model/authorization/PermissionsFactory.cjs.map +0 -1
  1322. package/dist/production/src/model/authorization/PermissionsFactory.js +0 -67
  1323. package/dist/production/src/model/authorization/PermissionsFactory.js.map +0 -1
  1324. package/dist/production/src/model/authorization/ProjectScope.cjs +0 -30
  1325. package/dist/production/src/model/authorization/ProjectScope.cjs.map +0 -1
  1326. package/dist/production/src/model/authorization/ProjectScope.js +0 -30
  1327. package/dist/production/src/model/authorization/ProjectScope.js.map +0 -1
  1328. package/dist/production/src/model/authorization/ProjectScopeFactory.cjs +0 -17
  1329. package/dist/production/src/model/authorization/ProjectScopeFactory.cjs.map +0 -1
  1330. package/dist/production/src/model/authorization/ProjectScopeFactory.js +0 -17
  1331. package/dist/production/src/model/authorization/ProjectScopeFactory.js.map +0 -1
  1332. package/dist/production/src/model/authorization/Roles.cjs +0 -15
  1333. package/dist/production/src/model/authorization/Roles.cjs.map +0 -1
  1334. package/dist/production/src/model/authorization/Roles.js +0 -15
  1335. package/dist/production/src/model/authorization/Roles.js.map +0 -1
  1336. package/dist/production/src/model/commands/CommandBus.cjs +0 -18
  1337. package/dist/production/src/model/commands/CommandBus.cjs.map +0 -1
  1338. package/dist/production/src/model/commands/CommandBus.js +0 -18
  1339. package/dist/production/src/model/commands/CommandBus.js.map +0 -1
  1340. package/dist/production/src/model/commands/apiKey/ApiKeyHelper.cjs +0 -19
  1341. package/dist/production/src/model/commands/apiKey/ApiKeyHelper.cjs.map +0 -1
  1342. package/dist/production/src/model/commands/apiKey/ApiKeyHelper.js +0 -19
  1343. package/dist/production/src/model/commands/apiKey/ApiKeyHelper.js.map +0 -1
  1344. package/dist/production/src/model/commands/apiKey/CreateApiKeyCommand.cjs +0 -40
  1345. package/dist/production/src/model/commands/apiKey/CreateApiKeyCommand.cjs.map +0 -1
  1346. package/dist/production/src/model/commands/apiKey/CreateApiKeyCommand.js +0 -40
  1347. package/dist/production/src/model/commands/apiKey/CreateApiKeyCommand.js.map +0 -1
  1348. package/dist/production/src/model/commands/apiKey/DisableApiKeyCommand.cjs +0 -16
  1349. package/dist/production/src/model/commands/apiKey/DisableApiKeyCommand.cjs.map +0 -1
  1350. package/dist/production/src/model/commands/apiKey/DisableApiKeyCommand.js +0 -16
  1351. package/dist/production/src/model/commands/apiKey/DisableApiKeyCommand.js.map +0 -1
  1352. package/dist/production/src/model/commands/apiKey/DisableIdentityApiKeysCommand.cjs +0 -16
  1353. package/dist/production/src/model/commands/apiKey/DisableIdentityApiKeysCommand.cjs.map +0 -1
  1354. package/dist/production/src/model/commands/apiKey/DisableIdentityApiKeysCommand.js +0 -16
  1355. package/dist/production/src/model/commands/apiKey/DisableIdentityApiKeysCommand.js.map +0 -1
  1356. package/dist/production/src/model/commands/apiKey/DisableOneOffApiKeyCommand.cjs +0 -18
  1357. package/dist/production/src/model/commands/apiKey/DisableOneOffApiKeyCommand.cjs.map +0 -1
  1358. package/dist/production/src/model/commands/apiKey/DisableOneOffApiKeyCommand.js +0 -18
  1359. package/dist/production/src/model/commands/apiKey/DisableOneOffApiKeyCommand.js.map +0 -1
  1360. package/dist/production/src/model/commands/apiKey/ProlongApiKeyCommand.cjs +0 -31
  1361. package/dist/production/src/model/commands/apiKey/ProlongApiKeyCommand.cjs.map +0 -1
  1362. package/dist/production/src/model/commands/apiKey/ProlongApiKeyCommand.js +0 -31
  1363. package/dist/production/src/model/commands/apiKey/ProlongApiKeyCommand.js.map +0 -1
  1364. package/dist/production/src/model/commands/authLog/CreateAuthLogEntryCommand.cjs +0 -27
  1365. package/dist/production/src/model/commands/authLog/CreateAuthLogEntryCommand.cjs.map +0 -1
  1366. package/dist/production/src/model/commands/authLog/CreateAuthLogEntryCommand.js +0 -27
  1367. package/dist/production/src/model/commands/authLog/CreateAuthLogEntryCommand.js.map +0 -1
  1368. package/dist/production/src/model/commands/configuration/UpdateConfigurationCommand.cjs +0 -33
  1369. package/dist/production/src/model/commands/configuration/UpdateConfigurationCommand.cjs.map +0 -1
  1370. package/dist/production/src/model/commands/configuration/UpdateConfigurationCommand.js +0 -33
  1371. package/dist/production/src/model/commands/configuration/UpdateConfigurationCommand.js.map +0 -1
  1372. package/dist/production/src/model/commands/identity/CreateIdentityCommand.cjs +0 -22
  1373. package/dist/production/src/model/commands/identity/CreateIdentityCommand.cjs.map +0 -1
  1374. package/dist/production/src/model/commands/identity/CreateIdentityCommand.js +0 -22
  1375. package/dist/production/src/model/commands/identity/CreateIdentityCommand.js.map +0 -1
  1376. package/dist/production/src/model/commands/identity/PatchIdentityGlobalRoles.cjs +0 -24
  1377. package/dist/production/src/model/commands/identity/PatchIdentityGlobalRoles.cjs.map +0 -1
  1378. package/dist/production/src/model/commands/identity/PatchIdentityGlobalRoles.js +0 -24
  1379. package/dist/production/src/model/commands/identity/PatchIdentityGlobalRoles.js.map +0 -1
  1380. package/dist/production/src/model/commands/idp/CreateIdpCommand.cjs +0 -22
  1381. package/dist/production/src/model/commands/idp/CreateIdpCommand.cjs.map +0 -1
  1382. package/dist/production/src/model/commands/idp/CreateIdpCommand.js +0 -22
  1383. package/dist/production/src/model/commands/idp/CreateIdpCommand.js.map +0 -1
  1384. package/dist/production/src/model/commands/idp/DisableIdpCommand.cjs +0 -17
  1385. package/dist/production/src/model/commands/idp/DisableIdpCommand.cjs.map +0 -1
  1386. package/dist/production/src/model/commands/idp/DisableIdpCommand.js +0 -17
  1387. package/dist/production/src/model/commands/idp/DisableIdpCommand.js.map +0 -1
  1388. package/dist/production/src/model/commands/idp/EnableIdpCommand.cjs +0 -17
  1389. package/dist/production/src/model/commands/idp/EnableIdpCommand.cjs.map +0 -1
  1390. package/dist/production/src/model/commands/idp/EnableIdpCommand.js +0 -17
  1391. package/dist/production/src/model/commands/idp/EnableIdpCommand.js.map +0 -1
  1392. package/dist/production/src/model/commands/idp/UpdateIdpCommand.cjs +0 -22
  1393. package/dist/production/src/model/commands/idp/UpdateIdpCommand.cjs.map +0 -1
  1394. package/dist/production/src/model/commands/idp/UpdateIdpCommand.js +0 -22
  1395. package/dist/production/src/model/commands/idp/UpdateIdpCommand.js.map +0 -1
  1396. package/dist/production/src/model/commands/mailTemplate/AddMailTemplateCommand.cjs +0 -33
  1397. package/dist/production/src/model/commands/mailTemplate/AddMailTemplateCommand.cjs.map +0 -1
  1398. package/dist/production/src/model/commands/mailTemplate/AddMailTemplateCommand.js +0 -33
  1399. package/dist/production/src/model/commands/mailTemplate/AddMailTemplateCommand.js.map +0 -1
  1400. package/dist/production/src/model/commands/mailTemplate/RemoveMailTemplateCommand.cjs +0 -17
  1401. package/dist/production/src/model/commands/mailTemplate/RemoveMailTemplateCommand.cjs.map +0 -1
  1402. package/dist/production/src/model/commands/mailTemplate/RemoveMailTemplateCommand.js +0 -17
  1403. package/dist/production/src/model/commands/mailTemplate/RemoveMailTemplateCommand.js.map +0 -1
  1404. package/dist/production/src/model/commands/membership/AddProjectMemberCommand.cjs +0 -44
  1405. package/dist/production/src/model/commands/membership/AddProjectMemberCommand.cjs.map +0 -1
  1406. package/dist/production/src/model/commands/membership/AddProjectMemberCommand.js +0 -44
  1407. package/dist/production/src/model/commands/membership/AddProjectMemberCommand.js.map +0 -1
  1408. package/dist/production/src/model/commands/membership/CreateOrUpdateProjectMembershipCommand.cjs +0 -36
  1409. package/dist/production/src/model/commands/membership/CreateOrUpdateProjectMembershipCommand.cjs.map +0 -1
  1410. package/dist/production/src/model/commands/membership/CreateOrUpdateProjectMembershipCommand.js +0 -36
  1411. package/dist/production/src/model/commands/membership/CreateOrUpdateProjectMembershipCommand.js.map +0 -1
  1412. package/dist/production/src/model/commands/membership/RemoveProjectMemberCommand.cjs +0 -23
  1413. package/dist/production/src/model/commands/membership/RemoveProjectMemberCommand.cjs.map +0 -1
  1414. package/dist/production/src/model/commands/membership/RemoveProjectMemberCommand.js +0 -23
  1415. package/dist/production/src/model/commands/membership/RemoveProjectMemberCommand.js.map +0 -1
  1416. package/dist/production/src/model/commands/membership/RemoveProjectMembershipsCommand.cjs +0 -19
  1417. package/dist/production/src/model/commands/membership/RemoveProjectMembershipsCommand.cjs.map +0 -1
  1418. package/dist/production/src/model/commands/membership/RemoveProjectMembershipsCommand.js +0 -19
  1419. package/dist/production/src/model/commands/membership/RemoveProjectMembershipsCommand.js.map +0 -1
  1420. package/dist/production/src/model/commands/membership/UpdateProjectMemberCommand.cjs +0 -46
  1421. package/dist/production/src/model/commands/membership/UpdateProjectMemberCommand.cjs.map +0 -1
  1422. package/dist/production/src/model/commands/membership/UpdateProjectMemberCommand.js +0 -46
  1423. package/dist/production/src/model/commands/membership/UpdateProjectMemberCommand.js.map +0 -1
  1424. package/dist/production/src/model/commands/membership/variables/PatchProjectMembershipVariableValuesCommand.cjs +0 -33
  1425. package/dist/production/src/model/commands/membership/variables/PatchProjectMembershipVariableValuesCommand.cjs.map +0 -1
  1426. package/dist/production/src/model/commands/membership/variables/PatchProjectMembershipVariableValuesCommand.js +0 -33
  1427. package/dist/production/src/model/commands/membership/variables/PatchProjectMembershipVariableValuesCommand.js.map +0 -1
  1428. package/dist/production/src/model/commands/membership/variables/PatchProjectMembershipVariablesCommand.cjs +0 -30
  1429. package/dist/production/src/model/commands/membership/variables/PatchProjectMembershipVariablesCommand.cjs.map +0 -1
  1430. package/dist/production/src/model/commands/membership/variables/PatchProjectMembershipVariablesCommand.js +0 -30
  1431. package/dist/production/src/model/commands/membership/variables/PatchProjectMembershipVariablesCommand.js.map +0 -1
  1432. package/dist/production/src/model/commands/membership/variables/SetProjectMembershipVariableValuesCommand.cjs +0 -22
  1433. package/dist/production/src/model/commands/membership/variables/SetProjectMembershipVariableValuesCommand.cjs.map +0 -1
  1434. package/dist/production/src/model/commands/membership/variables/SetProjectMembershipVariableValuesCommand.js +0 -22
  1435. package/dist/production/src/model/commands/membership/variables/SetProjectMembershipVariableValuesCommand.js.map +0 -1
  1436. package/dist/production/src/model/commands/otp/ConfirmOtpCommand.cjs +0 -17
  1437. package/dist/production/src/model/commands/otp/ConfirmOtpCommand.cjs.map +0 -1
  1438. package/dist/production/src/model/commands/otp/ConfirmOtpCommand.js +0 -17
  1439. package/dist/production/src/model/commands/otp/ConfirmOtpCommand.js.map +0 -1
  1440. package/dist/production/src/model/commands/otp/DisableOtpCommand.cjs +0 -18
  1441. package/dist/production/src/model/commands/otp/DisableOtpCommand.cjs.map +0 -1
  1442. package/dist/production/src/model/commands/otp/DisableOtpCommand.js +0 -18
  1443. package/dist/production/src/model/commands/otp/DisableOtpCommand.js.map +0 -1
  1444. package/dist/production/src/model/commands/otp/PrepareOtpCommand.cjs +0 -19
  1445. package/dist/production/src/model/commands/otp/PrepareOtpCommand.cjs.map +0 -1
  1446. package/dist/production/src/model/commands/otp/PrepareOtpCommand.js +0 -19
  1447. package/dist/production/src/model/commands/otp/PrepareOtpCommand.js.map +0 -1
  1448. package/dist/production/src/model/commands/person/ChangePasswordCommand.cjs +0 -18
  1449. package/dist/production/src/model/commands/person/ChangePasswordCommand.cjs.map +0 -1
  1450. package/dist/production/src/model/commands/person/ChangePasswordCommand.js +0 -18
  1451. package/dist/production/src/model/commands/person/ChangePasswordCommand.js.map +0 -1
  1452. package/dist/production/src/model/commands/person/ChangeProfileCommand.cjs +0 -16
  1453. package/dist/production/src/model/commands/person/ChangeProfileCommand.cjs.map +0 -1
  1454. package/dist/production/src/model/commands/person/ChangeProfileCommand.js +0 -16
  1455. package/dist/production/src/model/commands/person/ChangeProfileCommand.js.map +0 -1
  1456. package/dist/production/src/model/commands/person/CreatePersonCommand.cjs +0 -36
  1457. package/dist/production/src/model/commands/person/CreatePersonCommand.cjs.map +0 -1
  1458. package/dist/production/src/model/commands/person/CreatePersonCommand.js +0 -36
  1459. package/dist/production/src/model/commands/person/CreatePersonCommand.js.map +0 -1
  1460. package/dist/production/src/model/commands/person/CreatePersonIdentityProviderIdentifierCommand.cjs +0 -21
  1461. package/dist/production/src/model/commands/person/CreatePersonIdentityProviderIdentifierCommand.cjs.map +0 -1
  1462. package/dist/production/src/model/commands/person/CreatePersonIdentityProviderIdentifierCommand.js +0 -21
  1463. package/dist/production/src/model/commands/person/CreatePersonIdentityProviderIdentifierCommand.js.map +0 -1
  1464. package/dist/production/src/model/commands/person/DisablePersonCommand.cjs +0 -17
  1465. package/dist/production/src/model/commands/person/DisablePersonCommand.cjs.map +0 -1
  1466. package/dist/production/src/model/commands/person/DisablePersonCommand.js +0 -17
  1467. package/dist/production/src/model/commands/person/DisablePersonCommand.js.map +0 -1
  1468. package/dist/production/src/model/commands/person/TogglePersonPasswordlessCommand.cjs +0 -18
  1469. package/dist/production/src/model/commands/person/TogglePersonPasswordlessCommand.cjs.map +0 -1
  1470. package/dist/production/src/model/commands/person/TogglePersonPasswordlessCommand.js +0 -18
  1471. package/dist/production/src/model/commands/person/TogglePersonPasswordlessCommand.js.map +0 -1
  1472. package/dist/production/src/model/commands/personToken/ActivateOtpCommand.cjs +0 -20
  1473. package/dist/production/src/model/commands/personToken/ActivateOtpCommand.cjs.map +0 -1
  1474. package/dist/production/src/model/commands/personToken/ActivateOtpCommand.js +0 -20
  1475. package/dist/production/src/model/commands/personToken/ActivateOtpCommand.js.map +0 -1
  1476. package/dist/production/src/model/commands/personToken/CreatePersonTokenCommand.cjs +0 -33
  1477. package/dist/production/src/model/commands/personToken/CreatePersonTokenCommand.cjs.map +0 -1
  1478. package/dist/production/src/model/commands/personToken/CreatePersonTokenCommand.js +0 -33
  1479. package/dist/production/src/model/commands/personToken/CreatePersonTokenCommand.js.map +0 -1
  1480. package/dist/production/src/model/commands/personToken/IncreaseOtpAttemptCommand.cjs +0 -19
  1481. package/dist/production/src/model/commands/personToken/IncreaseOtpAttemptCommand.cjs.map +0 -1
  1482. package/dist/production/src/model/commands/personToken/IncreaseOtpAttemptCommand.js +0 -19
  1483. package/dist/production/src/model/commands/personToken/IncreaseOtpAttemptCommand.js.map +0 -1
  1484. package/dist/production/src/model/commands/personToken/InvalidateTokenCommand.cjs +0 -19
  1485. package/dist/production/src/model/commands/personToken/InvalidateTokenCommand.cjs.map +0 -1
  1486. package/dist/production/src/model/commands/personToken/InvalidateTokenCommand.js +0 -19
  1487. package/dist/production/src/model/commands/personToken/InvalidateTokenCommand.js.map +0 -1
  1488. package/dist/production/src/model/commands/personToken/ResetPasswordCommand.cjs +0 -28
  1489. package/dist/production/src/model/commands/personToken/ResetPasswordCommand.cjs.map +0 -1
  1490. package/dist/production/src/model/commands/personToken/ResetPasswordCommand.js +0 -28
  1491. package/dist/production/src/model/commands/personToken/ResetPasswordCommand.js.map +0 -1
  1492. package/dist/production/src/model/commands/personToken/SavePersonTokenCommand.cjs +0 -28
  1493. package/dist/production/src/model/commands/personToken/SavePersonTokenCommand.cjs.map +0 -1
  1494. package/dist/production/src/model/commands/personToken/SavePersonTokenCommand.js +0 -28
  1495. package/dist/production/src/model/commands/personToken/SavePersonTokenCommand.js.map +0 -1
  1496. package/dist/production/src/model/commands/project/CreateProjectCommand.cjs +0 -22
  1497. package/dist/production/src/model/commands/project/CreateProjectCommand.cjs.map +0 -1
  1498. package/dist/production/src/model/commands/project/CreateProjectCommand.js +0 -22
  1499. package/dist/production/src/model/commands/project/CreateProjectCommand.js.map +0 -1
  1500. package/dist/production/src/model/commands/project/SetProjectSecretCommand.cjs +0 -30
  1501. package/dist/production/src/model/commands/project/SetProjectSecretCommand.cjs.map +0 -1
  1502. package/dist/production/src/model/commands/project/SetProjectSecretCommand.js +0 -30
  1503. package/dist/production/src/model/commands/project/SetProjectSecretCommand.js.map +0 -1
  1504. package/dist/production/src/model/commands/project/UpdateProjectCommand.cjs +0 -25
  1505. package/dist/production/src/model/commands/project/UpdateProjectCommand.cjs.map +0 -1
  1506. package/dist/production/src/model/commands/project/UpdateProjectCommand.js +0 -25
  1507. package/dist/production/src/model/commands/project/UpdateProjectCommand.js.map +0 -1
  1508. package/dist/production/src/model/consts/expirations.cjs +0 -7
  1509. package/dist/production/src/model/consts/expirations.cjs.map +0 -1
  1510. package/dist/production/src/model/consts/expirations.js +0 -7
  1511. package/dist/production/src/model/consts/expirations.js.map +0 -1
  1512. package/dist/production/src/model/dtos/Password.cjs +0 -32
  1513. package/dist/production/src/model/dtos/Password.cjs.map +0 -1
  1514. package/dist/production/src/model/dtos/Password.js +0 -32
  1515. package/dist/production/src/model/dtos/Password.js.map +0 -1
  1516. package/dist/production/src/model/mailing/UserMailer.cjs +0 -81
  1517. package/dist/production/src/model/mailing/UserMailer.cjs.map +0 -1
  1518. package/dist/production/src/model/mailing/UserMailer.js +0 -81
  1519. package/dist/production/src/model/mailing/UserMailer.js.map +0 -1
  1520. package/dist/production/src/model/mailing/templates/ExistingUserInvited.mustache.cjs +0 -8
  1521. package/dist/production/src/model/mailing/templates/ExistingUserInvited.mustache.cjs.map +0 -1
  1522. package/dist/production/src/model/mailing/templates/ExistingUserInvited.mustache.js +0 -9
  1523. package/dist/production/src/model/mailing/templates/ExistingUserInvited.mustache.js.map +0 -1
  1524. package/dist/production/src/model/mailing/templates/Layout.mustache.cjs +0 -10
  1525. package/dist/production/src/model/mailing/templates/Layout.mustache.cjs.map +0 -1
  1526. package/dist/production/src/model/mailing/templates/Layout.mustache.js +0 -11
  1527. package/dist/production/src/model/mailing/templates/Layout.mustache.js.map +0 -1
  1528. package/dist/production/src/model/mailing/templates/NewUserInvited.mustache.cjs +0 -19
  1529. package/dist/production/src/model/mailing/templates/NewUserInvited.mustache.cjs.map +0 -1
  1530. package/dist/production/src/model/mailing/templates/NewUserInvited.mustache.js +0 -20
  1531. package/dist/production/src/model/mailing/templates/NewUserInvited.mustache.js.map +0 -1
  1532. package/dist/production/src/model/mailing/templates/PasswordReset.mustache.cjs +0 -12
  1533. package/dist/production/src/model/mailing/templates/PasswordReset.mustache.cjs.map +0 -1
  1534. package/dist/production/src/model/mailing/templates/PasswordReset.mustache.js +0 -13
  1535. package/dist/production/src/model/mailing/templates/PasswordReset.mustache.js.map +0 -1
  1536. package/dist/production/src/model/mailing/templates/PasswordlessSignIn.mustache.cjs +0 -17
  1537. package/dist/production/src/model/mailing/templates/PasswordlessSignIn.mustache.cjs.map +0 -1
  1538. package/dist/production/src/model/mailing/templates/PasswordlessSignIn.mustache.js +0 -18
  1539. package/dist/production/src/model/mailing/templates/PasswordlessSignIn.mustache.js.map +0 -1
  1540. package/dist/production/src/model/mailing/type.cjs +0 -42
  1541. package/dist/production/src/model/mailing/type.cjs.map +0 -1
  1542. package/dist/production/src/model/mailing/type.js +0 -42
  1543. package/dist/production/src/model/mailing/type.js.map +0 -1
  1544. package/dist/production/src/model/queries/apiKey/ApiKeyQuery.cjs +0 -44
  1545. package/dist/production/src/model/queries/apiKey/ApiKeyQuery.cjs.map +0 -1
  1546. package/dist/production/src/model/queries/apiKey/ApiKeyQuery.js +0 -44
  1547. package/dist/production/src/model/queries/apiKey/ApiKeyQuery.js.map +0 -1
  1548. package/dist/production/src/model/queries/authLog/NextLoginAttemptQuery.cjs +0 -46
  1549. package/dist/production/src/model/queries/authLog/NextLoginAttemptQuery.cjs.map +0 -1
  1550. package/dist/production/src/model/queries/authLog/NextLoginAttemptQuery.js +0 -46
  1551. package/dist/production/src/model/queries/authLog/NextLoginAttemptQuery.js.map +0 -1
  1552. package/dist/production/src/model/queries/configuration/ConfigurationQuery.cjs +0 -38
  1553. package/dist/production/src/model/queries/configuration/ConfigurationQuery.cjs.map +0 -1
  1554. package/dist/production/src/model/queries/configuration/ConfigurationQuery.js +0 -38
  1555. package/dist/production/src/model/queries/configuration/ConfigurationQuery.js.map +0 -1
  1556. package/dist/production/src/model/queries/identity/IdentityQuery.cjs +0 -15
  1557. package/dist/production/src/model/queries/identity/IdentityQuery.cjs.map +0 -1
  1558. package/dist/production/src/model/queries/identity/IdentityQuery.js +0 -15
  1559. package/dist/production/src/model/queries/identity/IdentityQuery.js.map +0 -1
  1560. package/dist/production/src/model/queries/idp/IdentityProviderBySlugQuery.cjs +0 -18
  1561. package/dist/production/src/model/queries/idp/IdentityProviderBySlugQuery.cjs.map +0 -1
  1562. package/dist/production/src/model/queries/idp/IdentityProviderBySlugQuery.js +0 -18
  1563. package/dist/production/src/model/queries/idp/IdentityProviderBySlugQuery.js.map +0 -1
  1564. package/dist/production/src/model/queries/idp/IdentityProvidersQuery.cjs +0 -11
  1565. package/dist/production/src/model/queries/idp/IdentityProvidersQuery.cjs.map +0 -1
  1566. package/dist/production/src/model/queries/idp/IdentityProvidersQuery.js +0 -11
  1567. package/dist/production/src/model/queries/idp/IdentityProvidersQuery.js.map +0 -1
  1568. package/dist/production/src/model/queries/idp/helpers.cjs +0 -13
  1569. package/dist/production/src/model/queries/idp/helpers.cjs.map +0 -1
  1570. package/dist/production/src/model/queries/idp/helpers.js +0 -13
  1571. package/dist/production/src/model/queries/idp/helpers.js.map +0 -1
  1572. package/dist/production/src/model/queries/mailTemplate/MailTemplateListQuery.cjs +0 -11
  1573. package/dist/production/src/model/queries/mailTemplate/MailTemplateListQuery.cjs.map +0 -1
  1574. package/dist/production/src/model/queries/mailTemplate/MailTemplateListQuery.js +0 -11
  1575. package/dist/production/src/model/queries/mailTemplate/MailTemplateListQuery.js.map +0 -1
  1576. package/dist/production/src/model/queries/mailTemplate/MailTemplateQuery.cjs +0 -20
  1577. package/dist/production/src/model/queries/mailTemplate/MailTemplateQuery.cjs.map +0 -1
  1578. package/dist/production/src/model/queries/mailTemplate/MailTemplateQuery.js +0 -20
  1579. package/dist/production/src/model/queries/mailTemplate/MailTemplateQuery.js.map +0 -1
  1580. package/dist/production/src/model/queries/mailTemplate/helpers.cjs +0 -6
  1581. package/dist/production/src/model/queries/mailTemplate/helpers.cjs.map +0 -1
  1582. package/dist/production/src/model/queries/mailTemplate/helpers.js +0 -6
  1583. package/dist/production/src/model/queries/mailTemplate/helpers.js.map +0 -1
  1584. package/dist/production/src/model/queries/membership/ProjectMembersQuery.cjs +0 -34
  1585. package/dist/production/src/model/queries/membership/ProjectMembersQuery.cjs.map +0 -1
  1586. package/dist/production/src/model/queries/membership/ProjectMembersQuery.js +0 -34
  1587. package/dist/production/src/model/queries/membership/ProjectMembersQuery.js.map +0 -1
  1588. package/dist/production/src/model/queries/membership/ProjectMembershipByIdentityQuery.cjs +0 -32
  1589. package/dist/production/src/model/queries/membership/ProjectMembershipByIdentityQuery.cjs.map +0 -1
  1590. package/dist/production/src/model/queries/membership/ProjectMembershipByIdentityQuery.js +0 -32
  1591. package/dist/production/src/model/queries/membership/ProjectMembershipByIdentityQuery.js.map +0 -1
  1592. package/dist/production/src/model/queries/membership/ProjectRolesByIdentityQuery.cjs +0 -23
  1593. package/dist/production/src/model/queries/membership/ProjectRolesByIdentityQuery.cjs.map +0 -1
  1594. package/dist/production/src/model/queries/membership/ProjectRolesByIdentityQuery.js +0 -23
  1595. package/dist/production/src/model/queries/membership/ProjectRolesByIdentityQuery.js.map +0 -1
  1596. package/dist/production/src/model/queries/membership/ProjectSlugSpecification.cjs +0 -8
  1597. package/dist/production/src/model/queries/membership/ProjectSlugSpecification.cjs.map +0 -1
  1598. package/dist/production/src/model/queries/membership/ProjectSlugSpecification.js +0 -8
  1599. package/dist/production/src/model/queries/membership/ProjectSlugSpecification.js.map +0 -1
  1600. package/dist/production/src/model/queries/person/PersonByIdPQuery.cjs +0 -20
  1601. package/dist/production/src/model/queries/person/PersonByIdPQuery.cjs.map +0 -1
  1602. package/dist/production/src/model/queries/person/PersonByIdPQuery.js +0 -20
  1603. package/dist/production/src/model/queries/person/PersonByIdPQuery.js.map +0 -1
  1604. package/dist/production/src/model/queries/person/PersonByIdentityBatchQuery.cjs +0 -16
  1605. package/dist/production/src/model/queries/person/PersonByIdentityBatchQuery.cjs.map +0 -1
  1606. package/dist/production/src/model/queries/person/PersonByIdentityBatchQuery.js +0 -16
  1607. package/dist/production/src/model/queries/person/PersonByIdentityBatchQuery.js.map +0 -1
  1608. package/dist/production/src/model/queries/person/PersonQuery.cjs +0 -57
  1609. package/dist/production/src/model/queries/person/PersonQuery.cjs.map +0 -1
  1610. package/dist/production/src/model/queries/person/PersonQuery.js +0 -57
  1611. package/dist/production/src/model/queries/person/PersonQuery.js.map +0 -1
  1612. package/dist/production/src/model/queries/person/PersonQueryBuilderFactory.cjs +0 -10
  1613. package/dist/production/src/model/queries/person/PersonQueryBuilderFactory.cjs.map +0 -1
  1614. package/dist/production/src/model/queries/person/PersonQueryBuilderFactory.js +0 -10
  1615. package/dist/production/src/model/queries/person/PersonQueryBuilderFactory.js.map +0 -1
  1616. package/dist/production/src/model/queries/personToken/PersonTokenQuery.cjs +0 -29
  1617. package/dist/production/src/model/queries/personToken/PersonTokenQuery.cjs.map +0 -1
  1618. package/dist/production/src/model/queries/personToken/PersonTokenQuery.js +0 -29
  1619. package/dist/production/src/model/queries/personToken/PersonTokenQuery.js.map +0 -1
  1620. package/dist/production/src/model/queries/project/ProjectBySlugQuery.cjs +0 -24
  1621. package/dist/production/src/model/queries/project/ProjectBySlugQuery.cjs.map +0 -1
  1622. package/dist/production/src/model/queries/project/ProjectBySlugQuery.js +0 -24
  1623. package/dist/production/src/model/queries/project/ProjectBySlugQuery.js.map +0 -1
  1624. package/dist/production/src/model/queries/project/ProjectSecretsQuery.cjs +0 -28
  1625. package/dist/production/src/model/queries/project/ProjectSecretsQuery.cjs.map +0 -1
  1626. package/dist/production/src/model/queries/project/ProjectSecretsQuery.js +0 -28
  1627. package/dist/production/src/model/queries/project/ProjectSecretsQuery.js.map +0 -1
  1628. package/dist/production/src/model/queries/project/ProjectUpdateTimestampQuery.cjs +0 -17
  1629. package/dist/production/src/model/queries/project/ProjectUpdateTimestampQuery.cjs.map +0 -1
  1630. package/dist/production/src/model/queries/project/ProjectUpdateTimestampQuery.js +0 -17
  1631. package/dist/production/src/model/queries/project/ProjectUpdateTimestampQuery.js.map +0 -1
  1632. package/dist/production/src/model/queries/project/ProjectsByIdentityQuery.cjs +0 -43
  1633. package/dist/production/src/model/queries/project/ProjectsByIdentityQuery.cjs.map +0 -1
  1634. package/dist/production/src/model/queries/project/ProjectsByIdentityQuery.js +0 -43
  1635. package/dist/production/src/model/queries/project/ProjectsByIdentityQuery.js.map +0 -1
  1636. package/dist/production/src/model/queries/project/ProjectsQuery.cjs +0 -10
  1637. package/dist/production/src/model/queries/project/ProjectsQuery.cjs.map +0 -1
  1638. package/dist/production/src/model/queries/project/ProjectsQuery.js +0 -10
  1639. package/dist/production/src/model/queries/project/ProjectsQuery.js.map +0 -1
  1640. package/dist/production/src/model/service/AuthLogService.cjs +0 -34
  1641. package/dist/production/src/model/service/AuthLogService.cjs.map +0 -1
  1642. package/dist/production/src/model/service/AuthLogService.js +0 -34
  1643. package/dist/production/src/model/service/AuthLogService.js.map +0 -1
  1644. package/dist/production/src/model/service/ConfigurationManager.cjs +0 -17
  1645. package/dist/production/src/model/service/ConfigurationManager.cjs.map +0 -1
  1646. package/dist/production/src/model/service/ConfigurationManager.js +0 -17
  1647. package/dist/production/src/model/service/ConfigurationManager.js.map +0 -1
  1648. package/dist/production/src/model/service/EmailValidator.cjs +0 -29
  1649. package/dist/production/src/model/service/EmailValidator.cjs.map +0 -1
  1650. package/dist/production/src/model/service/EmailValidator.js +0 -29
  1651. package/dist/production/src/model/service/EmailValidator.js.map +0 -1
  1652. package/dist/production/src/model/service/IDPSignInManager.cjs +0 -160
  1653. package/dist/production/src/model/service/IDPSignInManager.cjs.map +0 -1
  1654. package/dist/production/src/model/service/IDPSignInManager.js +0 -160
  1655. package/dist/production/src/model/service/IDPSignInManager.js.map +0 -1
  1656. package/dist/production/src/model/service/InviteManager.cjs +0 -101
  1657. package/dist/production/src/model/service/InviteManager.cjs.map +0 -1
  1658. package/dist/production/src/model/service/InviteManager.js +0 -101
  1659. package/dist/production/src/model/service/InviteManager.js.map +0 -1
  1660. package/dist/production/src/model/service/MailTemplateManager.cjs +0 -17
  1661. package/dist/production/src/model/service/MailTemplateManager.cjs.map +0 -1
  1662. package/dist/production/src/model/service/MailTemplateManager.js +0 -17
  1663. package/dist/production/src/model/service/MailTemplateManager.js.map +0 -1
  1664. package/dist/production/src/model/service/MembershipValidator.cjs +0 -26
  1665. package/dist/production/src/model/service/MembershipValidator.cjs.map +0 -1
  1666. package/dist/production/src/model/service/MembershipValidator.js +0 -21
  1667. package/dist/production/src/model/service/MembershipValidator.js.map +0 -1
  1668. package/dist/production/src/model/service/OtpAuthenticator.cjs +0 -42
  1669. package/dist/production/src/model/service/OtpAuthenticator.cjs.map +0 -1
  1670. package/dist/production/src/model/service/OtpAuthenticator.js +0 -42
  1671. package/dist/production/src/model/service/OtpAuthenticator.js.map +0 -1
  1672. package/dist/production/src/model/service/OtpManager.cjs +0 -38
  1673. package/dist/production/src/model/service/OtpManager.cjs.map +0 -1
  1674. package/dist/production/src/model/service/OtpManager.js +0 -38
  1675. package/dist/production/src/model/service/OtpManager.js.map +0 -1
  1676. package/dist/production/src/model/service/PasswordChangeManager.cjs +0 -46
  1677. package/dist/production/src/model/service/PasswordChangeManager.cjs.map +0 -1
  1678. package/dist/production/src/model/service/PasswordChangeManager.js +0 -46
  1679. package/dist/production/src/model/service/PasswordChangeManager.js.map +0 -1
  1680. package/dist/production/src/model/service/PasswordResetManager.cjs +0 -77
  1681. package/dist/production/src/model/service/PasswordResetManager.cjs.map +0 -1
  1682. package/dist/production/src/model/service/PasswordResetManager.js +0 -77
  1683. package/dist/production/src/model/service/PasswordResetManager.js.map +0 -1
  1684. package/dist/production/src/model/service/PasswordStrengthValidator.cjs +0 -63
  1685. package/dist/production/src/model/service/PasswordStrengthValidator.cjs.map +0 -1
  1686. package/dist/production/src/model/service/PasswordStrengthValidator.js +0 -63
  1687. package/dist/production/src/model/service/PasswordStrengthValidator.js.map +0 -1
  1688. package/dist/production/src/model/service/PasswordlessSignInManager.cjs +0 -201
  1689. package/dist/production/src/model/service/PasswordlessSignInManager.cjs.map +0 -1
  1690. package/dist/production/src/model/service/PasswordlessSignInManager.js +0 -201
  1691. package/dist/production/src/model/service/PasswordlessSignInManager.js.map +0 -1
  1692. package/dist/production/src/model/service/PersonAccessManager.cjs +0 -27
  1693. package/dist/production/src/model/service/PersonAccessManager.cjs.map +0 -1
  1694. package/dist/production/src/model/service/PersonAccessManager.js +0 -27
  1695. package/dist/production/src/model/service/PersonAccessManager.js.map +0 -1
  1696. package/dist/production/src/model/service/PersonManager.cjs +0 -41
  1697. package/dist/production/src/model/service/PersonManager.cjs.map +0 -1
  1698. package/dist/production/src/model/service/PersonManager.js +0 -41
  1699. package/dist/production/src/model/service/PersonManager.js.map +0 -1
  1700. package/dist/production/src/model/service/ProjectManager.cjs +0 -102
  1701. package/dist/production/src/model/service/ProjectManager.cjs.map +0 -1
  1702. package/dist/production/src/model/service/ProjectManager.js +0 -102
  1703. package/dist/production/src/model/service/ProjectManager.js.map +0 -1
  1704. package/dist/production/src/model/service/ProjectMemberManager.cjs +0 -120
  1705. package/dist/production/src/model/service/ProjectMemberManager.cjs.map +0 -1
  1706. package/dist/production/src/model/service/ProjectMemberManager.js +0 -120
  1707. package/dist/production/src/model/service/ProjectMemberManager.js.map +0 -1
  1708. package/dist/production/src/model/service/RolesManager.cjs +0 -42
  1709. package/dist/production/src/model/service/RolesManager.cjs.map +0 -1
  1710. package/dist/production/src/model/service/RolesManager.js +0 -42
  1711. package/dist/production/src/model/service/RolesManager.js.map +0 -1
  1712. package/dist/production/src/model/service/SecretsManager.cjs +0 -41
  1713. package/dist/production/src/model/service/SecretsManager.cjs.map +0 -1
  1714. package/dist/production/src/model/service/SecretsManager.js +0 -41
  1715. package/dist/production/src/model/service/SecretsManager.js.map +0 -1
  1716. package/dist/production/src/model/service/SignInManager.cjs +0 -96
  1717. package/dist/production/src/model/service/SignInManager.cjs.map +0 -1
  1718. package/dist/production/src/model/service/SignInManager.js +0 -96
  1719. package/dist/production/src/model/service/SignInManager.js.map +0 -1
  1720. package/dist/production/src/model/service/SignUpManager.cjs +0 -49
  1721. package/dist/production/src/model/service/SignUpManager.cjs.map +0 -1
  1722. package/dist/production/src/model/service/SignUpManager.js +0 -49
  1723. package/dist/production/src/model/service/SignUpManager.js.map +0 -1
  1724. package/dist/production/src/model/service/apiKey/ApiKeyManager.cjs +0 -109
  1725. package/dist/production/src/model/service/apiKey/ApiKeyManager.cjs.map +0 -1
  1726. package/dist/production/src/model/service/apiKey/ApiKeyManager.js +0 -109
  1727. package/dist/production/src/model/service/apiKey/ApiKeyManager.js.map +0 -1
  1728. package/dist/production/src/model/service/apiKey/ApiKeyService.cjs +0 -47
  1729. package/dist/production/src/model/service/apiKey/ApiKeyService.cjs.map +0 -1
  1730. package/dist/production/src/model/service/apiKey/ApiKeyService.js +0 -47
  1731. package/dist/production/src/model/service/apiKey/ApiKeyService.js.map +0 -1
  1732. package/dist/production/src/model/service/helpers/getPreferredProject.cjs +0 -13
  1733. package/dist/production/src/model/service/helpers/getPreferredProject.cjs.map +0 -1
  1734. package/dist/production/src/model/service/helpers/getPreferredProject.js +0 -13
  1735. package/dist/production/src/model/service/helpers/getPreferredProject.js.map +0 -1
  1736. package/dist/production/src/model/service/idp/IDPHandlerRegistry.cjs +0 -26
  1737. package/dist/production/src/model/service/idp/IDPHandlerRegistry.cjs.map +0 -1
  1738. package/dist/production/src/model/service/idp/IDPHandlerRegistry.js +0 -26
  1739. package/dist/production/src/model/service/idp/IDPHandlerRegistry.js.map +0 -1
  1740. package/dist/production/src/model/service/idp/IDPManager.cjs +0 -121
  1741. package/dist/production/src/model/service/idp/IDPManager.cjs.map +0 -1
  1742. package/dist/production/src/model/service/idp/IDPManager.js +0 -121
  1743. package/dist/production/src/model/service/idp/IDPManager.js.map +0 -1
  1744. package/dist/production/src/model/service/idp/IDPResponseError.cjs +0 -9
  1745. package/dist/production/src/model/service/idp/IDPResponseError.cjs.map +0 -1
  1746. package/dist/production/src/model/service/idp/IDPResponseError.js +0 -9
  1747. package/dist/production/src/model/service/idp/IDPResponseError.js.map +0 -1
  1748. package/dist/production/src/model/service/idp/IDPValidationError.cjs +0 -9
  1749. package/dist/production/src/model/service/idp/IDPValidationError.cjs.map +0 -1
  1750. package/dist/production/src/model/service/idp/IDPValidationError.js +0 -9
  1751. package/dist/production/src/model/service/idp/IDPValidationError.js.map +0 -1
  1752. package/dist/production/src/model/service/idp/IdentityProviderNotFoundError.cjs +0 -9
  1753. package/dist/production/src/model/service/idp/IdentityProviderNotFoundError.cjs.map +0 -1
  1754. package/dist/production/src/model/service/idp/IdentityProviderNotFoundError.js +0 -9
  1755. package/dist/production/src/model/service/idp/IdentityProviderNotFoundError.js.map +0 -1
  1756. package/dist/production/src/model/service/idp/InvalidIDPConfigurationError.cjs +0 -9
  1757. package/dist/production/src/model/service/idp/InvalidIDPConfigurationError.cjs.map +0 -1
  1758. package/dist/production/src/model/service/idp/InvalidIDPConfigurationError.js +0 -9
  1759. package/dist/production/src/model/service/idp/InvalidIDPConfigurationError.js.map +0 -1
  1760. package/dist/production/src/model/service/idp/providers/AppleProvider.cjs +0 -81
  1761. package/dist/production/src/model/service/idp/providers/AppleProvider.cjs.map +0 -1
  1762. package/dist/production/src/model/service/idp/providers/AppleProvider.js +0 -64
  1763. package/dist/production/src/model/service/idp/providers/AppleProvider.js.map +0 -1
  1764. package/dist/production/src/model/service/idp/providers/FacebookProvider.cjs +0 -142
  1765. package/dist/production/src/model/service/idp/providers/FacebookProvider.cjs.map +0 -1
  1766. package/dist/production/src/model/service/idp/providers/FacebookProvider.js +0 -125
  1767. package/dist/production/src/model/service/idp/providers/FacebookProvider.js.map +0 -1
  1768. package/dist/production/src/model/service/idp/providers/OIDCHelpers.cjs +0 -54
  1769. package/dist/production/src/model/service/idp/providers/OIDCHelpers.cjs.map +0 -1
  1770. package/dist/production/src/model/service/idp/providers/OIDCHelpers.js +0 -54
  1771. package/dist/production/src/model/service/idp/providers/OIDCHelpers.js.map +0 -1
  1772. package/dist/production/src/model/service/idp/providers/OIDCProvider.cjs +0 -59
  1773. package/dist/production/src/model/service/idp/providers/OIDCProvider.cjs.map +0 -1
  1774. package/dist/production/src/model/service/idp/providers/OIDCProvider.js +0 -59
  1775. package/dist/production/src/model/service/idp/providers/OIDCProvider.js.map +0 -1
  1776. package/dist/production/src/model/service/idp/providers/OIDCTypes.cjs +0 -76
  1777. package/dist/production/src/model/service/idp/providers/OIDCTypes.cjs.map +0 -1
  1778. package/dist/production/src/model/service/idp/providers/OIDCTypes.js +0 -59
  1779. package/dist/production/src/model/service/idp/providers/OIDCTypes.js.map +0 -1
  1780. package/dist/production/src/model/service/idp/providers/helpers.cjs +0 -32
  1781. package/dist/production/src/model/service/idp/providers/helpers.cjs.map +0 -1
  1782. package/dist/production/src/model/service/idp/providers/helpers.js +0 -15
  1783. package/dist/production/src/model/service/idp/providers/helpers.js.map +0 -1
  1784. package/dist/production/src/model/service/membershipUtils.cjs +0 -75
  1785. package/dist/production/src/model/service/membershipUtils.cjs.map +0 -1
  1786. package/dist/production/src/model/service/membershipUtils.js +0 -75
  1787. package/dist/production/src/model/service/membershipUtils.js.map +0 -1
  1788. package/dist/production/src/model/type/ApiKey.cjs +0 -11
  1789. package/dist/production/src/model/type/ApiKey.cjs.map +0 -1
  1790. package/dist/production/src/model/type/ApiKey.js +0 -12
  1791. package/dist/production/src/model/type/ApiKey.js.map +0 -1
  1792. package/dist/production/src/model/utils/DatabaseContext.cjs +0 -45
  1793. package/dist/production/src/model/utils/DatabaseContext.cjs.map +0 -1
  1794. package/dist/production/src/model/utils/DatabaseContext.js +0 -45
  1795. package/dist/production/src/model/utils/DatabaseContext.js.map +0 -1
  1796. package/dist/production/src/model/utils/Response.cjs +0 -22
  1797. package/dist/production/src/model/utils/Response.cjs.map +0 -1
  1798. package/dist/production/src/model/utils/Response.js +0 -22
  1799. package/dist/production/src/model/utils/Response.js.map +0 -1
  1800. package/dist/production/src/model/utils/blacklist.cjs +0 -10006
  1801. package/dist/production/src/model/utils/blacklist.cjs.map +0 -1
  1802. package/dist/production/src/model/utils/blacklist.js +0 -10006
  1803. package/dist/production/src/model/utils/blacklist.js.map +0 -1
  1804. package/dist/production/src/model/utils/email.cjs +0 -11
  1805. package/dist/production/src/model/utils/email.cjs.map +0 -1
  1806. package/dist/production/src/model/utils/email.js +0 -11
  1807. package/dist/production/src/model/utils/email.js.map +0 -1
  1808. package/dist/production/src/model/utils/hex.cjs +0 -6
  1809. package/dist/production/src/model/utils/hex.cjs.map +0 -1
  1810. package/dist/production/src/model/utils/hex.js +0 -6
  1811. package/dist/production/src/model/utils/hex.js.map +0 -1
  1812. package/dist/production/src/model/utils/interval.cjs +0 -8
  1813. package/dist/production/src/model/utils/interval.cjs.map +0 -1
  1814. package/dist/production/src/model/utils/interval.js +0 -8
  1815. package/dist/production/src/model/utils/interval.js.map +0 -1
  1816. package/dist/production/src/model/utils/time.cjs +0 -7
  1817. package/dist/production/src/model/utils/time.cjs.map +0 -1
  1818. package/dist/production/src/model/utils/time.js +0 -7
  1819. package/dist/production/src/model/utils/time.js.map +0 -1
  1820. package/dist/production/src/model/utils/token.cjs +0 -54
  1821. package/dist/production/src/model/utils/token.cjs.map +0 -1
  1822. package/dist/production/src/model/utils/token.js +0 -54
  1823. package/dist/production/src/model/utils/token.js.map +0 -1
  1824. package/dist/production/src/resolvers/ResolverFactory.cjs +0 -85
  1825. package/dist/production/src/resolvers/ResolverFactory.cjs.map +0 -1
  1826. package/dist/production/src/resolvers/ResolverFactory.js +0 -85
  1827. package/dist/production/src/resolvers/ResolverFactory.js.map +0 -1
  1828. package/dist/production/src/resolvers/TenantResolverContextFactory.cjs +0 -38
  1829. package/dist/production/src/resolvers/TenantResolverContextFactory.cjs.map +0 -1
  1830. package/dist/production/src/resolvers/TenantResolverContextFactory.js +0 -38
  1831. package/dist/production/src/resolvers/TenantResolverContextFactory.js.map +0 -1
  1832. package/dist/production/src/resolvers/errorUtils.cjs +0 -21
  1833. package/dist/production/src/resolvers/errorUtils.cjs.map +0 -1
  1834. package/dist/production/src/resolvers/errorUtils.js +0 -21
  1835. package/dist/production/src/resolvers/errorUtils.js.map +0 -1
  1836. package/dist/production/src/resolvers/membershipUtils.cjs +0 -75
  1837. package/dist/production/src/resolvers/membershipUtils.cjs.map +0 -1
  1838. package/dist/production/src/resolvers/membershipUtils.js +0 -75
  1839. package/dist/production/src/resolvers/membershipUtils.js.map +0 -1
  1840. package/dist/production/src/resolvers/mutation/apiKey/CreateApiKeyMutationResolver.cjs +0 -81
  1841. package/dist/production/src/resolvers/mutation/apiKey/CreateApiKeyMutationResolver.cjs.map +0 -1
  1842. package/dist/production/src/resolvers/mutation/apiKey/CreateApiKeyMutationResolver.js +0 -81
  1843. package/dist/production/src/resolvers/mutation/apiKey/CreateApiKeyMutationResolver.js.map +0 -1
  1844. package/dist/production/src/resolvers/mutation/apiKey/DisableApiKeyMutationResolver.cjs +0 -42
  1845. package/dist/production/src/resolvers/mutation/apiKey/DisableApiKeyMutationResolver.cjs.map +0 -1
  1846. package/dist/production/src/resolvers/mutation/apiKey/DisableApiKeyMutationResolver.js +0 -42
  1847. package/dist/production/src/resolvers/mutation/apiKey/DisableApiKeyMutationResolver.js.map +0 -1
  1848. package/dist/production/src/resolvers/mutation/configuration/ConfigurationMutationResolver.cjs +0 -41
  1849. package/dist/production/src/resolvers/mutation/configuration/ConfigurationMutationResolver.cjs.map +0 -1
  1850. package/dist/production/src/resolvers/mutation/configuration/ConfigurationMutationResolver.js +0 -41
  1851. package/dist/production/src/resolvers/mutation/configuration/ConfigurationMutationResolver.js.map +0 -1
  1852. package/dist/production/src/resolvers/mutation/identity/GlobalRolesMutationResolver.cjs +0 -60
  1853. package/dist/production/src/resolvers/mutation/identity/GlobalRolesMutationResolver.cjs.map +0 -1
  1854. package/dist/production/src/resolvers/mutation/identity/GlobalRolesMutationResolver.js +0 -60
  1855. package/dist/production/src/resolvers/mutation/identity/GlobalRolesMutationResolver.js.map +0 -1
  1856. package/dist/production/src/resolvers/mutation/idp/AddIDPMutationResolver.cjs +0 -48
  1857. package/dist/production/src/resolvers/mutation/idp/AddIDPMutationResolver.cjs.map +0 -1
  1858. package/dist/production/src/resolvers/mutation/idp/AddIDPMutationResolver.js +0 -48
  1859. package/dist/production/src/resolvers/mutation/idp/AddIDPMutationResolver.js.map +0 -1
  1860. package/dist/production/src/resolvers/mutation/idp/DisableIDPMutationResolver.cjs +0 -39
  1861. package/dist/production/src/resolvers/mutation/idp/DisableIDPMutationResolver.cjs.map +0 -1
  1862. package/dist/production/src/resolvers/mutation/idp/DisableIDPMutationResolver.js +0 -39
  1863. package/dist/production/src/resolvers/mutation/idp/DisableIDPMutationResolver.js.map +0 -1
  1864. package/dist/production/src/resolvers/mutation/idp/EnableIDPMutationResolver.cjs +0 -39
  1865. package/dist/production/src/resolvers/mutation/idp/EnableIDPMutationResolver.cjs.map +0 -1
  1866. package/dist/production/src/resolvers/mutation/idp/EnableIDPMutationResolver.js +0 -39
  1867. package/dist/production/src/resolvers/mutation/idp/EnableIDPMutationResolver.js.map +0 -1
  1868. package/dist/production/src/resolvers/mutation/idp/UpdateIDPMutationResolver.cjs +0 -47
  1869. package/dist/production/src/resolvers/mutation/idp/UpdateIDPMutationResolver.cjs.map +0 -1
  1870. package/dist/production/src/resolvers/mutation/idp/UpdateIDPMutationResolver.js +0 -47
  1871. package/dist/production/src/resolvers/mutation/idp/UpdateIDPMutationResolver.js.map +0 -1
  1872. package/dist/production/src/resolvers/mutation/mailTemplates/MailTemplateMutationResolver.cjs +0 -81
  1873. package/dist/production/src/resolvers/mutation/mailTemplates/MailTemplateMutationResolver.cjs.map +0 -1
  1874. package/dist/production/src/resolvers/mutation/mailTemplates/MailTemplateMutationResolver.js +0 -81
  1875. package/dist/production/src/resolvers/mutation/mailTemplates/MailTemplateMutationResolver.js.map +0 -1
  1876. package/dist/production/src/resolvers/mutation/person/ChangePasswordMutationResolver.cjs +0 -71
  1877. package/dist/production/src/resolvers/mutation/person/ChangePasswordMutationResolver.cjs.map +0 -1
  1878. package/dist/production/src/resolvers/mutation/person/ChangePasswordMutationResolver.js +0 -71
  1879. package/dist/production/src/resolvers/mutation/person/ChangePasswordMutationResolver.js.map +0 -1
  1880. package/dist/production/src/resolvers/mutation/person/ChangeProfileMutationResolver.cjs +0 -86
  1881. package/dist/production/src/resolvers/mutation/person/ChangeProfileMutationResolver.cjs.map +0 -1
  1882. package/dist/production/src/resolvers/mutation/person/ChangeProfileMutationResolver.js +0 -86
  1883. package/dist/production/src/resolvers/mutation/person/ChangeProfileMutationResolver.js.map +0 -1
  1884. package/dist/production/src/resolvers/mutation/person/DisablePersonMutationResolver.cjs +0 -57
  1885. package/dist/production/src/resolvers/mutation/person/DisablePersonMutationResolver.cjs.map +0 -1
  1886. package/dist/production/src/resolvers/mutation/person/DisablePersonMutationResolver.js +0 -57
  1887. package/dist/production/src/resolvers/mutation/person/DisablePersonMutationResolver.js.map +0 -1
  1888. package/dist/production/src/resolvers/mutation/person/IDPMutationResolver.cjs +0 -73
  1889. package/dist/production/src/resolvers/mutation/person/IDPMutationResolver.cjs.map +0 -1
  1890. package/dist/production/src/resolvers/mutation/person/IDPMutationResolver.js +0 -73
  1891. package/dist/production/src/resolvers/mutation/person/IDPMutationResolver.js.map +0 -1
  1892. package/dist/production/src/resolvers/mutation/person/InviteMutationResolver.cjs +0 -98
  1893. package/dist/production/src/resolvers/mutation/person/InviteMutationResolver.cjs.map +0 -1
  1894. package/dist/production/src/resolvers/mutation/person/InviteMutationResolver.js +0 -98
  1895. package/dist/production/src/resolvers/mutation/person/InviteMutationResolver.js.map +0 -1
  1896. package/dist/production/src/resolvers/mutation/person/OtpMutationResolver.cjs +0 -104
  1897. package/dist/production/src/resolvers/mutation/person/OtpMutationResolver.cjs.map +0 -1
  1898. package/dist/production/src/resolvers/mutation/person/OtpMutationResolver.js +0 -104
  1899. package/dist/production/src/resolvers/mutation/person/OtpMutationResolver.js.map +0 -1
  1900. package/dist/production/src/resolvers/mutation/person/PasswordlessMutationResolver.cjs +0 -102
  1901. package/dist/production/src/resolvers/mutation/person/PasswordlessMutationResolver.cjs.map +0 -1
  1902. package/dist/production/src/resolvers/mutation/person/PasswordlessMutationResolver.js +0 -102
  1903. package/dist/production/src/resolvers/mutation/person/PasswordlessMutationResolver.js.map +0 -1
  1904. package/dist/production/src/resolvers/mutation/person/ResetPasswordMutationResolver.cjs +0 -82
  1905. package/dist/production/src/resolvers/mutation/person/ResetPasswordMutationResolver.cjs.map +0 -1
  1906. package/dist/production/src/resolvers/mutation/person/ResetPasswordMutationResolver.js +0 -82
  1907. package/dist/production/src/resolvers/mutation/person/ResetPasswordMutationResolver.js.map +0 -1
  1908. package/dist/production/src/resolvers/mutation/person/SignInMutationResolver.cjs +0 -102
  1909. package/dist/production/src/resolvers/mutation/person/SignInMutationResolver.cjs.map +0 -1
  1910. package/dist/production/src/resolvers/mutation/person/SignInMutationResolver.js +0 -102
  1911. package/dist/production/src/resolvers/mutation/person/SignInMutationResolver.js.map +0 -1
  1912. package/dist/production/src/resolvers/mutation/person/SignOutMutationResolver.cjs +0 -52
  1913. package/dist/production/src/resolvers/mutation/person/SignOutMutationResolver.cjs.map +0 -1
  1914. package/dist/production/src/resolvers/mutation/person/SignOutMutationResolver.js +0 -52
  1915. package/dist/production/src/resolvers/mutation/person/SignOutMutationResolver.js.map +0 -1
  1916. package/dist/production/src/resolvers/mutation/person/SignUpMutationResolver.cjs +0 -69
  1917. package/dist/production/src/resolvers/mutation/person/SignUpMutationResolver.cjs.map +0 -1
  1918. package/dist/production/src/resolvers/mutation/person/SignUpMutationResolver.js +0 -69
  1919. package/dist/production/src/resolvers/mutation/person/SignUpMutationResolver.js.map +0 -1
  1920. package/dist/production/src/resolvers/mutation/person/TogglePasswordlessMutationResolver.cjs +0 -53
  1921. package/dist/production/src/resolvers/mutation/person/TogglePasswordlessMutationResolver.cjs.map +0 -1
  1922. package/dist/production/src/resolvers/mutation/person/TogglePasswordlessMutationResolver.js +0 -53
  1923. package/dist/production/src/resolvers/mutation/person/TogglePasswordlessMutationResolver.js.map +0 -1
  1924. package/dist/production/src/resolvers/mutation/project/CreateProjectMutationResolver.cjs +0 -70
  1925. package/dist/production/src/resolvers/mutation/project/CreateProjectMutationResolver.cjs.map +0 -1
  1926. package/dist/production/src/resolvers/mutation/project/CreateProjectMutationResolver.js +0 -70
  1927. package/dist/production/src/resolvers/mutation/project/CreateProjectMutationResolver.js.map +0 -1
  1928. package/dist/production/src/resolvers/mutation/project/SetProjectSecretMutationResolver.cjs +0 -42
  1929. package/dist/production/src/resolvers/mutation/project/SetProjectSecretMutationResolver.cjs.map +0 -1
  1930. package/dist/production/src/resolvers/mutation/project/SetProjectSecretMutationResolver.js +0 -42
  1931. package/dist/production/src/resolvers/mutation/project/SetProjectSecretMutationResolver.js.map +0 -1
  1932. package/dist/production/src/resolvers/mutation/project/UpdateProjectMutationResolver.cjs +0 -45
  1933. package/dist/production/src/resolvers/mutation/project/UpdateProjectMutationResolver.cjs.map +0 -1
  1934. package/dist/production/src/resolvers/mutation/project/UpdateProjectMutationResolver.js +0 -45
  1935. package/dist/production/src/resolvers/mutation/project/UpdateProjectMutationResolver.js.map +0 -1
  1936. package/dist/production/src/resolvers/mutation/projectMember/AddProjectMemberMutationResolver.cjs +0 -59
  1937. package/dist/production/src/resolvers/mutation/projectMember/AddProjectMemberMutationResolver.cjs.map +0 -1
  1938. package/dist/production/src/resolvers/mutation/projectMember/AddProjectMemberMutationResolver.js +0 -59
  1939. package/dist/production/src/resolvers/mutation/projectMember/AddProjectMemberMutationResolver.js.map +0 -1
  1940. package/dist/production/src/resolvers/mutation/projectMember/RemoveProjectMemberMutationResolver.cjs +0 -60
  1941. package/dist/production/src/resolvers/mutation/projectMember/RemoveProjectMemberMutationResolver.cjs.map +0 -1
  1942. package/dist/production/src/resolvers/mutation/projectMember/RemoveProjectMemberMutationResolver.js +0 -60
  1943. package/dist/production/src/resolvers/mutation/projectMember/RemoveProjectMemberMutationResolver.js.map +0 -1
  1944. package/dist/production/src/resolvers/mutation/projectMember/UpdateProjectMemberMutationResolver.cjs +0 -82
  1945. package/dist/production/src/resolvers/mutation/projectMember/UpdateProjectMemberMutationResolver.cjs.map +0 -1
  1946. package/dist/production/src/resolvers/mutation/projectMember/UpdateProjectMemberMutationResolver.js +0 -82
  1947. package/dist/production/src/resolvers/mutation/projectMember/UpdateProjectMemberMutationResolver.js.map +0 -1
  1948. package/dist/production/src/resolvers/query/ConfigurationQueryResolver.cjs +0 -35
  1949. package/dist/production/src/resolvers/query/ConfigurationQueryResolver.cjs.map +0 -1
  1950. package/dist/production/src/resolvers/query/ConfigurationQueryResolver.js +0 -35
  1951. package/dist/production/src/resolvers/query/ConfigurationQueryResolver.js.map +0 -1
  1952. package/dist/production/src/resolvers/query/IDPQueryResolver.cjs +0 -34
  1953. package/dist/production/src/resolvers/query/IDPQueryResolver.cjs.map +0 -1
  1954. package/dist/production/src/resolvers/query/IDPQueryResolver.js +0 -34
  1955. package/dist/production/src/resolvers/query/IDPQueryResolver.js.map +0 -1
  1956. package/dist/production/src/resolvers/query/MailTemplateQueryResolver.cjs +0 -37
  1957. package/dist/production/src/resolvers/query/MailTemplateQueryResolver.cjs.map +0 -1
  1958. package/dist/production/src/resolvers/query/MailTemplateQueryResolver.js +0 -37
  1959. package/dist/production/src/resolvers/query/MailTemplateQueryResolver.js.map +0 -1
  1960. package/dist/production/src/resolvers/query/MeQueryResolver.cjs +0 -13
  1961. package/dist/production/src/resolvers/query/MeQueryResolver.cjs.map +0 -1
  1962. package/dist/production/src/resolvers/query/MeQueryResolver.js +0 -13
  1963. package/dist/production/src/resolvers/query/MeQueryResolver.js.map +0 -1
  1964. package/dist/production/src/resolvers/query/PersonQueryResolver.cjs +0 -35
  1965. package/dist/production/src/resolvers/query/PersonQueryResolver.cjs.map +0 -1
  1966. package/dist/production/src/resolvers/query/PersonQueryResolver.js +0 -35
  1967. package/dist/production/src/resolvers/query/PersonQueryResolver.js.map +0 -1
  1968. package/dist/production/src/resolvers/query/ProjectMembersQueryResolver.cjs +0 -40
  1969. package/dist/production/src/resolvers/query/ProjectMembersQueryResolver.cjs.map +0 -1
  1970. package/dist/production/src/resolvers/query/ProjectMembersQueryResolver.js +0 -40
  1971. package/dist/production/src/resolvers/query/ProjectMembersQueryResolver.js.map +0 -1
  1972. package/dist/production/src/resolvers/query/ProjectQueryResolver.cjs +0 -42
  1973. package/dist/production/src/resolvers/query/ProjectQueryResolver.cjs.map +0 -1
  1974. package/dist/production/src/resolvers/query/ProjectQueryResolver.js +0 -42
  1975. package/dist/production/src/resolvers/query/ProjectQueryResolver.js.map +0 -1
  1976. package/dist/production/src/resolvers/responseHelpers/PersonResponseFactory.cjs +0 -19
  1977. package/dist/production/src/resolvers/responseHelpers/PersonResponseFactory.cjs.map +0 -1
  1978. package/dist/production/src/resolvers/responseHelpers/PersonResponseFactory.js +0 -19
  1979. package/dist/production/src/resolvers/responseHelpers/PersonResponseFactory.js.map +0 -1
  1980. package/dist/production/src/resolvers/responseHelpers/SignInResponseFactory.cjs +0 -51
  1981. package/dist/production/src/resolvers/responseHelpers/SignInResponseFactory.cjs.map +0 -1
  1982. package/dist/production/src/resolvers/responseHelpers/SignInResponseFactory.js +0 -51
  1983. package/dist/production/src/resolvers/responseHelpers/SignInResponseFactory.js.map +0 -1
  1984. package/dist/production/src/resolvers/types/IdentityTypeResolver.cjs +0 -125
  1985. package/dist/production/src/resolvers/types/IdentityTypeResolver.cjs.map +0 -1
  1986. package/dist/production/src/resolvers/types/IdentityTypeResolver.js +0 -125
  1987. package/dist/production/src/resolvers/types/IdentityTypeResolver.js.map +0 -1
  1988. package/dist/production/src/resolvers/types/ProjectTypeResolver.cjs +0 -69
  1989. package/dist/production/src/resolvers/types/ProjectTypeResolver.cjs.map +0 -1
  1990. package/dist/production/src/resolvers/types/ProjectTypeResolver.js +0 -69
  1991. package/dist/production/src/resolvers/types/ProjectTypeResolver.js.map +0 -1
  1992. package/dist/production/src/schema/index.cjs +0 -2
  1993. package/dist/production/src/schema/index.cjs.map +0 -1
  1994. package/dist/production/src/schema/index.js +0 -2
  1995. package/dist/production/src/schema/index.js.map +0 -1
  1996. package/dist/production/src/schema/tenant.graphql.cjs +0 -1229
  1997. package/dist/production/src/schema/tenant.graphql.cjs.map +0 -1
  1998. package/dist/production/src/schema/tenant.graphql.js +0 -1230
  1999. package/dist/production/src/schema/tenant.graphql.js.map +0 -1
  2000. package/dist/production/src/utils/Mailer.cjs +0 -53
  2001. package/dist/production/src/utils/Mailer.cjs.map +0 -1
  2002. package/dist/production/src/utils/Mailer.js +0 -53
  2003. package/dist/production/src/utils/Mailer.js.map +0 -1
  2004. package/dist/production/src/utils/TemplateRenderer.cjs +0 -10
  2005. package/dist/production/src/utils/TemplateRenderer.cjs.map +0 -1
  2006. package/dist/production/src/utils/TemplateRenderer.js +0 -10
  2007. package/dist/production/src/utils/TemplateRenderer.js.map +0 -1
  2008. package/dist/production/src/utils/array.cjs +0 -17
  2009. package/dist/production/src/utils/array.cjs.map +0 -1
  2010. package/dist/production/src/utils/array.js +0 -17
  2011. package/dist/production/src/utils/array.js.map +0 -1
  2012. package/dist/production/src/utils/batchQuery.cjs +0 -24
  2013. package/dist/production/src/utils/batchQuery.cjs.map +0 -1
  2014. package/dist/production/src/utils/batchQuery.js +0 -24
  2015. package/dist/production/src/utils/batchQuery.js.map +0 -1
  2016. package/dist/production/src/utils/tick.cjs +0 -5
  2017. package/dist/production/src/utils/tick.cjs.map +0 -1
  2018. package/dist/production/src/utils/tick.js +0 -5
  2019. package/dist/production/src/utils/tick.js.map +0 -1
  2020. package/dist/tests/cases/integration/mocked/addProjectMemberMutation.test.d.ts +0 -2
  2021. package/dist/tests/cases/integration/mocked/addProjectMemberMutation.test.d.ts.map +0 -1
  2022. package/dist/tests/cases/integration/mocked/changeMyPasswordMutation.test.d.ts +0 -2
  2023. package/dist/tests/cases/integration/mocked/changeMyPasswordMutation.test.d.ts.map +0 -1
  2024. package/dist/tests/cases/integration/mocked/changeMyProfileMutation.test.d.ts +0 -2
  2025. package/dist/tests/cases/integration/mocked/changeMyProfileMutation.test.d.ts.map +0 -1
  2026. package/dist/tests/cases/integration/mocked/changePasswordMutation.test.d.ts +0 -2
  2027. package/dist/tests/cases/integration/mocked/changePasswordMutation.test.d.ts.map +0 -1
  2028. package/dist/tests/cases/integration/mocked/changeProfileMutation.test.d.ts +0 -2
  2029. package/dist/tests/cases/integration/mocked/changeProfileMutation.test.d.ts.map +0 -1
  2030. package/dist/tests/cases/integration/mocked/confirmOtpMutation.test.d.ts +0 -2
  2031. package/dist/tests/cases/integration/mocked/confirmOtpMutation.test.d.ts.map +0 -1
  2032. package/dist/tests/cases/integration/mocked/createApiKeyMutation.test.d.ts +0 -2
  2033. package/dist/tests/cases/integration/mocked/createApiKeyMutation.test.d.ts.map +0 -1
  2034. package/dist/tests/cases/integration/mocked/createSessionKeyMutation.test.d.ts +0 -2
  2035. package/dist/tests/cases/integration/mocked/createSessionKeyMutation.test.d.ts.map +0 -1
  2036. package/dist/tests/cases/integration/mocked/disableApiKeyMutation.d.ts +0 -2
  2037. package/dist/tests/cases/integration/mocked/disableApiKeyMutation.d.ts.map +0 -1
  2038. package/dist/tests/cases/integration/mocked/gql/addProjectMember.d.ts +0 -8
  2039. package/dist/tests/cases/integration/mocked/gql/addProjectMember.d.ts.map +0 -1
  2040. package/dist/tests/cases/integration/mocked/gql/changeMyPassword.d.ts +0 -6
  2041. package/dist/tests/cases/integration/mocked/gql/changeMyPassword.d.ts.map +0 -1
  2042. package/dist/tests/cases/integration/mocked/gql/changeMyProfile.d.ts +0 -6
  2043. package/dist/tests/cases/integration/mocked/gql/changeMyProfile.d.ts.map +0 -1
  2044. package/dist/tests/cases/integration/mocked/gql/changePassword.d.ts +0 -6
  2045. package/dist/tests/cases/integration/mocked/gql/changePassword.d.ts.map +0 -1
  2046. package/dist/tests/cases/integration/mocked/gql/changeProfile.d.ts +0 -7
  2047. package/dist/tests/cases/integration/mocked/gql/changeProfile.d.ts.map +0 -1
  2048. package/dist/tests/cases/integration/mocked/gql/confirmOtp.d.ts +0 -5
  2049. package/dist/tests/cases/integration/mocked/gql/confirmOtp.d.ts.map +0 -1
  2050. package/dist/tests/cases/integration/mocked/gql/createApiKey.d.ts +0 -8
  2051. package/dist/tests/cases/integration/mocked/gql/createApiKey.d.ts.map +0 -1
  2052. package/dist/tests/cases/integration/mocked/gql/createResetPasswordRequest.d.ts +0 -5
  2053. package/dist/tests/cases/integration/mocked/gql/createResetPasswordRequest.d.ts.map +0 -1
  2054. package/dist/tests/cases/integration/mocked/gql/createSessionToken.d.ts +0 -7
  2055. package/dist/tests/cases/integration/mocked/gql/createSessionToken.d.ts.map +0 -1
  2056. package/dist/tests/cases/integration/mocked/gql/invite.d.ts +0 -9
  2057. package/dist/tests/cases/integration/mocked/gql/invite.d.ts.map +0 -1
  2058. package/dist/tests/cases/integration/mocked/gql/prepareOtp.d.ts +0 -3
  2059. package/dist/tests/cases/integration/mocked/gql/prepareOtp.d.ts.map +0 -1
  2060. package/dist/tests/cases/integration/mocked/gql/resetPassword.d.ts +0 -6
  2061. package/dist/tests/cases/integration/mocked/gql/resetPassword.d.ts.map +0 -1
  2062. package/dist/tests/cases/integration/mocked/gql/signIn.d.ts +0 -9
  2063. package/dist/tests/cases/integration/mocked/gql/signIn.d.ts.map +0 -1
  2064. package/dist/tests/cases/integration/mocked/gql/signInIdp.d.ts +0 -10
  2065. package/dist/tests/cases/integration/mocked/gql/signInIdp.d.ts.map +0 -1
  2066. package/dist/tests/cases/integration/mocked/gql/signUp.d.ts +0 -6
  2067. package/dist/tests/cases/integration/mocked/gql/signUp.d.ts.map +0 -1
  2068. package/dist/tests/cases/integration/mocked/gql/types.d.ts +0 -5
  2069. package/dist/tests/cases/integration/mocked/gql/types.d.ts.map +0 -1
  2070. package/dist/tests/cases/integration/mocked/gql/unmanagedInvite.d.ts +0 -9
  2071. package/dist/tests/cases/integration/mocked/gql/unmanagedInvite.d.ts.map +0 -1
  2072. package/dist/tests/cases/integration/mocked/gql/updateProjectMember.d.ts +0 -8
  2073. package/dist/tests/cases/integration/mocked/gql/updateProjectMember.d.ts.map +0 -1
  2074. package/dist/tests/cases/integration/mocked/inviteMutations.test.d.ts +0 -2
  2075. package/dist/tests/cases/integration/mocked/inviteMutations.test.d.ts.map +0 -1
  2076. package/dist/tests/cases/integration/mocked/listProjectMembersQuery.test.d.ts +0 -2
  2077. package/dist/tests/cases/integration/mocked/listProjectMembersQuery.test.d.ts.map +0 -1
  2078. package/dist/tests/cases/integration/mocked/personByIdQuery.test.d.ts +0 -2
  2079. package/dist/tests/cases/integration/mocked/personByIdQuery.test.d.ts.map +0 -1
  2080. package/dist/tests/cases/integration/mocked/prepareOtpMutation.test.d.ts +0 -2
  2081. package/dist/tests/cases/integration/mocked/prepareOtpMutation.test.d.ts.map +0 -1
  2082. package/dist/tests/cases/integration/mocked/removeProjectMemberMutation.test.d.ts +0 -2
  2083. package/dist/tests/cases/integration/mocked/removeProjectMemberMutation.test.d.ts.map +0 -1
  2084. package/dist/tests/cases/integration/mocked/signInIdpMutation.test.d.ts +0 -2
  2085. package/dist/tests/cases/integration/mocked/signInIdpMutation.test.d.ts.map +0 -1
  2086. package/dist/tests/cases/integration/mocked/signInMutation.test.d.ts +0 -2
  2087. package/dist/tests/cases/integration/mocked/signInMutation.test.d.ts.map +0 -1
  2088. package/dist/tests/cases/integration/mocked/signOutMutation.test.d.ts +0 -2
  2089. package/dist/tests/cases/integration/mocked/signOutMutation.test.d.ts.map +0 -1
  2090. package/dist/tests/cases/integration/mocked/signUpMutation.test.d.ts +0 -2
  2091. package/dist/tests/cases/integration/mocked/signUpMutation.test.d.ts.map +0 -1
  2092. package/dist/tests/cases/integration/mocked/sql/createApiKeySql.d.ts +0 -6
  2093. package/dist/tests/cases/integration/mocked/sql/createApiKeySql.d.ts.map +0 -1
  2094. package/dist/tests/cases/integration/mocked/sql/createIdentitySql.d.ts +0 -7
  2095. package/dist/tests/cases/integration/mocked/sql/createIdentitySql.d.ts.map +0 -1
  2096. package/dist/tests/cases/integration/mocked/sql/createMembershipSql.d.ts +0 -8
  2097. package/dist/tests/cases/integration/mocked/sql/createMembershipSql.d.ts.map +0 -1
  2098. package/dist/tests/cases/integration/mocked/sql/createMembershipVariableSql.d.ts +0 -8
  2099. package/dist/tests/cases/integration/mocked/sql/createMembershipVariableSql.d.ts.map +0 -1
  2100. package/dist/tests/cases/integration/mocked/sql/createPersonSql.d.ts +0 -10
  2101. package/dist/tests/cases/integration/mocked/sql/createPersonSql.d.ts.map +0 -1
  2102. package/dist/tests/cases/integration/mocked/sql/createPersonTokenSql.d.ts +0 -8
  2103. package/dist/tests/cases/integration/mocked/sql/createPersonTokenSql.d.ts.map +0 -1
  2104. package/dist/tests/cases/integration/mocked/sql/createSessionKeySql.d.ts +0 -11
  2105. package/dist/tests/cases/integration/mocked/sql/createSessionKeySql.d.ts.map +0 -1
  2106. package/dist/tests/cases/integration/mocked/sql/disableApiKeySql.d.ts +0 -5
  2107. package/dist/tests/cases/integration/mocked/sql/disableApiKeySql.d.ts.map +0 -1
  2108. package/dist/tests/cases/integration/mocked/sql/disableOneOffKeySql.d.ts +0 -5
  2109. package/dist/tests/cases/integration/mocked/sql/disableOneOffKeySql.d.ts.map +0 -1
  2110. package/dist/tests/cases/integration/mocked/sql/getApiKeySql.d.ts +0 -11
  2111. package/dist/tests/cases/integration/mocked/sql/getApiKeySql.d.ts.map +0 -1
  2112. package/dist/tests/cases/integration/mocked/sql/getConfigSql.d.ts +0 -3
  2113. package/dist/tests/cases/integration/mocked/sql/getConfigSql.d.ts.map +0 -1
  2114. package/dist/tests/cases/integration/mocked/sql/getIdentityProjectsSql.d.ts +0 -15
  2115. package/dist/tests/cases/integration/mocked/sql/getIdentityProjectsSql.d.ts.map +0 -1
  2116. package/dist/tests/cases/integration/mocked/sql/getIdpBySlugSql.d.ts +0 -7
  2117. package/dist/tests/cases/integration/mocked/sql/getIdpBySlugSql.d.ts.map +0 -1
  2118. package/dist/tests/cases/integration/mocked/sql/getMailTemplateSql.d.ts +0 -6
  2119. package/dist/tests/cases/integration/mocked/sql/getMailTemplateSql.d.ts.map +0 -1
  2120. package/dist/tests/cases/integration/mocked/sql/getNextLoginAttemptSql.d.ts +0 -3
  2121. package/dist/tests/cases/integration/mocked/sql/getNextLoginAttemptSql.d.ts.map +0 -1
  2122. package/dist/tests/cases/integration/mocked/sql/getPersonByEmailSql.d.ts +0 -12
  2123. package/dist/tests/cases/integration/mocked/sql/getPersonByEmailSql.d.ts.map +0 -1
  2124. package/dist/tests/cases/integration/mocked/sql/getPersonByIdSql.d.ts +0 -13
  2125. package/dist/tests/cases/integration/mocked/sql/getPersonByIdSql.d.ts.map +0 -1
  2126. package/dist/tests/cases/integration/mocked/sql/getPersonByIdentity.d.ts +0 -13
  2127. package/dist/tests/cases/integration/mocked/sql/getPersonByIdentity.d.ts.map +0 -1
  2128. package/dist/tests/cases/integration/mocked/sql/getPersonByIdpSql.d.ts +0 -14
  2129. package/dist/tests/cases/integration/mocked/sql/getPersonByIdpSql.d.ts.map +0 -1
  2130. package/dist/tests/cases/integration/mocked/sql/getProjectBySlugSql.d.ts +0 -7
  2131. package/dist/tests/cases/integration/mocked/sql/getProjectBySlugSql.d.ts.map +0 -1
  2132. package/dist/tests/cases/integration/mocked/sql/getProjectMembershipSql.d.ts +0 -6
  2133. package/dist/tests/cases/integration/mocked/sql/getProjectMembershipSql.d.ts.map +0 -1
  2134. package/dist/tests/cases/integration/mocked/sql/patchVariablesSql.d.ts +0 -9
  2135. package/dist/tests/cases/integration/mocked/sql/patchVariablesSql.d.ts.map +0 -1
  2136. package/dist/tests/cases/integration/mocked/sql/selectMembershipsSql.d.ts +0 -8
  2137. package/dist/tests/cases/integration/mocked/sql/selectMembershipsSql.d.ts.map +0 -1
  2138. package/dist/tests/cases/integration/mocked/sql/sqlTransaction.d.ts +0 -3
  2139. package/dist/tests/cases/integration/mocked/sql/sqlTransaction.d.ts.map +0 -1
  2140. package/dist/tests/cases/integration/mocked/sql/updatePesonNameSql.d.ts +0 -15
  2141. package/dist/tests/cases/integration/mocked/sql/updatePesonNameSql.d.ts.map +0 -1
  2142. package/dist/tests/cases/integration/mocked/sql/updatePesonPasswordSql.d.ts +0 -6
  2143. package/dist/tests/cases/integration/mocked/sql/updatePesonPasswordSql.d.ts.map +0 -1
  2144. package/dist/tests/cases/integration/mocked/updateProjectMemberMutation.test.d.ts +0 -2
  2145. package/dist/tests/cases/integration/mocked/updateProjectMemberMutation.test.d.ts.map +0 -1
  2146. package/dist/tests/cases/migrations/2020-06-08-134000-tenant-credentials.test.d.ts +0 -2
  2147. package/dist/tests/cases/migrations/2020-06-08-134000-tenant-credentials.test.d.ts.map +0 -1
  2148. package/dist/tests/cases/unit/authorization/membershipAwareAccessNode.test.d.ts +0 -2
  2149. package/dist/tests/cases/unit/authorization/membershipAwareAccessNode.test.d.ts.map +0 -1
  2150. package/dist/tests/cases/unit/authorization/membershipMatcher.test.d.ts +0 -2
  2151. package/dist/tests/cases/unit/authorization/membershipMatcher.test.d.ts.map +0 -1
  2152. package/dist/tests/src/IdPMock.d.ts +0 -7
  2153. package/dist/tests/src/IdPMock.d.ts.map +0 -1
  2154. package/dist/tests/src/dbUtils.d.ts +0 -11
  2155. package/dist/tests/src/dbUtils.d.ts.map +0 -1
  2156. package/dist/tests/src/mailer.d.ts +0 -10
  2157. package/dist/tests/src/mailer.d.ts.map +0 -1
  2158. package/dist/tests/src/tags.d.ts +0 -3
  2159. package/dist/tests/src/tags.d.ts.map +0 -1
  2160. package/dist/tests/src/testGraphql.d.ts +0 -10
  2161. package/dist/tests/src/testGraphql.d.ts.map +0 -1
  2162. package/dist/tests/src/testTenant.d.ts +0 -17
  2163. package/dist/tests/src/testTenant.d.ts.map +0 -1
  2164. package/dist/tests/src/testUuid.d.ts +0 -3
  2165. package/dist/tests/src/testUuid.d.ts.map +0 -1
  2166. package/dist/tests/tsconfig.tsbuildinfo +0 -1
  2167. package/dist/types/TenantContainer.d.ts +0 -233
  2168. package/dist/types/TenantContainer.d.ts.map +0 -1
  2169. package/dist/types/bin/runMigrations.d.ts +0 -2
  2170. package/dist/types/bin/runMigrations.d.ts.map +0 -1
  2171. package/dist/types/bridges/system/IdentityFetcher.d.ts +0 -26
  2172. package/dist/types/bridges/system/IdentityFetcher.d.ts.map +0 -1
  2173. package/dist/types/exceptions.d.ts +0 -4
  2174. package/dist/types/exceptions.d.ts.map +0 -1
  2175. package/dist/types/index.d.ts +0 -9
  2176. package/dist/types/index.d.ts.map +0 -1
  2177. package/dist/types/migrations/2018-08-02-174310-init.d.ts +0 -3
  2178. package/dist/types/migrations/2018-08-02-174310-init.d.ts.map +0 -1
  2179. package/dist/types/migrations/2018-09-03-140621-identity-project.d.ts +0 -3
  2180. package/dist/types/migrations/2018-09-03-140621-identity-project.d.ts.map +0 -1
  2181. package/dist/types/migrations/2018-10-26-165450-setup-api-key.d.ts +0 -3
  2182. package/dist/types/migrations/2018-10-26-165450-setup-api-key.d.ts.map +0 -1
  2183. package/dist/types/migrations/2018-10-26-175155-variables.d.ts +0 -3
  2184. package/dist/types/migrations/2018-10-26-175155-variables.d.ts.map +0 -1
  2185. package/dist/types/migrations/2019-02-18-110949-project-slug.d.ts +0 -3
  2186. package/dist/types/migrations/2019-02-18-110949-project-slug.d.ts.map +0 -1
  2187. package/dist/types/migrations/2019-02-18-160155-session-expiration.d.ts +0 -3
  2188. package/dist/types/migrations/2019-02-18-160155-session-expiration.d.ts.map +0 -1
  2189. package/dist/types/migrations/2019-05-03-163729-api-key-disabled-at.d.ts +0 -3
  2190. package/dist/types/migrations/2019-05-03-163729-api-key-disabled-at.d.ts.map +0 -1
  2191. package/dist/types/migrations/2019-08-14-153300-project-slug-unique.d.ts +0 -3
  2192. package/dist/types/migrations/2019-08-14-153300-project-slug-unique.d.ts.map +0 -1
  2193. package/dist/types/migrations/2019-09-06-111000-membership.d.ts +0 -3
  2194. package/dist/types/migrations/2019-09-06-111000-membership.d.ts.map +0 -1
  2195. package/dist/types/migrations/2019-09-06-111001-drop-old-member.d.ts +0 -3
  2196. package/dist/types/migrations/2019-09-06-111001-drop-old-member.d.ts.map +0 -1
  2197. package/dist/types/migrations/2020-01-29-idenity-note.d.ts +0 -3
  2198. package/dist/types/migrations/2020-01-29-idenity-note.d.ts.map +0 -1
  2199. package/dist/types/migrations/2020-04-17-fix-person-index.d.ts +0 -3
  2200. package/dist/types/migrations/2020-04-17-fix-person-index.d.ts.map +0 -1
  2201. package/dist/types/migrations/2020-05-01-170000-api-key-index.d.ts +0 -3
  2202. package/dist/types/migrations/2020-05-01-170000-api-key-index.d.ts.map +0 -1
  2203. package/dist/types/migrations/2020-06-08-134000-tenant-credentials.d.ts +0 -4
  2204. package/dist/types/migrations/2020-06-08-134000-tenant-credentials.d.ts.map +0 -1
  2205. package/dist/types/migrations/2020-08-07-110000-person-otp.d.ts +0 -3
  2206. package/dist/types/migrations/2020-08-07-110000-person-otp.d.ts.map +0 -1
  2207. package/dist/types/migrations/2020-08-17-162200-mail-templates.d.ts +0 -3
  2208. package/dist/types/migrations/2020-08-17-162200-mail-templates.d.ts.map +0 -1
  2209. package/dist/types/migrations/2020-08-21-143400-person-password-reset.d.ts +0 -3
  2210. package/dist/types/migrations/2020-08-21-143400-person-password-reset.d.ts.map +0 -1
  2211. package/dist/types/migrations/2020-09-07-094200-identity-provider.d.ts +0 -3
  2212. package/dist/types/migrations/2020-09-07-094200-identity-provider.d.ts.map +0 -1
  2213. package/dist/types/migrations/2021-03-28-134000-timestamp.d.ts +0 -3
  2214. package/dist/types/migrations/2021-03-28-134000-timestamp.d.ts.map +0 -1
  2215. package/dist/types/migrations/2021-07-26-105000-project-config.d.ts +0 -3
  2216. package/dist/types/migrations/2021-07-26-105000-project-config.d.ts.map +0 -1
  2217. package/dist/types/migrations/2021-07-26-132000-project-secrets.d.ts +0 -3
  2218. package/dist/types/migrations/2021-07-26-132000-project-secrets.d.ts.map +0 -1
  2219. package/dist/types/migrations/2021-07-27-174000-project-alias-index.d.ts +0 -3
  2220. package/dist/types/migrations/2021-07-27-174000-project-alias-index.d.ts.map +0 -1
  2221. package/dist/types/migrations/2021-11-24-130000-person-password-null.d.ts +0 -3
  2222. package/dist/types/migrations/2021-11-24-130000-person-password-null.d.ts.map +0 -1
  2223. package/dist/types/migrations/2021-11-24-161500-mail-template-project-null.d.ts +0 -3
  2224. package/dist/types/migrations/2021-11-24-161500-mail-template-project-null.d.ts.map +0 -1
  2225. package/dist/types/migrations/2022-01-04-144000-person-unique-identity.d.ts +0 -3
  2226. package/dist/types/migrations/2022-01-04-144000-person-unique-identity.d.ts.map +0 -1
  2227. package/dist/types/migrations/2022-02-09-111800-fix-crypted.d.ts +0 -3
  2228. package/dist/types/migrations/2022-02-09-111800-fix-crypted.d.ts.map +0 -1
  2229. package/dist/types/migrations/2022-02-11-153000-idp-auto-sign-up.d.ts +0 -3
  2230. package/dist/types/migrations/2022-02-11-153000-idp-auto-sign-up.d.ts.map +0 -1
  2231. package/dist/types/migrations/2022-06-29-105000-person-idp.d.ts +0 -3
  2232. package/dist/types/migrations/2022-06-29-105000-person-idp.d.ts.map +0 -1
  2233. package/dist/types/migrations/2022-07-07-135000-person-email-opt-uniq.d.ts +0 -3
  2234. package/dist/types/migrations/2022-07-07-135000-person-email-opt-uniq.d.ts.map +0 -1
  2235. package/dist/types/migrations/2022-07-07-141000-person-display-name.d.ts +0 -3
  2236. package/dist/types/migrations/2022-07-07-141000-person-display-name.d.ts.map +0 -1
  2237. package/dist/types/migrations/2022-07-14-145000-person-login-options.d.ts +0 -3
  2238. package/dist/types/migrations/2022-07-14-145000-person-login-options.d.ts.map +0 -1
  2239. package/dist/types/migrations/2022-11-08-project-update-notification.d.ts +0 -3
  2240. package/dist/types/migrations/2022-11-08-project-update-notification.d.ts.map +0 -1
  2241. package/dist/types/migrations/2023-01-20-135500-person-email-normalize.d.ts +0 -3
  2242. package/dist/types/migrations/2023-01-20-135500-person-email-normalize.d.ts.map +0 -1
  2243. package/dist/types/migrations/2023-06-03-104000-person-disabled.d.ts +0 -3
  2244. package/dist/types/migrations/2023-06-03-104000-person-disabled.d.ts.map +0 -1
  2245. package/dist/types/migrations/2023-09-01-165000-idp-return-config.d.ts +0 -3
  2246. package/dist/types/migrations/2023-09-01-165000-idp-return-config.d.ts.map +0 -1
  2247. package/dist/types/migrations/2024-06-20-140000-mail-reply.d.ts +0 -3
  2248. package/dist/types/migrations/2024-06-20-140000-mail-reply.d.ts.map +0 -1
  2249. package/dist/types/migrations/2024-08-26-120000-passwordless.d.ts +0 -3
  2250. package/dist/types/migrations/2024-08-26-120000-passwordless.d.ts.map +0 -1
  2251. package/dist/types/migrations/2025-04-16-180000-config-up.d.ts +0 -3
  2252. package/dist/types/migrations/2025-04-16-180000-config-up.d.ts.map +0 -1
  2253. package/dist/types/migrations/2025-04-17-160000-auth-log.d.ts +0 -3
  2254. package/dist/types/migrations/2025-04-17-160000-auth-log.d.ts.map +0 -1
  2255. package/dist/types/migrations/index.d.ts +0 -3
  2256. package/dist/types/migrations/index.d.ts.map +0 -1
  2257. package/dist/types/migrations/runner.d.ts +0 -21
  2258. package/dist/types/migrations/runner.d.ts.map +0 -1
  2259. package/dist/types/migrations/snapshot-factory.d.ts +0 -5
  2260. package/dist/types/migrations/snapshot-factory.d.ts.map +0 -1
  2261. package/dist/types/migrations/snapshot.d.ts +0 -4
  2262. package/dist/types/migrations/snapshot.d.ts.map +0 -1
  2263. package/dist/types/migrations/tenantCredentials.d.ts +0 -4
  2264. package/dist/types/migrations/tenantCredentials.d.ts.map +0 -1
  2265. package/dist/types/migrations/types.d.ts +0 -11
  2266. package/dist/types/migrations/types.d.ts.map +0 -1
  2267. package/dist/types/model/authorization/AclSchemaAccessNodeFactory.d.ts +0 -6
  2268. package/dist/types/model/authorization/AclSchemaAccessNodeFactory.d.ts.map +0 -1
  2269. package/dist/types/model/authorization/DirectPermissionsAccessNode.d.ts +0 -7
  2270. package/dist/types/model/authorization/DirectPermissionsAccessNode.d.ts.map +0 -1
  2271. package/dist/types/model/authorization/Identity.d.ts +0 -25
  2272. package/dist/types/model/authorization/Identity.d.ts.map +0 -1
  2273. package/dist/types/model/authorization/IdentityFactory.d.ts +0 -12
  2274. package/dist/types/model/authorization/IdentityFactory.d.ts.map +0 -1
  2275. package/dist/types/model/authorization/IdentityScope.d.ts +0 -9
  2276. package/dist/types/model/authorization/IdentityScope.d.ts.map +0 -1
  2277. package/dist/types/model/authorization/MembershipMatcher.d.ts +0 -10
  2278. package/dist/types/model/authorization/MembershipMatcher.d.ts.map +0 -1
  2279. package/dist/types/model/authorization/PermissionActions.d.ts +0 -264
  2280. package/dist/types/model/authorization/PermissionActions.d.ts.map +0 -1
  2281. package/dist/types/model/authorization/PermissionContext.d.ts +0 -25
  2282. package/dist/types/model/authorization/PermissionContext.d.ts.map +0 -1
  2283. package/dist/types/model/authorization/PermissionContextFactory.d.ts +0 -18
  2284. package/dist/types/model/authorization/PermissionContextFactory.d.ts.map +0 -1
  2285. package/dist/types/model/authorization/PermissionsFactory.d.ts +0 -6
  2286. package/dist/types/model/authorization/PermissionsFactory.d.ts.map +0 -1
  2287. package/dist/types/model/authorization/ProjectScope.d.ts +0 -13
  2288. package/dist/types/model/authorization/ProjectScope.d.ts.map +0 -1
  2289. package/dist/types/model/authorization/ProjectScopeFactory.d.ts +0 -10
  2290. package/dist/types/model/authorization/ProjectScopeFactory.d.ts.map +0 -1
  2291. package/dist/types/model/authorization/Roles.d.ts +0 -11
  2292. package/dist/types/model/authorization/Roles.d.ts.map +0 -1
  2293. package/dist/types/model/authorization/index.d.ts +0 -13
  2294. package/dist/types/model/authorization/index.d.ts.map +0 -1
  2295. package/dist/types/model/commands/Command.d.ts +0 -15
  2296. package/dist/types/model/commands/Command.d.ts.map +0 -1
  2297. package/dist/types/model/commands/CommandBus.d.ts +0 -11
  2298. package/dist/types/model/commands/CommandBus.d.ts.map +0 -1
  2299. package/dist/types/model/commands/apiKey/ApiKeyHelper.d.ts +0 -6
  2300. package/dist/types/model/commands/apiKey/ApiKeyHelper.d.ts.map +0 -1
  2301. package/dist/types/model/commands/apiKey/CreateApiKeyCommand.d.ts +0 -28
  2302. package/dist/types/model/commands/apiKey/CreateApiKeyCommand.d.ts.map +0 -1
  2303. package/dist/types/model/commands/apiKey/DisableApiKeyCommand.d.ts +0 -7
  2304. package/dist/types/model/commands/apiKey/DisableApiKeyCommand.d.ts.map +0 -1
  2305. package/dist/types/model/commands/apiKey/DisableIdentityApiKeysCommand.d.ts +0 -7
  2306. package/dist/types/model/commands/apiKey/DisableIdentityApiKeysCommand.d.ts.map +0 -1
  2307. package/dist/types/model/commands/apiKey/DisableOneOffApiKeyCommand.d.ts +0 -7
  2308. package/dist/types/model/commands/apiKey/DisableOneOffApiKeyCommand.d.ts.map +0 -1
  2309. package/dist/types/model/commands/apiKey/ProlongApiKeyCommand.d.ts +0 -11
  2310. package/dist/types/model/commands/apiKey/ProlongApiKeyCommand.d.ts.map +0 -1
  2311. package/dist/types/model/commands/apiKey/index.d.ts +0 -6
  2312. package/dist/types/model/commands/apiKey/index.d.ts.map +0 -1
  2313. package/dist/types/model/commands/authLog/CreateAuthLogEntryCommand.d.ts +0 -26
  2314. package/dist/types/model/commands/authLog/CreateAuthLogEntryCommand.d.ts.map +0 -1
  2315. package/dist/types/model/commands/configuration/UpdateConfigurationCommand.d.ts +0 -8
  2316. package/dist/types/model/commands/configuration/UpdateConfigurationCommand.d.ts.map +0 -1
  2317. package/dist/types/model/commands/configuration/index.d.ts +0 -2
  2318. package/dist/types/model/commands/configuration/index.d.ts.map +0 -1
  2319. package/dist/types/model/commands/identity/CreateIdentityCommand.d.ts +0 -8
  2320. package/dist/types/model/commands/identity/CreateIdentityCommand.d.ts.map +0 -1
  2321. package/dist/types/model/commands/identity/PatchIdentityGlobalRoles.d.ts +0 -9
  2322. package/dist/types/model/commands/identity/PatchIdentityGlobalRoles.d.ts.map +0 -1
  2323. package/dist/types/model/commands/identity/index.d.ts +0 -3
  2324. package/dist/types/model/commands/identity/index.d.ts.map +0 -1
  2325. package/dist/types/model/commands/idp/CreateIdpCommand.d.ts +0 -8
  2326. package/dist/types/model/commands/idp/CreateIdpCommand.d.ts.map +0 -1
  2327. package/dist/types/model/commands/idp/DisableIdpCommand.d.ts +0 -7
  2328. package/dist/types/model/commands/idp/DisableIdpCommand.d.ts.map +0 -1
  2329. package/dist/types/model/commands/idp/EnableIdpCommand.d.ts +0 -7
  2330. package/dist/types/model/commands/idp/EnableIdpCommand.d.ts.map +0 -1
  2331. package/dist/types/model/commands/idp/UpdateIdpCommand.d.ts +0 -14
  2332. package/dist/types/model/commands/idp/UpdateIdpCommand.d.ts.map +0 -1
  2333. package/dist/types/model/commands/index.d.ts +0 -12
  2334. package/dist/types/model/commands/index.d.ts.map +0 -1
  2335. package/dist/types/model/commands/mailTemplate/AddMailTemplateCommand.d.ts +0 -8
  2336. package/dist/types/model/commands/mailTemplate/AddMailTemplateCommand.d.ts.map +0 -1
  2337. package/dist/types/model/commands/mailTemplate/RemoveMailTemplateCommand.d.ts +0 -8
  2338. package/dist/types/model/commands/mailTemplate/RemoveMailTemplateCommand.d.ts.map +0 -1
  2339. package/dist/types/model/commands/mailTemplate/index.d.ts +0 -3
  2340. package/dist/types/model/commands/mailTemplate/index.d.ts.map +0 -1
  2341. package/dist/types/model/commands/membership/AddProjectMemberCommand.d.ts +0 -14
  2342. package/dist/types/model/commands/membership/AddProjectMemberCommand.d.ts.map +0 -1
  2343. package/dist/types/model/commands/membership/CreateOrUpdateProjectMembershipCommand.d.ts +0 -10
  2344. package/dist/types/model/commands/membership/CreateOrUpdateProjectMembershipCommand.d.ts.map +0 -1
  2345. package/dist/types/model/commands/membership/RemoveProjectMemberCommand.d.ts +0 -11
  2346. package/dist/types/model/commands/membership/RemoveProjectMemberCommand.d.ts.map +0 -1
  2347. package/dist/types/model/commands/membership/RemoveProjectMembershipsCommand.d.ts +0 -9
  2348. package/dist/types/model/commands/membership/RemoveProjectMembershipsCommand.d.ts.map +0 -1
  2349. package/dist/types/model/commands/membership/UpdateProjectMemberCommand.d.ts +0 -13
  2350. package/dist/types/model/commands/membership/UpdateProjectMemberCommand.d.ts.map +0 -1
  2351. package/dist/types/model/commands/membership/index.d.ts +0 -7
  2352. package/dist/types/model/commands/membership/index.d.ts.map +0 -1
  2353. package/dist/types/model/commands/membership/types.d.ts +0 -18
  2354. package/dist/types/model/commands/membership/types.d.ts.map +0 -1
  2355. package/dist/types/model/commands/membership/variables/PatchProjectMembershipVariableValuesCommand.d.ts +0 -10
  2356. package/dist/types/model/commands/membership/variables/PatchProjectMembershipVariableValuesCommand.d.ts.map +0 -1
  2357. package/dist/types/model/commands/membership/variables/PatchProjectMembershipVariablesCommand.d.ts +0 -9
  2358. package/dist/types/model/commands/membership/variables/PatchProjectMembershipVariablesCommand.d.ts.map +0 -1
  2359. package/dist/types/model/commands/membership/variables/SetProjectMembershipVariableValuesCommand.d.ts +0 -9
  2360. package/dist/types/model/commands/membership/variables/SetProjectMembershipVariableValuesCommand.d.ts.map +0 -1
  2361. package/dist/types/model/commands/membership/variables/index.d.ts +0 -2
  2362. package/dist/types/model/commands/membership/variables/index.d.ts.map +0 -1
  2363. package/dist/types/model/commands/otp/ConfirmOtpCommand.d.ts +0 -7
  2364. package/dist/types/model/commands/otp/ConfirmOtpCommand.d.ts.map +0 -1
  2365. package/dist/types/model/commands/otp/DisableOtpCommand.d.ts +0 -7
  2366. package/dist/types/model/commands/otp/DisableOtpCommand.d.ts.map +0 -1
  2367. package/dist/types/model/commands/otp/PrepareOtpCommand.d.ts +0 -8
  2368. package/dist/types/model/commands/otp/PrepareOtpCommand.d.ts.map +0 -1
  2369. package/dist/types/model/commands/otp/index.d.ts +0 -4
  2370. package/dist/types/model/commands/otp/index.d.ts.map +0 -1
  2371. package/dist/types/model/commands/person/ChangePasswordCommand.d.ts +0 -8
  2372. package/dist/types/model/commands/person/ChangePasswordCommand.d.ts.map +0 -1
  2373. package/dist/types/model/commands/person/ChangeProfileCommand.d.ts +0 -12
  2374. package/dist/types/model/commands/person/ChangeProfileCommand.d.ts.map +0 -1
  2375. package/dist/types/model/commands/person/CreatePersonCommand.d.ts +0 -15
  2376. package/dist/types/model/commands/person/CreatePersonCommand.d.ts.map +0 -1
  2377. package/dist/types/model/commands/person/CreatePersonIdentityProviderIdentifierCommand.d.ts +0 -9
  2378. package/dist/types/model/commands/person/CreatePersonIdentityProviderIdentifierCommand.d.ts.map +0 -1
  2379. package/dist/types/model/commands/person/DisablePersonCommand.d.ts +0 -7
  2380. package/dist/types/model/commands/person/DisablePersonCommand.d.ts.map +0 -1
  2381. package/dist/types/model/commands/person/TogglePersonPasswordlessCommand.d.ts +0 -8
  2382. package/dist/types/model/commands/person/TogglePersonPasswordlessCommand.d.ts.map +0 -1
  2383. package/dist/types/model/commands/person/index.d.ts +0 -5
  2384. package/dist/types/model/commands/person/index.d.ts.map +0 -1
  2385. package/dist/types/model/commands/personToken/ActivateOtpCommand.d.ts +0 -8
  2386. package/dist/types/model/commands/personToken/ActivateOtpCommand.d.ts.map +0 -1
  2387. package/dist/types/model/commands/personToken/CreatePersonTokenCommand.d.ts +0 -19
  2388. package/dist/types/model/commands/personToken/CreatePersonTokenCommand.d.ts.map +0 -1
  2389. package/dist/types/model/commands/personToken/IncreaseOtpAttemptCommand.d.ts +0 -7
  2390. package/dist/types/model/commands/personToken/IncreaseOtpAttemptCommand.d.ts.map +0 -1
  2391. package/dist/types/model/commands/personToken/InvalidateTokenCommand.d.ts +0 -7
  2392. package/dist/types/model/commands/personToken/InvalidateTokenCommand.d.ts.map +0 -1
  2393. package/dist/types/model/commands/personToken/ResetPasswordCommand.d.ts +0 -12
  2394. package/dist/types/model/commands/personToken/ResetPasswordCommand.d.ts.map +0 -1
  2395. package/dist/types/model/commands/personToken/SavePersonTokenCommand.d.ts +0 -19
  2396. package/dist/types/model/commands/personToken/SavePersonTokenCommand.d.ts.map +0 -1
  2397. package/dist/types/model/commands/personToken/index.d.ts +0 -7
  2398. package/dist/types/model/commands/personToken/index.d.ts.map +0 -1
  2399. package/dist/types/model/commands/project/CreateProjectCommand.d.ts +0 -9
  2400. package/dist/types/model/commands/project/CreateProjectCommand.d.ts.map +0 -1
  2401. package/dist/types/model/commands/project/SetProjectSecretCommand.d.ts +0 -9
  2402. package/dist/types/model/commands/project/SetProjectSecretCommand.d.ts.map +0 -1
  2403. package/dist/types/model/commands/project/UpdateProjectCommand.d.ts +0 -9
  2404. package/dist/types/model/commands/project/UpdateProjectCommand.d.ts.map +0 -1
  2405. package/dist/types/model/commands/project/index.d.ts +0 -4
  2406. package/dist/types/model/commands/project/index.d.ts.map +0 -1
  2407. package/dist/types/model/consts/expirations.d.ts +0 -3
  2408. package/dist/types/model/consts/expirations.d.ts.map +0 -1
  2409. package/dist/types/model/dtos/AuthLogBag.d.ts +0 -3
  2410. package/dist/types/model/dtos/AuthLogBag.d.ts.map +0 -1
  2411. package/dist/types/model/dtos/Password.d.ts +0 -23
  2412. package/dist/types/model/dtos/Password.d.ts.map +0 -1
  2413. package/dist/types/model/dtos/index.d.ts +0 -2
  2414. package/dist/types/model/dtos/index.d.ts.map +0 -1
  2415. package/dist/types/model/index.d.ts +0 -10
  2416. package/dist/types/model/index.d.ts.map +0 -1
  2417. package/dist/types/model/mailing/UserMailer.d.ts +0 -51
  2418. package/dist/types/model/mailing/UserMailer.d.ts.map +0 -1
  2419. package/dist/types/model/mailing/index.d.ts +0 -3
  2420. package/dist/types/model/mailing/index.d.ts.map +0 -1
  2421. package/dist/types/model/mailing/templates/ExistingUserInvited.mustache.d.ts +0 -3
  2422. package/dist/types/model/mailing/templates/ExistingUserInvited.mustache.d.ts.map +0 -1
  2423. package/dist/types/model/mailing/templates/Layout.mustache.d.ts +0 -3
  2424. package/dist/types/model/mailing/templates/Layout.mustache.d.ts.map +0 -1
  2425. package/dist/types/model/mailing/templates/NewUserInvited.mustache.d.ts +0 -3
  2426. package/dist/types/model/mailing/templates/NewUserInvited.mustache.d.ts.map +0 -1
  2427. package/dist/types/model/mailing/templates/PasswordReset.mustache.d.ts +0 -3
  2428. package/dist/types/model/mailing/templates/PasswordReset.mustache.d.ts.map +0 -1
  2429. package/dist/types/model/mailing/templates/PasswordlessSignIn.mustache.d.ts +0 -3
  2430. package/dist/types/model/mailing/templates/PasswordlessSignIn.mustache.d.ts.map +0 -1
  2431. package/dist/types/model/mailing/type.d.ts +0 -23
  2432. package/dist/types/model/mailing/type.d.ts.map +0 -1
  2433. package/dist/types/model/providers.d.ts +0 -18
  2434. package/dist/types/model/providers.d.ts.map +0 -1
  2435. package/dist/types/model/queries/apiKey/ApiKeyQuery.d.ts +0 -23
  2436. package/dist/types/model/queries/apiKey/ApiKeyQuery.d.ts.map +0 -1
  2437. package/dist/types/model/queries/apiKey/index.d.ts +0 -2
  2438. package/dist/types/model/queries/apiKey/index.d.ts.map +0 -1
  2439. package/dist/types/model/queries/authLog/NextLoginAttemptQuery.d.ts +0 -7
  2440. package/dist/types/model/queries/authLog/NextLoginAttemptQuery.d.ts.map +0 -1
  2441. package/dist/types/model/queries/configuration/ConfigurationQuery.d.ts +0 -6
  2442. package/dist/types/model/queries/configuration/ConfigurationQuery.d.ts.map +0 -1
  2443. package/dist/types/model/queries/configuration/index.d.ts +0 -2
  2444. package/dist/types/model/queries/configuration/index.d.ts.map +0 -1
  2445. package/dist/types/model/queries/identity/IdentityQuery.d.ts +0 -12
  2446. package/dist/types/model/queries/identity/IdentityQuery.d.ts.map +0 -1
  2447. package/dist/types/model/queries/identity/index.d.ts +0 -2
  2448. package/dist/types/model/queries/identity/index.d.ts.map +0 -1
  2449. package/dist/types/model/queries/idp/IdentityProviderBySlugQuery.d.ts +0 -8
  2450. package/dist/types/model/queries/idp/IdentityProviderBySlugQuery.d.ts.map +0 -1
  2451. package/dist/types/model/queries/idp/IdentityProvidersQuery.d.ts +0 -6
  2452. package/dist/types/model/queries/idp/IdentityProvidersQuery.d.ts.map +0 -1
  2453. package/dist/types/model/queries/idp/helpers.d.ts +0 -5
  2454. package/dist/types/model/queries/idp/helpers.d.ts.map +0 -1
  2455. package/dist/types/model/queries/idp/index.d.ts +0 -3
  2456. package/dist/types/model/queries/idp/index.d.ts.map +0 -1
  2457. package/dist/types/model/queries/idp/types.d.ts +0 -16
  2458. package/dist/types/model/queries/idp/types.d.ts.map +0 -1
  2459. package/dist/types/model/queries/index.d.ts +0 -9
  2460. package/dist/types/model/queries/index.d.ts.map +0 -1
  2461. package/dist/types/model/queries/mailTemplate/MailTemplateListQuery.d.ts +0 -9
  2462. package/dist/types/model/queries/mailTemplate/MailTemplateListQuery.d.ts.map +0 -1
  2463. package/dist/types/model/queries/mailTemplate/MailTemplateQuery.d.ts +0 -9
  2464. package/dist/types/model/queries/mailTemplate/MailTemplateQuery.d.ts.map +0 -1
  2465. package/dist/types/model/queries/mailTemplate/helpers.d.ts +0 -7
  2466. package/dist/types/model/queries/mailTemplate/helpers.d.ts.map +0 -1
  2467. package/dist/types/model/queries/mailTemplate/index.d.ts +0 -3
  2468. package/dist/types/model/queries/mailTemplate/index.d.ts.map +0 -1
  2469. package/dist/types/model/queries/membership/ProjectMembersQuery.d.ts +0 -14
  2470. package/dist/types/model/queries/membership/ProjectMembersQuery.d.ts.map +0 -1
  2471. package/dist/types/model/queries/membership/ProjectMembershipByIdentityQuery.d.ts +0 -20
  2472. package/dist/types/model/queries/membership/ProjectMembershipByIdentityQuery.d.ts.map +0 -1
  2473. package/dist/types/model/queries/membership/ProjectRolesByIdentityQuery.d.ts +0 -18
  2474. package/dist/types/model/queries/membership/ProjectRolesByIdentityQuery.d.ts.map +0 -1
  2475. package/dist/types/model/queries/membership/ProjectSlugSpecification.d.ts +0 -3
  2476. package/dist/types/model/queries/membership/ProjectSlugSpecification.d.ts.map +0 -1
  2477. package/dist/types/model/queries/membership/index.d.ts +0 -4
  2478. package/dist/types/model/queries/membership/index.d.ts.map +0 -1
  2479. package/dist/types/model/queries/person/PersonByIdPQuery.d.ts +0 -10
  2480. package/dist/types/model/queries/person/PersonByIdPQuery.d.ts.map +0 -1
  2481. package/dist/types/model/queries/person/PersonByIdentityBatchQuery.d.ts +0 -8
  2482. package/dist/types/model/queries/person/PersonByIdentityBatchQuery.d.ts.map +0 -1
  2483. package/dist/types/model/queries/person/PersonQuery.d.ts +0 -24
  2484. package/dist/types/model/queries/person/PersonQuery.d.ts.map +0 -1
  2485. package/dist/types/model/queries/person/PersonQueryBuilderFactory.d.ts +0 -6
  2486. package/dist/types/model/queries/person/PersonQueryBuilderFactory.d.ts.map +0 -1
  2487. package/dist/types/model/queries/person/index.d.ts +0 -5
  2488. package/dist/types/model/queries/person/index.d.ts.map +0 -1
  2489. package/dist/types/model/queries/person/types.d.ts +0 -14
  2490. package/dist/types/model/queries/person/types.d.ts.map +0 -1
  2491. package/dist/types/model/queries/personToken/PersonTokenQuery.d.ts +0 -12
  2492. package/dist/types/model/queries/personToken/PersonTokenQuery.d.ts.map +0 -1
  2493. package/dist/types/model/queries/project/ProjectBySlugQuery.d.ts +0 -14
  2494. package/dist/types/model/queries/project/ProjectBySlugQuery.d.ts.map +0 -1
  2495. package/dist/types/model/queries/project/ProjectSecretsQuery.d.ts +0 -15
  2496. package/dist/types/model/queries/project/ProjectSecretsQuery.d.ts.map +0 -1
  2497. package/dist/types/model/queries/project/ProjectUpdateTimestampQuery.d.ts +0 -7
  2498. package/dist/types/model/queries/project/ProjectUpdateTimestampQuery.d.ts.map +0 -1
  2499. package/dist/types/model/queries/project/ProjectsByIdentityQuery.d.ts +0 -10
  2500. package/dist/types/model/queries/project/ProjectsByIdentityQuery.d.ts.map +0 -1
  2501. package/dist/types/model/queries/project/ProjectsQuery.d.ts +0 -6
  2502. package/dist/types/model/queries/project/ProjectsQuery.d.ts.map +0 -1
  2503. package/dist/types/model/queries/project/index.d.ts +0 -6
  2504. package/dist/types/model/queries/project/index.d.ts.map +0 -1
  2505. package/dist/types/model/service/AuthLogService.d.ts +0 -34
  2506. package/dist/types/model/service/AuthLogService.d.ts.map +0 -1
  2507. package/dist/types/model/service/ConfigurationManager.d.ts +0 -8
  2508. package/dist/types/model/service/ConfigurationManager.d.ts.map +0 -1
  2509. package/dist/types/model/service/EmailValidator.d.ts +0 -8
  2510. package/dist/types/model/service/EmailValidator.d.ts.map +0 -1
  2511. package/dist/types/model/service/IDPSignInManager.d.ts +0 -32
  2512. package/dist/types/model/service/IDPSignInManager.d.ts.map +0 -1
  2513. package/dist/types/model/service/InviteManager.d.ts +0 -34
  2514. package/dist/types/model/service/InviteManager.d.ts.map +0 -1
  2515. package/dist/types/model/service/MailTemplateManager.d.ts +0 -7
  2516. package/dist/types/model/service/MailTemplateManager.d.ts.map +0 -1
  2517. package/dist/types/model/service/MembershipValidator.d.ts +0 -11
  2518. package/dist/types/model/service/MembershipValidator.d.ts.map +0 -1
  2519. package/dist/types/model/service/OtpAuthenticator.d.ts +0 -19
  2520. package/dist/types/model/service/OtpAuthenticator.d.ts.map +0 -1
  2521. package/dist/types/model/service/OtpManager.d.ts +0 -15
  2522. package/dist/types/model/service/OtpManager.d.ts.map +0 -1
  2523. package/dist/types/model/service/PasswordChangeManager.d.ts +0 -20
  2524. package/dist/types/model/service/PasswordChangeManager.d.ts.map +0 -1
  2525. package/dist/types/model/service/PasswordResetManager.d.ts +0 -29
  2526. package/dist/types/model/service/PasswordResetManager.d.ts.map +0 -1
  2527. package/dist/types/model/service/PasswordStrengthValidator.d.ts +0 -11
  2528. package/dist/types/model/service/PasswordStrengthValidator.d.ts.map +0 -1
  2529. package/dist/types/model/service/PasswordlessSignInManager.d.ts +0 -64
  2530. package/dist/types/model/service/PasswordlessSignInManager.d.ts.map +0 -1
  2531. package/dist/types/model/service/PersonAccessManager.d.ts +0 -15
  2532. package/dist/types/model/service/PersonAccessManager.d.ts.map +0 -1
  2533. package/dist/types/model/service/PersonManager.d.ts +0 -17
  2534. package/dist/types/model/service/PersonManager.d.ts.map +0 -1
  2535. package/dist/types/model/service/PersonTokenManager.d.ts +0 -3
  2536. package/dist/types/model/service/PersonTokenManager.d.ts.map +0 -1
  2537. package/dist/types/model/service/ProjectManager.d.ts +0 -33
  2538. package/dist/types/model/service/ProjectManager.d.ts.map +0 -1
  2539. package/dist/types/model/service/ProjectMemberManager.d.ts +0 -46
  2540. package/dist/types/model/service/ProjectMemberManager.d.ts.map +0 -1
  2541. package/dist/types/model/service/RolesManager.d.ts +0 -11
  2542. package/dist/types/model/service/RolesManager.d.ts.map +0 -1
  2543. package/dist/types/model/service/SecretsManager.d.ts +0 -10
  2544. package/dist/types/model/service/SecretsManager.d.ts.map +0 -1
  2545. package/dist/types/model/service/SignInManager.d.ts +0 -28
  2546. package/dist/types/model/service/SignInManager.d.ts.map +0 -1
  2547. package/dist/types/model/service/SignUpManager.d.ts +0 -28
  2548. package/dist/types/model/service/SignUpManager.d.ts.map +0 -1
  2549. package/dist/types/model/service/apiKey/ApiKeyManager.d.ts +0 -34
  2550. package/dist/types/model/service/apiKey/ApiKeyManager.d.ts.map +0 -1
  2551. package/dist/types/model/service/apiKey/ApiKeyService.d.ts +0 -28
  2552. package/dist/types/model/service/apiKey/ApiKeyService.d.ts.map +0 -1
  2553. package/dist/types/model/service/apiKey/index.d.ts +0 -3
  2554. package/dist/types/model/service/apiKey/index.d.ts.map +0 -1
  2555. package/dist/types/model/service/helpers/getPreferredProject.d.ts +0 -3
  2556. package/dist/types/model/service/helpers/getPreferredProject.d.ts.map +0 -1
  2557. package/dist/types/model/service/idp/IDPHandlerRegistry.d.ts +0 -8
  2558. package/dist/types/model/service/idp/IDPHandlerRegistry.d.ts.map +0 -1
  2559. package/dist/types/model/service/idp/IDPManager.d.ts +0 -21
  2560. package/dist/types/model/service/idp/IDPManager.d.ts.map +0 -1
  2561. package/dist/types/model/service/idp/IDPResponseError.d.ts +0 -4
  2562. package/dist/types/model/service/idp/IDPResponseError.d.ts.map +0 -1
  2563. package/dist/types/model/service/idp/IDPValidationError.d.ts +0 -4
  2564. package/dist/types/model/service/idp/IDPValidationError.d.ts.map +0 -1
  2565. package/dist/types/model/service/idp/IdentityProviderHandler.d.ts +0 -16
  2566. package/dist/types/model/service/idp/IdentityProviderHandler.d.ts.map +0 -1
  2567. package/dist/types/model/service/idp/IdentityProviderNotFoundError.d.ts +0 -4
  2568. package/dist/types/model/service/idp/IdentityProviderNotFoundError.d.ts.map +0 -1
  2569. package/dist/types/model/service/idp/InvalidIDPConfigurationError.d.ts +0 -4
  2570. package/dist/types/model/service/idp/InvalidIDPConfigurationError.d.ts.map +0 -1
  2571. package/dist/types/model/service/idp/index.d.ts +0 -11
  2572. package/dist/types/model/service/idp/index.d.ts.map +0 -1
  2573. package/dist/types/model/service/idp/providers/AppleProvider.d.ts +0 -42
  2574. package/dist/types/model/service/idp/providers/AppleProvider.d.ts.map +0 -1
  2575. package/dist/types/model/service/idp/providers/FacebookProvider.d.ts +0 -40
  2576. package/dist/types/model/service/idp/providers/FacebookProvider.d.ts.map +0 -1
  2577. package/dist/types/model/service/idp/providers/OIDCHelpers.d.ts +0 -10
  2578. package/dist/types/model/service/idp/providers/OIDCHelpers.d.ts.map +0 -1
  2579. package/dist/types/model/service/idp/providers/OIDCProvider.d.ts +0 -26
  2580. package/dist/types/model/service/idp/providers/OIDCProvider.d.ts.map +0 -1
  2581. package/dist/types/model/service/idp/providers/OIDCTypes.d.ts +0 -86
  2582. package/dist/types/model/service/idp/providers/OIDCTypes.d.ts.map +0 -1
  2583. package/dist/types/model/service/idp/providers/helpers.d.ts +0 -5
  2584. package/dist/types/model/service/idp/providers/helpers.d.ts.map +0 -1
  2585. package/dist/types/model/service/index.d.ts +0 -20
  2586. package/dist/types/model/service/index.d.ts.map +0 -1
  2587. package/dist/types/model/service/membershipUtils.d.ts +0 -6
  2588. package/dist/types/model/service/membershipUtils.d.ts.map +0 -1
  2589. package/dist/types/model/type/ApiKey.d.ts +0 -9
  2590. package/dist/types/model/type/ApiKey.d.ts.map +0 -1
  2591. package/dist/types/model/type/AuthLog.d.ts +0 -2
  2592. package/dist/types/model/type/AuthLog.d.ts.map +0 -1
  2593. package/dist/types/model/type/Config.d.ts +0 -28
  2594. package/dist/types/model/type/Config.d.ts.map +0 -1
  2595. package/dist/types/model/type/IdentityProvider.d.ts +0 -12
  2596. package/dist/types/model/type/IdentityProvider.d.ts.map +0 -1
  2597. package/dist/types/model/type/PersonToken.d.ts +0 -16
  2598. package/dist/types/model/type/PersonToken.d.ts.map +0 -1
  2599. package/dist/types/model/type/Project.d.ts +0 -19
  2600. package/dist/types/model/type/Project.d.ts.map +0 -1
  2601. package/dist/types/model/type/Variables.d.ts +0 -11
  2602. package/dist/types/model/type/Variables.d.ts.map +0 -1
  2603. package/dist/types/model/type/index.d.ts +0 -6
  2604. package/dist/types/model/type/index.d.ts.map +0 -1
  2605. package/dist/types/model/utils/DatabaseContext.d.ts +0 -16
  2606. package/dist/types/model/utils/DatabaseContext.d.ts.map +0 -1
  2607. package/dist/types/model/utils/Response.d.ts +0 -14
  2608. package/dist/types/model/utils/Response.d.ts.map +0 -1
  2609. package/dist/types/model/utils/blacklist.d.ts +0 -2
  2610. package/dist/types/model/utils/blacklist.d.ts.map +0 -1
  2611. package/dist/types/model/utils/email.d.ts +0 -3
  2612. package/dist/types/model/utils/email.d.ts.map +0 -1
  2613. package/dist/types/model/utils/hex.d.ts +0 -5
  2614. package/dist/types/model/utils/hex.d.ts.map +0 -1
  2615. package/dist/types/model/utils/index.d.ts +0 -3
  2616. package/dist/types/model/utils/index.d.ts.map +0 -1
  2617. package/dist/types/model/utils/interval.d.ts +0 -3
  2618. package/dist/types/model/utils/interval.d.ts.map +0 -1
  2619. package/dist/types/model/utils/time.d.ts +0 -2
  2620. package/dist/types/model/utils/time.d.ts.map +0 -1
  2621. package/dist/types/model/utils/token.d.ts +0 -16
  2622. package/dist/types/model/utils/token.d.ts.map +0 -1
  2623. package/dist/types/resolvers/Resolver.d.ts +0 -10
  2624. package/dist/types/resolvers/Resolver.d.ts.map +0 -1
  2625. package/dist/types/resolvers/ResolverFactory.d.ts +0 -65
  2626. package/dist/types/resolvers/ResolverFactory.d.ts.map +0 -1
  2627. package/dist/types/resolvers/TenantResolverContext.d.ts +0 -14
  2628. package/dist/types/resolvers/TenantResolverContext.d.ts.map +0 -1
  2629. package/dist/types/resolvers/TenantResolverContextFactory.d.ts +0 -32
  2630. package/dist/types/resolvers/TenantResolverContextFactory.d.ts.map +0 -1
  2631. package/dist/types/resolvers/errorUtils.d.ts +0 -15
  2632. package/dist/types/resolvers/errorUtils.d.ts.map +0 -1
  2633. package/dist/types/resolvers/index.d.ts +0 -7
  2634. package/dist/types/resolvers/index.d.ts.map +0 -1
  2635. package/dist/types/resolvers/membershipUtils.d.ts +0 -11
  2636. package/dist/types/resolvers/membershipUtils.d.ts.map +0 -1
  2637. package/dist/types/resolvers/mutation/apiKey/CreateApiKeyMutationResolver.d.ts +0 -13
  2638. package/dist/types/resolvers/mutation/apiKey/CreateApiKeyMutationResolver.d.ts.map +0 -1
  2639. package/dist/types/resolvers/mutation/apiKey/DisableApiKeyMutationResolver.d.ts +0 -10
  2640. package/dist/types/resolvers/mutation/apiKey/DisableApiKeyMutationResolver.d.ts.map +0 -1
  2641. package/dist/types/resolvers/mutation/apiKey/index.d.ts +0 -3
  2642. package/dist/types/resolvers/mutation/apiKey/index.d.ts.map +0 -1
  2643. package/dist/types/resolvers/mutation/configuration/ConfigurationMutationResolver.d.ts +0 -9
  2644. package/dist/types/resolvers/mutation/configuration/ConfigurationMutationResolver.d.ts.map +0 -1
  2645. package/dist/types/resolvers/mutation/identity/GlobalRolesMutationResolver.d.ts +0 -11
  2646. package/dist/types/resolvers/mutation/identity/GlobalRolesMutationResolver.d.ts.map +0 -1
  2647. package/dist/types/resolvers/mutation/identity/index.d.ts +0 -2
  2648. package/dist/types/resolvers/mutation/identity/index.d.ts.map +0 -1
  2649. package/dist/types/resolvers/mutation/idp/AddIDPMutationResolver.d.ts +0 -9
  2650. package/dist/types/resolvers/mutation/idp/AddIDPMutationResolver.d.ts.map +0 -1
  2651. package/dist/types/resolvers/mutation/idp/DisableIDPMutationResolver.d.ts +0 -9
  2652. package/dist/types/resolvers/mutation/idp/DisableIDPMutationResolver.d.ts.map +0 -1
  2653. package/dist/types/resolvers/mutation/idp/EnableIDPMutationResolver.d.ts +0 -9
  2654. package/dist/types/resolvers/mutation/idp/EnableIDPMutationResolver.d.ts.map +0 -1
  2655. package/dist/types/resolvers/mutation/idp/UpdateIDPMutationResolver.d.ts +0 -9
  2656. package/dist/types/resolvers/mutation/idp/UpdateIDPMutationResolver.d.ts.map +0 -1
  2657. package/dist/types/resolvers/mutation/idp/index.d.ts +0 -4
  2658. package/dist/types/resolvers/mutation/idp/index.d.ts.map +0 -1
  2659. package/dist/types/resolvers/mutation/index.d.ts +0 -8
  2660. package/dist/types/resolvers/mutation/index.d.ts.map +0 -1
  2661. package/dist/types/resolvers/mutation/mailTemplates/MailTemplateMutationResolver.d.ts +0 -11
  2662. package/dist/types/resolvers/mutation/mailTemplates/MailTemplateMutationResolver.d.ts.map +0 -1
  2663. package/dist/types/resolvers/mutation/mailTemplates/index.d.ts +0 -2
  2664. package/dist/types/resolvers/mutation/mailTemplates/index.d.ts.map +0 -1
  2665. package/dist/types/resolvers/mutation/person/ChangePasswordMutationResolver.d.ts +0 -11
  2666. package/dist/types/resolvers/mutation/person/ChangePasswordMutationResolver.d.ts.map +0 -1
  2667. package/dist/types/resolvers/mutation/person/ChangeProfileMutationResolver.d.ts +0 -11
  2668. package/dist/types/resolvers/mutation/person/ChangeProfileMutationResolver.d.ts.map +0 -1
  2669. package/dist/types/resolvers/mutation/person/DisablePersonMutationResolver.d.ts +0 -11
  2670. package/dist/types/resolvers/mutation/person/DisablePersonMutationResolver.d.ts.map +0 -1
  2671. package/dist/types/resolvers/mutation/person/IDPMutationResolver.d.ts +0 -12
  2672. package/dist/types/resolvers/mutation/person/IDPMutationResolver.d.ts.map +0 -1
  2673. package/dist/types/resolvers/mutation/person/InviteMutationResolver.d.ts +0 -13
  2674. package/dist/types/resolvers/mutation/person/InviteMutationResolver.d.ts.map +0 -1
  2675. package/dist/types/resolvers/mutation/person/OtpMutationResolver.d.ts +0 -12
  2676. package/dist/types/resolvers/mutation/person/OtpMutationResolver.d.ts.map +0 -1
  2677. package/dist/types/resolvers/mutation/person/PasswordlessMutationResolver.d.ts +0 -13
  2678. package/dist/types/resolvers/mutation/person/PasswordlessMutationResolver.d.ts.map +0 -1
  2679. package/dist/types/resolvers/mutation/person/ResetPasswordMutationResolver.d.ts +0 -12
  2680. package/dist/types/resolvers/mutation/person/ResetPasswordMutationResolver.d.ts.map +0 -1
  2681. package/dist/types/resolvers/mutation/person/SignInMutationResolver.d.ts +0 -12
  2682. package/dist/types/resolvers/mutation/person/SignInMutationResolver.d.ts.map +0 -1
  2683. package/dist/types/resolvers/mutation/person/SignOutMutationResolver.d.ts +0 -9
  2684. package/dist/types/resolvers/mutation/person/SignOutMutationResolver.d.ts.map +0 -1
  2685. package/dist/types/resolvers/mutation/person/SignUpMutationResolver.d.ts +0 -10
  2686. package/dist/types/resolvers/mutation/person/SignUpMutationResolver.d.ts.map +0 -1
  2687. package/dist/types/resolvers/mutation/person/TogglePasswordlessMutationResolver.d.ts +0 -13
  2688. package/dist/types/resolvers/mutation/person/TogglePasswordlessMutationResolver.d.ts.map +0 -1
  2689. package/dist/types/resolvers/mutation/person/index.d.ts +0 -10
  2690. package/dist/types/resolvers/mutation/person/index.d.ts.map +0 -1
  2691. package/dist/types/resolvers/mutation/project/CreateProjectMutationResolver.d.ts +0 -9
  2692. package/dist/types/resolvers/mutation/project/CreateProjectMutationResolver.d.ts.map +0 -1
  2693. package/dist/types/resolvers/mutation/project/SetProjectSecretMutationResolver.d.ts +0 -10
  2694. package/dist/types/resolvers/mutation/project/SetProjectSecretMutationResolver.d.ts.map +0 -1
  2695. package/dist/types/resolvers/mutation/project/UpdateProjectMutationResolver.d.ts +0 -9
  2696. package/dist/types/resolvers/mutation/project/UpdateProjectMutationResolver.d.ts.map +0 -1
  2697. package/dist/types/resolvers/mutation/project/index.d.ts +0 -4
  2698. package/dist/types/resolvers/mutation/project/index.d.ts.map +0 -1
  2699. package/dist/types/resolvers/mutation/projectMember/AddProjectMemberMutationResolver.d.ts +0 -11
  2700. package/dist/types/resolvers/mutation/projectMember/AddProjectMemberMutationResolver.d.ts.map +0 -1
  2701. package/dist/types/resolvers/mutation/projectMember/RemoveProjectMemberMutationResolver.d.ts +0 -10
  2702. package/dist/types/resolvers/mutation/projectMember/RemoveProjectMemberMutationResolver.d.ts.map +0 -1
  2703. package/dist/types/resolvers/mutation/projectMember/UpdateProjectMemberMutationResolver.d.ts +0 -11
  2704. package/dist/types/resolvers/mutation/projectMember/UpdateProjectMemberMutationResolver.d.ts.map +0 -1
  2705. package/dist/types/resolvers/mutation/projectMember/index.d.ts +0 -4
  2706. package/dist/types/resolvers/mutation/projectMember/index.d.ts.map +0 -1
  2707. package/dist/types/resolvers/query/ConfigurationQueryResolver.d.ts +0 -9
  2708. package/dist/types/resolvers/query/ConfigurationQueryResolver.d.ts.map +0 -1
  2709. package/dist/types/resolvers/query/IDPQueryResolver.d.ts +0 -9
  2710. package/dist/types/resolvers/query/IDPQueryResolver.d.ts.map +0 -1
  2711. package/dist/types/resolvers/query/MailTemplateQueryResolver.d.ts +0 -6
  2712. package/dist/types/resolvers/query/MailTemplateQueryResolver.d.ts.map +0 -1
  2713. package/dist/types/resolvers/query/MeQueryResolver.d.ts +0 -6
  2714. package/dist/types/resolvers/query/MeQueryResolver.d.ts.map +0 -1
  2715. package/dist/types/resolvers/query/PersonQueryResolver.d.ts +0 -9
  2716. package/dist/types/resolvers/query/PersonQueryResolver.d.ts.map +0 -1
  2717. package/dist/types/resolvers/query/ProjectMembersQueryResolver.d.ts +0 -10
  2718. package/dist/types/resolvers/query/ProjectMembersQueryResolver.d.ts.map +0 -1
  2719. package/dist/types/resolvers/query/ProjectQueryResolver.d.ts +0 -10
  2720. package/dist/types/resolvers/query/ProjectQueryResolver.d.ts.map +0 -1
  2721. package/dist/types/resolvers/query/index.d.ts +0 -5
  2722. package/dist/types/resolvers/query/index.d.ts.map +0 -1
  2723. package/dist/types/resolvers/responseHelpers/PersonResponseFactory.d.ts +0 -6
  2724. package/dist/types/resolvers/responseHelpers/PersonResponseFactory.d.ts.map +0 -1
  2725. package/dist/types/resolvers/responseHelpers/SignInResponseFactory.d.ts +0 -10
  2726. package/dist/types/resolvers/responseHelpers/SignInResponseFactory.d.ts.map +0 -1
  2727. package/dist/types/resolvers/types/IdentityTypeResolver.d.ts +0 -26
  2728. package/dist/types/resolvers/types/IdentityTypeResolver.d.ts.map +0 -1
  2729. package/dist/types/resolvers/types/ProjectTypeResolver.d.ts +0 -30
  2730. package/dist/types/resolvers/types/ProjectTypeResolver.d.ts.map +0 -1
  2731. package/dist/types/resolvers/types/index.d.ts +0 -3
  2732. package/dist/types/resolvers/types/index.d.ts.map +0 -1
  2733. package/dist/types/schema/index.d.ts +0 -2414
  2734. package/dist/types/schema/index.d.ts.map +0 -1
  2735. package/dist/types/schema/tenant.graphql.d.ts +0 -4
  2736. package/dist/types/schema/tenant.graphql.d.ts.map +0 -1
  2737. package/dist/types/schema/types.d.ts +0 -8
  2738. package/dist/types/schema/types.d.ts.map +0 -1
  2739. package/dist/types/tsconfig.tsbuildinfo +0 -1
  2740. package/dist/types/utils/Mailer.d.ts +0 -49
  2741. package/dist/types/utils/Mailer.d.ts.map +0 -1
  2742. package/dist/types/utils/TemplateRenderer.d.ts +0 -4
  2743. package/dist/types/utils/TemplateRenderer.d.ts.map +0 -1
  2744. package/dist/types/utils/array.d.ts +0 -7
  2745. package/dist/types/utils/array.d.ts.map +0 -1
  2746. package/dist/types/utils/batchQuery.d.ts +0 -6
  2747. package/dist/types/utils/batchQuery.d.ts.map +0 -1
  2748. package/dist/types/utils/index.d.ts +0 -3
  2749. package/dist/types/utils/index.d.ts.map +0 -1
  2750. package/dist/types/utils/tick.d.ts +0 -2
  2751. package/dist/types/utils/tick.d.ts.map +0 -1
  2752. package/tests/.eslintrc.cjs +0 -5
@@ -1,201 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- require("../queries/apiKey/ApiKeyQuery.cjs");
4
- const ConfigurationQuery = require("../queries/configuration/ConfigurationQuery.cjs");
5
- require("@contember/database");
6
- const exceptions = require("../../exceptions.cjs");
7
- const PersonQuery = require("../queries/person/PersonQuery.cjs");
8
- require("../authorization/PermissionActions.cjs");
9
- require("@contember/authorization");
10
- require("../authorization/PermissionContext.cjs");
11
- require("../authorization/PermissionsFactory.cjs");
12
- require("@contember/schema");
13
- const Response = require("../utils/Response.cjs");
14
- require("../type/ApiKey.cjs");
15
- const ActivateOtpCommand = require("../commands/personToken/ActivateOtpCommand.cjs");
16
- const CreatePersonTokenCommand = require("../commands/personToken/CreatePersonTokenCommand.cjs");
17
- const InvalidateTokenCommand = require("../commands/personToken/InvalidateTokenCommand.cjs");
18
- const IncreaseOtpAttemptCommand = require("../commands/personToken/IncreaseOtpAttemptCommand.cjs");
19
- const PersonTokenQuery = require("../queries/personToken/PersonTokenQuery.cjs");
20
- const token = require("../utils/token.cjs");
21
- const getPreferredProject = require("./helpers/getPreferredProject.cjs");
22
- const AuthLogService = require("./AuthLogService.cjs");
23
- const interval = require("../utils/interval.cjs");
24
- class PasswordlessSignInManager {
25
- constructor(apiKeyManager, mailer, projectManager, otpAuthenticator) {
26
- this.apiKeyManager = apiKeyManager;
27
- this.mailer = mailer;
28
- this.projectManager = projectManager;
29
- this.otpAuthenticator = otpAuthenticator;
30
- }
31
- async initSignInPasswordless({ db, permissionContext, mailVariant, mailProject, email }) {
32
- return db.transaction(async (db2) => {
33
- const configuration = await db2.queryHandler.fetch(new ConfigurationQuery.ConfigurationQuery());
34
- if (configuration.passwordless.enabled === "never") {
35
- return new Response.ResponseError("PASSWORDLESS_DISABLED", "Passwordless sign-in is disabled", {
36
- [AuthLogService.AuthLogService.Key]: new AuthLogService.AuthLogService.Bag({})
37
- });
38
- }
39
- const person = await db2.queryHandler.fetch(PersonQuery.PersonQuery.byEmail(email));
40
- if (!person) {
41
- return new Response.ResponseError("PERSON_NOT_FOUND", `Person ${email} not found`, {
42
- [AuthLogService.AuthLogService.Key]: new AuthLogService.AuthLogService.Bag({
43
- personInput: email
44
- })
45
- });
46
- }
47
- if (!this.isEnabled(configuration.passwordless.enabled, person.passwordless_enabled)) {
48
- return new Response.ResponseError("PASSWORDLESS_DISABLED", "Passwordless sign-in is disabled for this person", {
49
- [AuthLogService.AuthLogService.Key]: new AuthLogService.AuthLogService.Bag({
50
- personInput: email,
51
- personId: person.id
52
- })
53
- });
54
- }
55
- const createTokenCommand = CreatePersonTokenCommand.CreatePersonTokenCommand.createPasswordlessRequest(person.id, interval.intervalToSeconds(configuration.passwordless.expiration) / 60);
56
- const result = await db2.commandBus.execute(createTokenCommand);
57
- const url = this.formatUrl(configuration.passwordless.url ?? null, result.token, result.id, email) ?? void 0;
58
- const projects = await this.projectManager.getProjectsByIdentity(db2, person.identity_id, permissionContext);
59
- const project = getPreferredProject.getPreferredProject(projects, mailProject ?? null);
60
- await this.mailer.sendPasswordlessEmail(db2, {
61
- email,
62
- token: result.token,
63
- url,
64
- project: project?.name,
65
- projectSlug: project?.slug,
66
- requestId: result.id
67
- }, {
68
- variant: mailVariant || "",
69
- projectId: project?.id ?? null
70
- });
71
- return new Response.ResponseOk({
72
- requestId: result.id,
73
- expiresAt: result.expiresAt,
74
- person,
75
- [AuthLogService.AuthLogService.Key]: new AuthLogService.AuthLogService.Bag({
76
- personInput: email,
77
- personId: person.id,
78
- tokenId: result.id
79
- })
80
- });
81
- });
82
- }
83
- formatUrl(url, token2, requestId, email) {
84
- if (!url) {
85
- return null;
86
- }
87
- const urlObj = new URL(url);
88
- urlObj.searchParams.set("token", token2);
89
- urlObj.searchParams.set("request_id", requestId);
90
- urlObj.searchParams.set("email", email);
91
- return urlObj.toString();
92
- }
93
- async signInPasswordless({ db, expiration, token: token$1, requestId, mfaOtp, validationType }) {
94
- return db.transaction(async (db2) => {
95
- const tokenResult = await db2.queryHandler.fetch(PersonTokenQuery.PersonTokenQuery.byId(requestId, "passwordless"));
96
- const tokenValidationResult = token.validateToken({
97
- entry: tokenResult,
98
- token: token$1,
99
- now: db2.providers.now(),
100
- validationType
101
- });
102
- if (!tokenValidationResult.ok) {
103
- if (tokenValidationResult.error === "TOKEN_INVALID" && validationType === "otp") {
104
- await db2.commandBus.execute(new IncreaseOtpAttemptCommand.IncreaseOtpAttemptCommand(tokenResult.id));
105
- }
106
- return new Response.ResponseError(tokenValidationResult.error, tokenValidationResult.errorMessage, {
107
- ...tokenValidationResult.metadata ?? {},
108
- [AuthLogService.AuthLogService.Key]: new AuthLogService.AuthLogService.Bag({
109
- personId: tokenResult?.person_id,
110
- tokenId: tokenResult?.id
111
- })
112
- });
113
- }
114
- if (!tokenResult) {
115
- throw new exceptions.ImplementationException();
116
- }
117
- const personRow = await db2.queryHandler.fetch(PersonQuery.PersonQuery.byId(tokenValidationResult.result.person_id));
118
- if (!personRow) {
119
- throw new exceptions.ImplementationException();
120
- }
121
- if (personRow.disabled_at !== null) {
122
- return new Response.ResponseError("PERSON_DISABLED", `Person is disabled`, {
123
- [AuthLogService.AuthLogService.Key]: new AuthLogService.AuthLogService.Bag({
124
- personId: personRow.id,
125
- tokenId: tokenResult?.id
126
- })
127
- });
128
- }
129
- if (personRow.otp_uri && personRow.otp_activated_at) {
130
- if (!mfaOtp) {
131
- return new Response.ResponseError("OTP_REQUIRED", `2FA is enabled. OTP token is required`, {
132
- [AuthLogService.AuthLogService.Key]: new AuthLogService.AuthLogService.Bag({
133
- personId: personRow.id,
134
- tokenId: tokenResult?.id
135
- })
136
- });
137
- }
138
- if (!this.otpAuthenticator.validate({ uri: personRow.otp_uri }, mfaOtp)) {
139
- return new Response.ResponseError("INVALID_OTP_TOKEN", "OTP token validation has failed", {
140
- [AuthLogService.AuthLogService.Key]: new AuthLogService.AuthLogService.Bag({
141
- personId: personRow.id,
142
- tokenId: tokenResult?.id
143
- })
144
- });
145
- }
146
- }
147
- await db2.commandBus.execute(new InvalidateTokenCommand.InvalidateTokenCommand(tokenValidationResult.result.id));
148
- const sessionToken = await this.apiKeyManager.createSessionApiKey(db2, personRow.identity_id, expiration);
149
- return new Response.ResponseOk({
150
- person: personRow,
151
- token: sessionToken,
152
- [AuthLogService.AuthLogService.Key]: new AuthLogService.AuthLogService.Bag({
153
- personId: personRow.id,
154
- tokenId: tokenResult?.id
155
- })
156
- });
157
- });
158
- }
159
- async activatePasswordlessOtp({ db, token: token$1, requestId, otpHash }) {
160
- return db.transaction(async (db2) => {
161
- const tokenResult = await db2.queryHandler.fetch(PersonTokenQuery.PersonTokenQuery.byId(requestId, "passwordless"));
162
- const tokenValidationResult = token.validateToken({
163
- entry: tokenResult,
164
- token: token$1,
165
- now: db2.providers.now(),
166
- validationType: "token"
167
- });
168
- if (!tokenValidationResult.ok) {
169
- return new Response.ResponseError(tokenValidationResult.error, tokenValidationResult.errorMessage, {
170
- ...tokenValidationResult.metadata ?? {},
171
- [AuthLogService.AuthLogService.Key]: new AuthLogService.AuthLogService.Bag({
172
- personId: tokenResult?.person_id,
173
- tokenId: tokenResult?.id
174
- })
175
- });
176
- }
177
- await db2.commandBus.execute(new ActivateOtpCommand.ActivateOtpCommand(tokenValidationResult.result.id, otpHash));
178
- return new Response.ResponseOk({
179
- person: tokenResult?.person_id,
180
- [AuthLogService.AuthLogService.Key]: new AuthLogService.AuthLogService.Bag({
181
- personId: tokenResult?.person_id,
182
- tokenId: tokenResult?.id
183
- })
184
- });
185
- });
186
- }
187
- isEnabled(globalValue, personValue) {
188
- switch (globalValue) {
189
- case "always":
190
- return true;
191
- case "never":
192
- return false;
193
- case "optIn":
194
- return personValue === true;
195
- case "optOut":
196
- return personValue !== false;
197
- }
198
- }
199
- }
200
- exports.PasswordlessSignInManager = PasswordlessSignInManager;
201
- //# sourceMappingURL=PasswordlessSignInManager.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PasswordlessSignInManager.cjs","sources":["../../../../../../packages/engine-tenant-api/src/model/service/PasswordlessSignInManager.ts"],"sourcesContent":["import { ApiKeyManager } from './apiKey'\nimport { ConfigurationQuery, PersonQuery, PersonRow } from '../queries'\nimport { Response, ResponseError, ResponseOk } from '../utils/Response'\nimport { ActivatePasswordlessOtpErrorCode, ConfigPolicy, InitSignInPasswordlessErrorCode, InitSignInPasswordlessResult, SignInPasswordlessErrorCode } from '../../schema'\nimport { DatabaseContext, validateToken } from '../utils'\nimport { UserMailer } from '../mailing'\nimport { ActivateOtpCommand, CreatePersonTokenCommand, IncreaseOtpAttemptCommand, InvalidateTokenCommand } from '../commands'\nimport { getPreferredProject } from './helpers/getPreferredProject'\nimport { ProjectManager } from './ProjectManager'\nimport { PermissionContext } from '../authorization'\nimport { PersonTokenQuery } from '../queries/personToken/PersonTokenQuery'\nimport { ImplementationException } from '../../exceptions'\nimport { OtpAuthenticator } from './OtpAuthenticator'\nimport { PersonToken } from '../type'\nimport { AuthLogService } from './AuthLogService'\nimport { intervalToSeconds } from '../utils/interval'\n\nclass PasswordlessSignInManager {\n\tconstructor(\n\t\tprivate readonly apiKeyManager: ApiKeyManager,\n\t\tprivate readonly mailer: UserMailer,\n\t\tprivate readonly projectManager: ProjectManager,\n\t\tprivate readonly otpAuthenticator: OtpAuthenticator,\n\n\t) {}\n\n\tasync initSignInPasswordless({ db, permissionContext, mailVariant, mailProject, email }: {\n\t\tdb: DatabaseContext\n\t\tpermissionContext: PermissionContext\n\t\temail: string\n\t\tmailVariant?: string\n\t\tmailProject?: string\n\t}): Promise<PasswordlessSignInManager.InitSignInPasswordlessResponse> {\n\t\treturn db.transaction(async (db): Promise<PasswordlessSignInManager.InitSignInPasswordlessResponse> => {\n\t\t\tconst configuration = await db.queryHandler.fetch(new ConfigurationQuery())\n\t\t\tif (configuration.passwordless.enabled === 'never') {\n\t\t\t\treturn new ResponseError('PASSWORDLESS_DISABLED', 'Passwordless sign-in is disabled', {\n\t\t\t\t\t[AuthLogService.Key]: new AuthLogService.Bag({}),\n\t\t\t\t})\n\t\t\t}\n\n\t\t\tconst person = await db.queryHandler.fetch(PersonQuery.byEmail(email))\n\t\t\tif (!person) {\n\t\t\t\treturn new ResponseError('PERSON_NOT_FOUND', `Person ${email} not found`, {\n\t\t\t\t\t[AuthLogService.Key]: new AuthLogService.Bag({\n\t\t\t\t\t\tpersonInput: email,\n\t\t\t\t\t}),\n\t\t\t\t})\n\t\t\t}\n\t\t\tif (!this.isEnabled(configuration.passwordless.enabled, person.passwordless_enabled)) {\n\t\t\t\treturn new ResponseError('PASSWORDLESS_DISABLED', 'Passwordless sign-in is disabled for this person', {\n\t\t\t\t\t[AuthLogService.Key]: new AuthLogService.Bag({\n\t\t\t\t\t\tpersonInput: email,\n\t\t\t\t\t\tpersonId: person.id,\n\t\t\t\t\t}),\n\t\t\t\t})\n\t\t\t}\n\n\t\t\tconst createTokenCommand = CreatePersonTokenCommand.createPasswordlessRequest(person.id, intervalToSeconds(configuration.passwordless.expiration) / 60)\n\t\t\tconst result = await db.commandBus.execute(createTokenCommand)\n\n\n\t\t\tconst url = this.formatUrl(configuration.passwordless.url ?? null, result.token, result.id, email) ?? undefined\n\n\t\t\tconst projects = await this.projectManager.getProjectsByIdentity(db, person.identity_id, permissionContext)\n\t\t\tconst project = getPreferredProject(projects, mailProject ?? null)\n\n\t\t\tawait this.mailer.sendPasswordlessEmail(db, {\n\t\t\t\temail,\n\t\t\t\ttoken: result.token,\n\t\t\t\turl,\n\t\t\t\tproject: project?.name,\n\t\t\t\tprojectSlug: project?.slug,\n\t\t\t\trequestId: result.id,\n\t\t\t}, {\n\t\t\t\tvariant: mailVariant || '',\n\t\t\t\tprojectId: project?.id ?? null,\n\t\t\t})\n\n\t\t\treturn new ResponseOk({\n\t\t\t\trequestId: result.id,\n\t\t\t\texpiresAt: result.expiresAt,\n\t\t\t\tperson,\n\t\t\t\t[AuthLogService.Key]: new AuthLogService.Bag({\n\t\t\t\t\tpersonInput: email,\n\t\t\t\t\tpersonId: person.id,\n\t\t\t\t\ttokenId: result.id,\n\t\t\t\t}),\n\t\t\t})\n\t\t})\n\t}\n\n\tprivate formatUrl(url: string | null, token: string, requestId: string, email: string): string | null {\n\t\tif (!url) {\n\t\t\treturn null\n\t\t}\n\t\tconst urlObj = new URL(url)\n\t\turlObj.searchParams.set('token', token)\n\t\turlObj.searchParams.set('request_id', requestId)\n\t\turlObj.searchParams.set('email', email)\n\t\treturn urlObj.toString()\n\t}\n\n\tasync signInPasswordless({ db, expiration, token, requestId, mfaOtp, validationType }: {\n\t\tdb: DatabaseContext\n\t\tvalidationType: PersonToken.ValidationType\n\t\trequestId: string\n\t\ttoken: string\n\t\tmfaOtp?: string\n\t\texpiration?: number\n\t}): Promise<PasswordlessSignInManager.SignInPasswordlessResponse> {\n\t\treturn db.transaction(async (db): Promise<PasswordlessSignInManager.SignInPasswordlessResponse> => {\n\n\t\t\tconst tokenResult = await db.queryHandler.fetch(PersonTokenQuery.byId(requestId, 'passwordless'))\n\t\t\tconst tokenValidationResult = validateToken({\n\t\t\t\tentry: tokenResult,\n\t\t\t\ttoken,\n\t\t\t\tnow: db.providers.now(),\n\t\t\t\tvalidationType,\n\t\t\t})\n\t\t\tif (!tokenValidationResult.ok) {\n\t\t\t\tif (tokenValidationResult.error === 'TOKEN_INVALID' && validationType === 'otp') {\n\t\t\t\t\tawait db.commandBus.execute(new IncreaseOtpAttemptCommand(tokenResult!.id))\n\t\t\t\t}\n\t\t\t\treturn new ResponseError(tokenValidationResult.error, tokenValidationResult.errorMessage, {\n\t\t\t\t\t...tokenValidationResult.metadata ?? {},\n\t\t\t\t\t[AuthLogService.Key]: new AuthLogService.Bag({\n\t\t\t\t\t\tpersonId: tokenResult?.person_id,\n\t\t\t\t\t\ttokenId: tokenResult?.id,\n\t\t\t\t\t}),\n\t\t\t\t})\n\t\t\t}\n\t\t\tif (!tokenResult) {\n\t\t\t\tthrow new ImplementationException()\n\t\t\t}\n\t\t\tconst personRow = await db.queryHandler.fetch(PersonQuery.byId(tokenValidationResult.result.person_id))\n\t\t\tif (!personRow) {\n\t\t\t\tthrow new ImplementationException()\n\t\t\t}\n\t\t\tif (personRow.disabled_at !== null) {\n\t\t\t\treturn new ResponseError('PERSON_DISABLED', `Person is disabled`, {\n\t\t\t\t\t[AuthLogService.Key]: new AuthLogService.Bag({\n\t\t\t\t\t\tpersonId: personRow.id,\n\t\t\t\t\t\ttokenId: tokenResult?.id,\n\t\t\t\t\t}),\n\t\t\t\t})\n\t\t\t}\n\n\t\t\tif (personRow.otp_uri && personRow.otp_activated_at) {\n\t\t\t\tif (!mfaOtp) {\n\t\t\t\t\treturn new ResponseError('OTP_REQUIRED', `2FA is enabled. OTP token is required`, {\n\t\t\t\t\t\t[AuthLogService.Key]: new AuthLogService.Bag({\n\t\t\t\t\t\t\tpersonId: personRow.id,\n\t\t\t\t\t\t\ttokenId: tokenResult?.id,\n\t\t\t\t\t\t}),\n\t\t\t\t\t})\n\t\t\t\t}\n\n\t\t\t\tif (!this.otpAuthenticator.validate({ uri: personRow.otp_uri }, mfaOtp)) {\n\t\t\t\t\treturn new ResponseError('INVALID_OTP_TOKEN', 'OTP token validation has failed', {\n\t\t\t\t\t\t[AuthLogService.Key]: new AuthLogService.Bag({\n\t\t\t\t\t\t\tpersonId: personRow.id,\n\t\t\t\t\t\t\ttokenId: tokenResult?.id,\n\t\t\t\t\t\t}),\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tawait db.commandBus.execute(new InvalidateTokenCommand(tokenValidationResult.result.id))\n\t\t\tconst sessionToken = await this.apiKeyManager.createSessionApiKey(db, personRow.identity_id, expiration)\n\n\t\t\treturn new ResponseOk({\n\t\t\t\tperson: personRow,\n\t\t\t\ttoken: sessionToken,\n\t\t\t\t[AuthLogService.Key]: new AuthLogService.Bag({\n\t\t\t\t\tpersonId: personRow.id,\n\t\t\t\t\ttokenId: tokenResult?.id,\n\t\t\t\t}),\n\t\t\t})\n\t\t})\n\t}\n\n\tasync activatePasswordlessOtp({ db, token, requestId, otpHash }: {\n\t\tdb: DatabaseContext\n\t\trequestId: string\n\t\ttoken: string\n\t\totpHash: string\n\t}): Promise<PasswordlessSignInManager.ActivatePasswordlessOtpResponse> {\n\t\treturn db.transaction(async (db): Promise<PasswordlessSignInManager.ActivatePasswordlessOtpResponse> => {\n\n\t\t\tconst tokenResult = await db.queryHandler.fetch(PersonTokenQuery.byId(requestId, 'passwordless'))\n\t\t\tconst tokenValidationResult = validateToken({\n\t\t\t\tentry: tokenResult,\n\t\t\t\ttoken,\n\t\t\t\tnow: db.providers.now(),\n\t\t\t\tvalidationType: 'token',\n\t\t\t})\n\t\t\tif (!tokenValidationResult.ok) {\n\t\t\t\treturn new ResponseError(tokenValidationResult.error, tokenValidationResult.errorMessage, {\n\t\t\t\t\t...tokenValidationResult.metadata ?? {},\n\t\t\t\t\t[AuthLogService.Key]: new AuthLogService.Bag({\n\t\t\t\t\t\tpersonId: tokenResult?.person_id,\n\t\t\t\t\t\ttokenId: tokenResult?.id,\n\t\t\t\t\t}),\n\t\t\t\t})\n\t\t\t}\n\n\t\t\tawait db.commandBus.execute(new ActivateOtpCommand(tokenValidationResult.result.id, otpHash))\n\n\t\t\treturn new ResponseOk({\n\t\t\t\tperson: tokenResult?.person_id,\n\t\t\t\t[AuthLogService.Key]: new AuthLogService.Bag({\n\t\t\t\t\tpersonId: tokenResult?.person_id,\n\t\t\t\t\ttokenId: tokenResult?.id,\n\t\t\t\t}),\n\t\t\t})\n\t\t})\n\t}\n\n\tprivate isEnabled(globalValue: ConfigPolicy, personValue: boolean | null): boolean {\n\t\tswitch (globalValue) {\n\t\t\tcase 'always':\n\t\t\t\treturn true\n\t\t\tcase 'never':\n\t\t\t\treturn false\n\t\t\tcase 'optIn':\n\t\t\t\treturn personValue === true\n\t\t\tcase 'optOut':\n\t\t\t\treturn personValue !== false\n\t\t}\n\t}\n}\n\nnamespace PasswordlessSignInManager {\n\texport type InitSignInPasswordlessResponse = Response<InitSignInPasswordlessResult & {\n\t\t[AuthLogService.Key]: AuthLogService.Bag\n\t}, InitSignInPasswordlessErrorCode, {\n\t\t[AuthLogService.Key]: AuthLogService.Bag\n\t}>\n\n\n\tinterface SignInPasswordlessResult {\n\t\treadonly person: PersonRow\n\t\treadonly token: string\n\t\t[AuthLogService.Key]: AuthLogService.Bag\n\t}\n\texport type SignInPasswordlessResponse = Response<SignInPasswordlessResult, SignInPasswordlessErrorCode, {\n\t\t[AuthLogService.Key]: AuthLogService.Bag\n\t}>\n\n\texport type ActivatePasswordlessOtpResponse = Response<{\n\t\t[AuthLogService.Key]: AuthLogService.Bag\n\t}, ActivatePasswordlessOtpErrorCode, {\n\t\t[AuthLogService.Key]: AuthLogService.Bag\n\t}>\n}\n\nexport { PasswordlessSignInManager }\n"],"names":["db","ConfigurationQuery","ResponseError","AuthLogService","PersonQuery","CreatePersonTokenCommand","intervalToSeconds","getPreferredProject","ResponseOk","token","PersonTokenQuery","validateToken","IncreaseOtpAttemptCommand","ImplementationException","InvalidateTokenCommand","ActivateOtpCommand"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAiBA,MAAM,0BAA0B;AAAA,EAC/B,YACkB,eACA,QACA,gBACA,kBAEhB;AALgB,SAAA,gBAAA;AACA,SAAA,SAAA;AACA,SAAA,iBAAA;AACA,SAAA,mBAAA;AAAA,EAAA;AAAA,EAIlB,MAAM,uBAAuB,EAAE,IAAI,mBAAmB,aAAa,aAAa,SAMV;AAC9D,WAAA,GAAG,YAAY,OAAOA,QAA0E;AACtG,YAAM,gBAAgB,MAAMA,IAAG,aAAa,MAAM,IAAIC,mBAAAA,oBAAoB;AACtE,UAAA,cAAc,aAAa,YAAY,SAAS;AAC5C,eAAA,IAAIC,SAAAA,cAAc,yBAAyB,oCAAoC;AAAA,UACrF,CAACC,8BAAe,GAAG,GAAG,IAAIA,eAAe,eAAA,IAAI,CAAE,CAAA;AAAA,QAAA,CAC/C;AAAA,MAAA;AAGI,YAAA,SAAS,MAAMH,IAAG,aAAa,MAAMI,wBAAY,QAAQ,KAAK,CAAC;AACrE,UAAI,CAAC,QAAQ;AACZ,eAAO,IAAIF,SAAA,cAAc,oBAAoB,UAAU,KAAK,cAAc;AAAA,UACzE,CAACC,8BAAe,GAAG,GAAG,IAAIA,eAAAA,eAAe,IAAI;AAAA,YAC5C,aAAa;AAAA,UACb,CAAA;AAAA,QAAA,CACD;AAAA,MAAA;AAEE,UAAA,CAAC,KAAK,UAAU,cAAc,aAAa,SAAS,OAAO,oBAAoB,GAAG;AAC9E,eAAA,IAAID,SAAAA,cAAc,yBAAyB,oDAAoD;AAAA,UACrG,CAACC,8BAAe,GAAG,GAAG,IAAIA,eAAAA,eAAe,IAAI;AAAA,YAC5C,aAAa;AAAA,YACb,UAAU,OAAO;AAAA,UACjB,CAAA;AAAA,QAAA,CACD;AAAA,MAAA;AAGI,YAAA,qBAAqBE,yBAAAA,yBAAyB,0BAA0B,OAAO,IAAIC,2BAAkB,cAAc,aAAa,UAAU,IAAI,EAAE;AACtJ,YAAM,SAAS,MAAMN,IAAG,WAAW,QAAQ,kBAAkB;AAG7D,YAAM,MAAM,KAAK,UAAU,cAAc,aAAa,OAAO,MAAM,OAAO,OAAO,OAAO,IAAI,KAAK,KAAK;AAEhG,YAAA,WAAW,MAAM,KAAK,eAAe,sBAAsBA,KAAI,OAAO,aAAa,iBAAiB;AAC1G,YAAM,UAAUO,oBAAA,oBAAoB,UAAU,eAAe,IAAI;AAE3D,YAAA,KAAK,OAAO,sBAAsBP,KAAI;AAAA,QAC3C;AAAA,QACA,OAAO,OAAO;AAAA,QACd;AAAA,QACA,SAAS,SAAS;AAAA,QAClB,aAAa,SAAS;AAAA,QACtB,WAAW,OAAO;AAAA,MAAA,GAChB;AAAA,QACF,SAAS,eAAe;AAAA,QACxB,WAAW,SAAS,MAAM;AAAA,MAAA,CAC1B;AAED,aAAO,IAAIQ,SAAAA,WAAW;AAAA,QACrB,WAAW,OAAO;AAAA,QAClB,WAAW,OAAO;AAAA,QAClB;AAAA,QACA,CAACL,8BAAe,GAAG,GAAG,IAAIA,eAAAA,eAAe,IAAI;AAAA,UAC5C,aAAa;AAAA,UACb,UAAU,OAAO;AAAA,UACjB,SAAS,OAAO;AAAA,QAChB,CAAA;AAAA,MAAA,CACD;AAAA,IAAA,CACD;AAAA,EAAA;AAAA,EAGM,UAAU,KAAoBM,QAAe,WAAmB,OAA8B;AACrG,QAAI,CAAC,KAAK;AACF,aAAA;AAAA,IAAA;AAEF,UAAA,SAAS,IAAI,IAAI,GAAG;AACnB,WAAA,aAAa,IAAI,SAASA,MAAK;AAC/B,WAAA,aAAa,IAAI,cAAc,SAAS;AACxC,WAAA,aAAa,IAAI,SAAS,KAAK;AACtC,WAAO,OAAO,SAAS;AAAA,EAAA;AAAA,EAGxB,MAAM,mBAAmB,EAAE,IAAI,mBAAYA,SAAO,WAAW,QAAQ,kBAOH;AAC1D,WAAA,GAAG,YAAY,OAAOT,QAAsE;AAE5F,YAAA,cAAc,MAAMA,IAAG,aAAa,MAAMU,iBAAAA,iBAAiB,KAAK,WAAW,cAAc,CAAC;AAChG,YAAM,wBAAwBC,MAAAA,cAAc;AAAA,QAC3C,OAAO;AAAA,QAAA,OACPF;AAAAA,QACA,KAAKT,IAAG,UAAU,IAAI;AAAA,QACtB;AAAA,MAAA,CACA;AACG,UAAA,CAAC,sBAAsB,IAAI;AAC9B,YAAI,sBAAsB,UAAU,mBAAmB,mBAAmB,OAAO;AAChF,gBAAMA,IAAG,WAAW,QAAQ,IAAIY,0BAAAA,0BAA0B,YAAa,EAAE,CAAC;AAAA,QAAA;AAE3E,eAAO,IAAIV,SAAAA,cAAc,sBAAsB,OAAO,sBAAsB,cAAc;AAAA,UACzF,GAAG,sBAAsB,YAAY,CAAC;AAAA,UACtC,CAACC,8BAAe,GAAG,GAAG,IAAIA,eAAAA,eAAe,IAAI;AAAA,YAC5C,UAAU,aAAa;AAAA,YACvB,SAAS,aAAa;AAAA,UACtB,CAAA;AAAA,QAAA,CACD;AAAA,MAAA;AAEF,UAAI,CAAC,aAAa;AACjB,cAAM,IAAIU,WAAAA,wBAAwB;AAAA,MAAA;AAE7B,YAAA,YAAY,MAAMb,IAAG,aAAa,MAAMI,wBAAY,KAAK,sBAAsB,OAAO,SAAS,CAAC;AACtG,UAAI,CAAC,WAAW;AACf,cAAM,IAAIS,WAAAA,wBAAwB;AAAA,MAAA;AAE/B,UAAA,UAAU,gBAAgB,MAAM;AAC5B,eAAA,IAAIX,SAAc,cAAA,mBAAmB,sBAAsB;AAAA,UACjE,CAACC,8BAAe,GAAG,GAAG,IAAIA,eAAAA,eAAe,IAAI;AAAA,YAC5C,UAAU,UAAU;AAAA,YACpB,SAAS,aAAa;AAAA,UACtB,CAAA;AAAA,QAAA,CACD;AAAA,MAAA;AAGE,UAAA,UAAU,WAAW,UAAU,kBAAkB;AACpD,YAAI,CAAC,QAAQ;AACL,iBAAA,IAAID,SAAc,cAAA,gBAAgB,yCAAyC;AAAA,YACjF,CAACC,8BAAe,GAAG,GAAG,IAAIA,eAAAA,eAAe,IAAI;AAAA,cAC5C,UAAU,UAAU;AAAA,cACpB,SAAS,aAAa;AAAA,YACtB,CAAA;AAAA,UAAA,CACD;AAAA,QAAA;AAGE,YAAA,CAAC,KAAK,iBAAiB,SAAS,EAAE,KAAK,UAAU,WAAW,MAAM,GAAG;AACjE,iBAAA,IAAID,SAAAA,cAAc,qBAAqB,mCAAmC;AAAA,YAChF,CAACC,8BAAe,GAAG,GAAG,IAAIA,eAAAA,eAAe,IAAI;AAAA,cAC5C,UAAU,UAAU;AAAA,cACpB,SAAS,aAAa;AAAA,YACtB,CAAA;AAAA,UAAA,CACD;AAAA,QAAA;AAAA,MACF;AAGKH,YAAAA,IAAG,WAAW,QAAQ,IAAIc,8CAAuB,sBAAsB,OAAO,EAAE,CAAC;AACjF,YAAA,eAAe,MAAM,KAAK,cAAc,oBAAoBd,KAAI,UAAU,aAAa,UAAU;AAEvG,aAAO,IAAIQ,SAAAA,WAAW;AAAA,QACrB,QAAQ;AAAA,QACR,OAAO;AAAA,QACP,CAACL,8BAAe,GAAG,GAAG,IAAIA,eAAAA,eAAe,IAAI;AAAA,UAC5C,UAAU,UAAU;AAAA,UACpB,SAAS,aAAa;AAAA,QACtB,CAAA;AAAA,MAAA,CACD;AAAA,IAAA,CACD;AAAA,EAAA;AAAA,EAGF,MAAM,wBAAwB,EAAE,WAAIM,SAAO,WAAW,WAKiB;AAC/D,WAAA,GAAG,YAAY,OAAOT,QAA2E;AAEjG,YAAA,cAAc,MAAMA,IAAG,aAAa,MAAMU,iBAAAA,iBAAiB,KAAK,WAAW,cAAc,CAAC;AAChG,YAAM,wBAAwBC,MAAAA,cAAc;AAAA,QAC3C,OAAO;AAAA,QAAA,OACPF;AAAAA,QACA,KAAKT,IAAG,UAAU,IAAI;AAAA,QACtB,gBAAgB;AAAA,MAAA,CAChB;AACG,UAAA,CAAC,sBAAsB,IAAI;AAC9B,eAAO,IAAIE,SAAAA,cAAc,sBAAsB,OAAO,sBAAsB,cAAc;AAAA,UACzF,GAAG,sBAAsB,YAAY,CAAC;AAAA,UACtC,CAACC,8BAAe,GAAG,GAAG,IAAIA,eAAAA,eAAe,IAAI;AAAA,YAC5C,UAAU,aAAa;AAAA,YACvB,SAAS,aAAa;AAAA,UACtB,CAAA;AAAA,QAAA,CACD;AAAA,MAAA;AAGIH,YAAAA,IAAG,WAAW,QAAQ,IAAIe,mBAAAA,mBAAmB,sBAAsB,OAAO,IAAI,OAAO,CAAC;AAE5F,aAAO,IAAIP,SAAAA,WAAW;AAAA,QACrB,QAAQ,aAAa;AAAA,QACrB,CAACL,8BAAe,GAAG,GAAG,IAAIA,eAAAA,eAAe,IAAI;AAAA,UAC5C,UAAU,aAAa;AAAA,UACvB,SAAS,aAAa;AAAA,QACtB,CAAA;AAAA,MAAA,CACD;AAAA,IAAA,CACD;AAAA,EAAA;AAAA,EAGM,UAAU,aAA2B,aAAsC;AAClF,YAAQ,aAAa;AAAA,MACpB,KAAK;AACG,eAAA;AAAA,MACR,KAAK;AACG,eAAA;AAAA,MACR,KAAK;AACJ,eAAO,gBAAgB;AAAA,MACxB,KAAK;AACJ,eAAO,gBAAgB;AAAA,IAAA;AAAA,EACzB;AAEF;;"}
@@ -1,201 +0,0 @@
1
- import "../queries/apiKey/ApiKeyQuery.js";
2
- import { ConfigurationQuery } from "../queries/configuration/ConfigurationQuery.js";
3
- import "@contember/database";
4
- import { ImplementationException } from "../../exceptions.js";
5
- import { PersonQuery } from "../queries/person/PersonQuery.js";
6
- import "../authorization/PermissionActions.js";
7
- import "@contember/authorization";
8
- import "../authorization/PermissionContext.js";
9
- import "../authorization/PermissionsFactory.js";
10
- import "@contember/schema";
11
- import { ResponseError, ResponseOk } from "../utils/Response.js";
12
- import "../type/ApiKey.js";
13
- import { ActivateOtpCommand } from "../commands/personToken/ActivateOtpCommand.js";
14
- import { CreatePersonTokenCommand } from "../commands/personToken/CreatePersonTokenCommand.js";
15
- import { InvalidateTokenCommand } from "../commands/personToken/InvalidateTokenCommand.js";
16
- import { IncreaseOtpAttemptCommand } from "../commands/personToken/IncreaseOtpAttemptCommand.js";
17
- import { PersonTokenQuery } from "../queries/personToken/PersonTokenQuery.js";
18
- import { validateToken } from "../utils/token.js";
19
- import { getPreferredProject } from "./helpers/getPreferredProject.js";
20
- import { AuthLogService } from "./AuthLogService.js";
21
- import { intervalToSeconds } from "../utils/interval.js";
22
- class PasswordlessSignInManager {
23
- constructor(apiKeyManager, mailer, projectManager, otpAuthenticator) {
24
- this.apiKeyManager = apiKeyManager;
25
- this.mailer = mailer;
26
- this.projectManager = projectManager;
27
- this.otpAuthenticator = otpAuthenticator;
28
- }
29
- async initSignInPasswordless({ db, permissionContext, mailVariant, mailProject, email }) {
30
- return db.transaction(async (db2) => {
31
- const configuration = await db2.queryHandler.fetch(new ConfigurationQuery());
32
- if (configuration.passwordless.enabled === "never") {
33
- return new ResponseError("PASSWORDLESS_DISABLED", "Passwordless sign-in is disabled", {
34
- [AuthLogService.Key]: new AuthLogService.Bag({})
35
- });
36
- }
37
- const person = await db2.queryHandler.fetch(PersonQuery.byEmail(email));
38
- if (!person) {
39
- return new ResponseError("PERSON_NOT_FOUND", `Person ${email} not found`, {
40
- [AuthLogService.Key]: new AuthLogService.Bag({
41
- personInput: email
42
- })
43
- });
44
- }
45
- if (!this.isEnabled(configuration.passwordless.enabled, person.passwordless_enabled)) {
46
- return new ResponseError("PASSWORDLESS_DISABLED", "Passwordless sign-in is disabled for this person", {
47
- [AuthLogService.Key]: new AuthLogService.Bag({
48
- personInput: email,
49
- personId: person.id
50
- })
51
- });
52
- }
53
- const createTokenCommand = CreatePersonTokenCommand.createPasswordlessRequest(person.id, intervalToSeconds(configuration.passwordless.expiration) / 60);
54
- const result = await db2.commandBus.execute(createTokenCommand);
55
- const url = this.formatUrl(configuration.passwordless.url ?? null, result.token, result.id, email) ?? void 0;
56
- const projects = await this.projectManager.getProjectsByIdentity(db2, person.identity_id, permissionContext);
57
- const project = getPreferredProject(projects, mailProject ?? null);
58
- await this.mailer.sendPasswordlessEmail(db2, {
59
- email,
60
- token: result.token,
61
- url,
62
- project: project?.name,
63
- projectSlug: project?.slug,
64
- requestId: result.id
65
- }, {
66
- variant: mailVariant || "",
67
- projectId: project?.id ?? null
68
- });
69
- return new ResponseOk({
70
- requestId: result.id,
71
- expiresAt: result.expiresAt,
72
- person,
73
- [AuthLogService.Key]: new AuthLogService.Bag({
74
- personInput: email,
75
- personId: person.id,
76
- tokenId: result.id
77
- })
78
- });
79
- });
80
- }
81
- formatUrl(url, token, requestId, email) {
82
- if (!url) {
83
- return null;
84
- }
85
- const urlObj = new URL(url);
86
- urlObj.searchParams.set("token", token);
87
- urlObj.searchParams.set("request_id", requestId);
88
- urlObj.searchParams.set("email", email);
89
- return urlObj.toString();
90
- }
91
- async signInPasswordless({ db, expiration, token, requestId, mfaOtp, validationType }) {
92
- return db.transaction(async (db2) => {
93
- const tokenResult = await db2.queryHandler.fetch(PersonTokenQuery.byId(requestId, "passwordless"));
94
- const tokenValidationResult = validateToken({
95
- entry: tokenResult,
96
- token,
97
- now: db2.providers.now(),
98
- validationType
99
- });
100
- if (!tokenValidationResult.ok) {
101
- if (tokenValidationResult.error === "TOKEN_INVALID" && validationType === "otp") {
102
- await db2.commandBus.execute(new IncreaseOtpAttemptCommand(tokenResult.id));
103
- }
104
- return new ResponseError(tokenValidationResult.error, tokenValidationResult.errorMessage, {
105
- ...tokenValidationResult.metadata ?? {},
106
- [AuthLogService.Key]: new AuthLogService.Bag({
107
- personId: tokenResult?.person_id,
108
- tokenId: tokenResult?.id
109
- })
110
- });
111
- }
112
- if (!tokenResult) {
113
- throw new ImplementationException();
114
- }
115
- const personRow = await db2.queryHandler.fetch(PersonQuery.byId(tokenValidationResult.result.person_id));
116
- if (!personRow) {
117
- throw new ImplementationException();
118
- }
119
- if (personRow.disabled_at !== null) {
120
- return new ResponseError("PERSON_DISABLED", `Person is disabled`, {
121
- [AuthLogService.Key]: new AuthLogService.Bag({
122
- personId: personRow.id,
123
- tokenId: tokenResult?.id
124
- })
125
- });
126
- }
127
- if (personRow.otp_uri && personRow.otp_activated_at) {
128
- if (!mfaOtp) {
129
- return new ResponseError("OTP_REQUIRED", `2FA is enabled. OTP token is required`, {
130
- [AuthLogService.Key]: new AuthLogService.Bag({
131
- personId: personRow.id,
132
- tokenId: tokenResult?.id
133
- })
134
- });
135
- }
136
- if (!this.otpAuthenticator.validate({ uri: personRow.otp_uri }, mfaOtp)) {
137
- return new ResponseError("INVALID_OTP_TOKEN", "OTP token validation has failed", {
138
- [AuthLogService.Key]: new AuthLogService.Bag({
139
- personId: personRow.id,
140
- tokenId: tokenResult?.id
141
- })
142
- });
143
- }
144
- }
145
- await db2.commandBus.execute(new InvalidateTokenCommand(tokenValidationResult.result.id));
146
- const sessionToken = await this.apiKeyManager.createSessionApiKey(db2, personRow.identity_id, expiration);
147
- return new ResponseOk({
148
- person: personRow,
149
- token: sessionToken,
150
- [AuthLogService.Key]: new AuthLogService.Bag({
151
- personId: personRow.id,
152
- tokenId: tokenResult?.id
153
- })
154
- });
155
- });
156
- }
157
- async activatePasswordlessOtp({ db, token, requestId, otpHash }) {
158
- return db.transaction(async (db2) => {
159
- const tokenResult = await db2.queryHandler.fetch(PersonTokenQuery.byId(requestId, "passwordless"));
160
- const tokenValidationResult = validateToken({
161
- entry: tokenResult,
162
- token,
163
- now: db2.providers.now(),
164
- validationType: "token"
165
- });
166
- if (!tokenValidationResult.ok) {
167
- return new ResponseError(tokenValidationResult.error, tokenValidationResult.errorMessage, {
168
- ...tokenValidationResult.metadata ?? {},
169
- [AuthLogService.Key]: new AuthLogService.Bag({
170
- personId: tokenResult?.person_id,
171
- tokenId: tokenResult?.id
172
- })
173
- });
174
- }
175
- await db2.commandBus.execute(new ActivateOtpCommand(tokenValidationResult.result.id, otpHash));
176
- return new ResponseOk({
177
- person: tokenResult?.person_id,
178
- [AuthLogService.Key]: new AuthLogService.Bag({
179
- personId: tokenResult?.person_id,
180
- tokenId: tokenResult?.id
181
- })
182
- });
183
- });
184
- }
185
- isEnabled(globalValue, personValue) {
186
- switch (globalValue) {
187
- case "always":
188
- return true;
189
- case "never":
190
- return false;
191
- case "optIn":
192
- return personValue === true;
193
- case "optOut":
194
- return personValue !== false;
195
- }
196
- }
197
- }
198
- export {
199
- PasswordlessSignInManager
200
- };
201
- //# sourceMappingURL=PasswordlessSignInManager.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PasswordlessSignInManager.js","sources":["../../../../../../packages/engine-tenant-api/src/model/service/PasswordlessSignInManager.ts"],"sourcesContent":["import { ApiKeyManager } from './apiKey'\nimport { ConfigurationQuery, PersonQuery, PersonRow } from '../queries'\nimport { Response, ResponseError, ResponseOk } from '../utils/Response'\nimport { ActivatePasswordlessOtpErrorCode, ConfigPolicy, InitSignInPasswordlessErrorCode, InitSignInPasswordlessResult, SignInPasswordlessErrorCode } from '../../schema'\nimport { DatabaseContext, validateToken } from '../utils'\nimport { UserMailer } from '../mailing'\nimport { ActivateOtpCommand, CreatePersonTokenCommand, IncreaseOtpAttemptCommand, InvalidateTokenCommand } from '../commands'\nimport { getPreferredProject } from './helpers/getPreferredProject'\nimport { ProjectManager } from './ProjectManager'\nimport { PermissionContext } from '../authorization'\nimport { PersonTokenQuery } from '../queries/personToken/PersonTokenQuery'\nimport { ImplementationException } from '../../exceptions'\nimport { OtpAuthenticator } from './OtpAuthenticator'\nimport { PersonToken } from '../type'\nimport { AuthLogService } from './AuthLogService'\nimport { intervalToSeconds } from '../utils/interval'\n\nclass PasswordlessSignInManager {\n\tconstructor(\n\t\tprivate readonly apiKeyManager: ApiKeyManager,\n\t\tprivate readonly mailer: UserMailer,\n\t\tprivate readonly projectManager: ProjectManager,\n\t\tprivate readonly otpAuthenticator: OtpAuthenticator,\n\n\t) {}\n\n\tasync initSignInPasswordless({ db, permissionContext, mailVariant, mailProject, email }: {\n\t\tdb: DatabaseContext\n\t\tpermissionContext: PermissionContext\n\t\temail: string\n\t\tmailVariant?: string\n\t\tmailProject?: string\n\t}): Promise<PasswordlessSignInManager.InitSignInPasswordlessResponse> {\n\t\treturn db.transaction(async (db): Promise<PasswordlessSignInManager.InitSignInPasswordlessResponse> => {\n\t\t\tconst configuration = await db.queryHandler.fetch(new ConfigurationQuery())\n\t\t\tif (configuration.passwordless.enabled === 'never') {\n\t\t\t\treturn new ResponseError('PASSWORDLESS_DISABLED', 'Passwordless sign-in is disabled', {\n\t\t\t\t\t[AuthLogService.Key]: new AuthLogService.Bag({}),\n\t\t\t\t})\n\t\t\t}\n\n\t\t\tconst person = await db.queryHandler.fetch(PersonQuery.byEmail(email))\n\t\t\tif (!person) {\n\t\t\t\treturn new ResponseError('PERSON_NOT_FOUND', `Person ${email} not found`, {\n\t\t\t\t\t[AuthLogService.Key]: new AuthLogService.Bag({\n\t\t\t\t\t\tpersonInput: email,\n\t\t\t\t\t}),\n\t\t\t\t})\n\t\t\t}\n\t\t\tif (!this.isEnabled(configuration.passwordless.enabled, person.passwordless_enabled)) {\n\t\t\t\treturn new ResponseError('PASSWORDLESS_DISABLED', 'Passwordless sign-in is disabled for this person', {\n\t\t\t\t\t[AuthLogService.Key]: new AuthLogService.Bag({\n\t\t\t\t\t\tpersonInput: email,\n\t\t\t\t\t\tpersonId: person.id,\n\t\t\t\t\t}),\n\t\t\t\t})\n\t\t\t}\n\n\t\t\tconst createTokenCommand = CreatePersonTokenCommand.createPasswordlessRequest(person.id, intervalToSeconds(configuration.passwordless.expiration) / 60)\n\t\t\tconst result = await db.commandBus.execute(createTokenCommand)\n\n\n\t\t\tconst url = this.formatUrl(configuration.passwordless.url ?? null, result.token, result.id, email) ?? undefined\n\n\t\t\tconst projects = await this.projectManager.getProjectsByIdentity(db, person.identity_id, permissionContext)\n\t\t\tconst project = getPreferredProject(projects, mailProject ?? null)\n\n\t\t\tawait this.mailer.sendPasswordlessEmail(db, {\n\t\t\t\temail,\n\t\t\t\ttoken: result.token,\n\t\t\t\turl,\n\t\t\t\tproject: project?.name,\n\t\t\t\tprojectSlug: project?.slug,\n\t\t\t\trequestId: result.id,\n\t\t\t}, {\n\t\t\t\tvariant: mailVariant || '',\n\t\t\t\tprojectId: project?.id ?? null,\n\t\t\t})\n\n\t\t\treturn new ResponseOk({\n\t\t\t\trequestId: result.id,\n\t\t\t\texpiresAt: result.expiresAt,\n\t\t\t\tperson,\n\t\t\t\t[AuthLogService.Key]: new AuthLogService.Bag({\n\t\t\t\t\tpersonInput: email,\n\t\t\t\t\tpersonId: person.id,\n\t\t\t\t\ttokenId: result.id,\n\t\t\t\t}),\n\t\t\t})\n\t\t})\n\t}\n\n\tprivate formatUrl(url: string | null, token: string, requestId: string, email: string): string | null {\n\t\tif (!url) {\n\t\t\treturn null\n\t\t}\n\t\tconst urlObj = new URL(url)\n\t\turlObj.searchParams.set('token', token)\n\t\turlObj.searchParams.set('request_id', requestId)\n\t\turlObj.searchParams.set('email', email)\n\t\treturn urlObj.toString()\n\t}\n\n\tasync signInPasswordless({ db, expiration, token, requestId, mfaOtp, validationType }: {\n\t\tdb: DatabaseContext\n\t\tvalidationType: PersonToken.ValidationType\n\t\trequestId: string\n\t\ttoken: string\n\t\tmfaOtp?: string\n\t\texpiration?: number\n\t}): Promise<PasswordlessSignInManager.SignInPasswordlessResponse> {\n\t\treturn db.transaction(async (db): Promise<PasswordlessSignInManager.SignInPasswordlessResponse> => {\n\n\t\t\tconst tokenResult = await db.queryHandler.fetch(PersonTokenQuery.byId(requestId, 'passwordless'))\n\t\t\tconst tokenValidationResult = validateToken({\n\t\t\t\tentry: tokenResult,\n\t\t\t\ttoken,\n\t\t\t\tnow: db.providers.now(),\n\t\t\t\tvalidationType,\n\t\t\t})\n\t\t\tif (!tokenValidationResult.ok) {\n\t\t\t\tif (tokenValidationResult.error === 'TOKEN_INVALID' && validationType === 'otp') {\n\t\t\t\t\tawait db.commandBus.execute(new IncreaseOtpAttemptCommand(tokenResult!.id))\n\t\t\t\t}\n\t\t\t\treturn new ResponseError(tokenValidationResult.error, tokenValidationResult.errorMessage, {\n\t\t\t\t\t...tokenValidationResult.metadata ?? {},\n\t\t\t\t\t[AuthLogService.Key]: new AuthLogService.Bag({\n\t\t\t\t\t\tpersonId: tokenResult?.person_id,\n\t\t\t\t\t\ttokenId: tokenResult?.id,\n\t\t\t\t\t}),\n\t\t\t\t})\n\t\t\t}\n\t\t\tif (!tokenResult) {\n\t\t\t\tthrow new ImplementationException()\n\t\t\t}\n\t\t\tconst personRow = await db.queryHandler.fetch(PersonQuery.byId(tokenValidationResult.result.person_id))\n\t\t\tif (!personRow) {\n\t\t\t\tthrow new ImplementationException()\n\t\t\t}\n\t\t\tif (personRow.disabled_at !== null) {\n\t\t\t\treturn new ResponseError('PERSON_DISABLED', `Person is disabled`, {\n\t\t\t\t\t[AuthLogService.Key]: new AuthLogService.Bag({\n\t\t\t\t\t\tpersonId: personRow.id,\n\t\t\t\t\t\ttokenId: tokenResult?.id,\n\t\t\t\t\t}),\n\t\t\t\t})\n\t\t\t}\n\n\t\t\tif (personRow.otp_uri && personRow.otp_activated_at) {\n\t\t\t\tif (!mfaOtp) {\n\t\t\t\t\treturn new ResponseError('OTP_REQUIRED', `2FA is enabled. OTP token is required`, {\n\t\t\t\t\t\t[AuthLogService.Key]: new AuthLogService.Bag({\n\t\t\t\t\t\t\tpersonId: personRow.id,\n\t\t\t\t\t\t\ttokenId: tokenResult?.id,\n\t\t\t\t\t\t}),\n\t\t\t\t\t})\n\t\t\t\t}\n\n\t\t\t\tif (!this.otpAuthenticator.validate({ uri: personRow.otp_uri }, mfaOtp)) {\n\t\t\t\t\treturn new ResponseError('INVALID_OTP_TOKEN', 'OTP token validation has failed', {\n\t\t\t\t\t\t[AuthLogService.Key]: new AuthLogService.Bag({\n\t\t\t\t\t\t\tpersonId: personRow.id,\n\t\t\t\t\t\t\ttokenId: tokenResult?.id,\n\t\t\t\t\t\t}),\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tawait db.commandBus.execute(new InvalidateTokenCommand(tokenValidationResult.result.id))\n\t\t\tconst sessionToken = await this.apiKeyManager.createSessionApiKey(db, personRow.identity_id, expiration)\n\n\t\t\treturn new ResponseOk({\n\t\t\t\tperson: personRow,\n\t\t\t\ttoken: sessionToken,\n\t\t\t\t[AuthLogService.Key]: new AuthLogService.Bag({\n\t\t\t\t\tpersonId: personRow.id,\n\t\t\t\t\ttokenId: tokenResult?.id,\n\t\t\t\t}),\n\t\t\t})\n\t\t})\n\t}\n\n\tasync activatePasswordlessOtp({ db, token, requestId, otpHash }: {\n\t\tdb: DatabaseContext\n\t\trequestId: string\n\t\ttoken: string\n\t\totpHash: string\n\t}): Promise<PasswordlessSignInManager.ActivatePasswordlessOtpResponse> {\n\t\treturn db.transaction(async (db): Promise<PasswordlessSignInManager.ActivatePasswordlessOtpResponse> => {\n\n\t\t\tconst tokenResult = await db.queryHandler.fetch(PersonTokenQuery.byId(requestId, 'passwordless'))\n\t\t\tconst tokenValidationResult = validateToken({\n\t\t\t\tentry: tokenResult,\n\t\t\t\ttoken,\n\t\t\t\tnow: db.providers.now(),\n\t\t\t\tvalidationType: 'token',\n\t\t\t})\n\t\t\tif (!tokenValidationResult.ok) {\n\t\t\t\treturn new ResponseError(tokenValidationResult.error, tokenValidationResult.errorMessage, {\n\t\t\t\t\t...tokenValidationResult.metadata ?? {},\n\t\t\t\t\t[AuthLogService.Key]: new AuthLogService.Bag({\n\t\t\t\t\t\tpersonId: tokenResult?.person_id,\n\t\t\t\t\t\ttokenId: tokenResult?.id,\n\t\t\t\t\t}),\n\t\t\t\t})\n\t\t\t}\n\n\t\t\tawait db.commandBus.execute(new ActivateOtpCommand(tokenValidationResult.result.id, otpHash))\n\n\t\t\treturn new ResponseOk({\n\t\t\t\tperson: tokenResult?.person_id,\n\t\t\t\t[AuthLogService.Key]: new AuthLogService.Bag({\n\t\t\t\t\tpersonId: tokenResult?.person_id,\n\t\t\t\t\ttokenId: tokenResult?.id,\n\t\t\t\t}),\n\t\t\t})\n\t\t})\n\t}\n\n\tprivate isEnabled(globalValue: ConfigPolicy, personValue: boolean | null): boolean {\n\t\tswitch (globalValue) {\n\t\t\tcase 'always':\n\t\t\t\treturn true\n\t\t\tcase 'never':\n\t\t\t\treturn false\n\t\t\tcase 'optIn':\n\t\t\t\treturn personValue === true\n\t\t\tcase 'optOut':\n\t\t\t\treturn personValue !== false\n\t\t}\n\t}\n}\n\nnamespace PasswordlessSignInManager {\n\texport type InitSignInPasswordlessResponse = Response<InitSignInPasswordlessResult & {\n\t\t[AuthLogService.Key]: AuthLogService.Bag\n\t}, InitSignInPasswordlessErrorCode, {\n\t\t[AuthLogService.Key]: AuthLogService.Bag\n\t}>\n\n\n\tinterface SignInPasswordlessResult {\n\t\treadonly person: PersonRow\n\t\treadonly token: string\n\t\t[AuthLogService.Key]: AuthLogService.Bag\n\t}\n\texport type SignInPasswordlessResponse = Response<SignInPasswordlessResult, SignInPasswordlessErrorCode, {\n\t\t[AuthLogService.Key]: AuthLogService.Bag\n\t}>\n\n\texport type ActivatePasswordlessOtpResponse = Response<{\n\t\t[AuthLogService.Key]: AuthLogService.Bag\n\t}, ActivatePasswordlessOtpErrorCode, {\n\t\t[AuthLogService.Key]: AuthLogService.Bag\n\t}>\n}\n\nexport { PasswordlessSignInManager }\n"],"names":["db"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAiBA,MAAM,0BAA0B;AAAA,EAC/B,YACkB,eACA,QACA,gBACA,kBAEhB;AALgB,SAAA,gBAAA;AACA,SAAA,SAAA;AACA,SAAA,iBAAA;AACA,SAAA,mBAAA;AAAA,EAAA;AAAA,EAIlB,MAAM,uBAAuB,EAAE,IAAI,mBAAmB,aAAa,aAAa,SAMV;AAC9D,WAAA,GAAG,YAAY,OAAOA,QAA0E;AACtG,YAAM,gBAAgB,MAAMA,IAAG,aAAa,MAAM,IAAI,oBAAoB;AACtE,UAAA,cAAc,aAAa,YAAY,SAAS;AAC5C,eAAA,IAAI,cAAc,yBAAyB,oCAAoC;AAAA,UACrF,CAAC,eAAe,GAAG,GAAG,IAAI,eAAe,IAAI,CAAE,CAAA;AAAA,QAAA,CAC/C;AAAA,MAAA;AAGI,YAAA,SAAS,MAAMA,IAAG,aAAa,MAAM,YAAY,QAAQ,KAAK,CAAC;AACrE,UAAI,CAAC,QAAQ;AACZ,eAAO,IAAI,cAAc,oBAAoB,UAAU,KAAK,cAAc;AAAA,UACzE,CAAC,eAAe,GAAG,GAAG,IAAI,eAAe,IAAI;AAAA,YAC5C,aAAa;AAAA,UACb,CAAA;AAAA,QAAA,CACD;AAAA,MAAA;AAEE,UAAA,CAAC,KAAK,UAAU,cAAc,aAAa,SAAS,OAAO,oBAAoB,GAAG;AAC9E,eAAA,IAAI,cAAc,yBAAyB,oDAAoD;AAAA,UACrG,CAAC,eAAe,GAAG,GAAG,IAAI,eAAe,IAAI;AAAA,YAC5C,aAAa;AAAA,YACb,UAAU,OAAO;AAAA,UACjB,CAAA;AAAA,QAAA,CACD;AAAA,MAAA;AAGI,YAAA,qBAAqB,yBAAyB,0BAA0B,OAAO,IAAI,kBAAkB,cAAc,aAAa,UAAU,IAAI,EAAE;AACtJ,YAAM,SAAS,MAAMA,IAAG,WAAW,QAAQ,kBAAkB;AAG7D,YAAM,MAAM,KAAK,UAAU,cAAc,aAAa,OAAO,MAAM,OAAO,OAAO,OAAO,IAAI,KAAK,KAAK;AAEhG,YAAA,WAAW,MAAM,KAAK,eAAe,sBAAsBA,KAAI,OAAO,aAAa,iBAAiB;AAC1G,YAAM,UAAU,oBAAoB,UAAU,eAAe,IAAI;AAE3D,YAAA,KAAK,OAAO,sBAAsBA,KAAI;AAAA,QAC3C;AAAA,QACA,OAAO,OAAO;AAAA,QACd;AAAA,QACA,SAAS,SAAS;AAAA,QAClB,aAAa,SAAS;AAAA,QACtB,WAAW,OAAO;AAAA,MAAA,GAChB;AAAA,QACF,SAAS,eAAe;AAAA,QACxB,WAAW,SAAS,MAAM;AAAA,MAAA,CAC1B;AAED,aAAO,IAAI,WAAW;AAAA,QACrB,WAAW,OAAO;AAAA,QAClB,WAAW,OAAO;AAAA,QAClB;AAAA,QACA,CAAC,eAAe,GAAG,GAAG,IAAI,eAAe,IAAI;AAAA,UAC5C,aAAa;AAAA,UACb,UAAU,OAAO;AAAA,UACjB,SAAS,OAAO;AAAA,QAChB,CAAA;AAAA,MAAA,CACD;AAAA,IAAA,CACD;AAAA,EAAA;AAAA,EAGM,UAAU,KAAoB,OAAe,WAAmB,OAA8B;AACrG,QAAI,CAAC,KAAK;AACF,aAAA;AAAA,IAAA;AAEF,UAAA,SAAS,IAAI,IAAI,GAAG;AACnB,WAAA,aAAa,IAAI,SAAS,KAAK;AAC/B,WAAA,aAAa,IAAI,cAAc,SAAS;AACxC,WAAA,aAAa,IAAI,SAAS,KAAK;AACtC,WAAO,OAAO,SAAS;AAAA,EAAA;AAAA,EAGxB,MAAM,mBAAmB,EAAE,IAAI,YAAY,OAAO,WAAW,QAAQ,kBAOH;AAC1D,WAAA,GAAG,YAAY,OAAOA,QAAsE;AAE5F,YAAA,cAAc,MAAMA,IAAG,aAAa,MAAM,iBAAiB,KAAK,WAAW,cAAc,CAAC;AAChG,YAAM,wBAAwB,cAAc;AAAA,QAC3C,OAAO;AAAA,QACP;AAAA,QACA,KAAKA,IAAG,UAAU,IAAI;AAAA,QACtB;AAAA,MAAA,CACA;AACG,UAAA,CAAC,sBAAsB,IAAI;AAC9B,YAAI,sBAAsB,UAAU,mBAAmB,mBAAmB,OAAO;AAChF,gBAAMA,IAAG,WAAW,QAAQ,IAAI,0BAA0B,YAAa,EAAE,CAAC;AAAA,QAAA;AAE3E,eAAO,IAAI,cAAc,sBAAsB,OAAO,sBAAsB,cAAc;AAAA,UACzF,GAAG,sBAAsB,YAAY,CAAC;AAAA,UACtC,CAAC,eAAe,GAAG,GAAG,IAAI,eAAe,IAAI;AAAA,YAC5C,UAAU,aAAa;AAAA,YACvB,SAAS,aAAa;AAAA,UACtB,CAAA;AAAA,QAAA,CACD;AAAA,MAAA;AAEF,UAAI,CAAC,aAAa;AACjB,cAAM,IAAI,wBAAwB;AAAA,MAAA;AAE7B,YAAA,YAAY,MAAMA,IAAG,aAAa,MAAM,YAAY,KAAK,sBAAsB,OAAO,SAAS,CAAC;AACtG,UAAI,CAAC,WAAW;AACf,cAAM,IAAI,wBAAwB;AAAA,MAAA;AAE/B,UAAA,UAAU,gBAAgB,MAAM;AAC5B,eAAA,IAAI,cAAc,mBAAmB,sBAAsB;AAAA,UACjE,CAAC,eAAe,GAAG,GAAG,IAAI,eAAe,IAAI;AAAA,YAC5C,UAAU,UAAU;AAAA,YACpB,SAAS,aAAa;AAAA,UACtB,CAAA;AAAA,QAAA,CACD;AAAA,MAAA;AAGE,UAAA,UAAU,WAAW,UAAU,kBAAkB;AACpD,YAAI,CAAC,QAAQ;AACL,iBAAA,IAAI,cAAc,gBAAgB,yCAAyC;AAAA,YACjF,CAAC,eAAe,GAAG,GAAG,IAAI,eAAe,IAAI;AAAA,cAC5C,UAAU,UAAU;AAAA,cACpB,SAAS,aAAa;AAAA,YACtB,CAAA;AAAA,UAAA,CACD;AAAA,QAAA;AAGE,YAAA,CAAC,KAAK,iBAAiB,SAAS,EAAE,KAAK,UAAU,WAAW,MAAM,GAAG;AACjE,iBAAA,IAAI,cAAc,qBAAqB,mCAAmC;AAAA,YAChF,CAAC,eAAe,GAAG,GAAG,IAAI,eAAe,IAAI;AAAA,cAC5C,UAAU,UAAU;AAAA,cACpB,SAAS,aAAa;AAAA,YACtB,CAAA;AAAA,UAAA,CACD;AAAA,QAAA;AAAA,MACF;AAGKA,YAAAA,IAAG,WAAW,QAAQ,IAAI,uBAAuB,sBAAsB,OAAO,EAAE,CAAC;AACjF,YAAA,eAAe,MAAM,KAAK,cAAc,oBAAoBA,KAAI,UAAU,aAAa,UAAU;AAEvG,aAAO,IAAI,WAAW;AAAA,QACrB,QAAQ;AAAA,QACR,OAAO;AAAA,QACP,CAAC,eAAe,GAAG,GAAG,IAAI,eAAe,IAAI;AAAA,UAC5C,UAAU,UAAU;AAAA,UACpB,SAAS,aAAa;AAAA,QACtB,CAAA;AAAA,MAAA,CACD;AAAA,IAAA,CACD;AAAA,EAAA;AAAA,EAGF,MAAM,wBAAwB,EAAE,IAAI,OAAO,WAAW,WAKiB;AAC/D,WAAA,GAAG,YAAY,OAAOA,QAA2E;AAEjG,YAAA,cAAc,MAAMA,IAAG,aAAa,MAAM,iBAAiB,KAAK,WAAW,cAAc,CAAC;AAChG,YAAM,wBAAwB,cAAc;AAAA,QAC3C,OAAO;AAAA,QACP;AAAA,QACA,KAAKA,IAAG,UAAU,IAAI;AAAA,QACtB,gBAAgB;AAAA,MAAA,CAChB;AACG,UAAA,CAAC,sBAAsB,IAAI;AAC9B,eAAO,IAAI,cAAc,sBAAsB,OAAO,sBAAsB,cAAc;AAAA,UACzF,GAAG,sBAAsB,YAAY,CAAC;AAAA,UACtC,CAAC,eAAe,GAAG,GAAG,IAAI,eAAe,IAAI;AAAA,YAC5C,UAAU,aAAa;AAAA,YACvB,SAAS,aAAa;AAAA,UACtB,CAAA;AAAA,QAAA,CACD;AAAA,MAAA;AAGIA,YAAAA,IAAG,WAAW,QAAQ,IAAI,mBAAmB,sBAAsB,OAAO,IAAI,OAAO,CAAC;AAE5F,aAAO,IAAI,WAAW;AAAA,QACrB,QAAQ,aAAa;AAAA,QACrB,CAAC,eAAe,GAAG,GAAG,IAAI,eAAe,IAAI;AAAA,UAC5C,UAAU,aAAa;AAAA,UACvB,SAAS,aAAa;AAAA,QACtB,CAAA;AAAA,MAAA,CACD;AAAA,IAAA,CACD;AAAA,EAAA;AAAA,EAGM,UAAU,aAA2B,aAAsC;AAClF,YAAQ,aAAa;AAAA,MACpB,KAAK;AACG,eAAA;AAAA,MACR,KAAK;AACG,eAAA;AAAA,MACR,KAAK;AACJ,eAAO,gBAAgB;AAAA,MACxB,KAAK;AACJ,eAAO,gBAAgB;AAAA,IAAA;AAAA,EACzB;AAEF;"}
@@ -1,27 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const DisablePersonCommand = require("../commands/person/DisablePersonCommand.cjs");
4
- const Response = require("../utils/Response.cjs");
5
- class PersonAccessManager {
6
- constructor(apiKeyManager) {
7
- this.apiKeyManager = apiKeyManager;
8
- }
9
- async disablePerson(dbContext, person) {
10
- return await dbContext.transaction(async (trx) => {
11
- if (person.disabled_at !== null) {
12
- return new Response.ResponseError("PERSON_ALREADY_DISABLED", "Person is already disabled");
13
- }
14
- await this.disablePersonAccount(trx, person.id);
15
- await this.disableIdentityApiKeys(trx, person.identity_id);
16
- return new Response.ResponseOk(null);
17
- });
18
- }
19
- async disablePersonAccount(dbContext, personId) {
20
- await dbContext.commandBus.execute(new DisablePersonCommand.DisablePersonCommand(personId));
21
- }
22
- async disableIdentityApiKeys(dbContext, personIdentityId) {
23
- await this.apiKeyManager.disableIdentityApiKeys(dbContext, personIdentityId);
24
- }
25
- }
26
- exports.PersonAccessManager = PersonAccessManager;
27
- //# sourceMappingURL=PersonAccessManager.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PersonAccessManager.cjs","sources":["../../../../../../packages/engine-tenant-api/src/model/service/PersonAccessManager.ts"],"sourcesContent":["import { PersonQuery, PersonRow } from '../queries'\nimport { DatabaseContext } from '../utils'\nimport { DisablePersonCommand } from '../commands/person/DisablePersonCommand'\nimport { ApiKeyManager } from './apiKey'\nimport { Response, ResponseError, ResponseOk } from '../utils/Response'\nimport { DisablePersonErrorCode } from '../../schema'\n\nclass PersonAccessManager {\n\n\tconstructor(private readonly apiKeyManager: ApiKeyManager) {}\n\n\tasync disablePerson(dbContext: DatabaseContext, person: PersonRow): Promise<PersonDisableAccessResponse> {\n\t\treturn await dbContext.transaction(async trx => {\n\t\t\tif (person.disabled_at !== null) {\n\t\t\t\treturn new ResponseError('PERSON_ALREADY_DISABLED', 'Person is already disabled')\n\t\t\t}\n\n\t\t\t// Deactivate person & invalidate all api keys associated with person identity\n\t\t\tawait this.disablePersonAccount(trx, person.id)\n\t\t\tawait this.disableIdentityApiKeys(trx, person.identity_id)\n\n\t\t\treturn new ResponseOk(null)\n\t\t})\n\t}\n\n\tprivate async disablePersonAccount(dbContext: DatabaseContext, personId: string) {\n\t\tawait dbContext.commandBus.execute(new DisablePersonCommand(personId))\n\t}\n\n\tprivate async disableIdentityApiKeys(dbContext: DatabaseContext, personIdentityId: string) {\n\t\tawait this.apiKeyManager.disableIdentityApiKeys(dbContext, personIdentityId)\n\t}\n}\n\nexport type PersonDisableAccessResponse = Response<null, DisablePersonErrorCode>\n\nexport { PersonAccessManager }\n"],"names":["ResponseError","ResponseOk","DisablePersonCommand"],"mappings":";;;;AAOA,MAAM,oBAAoB;AAAA,EAEzB,YAA6B,eAA8B;AAA9B,SAAA,gBAAA;AAAA,EAAA;AAAA,EAE7B,MAAM,cAAc,WAA4B,QAAyD;AACxG,WAAO,MAAM,UAAU,YAAY,OAAM,QAAO;AAC3C,UAAA,OAAO,gBAAgB,MAAM;AACzB,eAAA,IAAIA,SAAAA,cAAc,2BAA2B,4BAA4B;AAAA,MAAA;AAIjF,YAAM,KAAK,qBAAqB,KAAK,OAAO,EAAE;AAC9C,YAAM,KAAK,uBAAuB,KAAK,OAAO,WAAW;AAElD,aAAA,IAAIC,oBAAW,IAAI;AAAA,IAAA,CAC1B;AAAA,EAAA;AAAA,EAGF,MAAc,qBAAqB,WAA4B,UAAkB;AAChF,UAAM,UAAU,WAAW,QAAQ,IAAIC,qBAAA,qBAAqB,QAAQ,CAAC;AAAA,EAAA;AAAA,EAGtE,MAAc,uBAAuB,WAA4B,kBAA0B;AAC1F,UAAM,KAAK,cAAc,uBAAuB,WAAW,gBAAgB;AAAA,EAAA;AAE7E;;"}
@@ -1,27 +0,0 @@
1
- import { DisablePersonCommand } from "../commands/person/DisablePersonCommand.js";
2
- import { ResponseError, ResponseOk } from "../utils/Response.js";
3
- class PersonAccessManager {
4
- constructor(apiKeyManager) {
5
- this.apiKeyManager = apiKeyManager;
6
- }
7
- async disablePerson(dbContext, person) {
8
- return await dbContext.transaction(async (trx) => {
9
- if (person.disabled_at !== null) {
10
- return new ResponseError("PERSON_ALREADY_DISABLED", "Person is already disabled");
11
- }
12
- await this.disablePersonAccount(trx, person.id);
13
- await this.disableIdentityApiKeys(trx, person.identity_id);
14
- return new ResponseOk(null);
15
- });
16
- }
17
- async disablePersonAccount(dbContext, personId) {
18
- await dbContext.commandBus.execute(new DisablePersonCommand(personId));
19
- }
20
- async disableIdentityApiKeys(dbContext, personIdentityId) {
21
- await this.apiKeyManager.disableIdentityApiKeys(dbContext, personIdentityId);
22
- }
23
- }
24
- export {
25
- PersonAccessManager
26
- };
27
- //# sourceMappingURL=PersonAccessManager.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PersonAccessManager.js","sources":["../../../../../../packages/engine-tenant-api/src/model/service/PersonAccessManager.ts"],"sourcesContent":["import { PersonQuery, PersonRow } from '../queries'\nimport { DatabaseContext } from '../utils'\nimport { DisablePersonCommand } from '../commands/person/DisablePersonCommand'\nimport { ApiKeyManager } from './apiKey'\nimport { Response, ResponseError, ResponseOk } from '../utils/Response'\nimport { DisablePersonErrorCode } from '../../schema'\n\nclass PersonAccessManager {\n\n\tconstructor(private readonly apiKeyManager: ApiKeyManager) {}\n\n\tasync disablePerson(dbContext: DatabaseContext, person: PersonRow): Promise<PersonDisableAccessResponse> {\n\t\treturn await dbContext.transaction(async trx => {\n\t\t\tif (person.disabled_at !== null) {\n\t\t\t\treturn new ResponseError('PERSON_ALREADY_DISABLED', 'Person is already disabled')\n\t\t\t}\n\n\t\t\t// Deactivate person & invalidate all api keys associated with person identity\n\t\t\tawait this.disablePersonAccount(trx, person.id)\n\t\t\tawait this.disableIdentityApiKeys(trx, person.identity_id)\n\n\t\t\treturn new ResponseOk(null)\n\t\t})\n\t}\n\n\tprivate async disablePersonAccount(dbContext: DatabaseContext, personId: string) {\n\t\tawait dbContext.commandBus.execute(new DisablePersonCommand(personId))\n\t}\n\n\tprivate async disableIdentityApiKeys(dbContext: DatabaseContext, personIdentityId: string) {\n\t\tawait this.apiKeyManager.disableIdentityApiKeys(dbContext, personIdentityId)\n\t}\n}\n\nexport type PersonDisableAccessResponse = Response<null, DisablePersonErrorCode>\n\nexport { PersonAccessManager }\n"],"names":[],"mappings":";;AAOA,MAAM,oBAAoB;AAAA,EAEzB,YAA6B,eAA8B;AAA9B,SAAA,gBAAA;AAAA,EAAA;AAAA,EAE7B,MAAM,cAAc,WAA4B,QAAyD;AACxG,WAAO,MAAM,UAAU,YAAY,OAAM,QAAO;AAC3C,UAAA,OAAO,gBAAgB,MAAM;AACzB,eAAA,IAAI,cAAc,2BAA2B,4BAA4B;AAAA,MAAA;AAIjF,YAAM,KAAK,qBAAqB,KAAK,OAAO,EAAE;AAC9C,YAAM,KAAK,uBAAuB,KAAK,OAAO,WAAW;AAElD,aAAA,IAAI,WAAW,IAAI;AAAA,IAAA,CAC1B;AAAA,EAAA;AAAA,EAGF,MAAc,qBAAqB,WAA4B,UAAkB;AAChF,UAAM,UAAU,WAAW,QAAQ,IAAI,qBAAqB,QAAQ,CAAC;AAAA,EAAA;AAAA,EAGtE,MAAc,uBAAuB,WAA4B,kBAA0B;AAC1F,UAAM,KAAK,cAAc,uBAAuB,WAAW,gBAAgB;AAAA,EAAA;AAE7E;"}
@@ -1,41 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const ChangeProfileCommand = require("../commands/person/ChangeProfileCommand.cjs");
4
- const Response = require("../utils/Response.cjs");
5
- require("../queries/apiKey/ApiKeyQuery.cjs");
6
- require("@contember/database");
7
- const PersonQuery = require("../queries/person/PersonQuery.cjs");
8
- require("../authorization/PermissionActions.cjs");
9
- require("@contember/authorization");
10
- require("../authorization/PermissionContext.cjs");
11
- require("../authorization/PermissionsFactory.cjs");
12
- require("@contember/schema");
13
- require("../type/ApiKey.cjs");
14
- require("node:crypto");
15
- const TogglePersonPasswordlessCommand = require("../commands/person/TogglePersonPasswordlessCommand.cjs");
16
- class PersonManager {
17
- constructor(emailValidator) {
18
- this.emailValidator = emailValidator;
19
- }
20
- async findPersonById(dbContext, personId) {
21
- return await dbContext.queryHandler.fetch(
22
- PersonQuery.PersonQuery.byId(personId)
23
- );
24
- }
25
- async changeProfile(dbContext, person, data) {
26
- if (data.email !== void 0 && person.email !== data.email) {
27
- const validationError = await this.emailValidator.validateEmail(dbContext, data.email);
28
- if (validationError !== null) {
29
- return new Response.ResponseError(validationError.error, validationError.errorMessage);
30
- }
31
- }
32
- await dbContext.commandBus.execute(new ChangeProfileCommand.ChangeProfileCommand(person.id, data));
33
- return new Response.ResponseOk(null);
34
- }
35
- async togglePasswordless(dbContext, person, value) {
36
- await dbContext.commandBus.execute(new TogglePersonPasswordlessCommand.TogglePersonPasswordlessCommand(person.id, value));
37
- return new Response.ResponseOk(null);
38
- }
39
- }
40
- exports.PersonManager = PersonManager;
41
- //# sourceMappingURL=PersonManager.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PersonManager.cjs","sources":["../../../../../../packages/engine-tenant-api/src/model/service/PersonManager.ts"],"sourcesContent":["import { ChangeProfileCommand, ChangeProfileData } from '../commands/person/ChangeProfileCommand'\nimport { Response, ResponseError, ResponseOk } from '../utils/Response'\nimport { PersonQuery, PersonRow } from '../queries'\nimport { DatabaseContext } from '../utils'\nimport { EmailValidator, EmailValidatorError } from './EmailValidator'\nimport { TogglePersonPasswordlessCommand } from '../commands'\n\nclass PersonManager {\n\tconstructor(\n\t\tprivate readonly emailValidator: EmailValidator,\n\t) {\n\t}\n\n\tasync findPersonById(dbContext: DatabaseContext, personId: string): Promise<PersonRow | null> {\n\t\treturn await dbContext.queryHandler.fetch(\n\t\t\tPersonQuery.byId(personId),\n\t\t)\n\t}\n\n\tasync changeProfile(dbContext: DatabaseContext, person: PersonRow, data: ChangeProfileData): Promise<PersonManager.ProfileChangeResponse> {\n\t\tif (data.email !== undefined && person.email !== data.email) {\n\t\t\tconst validationError = await this.emailValidator.validateEmail(dbContext, data.email)\n\t\t\tif (validationError !== null) {\n\t\t\t\treturn new ResponseError(validationError.error, validationError.errorMessage)\n\t\t\t}\n\t\t}\n\t\tawait dbContext.commandBus.execute(new ChangeProfileCommand(person.id, data))\n\t\treturn new ResponseOk(null)\n\t}\n\n\tasync togglePasswordless(dbContext: DatabaseContext, person: PersonRow, value: boolean): Promise<Response<null, never>> {\n\t\tawait dbContext.commandBus.execute(new TogglePersonPasswordlessCommand(person.id, value))\n\t\treturn new ResponseOk(null)\n\t}\n\n}\n\nnamespace PersonManager {\n\texport type ProfileChangeResponse = Response<null, EmailValidatorError>\n}\n\nexport { PersonManager }\n"],"names":["PersonQuery","ResponseError","ChangeProfileCommand","ResponseOk","TogglePersonPasswordlessCommand"],"mappings":";;;;;;;;;;;;;;;AAOA,MAAM,cAAc;AAAA,EACnB,YACkB,gBAChB;AADgB,SAAA,iBAAA;AAAA,EAAA;AAAA,EAIlB,MAAM,eAAe,WAA4B,UAA6C;AACtF,WAAA,MAAM,UAAU,aAAa;AAAA,MACnCA,YAAA,YAAY,KAAK,QAAQ;AAAA,IAC1B;AAAA,EAAA;AAAA,EAGD,MAAM,cAAc,WAA4B,QAAmB,MAAuE;AACzI,QAAI,KAAK,UAAU,UAAa,OAAO,UAAU,KAAK,OAAO;AAC5D,YAAM,kBAAkB,MAAM,KAAK,eAAe,cAAc,WAAW,KAAK,KAAK;AACrF,UAAI,oBAAoB,MAAM;AAC7B,eAAO,IAAIC,SAAAA,cAAc,gBAAgB,OAAO,gBAAgB,YAAY;AAAA,MAAA;AAAA,IAC7E;AAEK,UAAA,UAAU,WAAW,QAAQ,IAAIC,0CAAqB,OAAO,IAAI,IAAI,CAAC;AACrE,WAAA,IAAIC,oBAAW,IAAI;AAAA,EAAA;AAAA,EAG3B,MAAM,mBAAmB,WAA4B,QAAmB,OAAgD;AACjH,UAAA,UAAU,WAAW,QAAQ,IAAIC,gEAAgC,OAAO,IAAI,KAAK,CAAC;AACjF,WAAA,IAAID,oBAAW,IAAI;AAAA,EAAA;AAG5B;;"}
@@ -1,41 +0,0 @@
1
- import { ChangeProfileCommand } from "../commands/person/ChangeProfileCommand.js";
2
- import { ResponseError, ResponseOk } from "../utils/Response.js";
3
- import "../queries/apiKey/ApiKeyQuery.js";
4
- import "@contember/database";
5
- import { PersonQuery } from "../queries/person/PersonQuery.js";
6
- import "../authorization/PermissionActions.js";
7
- import "@contember/authorization";
8
- import "../authorization/PermissionContext.js";
9
- import "../authorization/PermissionsFactory.js";
10
- import "@contember/schema";
11
- import "../type/ApiKey.js";
12
- import "node:crypto";
13
- import { TogglePersonPasswordlessCommand } from "../commands/person/TogglePersonPasswordlessCommand.js";
14
- class PersonManager {
15
- constructor(emailValidator) {
16
- this.emailValidator = emailValidator;
17
- }
18
- async findPersonById(dbContext, personId) {
19
- return await dbContext.queryHandler.fetch(
20
- PersonQuery.byId(personId)
21
- );
22
- }
23
- async changeProfile(dbContext, person, data) {
24
- if (data.email !== void 0 && person.email !== data.email) {
25
- const validationError = await this.emailValidator.validateEmail(dbContext, data.email);
26
- if (validationError !== null) {
27
- return new ResponseError(validationError.error, validationError.errorMessage);
28
- }
29
- }
30
- await dbContext.commandBus.execute(new ChangeProfileCommand(person.id, data));
31
- return new ResponseOk(null);
32
- }
33
- async togglePasswordless(dbContext, person, value) {
34
- await dbContext.commandBus.execute(new TogglePersonPasswordlessCommand(person.id, value));
35
- return new ResponseOk(null);
36
- }
37
- }
38
- export {
39
- PersonManager
40
- };
41
- //# sourceMappingURL=PersonManager.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PersonManager.js","sources":["../../../../../../packages/engine-tenant-api/src/model/service/PersonManager.ts"],"sourcesContent":["import { ChangeProfileCommand, ChangeProfileData } from '../commands/person/ChangeProfileCommand'\nimport { Response, ResponseError, ResponseOk } from '../utils/Response'\nimport { PersonQuery, PersonRow } from '../queries'\nimport { DatabaseContext } from '../utils'\nimport { EmailValidator, EmailValidatorError } from './EmailValidator'\nimport { TogglePersonPasswordlessCommand } from '../commands'\n\nclass PersonManager {\n\tconstructor(\n\t\tprivate readonly emailValidator: EmailValidator,\n\t) {\n\t}\n\n\tasync findPersonById(dbContext: DatabaseContext, personId: string): Promise<PersonRow | null> {\n\t\treturn await dbContext.queryHandler.fetch(\n\t\t\tPersonQuery.byId(personId),\n\t\t)\n\t}\n\n\tasync changeProfile(dbContext: DatabaseContext, person: PersonRow, data: ChangeProfileData): Promise<PersonManager.ProfileChangeResponse> {\n\t\tif (data.email !== undefined && person.email !== data.email) {\n\t\t\tconst validationError = await this.emailValidator.validateEmail(dbContext, data.email)\n\t\t\tif (validationError !== null) {\n\t\t\t\treturn new ResponseError(validationError.error, validationError.errorMessage)\n\t\t\t}\n\t\t}\n\t\tawait dbContext.commandBus.execute(new ChangeProfileCommand(person.id, data))\n\t\treturn new ResponseOk(null)\n\t}\n\n\tasync togglePasswordless(dbContext: DatabaseContext, person: PersonRow, value: boolean): Promise<Response<null, never>> {\n\t\tawait dbContext.commandBus.execute(new TogglePersonPasswordlessCommand(person.id, value))\n\t\treturn new ResponseOk(null)\n\t}\n\n}\n\nnamespace PersonManager {\n\texport type ProfileChangeResponse = Response<null, EmailValidatorError>\n}\n\nexport { PersonManager }\n"],"names":[],"mappings":";;;;;;;;;;;;;AAOA,MAAM,cAAc;AAAA,EACnB,YACkB,gBAChB;AADgB,SAAA,iBAAA;AAAA,EAAA;AAAA,EAIlB,MAAM,eAAe,WAA4B,UAA6C;AACtF,WAAA,MAAM,UAAU,aAAa;AAAA,MACnC,YAAY,KAAK,QAAQ;AAAA,IAC1B;AAAA,EAAA;AAAA,EAGD,MAAM,cAAc,WAA4B,QAAmB,MAAuE;AACzI,QAAI,KAAK,UAAU,UAAa,OAAO,UAAU,KAAK,OAAO;AAC5D,YAAM,kBAAkB,MAAM,KAAK,eAAe,cAAc,WAAW,KAAK,KAAK;AACrF,UAAI,oBAAoB,MAAM;AAC7B,eAAO,IAAI,cAAc,gBAAgB,OAAO,gBAAgB,YAAY;AAAA,MAAA;AAAA,IAC7E;AAEK,UAAA,UAAU,WAAW,QAAQ,IAAI,qBAAqB,OAAO,IAAI,IAAI,CAAC;AACrE,WAAA,IAAI,WAAW,IAAI;AAAA,EAAA;AAAA,EAG3B,MAAM,mBAAmB,WAA4B,QAAmB,OAAgD;AACjH,UAAA,UAAU,WAAW,QAAQ,IAAI,gCAAgC,OAAO,IAAI,KAAK,CAAC;AACjF,WAAA,IAAI,WAAW,IAAI;AAAA,EAAA;AAG5B;"}