export interface ITenant {
    isSandbox: boolean;
    shortName: string;
    anrede: string;
    companyName1: string;
    contactFirstName: string;
    contactLastName: string;
    contactBirthdate: string;
    street: string;
    adresse2: string;
    zipcode: string;
    city: string;
    country: string;
    phone: string;
    phone2: string;
    mobile: string;
    fax: string;
    email: string;
    url: string;
    vatId: string;
    hostPrefix: string;
    devToken: string;
    comments: string;
    langcode: string;
    defaultSystemLanguage: string;
    currency: string;
    owner: string;
    status: string;
    active: boolean;
    created: string;
    createdBy: number;
    modified: string;
    subscribeType: string;
    subscribeUser: number;
    subscribeIP: string;
    subscribeProductSkus: string;
    subscribePluginIds: Record<string, unknown>;
    firstLogin: string;
    firstLoginBy: number;
    deleted: string;
    deletedBy: number;
    apiEndpoint: string;
    featureFlags: Record<string, unknown>;
    allowedStorage: number;
    allowedApu: number;
    maxAllowedStorage: number;
    maxAllowedApu: number;
    usedStorageDB: number;
    usedStorageFS: number;
    usedStorageSB: number;
    usedStorageUsers: number;
    maxUsedStorage: number;
    usedStorageTimestamp: string;
    retailSuiteTenantId: number;
    id: number;
}
export interface ICurrentUserPasswordHistory {
    created: string;
    createdBy: number;
    modified: string;
    modifiedBy: number;
    user: null;
    passhash: string;
    id: number;
}
export interface IOAuthClientSettings {
    tenant: ITenant;
    name: string;
    handlerClassName: string;
    clientId: string;
    clientSecret: string;
    authorizeEndpoint: string;
    tokenEndpoint: string;
    created: string;
    createdBy: number;
    createdByUsername: string;
    createdByRqId: string;
    modified: string;
    modifiedBy: number;
    modifiedByRqId: string;
    modifiedByUsername: string;
    id: number;
}
export interface IUser {
    login: string;
    authtype: string;
    authtypePass: boolean;
    authtypeU2F: boolean;
    pass: string;
    passsalt: string;
    oauthClientSettings: IOAuthClientSettings;
    oauthUserObjectId: string;
    groupId: number;
    fullname: string;
    fullnameLogin: string;
    email: string;
    anrede: string;
    vorname: string;
    name: string;
    adresse: string;
    plz: string;
    ort: string;
    land: string;
    tel: string;
    mobiltel: string;
    title: string;
    skype: string;
    fax: string;
    langcode: string;
    comment: string;
    status: string;
    active: number;
    preventDoubleLogins: boolean;
    groupMappingsText: string;
    groupMappingsIds: number[];
    forgotpwToken: string;
    forgotpwDate: string;
    ownerTenant: ITenant;
    isDevUser: boolean;
    usedStorage: number;
    isInvitedUser: boolean;
    newsletterDoubleOptInFinished: string;
    roleInTenant: string;
    roleInTenantDE: string;
    currentUserPasswordHistory: ICurrentUserPasswordHistory;
    id: number;
}
export type IPrivileges = Record<string, boolean> & {
    isAdmin: boolean;
};
