@dodi-smart/nuki-graphql-api
Version:
Nuki GraphQL API
78 lines • 1.81 kB
TypeScript
import type { ObjectId } from './ObjectId';
export type SmartlockAuth = {
/**
* The unique id for the smartlock authorization
*/
id: string;
/**
* The smartlock id
*/
smartlockId: number;
/**
* The id of the linked account user
*/
accountUserId?: number;
/**
* The smartlock authorization id
*/
authId?: number;
/**
* The keypad code (only for type keypad)
*/
code?: number;
fingerprints?: Record<string, string>;
/**
* The type of the authorization: 0 .. app, 1 .. bridge, 2 .. fob, 3 .. keypad, 13 .. keypad code, 14 .. z-key, 15 .. virtual
*/
readonly type: number;
/**
* The name of the authorization (max 32 chars)
*/
name: string;
/**
* True if the auth is enabled
*/
enabled: boolean;
/**
* True if the auth has remote access
*/
remoteAllowed: boolean;
/**
* The lock count
*/
lockCount: number;
/**
* The allowed from date
*/
allowedFromDate?: string;
/**
* The allowed until date
*/
allowedUntilDate?: string;
/**
* The allowed weekdays bitmask: 64 .. monday, 32 .. tuesday, 16 .. wednesday, 8 .. thursday, 4 .. friday, 2 .. saturday, 1 .. sunday
*/
allowedWeekDays?: number;
/**
* The allowed from time (in minutes from midnight)
*/
allowedFromTime?: number;
/**
* The allowed until time (in minutes from midnight)
*/
allowedUntilTime?: number;
/**
* The last active date
*/
lastActiveDate?: string;
/**
* The creation date
*/
creationDate?: string;
/**
* The update date
*/
updateDate?: string;
operationId?: ObjectId;
};
//# sourceMappingURL=SmartlockAuth.d.ts.map