UNPKG

@adyen/api-library

Version:

The Adyen API Library for NodeJS enables you to work with Adyen APIs.

44 lines (43 loc) 1.39 kB
export declare class Attachment { /** * The document in Base64-encoded string format. */ "content": string; /** * The file format. Possible values: **application/pdf**, **image/jpg**, **image/jpeg**, **image/png**. * * @deprecated since Legal Entity Management API v1 */ "contentType"?: string; /** * The name of the file including the file extension. * * @deprecated since Legal Entity Management API v1 */ "filename"?: string; /** * The name of the file including the file extension. */ "pageName"?: string; /** * Specifies which side of the ID card is uploaded. * If the `type` is **driversLicense** or **identityCard**, you must set this to **front** or **back** and include both sides in the same API request. * For any other types, when this is omitted, we infer the page number based on the order of attachments. */ "pageType"?: string; static readonly discriminator: string | undefined; static readonly mapping: { [index: string]: string; } | undefined; static readonly attributeTypeMap: Array<{ name: string; baseName: string; type: string; format: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; format: string; }[]; constructor(); }