/** * TTLock * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v3.1.9 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface GetLockPasscode */ export interface GetLockPasscode { /** * passcode id * @type {number} * @memberof GetLockPasscode */ keyboardPwdId: number; /** * Lock ID, generated by Lock init * @type {number} * @memberof GetLockPasscode */ lockId: number; /** * passcode * @type {string} * @memberof GetLockPasscode */ keyboardPwd: string; /** * passcode name * @type {string} * @memberof GetLockPasscode */ keyboardPwdName: string; /** * One-time 1 This code only valid for once within 6 hours from the Start Time * Permanent 2 This code must be used at least once within 24 Hours after the Start Time, Or it will be invalidated * Period 3 This code must be used at least once within 24 Hours after the Start Time, Or it will be invalidated * Delete 4 This code will delete all other codes * Weekend Cyclic 5 This code is valid during the time period at the weekend * Daily Cyclic 6 This code is valid during the time period everyday * Workday Cyclic 7 This code is valid during the time period on workdays * Monday Cyclic 8 This code is valid during the time period on Mondays * Tuesday Cyclic 9 This code is valid during the time period on Tuesdays * Wednesday Cyclic 10 This code is valid during the time period on Wednesdays * Thursday Cyclic 11 This code is valid during the time period on Thursdays * Friday Cyclic 12 This code is valid during the time period on Fridays * Saturday Cyclic 13 This code is valid during the time period on Saturdays * Sunday Cyclic 14 This code is valid during the time period on Sundays * * @type {string} * @memberof GetLockPasscode */ keyboardPwdType: string; /** * The time when it becomes valid (timestamp in millisecond) * @type {number} * @memberof GetLockPasscode */ startDate: number; /** * The time when it is expired (timestamp in millisecond) * @type {number} * @memberof GetLockPasscode */ endDate: number; /** * The time when it is expired (timestamp in millisecond) * @type {number} * @memberof GetLockPasscode */ sendDate: number; /** * 1 - yes, 0 - no * @type {number} * @memberof GetLockPasscode */ isCustom: GetLockPasscodeIsCustomEnum; /** * The sender's username * @type {string} * @memberof GetLockPasscode */ senderUsername: string; } /** * @export */ export declare const GetLockPasscodeIsCustomEnum: { readonly NUMBER_0: 0; readonly NUMBER_1: 1; }; export type GetLockPasscodeIsCustomEnum = typeof GetLockPasscodeIsCustomEnum[keyof typeof GetLockPasscodeIsCustomEnum]; /** * Check if a given object implements the GetLockPasscode interface. */ export declare function instanceOfGetLockPasscode(value: object): boolean; export declare function GetLockPasscodeFromJSON(json: any): GetLockPasscode; export declare function GetLockPasscodeFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetLockPasscode; export declare function GetLockPasscodeToJSON(value?: GetLockPasscode | null): any; //# sourceMappingURL=GetLockPasscode.d.ts.map