Skip to content

SudoSOS Back-end API / terms-of-service / TermsOfServiceAcceptance

Class: TermsOfServiceAcceptance ​

Records that a user accepted a specific terms of service version. The createdAt timestamp doubles as the acceptance timestamp.

Extends ​

Constructors ​

Constructor ​

ts
new TermsOfServiceAcceptance(): TermsOfServiceAcceptance;

Returns ​

TermsOfServiceAcceptance

Inherited from ​

BaseEntity.constructor

Properties ​

PropertyModifierTypeDescriptionInherited from
createdAtreadonlyDateThe creation date of the object.BaseEntity.createdAt
idreadonlynumber-BaseEntity.id
updatedAtreadonlyDateThe last update date of the object.BaseEntity.updatedAt
userpublicUser--
userIdpublicnumber--
versionreadonlynumberThe current version of the object.BaseEntity.version
versionNumberpublicstring--