import { isoly } from "isoly" import { isly } from "isly" import { Base } from "../Base" export interface Overdraft extends Base { type: "overdraft" severity?: "medium" organization: string currency: isoly.Currency } export namespace Overdraft { export const type = Base.type.extend({ type: isly.string("overdraft"), severity: isly.string("medium").optional(), organization: isly.string(), currency: isly.fromIs("Currency", isoly.Currency.is), }) }