@bluealba/pae-core 0.0.3 → 3.4.1-develop-1171
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.
- package/LICENSE +134 -0
- package/README.md +94 -6
- package/dist/package.json +36 -0
- package/dist/src/auth/domain/auth-method.constants.d.ts +7 -0
- package/dist/src/auth/domain/auth-method.constants.d.ts.map +1 -0
- package/dist/src/auth/domain/auth-method.constants.js +10 -0
- package/dist/src/auth/domain/auth-method.constants.js.map +1 -0
- package/dist/src/auth/domain/auth-method.interface.d.ts +6 -0
- package/dist/src/auth/domain/auth-method.interface.d.ts.map +1 -0
- package/dist/src/auth/domain/auth-method.interface.js +3 -0
- package/dist/src/auth/domain/auth-method.interface.js.map +1 -0
- package/dist/src/auth/domain/auth-user.interface.d.ts +29 -0
- package/dist/src/auth/domain/auth-user.interface.d.ts.map +1 -0
- package/dist/src/auth/domain/auth-user.interface.js.map +1 -0
- package/dist/src/auth/index.d.ts +4 -0
- package/dist/src/auth/index.d.ts.map +1 -0
- package/dist/src/{user/repositories → auth}/index.js +1 -1
- package/dist/src/auth/index.js.map +1 -0
- package/dist/src/authentication/anonymous-user.d.ts +3 -0
- package/dist/src/authentication/anonymous-user.d.ts.map +1 -0
- package/dist/src/authentication/anonymous-user.js +12 -0
- package/dist/src/authentication/anonymous-user.js.map +1 -0
- package/dist/src/authentication/api/all-profiles-request.d.ts +3 -0
- package/dist/src/authentication/api/all-profiles-request.d.ts.map +1 -0
- package/dist/src/authentication/api/all-profiles-request.js +6 -0
- package/dist/src/authentication/api/all-profiles-request.js.map +1 -0
- package/dist/src/authentication/api/can-impersonate-request.d.ts +3 -0
- package/dist/src/authentication/api/can-impersonate-request.d.ts.map +1 -0
- package/dist/src/authentication/api/can-impersonate-request.js +7 -0
- package/dist/src/authentication/api/can-impersonate-request.js.map +1 -0
- package/dist/src/authentication/api/create-api-key-request.d.ts +4 -0
- package/dist/src/authentication/api/create-api-key-request.d.ts.map +1 -0
- package/dist/src/authentication/api/create-api-key-request.js +6 -0
- package/dist/src/authentication/api/create-api-key-request.js.map +1 -0
- package/dist/src/authentication/api/create-impersonation-config-request.d.ts +4 -0
- package/dist/src/authentication/api/create-impersonation-config-request.d.ts.map +1 -0
- package/dist/src/authentication/api/create-impersonation-config-request.js +7 -0
- package/dist/src/authentication/api/create-impersonation-config-request.js.map +1 -0
- package/dist/src/authentication/api/create-impersonation-restriction-request.d.ts +3 -0
- package/dist/src/authentication/api/create-impersonation-restriction-request.d.ts.map +1 -0
- package/dist/src/authentication/api/create-impersonation-restriction-request.js +6 -0
- package/dist/src/authentication/api/create-impersonation-restriction-request.js.map +1 -0
- package/dist/src/authentication/api/create-invitation-request.d.ts +4 -0
- package/dist/src/authentication/api/create-invitation-request.d.ts.map +1 -0
- package/dist/src/authentication/api/create-invitation-request.js +6 -0
- package/dist/src/authentication/api/create-invitation-request.js.map +1 -0
- package/dist/src/authentication/api/delete-api-key-request.d.ts +2 -0
- package/dist/src/authentication/api/delete-api-key-request.d.ts.map +1 -0
- package/dist/src/authentication/api/delete-api-key-request.js +6 -0
- package/dist/src/authentication/api/delete-api-key-request.js.map +1 -0
- package/dist/src/authentication/api/delete-impersonation-config-request.d.ts +2 -0
- package/dist/src/authentication/api/delete-impersonation-config-request.d.ts.map +1 -0
- package/dist/src/authentication/api/delete-impersonation-config-request.js +6 -0
- package/dist/src/authentication/api/delete-impersonation-config-request.js.map +1 -0
- package/dist/src/authentication/api/delete-impersonation-restriction-request.d.ts +3 -0
- package/dist/src/authentication/api/delete-impersonation-restriction-request.d.ts.map +1 -0
- package/dist/src/authentication/api/delete-impersonation-restriction-request.js +6 -0
- package/dist/src/authentication/api/delete-impersonation-restriction-request.js.map +1 -0
- package/dist/src/authentication/api/delete-invitation-request.d.ts +2 -0
- package/dist/src/authentication/api/delete-invitation-request.d.ts.map +1 -0
- package/dist/src/authentication/api/delete-invitation-request.js +6 -0
- package/dist/src/authentication/api/delete-invitation-request.js.map +1 -0
- package/dist/src/authentication/api/delete-user-identity-request.d.ts +2 -0
- package/dist/src/authentication/api/delete-user-identity-request.d.ts.map +1 -0
- package/dist/src/authentication/api/delete-user-identity-request.js +6 -0
- package/dist/src/authentication/api/delete-user-identity-request.js.map +1 -0
- package/dist/src/authentication/api/delete-user-request.d.ts +2 -0
- package/dist/src/authentication/api/delete-user-request.d.ts.map +1 -0
- package/dist/src/authentication/api/delete-user-request.js +6 -0
- package/dist/src/authentication/api/delete-user-request.js.map +1 -0
- package/dist/src/authentication/api/get-all-api-keys-request.d.ts +3 -0
- package/dist/src/authentication/api/get-all-api-keys-request.d.ts.map +1 -0
- package/dist/src/authentication/api/get-all-api-keys-request.js +7 -0
- package/dist/src/authentication/api/get-all-api-keys-request.js.map +1 -0
- package/dist/src/authentication/api/get-all-impersonation-configs-request.d.ts +3 -0
- package/dist/src/authentication/api/get-all-impersonation-configs-request.d.ts.map +1 -0
- package/dist/src/authentication/api/get-all-impersonation-configs-request.js +6 -0
- package/dist/src/authentication/api/get-all-impersonation-configs-request.js.map +1 -0
- package/dist/src/authentication/api/get-authentication-config.d.ts +3 -0
- package/dist/src/authentication/api/get-authentication-config.d.ts.map +1 -0
- package/dist/src/authentication/api/get-authentication-config.js +6 -0
- package/dist/src/authentication/api/get-authentication-config.js.map +1 -0
- package/dist/src/authentication/api/get-invitations-request.d.ts +5 -0
- package/dist/src/authentication/api/get-invitations-request.d.ts.map +1 -0
- package/dist/src/authentication/api/get-invitations-request.js +7 -0
- package/dist/src/authentication/api/get-invitations-request.js.map +1 -0
- package/dist/src/authentication/api/get-profiles-by-user-emails-request.d.ts +3 -0
- package/dist/src/authentication/api/get-profiles-by-user-emails-request.d.ts.map +1 -0
- package/dist/src/authentication/api/get-profiles-by-user-emails-request.js +6 -0
- package/dist/src/authentication/api/get-profiles-by-user-emails-request.js.map +1 -0
- package/dist/src/authentication/api/get-user-restrictions-request.d.ts +2 -0
- package/dist/src/authentication/api/get-user-restrictions-request.d.ts.map +1 -0
- package/dist/src/authentication/api/get-user-restrictions-request.js +6 -0
- package/dist/src/authentication/api/get-user-restrictions-request.js.map +1 -0
- package/dist/src/authentication/api/get-users-request.d.ts +4 -0
- package/dist/src/authentication/api/get-users-request.d.ts.map +1 -0
- package/dist/src/authentication/api/get-users-request.js +7 -0
- package/dist/src/authentication/api/get-users-request.js.map +1 -0
- package/dist/src/authentication/api/resend-invitation-request.d.ts +2 -0
- package/dist/src/authentication/api/resend-invitation-request.d.ts.map +1 -0
- package/dist/src/authentication/api/resend-invitation-request.js +6 -0
- package/dist/src/authentication/api/resend-invitation-request.js.map +1 -0
- package/dist/src/authentication/api/search-profiles-request.d.ts +4 -0
- package/dist/src/authentication/api/search-profiles-request.d.ts.map +1 -0
- package/dist/src/authentication/api/search-profiles-request.js +10 -0
- package/dist/src/authentication/api/search-profiles-request.js.map +1 -0
- package/dist/src/authentication/api/update-impersonation-config-request.d.ts +4 -0
- package/dist/src/authentication/api/update-impersonation-config-request.d.ts.map +1 -0
- package/dist/src/authentication/api/update-impersonation-config-request.js +7 -0
- package/dist/src/authentication/api/update-impersonation-config-request.js.map +1 -0
- package/dist/src/authentication/authentication.service.d.ts +41 -0
- package/dist/src/authentication/authentication.service.d.ts.map +1 -0
- package/dist/src/authentication/authentication.service.js +121 -0
- package/dist/src/authentication/authentication.service.js.map +1 -0
- package/dist/src/authentication/domain/base-user.interface.d.ts +13 -0
- package/dist/src/authentication/domain/base-user.interface.d.ts.map +1 -0
- package/dist/src/authentication/domain/base-user.interface.js +3 -0
- package/dist/src/authentication/domain/base-user.interface.js.map +1 -0
- package/dist/src/authentication/domain/request-user.interface.d.ts +17 -0
- package/dist/src/authentication/domain/request-user.interface.d.ts.map +1 -0
- package/dist/src/authentication/domain/request-user.interface.js +3 -0
- package/dist/src/authentication/domain/request-user.interface.js.map +1 -0
- package/dist/src/authentication/dto/api-key-response.dto.d.ts +8 -0
- package/dist/src/authentication/dto/api-key-response.dto.d.ts.map +1 -0
- package/dist/src/authentication/dto/api-key-response.dto.js +3 -0
- package/dist/src/authentication/dto/api-key-response.dto.js.map +1 -0
- package/dist/src/authentication/dto/can-impersonate-response.dto.d.ts +5 -0
- package/dist/src/authentication/dto/can-impersonate-response.dto.d.ts.map +1 -0
- package/dist/src/{catalog/catalog-repository.interface.js → authentication/dto/can-impersonate-response.dto.js} +1 -1
- package/dist/src/authentication/dto/can-impersonate-response.dto.js.map +1 -0
- package/dist/src/authentication/dto/create-api-key-request.d.ts +5 -0
- package/dist/src/authentication/dto/create-api-key-request.d.ts.map +1 -0
- package/dist/src/authentication/dto/create-api-key-request.js +3 -0
- package/dist/src/authentication/dto/create-api-key-request.js.map +1 -0
- package/dist/src/authentication/dto/create-api-key-response.dto.d.ts +4 -0
- package/dist/src/authentication/dto/create-api-key-response.dto.d.ts.map +1 -0
- package/dist/src/{authorization/allowed-resources.interface.js → authentication/dto/create-api-key-response.dto.js} +1 -1
- package/dist/src/authentication/dto/create-api-key-response.dto.js.map +1 -0
- package/dist/src/authentication/dto/create-impersonation-config-response.dto.d.ts +7 -0
- package/dist/src/authentication/dto/create-impersonation-config-response.dto.d.ts.map +1 -0
- package/dist/src/authentication/dto/create-impersonation-config-response.dto.js +3 -0
- package/dist/src/authentication/dto/create-impersonation-config-response.dto.js.map +1 -0
- package/dist/src/authentication/dto/create-invitation-request.dto.d.ts +5 -0
- package/dist/src/authentication/dto/create-invitation-request.dto.d.ts.map +1 -0
- package/dist/src/authentication/dto/create-invitation-request.dto.js +3 -0
- package/dist/src/authentication/dto/create-invitation-request.dto.js.map +1 -0
- package/dist/src/authentication/dto/get-all-impersonation-configs-response.dto.d.ts +3 -0
- package/dist/src/authentication/dto/get-all-impersonation-configs-response.dto.d.ts.map +1 -0
- package/dist/src/authentication/dto/get-all-impersonation-configs-response.dto.js +3 -0
- package/dist/src/authentication/dto/get-all-impersonation-configs-response.dto.js.map +1 -0
- package/dist/src/authentication/dto/group.dto.d.ts +26 -0
- package/dist/src/authentication/dto/group.dto.d.ts.map +1 -0
- package/dist/src/{user/group.interface.js → authentication/dto/group.dto.js} +1 -1
- package/dist/src/authentication/dto/group.dto.js.map +1 -0
- package/dist/src/authentication/dto/impersonation-config-response.dto.d.ts +7 -0
- package/dist/src/authentication/dto/impersonation-config-response.dto.d.ts.map +1 -0
- package/dist/src/authentication/dto/impersonation-config-response.dto.js +3 -0
- package/dist/src/authentication/dto/impersonation-config-response.dto.js.map +1 -0
- package/dist/src/authentication/dto/impersonation-restriction.dto.d.ts +5 -0
- package/dist/src/authentication/dto/impersonation-restriction.dto.d.ts.map +1 -0
- package/dist/src/authentication/dto/impersonation-restriction.dto.js +3 -0
- package/dist/src/authentication/dto/impersonation-restriction.dto.js.map +1 -0
- package/dist/src/authentication/dto/invitation.dto.d.ts +9 -0
- package/dist/src/authentication/dto/invitation.dto.d.ts.map +1 -0
- package/dist/src/{pae/config.interface.js → authentication/dto/invitation.dto.js} +1 -1
- package/dist/src/authentication/dto/invitation.dto.js.map +1 -0
- package/dist/src/authentication/dto/invitations-response.dto.d.ts +4 -0
- package/dist/src/authentication/dto/invitations-response.dto.d.ts.map +1 -0
- package/dist/src/authentication/dto/invitations-response.dto.js +3 -0
- package/dist/src/authentication/dto/invitations-response.dto.js.map +1 -0
- package/dist/src/authentication/dto/manage-impersonation-config-request.d.ts +5 -0
- package/dist/src/authentication/dto/manage-impersonation-config-request.d.ts.map +1 -0
- package/dist/src/authentication/dto/manage-impersonation-config-request.js +3 -0
- package/dist/src/authentication/dto/manage-impersonation-config-request.js.map +1 -0
- package/dist/src/authentication/dto/oauth-provider.dto.d.ts +174 -0
- package/dist/src/authentication/dto/oauth-provider.dto.d.ts.map +1 -0
- package/dist/src/authentication/dto/oauth-provider.dto.js +26 -0
- package/dist/src/authentication/dto/oauth-provider.dto.js.map +1 -0
- package/dist/src/authentication/dto/search-profiles-request.dto.d.ts +4 -0
- package/dist/src/authentication/dto/search-profiles-request.dto.d.ts.map +1 -0
- package/dist/src/authentication/dto/search-profiles-request.dto.js +3 -0
- package/dist/src/authentication/dto/search-profiles-request.dto.js.map +1 -0
- package/dist/src/authentication/dto/user-identity.dto.d.ts +13 -0
- package/dist/src/authentication/dto/user-identity.dto.d.ts.map +1 -0
- package/dist/src/authentication/dto/user-identity.dto.js +3 -0
- package/dist/src/authentication/dto/user-identity.dto.js.map +1 -0
- package/dist/src/authentication/dto/user.dto.d.ts +13 -0
- package/dist/src/authentication/dto/user.dto.d.ts.map +1 -0
- package/dist/src/authentication/dto/user.dto.js +3 -0
- package/dist/src/authentication/dto/user.dto.js.map +1 -0
- package/dist/src/authentication/dto/users-response.dto.d.ts +4 -0
- package/dist/src/authentication/dto/users-response.dto.d.ts.map +1 -0
- package/dist/src/authentication/dto/users-response.dto.js +3 -0
- package/dist/src/authentication/dto/users-response.dto.js.map +1 -0
- package/dist/src/authentication/entities/api-key.entity.d.ts +10 -0
- package/dist/src/authentication/entities/api-key.entity.d.ts.map +1 -0
- package/dist/src/authentication/entities/api-key.entity.js +22 -0
- package/dist/src/authentication/entities/api-key.entity.js.map +1 -0
- package/dist/src/authentication/entities/authentication-config.entity.d.ts +84 -0
- package/dist/src/authentication/entities/authentication-config.entity.d.ts.map +1 -0
- package/dist/src/authentication/entities/authentication-config.entity.js +3 -0
- package/dist/src/authentication/entities/authentication-config.entity.js.map +1 -0
- package/dist/src/authentication/entities/authentication-parameters.entity.d.ts +101 -0
- package/dist/src/authentication/entities/authentication-parameters.entity.d.ts.map +1 -0
- package/dist/src/authentication/entities/authentication-parameters.entity.js +91 -0
- package/dist/src/authentication/entities/authentication-parameters.entity.js.map +1 -0
- package/dist/src/authentication/entities/can-impersonate.entity.d.ts +7 -0
- package/dist/src/authentication/entities/can-impersonate.entity.d.ts.map +1 -0
- package/dist/src/authentication/entities/can-impersonate.entity.js +17 -0
- package/dist/src/authentication/entities/can-impersonate.entity.js.map +1 -0
- package/dist/src/authentication/entities/impersonation-config.entity.d.ts +10 -0
- package/dist/src/authentication/entities/impersonation-config.entity.d.ts.map +1 -0
- package/dist/src/authentication/entities/impersonation-config.entity.js +22 -0
- package/dist/src/authentication/entities/impersonation-config.entity.js.map +1 -0
- package/dist/src/authentication/impersonation.d.ts +9 -0
- package/dist/src/authentication/impersonation.d.ts.map +1 -0
- package/dist/src/authentication/impersonation.js +11 -0
- package/dist/src/authentication/impersonation.js.map +1 -0
- package/dist/src/authentication/index.d.ts +23 -1
- package/dist/src/authentication/index.d.ts.map +1 -1
- package/dist/src/authentication/index.js +17 -1
- package/dist/src/authentication/index.js.map +1 -1
- package/dist/src/authentication/is-anonymous-user.d.ts +18 -0
- package/dist/src/authentication/is-anonymous-user.d.ts.map +1 -0
- package/dist/src/authentication/is-anonymous-user.js +27 -0
- package/dist/src/authentication/is-anonymous-user.js.map +1 -0
- package/dist/src/authentication/password-constraints.d.ts +10 -0
- package/dist/src/authentication/password-constraints.d.ts.map +1 -0
- package/dist/src/authentication/password-constraints.js +12 -0
- package/dist/src/authentication/password-constraints.js.map +1 -0
- package/dist/src/authentication/types/InvitationTokenPayload.d.ts +15 -0
- package/dist/src/authentication/types/InvitationTokenPayload.d.ts.map +1 -0
- package/dist/src/authentication/types/InvitationTokenPayload.js +3 -0
- package/dist/src/authentication/types/InvitationTokenPayload.js.map +1 -0
- package/dist/src/authentication/utils/index.d.ts +2 -0
- package/dist/src/authentication/utils/index.d.ts.map +1 -0
- package/dist/src/authentication/utils/index.js +9 -0
- package/dist/src/authentication/utils/index.js.map +1 -0
- package/dist/src/authentication/utils/user-comparison.d.ts +99 -0
- package/dist/src/authentication/utils/user-comparison.d.ts.map +1 -0
- package/dist/src/authentication/utils/user-comparison.js +133 -0
- package/dist/src/authentication/utils/user-comparison.js.map +1 -0
- package/dist/src/authorization/api/assign-operation-to-role-request.d.ts +3 -0
- package/dist/src/authorization/api/assign-operation-to-role-request.d.ts.map +1 -0
- package/dist/src/authorization/api/assign-operation-to-role-request.js +6 -0
- package/dist/src/authorization/api/assign-operation-to-role-request.js.map +1 -0
- package/dist/src/authorization/api/create-application-request.d.ts +5 -0
- package/dist/src/authorization/api/create-application-request.d.ts.map +1 -0
- package/dist/src/authorization/api/create-application-request.js +7 -0
- package/dist/src/authorization/api/create-application-request.js.map +1 -0
- package/dist/src/authorization/api/create-operation-request.d.ts +5 -0
- package/dist/src/authorization/api/create-operation-request.d.ts.map +1 -0
- package/dist/src/authorization/api/create-operation-request.js +8 -0
- package/dist/src/authorization/api/create-operation-request.js.map +1 -0
- package/dist/src/authorization/api/create-role-request.d.ts +5 -0
- package/dist/src/authorization/api/create-role-request.d.ts.map +1 -0
- package/dist/src/authorization/api/create-role-request.js +8 -0
- package/dist/src/authorization/api/create-role-request.js.map +1 -0
- package/dist/src/authorization/api/create-rule-request.d.ts +4 -0
- package/dist/src/authorization/api/create-rule-request.d.ts.map +1 -0
- package/dist/src/authorization/api/create-rule-request.js +8 -0
- package/dist/src/authorization/api/create-rule-request.js.map +1 -0
- package/dist/src/authorization/api/delete-application-request.d.ts +4 -0
- package/dist/src/authorization/api/delete-application-request.d.ts.map +1 -0
- package/dist/src/authorization/api/delete-application-request.js +6 -0
- package/dist/src/authorization/api/delete-application-request.js.map +1 -0
- package/dist/src/authorization/api/delete-operation-request.d.ts +4 -0
- package/dist/src/authorization/api/delete-operation-request.d.ts.map +1 -0
- package/dist/src/authorization/api/delete-operation-request.js +6 -0
- package/dist/src/authorization/api/delete-operation-request.js.map +1 -0
- package/dist/src/authorization/api/delete-role-request.d.ts +4 -0
- package/dist/src/authorization/api/delete-role-request.d.ts.map +1 -0
- package/dist/src/authorization/api/delete-role-request.js +6 -0
- package/dist/src/authorization/api/delete-role-request.js.map +1 -0
- package/dist/src/authorization/api/delete-rule-request.d.ts +4 -0
- package/dist/src/authorization/api/delete-rule-request.d.ts.map +1 -0
- package/dist/src/authorization/api/delete-rule-request.js +6 -0
- package/dist/src/authorization/api/delete-rule-request.js.map +1 -0
- package/dist/src/authorization/api/get-admin-ui-data-request.d.ts +3 -0
- package/dist/src/authorization/api/get-admin-ui-data-request.d.ts.map +1 -0
- package/dist/src/authorization/api/get-admin-ui-data-request.js +7 -0
- package/dist/src/authorization/api/get-admin-ui-data-request.js.map +1 -0
- package/dist/src/authorization/api/get-all-applications-request.d.ts +4 -0
- package/dist/src/authorization/api/get-all-applications-request.d.ts.map +1 -0
- package/dist/src/authorization/api/get-all-applications-request.js +7 -0
- package/dist/src/authorization/api/get-all-applications-request.js.map +1 -0
- package/dist/src/authorization/api/get-all-operations-request.d.ts +5 -0
- package/dist/src/authorization/api/get-all-operations-request.d.ts.map +1 -0
- package/dist/src/authorization/api/get-all-operations-request.js +7 -0
- package/dist/src/authorization/api/get-all-operations-request.js.map +1 -0
- package/dist/src/authorization/api/get-all-roles-request.d.ts +5 -0
- package/dist/src/authorization/api/get-all-roles-request.d.ts.map +1 -0
- package/dist/src/authorization/api/get-all-roles-request.js +7 -0
- package/dist/src/authorization/api/get-all-roles-request.js.map +1 -0
- package/dist/src/authorization/api/get-all-rules-request.d.ts +5 -0
- package/dist/src/authorization/api/get-all-rules-request.d.ts.map +1 -0
- package/dist/src/authorization/api/get-all-rules-request.js +7 -0
- package/dist/src/authorization/api/get-all-rules-request.js.map +1 -0
- package/dist/src/authorization/api/get-allowed-applications-request.d.ts +3 -0
- package/dist/src/authorization/api/get-allowed-applications-request.d.ts.map +1 -0
- package/dist/src/authorization/api/get-allowed-applications-request.js +7 -0
- package/dist/src/authorization/api/get-allowed-applications-request.js.map +1 -0
- package/dist/src/authorization/api/get-allowed-operations-for-app-request.d.ts +4 -0
- package/dist/src/authorization/api/get-allowed-operations-for-app-request.d.ts.map +1 -0
- package/dist/src/authorization/api/get-allowed-operations-for-app-request.js +7 -0
- package/dist/src/authorization/api/get-allowed-operations-for-app-request.js.map +1 -0
- package/dist/src/authorization/api/get-allowed-resources-request.d.ts +4 -0
- package/dist/src/authorization/api/get-allowed-resources-request.d.ts.map +1 -0
- package/dist/src/authorization/api/get-allowed-resources-request.js +7 -0
- package/dist/src/authorization/api/get-allowed-resources-request.js.map +1 -0
- package/dist/src/authorization/api/get-operations-for-role-request.d.ts +4 -0
- package/dist/src/authorization/api/get-operations-for-role-request.d.ts.map +1 -0
- package/dist/src/authorization/api/get-operations-for-role-request.js +7 -0
- package/dist/src/authorization/api/get-operations-for-role-request.js.map +1 -0
- package/dist/src/authorization/api/get-roles-for-operation.d.ts +4 -0
- package/dist/src/authorization/api/get-roles-for-operation.d.ts.map +1 -0
- package/dist/src/authorization/api/get-roles-for-operation.js +7 -0
- package/dist/src/authorization/api/get-roles-for-operation.js.map +1 -0
- package/dist/src/authorization/api/request-factory.d.ts +4 -0
- package/dist/src/authorization/api/request-factory.d.ts.map +1 -0
- package/dist/src/authorization/api/request-factory.js +21 -0
- package/dist/src/authorization/api/request-factory.js.map +1 -0
- package/dist/src/authorization/api/unassign-operation-from-role-request.d.ts +3 -0
- package/dist/src/authorization/api/unassign-operation-from-role-request.d.ts.map +1 -0
- package/dist/src/authorization/api/unassign-operation-from-role-request.js +6 -0
- package/dist/src/authorization/api/unassign-operation-from-role-request.js.map +1 -0
- package/dist/src/authorization/api/update-application-request.d.ts +4 -0
- package/dist/src/authorization/api/update-application-request.d.ts.map +1 -0
- package/dist/src/authorization/api/update-application-request.js +8 -0
- package/dist/src/authorization/api/update-application-request.js.map +1 -0
- package/dist/src/authorization/api/update-operation-request.d.ts +4 -0
- package/dist/src/authorization/api/update-operation-request.d.ts.map +1 -0
- package/dist/src/authorization/api/update-operation-request.js +8 -0
- package/dist/src/authorization/api/update-operation-request.js.map +1 -0
- package/dist/src/authorization/api/update-role-request.d.ts +5 -0
- package/dist/src/authorization/api/update-role-request.d.ts.map +1 -0
- package/dist/src/authorization/api/update-role-request.js +8 -0
- package/dist/src/authorization/api/update-role-request.js.map +1 -0
- package/dist/src/authorization/api/update-rule-request.d.ts +5 -0
- package/dist/src/authorization/api/update-rule-request.d.ts.map +1 -0
- package/dist/src/authorization/api/update-rule-request.js +8 -0
- package/dist/src/authorization/api/update-rule-request.js.map +1 -0
- package/dist/src/authorization/authorization.service.d.ts +60 -11
- package/dist/src/authorization/authorization.service.d.ts.map +1 -1
- package/dist/src/authorization/authorization.service.js +208 -20
- package/dist/src/authorization/authorization.service.js.map +1 -1
- package/dist/src/authorization/dto/allowed-resources-response.dto.d.ts +8 -0
- package/dist/src/authorization/dto/allowed-resources-response.dto.d.ts.map +1 -0
- package/dist/src/authorization/dto/allowed-resources-response.dto.js +3 -0
- package/dist/src/authorization/dto/allowed-resources-response.dto.js.map +1 -0
- package/dist/src/authorization/dto/application-response.dto.d.ts +12 -0
- package/dist/src/authorization/dto/application-response.dto.d.ts.map +1 -0
- package/dist/src/authorization/dto/application-response.dto.js +3 -0
- package/dist/src/authorization/dto/application-response.dto.js.map +1 -0
- package/dist/src/authorization/dto/assign-operation-to-role.dto.d.ts +6 -0
- package/dist/src/authorization/dto/assign-operation-to-role.dto.d.ts.map +1 -0
- package/dist/src/authorization/dto/assign-operation-to-role.dto.js +3 -0
- package/dist/src/authorization/dto/assign-operation-to-role.dto.js.map +1 -0
- package/dist/src/authorization/dto/create-application.dto.d.ts +10 -0
- package/dist/src/authorization/dto/create-application.dto.d.ts.map +1 -0
- package/dist/src/authorization/dto/create-application.dto.js +3 -0
- package/dist/src/authorization/dto/create-application.dto.js.map +1 -0
- package/dist/src/authorization/dto/create-operation.dto.d.ts +6 -0
- package/dist/src/authorization/dto/create-operation.dto.d.ts.map +1 -0
- package/dist/src/authorization/dto/create-operation.dto.js +3 -0
- package/dist/src/authorization/dto/create-operation.dto.js.map +1 -0
- package/dist/src/authorization/dto/create-role.dto.d.ts +6 -0
- package/dist/src/authorization/dto/create-role.dto.d.ts.map +1 -0
- package/dist/src/authorization/dto/create-role.dto.js +3 -0
- package/dist/src/authorization/dto/create-role.dto.js.map +1 -0
- package/dist/src/authorization/dto/create-rule.dto.d.ts +9 -0
- package/dist/src/authorization/dto/create-rule.dto.d.ts.map +1 -0
- package/dist/src/authorization/dto/create-rule.dto.js +3 -0
- package/dist/src/authorization/dto/create-rule.dto.js.map +1 -0
- package/dist/src/authorization/dto/delete-application.dto.d.ts +4 -0
- package/dist/src/authorization/dto/delete-application.dto.d.ts.map +1 -0
- package/dist/src/authorization/dto/delete-application.dto.js +3 -0
- package/dist/src/authorization/dto/delete-application.dto.js.map +1 -0
- package/dist/src/authorization/dto/delete-operation.dto.d.ts +5 -0
- package/dist/src/authorization/dto/delete-operation.dto.d.ts.map +1 -0
- package/dist/src/authorization/dto/delete-operation.dto.js +3 -0
- package/dist/src/authorization/dto/delete-operation.dto.js.map +1 -0
- package/dist/src/authorization/dto/delete-role.dto.d.ts +5 -0
- package/dist/src/authorization/dto/delete-role.dto.d.ts.map +1 -0
- package/dist/src/authorization/dto/delete-role.dto.js +3 -0
- package/dist/src/authorization/dto/delete-role.dto.js.map +1 -0
- package/dist/src/authorization/dto/delete-rule.dto.d.ts +5 -0
- package/dist/src/authorization/dto/delete-rule.dto.d.ts.map +1 -0
- package/dist/src/authorization/dto/delete-rule.dto.js +3 -0
- package/dist/src/authorization/dto/delete-rule.dto.js.map +1 -0
- package/dist/src/authorization/dto/get-admin-ui-response.dto.d.ts +24 -0
- package/dist/src/authorization/dto/get-admin-ui-response.dto.d.ts.map +1 -0
- package/dist/src/{catalog/module-metadata.interface.js → authorization/dto/get-admin-ui-response.dto.js} +1 -1
- package/dist/src/authorization/dto/get-admin-ui-response.dto.js.map +1 -0
- package/dist/src/authorization/dto/get-all-applications.dto.d.ts +3 -0
- package/dist/src/authorization/dto/get-all-applications.dto.d.ts.map +1 -0
- package/dist/src/authorization/dto/get-all-applications.dto.js +3 -0
- package/dist/src/authorization/dto/get-all-applications.dto.js.map +1 -0
- package/dist/src/authorization/dto/get-all-operations.dto.d.ts +4 -0
- package/dist/src/authorization/dto/get-all-operations.dto.d.ts.map +1 -0
- package/dist/src/authorization/dto/get-all-operations.dto.js +3 -0
- package/dist/src/authorization/dto/get-all-operations.dto.js.map +1 -0
- package/dist/src/authorization/dto/get-all-roles.dto.d.ts +4 -0
- package/dist/src/authorization/dto/get-all-roles.dto.d.ts.map +1 -0
- package/dist/src/authorization/dto/get-all-roles.dto.js +3 -0
- package/dist/src/authorization/dto/get-all-roles.dto.js.map +1 -0
- package/dist/src/authorization/dto/get-all-rules.dto.d.ts +4 -0
- package/dist/src/authorization/dto/get-all-rules.dto.d.ts.map +1 -0
- package/dist/src/authorization/dto/get-all-rules.dto.js +3 -0
- package/dist/src/authorization/dto/get-all-rules.dto.js.map +1 -0
- package/dist/src/authorization/dto/get-allowed-operations-for-app.dto.d.ts +5 -0
- package/dist/src/authorization/dto/get-allowed-operations-for-app.dto.d.ts.map +1 -0
- package/dist/src/authorization/{authorization-repository.interface.js → dto/get-allowed-operations-for-app.dto.js} +1 -1
- package/dist/src/authorization/dto/get-allowed-operations-for-app.dto.js.map +1 -0
- package/dist/src/authorization/dto/get-allowed-resources.dto.d.ts +4 -0
- package/dist/src/authorization/dto/get-allowed-resources.dto.d.ts.map +1 -0
- package/dist/src/authorization/dto/get-allowed-resources.dto.js +3 -0
- package/dist/src/authorization/dto/get-allowed-resources.dto.js.map +1 -0
- package/dist/src/authorization/dto/get-operations-for-role.dto.d.ts +5 -0
- package/dist/src/authorization/dto/get-operations-for-role.dto.d.ts.map +1 -0
- package/dist/src/authorization/dto/get-operations-for-role.dto.js +3 -0
- package/dist/src/authorization/dto/get-operations-for-role.dto.js.map +1 -0
- package/dist/src/authorization/dto/get-roles-for-operation.dto.d.ts +5 -0
- package/dist/src/authorization/dto/get-roles-for-operation.dto.d.ts.map +1 -0
- package/dist/src/authorization/dto/get-roles-for-operation.dto.js +3 -0
- package/dist/src/authorization/dto/get-roles-for-operation.dto.js.map +1 -0
- package/dist/src/authorization/dto/index.d.ts +29 -0
- package/dist/src/authorization/dto/index.d.ts.map +1 -0
- package/dist/src/authorization/dto/index.js +47 -0
- package/dist/src/authorization/dto/index.js.map +1 -0
- package/dist/src/authorization/dto/operation-response.dto.d.ts +11 -0
- package/dist/src/authorization/dto/operation-response.dto.d.ts.map +1 -0
- package/dist/src/authorization/dto/operation-response.dto.js +3 -0
- package/dist/src/authorization/dto/operation-response.dto.js.map +1 -0
- package/dist/src/authorization/dto/role-response.dto.d.ts +8 -0
- package/dist/src/authorization/dto/role-response.dto.d.ts.map +1 -0
- package/dist/src/authorization/dto/role-response.dto.js +3 -0
- package/dist/src/authorization/dto/role-response.dto.js.map +1 -0
- package/dist/src/authorization/dto/rule-response.dto.d.ts +12 -0
- package/dist/src/authorization/dto/rule-response.dto.d.ts.map +1 -0
- package/dist/src/authorization/dto/rule-response.dto.js +3 -0
- package/dist/src/authorization/dto/rule-response.dto.js.map +1 -0
- package/dist/src/authorization/dto/sync-assignments.dto.d.ts +13 -0
- package/dist/src/authorization/dto/sync-assignments.dto.d.ts.map +1 -0
- package/dist/src/authorization/dto/sync-assignments.dto.js +3 -0
- package/dist/src/authorization/dto/sync-assignments.dto.js.map +1 -0
- package/dist/src/authorization/dto/update-application.dto.d.ts +5 -0
- package/dist/src/authorization/dto/update-application.dto.d.ts.map +1 -0
- package/dist/src/authorization/dto/update-application.dto.js +3 -0
- package/dist/src/authorization/dto/update-application.dto.js.map +1 -0
- package/dist/src/authorization/dto/update-operation.dto.d.ts +4 -0
- package/dist/src/authorization/dto/update-operation.dto.d.ts.map +1 -0
- package/dist/src/authorization/dto/update-operation.dto.js +3 -0
- package/dist/src/authorization/dto/update-operation.dto.js.map +1 -0
- package/dist/src/authorization/dto/update-role.dto.d.ts +6 -0
- package/dist/src/authorization/dto/update-role.dto.d.ts.map +1 -0
- package/dist/src/authorization/dto/update-role.dto.js +3 -0
- package/dist/src/authorization/dto/update-role.dto.js.map +1 -0
- package/dist/src/authorization/dto/update-rule.dto.d.ts +6 -0
- package/dist/src/authorization/dto/update-rule.dto.d.ts.map +1 -0
- package/dist/src/authorization/dto/update-rule.dto.js +3 -0
- package/dist/src/authorization/dto/update-rule.dto.js.map +1 -0
- package/dist/src/authorization/entities/admin-ui/admin-ui.d.ts +23 -0
- package/dist/src/authorization/entities/admin-ui/admin-ui.d.ts.map +1 -0
- package/dist/src/authorization/entities/admin-ui/admin-ui.js +3 -0
- package/dist/src/authorization/entities/admin-ui/admin-ui.js.map +1 -0
- package/dist/src/authorization/entities/admin-ui-data.entity.d.ts +37 -0
- package/dist/src/authorization/entities/admin-ui-data.entity.d.ts.map +1 -0
- package/dist/src/authorization/entities/admin-ui-data.entity.js +36 -0
- package/dist/src/authorization/entities/admin-ui-data.entity.js.map +1 -0
- package/dist/src/authorization/entities/allowed-resources.entity.d.ts +8 -0
- package/dist/src/authorization/entities/allowed-resources.entity.d.ts.map +1 -0
- package/dist/src/authorization/entities/allowed-resources.entity.js +16 -0
- package/dist/src/authorization/entities/allowed-resources.entity.js.map +1 -0
- package/dist/src/authorization/entities/application.entity.d.ts +17 -0
- package/dist/src/authorization/entities/application.entity.d.ts.map +1 -0
- package/dist/src/authorization/entities/application.entity.js +24 -0
- package/dist/src/authorization/entities/application.entity.js.map +1 -0
- package/dist/src/authorization/entities/operation.entity.d.ts +13 -0
- package/dist/src/authorization/entities/operation.entity.d.ts.map +1 -0
- package/dist/src/authorization/entities/operation.entity.js +29 -0
- package/dist/src/authorization/entities/operation.entity.js.map +1 -0
- package/dist/src/authorization/entities/role.entity.d.ts +14 -0
- package/dist/src/authorization/entities/role.entity.d.ts.map +1 -0
- package/dist/src/authorization/entities/role.entity.js +28 -0
- package/dist/src/authorization/entities/role.entity.js.map +1 -0
- package/dist/src/authorization/entities/rule.entity.d.ts +19 -0
- package/dist/src/authorization/entities/rule.entity.d.ts.map +1 -0
- package/dist/src/authorization/entities/rule.entity.js +25 -0
- package/dist/src/authorization/entities/rule.entity.js.map +1 -0
- package/dist/src/authorization/index.d.ts +6 -5
- package/dist/src/authorization/index.d.ts.map +1 -1
- package/dist/src/authorization/index.js +11 -8
- package/dist/src/authorization/index.js.map +1 -1
- package/dist/src/authorization/isAuthorized/application-with-operations.d.ts +6 -0
- package/dist/src/authorization/isAuthorized/application-with-operations.d.ts.map +1 -0
- package/dist/src/authorization/isAuthorized/application-with-operations.js +3 -0
- package/dist/src/authorization/isAuthorized/application-with-operations.js.map +1 -0
- package/dist/src/authorization/isAuthorized/get-module-requirements.d.ts +17 -0
- package/dist/src/authorization/isAuthorized/get-module-requirements.d.ts.map +1 -0
- package/dist/src/authorization/isAuthorized/get-module-requirements.js +58 -0
- package/dist/src/authorization/isAuthorized/get-module-requirements.js.map +1 -0
- package/dist/src/authorization/isAuthorized/get-route-operations.d.ts +10 -0
- package/dist/src/authorization/isAuthorized/get-route-operations.d.ts.map +1 -0
- package/dist/src/authorization/isAuthorized/get-route-operations.js +46 -0
- package/dist/src/authorization/isAuthorized/get-route-operations.js.map +1 -0
- package/dist/src/authorization/isAuthorized/http-method.d.ts +2 -0
- package/dist/src/authorization/isAuthorized/http-method.d.ts.map +1 -0
- package/dist/src/authorization/isAuthorized/http-method.js +3 -0
- package/dist/src/authorization/isAuthorized/http-method.js.map +1 -0
- package/dist/src/authorization/isAuthorized/is-authorized.d.ts +12 -0
- package/dist/src/authorization/isAuthorized/is-authorized.d.ts.map +1 -0
- package/dist/src/authorization/isAuthorized/is-authorized.js +18 -0
- package/dist/src/authorization/isAuthorized/is-authorized.js.map +1 -0
- package/dist/src/authorization/isAuthorized/module-requirements.d.ts +5 -0
- package/dist/src/authorization/isAuthorized/module-requirements.d.ts.map +1 -0
- package/dist/src/authorization/isAuthorized/module-requirements.js +3 -0
- package/dist/src/authorization/isAuthorized/module-requirements.js.map +1 -0
- package/dist/src/authorization/isAuthorized/required-application.d.ts +6 -0
- package/dist/src/authorization/isAuthorized/required-application.d.ts.map +1 -0
- package/dist/src/authorization/isAuthorized/required-application.js +3 -0
- package/dist/src/authorization/isAuthorized/required-application.js.map +1 -0
- package/dist/src/authorization/isAuthorized/validate-requirements.d.ts +4 -0
- package/dist/src/authorization/isAuthorized/validate-requirements.d.ts.map +1 -0
- package/dist/src/authorization/isAuthorized/validate-requirements.js +14 -0
- package/dist/src/authorization/isAuthorized/validate-requirements.js.map +1 -0
- package/dist/src/catalog/api/create-module-request.d.ts +7 -0
- package/dist/src/catalog/api/create-module-request.d.ts.map +1 -0
- package/dist/src/catalog/api/create-module-request.js +13 -0
- package/dist/src/catalog/api/create-module-request.js.map +1 -0
- package/dist/src/catalog/api/delete-module-request.d.ts +6 -0
- package/dist/src/catalog/api/delete-module-request.d.ts.map +1 -0
- package/dist/src/catalog/api/delete-module-request.js +9 -0
- package/dist/src/catalog/api/delete-module-request.js.map +1 -0
- package/dist/src/catalog/api/get-all-modules-request.d.ts +6 -0
- package/dist/src/catalog/api/get-all-modules-request.d.ts.map +1 -0
- package/dist/src/{user/user.service.js → catalog/api/get-all-modules-request.js} +7 -14
- package/dist/src/catalog/api/get-all-modules-request.js.map +1 -0
- package/dist/src/catalog/api/map-module-to-dto.d.ts +30 -0
- package/dist/src/catalog/api/map-module-to-dto.d.ts.map +1 -0
- package/dist/src/catalog/api/map-module-to-dto.js +23 -0
- package/dist/src/catalog/api/map-module-to-dto.js.map +1 -0
- package/dist/src/catalog/api/update-module-request.d.ts +7 -0
- package/dist/src/catalog/api/update-module-request.d.ts.map +1 -0
- package/dist/src/catalog/api/update-module-request.js +13 -0
- package/dist/src/catalog/api/update-module-request.js.map +1 -0
- package/dist/src/catalog/api/update-module-ui-config-request.d.ts +6 -0
- package/dist/src/catalog/api/update-module-ui-config-request.d.ts.map +1 -0
- package/dist/src/catalog/api/update-module-ui-config-request.js +11 -0
- package/dist/src/catalog/api/update-module-ui-config-request.js.map +1 -0
- package/dist/src/catalog/catalog.service.d.ts +15 -9
- package/dist/src/catalog/catalog.service.d.ts.map +1 -1
- package/dist/src/catalog/catalog.service.js +26 -29
- package/dist/src/catalog/catalog.service.js.map +1 -1
- package/dist/src/catalog/dto/create-or-update-module.d.ts +4 -0
- package/dist/src/catalog/dto/create-or-update-module.d.ts.map +1 -0
- package/dist/src/catalog/dto/create-or-update-module.js +3 -0
- package/dist/src/catalog/dto/create-or-update-module.js.map +1 -0
- package/dist/src/catalog/dto/index.d.ts +3 -0
- package/dist/src/catalog/dto/index.d.ts.map +1 -0
- package/dist/src/{authorization/repositories → catalog/dto}/index.js +2 -1
- package/dist/src/catalog/dto/index.js.map +1 -0
- package/dist/src/catalog/dto/update-module-ui-config.dto.d.ts +5 -0
- package/dist/src/catalog/dto/update-module-ui-config.dto.d.ts.map +1 -0
- package/dist/src/catalog/dto/update-module-ui-config.dto.js +3 -0
- package/dist/src/catalog/dto/update-module-ui-config.dto.js.map +1 -0
- package/dist/src/catalog/entities/module-metadata/authorization.interface.d.ts.map +1 -0
- package/dist/src/catalog/entities/module-metadata/authorization.interface.js.map +1 -0
- package/dist/src/catalog/entities/module-metadata/cloud-function.interface.d.ts +5 -0
- package/dist/src/catalog/entities/module-metadata/cloud-function.interface.d.ts.map +1 -0
- package/dist/src/catalog/entities/module-metadata/cloud-function.interface.js +3 -0
- package/dist/src/catalog/entities/module-metadata/cloud-function.interface.js.map +1 -0
- package/dist/src/catalog/entities/module-metadata/common-paths.interface.d.ts +7 -0
- package/dist/src/catalog/entities/module-metadata/common-paths.interface.d.ts.map +1 -0
- package/dist/src/catalog/entities/module-metadata/common-paths.interface.js +3 -0
- package/dist/src/catalog/entities/module-metadata/common-paths.interface.js.map +1 -0
- package/dist/src/catalog/entities/module-metadata/compute-is-public.d.ts +18 -0
- package/dist/src/catalog/entities/module-metadata/compute-is-public.d.ts.map +1 -0
- package/dist/src/catalog/entities/module-metadata/compute-is-public.js +31 -0
- package/dist/src/catalog/entities/module-metadata/compute-is-public.js.map +1 -0
- package/dist/src/catalog/entities/module-metadata/module-metadata.entity.d.ts +125 -0
- package/dist/src/catalog/entities/module-metadata/module-metadata.entity.d.ts.map +1 -0
- package/dist/src/catalog/entities/module-metadata/module-metadata.entity.js +87 -0
- package/dist/src/catalog/entities/module-metadata/module-metadata.entity.js.map +1 -0
- package/dist/src/catalog/entities/module-metadata/module-types.constants.d.ts +2 -0
- package/dist/src/catalog/entities/module-metadata/module-types.constants.d.ts.map +1 -0
- package/dist/src/catalog/entities/module-metadata/module-types.constants.js +5 -0
- package/dist/src/catalog/entities/module-metadata/module-types.constants.js.map +1 -0
- package/dist/src/catalog/entities/module-metadata/service-config.interface.d.ts +24 -0
- package/dist/src/catalog/entities/module-metadata/service-config.interface.d.ts.map +1 -0
- package/dist/src/catalog/entities/module-metadata/service-config.interface.js.map +1 -0
- package/dist/src/catalog/{ui-config.interface.d.ts → entities/module-metadata/ui-config.interface.d.ts} +12 -1
- package/dist/src/catalog/entities/module-metadata/ui-config.interface.d.ts.map +1 -0
- package/dist/src/catalog/entities/module-metadata/ui-config.interface.js.map +1 -0
- package/dist/src/catalog/entities/module-metadata/ui-types.constants.d.ts.map +1 -0
- package/dist/src/catalog/entities/module-metadata/ui-types.constants.js.map +1 -0
- package/dist/src/catalog/index.d.ts +2 -5
- package/dist/src/catalog/index.d.ts.map +1 -1
- package/dist/src/catalog/index.js +2 -6
- package/dist/src/catalog/index.js.map +1 -1
- package/dist/src/catalog/pae-modules.constants.d.ts +7 -0
- package/dist/src/catalog/pae-modules.constants.d.ts.map +1 -0
- package/dist/src/catalog/pae-modules.constants.js +10 -0
- package/dist/src/catalog/pae-modules.constants.js.map +1 -0
- package/dist/src/catalog/pae-service-utils.d.ts +11 -0
- package/dist/src/catalog/pae-service-utils.d.ts.map +1 -0
- package/dist/src/catalog/pae-service-utils.js +47 -0
- package/dist/src/catalog/pae-service-utils.js.map +1 -0
- package/dist/src/common/api-methods.d.ts +8 -0
- package/dist/src/common/api-methods.d.ts.map +1 -0
- package/dist/src/common/api-methods.js +13 -0
- package/dist/src/common/api-methods.js.map +1 -0
- package/dist/src/common/audit.d.ts +35 -0
- package/dist/src/common/audit.d.ts.map +1 -0
- package/dist/src/common/audit.js +126 -0
- package/dist/src/common/audit.js.map +1 -0
- package/dist/src/common/auditable.interface.d.ts +13 -0
- package/dist/src/common/auditable.interface.d.ts.map +1 -0
- package/dist/src/common/auditable.interface.js +3 -0
- package/dist/src/common/auditable.interface.js.map +1 -0
- package/dist/src/common/auditable.record.d.ts +10 -0
- package/dist/src/common/auditable.record.d.ts.map +1 -0
- package/dist/src/common/auditable.record.js +3 -0
- package/dist/src/common/auditable.record.js.map +1 -0
- package/dist/src/common/create-service-invoker.d.ts +8 -0
- package/dist/src/common/create-service-invoker.d.ts.map +1 -0
- package/dist/src/common/create-service-invoker.js +14 -0
- package/dist/src/common/create-service-invoker.js.map +1 -0
- package/dist/src/common/domain/criteria/criteria.d.ts +17 -0
- package/dist/src/common/domain/criteria/criteria.d.ts.map +1 -0
- package/dist/src/common/domain/criteria/criteria.js +32 -0
- package/dist/src/common/domain/criteria/criteria.js.map +1 -0
- package/dist/src/common/domain/criteria/filter-field.d.ts +5 -0
- package/dist/src/common/domain/criteria/filter-field.d.ts.map +1 -0
- package/dist/src/common/domain/criteria/filter-field.js +10 -0
- package/dist/src/common/domain/criteria/filter-field.js.map +1 -0
- package/dist/src/common/domain/criteria/filter-operator.d.ts +6 -0
- package/dist/src/common/domain/criteria/filter-operator.d.ts.map +1 -0
- package/dist/src/common/domain/criteria/filter-operator.js +10 -0
- package/dist/src/common/domain/criteria/filter-operator.js.map +1 -0
- package/dist/src/common/domain/criteria/filter-primitives.d.ts +6 -0
- package/dist/src/common/domain/criteria/filter-primitives.d.ts.map +1 -0
- package/dist/src/common/domain/criteria/filter-primitives.js +3 -0
- package/dist/src/common/domain/criteria/filter-primitives.js.map +1 -0
- package/dist/src/common/domain/criteria/filter-relation.d.ts +5 -0
- package/dist/src/common/domain/criteria/filter-relation.d.ts.map +1 -0
- package/dist/src/common/domain/criteria/filter-relation.js +10 -0
- package/dist/src/common/domain/criteria/filter-relation.js.map +1 -0
- package/dist/src/common/domain/criteria/filter-value.d.ts +5 -0
- package/dist/src/common/domain/criteria/filter-value.d.ts.map +1 -0
- package/dist/src/common/domain/criteria/filter-value.js +10 -0
- package/dist/src/common/domain/criteria/filter-value.js.map +1 -0
- package/dist/src/common/domain/criteria/filter.d.ts +13 -0
- package/dist/src/common/domain/criteria/filter.d.ts.map +1 -0
- package/dist/src/common/domain/criteria/filter.js +21 -0
- package/dist/src/common/domain/criteria/filter.js.map +1 -0
- package/dist/src/common/domain/criteria/filters.d.ts +6 -0
- package/dist/src/common/domain/criteria/filters.d.ts.map +1 -0
- package/dist/src/common/domain/criteria/filters.js +10 -0
- package/dist/src/common/domain/criteria/filters.js.map +1 -0
- package/dist/src/common/domain/criteria/index.d.ts +14 -0
- package/dist/src/common/domain/criteria/index.d.ts.map +1 -0
- package/dist/src/common/domain/criteria/index.js +30 -0
- package/dist/src/common/domain/criteria/index.js.map +1 -0
- package/dist/src/common/domain/criteria/operator.d.ts +14 -0
- package/dist/src/common/domain/criteria/operator.d.ts.map +1 -0
- package/dist/src/common/domain/criteria/operator.js +21 -0
- package/dist/src/common/domain/criteria/operator.js.map +1 -0
- package/dist/src/common/domain/criteria/order-by.d.ts +5 -0
- package/dist/src/common/domain/criteria/order-by.d.ts.map +1 -0
- package/dist/src/common/domain/criteria/order-by.js +10 -0
- package/dist/src/common/domain/criteria/order-by.js.map +1 -0
- package/dist/src/common/domain/criteria/order-type.d.ts +6 -0
- package/dist/src/common/domain/criteria/order-type.d.ts.map +1 -0
- package/dist/src/common/domain/criteria/order-type.js +10 -0
- package/dist/src/common/domain/criteria/order-type.js.map +1 -0
- package/dist/src/common/domain/criteria/order-types.d.ts +6 -0
- package/dist/src/common/domain/criteria/order-types.d.ts.map +1 -0
- package/dist/src/common/domain/criteria/order-types.js +10 -0
- package/dist/src/common/domain/criteria/order-types.js.map +1 -0
- package/dist/src/common/domain/criteria/order.d.ts +9 -0
- package/dist/src/common/domain/criteria/order.d.ts.map +1 -0
- package/dist/src/common/domain/criteria/order.js +17 -0
- package/dist/src/common/domain/criteria/order.js.map +1 -0
- package/dist/src/common/domain/handle-response.d.ts +3 -0
- package/dist/src/common/domain/handle-response.d.ts.map +1 -0
- package/dist/src/common/domain/handle-response.js +27 -0
- package/dist/src/common/domain/handle-response.js.map +1 -0
- package/dist/src/common/domain/pae-service-config.interface.d.ts +9 -0
- package/dist/src/common/domain/pae-service-config.interface.d.ts.map +1 -0
- package/dist/src/common/domain/pae-service-config.interface.js +3 -0
- package/dist/src/common/domain/pae-service-config.interface.js.map +1 -0
- package/dist/src/common/domain/service-invoker.interface.d.ts +3 -0
- package/dist/src/common/domain/service-invoker.interface.d.ts.map +1 -0
- package/dist/src/common/domain/service-invoker.interface.js +3 -0
- package/dist/src/common/domain/service-invoker.interface.js.map +1 -0
- package/dist/src/common/dto/auditable.dto.d.ts +15 -0
- package/dist/src/common/dto/auditable.dto.d.ts.map +1 -0
- package/dist/src/common/dto/auditable.dto.js +3 -0
- package/dist/src/common/dto/auditable.dto.js.map +1 -0
- package/dist/src/common/gateway-headers.d.ts +8 -0
- package/dist/src/common/gateway-headers.d.ts.map +1 -0
- package/dist/src/common/gateway-headers.js +11 -0
- package/dist/src/common/gateway-headers.js.map +1 -0
- package/dist/src/common/global-application-name.d.ts +2 -0
- package/dist/src/common/global-application-name.d.ts.map +1 -0
- package/dist/src/common/global-application-name.js +5 -0
- package/dist/src/common/global-application-name.js.map +1 -0
- package/dist/src/common/index.d.ts +10 -0
- package/dist/src/common/index.d.ts.map +1 -0
- package/dist/src/{catalog/repositories → common}/index.js +4 -1
- package/dist/src/common/index.js.map +1 -0
- package/dist/src/common/platform-application-name.d.ts +2 -0
- package/dist/src/common/platform-application-name.d.ts.map +1 -0
- package/dist/src/common/platform-application-name.js +5 -0
- package/dist/src/common/platform-application-name.js.map +1 -0
- package/dist/src/common/service-config.d.ts +6 -0
- package/dist/src/common/service-config.d.ts.map +1 -0
- package/dist/src/common/service-config.js +3 -0
- package/dist/src/common/service-config.js.map +1 -0
- package/dist/src/common/table-query-params.interface.d.ts +8 -0
- package/dist/src/common/table-query-params.interface.d.ts.map +1 -0
- package/dist/src/common/table-query-params.interface.js +3 -0
- package/dist/src/common/table-query-params.interface.js.map +1 -0
- package/dist/src/common/table-query-response.interface.d.ts +5 -0
- package/dist/src/common/table-query-response.interface.d.ts.map +1 -0
- package/dist/src/common/table-query-response.interface.js +3 -0
- package/dist/src/common/table-query-response.interface.js.map +1 -0
- package/dist/src/common/types.d.ts +49 -0
- package/dist/src/common/types.d.ts.map +1 -0
- package/dist/src/common/types.js +3 -0
- package/dist/src/common/types.js.map +1 -0
- package/dist/src/common/utils/create-headers.d.ts +118 -0
- package/dist/src/common/utils/create-headers.d.ts.map +1 -0
- package/dist/src/common/utils/create-headers.js +17 -0
- package/dist/src/common/utils/create-headers.js.map +1 -0
- package/dist/src/common/utils/criteriaToSearchParams.d.ts +2 -0
- package/dist/src/common/utils/criteriaToSearchParams.d.ts.map +1 -0
- package/dist/src/common/utils/criteriaToSearchParams.js +15 -0
- package/dist/src/common/utils/criteriaToSearchParams.js.map +1 -0
- package/dist/src/common/utils/domains.d.ts +31 -0
- package/dist/src/common/utils/domains.d.ts.map +1 -0
- package/dist/src/common/utils/domains.js +70 -0
- package/dist/src/common/utils/domains.js.map +1 -0
- package/dist/src/common/utils/from-env.d.ts +2 -0
- package/dist/src/common/utils/from-env.d.ts.map +1 -0
- package/dist/src/{utilities.js → common/utils/from-env.js} +2 -7
- package/dist/src/common/utils/from-env.js.map +1 -0
- package/dist/src/common/utils/inner-join-both.d.ts +2 -0
- package/dist/src/common/utils/inner-join-both.d.ts.map +1 -0
- package/dist/src/common/utils/inner-join-both.js +14 -0
- package/dist/src/common/utils/inner-join-both.js.map +1 -0
- package/dist/src/common/utils/null-function.d.ts +2 -0
- package/dist/src/common/utils/null-function.d.ts.map +1 -0
- package/dist/src/common/utils/null-function.js +6 -0
- package/dist/src/common/utils/null-function.js.map +1 -0
- package/dist/src/common/utils/to-query-params.d.ts +2 -0
- package/dist/src/common/utils/to-query-params.d.ts.map +1 -0
- package/dist/src/common/utils/to-query-params.js +18 -0
- package/dist/src/common/utils/to-query-params.js.map +1 -0
- package/dist/src/common/utils/version-enricher.d.ts +9 -0
- package/dist/src/common/utils/version-enricher.d.ts.map +1 -0
- package/dist/src/common/utils/version-enricher.js +44 -0
- package/dist/src/common/utils/version-enricher.js.map +1 -0
- package/dist/src/core/create-pae-service-from-catalog.d.ts +67 -0
- package/dist/src/core/create-pae-service-from-catalog.d.ts.map +1 -0
- package/dist/src/core/create-pae-service-from-catalog.js +56 -0
- package/dist/src/core/create-pae-service-from-catalog.js.map +1 -0
- package/dist/src/core/create-pae-service.d.ts +145 -0
- package/dist/src/core/create-pae-service.d.ts.map +1 -0
- package/dist/src/core/create-pae-service.js +105 -0
- package/dist/src/core/create-pae-service.js.map +1 -0
- package/dist/src/index.d.ts +25 -3
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +41 -5
- package/dist/src/index.js.map +1 -1
- package/dist/src/orchestrator/api/create-shared-library-request.d.ts +5 -0
- package/dist/src/orchestrator/api/create-shared-library-request.d.ts.map +1 -0
- package/dist/src/orchestrator/api/create-shared-library-request.js +7 -0
- package/dist/src/orchestrator/api/create-shared-library-request.js.map +1 -0
- package/dist/src/orchestrator/api/delete-shared-library-request.d.ts +4 -0
- package/dist/src/orchestrator/api/delete-shared-library-request.d.ts.map +1 -0
- package/dist/src/orchestrator/api/delete-shared-library-request.js +6 -0
- package/dist/src/orchestrator/api/delete-shared-library-request.js.map +1 -0
- package/dist/src/orchestrator/api/get-all-shared-libraries-request.d.ts +3 -0
- package/dist/src/orchestrator/api/get-all-shared-libraries-request.d.ts.map +1 -0
- package/dist/src/orchestrator/api/get-all-shared-libraries-request.js +7 -0
- package/dist/src/orchestrator/api/get-all-shared-libraries-request.js.map +1 -0
- package/dist/src/orchestrator/api/update-shared-library-request.d.ts +4 -0
- package/dist/src/orchestrator/api/update-shared-library-request.d.ts.map +1 -0
- package/dist/src/orchestrator/api/update-shared-library-request.js +8 -0
- package/dist/src/orchestrator/api/update-shared-library-request.js.map +1 -0
- package/dist/src/orchestrator/dto/create-shared-library.dto.d.ts +12 -0
- package/dist/src/orchestrator/dto/create-shared-library.dto.d.ts.map +1 -0
- package/dist/src/orchestrator/dto/create-shared-library.dto.js +3 -0
- package/dist/src/orchestrator/dto/create-shared-library.dto.js.map +1 -0
- package/dist/src/orchestrator/dto/delete-shared-library.dto.d.ts +4 -0
- package/dist/src/orchestrator/dto/delete-shared-library.dto.d.ts.map +1 -0
- package/dist/src/orchestrator/dto/delete-shared-library.dto.js +3 -0
- package/dist/src/orchestrator/dto/delete-shared-library.dto.js.map +1 -0
- package/dist/src/orchestrator/dto/index.d.ts +5 -0
- package/dist/src/orchestrator/dto/index.d.ts.map +1 -0
- package/dist/src/orchestrator/dto/index.js +21 -0
- package/dist/src/orchestrator/dto/index.js.map +1 -0
- package/dist/src/orchestrator/dto/shared-library-response.dto.d.ts +5 -0
- package/dist/src/orchestrator/dto/shared-library-response.dto.d.ts.map +1 -0
- package/dist/src/orchestrator/dto/shared-library-response.dto.js +3 -0
- package/dist/src/orchestrator/dto/shared-library-response.dto.js.map +1 -0
- package/dist/src/orchestrator/dto/update-shared-library.dto.d.ts +6 -0
- package/dist/src/orchestrator/dto/update-shared-library.dto.d.ts.map +1 -0
- package/dist/src/orchestrator/dto/update-shared-library.dto.js +3 -0
- package/dist/src/orchestrator/dto/update-shared-library.dto.js.map +1 -0
- package/dist/src/orchestrator/entities/SharedLibrary.entity.d.ts +8 -0
- package/dist/src/orchestrator/entities/SharedLibrary.entity.d.ts.map +1 -0
- package/dist/src/orchestrator/entities/SharedLibrary.entity.js +14 -0
- package/dist/src/orchestrator/entities/SharedLibrary.entity.js.map +1 -0
- package/dist/src/orchestrator/index.d.ts +2 -0
- package/dist/src/orchestrator/index.d.ts.map +1 -0
- package/dist/src/{pae → orchestrator}/index.js +1 -1
- package/dist/src/orchestrator/index.js.map +1 -0
- package/dist/src/orchestrator/orchestrator.service.d.ts +11 -0
- package/dist/src/orchestrator/orchestrator.service.d.ts.map +1 -0
- package/dist/src/orchestrator/orchestrator.service.js +36 -0
- package/dist/src/orchestrator/orchestrator.service.js.map +1 -0
- package/dist/src/tenants/index.d.ts +102 -0
- package/dist/src/tenants/index.d.ts.map +1 -0
- package/dist/src/tenants/index.js +52 -0
- package/dist/src/tenants/index.js.map +1 -0
- package/dist/src/ui/ExtensionPointsRegistry.d.ts +43 -0
- package/dist/src/ui/ExtensionPointsRegistry.d.ts.map +1 -0
- package/dist/src/ui/ExtensionPointsRegistry.js +3 -0
- package/dist/src/ui/ExtensionPointsRegistry.js.map +1 -0
- package/dist/tests/application-examples.d.ts +5 -0
- package/dist/tests/application-examples.d.ts.map +1 -0
- package/dist/tests/application-examples.js +22 -0
- package/dist/tests/application-examples.js.map +1 -0
- package/dist/tests/operation-examples.d.ts +5 -0
- package/dist/tests/operation-examples.d.ts.map +1 -0
- package/dist/tests/operation-examples.js +20 -0
- package/dist/tests/operation-examples.js.map +1 -0
- package/package.json +17 -13
- package/dist/src/authentication/auth-user.interface.d.ts +0 -13
- package/dist/src/authentication/auth-user.interface.d.ts.map +0 -1
- package/dist/src/authentication/auth-user.interface.js.map +0 -1
- package/dist/src/authorization/allowed-resources.interface.d.ts +0 -7
- package/dist/src/authorization/allowed-resources.interface.d.ts.map +0 -1
- package/dist/src/authorization/allowed-resources.interface.js.map +0 -1
- package/dist/src/authorization/application.model.d.ts +0 -7
- package/dist/src/authorization/application.model.d.ts.map +0 -1
- package/dist/src/authorization/application.model.js +0 -14
- package/dist/src/authorization/application.model.js.map +0 -1
- package/dist/src/authorization/authorization-repository.interface.d.ts +0 -9
- package/dist/src/authorization/authorization-repository.interface.d.ts.map +0 -1
- package/dist/src/authorization/authorization-repository.interface.js.map +0 -1
- package/dist/src/authorization/constants.d.ts +0 -3
- package/dist/src/authorization/constants.d.ts.map +0 -1
- package/dist/src/authorization/constants.js +0 -6
- package/dist/src/authorization/constants.js.map +0 -1
- package/dist/src/authorization/operation.model.d.ts +0 -10
- package/dist/src/authorization/operation.model.d.ts.map +0 -1
- package/dist/src/authorization/operation.model.js +0 -19
- package/dist/src/authorization/operation.model.js.map +0 -1
- package/dist/src/authorization/repositories/http.repository.d.ts +0 -15
- package/dist/src/authorization/repositories/http.repository.d.ts.map +0 -1
- package/dist/src/authorization/repositories/http.repository.js +0 -157
- package/dist/src/authorization/repositories/http.repository.js.map +0 -1
- package/dist/src/authorization/repositories/index.d.ts +0 -2
- package/dist/src/authorization/repositories/index.d.ts.map +0 -1
- package/dist/src/authorization/repositories/index.js.map +0 -1
- package/dist/src/authorization/rule.model.d.ts +0 -11
- package/dist/src/authorization/rule.model.d.ts.map +0 -1
- package/dist/src/authorization/rule.model.js +0 -18
- package/dist/src/authorization/rule.model.js.map +0 -1
- package/dist/src/authorization/utilities/filter-app-operations.d.ts +0 -3
- package/dist/src/authorization/utilities/filter-app-operations.d.ts.map +0 -1
- package/dist/src/authorization/utilities/filter-app-operations.js +0 -8
- package/dist/src/authorization/utilities/filter-app-operations.js.map +0 -1
- package/dist/src/authorization/utilities/get-operations.utility.d.ts +0 -8
- package/dist/src/authorization/utilities/get-operations.utility.d.ts.map +0 -1
- package/dist/src/authorization/utilities/get-operations.utility.js +0 -33
- package/dist/src/authorization/utilities/get-operations.utility.js.map +0 -1
- package/dist/src/authorization/utilities/get-route-operations.d.ts +0 -4
- package/dist/src/authorization/utilities/get-route-operations.d.ts.map +0 -1
- package/dist/src/authorization/utilities/get-route-operations.js +0 -45
- package/dist/src/authorization/utilities/get-route-operations.js.map +0 -1
- package/dist/src/authorization/utilities/index.d.ts +0 -2
- package/dist/src/authorization/utilities/index.d.ts.map +0 -1
- package/dist/src/authorization/utilities/index.js +0 -6
- package/dist/src/authorization/utilities/index.js.map +0 -1
- package/dist/src/authorization/utilities/is-authorized.utility.d.ts +0 -6
- package/dist/src/authorization/utilities/is-authorized.utility.d.ts.map +0 -1
- package/dist/src/authorization/utilities/is-authorized.utility.js +0 -21
- package/dist/src/authorization/utilities/is-authorized.utility.js.map +0 -1
- package/dist/src/catalog/authorization.interface.d.ts.map +0 -1
- package/dist/src/catalog/authorization.interface.js.map +0 -1
- package/dist/src/catalog/catalog-repository.interface.d.ts +0 -5
- package/dist/src/catalog/catalog-repository.interface.d.ts.map +0 -1
- package/dist/src/catalog/catalog-repository.interface.js.map +0 -1
- package/dist/src/catalog/module-metadata.interface.d.ts +0 -47
- package/dist/src/catalog/module-metadata.interface.d.ts.map +0 -1
- package/dist/src/catalog/module-metadata.interface.js.map +0 -1
- package/dist/src/catalog/repositories/http.repository.d.ts +0 -9
- package/dist/src/catalog/repositories/http.repository.d.ts.map +0 -1
- package/dist/src/catalog/repositories/http.repository.js +0 -40
- package/dist/src/catalog/repositories/http.repository.js.map +0 -1
- package/dist/src/catalog/repositories/index.d.ts +0 -2
- package/dist/src/catalog/repositories/index.d.ts.map +0 -1
- package/dist/src/catalog/repositories/index.js.map +0 -1
- package/dist/src/catalog/service-config.interface.d.ts +0 -17
- package/dist/src/catalog/service-config.interface.d.ts.map +0 -1
- package/dist/src/catalog/service-config.interface.js.map +0 -1
- package/dist/src/catalog/ui-config.interface.d.ts.map +0 -1
- package/dist/src/catalog/ui-config.interface.js.map +0 -1
- package/dist/src/catalog/ui-types.constants.d.ts.map +0 -1
- package/dist/src/catalog/ui-types.constants.js.map +0 -1
- package/dist/src/catalog/versions/enrichAppWithVersionMetadata.d.ts +0 -8
- package/dist/src/catalog/versions/enrichAppWithVersionMetadata.d.ts.map +0 -1
- package/dist/src/catalog/versions/enrichAppWithVersionMetadata.js +0 -50
- package/dist/src/catalog/versions/enrichAppWithVersionMetadata.js.map +0 -1
- package/dist/src/catalog/versions/fetchRuntimeMetadata.d.ts +0 -13
- package/dist/src/catalog/versions/fetchRuntimeMetadata.d.ts.map +0 -1
- package/dist/src/catalog/versions/fetchRuntimeMetadata.js +0 -45
- package/dist/src/catalog/versions/fetchRuntimeMetadata.js.map +0 -1
- package/dist/src/gateway/gateway.service.d.ts +0 -7
- package/dist/src/gateway/gateway.service.d.ts.map +0 -1
- package/dist/src/gateway/gateway.service.js +0 -13
- package/dist/src/gateway/gateway.service.js.map +0 -1
- package/dist/src/gateway/get-from-header.d.ts +0 -3
- package/dist/src/gateway/get-from-header.d.ts.map +0 -1
- package/dist/src/gateway/get-from-header.js +0 -11
- package/dist/src/gateway/get-from-header.js.map +0 -1
- package/dist/src/gateway/headers.d.ts +0 -5
- package/dist/src/gateway/headers.d.ts.map +0 -1
- package/dist/src/gateway/headers.js +0 -8
- package/dist/src/gateway/headers.js.map +0 -1
- package/dist/src/pae/config.interface.d.ts +0 -15
- package/dist/src/pae/config.interface.d.ts.map +0 -1
- package/dist/src/pae/config.interface.js.map +0 -1
- package/dist/src/pae/index.d.ts +0 -2
- package/dist/src/pae/index.d.ts.map +0 -1
- package/dist/src/pae/index.js.map +0 -1
- package/dist/src/pae/pae.d.ts +0 -17
- package/dist/src/pae/pae.d.ts.map +0 -1
- package/dist/src/pae/pae.js +0 -110
- package/dist/src/pae/pae.js.map +0 -1
- package/dist/src/user/group.interface.d.ts +0 -2
- package/dist/src/user/group.interface.d.ts.map +0 -1
- package/dist/src/user/group.interface.js.map +0 -1
- package/dist/src/user/repositories/http.repository.d.ts +0 -8
- package/dist/src/user/repositories/http.repository.d.ts.map +0 -1
- package/dist/src/user/repositories/http.repository.js +0 -39
- package/dist/src/user/repositories/http.repository.js.map +0 -1
- package/dist/src/user/repositories/index.d.ts +0 -2
- package/dist/src/user/repositories/index.d.ts.map +0 -1
- package/dist/src/user/repositories/index.js.map +0 -1
- package/dist/src/user/user-repository.interface.d.ts +0 -5
- package/dist/src/user/user-repository.interface.d.ts.map +0 -1
- package/dist/src/user/user-repository.interface.js +0 -3
- package/dist/src/user/user-repository.interface.js.map +0 -1
- package/dist/src/user/user.service.d.ts +0 -7
- package/dist/src/user/user.service.d.ts.map +0 -1
- package/dist/src/user/user.service.js.map +0 -1
- package/dist/src/utilities.d.ts +0 -3
- package/dist/src/utilities.d.ts.map +0 -1
- package/dist/src/utilities.js.map +0 -1
- /package/dist/src/{authentication → auth/domain}/auth-user.interface.js +0 -0
- /package/dist/src/catalog/{authorization.interface.d.ts → entities/module-metadata/authorization.interface.d.ts} +0 -0
- /package/dist/src/catalog/{authorization.interface.js → entities/module-metadata/authorization.interface.js} +0 -0
- /package/dist/src/catalog/{service-config.interface.js → entities/module-metadata/service-config.interface.js} +0 -0
- /package/dist/src/catalog/{ui-config.interface.js → entities/module-metadata/ui-config.interface.js} +0 -0
- /package/dist/src/catalog/{ui-types.constants.d.ts → entities/module-metadata/ui-types.constants.d.ts} +0 -0
- /package/dist/src/catalog/{ui-types.constants.js → entities/module-metadata/ui-types.constants.js} +0 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Rule } from "../entities/rule.entity";
|
|
2
|
+
export interface SyncAssignmentDTO {
|
|
3
|
+
subject: string;
|
|
4
|
+
denied?: boolean;
|
|
5
|
+
}
|
|
6
|
+
export interface SyncAssignmentsDTO {
|
|
7
|
+
applicationName: string;
|
|
8
|
+
resourceType: Rule['resourceType'];
|
|
9
|
+
resourceName: Rule['resourceName'];
|
|
10
|
+
subjectType: Rule['subjectType'];
|
|
11
|
+
assignments: SyncAssignmentDTO[];
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=sync-assignments.dto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sync-assignments.dto.d.ts","sourceRoot":"","sources":["../../../../src/authorization/dto/sync-assignments.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAE/C,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,kBAAkB;IACjC,eAAe,EAAE,MAAM,CAAC;IACxB,YAAY,EAAE,IAAI,CAAC,cAAc,CAAC,CAAC;IACnC,YAAY,EAAE,IAAI,CAAC,cAAc,CAAC,CAAC;IACnC,WAAW,EAAE,IAAI,CAAC,aAAa,CAAC,CAAC;IACjC,WAAW,EAAE,iBAAiB,EAAE,CAAC;CAClC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sync-assignments.dto.js","sourceRoot":"","sources":["../../../../src/authorization/dto/sync-assignments.dto.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-application.dto.d.ts","sourceRoot":"","sources":["../../../../src/authorization/dto/update-application.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAEhE,MAAM,WAAW,oBAAqB,SAAQ,IAAI,CAAC,oBAAoB,EAAE,MAAM,CAAC;IAC9E,eAAe,EAAE,MAAM,CAAC;CACzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-application.dto.js","sourceRoot":"","sources":["../../../../src/authorization/dto/update-application.dto.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-operation.dto.d.ts","sourceRoot":"","sources":["../../../../src/authorization/dto/update-operation.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAE5D,MAAM,WAAW,kBAAmB,SAAQ,kBAAkB;CAAI"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-operation.dto.js","sourceRoot":"","sources":["../../../../src/authorization/dto/update-operation.dto.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-role.dto.d.ts","sourceRoot":"","sources":["../../../../src/authorization/dto/update-role.dto.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC5B,eAAe,EAAE,MAAM,CAAC;IACxB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-role.dto.js","sourceRoot":"","sources":["../../../../src/authorization/dto/update-role.dto.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-rule.dto.d.ts","sourceRoot":"","sources":["../../../../src/authorization/dto/update-rule.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD,MAAM,WAAW,aAAc,SAAQ,OAAO,CAAC,aAAa,CAAC;IAC3D,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,MAAM,CAAC;CACzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-rule.dto.js","sourceRoot":"","sources":["../../../../src/authorization/dto/update-rule.dto.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Application } from "../application.entity";
|
|
2
|
+
import { Operation } from "../operation.entity";
|
|
3
|
+
import { Role } from "../role.entity";
|
|
4
|
+
import { Rule } from "../rule.entity";
|
|
5
|
+
export interface AdminUIRule extends Omit<Rule, 'applicationId' | 'resourceId' | 'resourceType'> {
|
|
6
|
+
}
|
|
7
|
+
export interface AdminUIOperation extends Omit<Operation, 'applicationId'> {
|
|
8
|
+
rules: AdminUIRule[];
|
|
9
|
+
}
|
|
10
|
+
export interface AdminUIRole extends Omit<Role, 'applicationId'> {
|
|
11
|
+
rules: AdminUIRule[];
|
|
12
|
+
}
|
|
13
|
+
export interface AdminUIOperationRole {
|
|
14
|
+
operationId: number;
|
|
15
|
+
roleId: number;
|
|
16
|
+
}
|
|
17
|
+
export interface AdminUIApplication extends Application {
|
|
18
|
+
operations: AdminUIOperation[];
|
|
19
|
+
roles: AdminUIRole[];
|
|
20
|
+
operationsRoles: AdminUIOperationRole[];
|
|
21
|
+
rules: AdminUIRule[];
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=admin-ui.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"admin-ui.d.ts","sourceRoot":"","sources":["../../../../../src/authorization/entities/admin-ui/admin-ui.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AACtC,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAGtC,MAAM,WAAW,WAAY,SAAQ,IAAI,CAAC,IAAI,EAAE,eAAe,GAAG,YAAY,GAAG,cAAc,CAAC;CAAG;AAEnG,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAAC,SAAS,EAAE,eAAe,CAAC;IACxE,KAAK,EAAE,WAAW,EAAE,CAAC;CACtB;AAED,MAAM,WAAW,WAAY,SAAQ,IAAI,CAAC,IAAI,EAAE,eAAe,CAAC;IAC9D,KAAK,EAAE,WAAW,EAAE,CAAC;CACtB;AAED,MAAM,WAAW,oBAAoB;IACnC,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,kBAAmB,SAAQ,WAAW;IACrD,UAAU,EAAE,gBAAgB,EAAE,CAAC;IAC/B,KAAK,EAAE,WAAW,EAAE,CAAC;IACrB,eAAe,EAAE,oBAAoB,EAAE,CAAC;IACxC,KAAK,EAAE,WAAW,EAAE,CAAC;CACtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"admin-ui.js","sourceRoot":"","sources":["../../../../../src/authorization/entities/admin-ui/admin-ui.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { AdminUIDataResponseDTO } from "../dto/get-admin-ui-response.dto";
|
|
2
|
+
import { Application } from "./application.entity";
|
|
3
|
+
import { Operation } from "./operation.entity";
|
|
4
|
+
import { Role } from "./role.entity";
|
|
5
|
+
import { Rule } from "./rule.entity";
|
|
6
|
+
interface AdminUIRule extends Omit<Rule, 'applicationId' | 'resourceId' | 'resourceType'> {
|
|
7
|
+
}
|
|
8
|
+
interface AdminUIOperation extends Omit<Operation, 'applicationId'> {
|
|
9
|
+
rules: AdminUIRule[];
|
|
10
|
+
}
|
|
11
|
+
interface AdminUIRole extends Omit<Role, 'applicationId'> {
|
|
12
|
+
rules: AdminUIRule[];
|
|
13
|
+
}
|
|
14
|
+
interface AdminUIOperationRole {
|
|
15
|
+
operationId: number;
|
|
16
|
+
roleId: number;
|
|
17
|
+
}
|
|
18
|
+
export declare class AdminUIData extends Application {
|
|
19
|
+
readonly operations: AdminUIOperation[];
|
|
20
|
+
readonly roles: AdminUIRole[];
|
|
21
|
+
readonly operationsRoles: AdminUIOperationRole[];
|
|
22
|
+
readonly rules: AdminUIRule[];
|
|
23
|
+
readonly id: number;
|
|
24
|
+
readonly name: string;
|
|
25
|
+
readonly displayName: string;
|
|
26
|
+
readonly isGlobal: boolean;
|
|
27
|
+
readonly allowedByDefault: boolean;
|
|
28
|
+
readonly createdAt: Date;
|
|
29
|
+
readonly createdBy: string;
|
|
30
|
+
readonly updatedAt: Date;
|
|
31
|
+
readonly updatedBy: string;
|
|
32
|
+
readonly description?: string | undefined;
|
|
33
|
+
constructor(operations: AdminUIOperation[], roles: AdminUIRole[], operationsRoles: AdminUIOperationRole[], rules: AdminUIRule[], id: number, name: string, displayName: string, isGlobal: boolean, allowedByDefault: boolean, createdAt: Date, createdBy: string, updatedAt: Date, updatedBy: string, description?: string | undefined);
|
|
34
|
+
static fromDTO(dto: AdminUIDataResponseDTO): AdminUIData;
|
|
35
|
+
}
|
|
36
|
+
export {};
|
|
37
|
+
//# sourceMappingURL=admin-ui-data.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"admin-ui-data.entity.d.ts","sourceRoot":"","sources":["../../../../src/authorization/entities/admin-ui-data.entity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAC1E,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACrC,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAErC,UAAU,WAAY,SAAQ,IAAI,CAAC,IAAI,EAAE,eAAe,GAAG,YAAY,GAAG,cAAc,CAAC;CAAG;AAE5F,UAAU,gBAAiB,SAAQ,IAAI,CAAC,SAAS,EAAE,eAAe,CAAC;IACjE,KAAK,EAAE,WAAW,EAAE,CAAC;CACtB;AAED,UAAU,WAAY,SAAQ,IAAI,CAAC,IAAI,EAAE,eAAe,CAAC;IACvD,KAAK,EAAE,WAAW,EAAE,CAAC;CACtB;AAED,UAAU,oBAAoB;IAC5B,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,qBAAa,WAAY,SAAQ,WAAW;IAExC,QAAQ,CAAC,UAAU,EAAE,gBAAgB,EAAE;IACvC,QAAQ,CAAC,KAAK,EAAE,WAAW,EAAE;IAC7B,QAAQ,CAAC,eAAe,EAAE,oBAAoB,EAAE;IAChD,QAAQ,CAAC,KAAK,EAAE,WAAW,EAAE;IAC7B,QAAQ,CAAC,EAAE,EAAE,MAAM;IACnB,QAAQ,CAAC,IAAI,EAAE,MAAM;IACrB,QAAQ,CAAC,WAAW,EAAE,MAAM;IAC5B,QAAQ,CAAC,QAAQ,EAAE,OAAO;IAC1B,QAAQ,CAAC,gBAAgB,EAAE,OAAO;IAClC,QAAQ,CAAC,SAAS,EAAE,IAAI;IACxB,QAAQ,CAAC,SAAS,EAAE,MAAM;IAC1B,QAAQ,CAAC,SAAS,EAAE,IAAI;IACxB,QAAQ,CAAC,SAAS,EAAE,MAAM;IAC1B,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM;gBAbpB,UAAU,EAAE,gBAAgB,EAAE,EAC9B,KAAK,EAAE,WAAW,EAAE,EACpB,eAAe,EAAE,oBAAoB,EAAE,EACvC,KAAK,EAAE,WAAW,EAAE,EACpB,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,MAAM,EACZ,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,OAAO,EACjB,gBAAgB,EAAE,OAAO,EACzB,SAAS,EAAE,IAAI,EACf,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,IAAI,EACf,SAAS,EAAE,MAAM,EACjB,WAAW,CAAC,EAAE,MAAM,YAAA;IAgB/B,MAAM,CAAC,OAAO,CAAC,GAAG,EAAE,sBAAsB,GAAG,WAAW;CAiDzD"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AdminUIData = void 0;
|
|
4
|
+
const global_application_name_1 = require("../../common/global-application-name");
|
|
5
|
+
const application_entity_1 = require("./application.entity");
|
|
6
|
+
class AdminUIData extends application_entity_1.Application {
|
|
7
|
+
constructor(operations, roles, operationsRoles, rules, id, name, displayName, isGlobal, allowedByDefault, createdAt, createdBy, updatedAt, updatedBy, description) {
|
|
8
|
+
super(id, name, displayName, isGlobal, allowedByDefault, createdAt, createdBy, updatedAt, updatedBy, description);
|
|
9
|
+
this.operations = operations;
|
|
10
|
+
this.roles = roles;
|
|
11
|
+
this.operationsRoles = operationsRoles;
|
|
12
|
+
this.rules = rules;
|
|
13
|
+
this.id = id;
|
|
14
|
+
this.name = name;
|
|
15
|
+
this.displayName = displayName;
|
|
16
|
+
this.isGlobal = isGlobal;
|
|
17
|
+
this.allowedByDefault = allowedByDefault;
|
|
18
|
+
this.createdAt = createdAt;
|
|
19
|
+
this.createdBy = createdBy;
|
|
20
|
+
this.updatedAt = updatedAt;
|
|
21
|
+
this.updatedBy = updatedBy;
|
|
22
|
+
this.description = description;
|
|
23
|
+
}
|
|
24
|
+
static fromDTO(dto) {
|
|
25
|
+
var _a;
|
|
26
|
+
return new AdminUIData(dto.operations.map(operation => (Object.assign(Object.assign({}, operation), { rules: operation.rules
|
|
27
|
+
.map(rule => (Object.assign(Object.assign({}, rule), { denied: !!rule.denied, createdAt: new Date(rule.createdAt), updatedAt: new Date(rule.updatedAt) })))
|
|
28
|
+
.sort((a, b) => a.subject.localeCompare(b.subject)), createdAt: new Date(operation.createdAt), updatedAt: new Date(operation.updatedAt) }))), dto.roles.map(role => (Object.assign(Object.assign({}, role), { rules: role.rules
|
|
29
|
+
.map(rule => (Object.assign(Object.assign({}, rule), { denied: !!rule.denied, createdAt: new Date(rule.createdAt), updatedAt: new Date(rule.updatedAt) })))
|
|
30
|
+
.sort((a, b) => a.subject.localeCompare(b.subject)), createdAt: new Date(role.createdAt), updatedAt: new Date(role.updatedAt) }))), dto.operationsRoles, dto.rules.
|
|
31
|
+
map(rule => (Object.assign(Object.assign({}, rule), { denied: !!rule.denied, createdAt: new Date(rule.createdAt), updatedAt: new Date(rule.updatedAt) })))
|
|
32
|
+
.sort((a, b) => a.subject.localeCompare(b.subject)), dto.id, dto.name, (_a = dto.displayName) !== null && _a !== void 0 ? _a : dto.name, global_application_name_1.GLOBAL_APPLICATION_NAME === dto.name, dto.allowedByDefault, new Date(dto.createdAt), dto.createdBy, new Date(dto.updatedAt), dto.updatedBy, dto.description);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
exports.AdminUIData = AdminUIData;
|
|
36
|
+
//# sourceMappingURL=admin-ui-data.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"admin-ui-data.entity.js","sourceRoot":"","sources":["../../../../src/authorization/entities/admin-ui-data.entity.ts"],"names":[],"mappings":";;;AAAA,kFAA+E;AAE/E,6DAAmD;AAoBnD,MAAa,WAAY,SAAQ,gCAAW;IAC1C,YACW,UAA8B,EAC9B,KAAoB,EACpB,eAAuC,EACvC,KAAoB,EACpB,EAAU,EACV,IAAY,EACZ,WAAmB,EACnB,QAAiB,EACjB,gBAAyB,EACzB,SAAe,EACf,SAAiB,EACjB,SAAe,EACf,SAAiB,EACjB,WAAoB;QAE7B,KAAK,CACH,EAAE,EACF,IAAI,EACJ,WAAW,EACX,QAAQ,EACR,gBAAgB,EAChB,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,WAAW,CACZ,CAAC;QA1BO,eAAU,GAAV,UAAU,CAAoB;QAC9B,UAAK,GAAL,KAAK,CAAe;QACpB,oBAAe,GAAf,eAAe,CAAwB;QACvC,UAAK,GAAL,KAAK,CAAe;QACpB,OAAE,GAAF,EAAE,CAAQ;QACV,SAAI,GAAJ,IAAI,CAAQ;QACZ,gBAAW,GAAX,WAAW,CAAQ;QACnB,aAAQ,GAAR,QAAQ,CAAS;QACjB,qBAAgB,GAAhB,gBAAgB,CAAS;QACzB,cAAS,GAAT,SAAS,CAAM;QACf,cAAS,GAAT,SAAS,CAAQ;QACjB,cAAS,GAAT,SAAS,CAAM;QACf,cAAS,GAAT,SAAS,CAAQ;QACjB,gBAAW,GAAX,WAAW,CAAS;IAc/B,CAAC;IAED,MAAM,CAAC,OAAO,CAAC,GAA2B;;QACxC,OAAO,IAAI,WAAW,CACpB,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,SAAS,CAAC,EAAE,CAAC,iCAC3B,SAAS,KACZ,KAAK,EAAE,SAAS,CAAC,KAAK;iBACnB,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,iCACR,IAAI,KACP,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,MAAM,EACrB,SAAS,EAAE,IAAI,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,EACnC,SAAS,EAAE,IAAI,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,IACnC,CAAC;iBACF,IAAI,CAAC,CAAC,CAAC,EAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,EACpD,SAAS,EAAE,IAAI,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,EACxC,SAAS,EAAE,IAAI,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,IACxC,CAAC,EACH,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,iCACjB,IAAI,KACP,KAAK,EAAE,IAAI,CAAC,KAAK;iBACd,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,iCACR,IAAI,KACP,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,MAAM,EACrB,SAAS,EAAE,IAAI,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,EACnC,SAAS,EAAE,IAAI,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,IACnC,CAAC;iBACF,IAAI,CAAC,CAAC,CAAC,EAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,EACpD,SAAS,EAAE,IAAI,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,EACnC,SAAS,EAAE,IAAI,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,IACnC,CAAC,EACH,GAAG,CAAC,eAAe,EACnB,GAAG,CAAC,KAAK;YACP,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,iCACP,IAAI,KACP,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,MAAM,EACrB,SAAS,EAAE,IAAI,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,EACnC,SAAS,EAAE,IAAI,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,IACnC,CAAC;aACF,IAAI,CAAC,CAAC,CAAC,EAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,EACpD,GAAG,CAAC,EAAE,EACN,GAAG,CAAC,IAAI,EACR,MAAA,GAAG,CAAC,WAAW,mCAAI,GAAG,CAAC,IAAI,EAC3B,iDAAuB,KAAK,GAAG,CAAC,IAAI,EACpC,GAAG,CAAC,gBAAgB,EACpB,IAAI,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,EACvB,GAAG,CAAC,SAAS,EACb,IAAI,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,EACvB,GAAG,CAAC,SAAS,EACb,GAAG,CAAC,WAAW,CAChB,CAAC;IACJ,CAAC;CACF;AAhFD,kCAgFC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AllowedResourcesResponseDTO } from "../dto/allowed-resources-response.dto";
|
|
2
|
+
import { ApplicationWithOperations } from "../isAuthorized/application-with-operations";
|
|
3
|
+
export declare class AllowedResources {
|
|
4
|
+
applications: ApplicationWithOperations[];
|
|
5
|
+
constructor(applications: ApplicationWithOperations[]);
|
|
6
|
+
static fromDTO(dto: AllowedResourcesResponseDTO): AllowedResources;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=allowed-resources.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"allowed-resources.entity.d.ts","sourceRoot":"","sources":["../../../../src/authorization/entities/allowed-resources.entity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,2BAA2B,EAAE,MAAM,uCAAuC,CAAC;AACpF,OAAO,EAAE,yBAAyB,EAAE,MAAM,6CAA6C,CAAC;AAIxF,qBAAa,gBAAgB;IAElB,YAAY,EAAE,yBAAyB,EAAE;gBAAzC,YAAY,EAAE,yBAAyB,EAAE;IAGlD,MAAM,CAAC,OAAO,CAAC,GAAG,EAAE,2BAA2B,GAAG,gBAAgB;CAQnE"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AllowedResources = void 0;
|
|
4
|
+
const ramda_1 = require("ramda");
|
|
5
|
+
const application_entity_1 = require("./application.entity");
|
|
6
|
+
const operation_entity_1 = require("./operation.entity");
|
|
7
|
+
class AllowedResources {
|
|
8
|
+
constructor(applications) {
|
|
9
|
+
this.applications = applications;
|
|
10
|
+
}
|
|
11
|
+
static fromDTO(dto) {
|
|
12
|
+
return new AllowedResources(dto.applications.map(app => (Object.assign(Object.assign({}, application_entity_1.Application.fromDTO((0, ramda_1.omit)(['operations'], app))), { operations: app.operations.map(op => operation_entity_1.Operation.fromDTO(op)) }))));
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
exports.AllowedResources = AllowedResources;
|
|
16
|
+
//# sourceMappingURL=allowed-resources.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"allowed-resources.entity.js","sourceRoot":"","sources":["../../../../src/authorization/entities/allowed-resources.entity.ts"],"names":[],"mappings":";;;AAAA,iCAA6B;AAG7B,6DAAmD;AACnD,yDAA+C;AAE/C,MAAa,gBAAgB;IAC3B,YACS,YAAyC;QAAzC,iBAAY,GAAZ,YAAY,CAA6B;IAC9C,CAAC;IAEL,MAAM,CAAC,OAAO,CAAC,GAAgC;QAC7C,OAAO,IAAI,gBAAgB,CACzB,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,iCACvB,gCAAW,CAAC,OAAO,CAAC,IAAA,YAAI,EAAC,CAAC,YAAY,CAAC,EAAE,GAAG,CAAC,CAAC,KACjD,UAAU,EAAE,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,4BAAS,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,IAC3D,CAAC,CACJ,CAAC;IACJ,CAAC;CACF;AAbD,4CAaC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Auditable } from "../../common/auditable.interface";
|
|
2
|
+
import { ApplicationResponseDTO } from "../dto/application-response.dto";
|
|
3
|
+
export declare class Application implements Auditable {
|
|
4
|
+
id: number;
|
|
5
|
+
name: string;
|
|
6
|
+
displayName: string;
|
|
7
|
+
isGlobal: boolean;
|
|
8
|
+
allowedByDefault: boolean;
|
|
9
|
+
createdAt: Date;
|
|
10
|
+
createdBy: string;
|
|
11
|
+
updatedAt: Date;
|
|
12
|
+
updatedBy: string;
|
|
13
|
+
description?: string | undefined;
|
|
14
|
+
constructor(id: number, name: string, displayName: string, isGlobal: boolean, allowedByDefault: boolean, createdAt: Date, createdBy: string, updatedAt: Date, updatedBy: string, description?: string | undefined);
|
|
15
|
+
static fromDTO(dto: ApplicationResponseDTO): Application;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=application.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"application.entity.d.ts","sourceRoot":"","sources":["../../../../src/authorization/entities/application.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAE7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AAEzE,qBAAa,WAAY,YAAW,SAAS;IAGlC,EAAE,EAAE,MAAM;IACV,IAAI,EAAE,MAAM;IACZ,WAAW,EAAE,MAAM;IACnB,QAAQ,EAAE,OAAO;IACjB,gBAAgB,EAAE,OAAO;IACzB,SAAS,EAAE,IAAI;IACf,SAAS,EAAE,MAAM;IACjB,SAAS,EAAE,IAAI;IACf,SAAS,EAAE,MAAM;IACjB,WAAW,CAAC,EAAE,MAAM;gBATpB,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,MAAM,EACZ,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,OAAO,EACjB,gBAAgB,EAAE,OAAO,EACzB,SAAS,EAAE,IAAI,EACf,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,IAAI,EACf,SAAS,EAAE,MAAM,EACjB,WAAW,CAAC,EAAE,MAAM,YAAA;IAG7B,MAAM,CAAC,OAAO,CAAC,GAAG,EAAE,sBAAsB,GAAG,WAAW;CAczD"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Application = void 0;
|
|
4
|
+
const global_application_name_1 = require("../../common/global-application-name");
|
|
5
|
+
class Application {
|
|
6
|
+
constructor(id, name, displayName, isGlobal, allowedByDefault, createdAt, createdBy, updatedAt, updatedBy, description) {
|
|
7
|
+
this.id = id;
|
|
8
|
+
this.name = name;
|
|
9
|
+
this.displayName = displayName;
|
|
10
|
+
this.isGlobal = isGlobal;
|
|
11
|
+
this.allowedByDefault = allowedByDefault;
|
|
12
|
+
this.createdAt = createdAt;
|
|
13
|
+
this.createdBy = createdBy;
|
|
14
|
+
this.updatedAt = updatedAt;
|
|
15
|
+
this.updatedBy = updatedBy;
|
|
16
|
+
this.description = description;
|
|
17
|
+
}
|
|
18
|
+
static fromDTO(dto) {
|
|
19
|
+
var _a, _b;
|
|
20
|
+
return new Application(dto.id, dto.name, (_a = dto.displayName) !== null && _a !== void 0 ? _a : dto.name, dto.name === global_application_name_1.GLOBAL_APPLICATION_NAME, (_b = dto.allowedByDefault) !== null && _b !== void 0 ? _b : false, new Date(dto.createdAt), dto.createdBy, new Date(dto.updatedAt), dto.updatedBy, dto.description);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.Application = Application;
|
|
24
|
+
//# sourceMappingURL=application.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"application.entity.js","sourceRoot":"","sources":["../../../../src/authorization/entities/application.entity.ts"],"names":[],"mappings":";;;AACA,kFAA+E;AAG/E,MAAa,WAAW;IAEtB,YACS,EAAU,EACV,IAAY,EACZ,WAAmB,EACnB,QAAiB,EACjB,gBAAyB,EACzB,SAAe,EACf,SAAiB,EACjB,SAAe,EACf,SAAiB,EACjB,WAAoB;QATpB,OAAE,GAAF,EAAE,CAAQ;QACV,SAAI,GAAJ,IAAI,CAAQ;QACZ,gBAAW,GAAX,WAAW,CAAQ;QACnB,aAAQ,GAAR,QAAQ,CAAS;QACjB,qBAAgB,GAAhB,gBAAgB,CAAS;QACzB,cAAS,GAAT,SAAS,CAAM;QACf,cAAS,GAAT,SAAS,CAAQ;QACjB,cAAS,GAAT,SAAS,CAAM;QACf,cAAS,GAAT,SAAS,CAAQ;QACjB,gBAAW,GAAX,WAAW,CAAS;IACzB,CAAC;IAEL,MAAM,CAAC,OAAO,CAAC,GAA2B;;QACxC,OAAO,IAAI,WAAW,CACpB,GAAG,CAAC,EAAE,EACN,GAAG,CAAC,IAAI,EACR,MAAA,GAAG,CAAC,WAAW,mCAAI,GAAG,CAAC,IAAI,EAC3B,GAAG,CAAC,IAAI,KAAK,iDAAuB,EACpC,MAAA,GAAG,CAAC,gBAAgB,mCAAI,KAAK,EAC7B,IAAI,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,EACvB,GAAG,CAAC,SAAS,EACb,IAAI,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,EACvB,GAAG,CAAC,SAAS,EACb,GAAG,CAAC,WAAW,CAChB,CAAC;IACJ,CAAC;CACF;AA7BD,kCA6BC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { OperationResponseDTO } from "../dto/operation-response.dto";
|
|
2
|
+
export declare class Operation {
|
|
3
|
+
id: number;
|
|
4
|
+
name: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
applicationId: number;
|
|
7
|
+
createdAt: Date;
|
|
8
|
+
updatedAt: Date;
|
|
9
|
+
createdBy: string;
|
|
10
|
+
updatedBy: string;
|
|
11
|
+
static fromDTO(dto: OperationResponseDTO): Operation;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=operation.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operation.entity.d.ts","sourceRoot":"","sources":["../../../../src/authorization/entities/operation.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAErE,qBAAa,SAAS;IACpB,EAAE,EAAE,MAAM,CAAK;IACf,IAAI,EAAE,MAAM,CAAM;IAClB,WAAW,CAAC,EAAE,MAAM,CAAM;IAC1B,aAAa,EAAE,MAAM,CAAK;IAC1B,SAAS,EAAE,IAAI,CAAc;IAC7B,SAAS,EAAE,IAAI,CAAc;IAC7B,SAAS,EAAE,MAAM,CAAM;IACvB,SAAS,EAAE,MAAM,CAAM;IAEvB,MAAM,CAAC,OAAO,CAAC,GAAG,EAAE,oBAAoB,GAAG,SAAS;CAYrD"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Operation = void 0;
|
|
4
|
+
class Operation {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.id = 0;
|
|
7
|
+
this.name = '';
|
|
8
|
+
this.description = '';
|
|
9
|
+
this.applicationId = 0;
|
|
10
|
+
this.createdAt = new Date();
|
|
11
|
+
this.updatedAt = new Date();
|
|
12
|
+
this.createdBy = '';
|
|
13
|
+
this.updatedBy = '';
|
|
14
|
+
}
|
|
15
|
+
static fromDTO(dto) {
|
|
16
|
+
const operation = new Operation();
|
|
17
|
+
operation.id = dto.id;
|
|
18
|
+
operation.name = dto.name;
|
|
19
|
+
operation.description = dto.description;
|
|
20
|
+
operation.applicationId = dto.applicationId;
|
|
21
|
+
operation.createdAt = new Date(dto.createdAt);
|
|
22
|
+
operation.updatedAt = new Date(dto.updatedAt);
|
|
23
|
+
operation.createdBy = dto.createdBy;
|
|
24
|
+
operation.updatedBy = dto.updatedBy;
|
|
25
|
+
return operation;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
exports.Operation = Operation;
|
|
29
|
+
//# sourceMappingURL=operation.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operation.entity.js","sourceRoot":"","sources":["../../../../src/authorization/entities/operation.entity.ts"],"names":[],"mappings":";;;AAEA,MAAa,SAAS;IAAtB;QACE,OAAE,GAAW,CAAC,CAAC;QACf,SAAI,GAAW,EAAE,CAAC;QAClB,gBAAW,GAAY,EAAE,CAAC;QAC1B,kBAAa,GAAW,CAAC,CAAC;QAC1B,cAAS,GAAS,IAAI,IAAI,EAAE,CAAC;QAC7B,cAAS,GAAS,IAAI,IAAI,EAAE,CAAC;QAC7B,cAAS,GAAW,EAAE,CAAC;QACvB,cAAS,GAAW,EAAE,CAAC;IAczB,CAAC;IAZC,MAAM,CAAC,OAAO,CAAC,GAAyB;QACtC,MAAM,SAAS,GAAG,IAAI,SAAS,EAAE,CAAC;QAClC,SAAS,CAAC,EAAE,GAAG,GAAG,CAAC,EAAE,CAAC;QACtB,SAAS,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC;QAC1B,SAAS,CAAC,WAAW,GAAG,GAAG,CAAC,WAAW,CAAC;QACxC,SAAS,CAAC,aAAa,GAAG,GAAG,CAAC,aAAa,CAAC;QAC5C,SAAS,CAAC,SAAS,GAAG,IAAI,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;QAC9C,SAAS,CAAC,SAAS,GAAG,IAAI,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;QAC9C,SAAS,CAAC,SAAS,GAAG,GAAG,CAAC,SAAS,CAAC;QACpC,SAAS,CAAC,SAAS,GAAG,GAAG,CAAC,SAAS,CAAC;QACpC,OAAO,SAAS,CAAC;IACnB,CAAC;CACF;AAtBD,8BAsBC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Auditable } from "../../common/auditable.interface";
|
|
2
|
+
import { RoleResponseDTO } from "../dto/role-response.dto";
|
|
3
|
+
export declare class Role implements Auditable {
|
|
4
|
+
id: number;
|
|
5
|
+
name: string;
|
|
6
|
+
applicationId: number;
|
|
7
|
+
description?: string;
|
|
8
|
+
createdAt: Date;
|
|
9
|
+
updatedAt: Date;
|
|
10
|
+
createdBy: string;
|
|
11
|
+
updatedBy: string;
|
|
12
|
+
static fromDTO(dto: RoleResponseDTO): Role;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=role.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"role.entity.d.ts","sourceRoot":"","sources":["../../../../src/authorization/entities/role.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAE3D,qBAAa,IAAK,YAAW,SAAS;IACpC,EAAE,EAAE,MAAM,CAAK;IACf,IAAI,EAAE,MAAM,CAAM;IAClB,aAAa,EAAE,MAAM,CAAK;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,IAAI,CAAc;IAC7B,SAAS,EAAE,IAAI,CAAc;IAC7B,SAAS,EAAE,MAAM,CAAM;IACvB,SAAS,EAAE,MAAM,CAAM;IAGvB,MAAM,CAAC,OAAO,CAAC,GAAG,EAAE,eAAe,GAAG,IAAI;CAY3C"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Role = void 0;
|
|
4
|
+
class Role {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.id = 0;
|
|
7
|
+
this.name = '';
|
|
8
|
+
this.applicationId = 0;
|
|
9
|
+
this.createdAt = new Date();
|
|
10
|
+
this.updatedAt = new Date();
|
|
11
|
+
this.createdBy = '';
|
|
12
|
+
this.updatedBy = '';
|
|
13
|
+
}
|
|
14
|
+
static fromDTO(dto) {
|
|
15
|
+
const role = new Role();
|
|
16
|
+
role.id = dto.id;
|
|
17
|
+
role.applicationId = dto.applicationId;
|
|
18
|
+
role.name = dto.name;
|
|
19
|
+
role.description = dto.description;
|
|
20
|
+
role.createdAt = new Date(dto.createdAt);
|
|
21
|
+
role.updatedAt = new Date(dto.updatedAt);
|
|
22
|
+
role.createdBy = dto.createdBy;
|
|
23
|
+
role.updatedBy = dto.updatedBy;
|
|
24
|
+
return role;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
exports.Role = Role;
|
|
28
|
+
//# sourceMappingURL=role.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"role.entity.js","sourceRoot":"","sources":["../../../../src/authorization/entities/role.entity.ts"],"names":[],"mappings":";;;AAGA,MAAa,IAAI;IAAjB;QACE,OAAE,GAAW,CAAC,CAAC;QACf,SAAI,GAAW,EAAE,CAAC;QAClB,kBAAa,GAAW,CAAC,CAAC;QAE1B,cAAS,GAAS,IAAI,IAAI,EAAE,CAAC;QAC7B,cAAS,GAAS,IAAI,IAAI,EAAE,CAAC;QAC7B,cAAS,GAAW,EAAE,CAAC;QACvB,cAAS,GAAW,EAAE,CAAC;IAezB,CAAC;IAZC,MAAM,CAAC,OAAO,CAAC,GAAoB;QACjC,MAAM,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QACxB,IAAI,CAAC,EAAE,GAAG,GAAG,CAAC,EAAE,CAAC;QACjB,IAAI,CAAC,aAAa,GAAG,GAAG,CAAC,aAAa,CAAC;QACvC,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC;QACrB,IAAI,CAAC,WAAW,GAAG,GAAG,CAAC,WAAW,CAAC;QACnC,IAAI,CAAC,SAAS,GAAG,IAAI,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;QACzC,IAAI,CAAC,SAAS,GAAG,IAAI,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;QACzC,IAAI,CAAC,SAAS,GAAG,GAAG,CAAC,SAAS,CAAC;QAC/B,IAAI,CAAC,SAAS,GAAG,GAAG,CAAC,SAAS,CAAC;QAC/B,OAAO,IAAI,CAAC;IACd,CAAC;CACF;AAvBD,oBAuBC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Auditable } from "../../common/auditable.interface";
|
|
2
|
+
import { RuleResponseDTO } from "../dto/rule-response.dto";
|
|
3
|
+
export declare class Rule implements Auditable {
|
|
4
|
+
id: number;
|
|
5
|
+
subjectType: "user" | "group";
|
|
6
|
+
subject: string;
|
|
7
|
+
resourceType: "operation" | "role" | "application";
|
|
8
|
+
resourceId: number;
|
|
9
|
+
resourceName: string;
|
|
10
|
+
denied: boolean;
|
|
11
|
+
createdBy: string;
|
|
12
|
+
updatedBy: string;
|
|
13
|
+
createdAt: Date;
|
|
14
|
+
updatedAt: Date;
|
|
15
|
+
applicationId?: number | undefined;
|
|
16
|
+
constructor(id: number, subjectType: "user" | "group", subject: string, resourceType: "operation" | "role" | "application", resourceId: number, resourceName: string, denied: boolean, createdBy: string, updatedBy: string, createdAt: Date, updatedAt: Date, applicationId?: number | undefined);
|
|
17
|
+
static fromDTO(dto: RuleResponseDTO): Rule;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=rule.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rule.entity.d.ts","sourceRoot":"","sources":["../../../../src/authorization/entities/rule.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAE3D,qBAAa,IAAK,YAAW,SAAS;IAE3B,EAAE,EAAE,MAAM;IACV,WAAW,EAAE,MAAM,GAAG,OAAO;IAC7B,OAAO,EAAE,MAAM;IACf,YAAY,EAAE,WAAW,GAAG,MAAM,GAAG,aAAa;IAClD,UAAU,EAAE,MAAM;IAClB,YAAY,EAAE,MAAM;IACpB,MAAM,EAAE,OAAO;IACf,SAAS,EAAE,MAAM;IACjB,SAAS,EAAE,MAAM;IACjB,SAAS,EAAE,IAAI;IACf,SAAS,EAAE,IAAI;IACf,aAAa,CAAC,EAAE,MAAM;gBAXtB,EAAE,EAAE,MAAM,EACV,WAAW,EAAE,MAAM,GAAG,OAAO,EAC7B,OAAO,EAAE,MAAM,EACf,YAAY,EAAE,WAAW,GAAG,MAAM,GAAG,aAAa,EAClD,UAAU,EAAE,MAAM,EAClB,YAAY,EAAE,MAAM,EACpB,MAAM,EAAE,OAAO,EACf,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,IAAI,EACf,SAAS,EAAE,IAAI,EACf,aAAa,CAAC,EAAE,MAAM,YAAA;IAG/B,MAAM,CAAC,OAAO,CAAC,GAAG,EAAE,eAAe,GAAG,IAAI;CAgB3C"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Rule = void 0;
|
|
4
|
+
class Rule {
|
|
5
|
+
constructor(id, subjectType, subject, resourceType, resourceId, resourceName, denied, createdBy, updatedBy, createdAt, updatedAt, applicationId) {
|
|
6
|
+
this.id = id;
|
|
7
|
+
this.subjectType = subjectType;
|
|
8
|
+
this.subject = subject;
|
|
9
|
+
this.resourceType = resourceType;
|
|
10
|
+
this.resourceId = resourceId;
|
|
11
|
+
this.resourceName = resourceName;
|
|
12
|
+
this.denied = denied;
|
|
13
|
+
this.createdBy = createdBy;
|
|
14
|
+
this.updatedBy = updatedBy;
|
|
15
|
+
this.createdAt = createdAt;
|
|
16
|
+
this.updatedAt = updatedAt;
|
|
17
|
+
this.applicationId = applicationId;
|
|
18
|
+
}
|
|
19
|
+
static fromDTO(dto) {
|
|
20
|
+
var _a;
|
|
21
|
+
return new Rule(dto.id, dto.subjectType, dto.subject, dto.resourceType, dto.resourceId, dto.resourceName, (_a = dto.denied) !== null && _a !== void 0 ? _a : false, dto.createdBy, dto.updatedBy, new Date(dto.createdAt), new Date(dto.updatedAt), dto.applicationId);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
exports.Rule = Rule;
|
|
25
|
+
//# sourceMappingURL=rule.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rule.entity.js","sourceRoot":"","sources":["../../../../src/authorization/entities/rule.entity.ts"],"names":[],"mappings":";;;AAGA,MAAa,IAAI;IACf,YACS,EAAU,EACV,WAA6B,EAC7B,OAAe,EACf,YAAkD,EAClD,UAAkB,EAClB,YAAoB,EACpB,MAAe,EACf,SAAiB,EACjB,SAAiB,EACjB,SAAe,EACf,SAAe,EACf,aAAsB;QAXtB,OAAE,GAAF,EAAE,CAAQ;QACV,gBAAW,GAAX,WAAW,CAAkB;QAC7B,YAAO,GAAP,OAAO,CAAQ;QACf,iBAAY,GAAZ,YAAY,CAAsC;QAClD,eAAU,GAAV,UAAU,CAAQ;QAClB,iBAAY,GAAZ,YAAY,CAAQ;QACpB,WAAM,GAAN,MAAM,CAAS;QACf,cAAS,GAAT,SAAS,CAAQ;QACjB,cAAS,GAAT,SAAS,CAAQ;QACjB,cAAS,GAAT,SAAS,CAAM;QACf,cAAS,GAAT,SAAS,CAAM;QACf,kBAAa,GAAb,aAAa,CAAS;IAC3B,CAAC;IAEL,MAAM,CAAC,OAAO,CAAC,GAAoB;;QACjC,OAAO,IAAI,IAAI,CACb,GAAG,CAAC,EAAE,EACN,GAAG,CAAC,WAAW,EACf,GAAG,CAAC,OAAO,EACX,GAAG,CAAC,YAAY,EAChB,GAAG,CAAC,UAAU,EACd,GAAG,CAAC,YAAY,EAChB,MAAA,GAAG,CAAC,MAAM,mCAAI,KAAK,EACnB,GAAG,CAAC,SAAS,EACb,GAAG,CAAC,SAAS,EACb,IAAI,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,EACvB,IAAI,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,EACvB,GAAG,CAAC,aAAa,CAClB,CAAC;IACJ,CAAC;CACF;AAhCD,oBAgCC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export
|
|
5
|
-
export
|
|
1
|
+
export { Rule } from './entities/rule.entity';
|
|
2
|
+
export { Role } from './entities/role.entity';
|
|
3
|
+
export { Operation } from './entities/operation.entity';
|
|
4
|
+
export { Application } from './entities/application.entity';
|
|
5
|
+
export { createPAEAuthorizationService } from './authorization.service';
|
|
6
|
+
export * from './dto';
|
|
6
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/authorization/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/authorization/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAE5D,OAAO,EAAE,6BAA6B,EAAE,MAAM,yBAAyB,CAAC;AAExE,cAAc,OAAO,CAAA"}
|
|
@@ -14,13 +14,16 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.Application = exports.Operation = exports.
|
|
17
|
+
exports.createPAEAuthorizationService = exports.Application = exports.Operation = exports.Role = exports.Rule = void 0;
|
|
18
|
+
var rule_entity_1 = require("./entities/rule.entity");
|
|
19
|
+
Object.defineProperty(exports, "Rule", { enumerable: true, get: function () { return rule_entity_1.Rule; } });
|
|
20
|
+
var role_entity_1 = require("./entities/role.entity");
|
|
21
|
+
Object.defineProperty(exports, "Role", { enumerable: true, get: function () { return role_entity_1.Role; } });
|
|
22
|
+
var operation_entity_1 = require("./entities/operation.entity");
|
|
23
|
+
Object.defineProperty(exports, "Operation", { enumerable: true, get: function () { return operation_entity_1.Operation; } });
|
|
24
|
+
var application_entity_1 = require("./entities/application.entity");
|
|
25
|
+
Object.defineProperty(exports, "Application", { enumerable: true, get: function () { return application_entity_1.Application; } });
|
|
18
26
|
var authorization_service_1 = require("./authorization.service");
|
|
19
|
-
Object.defineProperty(exports, "
|
|
20
|
-
|
|
21
|
-
Object.defineProperty(exports, "Operation", { enumerable: true, get: function () { return operation_model_1.Operation; } });
|
|
22
|
-
var application_model_1 = require("./application.model");
|
|
23
|
-
Object.defineProperty(exports, "Application", { enumerable: true, get: function () { return application_model_1.Application; } });
|
|
24
|
-
__exportStar(require("./repositories"), exports);
|
|
25
|
-
__exportStar(require("./utilities"), exports);
|
|
27
|
+
Object.defineProperty(exports, "createPAEAuthorizationService", { enumerable: true, get: function () { return authorization_service_1.createPAEAuthorizationService; } });
|
|
28
|
+
__exportStar(require("./dto"), exports);
|
|
26
29
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/authorization/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/authorization/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,sDAA8C;AAArC,mGAAA,IAAI,OAAA;AACb,sDAA8C;AAArC,mGAAA,IAAI,OAAA;AACb,gEAAwD;AAA/C,6GAAA,SAAS,OAAA;AAClB,oEAA4D;AAAnD,iHAAA,WAAW,OAAA;AAEpB,iEAAwE;AAA/D,sIAAA,6BAA6B,OAAA;AAEtC,wCAAqB"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Application } from "../entities/application.entity";
|
|
2
|
+
import { Operation } from "../entities/operation.entity";
|
|
3
|
+
export interface ApplicationWithOperations extends Application {
|
|
4
|
+
operations: Operation[];
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=application-with-operations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"application-with-operations.d.ts","sourceRoot":"","sources":["../../../../src/authorization/isAuthorized/application-with-operations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAEzD,MAAM,WAAW,yBAA0B,SAAQ,WAAW;IAC5D,UAAU,EAAE,SAAS,EAAE,CAAC;CACzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"application-with-operations.js","sourceRoot":"","sources":["../../../../src/authorization/isAuthorized/application-with-operations.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { HttpMethod } from './http-method';
|
|
2
|
+
import { ModuleRequirements } from './module-requirements';
|
|
3
|
+
import { ModuleMetadata } from '../../catalog/entities/module-metadata/module-metadata.entity';
|
|
4
|
+
/**
|
|
5
|
+
* Given a module access (that might be to a particular URL path)
|
|
6
|
+
* it returns the operations required in the form of a structure with `Application->Operations[]`
|
|
7
|
+
* Later having the requirements one can check against the "allowed/granted" same form of operations.
|
|
8
|
+
*
|
|
9
|
+
* It computes two kind of Module requirements (defined in ModuleMetadata.authorization)
|
|
10
|
+
* - full access to the module (authorization.operations)
|
|
11
|
+
* - access to individual routes-rules (authorization.routes)
|
|
12
|
+
*
|
|
13
|
+
* And it aldo inherits requirements from any dependency (dependsOn) recursively.
|
|
14
|
+
*
|
|
15
|
+
*/
|
|
16
|
+
export declare const getModuleRequirements: (module: ModuleMetadata, catalog: ModuleMetadata[], requestPath?: string, requestMethod?: HttpMethod) => ModuleRequirements;
|
|
17
|
+
//# sourceMappingURL=get-module-requirements.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-module-requirements.d.ts","sourceRoot":"","sources":["../../../../src/authorization/isAuthorized/get-module-requirements.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAE3D,OAAO,EAAE,cAAc,EAAE,MAAM,+DAA+D,CAAC;AAE/F;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,qBAAqB,GAChC,QAAQ,cAAc,EACtB,SAAS,cAAc,EAAE,EACzB,cAAc,MAAM,EACpB,gBAAe,UAAkB,KAChC,kBAmBF,CAAC"}
|