///
export declare type DocumentType = 'ID_DOCUMENT' | 'ADDRESS_VERIFICATION' | 'PURPOSE_OF_ACCOUNT' | 'OCCUPATION' | 'SOURCE_OF_WEALTH' | 'SOURCE_OF_FUNDS' | 'OTHER' | 'ADDITIONAL_INFORMATION' | 'ADDITIONAL_INFORMATION_VERIFICATION' | 'BUSINESS_PURPOSE' | 'INDUSTRY' | 'COMPLIANCE';
export declare type DocumentState = 'PENDING' | 'VALID' | 'INVALID';
export declare type Type = {
type: DocumentType;
subtype: string;
};
import { ReadStream } from 'fs';
export declare type Create = {
type: Type;
fileName: string;
tags?: Array;
annotations?: {
[x: string]: string;
};
document: ReadStream | Blob | File | ArrayBuffer;
} & (customerId | disputeId | {});
export declare type Document = {
id?: string;
createdAt?: Date;
updatedAt?: Date;
stateId?: DocumentState;
customerId?: string;
type?: Type;
fileName?: string;
tags?: Array;
annotations?: {
[x: string]: string;
};
};
export declare type Types = {
types?: object;
};
declare type customerId = {
customerId: string;
owner?: 'customerId';
};
declare type disputeId = {
disputeId: string;
owner?: 'disputeId';
};
export {};