/** * Do not edit this file it is auto-generated by io-utils / gen-api-models. * See https://github.com/pagopa/io-utils */ /* eslint-disable */ import { CreatedMessageWithContentResponse } from "./CreatedMessageWithContentResponse"; import { MessageStatusValue } from "./MessageStatusValue"; import * as t from "io-ts"; // required attributes const InternalMessageResponseWithContentR = t.interface({ message: CreatedMessageWithContentResponse }); // optional attributes const InternalMessageResponseWithContentO = t.partial({ status: MessageStatusValue }); export const InternalMessageResponseWithContent = t.exact( t.intersection( [InternalMessageResponseWithContentR, InternalMessageResponseWithContentO], "InternalMessageResponseWithContent" ) ); export type InternalMessageResponseWithContent = t.TypeOf< typeof InternalMessageResponseWithContent >;