Skip to content

SudoSOS Back-end API / users

users ​

This is the module page of the user.

Enumerations ​

EnumerationDescription
TermsOfServiceStatus-
UserType-

Classes ​

ClassDescription
LocalUser-
UserInactive (active: false): the user can only log in and top up their balance. Intended for e.g. alumni who have graduated but still have an outstanding debt.
UserControllerThe BaseController class is responsible for: - Storing route definitions. - Generating router objects based on the policy.
UserService-

Interfaces ​

InterfaceDescription
AcceptTosRequest-
AddRoleRequest-
BaseUserRequest-
BaseUserResponse-
CreateUserRequest-
InvoiceUserResponse-
PaginatedUserResponse-
PatchUserSettingsRequest-
PatchUserTypeRequest-
UpdateInvoiceUserRequest-
UpdateUserRequest-
UserFilterParametersParameters used to filter on Get Users functions.
UserResponse-
UserSettingsResponse-

Type Aliases ​

Type AliasDescription
FinancialMutationsFilterParams-

Variables ​

VariableDescription
EligibleInactiveUsersAll users that have made inactive administrative costs.
LocalUserTypesAll user types that should be allowed to have a local password.
NotifyDebtUserTypesAll users that should be notified when in debt.
TOSRequiredAll users that have required TOS restrictions.

Functions ​

FunctionDescription
asUserResponseParses a User entity to a UserResponse
parseGetFinancialMutationsFilters-
parseGetUsersFiltersExtracts UserFilterParameters from the RequestWithToken