Skip to content

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 ​

BaseUserResponse.createdAt


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 ​

BaseUserResponse.firstName


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 ​

BaseUserResponse.id


lastName ​

ts
lastName: string;

Inherited from ​

BaseUserResponse.lastName


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 ​

BaseUserResponse.nickname


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 ​

BaseUserResponse.updatedAt


version? ​

ts
optional version: number;

Inherited from ​

BaseUserResponse.version