@dodi-smart/nuki-graphql-api
Version:
Nuki GraphQL API
43 lines • 1.06 kB
TypeScript
export type SmartlockAuthUpdate = {
/**
* The name of the authorization (max 32 chars)
*/
name: string;
/**
* 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 id of the linked account user
*/
accountUserId?: number;
/**
* True if the auth is enabled
*/
enabled?: boolean;
/**
* True if the auth has remote access
*/
remoteAllowed?: boolean;
/**
* The code of the keypad authorization (only for keypad)
*/
code?: number;
};
//# sourceMappingURL=SmartlockAuthUpdate.d.ts.map