/** * 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"; // required attributes const UserIdentityContractR = t.interface({}); // optional attributes const UserIdentityContractO = t.partial({ id: t.string, provider: t.string }); export const UserIdentityContract = t.exact( t.intersection( [UserIdentityContractR, UserIdentityContractO], "UserIdentityContract" ) ); export type UserIdentityContract = t.TypeOf;