SudoSOS Back-end API / users / UserResponse
Interface: UserResponse ​
Extends ​
Properties ​
acceptedToS? ​
ts
optional acceptedToS: TermsOfServiceStatus;Whether this user has accepted the TOS
active ​
ts
active: boolean;canGoIntoDebt ​
ts
canGoIntoDebt: boolean;createdAt? ​
ts
optional createdAt: string;Inherited from ​
deleted ​
ts
deleted: boolean;email? ​
ts
optional email: string;If local user, the e-mail of the user
extensiveDataProcessing? ​
ts
optional extensiveDataProcessing: boolean;Whether data about this user can be used (non-anonymously) for more data science!
firstName ​
ts
firstName: string;Inherited from ​
gewisId? ​
ts
optional gewisId: number;The m-Number of the user (deprecated, use externalId instead. Will be removed after 01/06/2026)
id ​
ts
id: number;Inherited from ​
lastName ​
ts
lastName: string;Inherited from ​
memberId? ​
ts
optional memberId: number;The external id of the user (e.g., GEWIS member ID)
nickname? ​
ts
optional nickname: string;The nickname of the user
Inherited from ​
ofAge? ​
ts
optional ofAge: boolean;Whether someone is old enough to drink beer
pos? ​
ts
optional pos: BasePointOfSaleInfoResponse;The related Point of Sale, in case user is a POS type
type ​
ts
type: string;updatedAt? ​
ts
optional updatedAt: string;Inherited from ​
version? ​
ts
optional version: number;