/** * 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. */ import type { ListFingerprints200ResponseAllOfListInnerCyclicConfigInner } from './ListFingerprints200ResponseAllOfListInnerCyclicConfigInner'; /** * * @export * @interface GetQrCode200Response */ export interface GetQrCode200Response { /** * The error code when there's error * @type {number} * @memberof GetQrCode200Response */ errcode?: number | null; /** * The error message when there's error * ## Acount rights and common errors * | error code | description | |------------|----------------------------------------------------------------| | 1 | failed or means no | | 10000 | invalid client_id | | 10001 | invalid client | | 10003 | invalid token | | 10004 | invalid grant | | 10007 | invalid account or invalid password | | 10011 | invalid refresh_token | | 20002 | not lock admin | | 30002 | invalid username, only English character and digits is allowed | | 30003 | existing registered users | | 30004 | invalid userid to delete | | 30005 | password must be md5 encrypted | | 30006 | exceeds the restrictions of call number | | 80000 | date must be current time, in 5 minutes | | 80002 | invalid json format | | 90000 | internal server error | | -3 | Invalid Parameter | | -2018 | Permission Denied | | -4063 | Please delete/transfer all yours locks first | * ## Lock related errors * | error code | description | |------------|---------------------------------------------| | -1003 | Lock does not exist | | -2025 | Frozen lock. Can not operate on it now | | -3011 | Cannot Transfer Lock(s) to Yourself | | -4043 | The function is not supported for this lock | | -4056 | Run out of memory | | -4067 | NB Device is not registered | | -4082 | Auto locking period invalid | * ## Ekey related errors * | error code | description | |------------|------------------------------------------------------------------------| | -1008 | eKey does not exist | | -1016 | An identical Name exists. Please choose a different Name. | | -1018 | This Group does not exist | | -1027 | Cant send eKey to this account which has been bound to another account | | -2019 | You cannot send an eKey to Yourself | | -2020 | You cannot send an eKey to the Admin | | -2023 | Can't change the time period now | | -4064 | Failed. The eKey can only be sent to a registered account | * * ## Passcode related errors * | error code | description | |------------|-----------------------------------------------------------------------------------------------------------| | -1007 | No password data of this lock | | -2009 | Invalid Password | | -3006 | Invalid Passcode. Passcode should be between 6 - 9 Digits in length | | -3007 | The same passcode already exists. Please use another one | | -3008 | A Passcode that has never been used on the Lock cannot be changed | | -3009 | There is NO SPACE to store Customized Passcodes. Please Delete Un-Used Customized Passcodes and try again | * * ## Gateway related errors * | error code | description | |------------|----------------------------------------------------| | -2012 | The Lock is not connected to any Gateway | | -3002 | The gateway is offline. Please check and try again | | -3016 | Cannot Transfer Gateway(s) to Yourself | | -4037 | No such Gateway exists | * * ## IC card and Fingerprint related errors * | error code | description | |------------|---------------------------------| | -1021 | This IC Card does not exist | | -1023 | This Fingerprint does not exist | * * @type {string} * @memberof GetQrCode200Response */ errmsg?: string | null; /** * Lock alias * @type {string} * @memberof GetQrCode200Response */ lockAlias?: string; /** * 1-period, 2-permanent, 4-cyclic * @type {number} * @memberof GetQrCode200Response */ type?: GetQrCode200ResponseTypeEnum; /** * the unique number of QR code in a lock. It's will be contained in the unlocking records for identifing which code unlock the lock. * @type {number} * @memberof GetQrCode200Response */ qrCodeNumber?: number; /** * QR code data for generating QR code image. * @type {string} * @memberof GetQrCode200Response */ qrCodeContent?: string; /** * QR code name * @type {string} * @memberof GetQrCode200Response */ name?: string; /** * * @type {number} * @memberof GetQrCode200Response */ startDate?: number; /** * * @type {number} * @memberof GetQrCode200Response */ endDate?: number; /** * Recurring time period, the valid time period of each week day must be the same * @type {Array} * @memberof GetQrCode200Response */ cyclicConfig?: Array; /** * 1-normal, 2-invalid or expired, 3-pending * @type {number} * @memberof GetQrCode200Response */ status?: GetQrCode200ResponseStatusEnum; } /** * @export */ export declare const GetQrCode200ResponseTypeEnum: { readonly NUMBER_1: 1; readonly NUMBER_2: 2; readonly NUMBER_4: 4; }; export type GetQrCode200ResponseTypeEnum = typeof GetQrCode200ResponseTypeEnum[keyof typeof GetQrCode200ResponseTypeEnum]; /** * @export */ export declare const GetQrCode200ResponseStatusEnum: { readonly NUMBER_1: 1; readonly NUMBER_2: 2; readonly NUMBER_3: 3; }; export type GetQrCode200ResponseStatusEnum = typeof GetQrCode200ResponseStatusEnum[keyof typeof GetQrCode200ResponseStatusEnum]; /** * Check if a given object implements the GetQrCode200Response interface. */ export declare function instanceOfGetQrCode200Response(value: object): boolean; export declare function GetQrCode200ResponseFromJSON(json: any): GetQrCode200Response; export declare function GetQrCode200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetQrCode200Response; export declare function GetQrCode200ResponseToJSON(value?: GetQrCode200Response | null): any; //# sourceMappingURL=GetQrCode200Response.d.ts.map