@dodi-smart/nuki-graphql-api
Version:
Nuki GraphQL API
52 lines • 1.35 kB
TypeScript
import type { Account_Config } from './Account_Config';
import type { Account_Descent } from './Account_Descent';
import type { Account_Profile } from './Account_Profile';
import type { TermsOfUse } from './TermsOfUse';
export type Account = {
/**
* The account id
*/
accountId: number;
/**
* The type: 0 .. user, 1 .. company, 2 .. caretaker
*/
type: number;
/**
* The email address
*/
email: string;
/**
* true, if the email is verified
*/
emailVerified?: boolean;
/**
* The name
*/
name: string;
/**
* The master account id if it's a sub account
*/
masterAccountId?: number;
/**
* The rights bitmask if it's a sub account: 1 .. manage smartlock, 2 .. operate smartlock, 4 .. manage smartlock config, 8 .. manage smartlock authorizations, 16 .. view smartlock logs, 32 .. manage sub accounts, 64 .. create smartlocks
*/
rights?: number;
/**
* The language code
*/
language?: string;
config?: Account_Config;
profile?: Account_Profile;
/**
* The creation date
*/
creationDate: string;
/**
* The update date
*/
updateDate: string;
descent?: Account_Descent;
b2bActive?: boolean;
apiTermsOfUse?: TermsOfUse;
};
//# sourceMappingURL=Account.d.ts.map