type FileResponseIndexable = { [key: string]: string | boolean | null | undefined; pyCategoryName: string; Category: string; pyCategoryLabel: string; FileExtension: string; pxCreateOperator: string; pxCreateOpName: string; pyAttachName: string; Name: string; pyMimeFileExtension: string; MimeType: string; pyFileName: string; FileName: string; pzInsKey: string; ID: string; pyAttachmentLink: string; AttachmentURL: string; pxAttachmentCreateTime: string; pxCreateDateTime: string; CreateDateTime: string; responseType?: string | null; error?: string; thumbnail?: string; pxStorageType?: string; pyFileSize?: string; pyIsLargeAttachment?: string; IsLargeAttachment?: boolean; }; interface FileResponseDirectProps { CreateUser?: { Name: string; }; localAttachment?: boolean; } export type FileResponseObject = FileResponseIndexable & FileResponseDirectProps; type AttachmentObjectIndexable = { [key: string]: string | FileResponseObject[] | undefined; pyCategoryName: string; pxResults: FileResponseObject[]; }; interface AttachmentObjectDirectProps { pyCount: number; } export type AttachmentObject = AttachmentObjectIndexable & AttachmentObjectDirectProps; export type AttachmentProperties = { props: { meta: string; name: string; icon: string; }; responseProps: { fileName: string; name: string; category: string; extension: string | undefined | null; ID: string; mimeType: string; attachmentURL: string; createUser: string; createDateTime: string | Date | number; responseType: string | null; pzInsKey?: string; localAttachment?: boolean; storageType?: string; fileSize?: string; isLargeAttachment?: boolean; }; }; export type Attachment = { ID: string; inProgress?: boolean; handle: string; label: string; category: string; delete?: boolean; name: string; description?: string; }; export type CaseLinkedAttachmentObject = Partial> & { clientFileID?: string; filename?: string; url?: string; type: string; }; export type AttachmentData = { hasUploadedFiles: boolean; categoryName: string; attachments: AttachmentProperties[]; isOldAttachment: boolean; }; export type AttachmentValidate = Record[]> | Record[]; type ShowSaveFilePicker = (options?: { suggestedName?: string; }) => Promise; export type SaveFilePickerResult = { fh: FileSystemFileHandle; writable: FileSystemWritableFileStream; }; export type { ShowSaveFilePicker };