/** * 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 * as t from "io-ts"; import { enumType } from "italia-ts-commons/lib/types"; export enum TypeEnum { "Satispay" = "Satispay" } // required attributes const PublicSatispayR = t.interface({ hpan: t.string, type: enumType(TypeEnum, "type") }); // optional attributes const PublicSatispayO = t.partial({}); export const PublicSatispay = t.exact( t.intersection([PublicSatispayR, PublicSatispayO], "PublicSatispay") ); export type PublicSatispay = t.TypeOf;