Misc Types

small types that don't need separate documentation

DecodedAccessToken

{
iss: string;
sub: string;
aud: string;
azp: string;
rls: string[];
cus: string;
sid: string;
scope: string;
xca?: 1 | 0;
jti: string;
iat: number;
exp: number;
imp: string;
}

CustomerPermission

{
customerId: string;
permissions: string[];
}

Status (auth)

a union type

Status = 'not_initialized' | 'unauthenticated' | 'authenticated';