Interface AccountType

interface AccountType {
    accessToken: string;
    accountID: number;
    createdAt: Date;
    elevation: AccountElevationEnum;
    email: string;
    image: string;
    localisation: undefined | GeolocationResponse;
    name: {
        firstName: string;
        lastName: string;
    };
    phoneNumber: string;
    username: string;
    uuid: string;
}

Properties

accessToken: string

The access token of the account.

accountID: number

The ID of the account.

createdAt: Date

The creation date of the account.

The elevation of the account.

email: string

The email of the account.

image: string

The image of the account.

localisation: undefined | GeolocationResponse

The localisation of the account.

name: {
    firstName: string;
    lastName: string;
}

The name of the account.

Type declaration

  • firstName: string
  • lastName: string
phoneNumber: string

The phone number of the account.

username: string

The username of the account.

uuid: string

The UUID of the account.