/** * Do not edit this file it is auto-generated by io-utils / gen-api-models. * See https://github.com/pagopa/io-utils */ /* tslint:disable */ import { FiscalCode } from "./FiscalCode"; import { PaymentMethod } from "./PaymentMethod"; import * as t from "io-ts"; // required attributes const BPDCitizenR = t.interface({ fiscal_code: FiscalCode, timestamp_tc: t.string, payment_methods: t.readonlyArray(PaymentMethod, "array of PaymentMethod") }); // optional attributes const BPDCitizenO = t.partial({ payoff_instr: t.string, payoff_instr_type: t.string, insert_date: t.string, insert_user: t.string, update_date: t.string, update_user: t.string, enabled: t.boolean, checkiban_fiscal_code: t.string, checkiban_name: t.string, checkiban_surname: t.string, checkiban_status: t.string, cancellation: t.string }); export const BPDCitizen = t.exact( t.intersection([BPDCitizenR, BPDCitizenO], "BPDCitizen") ); export type BPDCitizen = t.TypeOf;