/** * 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 { ServiceIdWithVersion } from "./ServiceIdWithVersion"; import * as t from "io-ts"; // required attributes const ServiceCollectionR = t.interface({ items: t.readonlyArray(ServiceIdWithVersion, "array of ServiceIdWithVersion"), page_size: t.number }); // optional attributes const ServiceCollectionO = t.partial({}); export const ServiceCollection = t.exact( t.intersection([ServiceCollectionR, ServiceCollectionO], "ServiceCollection") ); export type ServiceCollection = t.TypeOf;