/** * Do not edit this file it is auto-generated by io-utils / gen-api-models. * See https://github.com/pagopa/io-utils */ import * as t from "io-ts"; import { IWithinRangeIntegerTag } from "italia-ts-commons/lib/numbers"; export declare const Service2: t.ExactC; authorized_recipients: t.ReadonlyArrayC, string & import("italia-ts-commons/lib/strings").IPatternStringTag<"^[A-Z]{6}[0-9LMNPQRSTUV]{2}[ABCDEHLMPRST][0-9LMNPQRSTUV]{2}[A-Z][0-9LMNPQRSTUV]{3}[A-Z]$">, unknown>>; }>, t.PartialC<{ id: t.StringC; max_allowed_payment_amount: t.Type<9999999999 | (number & IWithinRangeIntegerTag<0, 9999999999>), any, unknown>; }>]>>; export declare type Service2 = t.TypeOf; export declare const Service: t.IntersectionC<[t.UnionC<[t.IntersectionC<[t.ExactC; department_name: t.Type; organization_name: t.Type; organization_fiscal_code: t.Type, string & import("italia-ts-commons/lib/strings").IPatternStringTag<"^[0-9]{11}$">, unknown>; authorized_cidrs: t.ReadonlyArrayC, string & import("italia-ts-commons/lib/strings").IPatternStringTag<"^([0-9]{1,3}[.]){3}[0-9]{1,3}(/([0-9]|[1-2][0-9]|3[0-2]))?$">, unknown>>; }>, t.PartialC<{ version: t.RefinementC; require_secure_channels: t.Type; }>]>>, t.ExactC; service_metadata: t.ExactC; }>, t.PartialC<{ description: t.Type; web_url: t.Type; app_ios: t.Type; app_android: t.Type; tos_url: t.Type; privacy_url: t.Type; address: t.Type; phone: t.Type; email: t.Type; pec: t.Type; cta: t.Type; token_name: t.Type; support_url: t.Type; }>]>>; }>, t.PartialC<{}>]>>]>, t.IntersectionC<[t.ExactC; department_name: t.Type; organization_name: t.Type; organization_fiscal_code: t.Type, string & import("italia-ts-commons/lib/strings").IPatternStringTag<"^[0-9]{11}$">, unknown>; authorized_cidrs: t.ReadonlyArrayC, string & import("italia-ts-commons/lib/strings").IPatternStringTag<"^([0-9]{1,3}[.]){3}[0-9]{1,3}(/([0-9]|[1-2][0-9]|3[0-2]))?$">, unknown>>; }>, t.PartialC<{ version: t.RefinementC; require_secure_channels: t.Type; }>]>>, t.ExactC, t.PartialC<{ is_visible: t.Type; service_metadata: t.ExactC; }>, t.PartialC<{ description: t.Type; web_url: t.Type; app_ios: t.Type; app_android: t.Type; tos_url: t.Type; privacy_url: t.Type; address: t.Type; phone: t.Type; email: t.Type; pec: t.Type; cta: t.Type; token_name: t.Type; support_url: t.Type; }>]>>; }>]>>]>]>, t.ExactC; authorized_recipients: t.ReadonlyArrayC, string & import("italia-ts-commons/lib/strings").IPatternStringTag<"^[A-Z]{6}[0-9LMNPQRSTUV]{2}[ABCDEHLMPRST][0-9LMNPQRSTUV]{2}[A-Z][0-9LMNPQRSTUV]{3}[A-Z]$">, unknown>>; }>, t.PartialC<{ id: t.StringC; max_allowed_payment_amount: t.Type<9999999999 | (number & IWithinRangeIntegerTag<0, 9999999999>), any, unknown>; }>]>>]>; export declare type Service = t.TypeOf;