import * as t from "io-ts"; import * as r from "italia-ts-commons/lib/requests"; import { Service } from "./Service"; import { Logo } from "./Logo"; import { ProblemJson } from "./ProblemJson"; import { ServiceCollection } from "./ServiceCollection"; import { DevelopmentProfile } from "./DevelopmentProfile"; import { ExtendedProfile } from "./ExtendedProfile"; import { SubscriptionKeys } from "./SubscriptionKeys"; import { SubscriptionKeyTypePayload } from "./SubscriptionKeyTypePayload"; import { UserCollection } from "./UserCollection"; import { UserPayload } from "./UserPayload"; import { UserCreated } from "./UserCreated"; import { UserInfo } from "./UserInfo"; import { UserUpdatePayload } from "./UserUpdatePayload"; import { UserUpdated } from "./UserUpdated"; import { UserGroupsPayload } from "./UserGroupsPayload"; import { GroupCollection } from "./GroupCollection"; import { ProductNamePayload } from "./ProductNamePayload"; import { Subscription } from "./Subscription"; /**************************************************************** * getService */ export declare type GetServiceT = r.IGetApiRequestType<{ readonly service_id: string; readonly SubscriptionKey: string; }, "Ocp-Apim-Subscription-Key", never, r.IResponseType<200, Service, never> | r.IResponseType<401, undefined, never> | r.IResponseType<404, undefined, never>>; export declare const getServiceDefaultResponses: { 200: 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 & import("italia-ts-commons/lib/numbers").IWithinRangeIntegerTag<0, 9999999999>), any, unknown>; }>]>>]>; 401: t.UndefinedC; 404: t.UndefinedC; }; export declare type GetServiceResponsesT = { 200: t.Type; 401: t.Type; 404: t.Type; }; export declare function getServiceDecoder(overrideTypes?: Partial> | t.Type | undefined): r.ResponseDecoder | r.IResponseType<401, A1, never> | r.IResponseType<404, A2, never>>; export declare const getServiceDefaultDecoder: () => r.ResponseDecoder | r.IResponseType<404, undefined, never> | r.IResponseType<200, ({ service_name: string & import("italia-ts-commons/lib/strings").INonEmptyStringTag; department_name: string & import("italia-ts-commons/lib/strings").INonEmptyStringTag; organization_name: string & import("italia-ts-commons/lib/strings").INonEmptyStringTag; organization_fiscal_code: string & import("italia-ts-commons/lib/strings").IPatternStringTag<"^[0-9]{11}$">; authorized_cidrs: readonly (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]))?$">)[]; } & { version?: number | undefined; require_secure_channels?: boolean | undefined; } & {} & { is_visible?: false | undefined; service_metadata?: ({ scope: import("./ServiceScope").ServiceScopeEnum; } & { description?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; web_url?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; app_ios?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; app_android?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; tos_url?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; privacy_url?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; address?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; phone?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; email?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; pec?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; cta?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; token_name?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; support_url?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; }) | undefined; } & { service_id: string & import("italia-ts-commons/lib/strings").INonEmptyStringTag; authorized_recipients: readonly (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]$">)[]; } & { id?: string | undefined; max_allowed_payment_amount?: 9999999999 | (number & import("italia-ts-commons/lib/numbers").IWithinRangeIntegerTag<0, 9999999999>) | undefined; }) | ({ service_name: string & import("italia-ts-commons/lib/strings").INonEmptyStringTag; department_name: string & import("italia-ts-commons/lib/strings").INonEmptyStringTag; organization_name: string & import("italia-ts-commons/lib/strings").INonEmptyStringTag; organization_fiscal_code: string & import("italia-ts-commons/lib/strings").IPatternStringTag<"^[0-9]{11}$">; authorized_cidrs: readonly (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]))?$">)[]; } & { version?: number | undefined; require_secure_channels?: boolean | undefined; } & { is_visible: true; service_metadata: { scope: import("./ServiceScope").ServiceScopeEnum; } & { description?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; web_url?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; app_ios?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; app_android?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; tos_url?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; privacy_url?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; address?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; phone?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; email?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; pec?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; cta?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; token_name?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; support_url?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; }; } & {} & { service_id: string & import("italia-ts-commons/lib/strings").INonEmptyStringTag; authorized_recipients: readonly (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]$">)[]; } & { id?: string | undefined; max_allowed_payment_amount?: 9999999999 | (number & import("italia-ts-commons/lib/numbers").IWithinRangeIntegerTag<0, 9999999999>) | undefined; }), never>>; /**************************************************************** * updateService */ export declare type UpdateServiceT = r.IPutApiRequestType<{ readonly service_id: string; readonly SubscriptionKey: string; readonly body?: Service; }, "Content-Type" | "Ocp-Apim-Subscription-Key", never, r.IResponseType<200, Service, never> | r.IResponseType<401, undefined, never> | r.IResponseType<404, undefined, never>>; export declare const updateServiceDefaultResponses: { 200: 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 & import("italia-ts-commons/lib/numbers").IWithinRangeIntegerTag<0, 9999999999>), any, unknown>; }>]>>]>; 401: t.UndefinedC; 404: t.UndefinedC; }; export declare type UpdateServiceResponsesT = { 200: t.Type; 401: t.Type; 404: t.Type; }; export declare function updateServiceDecoder(overrideTypes?: Partial> | t.Type | undefined): r.ResponseDecoder | r.IResponseType<401, A1, never> | r.IResponseType<404, A2, never>>; export declare const updateServiceDefaultDecoder: () => r.ResponseDecoder | r.IResponseType<404, undefined, never> | r.IResponseType<200, ({ service_name: string & import("italia-ts-commons/lib/strings").INonEmptyStringTag; department_name: string & import("italia-ts-commons/lib/strings").INonEmptyStringTag; organization_name: string & import("italia-ts-commons/lib/strings").INonEmptyStringTag; organization_fiscal_code: string & import("italia-ts-commons/lib/strings").IPatternStringTag<"^[0-9]{11}$">; authorized_cidrs: readonly (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]))?$">)[]; } & { version?: number | undefined; require_secure_channels?: boolean | undefined; } & {} & { is_visible?: false | undefined; service_metadata?: ({ scope: import("./ServiceScope").ServiceScopeEnum; } & { description?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; web_url?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; app_ios?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; app_android?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; tos_url?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; privacy_url?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; address?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; phone?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; email?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; pec?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; cta?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; token_name?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; support_url?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; }) | undefined; } & { service_id: string & import("italia-ts-commons/lib/strings").INonEmptyStringTag; authorized_recipients: readonly (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]$">)[]; } & { id?: string | undefined; max_allowed_payment_amount?: 9999999999 | (number & import("italia-ts-commons/lib/numbers").IWithinRangeIntegerTag<0, 9999999999>) | undefined; }) | ({ service_name: string & import("italia-ts-commons/lib/strings").INonEmptyStringTag; department_name: string & import("italia-ts-commons/lib/strings").INonEmptyStringTag; organization_name: string & import("italia-ts-commons/lib/strings").INonEmptyStringTag; organization_fiscal_code: string & import("italia-ts-commons/lib/strings").IPatternStringTag<"^[0-9]{11}$">; authorized_cidrs: readonly (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]))?$">)[]; } & { version?: number | undefined; require_secure_channels?: boolean | undefined; } & { is_visible: true; service_metadata: { scope: import("./ServiceScope").ServiceScopeEnum; } & { description?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; web_url?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; app_ios?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; app_android?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; tos_url?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; privacy_url?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; address?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; phone?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; email?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; pec?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; cta?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; token_name?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; support_url?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; }; } & {} & { service_id: string & import("italia-ts-commons/lib/strings").INonEmptyStringTag; authorized_recipients: readonly (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]$">)[]; } & { id?: string | undefined; max_allowed_payment_amount?: 9999999999 | (number & import("italia-ts-commons/lib/numbers").IWithinRangeIntegerTag<0, 9999999999>) | undefined; }), never>>; /**************************************************************** * uploadServiceLogo */ export declare type UploadServiceLogoT = r.IPutApiRequestType<{ readonly service_id: string; readonly SubscriptionKey: string; readonly body: Logo; }, "Content-Type" | "Ocp-Apim-Subscription-Key", never, r.IResponseType<201, undefined, "Location"> | r.IResponseType<400, ProblemJson, never> | r.IResponseType<401, undefined, never> | r.IResponseType<403, undefined, never> | r.IResponseType<404, undefined, never> | r.IResponseType<500, undefined, never>>; export declare const uploadServiceLogoDefaultResponses: { 201: t.UndefinedC; 400: t.ExactC, t.PartialC<{ type: t.Type; title: t.StringC; status: t.UnionC<[t.Type, number & import("italia-ts-commons/lib/numbers").IWithinRangeIntegerTag<100, 599>, unknown>, t.LiteralC<599>]>; detail: t.StringC; instance: t.StringC; }>]>>; 401: t.UndefinedC; 403: t.UndefinedC; 404: t.UndefinedC; 500: t.UndefinedC; }; export declare type UploadServiceLogoResponsesT = { 201: t.Type; 400: t.Type; 401: t.Type; 403: t.Type; 404: t.Type; 500: t.Type; }; export declare function uploadServiceLogoDecoder(overrideTypes?: Partial> | t.Type | undefined): r.ResponseDecoder | r.IResponseType<400, A1, never> | r.IResponseType<401, A2, never> | r.IResponseType<403, A3, never> | r.IResponseType<404, A4, never> | r.IResponseType<500, A5, never>>; export declare const uploadServiceLogoDefaultDecoder: () => r.ResponseDecoder | r.IResponseType<404, undefined, never> | r.IResponseType<201, undefined, "Location"> | r.IResponseType<403, undefined, never> | r.IResponseType<500, undefined, never> | r.IResponseType<400, {} & { type?: string | undefined; title?: string | undefined; status?: 599 | (number & import("italia-ts-commons/lib/numbers").IWithinRangeIntegerTag<100, 599>) | undefined; detail?: string | undefined; instance?: string | undefined; }, never>>; /**************************************************************** * getServices */ export declare type GetServicesT = r.IGetApiRequestType<{ readonly SubscriptionKey: string; }, "Ocp-Apim-Subscription-Key", never, r.IResponseType<200, ServiceCollection, never> | r.IResponseType<500, undefined, never>>; export declare const getServicesDefaultResponses: { 200: t.ExactC, t.PartialC<{ id: t.StringC; version: t.RefinementC; }>]>>>; page_size: t.NumberC; }>, t.PartialC<{}>]>>; 500: t.UndefinedC; }; export declare type GetServicesResponsesT = { 200: t.Type; 500: t.Type; }; export declare function getServicesDecoder(overrideTypes?: Partial> | t.Type | undefined): r.ResponseDecoder | r.IResponseType<500, A1, never>>; export declare const getServicesDefaultDecoder: () => r.ResponseDecoder | r.IResponseType<200, { items: readonly ({} & { id?: string | undefined; version?: number | undefined; })[]; page_size: number; } & {}, never>>; /**************************************************************** * createService */ export declare type CreateServiceT = r.IPostApiRequestType<{ readonly SubscriptionKey: string; readonly body?: Service; }, "Content-Type" | "Ocp-Apim-Subscription-Key", never, r.IResponseType<200, Service, never> | r.IResponseType<401, undefined, never>>; export declare const createServiceDefaultResponses: { 200: 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 & import("italia-ts-commons/lib/numbers").IWithinRangeIntegerTag<0, 9999999999>), any, unknown>; }>]>>]>; 401: t.UndefinedC; }; export declare type CreateServiceResponsesT = { 200: t.Type; 401: t.Type; }; export declare function createServiceDecoder(overrideTypes?: Partial> | t.Type | undefined): r.ResponseDecoder | r.IResponseType<401, A1, never>>; export declare const createServiceDefaultDecoder: () => r.ResponseDecoder | r.IResponseType<200, ({ service_name: string & import("italia-ts-commons/lib/strings").INonEmptyStringTag; department_name: string & import("italia-ts-commons/lib/strings").INonEmptyStringTag; organization_name: string & import("italia-ts-commons/lib/strings").INonEmptyStringTag; organization_fiscal_code: string & import("italia-ts-commons/lib/strings").IPatternStringTag<"^[0-9]{11}$">; authorized_cidrs: readonly (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]))?$">)[]; } & { version?: number | undefined; require_secure_channels?: boolean | undefined; } & {} & { is_visible?: false | undefined; service_metadata?: ({ scope: import("./ServiceScope").ServiceScopeEnum; } & { description?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; web_url?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; app_ios?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; app_android?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; tos_url?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; privacy_url?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; address?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; phone?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; email?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; pec?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; cta?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; token_name?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; support_url?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; }) | undefined; } & { service_id: string & import("italia-ts-commons/lib/strings").INonEmptyStringTag; authorized_recipients: readonly (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]$">)[]; } & { id?: string | undefined; max_allowed_payment_amount?: 9999999999 | (number & import("italia-ts-commons/lib/numbers").IWithinRangeIntegerTag<0, 9999999999>) | undefined; }) | ({ service_name: string & import("italia-ts-commons/lib/strings").INonEmptyStringTag; department_name: string & import("italia-ts-commons/lib/strings").INonEmptyStringTag; organization_name: string & import("italia-ts-commons/lib/strings").INonEmptyStringTag; organization_fiscal_code: string & import("italia-ts-commons/lib/strings").IPatternStringTag<"^[0-9]{11}$">; authorized_cidrs: readonly (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]))?$">)[]; } & { version?: number | undefined; require_secure_channels?: boolean | undefined; } & { is_visible: true; service_metadata: { scope: import("./ServiceScope").ServiceScopeEnum; } & { description?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; web_url?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; app_ios?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; app_android?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; tos_url?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; privacy_url?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; address?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; phone?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; email?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; pec?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; cta?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; token_name?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; support_url?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; }; } & {} & { service_id: string & import("italia-ts-commons/lib/strings").INonEmptyStringTag; authorized_recipients: readonly (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]$">)[]; } & { id?: string | undefined; max_allowed_payment_amount?: 9999999999 | (number & import("italia-ts-commons/lib/numbers").IWithinRangeIntegerTag<0, 9999999999>) | undefined; }), never>>; /**************************************************************** * uploadOrganizationLogo */ export declare type UploadOrganizationLogoT = r.IPutApiRequestType<{ readonly organization_fiscal_code: string; readonly SubscriptionKey: string; readonly body: Logo; }, "Content-Type" | "Ocp-Apim-Subscription-Key", never, r.IResponseType<201, undefined, "Location"> | r.IResponseType<400, ProblemJson, never> | r.IResponseType<401, undefined, never> | r.IResponseType<403, undefined, never> | r.IResponseType<500, undefined, never>>; export declare const uploadOrganizationLogoDefaultResponses: { 201: t.UndefinedC; 400: t.ExactC, t.PartialC<{ type: t.Type; title: t.StringC; status: t.UnionC<[t.Type, number & import("italia-ts-commons/lib/numbers").IWithinRangeIntegerTag<100, 599>, unknown>, t.LiteralC<599>]>; detail: t.StringC; instance: t.StringC; }>]>>; 401: t.UndefinedC; 403: t.UndefinedC; 500: t.UndefinedC; }; export declare type UploadOrganizationLogoResponsesT = { 201: t.Type; 400: t.Type; 401: t.Type; 403: t.Type; 500: t.Type; }; export declare function uploadOrganizationLogoDecoder(overrideTypes?: Partial> | t.Type | undefined): r.ResponseDecoder | r.IResponseType<400, A1, never> | r.IResponseType<401, A2, never> | r.IResponseType<403, A3, never> | r.IResponseType<500, A4, never>>; export declare const uploadOrganizationLogoDefaultDecoder: () => r.ResponseDecoder | r.IResponseType<201, undefined, "Location"> | r.IResponseType<403, undefined, never> | r.IResponseType<500, undefined, never> | r.IResponseType<400, {} & { type?: string | undefined; title?: string | undefined; status?: 599 | (number & import("italia-ts-commons/lib/numbers").IWithinRangeIntegerTag<100, 599>) | undefined; detail?: string | undefined; instance?: string | undefined; }, never>>; /**************************************************************** * createDevelopmentProfile */ export declare type CreateDevelopmentProfileT = r.IPostApiRequestType<{ readonly SubscriptionKey: string; readonly fiscal_code: string; readonly body?: DevelopmentProfile; }, "Content-Type" | "Ocp-Apim-Subscription-Key", never, r.IResponseType<200, ExtendedProfile, never> | r.IResponseType<400, ProblemJson, never> | r.IResponseType<401, undefined, never> | r.IResponseType<409, ProblemJson, never> | r.IResponseType<429, undefined, never>>; export declare const createDevelopmentProfileDefaultResponses: { 200: t.ExactC; }>, t.PartialC<{ email: t.Type; blocked_inbox_or_channels: t.RecordC>; preferred_languages: t.ReadonlyArrayC; accepted_tos_version: t.NumberC; is_test_profile: t.Type; }>]>>; 400: t.ExactC, t.PartialC<{ type: t.Type; title: t.StringC; status: t.UnionC<[t.Type, number & import("italia-ts-commons/lib/numbers").IWithinRangeIntegerTag<100, 599>, unknown>, t.LiteralC<599>]>; detail: t.StringC; instance: t.StringC; }>]>>; 401: t.UndefinedC; 409: t.ExactC, t.PartialC<{ type: t.Type; title: t.StringC; status: t.UnionC<[t.Type, number & import("italia-ts-commons/lib/numbers").IWithinRangeIntegerTag<100, 599>, unknown>, t.LiteralC<599>]>; detail: t.StringC; instance: t.StringC; }>]>>; 429: t.UndefinedC; }; export declare type CreateDevelopmentProfileResponsesT = { 200: t.Type; 400: t.Type; 401: t.Type; 409: t.Type; 429: t.Type; }; export declare function createDevelopmentProfileDecoder(overrideTypes?: Partial> | t.Type | undefined): r.ResponseDecoder | r.IResponseType<400, A1, never> | r.IResponseType<401, A2, never> | r.IResponseType<409, A3, never> | r.IResponseType<429, A4, never>>; export declare const createDevelopmentProfileDefaultDecoder: () => r.ResponseDecoder | r.IResponseType<429, undefined, never> | r.IResponseType<400, {} & { type?: string | undefined; title?: string | undefined; status?: 599 | (number & import("italia-ts-commons/lib/numbers").IWithinRangeIntegerTag<100, 599>) | undefined; detail?: string | undefined; instance?: string | undefined; }, never> | r.IResponseType<200, { is_inbox_enabled: boolean; is_webhook_enabled: boolean; is_email_enabled: boolean; is_email_validated: boolean; version: number; } & { email?: (string & import("italia-ts-commons/lib/strings").IEmailStringTag) | undefined; blocked_inbox_or_channels?: { [x: string]: readonly string[]; } | undefined; preferred_languages?: readonly string[] | undefined; accepted_tos_version?: number | undefined; is_test_profile?: boolean | undefined; }, never> | r.IResponseType<409, {} & { type?: string | undefined; title?: string | undefined; status?: 599 | (number & import("italia-ts-commons/lib/numbers").IWithinRangeIntegerTag<100, 599>) | undefined; detail?: string | undefined; instance?: string | undefined; }, never>>; /**************************************************************** * getSubscriptionKeys */ export declare type GetSubscriptionKeysT = r.IGetApiRequestType<{ readonly SubscriptionKey: string; readonly service_id: string; }, "Ocp-Apim-Subscription-Key", never, r.IResponseType<200, SubscriptionKeys, never> | r.IResponseType<400, undefined, never> | r.IResponseType<403, undefined, never> | r.IResponseType<404, undefined, never> | r.IResponseType<500, undefined, never>>; export declare const getSubscriptionKeysDefaultResponses: { 200: t.ExactC, t.PartialC<{}>]>>; 400: t.UndefinedC; 403: t.UndefinedC; 404: t.UndefinedC; 500: t.UndefinedC; }; export declare type GetSubscriptionKeysResponsesT = { 200: t.Type; 400: t.Type; 403: t.Type; 404: t.Type; 500: t.Type; }; export declare function getSubscriptionKeysDecoder(overrideTypes?: Partial> | t.Type | undefined): r.ResponseDecoder | r.IResponseType<400, A1, never> | r.IResponseType<403, A2, never> | r.IResponseType<404, A3, never> | r.IResponseType<500, A4, never>>; export declare const getSubscriptionKeysDefaultDecoder: () => r.ResponseDecoder | r.IResponseType<403, undefined, never> | r.IResponseType<500, undefined, never> | r.IResponseType<400, undefined, never> | r.IResponseType<200, { primary_key: string; secondary_key: string; } & {}, never>>; /**************************************************************** * RegenerateSubscriptionKeys */ export declare type RegenerateSubscriptionKeysT = r.IPutApiRequestType<{ readonly SubscriptionKey: string; readonly service_id: string; readonly body: SubscriptionKeyTypePayload; }, "Content-Type" | "Ocp-Apim-Subscription-Key", never, r.IResponseType<200, SubscriptionKeys, never> | r.IResponseType<400, undefined, never> | r.IResponseType<403, undefined, never> | r.IResponseType<404, undefined, never> | r.IResponseType<500, undefined, never>>; export declare const regenerateSubscriptionKeysDefaultResponses: { 200: t.ExactC, t.PartialC<{}>]>>; 400: t.UndefinedC; 403: t.UndefinedC; 404: t.UndefinedC; 500: t.UndefinedC; }; export declare type RegenerateSubscriptionKeysResponsesT = { 200: t.Type; 400: t.Type; 403: t.Type; 404: t.Type; 500: t.Type; }; export declare function RegenerateSubscriptionKeysDecoder(overrideTypes?: Partial> | t.Type | undefined): r.ResponseDecoder | r.IResponseType<400, A1, never> | r.IResponseType<403, A2, never> | r.IResponseType<404, A3, never> | r.IResponseType<500, A4, never>>; export declare const RegenerateSubscriptionKeysDefaultDecoder: () => r.ResponseDecoder | r.IResponseType<403, undefined, never> | r.IResponseType<500, undefined, never> | r.IResponseType<400, undefined, never> | r.IResponseType<200, { primary_key: string; secondary_key: string; } & {}, never>>; /**************************************************************** * getUsers */ export declare type GetUsersT = r.IGetApiRequestType<{ readonly SubscriptionKey: string; readonly cursor?: number; }, "Ocp-Apim-Subscription-Key", never, r.IResponseType<200, UserCollection, never>>; export declare const getUsersDefaultResponses: { 200: t.ExactC, t.PartialC<{ email: t.Type; id: t.StringC; identities: t.ReadonlyArrayC, t.PartialC<{ id: t.StringC; provider: t.StringC; }>]>>>; first_name: t.StringC; last_name: t.StringC; name: t.StringC; note: t.StringC; registration_date: t.Type; state: t.Type; type: t.StringC; }>]>>>; }>, t.PartialC<{ next: t.StringC; }>]>>; }; export declare type GetUsersResponsesT = { 200: t.Type; }; export declare function getUsersDecoder(overrideTypes?: Partial> | t.Type | undefined): r.ResponseDecoder>; export declare const getUsersDefaultDecoder: () => r.ResponseDecoder>; /**************************************************************** * createUser */ export declare type CreateUserT = r.IPostApiRequestType<{ readonly SubscriptionKey: string; readonly body: UserPayload; }, "Content-Type" | "Ocp-Apim-Subscription-Key", never, r.IResponseType<200, UserCreated, never> | r.IResponseType<400, undefined, never> | r.IResponseType<403, undefined, never> | r.IResponseType<500, undefined, never>>; export declare const createUserDefaultResponses: { 200: t.IntersectionC<[t.ExactC; first_name: t.Type; last_name: t.Type; }>, t.PartialC<{ token_name: t.Type; }>]>>, t.ExactC, t.PartialC<{}>]>>]>; 400: t.UndefinedC; 403: t.UndefinedC; 500: t.UndefinedC; }; export declare type CreateUserResponsesT = { 200: t.Type; 400: t.Type; 403: t.Type; 500: t.Type; }; export declare function createUserDecoder(overrideTypes?: Partial> | t.Type | undefined): r.ResponseDecoder | r.IResponseType<400, A1, never> | r.IResponseType<403, A2, never> | r.IResponseType<500, A3, never>>; export declare const createUserDefaultDecoder: () => r.ResponseDecoder | r.IResponseType<500, undefined, never> | r.IResponseType<400, undefined, never> | r.IResponseType<200, { email: string & import("italia-ts-commons/lib/strings").IEmailStringTag; first_name: string & import("italia-ts-commons/lib/strings").INonEmptyStringTag; last_name: string & import("italia-ts-commons/lib/strings").INonEmptyStringTag; } & { token_name?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; } & { id: string; } & {}, never>>; /**************************************************************** * getUser */ export declare type GetUserT = r.IGetApiRequestType<{ readonly SubscriptionKey: string; readonly email: string; }, "Ocp-Apim-Subscription-Key", never, r.IResponseType<200, UserInfo, never> | r.IResponseType<400, undefined, never> | r.IResponseType<401, undefined, never> | r.IResponseType<403, undefined, never> | r.IResponseType<404, undefined, never> | r.IResponseType<500, undefined, never>>; export declare const getUserDefaultResponses: { 200: t.ExactC, t.PartialC<{ groups: t.ReadonlyArrayC, t.PartialC<{ id: t.StringC; name: t.StringC; }>]>>>; subscriptions: t.ReadonlyArrayC, t.PartialC<{}>]>>, t.ExactC, t.PartialC<{ id: t.StringC; }>]>>]>>; token_name: t.Type; }>]>>; 400: t.UndefinedC; 401: t.UndefinedC; 403: t.UndefinedC; 404: t.UndefinedC; 500: t.UndefinedC; }; export declare type GetUserResponsesT = { 200: t.Type; 400: t.Type; 401: t.Type; 403: t.Type; 404: t.Type; 500: t.Type; }; export declare function getUserDecoder(overrideTypes?: Partial> | t.Type | undefined): r.ResponseDecoder | r.IResponseType<400, A1, never> | r.IResponseType<401, A2, never> | r.IResponseType<403, A3, never> | r.IResponseType<404, A4, never> | r.IResponseType<500, A5, never>>; export declare const getUserDefaultDecoder: () => r.ResponseDecoder | r.IResponseType<404, undefined, never> | r.IResponseType<403, undefined, never> | r.IResponseType<500, undefined, never> | r.IResponseType<400, undefined, never> | r.IResponseType<200, {} & { groups?: readonly ({ display_name: string; } & { id?: string | undefined; name?: string | undefined; })[] | undefined; subscriptions?: readonly ({ primary_key: string; secondary_key: string; } & {} & { scope: string; } & { id?: string | undefined; })[] | undefined; token_name?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; }, never>>; /**************************************************************** * updateUser */ export declare type UpdateUserT = r.IPutApiRequestType<{ readonly SubscriptionKey: string; readonly email: string; readonly body: UserUpdatePayload; }, "Content-Type" | "Ocp-Apim-Subscription-Key", never, r.IResponseType<200, UserUpdated, never> | r.IResponseType<400, undefined, never> | r.IResponseType<403, undefined, never> | r.IResponseType<500, undefined, never>>; export declare const updateUserDefaultResponses: { 200: t.IntersectionC<[t.ExactC, t.PartialC<{ first_name: t.Type; last_name: t.Type; token_name: t.Type; }>]>>, t.ExactC; id: t.StringC; }>, t.PartialC<{}>]>>]>; 400: t.UndefinedC; 403: t.UndefinedC; 500: t.UndefinedC; }; export declare type UpdateUserResponsesT = { 200: t.Type; 400: t.Type; 403: t.Type; 500: t.Type; }; export declare function updateUserDecoder(overrideTypes?: Partial> | t.Type | undefined): r.ResponseDecoder | r.IResponseType<400, A1, never> | r.IResponseType<403, A2, never> | r.IResponseType<500, A3, never>>; export declare const updateUserDefaultDecoder: () => r.ResponseDecoder | r.IResponseType<500, undefined, never> | r.IResponseType<400, undefined, never> | r.IResponseType<200, {} & { first_name?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; last_name?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; token_name?: (string & import("italia-ts-commons/lib/strings").INonEmptyStringTag) | undefined; } & { email: string & import("italia-ts-commons/lib/strings").IEmailStringTag; id: string; } & {}, never>>; /**************************************************************** * updateGroups */ export declare type UpdateGroupsT = r.IPutApiRequestType<{ readonly SubscriptionKey: string; readonly email: string; readonly body: UserGroupsPayload; }, "Content-Type" | "Ocp-Apim-Subscription-Key", never, r.IResponseType<200, GroupCollection, never> | r.IResponseType<400, undefined, never> | r.IResponseType<401, undefined, never> | r.IResponseType<403, undefined, never> | r.IResponseType<404, undefined, never> | r.IResponseType<500, undefined, never>>; export declare const updateGroupsDefaultResponses: { 200: t.ExactC, t.PartialC<{ id: t.StringC; name: t.StringC; }>]>>>; }>, t.PartialC<{}>]>>; 400: t.UndefinedC; 401: t.UndefinedC; 403: t.UndefinedC; 404: t.UndefinedC; 500: t.UndefinedC; }; export declare type UpdateGroupsResponsesT = { 200: t.Type; 400: t.Type; 401: t.Type; 403: t.Type; 404: t.Type; 500: t.Type; }; export declare function updateGroupsDecoder(overrideTypes?: Partial> | t.Type | undefined): r.ResponseDecoder | r.IResponseType<400, A1, never> | r.IResponseType<401, A2, never> | r.IResponseType<403, A3, never> | r.IResponseType<404, A4, never> | r.IResponseType<500, A5, never>>; export declare const updateGroupsDefaultDecoder: () => r.ResponseDecoder | r.IResponseType<404, undefined, never> | r.IResponseType<403, undefined, never> | r.IResponseType<500, undefined, never> | r.IResponseType<400, undefined, never> | r.IResponseType<200, { items: readonly ({ display_name: string; } & { id?: string | undefined; name?: string | undefined; })[]; } & {}, never>>; /**************************************************************** * createSubscription */ export declare type CreateSubscriptionT = r.IPutApiRequestType<{ readonly SubscriptionKey: string; readonly email: string; readonly subscription_id: string; readonly body: ProductNamePayload; }, "Content-Type" | "Ocp-Apim-Subscription-Key", never, r.IResponseType<200, Subscription, never> | r.IResponseType<400, undefined, never> | r.IResponseType<401, undefined, never> | r.IResponseType<403, undefined, never> | r.IResponseType<404, undefined, never> | r.IResponseType<500, undefined, never>>; export declare const createSubscriptionDefaultResponses: { 200: t.IntersectionC<[t.ExactC, t.PartialC<{}>]>>, t.ExactC, t.PartialC<{ id: t.StringC; }>]>>]>; 400: t.UndefinedC; 401: t.UndefinedC; 403: t.UndefinedC; 404: t.UndefinedC; 500: t.UndefinedC; }; export declare type CreateSubscriptionResponsesT = { 200: t.Type; 400: t.Type; 401: t.Type; 403: t.Type; 404: t.Type; 500: t.Type; }; export declare function createSubscriptionDecoder(overrideTypes?: Partial> | t.Type | undefined): r.ResponseDecoder | r.IResponseType<400, A1, never> | r.IResponseType<401, A2, never> | r.IResponseType<403, A3, never> | r.IResponseType<404, A4, never> | r.IResponseType<500, A5, never>>; export declare const createSubscriptionDefaultDecoder: () => r.ResponseDecoder | r.IResponseType<404, undefined, never> | r.IResponseType<403, undefined, never> | r.IResponseType<500, undefined, never> | r.IResponseType<400, undefined, never> | r.IResponseType<200, { primary_key: string; secondary_key: string; } & {} & { scope: string; } & { id?: string | undefined; }, never>>;