/** * 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 ServiceIdWithVersionR = t.interface({}); // optional attributes const ServiceIdWithVersionO = t.partial({ id: t.string, version: t.Integer }); export const ServiceIdWithVersion = t.exact( t.intersection( [ServiceIdWithVersionR, ServiceIdWithVersionO], "ServiceIdWithVersion" ) ); export type ServiceIdWithVersion = t.TypeOf;