/** * 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 GetUserId200Response */ export interface GetUserId200Response { /** * The error code when there's error * @type {number} * @memberof GetUserId200Response */ 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 GetUserId200Response */ errmsg?: string | null; /** * User id * @type {string} * @memberof GetUserId200Response */ uid?: string; } /** * Check if a given object implements the GetUserId200Response interface. */ export declare function instanceOfGetUserId200Response(value: object): boolean; export declare function GetUserId200ResponseFromJSON(json: any): GetUserId200Response; export declare function GetUserId200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetUserId200Response; export declare function GetUserId200ResponseToJSON(value?: GetUserId200Response | null): any; //# sourceMappingURL=GetUserId200Response.d.ts.map