import { FetchStateAndError, FetchedState, ID } from '../../../commonStateTypes/common'; import { Contact } from '../../../entity/billPay/contact/contact'; import { Attachment } from '../../../entity/transaction/stateTypes/attachment'; import { Filing1099TinType } from '../../../entity/vendor/vendorType'; export interface VendorFiling1099UploadDetailsState extends FetchedState { vendor1099DetailsLocalData: VendorsFiling1099UploadDetailsLocalData; vendor1099DetailsSaveStatus: FetchStateAndError; w9FormUploadStatus: FetchStateAndError; vendor1099DetailsAutoFilledValues?: Vendor1099DetailsAutoFilledValues; } export interface VendorsFiling1099UploadDetailsLocalData { contact: Contact; legalName: string; taxClassification: string; tin: Filing1099TinType; vendorId: ID; w9Documents?: Attachment[]; } export interface Vendor1099DetailsAutoFilledValues { address: boolean; legalName: boolean; taxClassification: boolean; tin: { type: boolean; value: boolean; }; }