/**
* Lemonway DirectKit API 2.0
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v2
*
*
* 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 Document
*/
export interface Document {
/**
* Document ID
* @type {number}
* @memberof Document
*/
id?: number;
/**
* Document Status
0 = Document put on hold, waiting for another document.
1 = Received, need manual validation.
2 = Accepted.
3 = Rejected.
4 = Rejected. Unreadable by human (Cropped, blur, glareā¦).
5 = Rejected. Expired (Expiration Date is passed).
6 = Rejected. Wrong Type (Document not accepted).
7 = Rejected. Wrong Name (Name not matching user information).
8 = Rejected. Duplicated Document.
* @type {number}
* @memberof Document
*/
status?: DocumentStatusEnum;
/**
* Document Type
0 = ID card (both sides in one file).
1 = Proof of address.
2 = Scan of a proof of IBAN.
3 = Passport (European Union).
4 = Passport (outside the European Union).
5 = Residence permit (both sides in one file).
7 = Official company registration document (Kbis extract or equivalent).
11 = Driver licence (both sides in one file).
12 = Status.
13 = Selfie.
14 = Other document type.
15 = Other document type.
16 = Other document type.
17 = Other document type.
18 = Other document type.
19 = Other document type.
20 = Other document type.
21 = SDD mandate.
* @type {number}
* @memberof Document
*/
type?: DocumentTypeEnum;
/**
* Document validity date
* Format: dd/mm/yyyy
* Empty if unknown
* @type {string}
* @memberof Document
*/
validityDate?: string;
/**
*
* @type {string}
* @memberof Document
*/
comment?: string;
}
/**
* @export
*/
export declare const DocumentStatusEnum: {
readonly NUMBER_0: 0;
readonly NUMBER_1: 1;
readonly NUMBER_2: 2;
readonly NUMBER_3: 3;
readonly NUMBER_4: 4;
readonly NUMBER_5: 5;
readonly NUMBER_6: 6;
readonly NUMBER_7: 7;
readonly NUMBER_8: 8;
};
export declare type DocumentStatusEnum = typeof DocumentStatusEnum[keyof typeof DocumentStatusEnum];
/**
* @export
*/
export declare const DocumentTypeEnum: {
readonly NUMBER_0: 0;
readonly NUMBER_1: 1;
readonly NUMBER_2: 2;
readonly NUMBER_3: 3;
readonly NUMBER_4: 4;
readonly NUMBER_5: 5;
readonly NUMBER_7: 7;
readonly NUMBER_11: 11;
readonly NUMBER_12: 12;
readonly NUMBER_13: 13;
readonly NUMBER_14: 14;
readonly NUMBER_15: 15;
readonly NUMBER_16: 16;
readonly NUMBER_17: 17;
readonly NUMBER_18: 18;
readonly NUMBER_19: 19;
readonly NUMBER_20: 20;
readonly NUMBER_21: 21;
};
export declare type DocumentTypeEnum = typeof DocumentTypeEnum[keyof typeof DocumentTypeEnum];
/**
* Check if a given object implements the Document interface.
*/
export declare function instanceOfDocument(value: object): boolean;
export declare function DocumentFromJSON(json: any): Document;
export declare function DocumentFromJSONTyped(json: any, ignoreDiscriminator: boolean): Document;
export declare function DocumentToJSON(value?: Document | null): any;