import { IEntityCreateDto, Nullable } from "../../entities"; import { IAppFileConfig, IFilePayload, MulterFileWithUrl } from "../../misc"; import { IVendorEntity } from "../../entities/interface/vendor.entity.interface"; import { IVendorActionDataDto } from "./vendor.update.dto.interface"; export interface IVendorContactDetail { id: number; name?: Nullable; email?: Nullable; phone?: Nullable; } export type IVendorContactDetailCreateExclude = never; export interface IVendorContactDetailCreateDto extends Omit, IVendorContactDetailCreateExclude> { } export interface IVendorBankDetail { id: number; accountName: string; name: string; accountNo: string; branchName: string; branchAddress?: Nullable; ifscCode: string; swiftCode?: Nullable; } export type IVendorBankDetailCreateExclude = never; export interface IVendorBankDetailCreateDto extends Omit, IVendorBankDetailCreateExclude> { } export type IVendorCreateExclude = "contactDetail" | "bankDetail" | "panDocument" | "gstDocument" | "contractDocument" | "attachmentDocuments" | "status" | "remark" | "organizationTypeId"; export interface IVendorCreateDto extends Omit, IVendorCreateExclude> { contactDetail?: IVendorContactDetailCreateDto[]; bankDetail?: IVendorBankDetailCreateDto[]; panDocument?: Nullable; gstDocument?: Nullable; contractDocument?: Nullable; attachmentDocuments?: Nullable; files: IFilePayload[]; actionData?: IVendorActionDataDto; } export type VendorDocumentFieldNames = ["panDocument", "gstDocument", "contractDocument", "attachmentDocuments"]; export declare const vendorFileConfig: IAppFileConfig[];