/** * 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 { UserPayload } from "./UserPayload"; // required attributes const UserCreated2R = t.interface({ id: t.string }); // optional attributes const UserCreated2O = t.partial({}); export const UserCreated2 = t.exact( t.intersection([UserCreated2R, UserCreated2O], "UserCreated2") ); export type UserCreated2 = t.TypeOf; export const UserCreated = t.intersection( [UserPayload, UserCreated2], "UserCreated" ); export type UserCreated = t.TypeOf;