import * as t from 'io-ts' ; import { NamespaceType } from '../../common/default_namespace' ; import { RequiredKeepUndefined } from '../../common/required_keep_undefined' ; import { id } from '../../common/id' ; import { item_id } from '../../common/item_id' ; import { namespace_type } from '../../common/namespace_type' ; export const deleteExceptionListItemSchema = t . exact ( t . partial ( { id , item_id , namespace_type , } ) ) ; export type DeleteExceptionListItemSchema = t . OutputOf < typeof deleteExceptionListItemSchema > ; export type DeleteExceptionListItemSchemaDecoded = Omit < RequiredKeepUndefined < t . TypeOf < typeof deleteExceptionListItemSchema > > , 'namespace_type' > & { namespace_type : NamespaceType ; } ;