@timesheet/sdk
Version:
Official TypeScript SDK for the Timesheet API
54 lines • 1.32 kB
TypeScript
export interface Profile {
permission?: number;
email?: string;
imageUrl?: string;
firstname?: string;
lastname?: string;
language?: string;
countryIso?: string;
country?: string;
ipAddress?: string;
referrer?: string;
newsletter?: boolean;
gdprConsent?: boolean;
invited?: boolean;
activatedTeams?: boolean;
activated?: boolean;
needsSetup?: boolean;
user?: string;
lastUpdate?: number;
subscriptionId?: string;
expires?: number;
status?: number;
plan?: number;
valid?: boolean;
expired?: boolean;
product?: string;
trial?: boolean;
planEnterprise?: boolean;
planBusiness?: boolean;
planPro?: boolean;
planPlus?: boolean;
planBasic?: boolean;
member?: boolean;
personalSubscriptionActive?: boolean;
organizationSubscriptionActive?: boolean;
basic?: boolean;
pro?: boolean;
plus?: boolean;
validProfile?: boolean;
validAndActivated?: boolean;
admin?: boolean;
deleted?: boolean;
overtimeAccessible?: boolean;
displayName?: string;
initials?: string;
}
export interface ProfileUpdateRequest {
email?: string;
imageUrl?: string;
firstname?: string;
lastname?: string;
newsletter?: boolean;
}
//# sourceMappingURL=Profile.d.ts.map