/* tslint:disable */ /* eslint-disable */ /** * documents * 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. */ /** * Holds information regarding the documents uploaded as attachments */ export interface Document { /** * The creation date of the document, stored as UTC */ creationDate?: string; /** * The document encodedKey */ encodedKey?: string; /** * The original file name of the document */ fileName?: string; /** * The file size of the document */ fileSize?: number; /** * The document id */ id: number; /** * The last modified date of the document, stored as UTC */ lastModifiedDate?: string; /** * Location where the document can be found, eg /myfiles/mypicture.jpeg */ location?: string; /** * The name of the document */ name: string; /** * Detailed notes about the document */ notes?: string; /** * Represents the holder of this document. If null, means nobody is the owner of this document */ ownerKey?: string; /** * Determines the owner type of the document */ ownerType?: DocumentOwnerTypeEnum; /** * The extension of the document */ type: string; } export const DocumentOwnerTypeEnum = { Client: 'CLIENT', Group: 'GROUP', LoanProduct: 'LOAN_PRODUCT', SavingsProduct: 'SAVINGS_PRODUCT', Centre: 'CENTRE', Branch: 'BRANCH', User: 'USER', LoanAccount: 'LOAN_ACCOUNT', DepositAccount: 'DEPOSIT_ACCOUNT', IdDocument: 'ID_DOCUMENT', LineOfCredit: 'LINE_OF_CREDIT', GlJournalEntry: 'GL_JOURNAL_ENTRY', } as const; export type DocumentOwnerTypeEnum = (typeof DocumentOwnerTypeEnum)[keyof typeof DocumentOwnerTypeEnum];