UNPKG

@accounter/server

Version:

5 lines (4 loc) 442 B
import type { ExpenseDocumentType, DocumentType as GreenInvoiceDocumentType } from '../../../../../green-invoice-graphql/src/index.js'; import { DocumentType } from '../../../__generated__/types.js'; export declare function normalizeDocumentType(rawType?: GreenInvoiceDocumentType | ExpenseDocumentType | number | null): DocumentType; export declare function getGreenInvoiceDocumentType(documentType: DocumentType): GreenInvoiceDocumentType;