UNPKG

@dodi-smart/nuki-graphql-api

Version:
51 lines 1.31 kB
export type SmartlocksAuthCreate = { /** * 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 (required if type is NOT 13 .. keypad) */ accountUserId?: number; /** * The list of smartlock ids */ smartlockIds?: Array<number>; /** * True if the auth has remote access */ remoteAllowed: boolean; /** * The smart actions enabled flag */ smartActionsEnabled?: boolean; /** * The optional type of the auth 0 .. app (default), 2 .. fob, 13 .. keypad */ type?: number; /** * The code of the keypad authorization (only for keypad) */ code?: number; }; //# sourceMappingURL=SmartlocksAuthCreate.d.ts.map