/** * 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 { AwardPeriod } from "./AwardPeriod"; import * as t from "io-ts"; // required attributes const AwardsListR = t.interface({ fiscal_code: FiscalCode, awards: t.readonlyArray(AwardPeriod, "array of AwardPeriod") }); // optional attributes const AwardsListO = t.partial({}); export const AwardsList = t.exact( t.intersection([AwardsListR, AwardsListO], "AwardsList") ); export type AwardsList = t.TypeOf;