/** * 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 UploadDocumentInput */ export interface UploadDocumentInput { /** * Document Name * @type {string} * @memberof UploadDocumentInput */ name: string; /** * Document Type:

Note: * If you have previously uploaded a document in a reserved slot(0-13) and need to upload another document of the same type, use the slot Other document(14-20).
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 UploadDocumentInput */ type: UploadDocumentInputTypeEnum; /** * Byte array with the document. Encode in base 64 if necessary. * @type {string} * @memberof UploadDocumentInput */ buffer: string; /** * Lets you upload your signed (with your own signing partner) mandate document, to validate a mandate ID you previously created with RegisterSddMandate. * @type {number} * @memberof UploadDocumentInput */ sddMandateId?: number; } /** * @export */ export declare const UploadDocumentInputTypeEnum: { 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 UploadDocumentInputTypeEnum = typeof UploadDocumentInputTypeEnum[keyof typeof UploadDocumentInputTypeEnum]; /** * Check if a given object implements the UploadDocumentInput interface. */ export declare function instanceOfUploadDocumentInput(value: object): boolean; export declare function UploadDocumentInputFromJSON(json: any): UploadDocumentInput; export declare function UploadDocumentInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): UploadDocumentInput; export declare function UploadDocumentInputToJSON(value?: UploadDocumentInput | null): any;