/** * 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 { PublicWalletItem } from "./PublicWalletItem"; import * as t from "io-ts"; // required attributes const WalletR = t.interface({ data: t.readonlyArray(PublicWalletItem, "array of PublicWalletItem") }); // optional attributes const WalletO = t.partial({}); export const Wallet = t.exact(t.intersection([WalletR, WalletO], "Wallet")); export type Wallet = t.TypeOf;